hydro-graph 1.0.28 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(TA,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("vue"),require("dayjs"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus"],O):(TA=typeof globalThis<"u"?globalThis:TA||self,O(TA.HydroGraph={},TA.Vue,TA.dayjs,TA.ElementPlus))})(this,(function(TA,O,xe,Ai){"use strict";/*! *****************************************************************************
1
+ (function(mA,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("vue"),require("dayjs"),require("element-plus"),require("@element-plus/icons-vue")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus","@element-plus/icons-vue"],R):(mA=typeof globalThis<"u"?globalThis:mA||self,R(mA.HydroGraph={},mA.Vue,mA.dayjs,mA.ElementPlus,mA.ElementPlusIconsVue))})(this,(function(mA,R,xe,K1,Sp){"use strict";/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -11,8 +11,8 @@
11
11
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */var Ff=function(A,e){return Ff=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Ff(A,e)};function J(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ff(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var G1=(function(){function A(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return A})(),z1=(function(){function A(){this.browser=new G1,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 A})(),_e=new z1;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(_e.wxa=!0,_e.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?_e.worker=!0:!_e.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(_e.node=!0,_e.svgSupported=!0):W1(navigator.userAgent,_e);function W1(A,e){var t=e.browser,r=A.match(/Firefox\/([\d.]+)/),n=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),i=A.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(A);r&&(t.firefox=!0,t.version=r[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),a&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11);var o=e.domSupported=typeof document<"u";if(o){var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}}var Ef=12,Y1="sans-serif",wr=Ef+"px "+Y1,X1=20,Z1=100,J1="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function q1(A){var e={};if(typeof JSON>"u")return e;for(var t=0;t<A.length;t++){var r=String.fromCharCode(t+32),n=(A.charCodeAt(t)-X1)/Z1;e[r]=n}return e}var $1=q1(J1),rr={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var A,e;return function(t,r){if(!A){var n=rr.createCanvas();A=n&&n.getContext("2d")}if(A)return e!==r&&(e=A.font=r||wr),A.measureText(t);t=t||"",r=r||wr;var i=/((?:\d+)?\.?\d*)px/.exec(r),a=i&&+i[1]||Ef,o=0;if(r.indexOf("mono")>=0)o=a*t.length;else for(var s=0;s<t.length;s++){var l=$1[t[s]];o+=l==null?a:l*a}return{width:o}}})(),loadImage:function(A,e,t){var r=new Image;return r.onload=e,r.onerror=t,r.src=A,r}},Up=ni(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(A,e){return A["[object "+e+"]"]=!0,A},{}),Ip=ni(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(A,e){return A["[object "+e+"Array]"]=!0,A},{}),ri=Object.prototype.toString,es=Array.prototype,j1=es.forEach,ex=es.filter,bf=es.slice,tx=es.map,Tp=(function(){}).constructor,ts=Tp?Tp.prototype:null,Sf="__proto__",Ax=2311;function Dp(){return Ax++}function an(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];typeof console<"u"&&console.error.apply(console,A)}function Ue(A){if(A==null||typeof A!="object")return A;var e=A,t=ri.call(A);if(t==="[object Array]"){if(!pa(A)){e=[];for(var r=0,n=A.length;r<n;r++)e[r]=Ue(A[r])}}else if(Ip[t]){if(!pa(A)){var i=A.constructor;if(i.from)e=i.from(A);else{e=new i(A.length);for(var r=0,n=A.length;r<n;r++)e[r]=A[r]}}}else if(!Up[t]&&!pa(A)&&!ii(A)){e={};for(var a in A)A.hasOwnProperty(a)&&a!==Sf&&(e[a]=Ue(A[a]))}return e}function Oe(A,e,t){if(!he(e)||!he(A))return t?Ue(e):A;for(var r in e)if(e.hasOwnProperty(r)&&r!==Sf){var n=A[r],i=e[r];he(i)&&he(n)&&!ae(i)&&!ae(n)&&!ii(i)&&!ii(n)&&!Lp(i)&&!Lp(n)&&!pa(i)&&!pa(n)?Oe(n,i,t):(t||!(r in A))&&(A[r]=Ue(e[r]))}return A}function Y(A,e){if(Object.assign)Object.assign(A,e);else for(var t in e)e.hasOwnProperty(t)&&t!==Sf&&(A[t]=e[t]);return A}function Ne(A,e,t){for(var r=Xe(e),n=0,i=r.length;n<i;n++){var a=r[n];A[a]==null&&(A[a]=e[a])}return A}function Te(A,e){if(A){if(A.indexOf)return A.indexOf(e);for(var t=0,r=A.length;t<r;t++)if(A[t]===e)return t}return-1}function rx(A,e){var t=A.prototype;function r(){}r.prototype=e.prototype,A.prototype=new r;for(var n in t)t.hasOwnProperty(n)&&(A.prototype[n]=t[n]);A.prototype.constructor=A,A.superClass=e}function DA(A,e,t){if(A="prototype"in A?A.prototype:A,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=r[n];i!=="constructor"&&A[i]==null&&(A[i]=e[i])}else Ne(A,e)}function kt(A){return!A||typeof A=="string"?!1:typeof A.length=="number"}function b(A,e,t){if(A&&e)if(A.forEach&&A.forEach===j1)A.forEach(e,t);else if(A.length===+A.length)for(var r=0,n=A.length;r<n;r++)e.call(t,A[r],r,A);else for(var i in A)A.hasOwnProperty(i)&&e.call(t,A[i],i,A)}function Be(A,e,t){if(!A)return[];if(!e)return Uf(A);if(A.map&&A.map===tx)return A.map(e,t);for(var r=[],n=0,i=A.length;n<i;n++)r.push(e.call(t,A[n],n,A));return r}function ni(A,e,t,r){if(A&&e){for(var n=0,i=A.length;n<i;n++)t=e.call(r,t,A[n],n,A);return t}}function rt(A,e,t){if(!A)return[];if(!e)return Uf(A);if(A.filter&&A.filter===ex)return A.filter(e,t);for(var r=[],n=0,i=A.length;n<i;n++)e.call(t,A[n],n,A)&&r.push(A[n]);return r}function nx(A,e,t){if(A&&e){for(var r=0,n=A.length;r<n;r++)if(e.call(t,A[r],r,A))return A[r]}}function Xe(A){if(!A)return[];if(Object.keys)return Object.keys(A);var e=[];for(var t in A)A.hasOwnProperty(t)&&e.push(t);return e}function ix(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return function(){return A.apply(e,t.concat(bf.call(arguments)))}}var ye=ts&&me(ts.bind)?ts.call.bind(ts.bind):ix;function nt(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return A.apply(this,e.concat(bf.call(arguments)))}}function ae(A){return Array.isArray?Array.isArray(A):ri.call(A)==="[object Array]"}function me(A){return typeof A=="function"}function le(A){return typeof A=="string"}function As(A){return ri.call(A)==="[object String]"}function Ye(A){return typeof A=="number"}function he(A){var e=typeof A;return e==="function"||!!A&&e==="object"}function Lp(A){return!!Up[ri.call(A)]}function Tt(A){return!!Ip[ri.call(A)]}function ii(A){return typeof A=="object"&&typeof A.nodeType=="number"&&typeof A.ownerDocument=="object"}function rs(A){return A.colorStops!=null}function ax(A){return A.image!=null}function ox(A){return ri.call(A)==="[object RegExp]"}function ai(A){return A!==A}function oi(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];for(var t=0,r=A.length;t<r;t++)if(A[t]!=null)return A[t]}function ve(A,e){return A??e}function Cr(A,e,t){return A??e??t}function Uf(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return bf.apply(A,e)}function If(A){if(typeof A=="number")return[A,A,A,A];var e=A.length;return e===2?[A[0],A[1],A[0],A[1]]:e===3?[A[0],A[1],A[2],A[1]]:A}function fe(A,e){if(!A)throw new Error(e)}function LA(A){return A==null?null:typeof A.trim=="function"?A.trim():A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Mp="__ec_primitive__";function Tf(A){A[Mp]=!0}function pa(A){return A[Mp]}var sx=(function(){function A(){this.data={}}return A.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},A.prototype.has=function(e){return this.data.hasOwnProperty(e)},A.prototype.get=function(e){return this.data[e]},A.prototype.set=function(e,t){return this.data[e]=t,this},A.prototype.keys=function(){return Xe(this.data)},A.prototype.forEach=function(e){var t=this.data;for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},A})(),Hp=typeof Map=="function";function lx(){return Hp?new Map:new sx}var ux=(function(){function A(e){var t=ae(e);this.data=lx();var r=this;e instanceof A?e.each(n):e&&b(e,n);function n(i,a){t?r.set(i,a):r.set(a,i)}}return A.prototype.hasKey=function(e){return this.data.has(e)},A.prototype.get=function(e){return this.data.get(e)},A.prototype.set=function(e,t){return this.data.set(e,t),t},A.prototype.each=function(e,t){this.data.forEach(function(r,n){e.call(t,r,n)})},A.prototype.keys=function(){var e=this.data.keys();return Hp?Array.from(e):e},A.prototype.removeKey=function(e){this.data.delete(e)},A})();function we(A){return new ux(A)}function fx(A,e){for(var t=new A.constructor(A.length+e.length),r=0;r<A.length;r++)t[r]=A[r];for(var n=A.length,r=0;r<e.length;r++)t[r+n]=e[r];return t}function ns(A,e){var t;if(Object.create)t=Object.create(A);else{var r=function(){};r.prototype=A,t=new r}return e&&Y(t,e),t}function Op(A){var e=A.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function mA(A,e){return A.hasOwnProperty(e)}function Dt(){}var cx=180/Math.PI;function si(A,e){return A==null&&(A=0),e==null&&(e=0),[A,e]}function hx(A){return[A[0],A[1]]}function Rp(A,e,t){return A[0]=e[0]+t[0],A[1]=e[1]+t[1],A}function vx(A,e,t){return A[0]=e[0]-t[0],A[1]=e[1]-t[1],A}function dx(A){return Math.sqrt(px(A))}function px(A){return A[0]*A[0]+A[1]*A[1]}function Df(A,e,t){return A[0]=e[0]*t,A[1]=e[1]*t,A}function gx(A,e){var t=dx(e);return t===0?(A[0]=0,A[1]=0):(A[0]=e[0]/t,A[1]=e[1]/t),A}function Lf(A,e){return Math.sqrt((A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1]))}var Mf=Lf;function Bx(A,e){return(A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1])}var li=Bx;function Hf(A,e,t,r){return A[0]=e[0]+r*(t[0]-e[0]),A[1]=e[1]+r*(t[1]-e[1]),A}function tA(A,e,t){var r=e[0],n=e[1];return A[0]=t[0]*r+t[2]*n+t[4],A[1]=t[1]*r+t[3]*n+t[5],A}function ui(A,e,t){return A[0]=Math.min(e[0],t[0]),A[1]=Math.min(e[1],t[1]),A}function fi(A,e,t){return A[0]=Math.max(e[0],t[0]),A[1]=Math.max(e[1],t[1]),A}var ci=(function(){function A(e,t){this.target=e,this.topTarget=t&&t.topTarget}return A})(),mx=(function(){function A(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return A.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new ci(t,e),"dragstart",e.event))},A.prototype._drag=function(e){var t=this._draggingTarget;if(t){var r=e.offsetX,n=e.offsetY,i=r-this._x,a=n-this._y;this._x=r,this._y=n,t.drift(i,a,e),this.handler.dispatchToElement(new ci(t,e),"drag",e.event);var o=this.handler.findHover(r,n,t).target,s=this._dropTarget;this._dropTarget=o,t!==o&&(s&&o!==s&&this.handler.dispatchToElement(new ci(s,e),"dragleave",e.event),o&&o!==s&&this.handler.dispatchToElement(new ci(o,e),"dragenter",e.event))}},A.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new ci(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new ci(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},A})(),yA=(function(){function A(e){e&&(this._$eventProcessor=e)}return A.prototype.on=function(e,t,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=r,r=t,t=null),!r||!e)return this;var a=this._$eventProcessor;t!=null&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o<i[e].length;o++)if(i[e][o].h===r)return this;var s={h:r,query:t,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},A.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},A.prototype.off=function(e,t){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(t){if(r[e]){for(var n=[],i=0,a=r[e].length;i<a;i++)r[e][i].h!==t&&n.push(r[e][i]);r[e]=n}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},A.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=n.length,s=0;s<o;s++){var l=n[s];if(!(i&&i.filter&&l.query!=null&&!i.filter(e,l.query)))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A.prototype.triggerWithContext=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=t[a-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,t[0]);break;case 2:u.h.call(o,t[0],t[1]);break;default:u.h.apply(o,t.slice(1,a-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A})(),yx=Math.log(2);function Of(A,e,t,r,n,i){var a=r+"-"+n,o=A.length;if(i.hasOwnProperty(a))return i[a];if(e===1){var s=Math.round(Math.log((1<<o)-1&~n)/yx);return A[t][s]}for(var l=r|1<<t,u=t+1;r&1<<u;)u++;for(var f=0,c=0,h=0;c<o;c++){var v=1<<c;v&n||(f+=(h%2?-1:1)*A[t][c]*Of(A,e-1,u,l,n|v,i),h++)}return i[a]=f,f}function Np(A,e){var t=[[A[0],A[1],1,0,0,0,-e[0]*A[0],-e[0]*A[1]],[0,0,0,A[0],A[1],1,-e[1]*A[0],-e[1]*A[1]],[A[2],A[3],1,0,0,0,-e[2]*A[2],-e[2]*A[3]],[0,0,0,A[2],A[3],1,-e[3]*A[2],-e[3]*A[3]],[A[4],A[5],1,0,0,0,-e[4]*A[4],-e[4]*A[5]],[0,0,0,A[4],A[5],1,-e[5]*A[4],-e[5]*A[5]],[A[6],A[7],1,0,0,0,-e[6]*A[6],-e[6]*A[7]],[0,0,0,A[6],A[7],1,-e[7]*A[6],-e[7]*A[7]]],r={},n=Of(t,8,0,0,0,r);if(n!==0){for(var i=[],a=0;a<8;a++)for(var o=0;o<8;o++)i[o]==null&&(i[o]=0),i[o]+=((a+o)%2?-1:1)*Of(t,7,a===0?1:0,1<<a,1<<o,r)/n*e[a];return function(s,l,u){var f=l*i[6]+u*i[7]+1;s[0]=(l*i[0]+u*i[1]+i[2])/f,s[1]=(l*i[3]+u*i[4]+i[5])/f}}}var is="___zrEVENTSAVED",Rf=[];function Cx(A,e,t,r,n){return Nf(Rf,e,r,n,!0)&&Nf(A,t,Rf[0],Rf[1])}function _x(A,e){A&&t(A),e&&t(e);function t(r){var n=r[is];n&&(n.clearMarkers&&n.clearMarkers(),delete r[is])}}function Nf(A,e,t,r,n){if(e.getBoundingClientRect&&_e.domSupported&&!Pp(e)){var i=e[is]||(e[is]={}),a=Qx(e,i),o=xx(a,i,n);if(o)return o(A,t,r),!0}return!1}function Qx(A,e){var t=e.markers;if(t)return t;t=e.markers=[];for(var r=["left","right"],n=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),o=a.style,s=i%2,l=(i>>1)%2;o.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",n[l]+":0",r[1-s]+":auto",n[1-l]+":auto",""].join("!important;"),A.appendChild(a),t.push(a)}return e.clearMarkers=function(){b(t,function(u){u.parentNode&&u.parentNode.removeChild(u)})},t}function xx(A,e,t){for(var r=t?"invTrans":"trans",n=e[r],i=e.srcCoords,a=[],o=[],s=!0,l=0;l<4;l++){var u=A[l].getBoundingClientRect(),f=2*l,c=u.left,h=u.top;a.push(c,h),s=s&&i&&c===i[f]&&h===i[f+1],o.push(A[l].offsetLeft,A[l].offsetTop)}return s&&n?n:(e.srcCoords=a,e[r]=t?Np(o,a):Np(a,o))}function Pp(A){return A.nodeName.toUpperCase()==="CANVAS"}var Fx=/([&<>"'])/g,Ex={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Vt(A){return A==null?"":(A+"").replace(Fx,function(e,t){return Ex[t]})}var bx=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Pf=[],Sx=_e.browser.firefox&&+_e.browser.version.split(".")[0]<39;function kf(A,e,t,r){return t=t||{},r?kp(A,e,t):Sx&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):kp(A,e,t),t}function kp(A,e,t){if(_e.domSupported&&A.getBoundingClientRect){var r=e.clientX,n=e.clientY;if(Pp(A)){var i=A.getBoundingClientRect();t.zrX=r-i.left,t.zrY=n-i.top;return}else if(Nf(Pf,A,r,n)){t.zrX=Pf[0],t.zrY=Pf[1];return}}t.zrX=t.zrY=0}function Vf(A){return A||window.event}function AA(A,e,t){if(e=Vf(e),e.zrX!=null)return e;var r=e.type,n=r&&r.indexOf("touch")>=0;if(n){var a=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];a&&kf(A,a,e,t)}else{kf(A,e,e,t);var i=Ux(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var o=e.button;return e.which==null&&o!==void 0&&bx.test(e.type)&&(e.which=o&1?1:o&2?3:o&4?2:0),e}function Ux(A){var e=A.wheelDelta;if(e)return e;var t=A.deltaX,r=A.deltaY;if(t==null||r==null)return e;var n=Math.abs(r!==0?r:t),i=r>0?-1:r<0?1:t>0?-1:1;return 3*n*i}function Ix(A,e,t,r){A.addEventListener(e,t,r)}function Tx(A,e,t,r){A.removeEventListener(e,t,r)}var hi=function(A){A.preventDefault(),A.stopPropagation(),A.cancelBubble=!0};function Vp(A){return A.which===2||A.which===3}var Dx=(function(){function A(){this._track=[]}return A.prototype.recognize=function(e,t,r){return this._doTrack(e,t,r),this._recognize(e)},A.prototype.clear=function(){return this._track.length=0,this},A.prototype._doTrack=function(e,t,r){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},a=0,o=n.length;a<o;a++){var s=n[a],l=kf(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},A.prototype._recognize=function(e){for(var t in Kf)if(Kf.hasOwnProperty(t)){var r=Kf[t](this._track,e);if(r)return r}},A})();function Kp(A){var e=A[1][0]-A[0][0],t=A[1][1]-A[0][1];return Math.sqrt(e*e+t*t)}function Lx(A){return[(A[0][0]+A[1][0])/2,(A[0][1]+A[1][1])/2]}var Kf={pinch:function(A,e){var t=A.length;if(t){var r=(A[t-1]||{}).points,n=(A[t-2]||{}).points||r;if(n&&n.length>1&&r&&r.length>1){var i=Kp(r)/Kp(n);!isFinite(i)&&(i=1),e.pinchScale=i;var a=Lx(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:A[0].target,event:e}}}}};function nr(){return[1,0,0,1,0,0]}function Gf(A){return A[0]=1,A[1]=0,A[2]=0,A[3]=1,A[4]=0,A[5]=0,A}function Gp(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4],A[5]=e[5],A}function ga(A,e,t){var r=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],a=e[1]*t[2]+e[3]*t[3],o=e[0]*t[4]+e[2]*t[5]+e[4],s=e[1]*t[4]+e[3]*t[5]+e[5];return A[0]=r,A[1]=n,A[2]=i,A[3]=a,A[4]=o,A[5]=s,A}function zf(A,e,t){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4]+t[0],A[5]=e[5]+t[1],A}function Wf(A,e,t,r){r===void 0&&(r=[0,0]);var n=e[0],i=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return A[0]=n*f+o*u,A[1]=-n*u+o*f,A[2]=i*f+s*u,A[3]=-i*u+f*s,A[4]=f*(a-r[0])+u*(l-r[1])+r[0],A[5]=f*(l-r[1])-u*(a-r[0])+r[1],A}function Mx(A,e,t){var r=t[0],n=t[1];return A[0]=e[0]*r,A[1]=e[1]*n,A[2]=e[2]*r,A[3]=e[3]*n,A[4]=e[4]*r,A[5]=e[5]*n,A}function vi(A,e){var t=e[0],r=e[2],n=e[4],i=e[1],a=e[3],o=e[5],s=t*a-i*r;return s?(s=1/s,A[0]=a*s,A[1]=-i*s,A[2]=-r*s,A[3]=t*s,A[4]=(r*o-a*n)*s,A[5]=(i*n-t*o)*s,A):null}var be=(function(){function A(e,t){this.x=e||0,this.y=t||0}return A.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},A.prototype.clone=function(){return new A(this.x,this.y)},A.prototype.set=function(e,t){return this.x=e,this.y=t,this},A.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},A.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},A.prototype.scale=function(e){this.x*=e,this.y*=e},A.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},A.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},A.prototype.dot=function(e){return this.x*e.x+this.y*e.y},A.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},A.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},A.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},A.prototype.distance=function(e){var t=this.x-e.x,r=this.y-e.y;return Math.sqrt(t*t+r*r)},A.prototype.distanceSquare=function(e){var t=this.x-e.x,r=this.y-e.y;return t*t+r*r},A.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},A.prototype.transform=function(e){if(e){var t=this.x,r=this.y;return this.x=e[0]*t+e[2]*r+e[4],this.y=e[1]*t+e[3]*r+e[5],this}},A.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},A.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},A.set=function(e,t,r){e.x=t,e.y=r},A.copy=function(e,t){e.x=t.x,e.y=t.y},A.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},A.lenSquare=function(e){return e.x*e.x+e.y*e.y},A.dot=function(e,t){return e.x*t.x+e.y*t.y},A.add=function(e,t,r){e.x=t.x+r.x,e.y=t.y+r.y},A.sub=function(e,t,r){e.x=t.x-r.x,e.y=t.y-r.y},A.scale=function(e,t,r){e.x=t.x*r,e.y=t.y*r},A.scaleAndAdd=function(e,t,r,n){e.x=t.x+r.x*n,e.y=t.y+r.y*n},A.lerp=function(e,t,r,n){var i=1-n;e.x=i*t.x+n*r.x,e.y=i*t.y+n*r.y},A})(),on=Math.min,di=Math.max,Yf=Math.abs,zp=["x","y"],Hx=["width","height"],sn=new be,ln=new be,un=new be,fn=new be,Xt=Yp(),Ba=Xt.minTv,Xf=Xt.maxTv,ma=[0,0],Fe=(function(){function A(e,t,r,n){A.set(this,e,t,r,n)}return A.set=function(e,t,r,n,i){return n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),e.x=t,e.y=r,e.width=n,e.height=i,e},A.prototype.union=function(e){var t=on(e.x,this.x),r=on(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=di(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=di(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=t,this.y=r},A.prototype.applyTransform=function(e){A.applyTransform(this,this,e)},A.prototype.calculateTransform=function(e){var t=this,r=e.width/t.width,n=e.height/t.height,i=nr();return zf(i,i,[-t.x,-t.y]),Mx(i,i,[r,n]),zf(i,i,[e.x,e.y]),i},A.prototype.intersect=function(e,t,r){return A.intersect(this,e,t,r)},A.intersect=function(e,t,r,n){r&&be.set(r,0,0);var i=n&&n.outIntersectRect||null,a=n&&n.clamp;if(i&&(i.x=i.y=i.width=i.height=NaN),!e||!t)return!1;e instanceof A||(e=A.set(Ox,e.x,e.y,e.width,e.height)),t instanceof A||(t=A.set(Rx,t.x,t.y,t.width,t.height));var o=!!r;Xt.reset(n,o);var s=Xt.touchThreshold,l=e.x+s,u=e.x+e.width-s,f=e.y+s,c=e.y+e.height-s,h=t.x+s,v=t.x+t.width-s,d=t.y+s,g=t.y+t.height-s;if(l>u||f>c||h>v||d>g)return!1;var p=!(u<h||v<l||c<d||g<f);return(o||i)&&(ma[0]=1/0,ma[1]=0,Wp(l,u,h,v,0,o,i,a),Wp(f,c,d,g,1,o,i,a),o&&be.copy(r,p?Xt.useDir?Xt.dirMinTv:Ba:Xf)),p},A.contain=function(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height},A.prototype.contain=function(e,t){return A.contain(this,e,t)},A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height)},A.prototype.copy=function(e){A.copy(this,e)},A.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},A.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},A.prototype.isZero=function(){return this.width===0||this.height===0},A.create=function(e){return new A(e.x,e.y,e.width,e.height)},A.copy=function(e,t){return e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e},A.applyTransform=function(e,t,r){if(!r){e!==t&&A.copy(e,t);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],a=r[4],o=r[5];e.x=t.x*n+a,e.y=t.y*i+o,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}sn.x=un.x=t.x,sn.y=fn.y=t.y,ln.x=fn.x=t.x+t.width,ln.y=un.y=t.y+t.height,sn.transform(r),fn.transform(r),ln.transform(r),un.transform(r),e.x=on(sn.x,ln.x,un.x,fn.x),e.y=on(sn.y,ln.y,un.y,fn.y);var s=di(sn.x,ln.x,un.x,fn.x),l=di(sn.y,ln.y,un.y,fn.y);e.width=s-e.x,e.height=l-e.y},A})(),Ox=new Fe(0,0,0,0),Rx=new Fe(0,0,0,0);function Wp(A,e,t,r,n,i,a,o){var s=Yf(e-t),l=Yf(r-A),u=on(s,l),f=zp[n],c=zp[1-n],h=Hx[n];e<t||r<A?s<l?(i&&(Xf[f]=-s),o&&(a[f]=e,a[h]=0)):(i&&(Xf[f]=l),o&&(a[f]=A,a[h]=0)):(a&&(a[f]=di(A,t),a[h]=on(e,r)-a[f]),i&&(u<ma[0]||Xt.useDir)&&(ma[0]=on(u,ma[0]),(s<l||!Xt.bidirectional)&&(Ba[f]=s,Ba[c]=0,Xt.useDir&&Xt.calcDirMTV()),(s>=l||!Xt.bidirectional)&&(Ba[f]=-l,Ba[c]=0,Xt.useDir&&Xt.calcDirMTV())))}function Yp(){var A=0,e=new be,t=new be,r={minTv:new be,maxTv:new be,useDir:!1,dirMinTv:new be,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,a){r.touchThreshold=0,i&&i.touchThreshold!=null&&(r.touchThreshold=di(0,i.touchThreshold)),r.negativeSize=!1,a&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&i.direction!=null&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),t.copy(r.minTv),A=i.direction,r.bidirectional=i.bidirectional==null||!!i.bidirectional,r.bidirectional||e.set(Math.cos(A),Math.sin(A))))},calcDirMTV:function(){var i=r.minTv,a=r.dirMinTv,o=i.y*i.y+i.x*i.x,s=Math.sin(A),l=Math.cos(A),u=s*i.y+l*i.x;if(n(u)){n(i.x)&&n(i.y)&&a.set(0,0);return}if(t.x=o*l/u,t.y=o*s/u,n(t.x)&&n(t.y)){a.set(0,0);return}(r.bidirectional||e.dot(t)>0)&&t.len()<a.len()&&a.copy(t)}};function n(i){return Yf(i)<1e-10}return r}var Xp="silent";function Nx(A,e,t){return{type:A,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:Px}}function Px(){hi(this.event)}var kx=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e})(yA),ya=(function(){function A(e,t){this.x=e,this.y=t}return A})(),Vx=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Zf=new Fe(0,0,0,0),Zp=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this)||this;return o._hovered=new ya(0,0),o.storage=t,o.painter=r,o.painterRoot=i,o._pointerSize=a,n=n||new kx,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new mx(o),o}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(b(Vx,function(r){t.on&&t.on(r,this[r],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var r=t.zrX,n=t.zrY,i=qp(this,r,n),a=this._hovered,o=a.target;o&&!o.__zr&&(a=this.findHover(a.x,a.y),o=a.target);var s=this._hovered=i?new ya(r,n):this.findHover(r,n),l=s.target,u=this.proxy;u.setCursor&&u.setCursor(l?l.cursor:"default"),o&&l!==o&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(s,"mousemove",t),l&&l!==o&&this.dispatchToElement(s,"mouseover",t)},e.prototype.mouseout=function(t){var r=t.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ya(0,0)},e.prototype.dispatch=function(t,r){var n=this[t];n&&n.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var r=this.proxy;r.setCursor&&r.setCursor(t)},e.prototype.dispatchToElement=function(t,r,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var a="on"+r,o=Nx(r,t,n);i&&(i[a]&&(o.cancelBubble=!!i[a].call(i,o)),i.trigger(r,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(r,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,o),s.trigger&&s.trigger(r,o)}))}},e.prototype.findHover=function(t,r,n){var i=this.storage.getDisplayList(),a=new ya(t,r);if(Jp(i,a,t,r,n),this._pointerSize&&!a.target){for(var o=[],s=this._pointerSize,l=s/2,u=new Fe(t-l,r-l,s,s),f=i.length-1;f>=0;f--){var c=i[f];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(Zf.copy(c.getBoundingRect()),c.transform&&Zf.applyTransform(c.transform),Zf.intersect(u)&&o.push(c))}if(o.length)for(var h=4,v=Math.PI/12,d=Math.PI*2,g=0;g<l;g+=h)for(var p=0;p<d;p+=v){var B=t+g*Math.cos(p),m=r+g*Math.sin(p);if(Jp(o,a,B,m,n),a.target)return a}}return a},e.prototype.processGesture=function(t,r){this._gestureMgr||(this._gestureMgr=new Dx);var n=this._gestureMgr;r==="start"&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(r==="end"&&n.clear(),i){var a=i.type;t.gestureEvent=a;var o=new ya;o.target=i.target,this.dispatchToElement(o,a,i.event)}},e})(yA);b(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(A){Zp.prototype[A]=function(e){var t=e.zrX,r=e.zrY,n=qp(this,t,r),i,a;if((A!=="mouseup"||!n)&&(i=this.findHover(t,r),a=i.target),A==="mousedown")this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if(A==="mouseup")this._upEl=a;else if(A==="click"){if(this._downEl!==this._upEl||!this._downPoint||Mf(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,A,e)}});function Kx(A,e,t){if(A[A.rectHover?"rectContain":"contain"](e,t)){for(var r=A,n=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var a=r.getClipPath();if(a&&!a.contain(e,t))return!1}r.silent&&(n=!0);var o=r.__hostTarget;r=o?r.ignoreHostSilent?null:o:r.parent}return n?Xp:!0}return!1}function Jp(A,e,t,r,n){for(var i=A.length-1;i>=0;i--){var a=A[i],o=void 0;if(a!==n&&!a.ignore&&(o=Kx(a,t,r))&&(!e.topTarget&&(e.topTarget=a),o!==Xp)){e.target=a;break}}}function qp(A,e,t){var r=A.painter;return e<0||e>r.getWidth()||t<0||t>r.getHeight()}var $p=32,wa=7;function Gx(A){for(var e=0;A>=$p;)e|=A&1,A>>=1;return A+e}function jp(A,e,t,r){var n=e+1;if(n===t)return 1;if(r(A[n++],A[e])<0){for(;n<t&&r(A[n],A[n-1])<0;)n++;zx(A,e,n)}else for(;n<t&&r(A[n],A[n-1])>=0;)n++;return n-e}function zx(A,e,t){for(t--;e<t;){var r=A[e];A[e++]=A[t],A[t--]=r}}function eg(A,e,t,r,n){for(r===e&&r++;r<t;r++){for(var i=A[r],a=e,o=r,s;a<o;)s=a+o>>>1,n(i,A[s])<0?o=s:a=s+1;var l=r-a;switch(l){case 3:A[a+3]=A[a+2];case 2:A[a+2]=A[a+1];case 1:A[a+1]=A[a];break;default:for(;l>0;)A[a+l]=A[a+l-1],l--}A[a]=i}}function Jf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])>0){for(o=r-n;s<o&&i(A,e[t+n+s])>0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}else{for(o=n+1;s<o&&i(A,e[t+n-s])<=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])>0?a=u+1:s=u}return s}function qf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])<0){for(o=n+1;s<o&&i(A,e[t+n-s])<0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}else{for(o=r-n;s<o&&i(A,e[t+n+s])>=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])<0?s=u:a=u+1}return s}function Wx(A,e){var t=wa,r,n,i=0,a=[];r=[],n=[];function o(h,v){r[i]=h,n[i]=v,i+=1}function s(){for(;i>1;){var h=i-2;if(h>=1&&n[h-1]<=n[h]+n[h+1]||h>=2&&n[h-2]<=n[h]+n[h-1])n[h-1]<n[h+1]&&h--;else if(n[h]>n[h+1])break;u(h)}}function l(){for(;i>1;){var h=i-2;h>0&&n[h-1]<n[h+1]&&h--,u(h)}}function u(h){var v=r[h],d=n[h],g=r[h+1],p=n[h+1];n[h]=d+p,h===i-3&&(r[h+1]=r[h+2],n[h+1]=n[h+2]),i--;var B=qf(A[g],A,v,d,0,e);v+=B,d-=B,d!==0&&(p=Jf(A[v+d-1],A,g,p,p-1,e),p!==0&&(d<=p?f(v,d,g,p):c(v,d,g,p)))}function f(h,v,d,g){var p=0;for(p=0;p<v;p++)a[p]=A[h+p];var B=0,m=d,y=h;if(A[y++]=A[m++],--g===0){for(p=0;p<v;p++)A[y+p]=a[B+p];return}if(v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B];return}for(var _=t,C,Q,x;;){C=0,Q=0,x=!1;do if(e(A[m],a[B])<0){if(A[y++]=A[m++],Q++,C=0,--g===0){x=!0;break}}else if(A[y++]=a[B++],C++,Q=0,--v===1){x=!0;break}while((C|Q)<_);if(x)break;do{if(C=qf(A[m],a,B,v,0,e),C!==0){for(p=0;p<C;p++)A[y+p]=a[B+p];if(y+=C,B+=C,v-=C,v<=1){x=!0;break}}if(A[y++]=A[m++],--g===0){x=!0;break}if(Q=Jf(a[B],A,m,g,0,e),Q!==0){for(p=0;p<Q;p++)A[y+p]=A[m+p];if(y+=Q,m+=Q,g-=Q,g===0){x=!0;break}}if(A[y++]=a[B++],--v===1){x=!0;break}_--}while(C>=wa||Q>=wa);if(x)break;_<0&&(_=0),_+=2}if(t=_,t<1&&(t=1),v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B]}else{if(v===0)throw new Error;for(p=0;p<v;p++)A[y+p]=a[B+p]}}function c(h,v,d,g){var p=0;for(p=0;p<g;p++)a[p]=A[d+p];var B=h+v-1,m=g-1,y=d+g-1,_=0,C=0;if(A[y--]=A[B--],--v===0){for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p];return}if(g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m];return}for(var Q=t;;){var x=0,F=0,S=!1;do if(e(a[m],A[B])<0){if(A[y--]=A[B--],x++,F=0,--v===0){S=!0;break}}else if(A[y--]=a[m--],F++,x=0,--g===1){S=!0;break}while((x|F)<Q);if(S)break;do{if(x=v-qf(a[m],A,h,v,v-1,e),x!==0){for(y-=x,B-=x,v-=x,C=y+1,_=B+1,p=x-1;p>=0;p--)A[C+p]=A[_+p];if(v===0){S=!0;break}}if(A[y--]=a[m--],--g===1){S=!0;break}if(F=g-Jf(A[B],a,0,g,g-1,e),F!==0){for(y-=F,m-=F,g-=F,C=y+1,_=m+1,p=0;p<F;p++)A[C+p]=a[_+p];if(g<=1){S=!0;break}}if(A[y--]=A[B--],--v===0){S=!0;break}Q--}while(x>=wa||F>=wa);if(S)break;Q<0&&(Q=0),Q+=2}if(t=Q,t<1&&(t=1),g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m]}else{if(g===0)throw new Error;for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p]}}return{mergeRuns:s,forceMergeRuns:l,pushRun:o}}function as(A,e,t,r){t||(t=0),r||(r=A.length);var n=r-t;if(!(n<2)){var i=0;if(n<$p){i=jp(A,t,r,e),eg(A,t,r,t+i,e);return}var a=Wx(A,e),o=Gx(n);do{if(i=jp(A,t,r,e),i<o){var s=n;s>o&&(s=o),eg(A,t,t+s,t+i,e),i=s}a.pushRun(t,i),a.mergeRuns(),n-=i,t+=i}while(n!==0);a.forceMergeRuns()}}var Zt=1,Ca=2,pi=4,tg=!1;function $f(){tg||(tg=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ag(A,e){return A.zlevel===e.zlevel?A.z===e.z?A.z2-e.z2:A.z-e.z:A.zlevel-e.zlevel}var Yx=(function(){function A(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ag}return A.prototype.traverse=function(e,t){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,t)},A.prototype.getDisplayList=function(e,t){t=t||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(t),r},A.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,r=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);r.length=this._displayListLen,as(r,Ag)},A.prototype._updateAndAddDisplayable=function(e,t,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath(),i=t&&t.length,a=0,o=e.__clipPaths;if(!e.ignoreClip&&(i||n)){if(o||(o=e.__clipPaths=[]),i)for(var s=0;s<t.length;s++)o[a++]=t[s];for(var l=n,u=e;l;)l.parent=u,l.updateTransform(),o[a++]=l,u=l,l=l.getClipPath()}if(o&&(o.length=a),e.childrenRef){for(var f=e.childrenRef(),c=0;c<f.length;c++){var h=f[c];e.__dirty&&(h.__dirty|=Zt),this._updateAndAddDisplayable(h,o,r)}e.__dirty=0}else{var v=e;isNaN(v.z)&&($f(),v.z=0),isNaN(v.z2)&&($f(),v.z2=0),isNaN(v.zlevel)&&($f(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var d=e.getDecalElement&&e.getDecalElement();d&&this._updateAndAddDisplayable(d,o,r);var g=e.getTextGuideLine();g&&this._updateAndAddDisplayable(g,o,r);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,o,r)}},A.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},A.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,r=e.length;t<r;t++)this.delRoot(e[t]);return}var n=Te(this._roots,e);n>=0&&this._roots.splice(n,1)},A.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},A.prototype.getRoots=function(){return this._roots},A.prototype.dispose=function(){this._displayList=null,this._roots=null},A})(),os;os=_e.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(A){return setTimeout(A,16)};var _a={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)))},elasticOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*A)*Math.sin((A-e)*(2*Math.PI)/r)+1)},elasticInOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),(A*=2)<1?-.5*(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)):t*Math.pow(2,-10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)*.5+1)},backIn:function(A){var e=1.70158;return A*A*((e+1)*A-e)},backOut:function(A){var e=1.70158;return--A*A*((e+1)*A+e)+1},backInOut:function(A){var e=2.5949095;return(A*=2)<1?.5*(A*A*((e+1)*A-e)):.5*((A-=2)*A*((e+1)*A+e)+2)},bounceIn:function(A){return 1-_a.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?_a.bounceIn(A*2)*.5:_a.bounceOut(A*2-1)*.5+.5}},ss=Math.pow,_r=Math.sqrt,ls=1e-8,rg=1e-4,ng=_r(3),us=1/3,MA=si(),rA=si(),gi=si();function Qr(A){return A>-ls&&A<ls}function ig(A){return A>ls||A<-ls}function ct(A,e,t,r,n){var i=1-n;return i*i*(i*A+3*n*e)+n*n*(n*r+3*i*t)}function ag(A,e,t,r,n){var i=1-n;return 3*(((e-A)*i+2*(t-e)*n)*i+(r-t)*n*n)}function fs(A,e,t,r,n,i){var a=r+3*(e-t)-A,o=3*(t-e*2+A),s=3*(e-A),l=A-n,u=o*o-3*a*s,f=o*s-9*a*l,c=s*s-3*o*l,h=0;if(Qr(u)&&Qr(f))if(Qr(o))i[0]=0;else{var v=-s/o;v>=0&&v<=1&&(i[h++]=v)}else{var d=f*f-4*u*c;if(Qr(d)){var g=f/u,v=-o/a+g,p=-g/2;v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p)}else if(d>0){var B=_r(d),m=u*o+1.5*a*(-f+B),y=u*o+1.5*a*(-f-B);m<0?m=-ss(-m,us):m=ss(m,us),y<0?y=-ss(-y,us):y=ss(y,us);var v=(-o-(m+y))/(3*a);v>=0&&v<=1&&(i[h++]=v)}else{var _=(2*u*o-3*a*f)/(2*_r(u*u*u)),C=Math.acos(_)/3,Q=_r(u),x=Math.cos(C),v=(-o-2*Q*x)/(3*a),p=(-o+Q*(x+ng*Math.sin(C)))/(3*a),F=(-o+Q*(x-ng*Math.sin(C)))/(3*a);v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p),F>=0&&F<=1&&(i[h++]=F)}}return h}function og(A,e,t,r,n){var i=6*t-12*e+6*A,a=9*e+3*r-3*A-9*t,o=3*e-3*A,s=0;if(Qr(a)){if(ig(i)){var l=-o/i;l>=0&&l<=1&&(n[s++]=l)}}else{var u=i*i-4*a*o;if(Qr(u))n[0]=-i/(2*a);else if(u>0){var f=_r(u),l=(-i+f)/(2*a),c=(-i-f)/(2*a);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function cs(A,e,t,r,n,i){var a=(e-A)*n+A,o=(t-e)*n+e,s=(r-t)*n+t,l=(o-a)*n+a,u=(s-o)*n+o,f=(u-l)*n+l;i[0]=A,i[1]=a,i[2]=l,i[3]=f,i[4]=f,i[5]=u,i[6]=s,i[7]=r}function sg(A,e,t,r,n,i,a,o,s,l,u){var f,c=.005,h=1/0,v,d,g,p;MA[0]=s,MA[1]=l;for(var B=0;B<1;B+=.05)rA[0]=ct(A,t,n,a,B),rA[1]=ct(e,r,i,o,B),g=li(MA,rA),g<h&&(f=B,h=g);h=1/0;for(var m=0;m<32&&!(c<rg);m++)v=f-c,d=f+c,rA[0]=ct(A,t,n,a,v),rA[1]=ct(e,r,i,o,v),g=li(rA,MA),v>=0&&g<h?(f=v,h=g):(gi[0]=ct(A,t,n,a,d),gi[1]=ct(e,r,i,o,d),p=li(gi,MA),d<=1&&p<h?(f=d,h=p):c*=.5);return u&&(u[0]=ct(A,t,n,a,f),u[1]=ct(e,r,i,o,f)),_r(h)}function Xx(A,e,t,r,n,i,a,o,s){for(var l=A,u=e,f=0,c=1/s,h=1;h<=s;h++){var v=h*c,d=ct(A,t,n,a,v),g=ct(e,r,i,o,v),p=d-l,B=g-u;f+=Math.sqrt(p*p+B*B),l=d,u=g}return f}function Qt(A,e,t,r){var n=1-r;return n*(n*A+2*r*e)+r*r*t}function lg(A,e,t,r){return 2*((1-r)*(e-A)+r*(t-e))}function Zx(A,e,t,r,n){var i=A-2*e+t,a=2*(e-A),o=A-r,s=0;if(Qr(i)){if(ig(a)){var l=-o/a;l>=0&&l<=1&&(n[s++]=l)}}else{var u=a*a-4*i*o;if(Qr(u)){var l=-a/(2*i);l>=0&&l<=1&&(n[s++]=l)}else if(u>0){var f=_r(u),l=(-a+f)/(2*i),c=(-a-f)/(2*i);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function ug(A,e,t){var r=A+t-2*e;return r===0?.5:(A-e)/r}function hs(A,e,t,r,n){var i=(e-A)*r+A,a=(t-e)*r+e,o=(a-i)*r+i;n[0]=A,n[1]=i,n[2]=o,n[3]=o,n[4]=a,n[5]=t}function fg(A,e,t,r,n,i,a,o,s){var l,u=.005,f=1/0;MA[0]=a,MA[1]=o;for(var c=0;c<1;c+=.05){rA[0]=Qt(A,t,n,c),rA[1]=Qt(e,r,i,c);var h=li(MA,rA);h<f&&(l=c,f=h)}f=1/0;for(var v=0;v<32&&!(u<rg);v++){var d=l-u,g=l+u;rA[0]=Qt(A,t,n,d),rA[1]=Qt(e,r,i,d);var h=li(rA,MA);if(d>=0&&h<f)l=d,f=h;else{gi[0]=Qt(A,t,n,g),gi[1]=Qt(e,r,i,g);var p=li(gi,MA);g<=1&&p<f?(l=g,f=p):u*=.5}}return s&&(s[0]=Qt(A,t,n,l),s[1]=Qt(e,r,i,l)),_r(f)}function Jx(A,e,t,r,n,i,a){for(var o=A,s=e,l=0,u=1/a,f=1;f<=a;f++){var c=f*u,h=Qt(A,t,n,c),v=Qt(e,r,i,c),d=h-o,g=v-s;l+=Math.sqrt(d*d+g*g),o=h,s=v}return l}var qx=/cubic-bezier\(([0-9,\.e ]+)\)/;function cg(A){var e=A&&qx.exec(A);if(e){var t=e[1].split(","),r=+LA(t[0]),n=+LA(t[1]),i=+LA(t[2]),a=+LA(t[3]);if(isNaN(r+n+i+a))return;var o=[];return function(s){return s<=0?0:s>=1?1:fs(0,r,i,1,s,o)&&ct(0,n,a,1,o[0])}}}var $x=(function(){function A(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Dt,this.ondestroy=e.ondestroy||Dt,this.onrestart=e.onrestart||Dt,e.easing&&this.setEasing(e.easing)}return A.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var r=this._life,n=e-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),i===1)if(this.loop){var s=n%r;this._startTime=e-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},A.prototype.pause=function(){this._paused=!0},A.prototype.resume=function(){this._paused=!1},A.prototype.setEasing=function(e){this.easing=e,this.easingFunc=me(e)?e:_a[e]||cg(e)},A})(),hg=(function(){function A(e){this.value=e}return A})(),jx=(function(){function A(){this._len=0}return A.prototype.insert=function(e){var t=new hg(e);return this.insertEntry(t),t},A.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},A.prototype.remove=function(e){var t=e.prev,r=e.next;t?t.next=r:this.head=r,r?r.prev=t:this.tail=t,e.next=e.prev=null,this._len--},A.prototype.len=function(){return this._len},A.prototype.clear=function(){this.head=this.tail=null,this._len=0},A})(),Bi=(function(){function A(e){this._list=new jx,this._maxSize=10,this._map={},this._maxSize=e}return A.prototype.put=function(e,t){var r=this._list,n=this._map,i=null;if(n[e]==null){var a=r.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete n[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=t:o=new hg(t),o.key=e,r.insertEntry(o),n[e]=o}return i},A.prototype.get=function(e){var t=this._map[e],r=this._list;if(t!=null)return t!==r.tail&&(r.remove(t),r.insertEntry(t)),t.value},A.prototype.clear=function(){this._list.clear(),this._map={}},A.prototype.len=function(){return this._list.len()},A})(),vg={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function xr(A){return A=Math.round(A),A<0?0:A>255?255:A}function jf(A){return A<0?0:A>1?1:A}function ec(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?xr(parseFloat(e)/100*255):xr(parseInt(e,10))}function cn(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?jf(parseFloat(e)/100):jf(parseFloat(e))}function tc(A,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?A+(e-A)*t*6:t*2<1?e:t*3<2?A+(e-A)*(2/3-t)*6:A}function vs(A,e,t){return A+(e-A)*t}function nA(A,e,t,r,n){return A[0]=e,A[1]=t,A[2]=r,A[3]=n,A}function Ac(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A}var dg=new Bi(20),ds=null;function mi(A,e){ds&&Ac(ds,e),ds=dg.put(A,ds||e.slice())}function HA(A,e){if(A){e=e||[];var t=dg.get(A);if(t)return Ac(e,t);A=A+"";var r=A.replace(/ /g,"").toLowerCase();if(r in vg)return Ac(e,vg[r]),mi(A,e),e;var n=r.length;if(r.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){nA(e,0,0,0,1);return}return nA(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(r.slice(4),16)/15:1),mi(A,e),e}else if(n===7||n===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){nA(e,0,0,0,1);return}return nA(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(r.slice(7),16)/255:1),mi(A,e),e}return}var a=r.indexOf("("),o=r.indexOf(")");if(a!==-1&&o+1===n){var s=r.substr(0,a),l=r.substr(a+1,o-(a+1)).split(","),u=1;switch(s){case"rgba":if(l.length!==4)return l.length===3?nA(e,+l[0],+l[1],+l[2],1):nA(e,0,0,0,1);u=cn(l.pop());case"rgb":if(l.length>=3)return nA(e,ec(l[0]),ec(l[1]),ec(l[2]),l.length===3?u:cn(l[3])),mi(A,e),e;nA(e,0,0,0,1);return;case"hsla":if(l.length!==4){nA(e,0,0,0,1);return}return l[3]=cn(l[3]),rc(l,e),mi(A,e),e;case"hsl":if(l.length!==3){nA(e,0,0,0,1);return}return rc(l,e),mi(A,e),e;default:return}}nA(e,0,0,0,1)}}function rc(A,e){var t=(parseFloat(A[0])%360+360)%360/360,r=cn(A[1]),n=cn(A[2]),i=n<=.5?n*(r+1):n+r-n*r,a=n*2-i;return e=e||[],nA(e,xr(tc(a,i,t+1/3)*255),xr(tc(a,i,t)*255),xr(tc(a,i,t-1/3)*255),1),A.length===4&&(e[3]=A[3]),e}function eF(A){if(A){var e=A[0]/255,t=A[1]/255,r=A[2]/255,n=Math.min(e,t,r),i=Math.max(e,t,r),a=i-n,o=(i+n)/2,s,l;if(a===0)s=0,l=0;else{o<.5?l=a/(i+n):l=a/(2-i-n);var u=((i-e)/6+a/2)/a,f=((i-t)/6+a/2)/a,c=((i-r)/6+a/2)/a;e===i?s=c-f:t===i?s=1/3+u-c:r===i&&(s=2/3+f-u),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,l,o];return A[3]!=null&&h.push(A[3]),h}}function pg(A,e){var t=HA(A);if(t){for(var r=0;r<3;r++)t[r]=t[r]*(1-e)|0,t[r]>255?t[r]=255:t[r]<0&&(t[r]=0);return Qa(t,t.length===4?"rgba":"rgb")}}function tF(A,e,t){if(!(!(e&&e.length)||!(A>=0&&A<=1))){var r=A*(e.length-1),n=Math.floor(r),i=Math.ceil(r),a=HA(e[n]),o=HA(e[i]),s=r-n,l=Qa([xr(vs(a[0],o[0],s)),xr(vs(a[1],o[1],s)),xr(vs(a[2],o[2],s)),jf(vs(a[3],o[3],s))],"rgba");return t?{color:l,leftIndex:n,rightIndex:i,value:r}:l}}function nc(A,e,t,r){var n=HA(A);if(A)return n=eF(n),t!=null&&(n[1]=cn(me(t)?t(n[1]):t)),r!=null&&(n[2]=cn(me(r)?r(n[2]):r)),Qa(rc(n),"rgba")}function Qa(A,e){if(!(!A||!A.length)){var t=A[0]+","+A[1]+","+A[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+A[3]),e+"("+t+")"}}function ps(A,e){var t=HA(A);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var gg=new Bi(100);function Bg(A){if(le(A)){var e=gg.get(A);return e||(e=pg(A,-.1),gg.put(A,e)),e}else if(rs(A)){var t=Y({},A);return t.colorStops=Be(A.colorStops,function(r){return{offset:r.offset,color:pg(r.color,-.1)}}),t}return A}function AF(A){return A.type==="linear"}function rF(A){return A.type==="radial"}(function(){return _e.hasGlobalWindow&&me(window.btoa)?function(A){return window.btoa(unescape(encodeURIComponent(A)))}:typeof Buffer<"u"?function(A){return Buffer.from(A).toString("base64")}:function(A){return process.env.NODE_ENV!=="production"&&an("Base64 isn't natively supported in the current environment."),null}})();var ic=Array.prototype.slice;function ir(A,e,t){return(e-A)*t+A}function ac(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=ir(e[i],t[i],r);return A}function nF(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=ir(e[a][o],t[a][o],r)}return A}function gs(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=e[i]+t[i]*r;return A}function mg(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=e[a][o]+t[a][o]*r}return A}function iF(A,e){for(var t=A.length,r=e.length,n=t>r?e:A,i=Math.min(t,r),a=n[i-1]||{color:[0,0,0,0],offset:0},o=i;o<Math.max(t,r);o++)n.push({offset:a.offset,color:a.color.slice()})}function aF(A,e,t){var r=A,n=e;if(!(!r.push||!n.push)){var i=r.length,a=n.length;if(i!==a){var o=i>a;if(o)r.length=a;else for(var s=i;s<a;s++)r.push(t===1?n[s]:ic.call(n[s]))}for(var l=r[0]&&r[0].length,s=0;s<r.length;s++)if(t===1)isNaN(r[s])&&(r[s]=n[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=n[s][u])}}function Bs(A){if(kt(A)){var e=A.length;if(kt(A[0])){for(var t=[],r=0;r<e;r++)t.push(ic.call(A[r]));return t}return ic.call(A)}return A}function ms(A){return A[0]=Math.floor(A[0])||0,A[1]=Math.floor(A[1])||0,A[2]=Math.floor(A[2])||0,A[3]=A[3]==null?1:A[3],"rgba("+A.join(",")+")"}function oF(A){return kt(A&&A[0])?2:1}var ys=0,ws=1,yg=2,xa=3,oc=4,sc=5,wg=6;function Cg(A){return A===oc||A===sc}function Cs(A){return A===ws||A===yg}var Fa=[0,0,0,0],sF=(function(){function A(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return A.prototype.isFinished=function(){return this._finished},A.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},A.prototype.needsAnimate=function(){return this.keyframes.length>=1},A.prototype.getAdditiveTrack=function(){return this._additiveTrack},A.prototype.addKeyframe=function(e,t,r){this._needsSort=!0;var n=this.keyframes,i=n.length,a=!1,o=wg,s=t;if(kt(t)){var l=oF(t);o=l,(l===1&&!Ye(t[0])||l===2&&!Ye(t[0][0]))&&(a=!0)}else if(Ye(t)&&!ai(t))o=ys;else if(le(t))if(!isNaN(+t))o=ys;else{var u=HA(t);u&&(s=u,o=xa)}else if(rs(t)){var f=Y({},s);f.colorStops=Be(t.colorStops,function(h){return{offset:h.offset,color:HA(h.color)}}),AF(t)?o=oc:rF(t)&&(o=sc),s=f}i===0?this.valType=o:(o!==this.valType||o===wg)&&(a=!0),this.discrete=this.discrete||a;var c={time:e,value:s,rawValue:t,percent:0};return r&&(c.easing=r,c.easingFunc=me(r)?r:_a[r]||cg(r)),n.push(c),c},A.prototype.prepare=function(e,t){var r=this.keyframes;this._needsSort&&r.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=r.length,a=r[i-1],o=this.discrete,s=Cs(n),l=Cg(n),u=0;u<i;u++){var f=r[u],c=f.value,h=a.value;f.percent=f.time/e,o||(s&&u!==i-1?aF(c,h,n):l&&iF(c.colorStops,h.colorStops))}if(!o&&n!==sc&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;for(var v=r[0].value,u=0;u<i;u++)n===ys?r[u].additiveValue=r[u].value-v:n===xa?r[u].additiveValue=gs([],r[u].value,v,-1):Cs(n)&&(r[u].additiveValue=n===ws?gs([],r[u].value,v,-1):mg([],r[u].value,v,-1))}},A.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,n=r?"additiveValue":"value",i=this.valType,a=this.keyframes,o=a.length,s=this.propName,l=i===xa,u,f=this._lastFr,c=Math.min,h,v;if(o===1)h=v=a[0];else{if(t<0)u=0;else if(t<this._lastFrP){var d=c(f+1,o-1);for(u=d;u>=0&&!(a[u].percent<=t);u--);u=c(u,o-2)}else{for(u=f;u<o&&!(a[u].percent>t);u++);u=c(u-1,o-2)}v=a[u+1],h=a[u]}if(h&&v){this._lastFr=u,this._lastFrP=t;var g=v.percent-h.percent,p=g===0?1:c((t-h.percent)/g,1);v.easingFunc&&(p=v.easingFunc(p));var B=r?this._additiveValue:l?Fa:e[s];if((Cs(i)||l)&&!B&&(B=this._additiveValue=[]),this.discrete)e[s]=p<1?h.rawValue:v.rawValue;else if(Cs(i))i===ws?ac(B,h[n],v[n],p):nF(B,h[n],v[n],p);else if(Cg(i)){var m=h[n],y=v[n],_=i===oc;e[s]={type:_?"linear":"radial",x:ir(m.x,y.x,p),y:ir(m.y,y.y,p),colorStops:Be(m.colorStops,function(Q,x){var F=y.colorStops[x];return{offset:ir(Q.offset,F.offset,p),color:ms(ac([],Q.color,F.color,p))}}),global:y.global},_?(e[s].x2=ir(m.x2,y.x2,p),e[s].y2=ir(m.y2,y.y2,p)):e[s].r=ir(m.r,y.r,p)}else if(l)ac(B,h[n],v[n],p),r||(e[s]=ms(B));else{var C=ir(h[n],v[n],p);r?this._additiveValue=C:e[s]=C}r&&this._addToTarget(e)}}},A.prototype._addToTarget=function(e){var t=this.valType,r=this.propName,n=this._additiveValue;t===ys?e[r]=e[r]+n:t===xa?(HA(e[r],Fa),gs(Fa,Fa,n,1),e[r]=ms(Fa)):t===ws?gs(e[r],e[r],n,1):t===yg&&mg(e[r],e[r],n,1)},A})(),lc=(function(){function A(e,t,r,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){an("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=r}return A.prototype.getMaxTime=function(){return this._maxTime},A.prototype.getDelay=function(){return this._delay},A.prototype.getLoop=function(){return this._loop},A.prototype.getTarget=function(){return this._target},A.prototype.changeTarget=function(e){this._target=e},A.prototype.when=function(e,t,r){return this.whenWithKeys(e,t,Xe(t),r)},A.prototype.whenWithKeys=function(e,t,r,n){for(var i=this._tracks,a=0;a<r.length;a++){var o=r[a],s=i[o];if(!s){s=i[o]=new sF(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var f=u.keyframes,c=f[f.length-1];l=c&&c.value,u.valType===xa&&l&&(l=ms(l))}else l=this._target[o];if(l==null)continue;e>0&&s.addKeyframe(0,Bs(l),n),this._trackKeys.push(o)}s.addKeyframe(e,Bs(t[o]),n)}return this._maxTime=Math.max(this._maxTime,e),this},A.prototype.pause=function(){this._clip.pause(),this._paused=!0},A.prototype.resume=function(){this._clip.resume(),this._paused=!1},A.prototype.isPaused=function(){return!!this._paused},A.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},A.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,r=0;r<t;r++)e[r].call(this)},A.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var r=0;r<t.length;r++)t[r].call(this)},A.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,r=0;r<t.length;r++)e[t[r]].setFinished()},A.prototype._getAdditiveTrack=function(e){var t,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(e);i&&(t=i)}return t},A.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var a=this._trackKeys[i],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(n,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var f=l[u-1];f&&(t._target[o.propName]=f.rawValue),o.setFinished()}else r.push(o)}if(r.length||this._force){var c=new $x({life:n,loop:this._loop,delay:this._delay||0,onframe:function(h){t._started=2;var v=t._additiveAnimators;if(v){for(var d=!1,g=0;g<v.length;g++)if(v[g]._clip){d=!0;break}d||(t._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(t._target,h);var p=t._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](t._target,h)},ondestroy:function(){t._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),e&&c.setEasing(e)}else this._doneCallback();return this}},A.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},A.prototype.delay=function(e){return this._delay=e,this},A.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},A.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},A.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},A.prototype.getClip=function(){return this._clip},A.prototype.getTrack=function(e){return this._tracks[e]},A.prototype.getTracks=function(){var e=this;return Be(this._trackKeys,function(t){return e._tracks[t]})},A.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var a=r[e[i]];a&&!a.isFinished()&&(t?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var o=!0,i=0;i<n.length;i++)if(!r[n[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},A.prototype.saveTo=function(e,t,r){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],a=this._tracks[i];if(!(!a||a.isFinished())){var o=a.keyframes,s=o[r?0:o.length-1];s&&(e[i]=Bs(s.rawValue))}}}},A.prototype.__changeFinalValue=function(e,t){t=t||Xe(e);for(var r=0;r<t.length;r++){var n=t[r],i=this._tracks[n];if(i){var a=i.keyframes;if(a.length>1){var o=a.pop();i.addKeyframe(o.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},A})();function yi(){return new Date().getTime()}var lF=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,t=t||{},r.stage=t.stage||{},r}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var r=t.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(t){if(t.animation){var r=t.prev,n=t.next;r?r.next=n:this._head=n,n?n.prev=r:this._tail=r,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var r=t.getClip();r&&this.removeClip(r),t.animation=null},e.prototype.update=function(t){for(var r=yi()-this._pausedTime,n=r-this._time,i=this._head;i;){var a=i.next,o=i.step(r,n);o&&(i.ondestroy(),this.removeClip(i)),i=a}this._time=r,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function r(){t._running&&(os(r),!t._paused&&t.update())}os(r)},e.prototype.start=function(){this._running||(this._time=yi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=yi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=yi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var r=t.next;t.prev=t.next=t.animation=null,t=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,r){r=r||{},this.start();var n=new lc(t,r.loop);return this.addAnimator(n),n},e})(yA),uF=300,uc=_e.domSupported,fc=(function(){var A=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Be(A,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:A,touch:e,pointer:r}})(),_g={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Qg=!1;function cc(A){var e=A.pointerType;return e==="pen"||e==="touch"}function fF(A){A.touching=!0,A.touchTimer!=null&&(clearTimeout(A.touchTimer),A.touchTimer=null),A.touchTimer=setTimeout(function(){A.touching=!1,A.touchTimer=null},700)}function hc(A){A&&(A.zrByTouch=!0)}function cF(A,e){return AA(A.dom,new hF(A,e),!0)}function xg(A,e){for(var t=e,r=!1;t&&t.nodeType!==9&&!(r=t.domBelongToZr||t!==e&&t===A.painterRoot);)t=t.parentNode;return r}var hF=(function(){function A(e,t){this.stopPropagation=Dt,this.stopImmediatePropagation=Dt,this.preventDefault=Dt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return A})(),wA={mousedown:function(A){A=AA(this.dom,A),this.__mayPointerCapture=[A.zrX,A.zrY],this.trigger("mousedown",A)},mousemove:function(A){A=AA(this.dom,A);var e=this.__mayPointerCapture;e&&(A.zrX!==e[0]||A.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",A)},mouseup:function(A){A=AA(this.dom,A),this.__togglePointerCapture(!1),this.trigger("mouseup",A)},mouseout:function(A){A=AA(this.dom,A);var e=A.toElement||A.relatedTarget;xg(this,e)||(this.__pointerCapturing&&(A.zrEventControl="no_globalout"),this.trigger("mouseout",A))},wheel:function(A){Qg=!0,A=AA(this.dom,A),this.trigger("mousewheel",A)},mousewheel:function(A){Qg||(A=AA(this.dom,A),this.trigger("mousewheel",A))},touchstart:function(A){A=AA(this.dom,A),hc(A),this.__lastTouchMoment=new Date,this.handler.processGesture(A,"start"),wA.mousemove.call(this,A),wA.mousedown.call(this,A)},touchmove:function(A){A=AA(this.dom,A),hc(A),this.handler.processGesture(A,"change"),wA.mousemove.call(this,A)},touchend:function(A){A=AA(this.dom,A),hc(A),this.handler.processGesture(A,"end"),wA.mouseup.call(this,A),+new Date-+this.__lastTouchMoment<uF&&wA.click.call(this,A)},pointerdown:function(A){wA.mousedown.call(this,A)},pointermove:function(A){cc(A)||wA.mousemove.call(this,A)},pointerup:function(A){wA.mouseup.call(this,A)},pointerout:function(A){cc(A)||wA.mouseout.call(this,A)}};b(["click","dblclick","contextmenu"],function(A){wA[A]=function(e){e=AA(this.dom,e),this.trigger(A,e)}});var vc={pointermove:function(A){cc(A)||vc.mousemove.call(this,A)},pointerup:function(A){vc.mouseup.call(this,A)},mousemove:function(A){this.trigger("mousemove",A)},mouseup:function(A){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",A),e&&(A.zrEventControl="only_globalout",this.trigger("mouseout",A))}};function vF(A,e){var t=e.domHandlers;_e.pointerEventsSupported?b(fc.pointer,function(r){_s(e,r,function(n){t[r].call(A,n)})}):(_e.touchEventsSupported&&b(fc.touch,function(r){_s(e,r,function(n){t[r].call(A,n),fF(e)})}),b(fc.mouse,function(r){_s(e,r,function(n){n=Vf(n),e.touching||t[r].call(A,n)})}))}function dF(A,e){_e.pointerEventsSupported?b(_g.pointer,t):_e.touchEventsSupported||b(_g.mouse,t);function t(r){function n(i){i=Vf(i),xg(A,i.target)||(i=cF(A,i),e.domHandlers[r].call(A,i))}_s(e,r,n,{capture:!0})}}function _s(A,e,t,r){A.mounted[e]=t,A.listenerOpts[e]=r,Ix(A.domTarget,e,t,r)}function dc(A){var e=A.mounted;for(var t in e)e.hasOwnProperty(t)&&Tx(A.domTarget,t,e[t],A.listenerOpts[t]);A.mounted={}}var Fg=(function(){function A(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return A})(),pF=(function(A){J(e,A);function e(t,r){var n=A.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=r,n._localHandlerScope=new Fg(t,wA),uc&&(n._globalHandlerScope=new Fg(document,vc)),vF(n,n._localHandlerScope),n}return e.prototype.dispose=function(){dc(this._localHandlerScope),uc&&dc(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,uc&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var r=this._globalHandlerScope;t?dF(this,r):dc(r)}},e})(yA),Eg=1;_e.hasGlobalWindow&&(Eg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Qs=Eg,pc=.4,gc="#333",Bc="#ccc",gF="#eee",bg=Gf,Sg=5e-5;function hn(A){return A>Sg||A<-Sg}var vn=[],wi=[],mc=nr(),yc=Math.abs,xs=(function(){function A(){}return A.prototype.getLocalTransform=function(e){return A.getLocalTransform(this,e)},A.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},A.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},A.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},A.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},A.prototype.needLocalTransform=function(){return hn(this.rotation)||hn(this.x)||hn(this.y)||hn(this.scaleX-1)||hn(this.scaleY-1)||hn(this.skewX)||hn(this.skewY)},A.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),r=this.transform;if(!(t||e)){r&&(bg(r),this.invTransform=null);return}r=r||nr(),t?this.getLocalTransform(r):bg(r),e&&(t?ga(r,e,r):Gp(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},A.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(vn);var r=vn[0]<0?-1:1,n=vn[1]<0?-1:1,i=((vn[0]-r)*t+r)/vn[0]||0,a=((vn[1]-n)*t+n)/vn[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||nr(),vi(this.invTransform,e)},A.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},A.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=r,this.originX=0,this.originY=0}},A.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||nr(),ga(wi,e.invTransform,t),t=wi);var r=this.originX,n=this.originY;(r||n)&&(mc[4]=r,mc[5]=n,ga(wi,t,mc),wi[4]-=r,wi[5]-=n,t=wi),this.setLocalTransform(t)}},A.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},A.prototype.transformCoordToLocal=function(e,t){var r=[e,t],n=this.invTransform;return n&&tA(r,r,n),r},A.prototype.transformCoordToGlobal=function(e,t){var r=[e,t],n=this.transform;return n&&tA(r,r,n),r},A.prototype.getLineScale=function(){var e=this.transform;return e&&yc(e[0]-1)>1e-10&&yc(e[3]-1)>1e-10?Math.sqrt(yc(e[0]*e[3]-e[2]*e[1])):1},A.prototype.copyTransform=function(e){wc(this,e)},A.getLocalTransform=function(e,t){t=t||[];var r=e.originX||0,n=e.originY||0,i=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,f=e.y,c=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(r||n||o||s){var v=r+o,d=n+s;t[4]=-v*i-c*d*a,t[5]=-d*a-h*v*i}else t[4]=t[5]=0;return t[0]=i,t[3]=a,t[1]=h*i,t[2]=c*a,l&&Wf(t,t,l),t[4]+=r+u,t[5]+=n+f,t},A.initDefaultProps=(function(){var e=A.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0})(),A})(),Ea=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function wc(A,e){for(var t=0;t<Ea.length;t++){var r=Ea[t];A[r]=e[r]}}function OA(A){Fs||(Fs=new Bi(100)),A=A||wr;var e=Fs.get(A);return e||(e={font:A,strWidthCache:new Bi(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:rr.measureText("国",A).width,asciiCharWidth:rr.measureText("a",A).width},Fs.put(A,e)),e}var Fs;function BF(A){if(!(Cc>=Ug)){A=A||wr;for(var e=[],t=+new Date,r=0;r<=127;r++)e[r]=rr.measureText(String.fromCharCode(r),A).width;var n=+new Date-t;return n>16?Cc=Ug:n>2&&Cc++,e}}var Cc=0,Ug=5;function Ig(A,e){return A.asciiWidthMapTried||(A.asciiWidthMap=BF(A.font),A.asciiWidthMapTried=!0),0<=e&&e<=127?A.asciiWidthMap!=null?A.asciiWidthMap[e]:A.asciiCharWidth:A.stWideCharWidth}function RA(A,e){var t=A.strWidthCache,r=t.get(e);return r==null&&(r=rr.measureText(e,A.font).width,t.put(e,r)),r}function Tg(A,e,t,r){var n=RA(OA(e),A),i=Es(e),a=Ci(0,n,t),o=dn(0,i,r),s=new Fe(a,o,n,i);return s}function Dg(A,e,t,r){var n=((A||"")+"").split(`
15
- `),i=n.length;if(i===1)return Tg(n[0],e,t,r);for(var a=new Fe(0,0,0,0),o=0;o<n.length;o++){var s=Tg(n[o],e,t,r);o===0?a.copy(s):a.union(s)}return a}function Ci(A,e,t,r){return t==="right"?r?A+=e:A-=e:t==="center"&&(r?A+=e/2:A-=e/2),A}function dn(A,e,t,r){return t==="middle"?r?A+=e/2:A-=e/2:t==="bottom"&&(r?A+=e:A-=e),A}function Es(A){return OA(A).stWideCharWidth}function Fr(A,e){return typeof A=="string"?A.lastIndexOf("%")>=0?parseFloat(A)/100*e:parseFloat(A):A}function bs(A,e,t){var r=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,a=t.width,o=i/2,s=t.x,l=t.y,u="left",f="top";if(r instanceof Array)s+=Fr(r[0],t.width),l+=Fr(r[1],t.height),u=null,f=null;else switch(r){case"left":s-=n,l+=o,u="right",f="middle";break;case"right":s+=n+a,l+=o,f="middle";break;case"top":s+=a/2,l-=n,u="center",f="bottom";break;case"bottom":s+=a/2,l+=i+n,u="center";break;case"inside":s+=a/2,l+=o,u="center",f="middle";break;case"insideLeft":s+=n,l+=o,f="middle";break;case"insideRight":s+=a-n,l+=o,u="right",f="middle";break;case"insideTop":s+=a/2,l+=n,u="center";break;case"insideBottom":s+=a/2,l+=i-n,u="center",f="bottom";break;case"insideTopLeft":s+=n,l+=n;break;case"insideTopRight":s+=a-n,l+=n,u="right";break;case"insideBottomLeft":s+=n,l+=i-n,f="bottom";break;case"insideBottomRight":s+=a-n,l+=i-n,u="right",f="bottom";break}return A=A||{},A.x=s,A.y=l,A.align=u,A.verticalAlign=f,A}var _c="__zr_normal__",Qc=Ea.concat(["ignore"]),mF=ni(Ea,function(A,e){return A[e]=!0,A},{ignore:!1}),_i={},yF=new Fe(0,0,0,0),Ss=[],Us=(function(){function A(e){this.id=Dp(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return A.prototype._init=function(e){this.attr(e)},A.prototype.drift=function(e,t,r){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},A.prototype.beforeUpdate=function(){},A.prototype.afterUpdate=function(){},A.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},A.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=t.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=n?this:null;var l=!1;i.copyTransform(t);var u=r.position!=null,f=r.autoOverflowArea,c=void 0;if((f||u)&&(c=yF,r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),n||c.applyTransform(this.transform)),u){this.calculateTextPosition?this.calculateTextPosition(_i,r,c):bs(_i,r,c),i.x=_i.x,i.y=_i.y,a=_i.align,o=_i.verticalAlign;var h=r.origin;if(h&&r.rotation!=null){var v=void 0,d=void 0;h==="center"?(v=c.width*.5,d=c.height*.5):(v=Fr(h[0],c.width),d=Fr(h[1],c.height)),l=!0,i.originX=-i.x+v+(n?0:c.x),i.originY=-i.y+d+(n?0:c.y)}}r.rotation!=null&&(i.rotation=r.rotation);var g=r.offset;g&&(i.x+=g[0],i.y+=g[1],l||(i.originX=-g[0],i.originY=-g[1]));var p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var B=p.overflowRect=p.overflowRect||new Fe(0,0,0,0);i.getLocalTransform(Ss),vi(Ss,Ss),Fe.copy(B,c),B.applyTransform(Ss)}else p.overflowRect=null;var m=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,y=void 0,_=void 0,C=void 0;m&&this.canBeInsideText()?(y=r.insideFill,_=r.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(y),C=!0)):(y=r.outsideFill,_=r.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(y),C=!0)),y=y||"#000",(y!==p.fill||_!==p.stroke||C!==p.autoStroke||a!==p.align||o!==p.verticalAlign)&&(s=!0,p.fill=y,p.stroke=_,p.autoStroke=C,p.align=a,p.verticalAlign=o,t.setDefaultTextStyle(p)),t.__dirty|=Zt,s&&t.dirtyStyle(!0)}},A.prototype.canBeInsideText=function(){return!0},A.prototype.getInsideTextFill=function(){return"#fff"},A.prototype.getInsideTextStroke=function(e){return"#000"},A.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Bc:gc},A.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),r=typeof t=="string"&&HA(t);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*n+(i?0:255)*(1-n);return r[3]=1,Qa(r,"rgba")},A.prototype.traverse=function(e,t){},A.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},Y(this.extra,t)):this[e]=t},A.prototype.hide=function(){this.ignore=!0,this.markRedraw()},A.prototype.show=function(){this.ignore=!1,this.markRedraw()},A.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(he(e))for(var r=e,n=Xe(r),i=0;i<n.length;i++){var a=n[i];this.attrKV(a,e[a])}return this.markRedraw(),this},A.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==_c)){var a=n.targetName,o=a?t[a]:t;n.saveTo(o)}}},A.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,Qc)},A.prototype._savePrimaryToNormal=function(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];e[i]!=null&&!(i in t)&&(t[i]=this[i])}},A.prototype.hasState=function(){return this.currentStates.length>0},A.prototype.getState=function(e){return this.states[e]},A.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},A.prototype.clearStates=function(e){this.useState(_c,!1,e)},A.prototype.useState=function(e,t,r,n){var i=e===_c,a=this.hasState();if(!(!a&&i)){var o=this.currentStates,s=this.stateTransition;if(!(Te(o,e)>=0&&(t||o.length===1))){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),!l&&!i){an("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,t,!r&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,c=this._textGuide;return f&&f.useState(e,t,r,u),c&&c.useState(e,t,r,u),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt),l}}},A.prototype.useStates=function(e,t,r){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,a=e.length,o=a===i.length;if(o){for(var s=0;s<a;s++)if(e[s]!==i[s]){o=!1;break}}if(o)return;for(var s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&n.push(u)}var f=n[a-1],c=!!(f&&f.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),v=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&v&&v.duration>0,v);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,c),g&&g.useStates(e,t,c),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt)}},A.prototype.isSilent=function(){for(var e=this;e;){if(e.silent)return!0;var t=e.__hostTarget;e=t?e.ignoreHostSilent?null:t:e.parent}return!1},A.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},A.prototype.removeState=function(e){var t=Te(this.currentStates,e);if(t>=0){var r=this.currentStates.slice();r.splice(t,1),this.useStates(r)}},A.prototype.replaceState=function(e,t,r){var n=this.currentStates.slice(),i=Te(n,e),a=Te(n,t)>=0;i>=0?a?n.splice(i,1):n[i]=t:r&&!a&&n.push(t),this.useStates(n)},A.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},A.prototype._mergeStates=function(e){for(var t={},r,n=0;n<e.length;n++){var i=e[n];Y(t,i),i.textConfig&&(r=r||{},Y(r,i.textConfig))}return r&&(t.textConfig=r),t},A.prototype._applyStateObj=function(e,t,r,n,i,a){var o=!(t&&n);t&&t.textConfig?(this.textConfig=Y({},n?this.textConfig:r.textConfig),Y(this.textConfig,t.textConfig)):o&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},l=!1,u=0;u<Qc.length;u++){var f=Qc[u],c=i&&mF[f];t&&t[f]!=null?c?(l=!0,s[f]=t[f]):this[f]=t[f]:o&&r[f]!=null&&(c?(l=!0,s[f]=r[f]):this[f]=r[f])}if(!i)for(var u=0;u<this.animators.length;u++){var h=this.animators[u],v=h.targetName;h.getLoop()||h.__changeFinalValue(v?(t||r)[v]:t||r)}l&&this._transitionState(e,s,a)},A.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this},A.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},A.prototype.getClipPath=function(){return this._clipPath},A.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},A.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},A.prototype.getTextContent=function(){return this._textContent},A.prototype.setTextContent=function(e){var t=this._textContent;if(t!==e){if(t&&t!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new xs,this._attachComponent(e),this._textContent=e,this.markRedraw()}},A.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Y(this.textConfig,e),this.markRedraw()},A.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},A.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},A.prototype.getTextGuideLine=function(){return this._textGuide},A.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},A.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},A.prototype.markRedraw=function(){this.__dirty|=Zt;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},A.prototype.dirty=function(){this.markRedraw()},A.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,r=this._textGuide;t&&(t.__inHover=e),r&&(r.__inHover=e)},A.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.addAnimator(t[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},A.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.removeAnimator(t[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},A.prototype.animate=function(e,t,r){var n=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!n){an('Property "'+e+'" is not existed in element '+this.id);return}var i=new lc(n,t,r);return e&&(i.targetName=e),this.addAnimator(i,e),i},A.prototype.addAnimator=function(e,t){var r=this.__zr,n=this;e.during(function(){n.updateDuringAnimation(t)}).done(function(){var i=n.animators,a=Te(i,e);a>=0&&i.splice(a,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},A.prototype.updateDuringAnimation=function(e){this.markRedraw()},A.prototype.stopAnimation=function(e,t){for(var r=this.animators,n=r.length,i=[],a=0;a<n;a++){var o=r[a];!e||e===o.scope?o.stop(t):i.push(o)}return this.animators=i,this},A.prototype.animateTo=function(e,t,r){xc(this,e,t,r)},A.prototype.animateFrom=function(e,t,r){xc(this,e,t,r,!0)},A.prototype._transitionState=function(e,t,r,n){for(var i=xc(this,t,r,n),a=0;a<i.length;a++)i[a].__fromStateTransition=e},A.prototype.getBoundingRect=function(){return null},A.prototype.getPaintRect=function(){return null},A.initDefaultProps=(function(){var e=A.prototype;e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Zt;var t={};function r(i,a,o){t[i+a+o]||(console.warn("DEPRECATED: '"+i+"' has been deprecated. use '"+a+"', '"+o+"' instead"),t[i+a+o]=!0)}function n(i,a,o,s){Object.defineProperty(e,i,{get:function(){if(process.env.NODE_ENV!=="production"&&r(i,o,s),!this[a]){var u=this[a]=[];l(this,u)}return this[a]},set:function(u){process.env.NODE_ENV!=="production"&&r(i,o,s),this[o]=u[0],this[s]=u[1],this[a]=u,l(this,u)}});function l(u,f){Object.defineProperty(f,0,{get:function(){return u[o]},set:function(c){u[o]=c}}),Object.defineProperty(f,1,{get:function(){return u[s]},set:function(c){u[s]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))})(),A})();DA(Us,yA),DA(Us,xs);function xc(A,e,t,r,n){t=t||{};var i=[];Lg(A,"",A,e,t,r,i,n);var a=i.length,o=!1,s=t.done,l=t.aborted,u=function(){o=!0,a--,a<=0&&(o?s&&s():l&&l())},f=function(){a--,a<=0&&(o?s&&s():l&&l())};a||s&&s(),i.length>0&&t.during&&i[0].during(function(v,d){t.during(d)});for(var c=0;c<i.length;c++){var h=i[c];u&&h.done(u),f&&h.aborted(f),t.force&&h.duration(t.duration),h.start(t.easing)}return i}function Fc(A,e,t){for(var r=0;r<t;r++)A[r]=e[r]}function wF(A){return kt(A[0])}function CF(A,e,t){if(kt(e[t]))if(kt(A[t])||(A[t]=[]),Tt(e[t])){var r=e[t].length;A[t].length!==r&&(A[t]=new e[t].constructor(r),Fc(A[t],e[t],r))}else{var n=e[t],i=A[t],a=n.length;if(wF(n))for(var o=n[0].length,s=0;s<a;s++)i[s]?Fc(i[s],n[s],o):i[s]=Array.prototype.slice.call(n[s]);else Fc(i,n,a);i.length=n.length}else A[t]=e[t]}function _F(A,e){return A===e||kt(A)&&kt(e)&&QF(A,e)}function QF(A,e){var t=A.length;if(t!==e.length)return!1;for(var r=0;r<t;r++)if(A[r]!==e[r])return!1;return!0}function Lg(A,e,t,r,n,i,a,o){for(var s=Xe(r),l=n.duration,u=n.delay,f=n.additive,c=n.setToFinal,h=!he(i),v=A.animators,d=[],g=0;g<s.length;g++){var p=s[g],B=r[p];if(B!=null&&t[p]!=null&&(h||i[p]))if(he(B)&&!kt(B)&&!rs(B)){if(e){o||(t[p]=B,A.updateDuringAnimation(e));continue}Lg(A,p,t[p],B,n,i&&i[p],a,o)}else d.push(p);else o||(t[p]=B,A.updateDuringAnimation(e),d.push(p))}var m=d.length;if(!f&&m)for(var y=0;y<v.length;y++){var _=v[y];if(_.targetName===e){var C=_.stopTracks(d);if(C){var Q=Te(v,_);v.splice(Q,1)}}}if(n.force||(d=rt(d,function(E){return!_F(r[E],t[E])}),m=d.length),m>0||n.force&&!a.length){var x=void 0,F=void 0,S=void 0;if(o){F={},c&&(x={});for(var y=0;y<m;y++){var p=d[y];F[p]=t[p],c?x[p]=r[p]:t[p]=r[p]}}else if(c){S={};for(var y=0;y<m;y++){var p=d[y];S[p]=Bs(t[p]),CF(t,r,p)}}var _=new lc(t,!1,!1,f?rt(v,function(I){return I.targetName===e}):null);_.targetName=e,n.scope&&(_.scope=n.scope),c&&x&&_.whenWithKeys(0,x,d),S&&_.whenWithKeys(0,S,d),_.whenWithKeys(l??500,o?F:r,d).delay(u||0),A.addAnimator(_,e),a.push(_)}}var lt=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(t),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var r=this._children,n=0;n<r.length;n++)if(r[n].name===t)return r[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),process.env.NODE_ENV!=="production"&&t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,r){if(t&&t!==this&&t.parent!==this&&r&&r.parent===this){var n=this._children,i=n.indexOf(r);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,r){var n=Te(this._children,t);return n>=0&&this.replaceAt(r,n),this},e.prototype.replaceAt=function(t,r){var n=this._children,i=n[r];if(t&&t!==this&&t.parent!==this&&t!==i){n[r]=t,i.parent=null;var a=this.__zr;a&&i.removeSelfFromZr(a),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var r=this.__zr;r&&r!==t.__zr&&t.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(t){var r=this.__zr,n=this._children,i=Te(n,t);return i<0?this:(n.splice(i,1),t.parent=null,r&&t.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,r=this.__zr,n=0;n<t.length;n++){var i=t[n];r&&i.removeSelfFromZr(r),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,r){for(var n=this._children,i=0;i<n.length;i++){var a=n[i];t.call(r,a,i)}return this},e.prototype.traverse=function(t,r){for(var n=0;n<this._children.length;n++){var i=this._children[n],a=t.call(r,i);i.isGroup&&!a&&i.traverse(t,r)}return this},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.removeSelfFromZr(t)}},e.prototype.getBoundingRect=function(t){for(var r=new Fe(0,0,0,0),n=t||this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o];if(!(s.ignore||s.invisible)){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(Fe.applyTransform(r,l,u),a=a||r.clone(),a.union(r)):(a=a||l.clone(),a.union(l))}}return a||r},e})(Us);lt.prototype.type="group";/*!
14
+ ***************************************************************************** */var xf=function(A,e){return xf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},xf(A,e)};function J(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");xf(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var G1=(function(){function A(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return A})(),z1=(function(){function A(){this.browser=new G1,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 A})(),_e=new z1;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(_e.wxa=!0,_e.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?_e.worker=!0:!_e.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(_e.node=!0,_e.svgSupported=!0):W1(navigator.userAgent,_e);function W1(A,e){var t=e.browser,r=A.match(/Firefox\/([\d.]+)/),n=A.match(/MSIE\s([\d.]+)/)||A.match(/Trident\/.+?rv:(([\d.]+))/),i=A.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(A);r&&(t.firefox=!0,t.version=r[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),a&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11);var o=e.domSupported=typeof document<"u";if(o){var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}}var Ff=12,Y1="sans-serif",wr=Ff+"px "+Y1,X1=20,Z1=100,J1="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function q1(A){var e={};if(typeof JSON>"u")return e;for(var t=0;t<A.length;t++){var r=String.fromCharCode(t+32),n=(A.charCodeAt(t)-X1)/Z1;e[r]=n}return e}var $1=q1(J1),rr={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var A,e;return function(t,r){if(!A){var n=rr.createCanvas();A=n&&n.getContext("2d")}if(A)return e!==r&&(e=A.font=r||wr),A.measureText(t);t=t||"",r=r||wr;var i=/((?:\d+)?\.?\d*)px/.exec(r),a=i&&+i[1]||Ff,o=0;if(r.indexOf("mono")>=0)o=a*t.length;else for(var s=0;s<t.length;s++){var l=$1[t[s]];o+=l==null?a:l*a}return{width:o}}})(),loadImage:function(A,e,t){var r=new Image;return r.onload=e,r.onerror=t,r.src=A,r}},Up=ri(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(A,e){return A["[object "+e+"]"]=!0,A},{}),Ip=ri(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(A,e){return A["[object "+e+"Array]"]=!0,A},{}),Ai=Object.prototype.toString,jo=Array.prototype,j1=jo.forEach,ex=jo.filter,Ef=jo.slice,tx=jo.map,Tp=(function(){}).constructor,es=Tp?Tp.prototype:null,bf="__proto__",Ax=2311;function Dp(){return Ax++}function an(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];typeof console<"u"&&console.error.apply(console,A)}function Ue(A){if(A==null||typeof A!="object")return A;var e=A,t=Ai.call(A);if(t==="[object Array]"){if(!da(A)){e=[];for(var r=0,n=A.length;r<n;r++)e[r]=Ue(A[r])}}else if(Ip[t]){if(!da(A)){var i=A.constructor;if(i.from)e=i.from(A);else{e=new i(A.length);for(var r=0,n=A.length;r<n;r++)e[r]=A[r]}}}else if(!Up[t]&&!da(A)&&!ni(A)){e={};for(var a in A)A.hasOwnProperty(a)&&a!==bf&&(e[a]=Ue(A[a]))}return e}function Oe(A,e,t){if(!he(e)||!he(A))return t?Ue(e):A;for(var r in e)if(e.hasOwnProperty(r)&&r!==bf){var n=A[r],i=e[r];he(i)&&he(n)&&!ae(i)&&!ae(n)&&!ni(i)&&!ni(n)&&!Lp(i)&&!Lp(n)&&!da(i)&&!da(n)?Oe(n,i,t):(t||!(r in A))&&(A[r]=Ue(e[r]))}return A}function Y(A,e){if(Object.assign)Object.assign(A,e);else for(var t in e)e.hasOwnProperty(t)&&t!==bf&&(A[t]=e[t]);return A}function Ne(A,e,t){for(var r=Xe(e),n=0,i=r.length;n<i;n++){var a=r[n];A[a]==null&&(A[a]=e[a])}return A}function Te(A,e){if(A){if(A.indexOf)return A.indexOf(e);for(var t=0,r=A.length;t<r;t++)if(A[t]===e)return t}return-1}function rx(A,e){var t=A.prototype;function r(){}r.prototype=e.prototype,A.prototype=new r;for(var n in t)t.hasOwnProperty(n)&&(A.prototype[n]=t[n]);A.prototype.constructor=A,A.superClass=e}function DA(A,e,t){if(A="prototype"in A?A.prototype:A,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var i=r[n];i!=="constructor"&&A[i]==null&&(A[i]=e[i])}else Ne(A,e)}function kt(A){return!A||typeof A=="string"?!1:typeof A.length=="number"}function b(A,e,t){if(A&&e)if(A.forEach&&A.forEach===j1)A.forEach(e,t);else if(A.length===+A.length)for(var r=0,n=A.length;r<n;r++)e.call(t,A[r],r,A);else for(var i in A)A.hasOwnProperty(i)&&e.call(t,A[i],i,A)}function Be(A,e,t){if(!A)return[];if(!e)return Sf(A);if(A.map&&A.map===tx)return A.map(e,t);for(var r=[],n=0,i=A.length;n<i;n++)r.push(e.call(t,A[n],n,A));return r}function ri(A,e,t,r){if(A&&e){for(var n=0,i=A.length;n<i;n++)t=e.call(r,t,A[n],n,A);return t}}function rt(A,e,t){if(!A)return[];if(!e)return Sf(A);if(A.filter&&A.filter===ex)return A.filter(e,t);for(var r=[],n=0,i=A.length;n<i;n++)e.call(t,A[n],n,A)&&r.push(A[n]);return r}function nx(A,e,t){if(A&&e){for(var r=0,n=A.length;r<n;r++)if(e.call(t,A[r],r,A))return A[r]}}function Xe(A){if(!A)return[];if(Object.keys)return Object.keys(A);var e=[];for(var t in A)A.hasOwnProperty(t)&&e.push(t);return e}function ix(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return function(){return A.apply(e,t.concat(Ef.call(arguments)))}}var ye=es&&me(es.bind)?es.call.bind(es.bind):ix;function nt(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return A.apply(this,e.concat(Ef.call(arguments)))}}function ae(A){return Array.isArray?Array.isArray(A):Ai.call(A)==="[object Array]"}function me(A){return typeof A=="function"}function le(A){return typeof A=="string"}function ts(A){return Ai.call(A)==="[object String]"}function Ye(A){return typeof A=="number"}function he(A){var e=typeof A;return e==="function"||!!A&&e==="object"}function Lp(A){return!!Up[Ai.call(A)]}function Tt(A){return!!Ip[Ai.call(A)]}function ni(A){return typeof A=="object"&&typeof A.nodeType=="number"&&typeof A.ownerDocument=="object"}function As(A){return A.colorStops!=null}function ax(A){return A.image!=null}function ox(A){return Ai.call(A)==="[object RegExp]"}function ii(A){return A!==A}function ai(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];for(var t=0,r=A.length;t<r;t++)if(A[t]!=null)return A[t]}function ve(A,e){return A??e}function Cr(A,e,t){return A??e??t}function Sf(A){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return Ef.apply(A,e)}function Uf(A){if(typeof A=="number")return[A,A,A,A];var e=A.length;return e===2?[A[0],A[1],A[0],A[1]]:e===3?[A[0],A[1],A[2],A[1]]:A}function fe(A,e){if(!A)throw new Error(e)}function LA(A){return A==null?null:typeof A.trim=="function"?A.trim():A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Mp="__ec_primitive__";function If(A){A[Mp]=!0}function da(A){return A[Mp]}var sx=(function(){function A(){this.data={}}return A.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},A.prototype.has=function(e){return this.data.hasOwnProperty(e)},A.prototype.get=function(e){return this.data[e]},A.prototype.set=function(e,t){return this.data[e]=t,this},A.prototype.keys=function(){return Xe(this.data)},A.prototype.forEach=function(e){var t=this.data;for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)},A})(),Hp=typeof Map=="function";function lx(){return Hp?new Map:new sx}var ux=(function(){function A(e){var t=ae(e);this.data=lx();var r=this;e instanceof A?e.each(n):e&&b(e,n);function n(i,a){t?r.set(i,a):r.set(a,i)}}return A.prototype.hasKey=function(e){return this.data.has(e)},A.prototype.get=function(e){return this.data.get(e)},A.prototype.set=function(e,t){return this.data.set(e,t),t},A.prototype.each=function(e,t){this.data.forEach(function(r,n){e.call(t,r,n)})},A.prototype.keys=function(){var e=this.data.keys();return Hp?Array.from(e):e},A.prototype.removeKey=function(e){this.data.delete(e)},A})();function we(A){return new ux(A)}function fx(A,e){for(var t=new A.constructor(A.length+e.length),r=0;r<A.length;r++)t[r]=A[r];for(var n=A.length,r=0;r<e.length;r++)t[r+n]=e[r];return t}function rs(A,e){var t;if(Object.create)t=Object.create(A);else{var r=function(){};r.prototype=A,t=new r}return e&&Y(t,e),t}function Op(A){var e=A.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function yA(A,e){return A.hasOwnProperty(e)}function Dt(){}var cx=180/Math.PI;function oi(A,e){return A==null&&(A=0),e==null&&(e=0),[A,e]}function hx(A){return[A[0],A[1]]}function Rp(A,e,t){return A[0]=e[0]+t[0],A[1]=e[1]+t[1],A}function vx(A,e,t){return A[0]=e[0]-t[0],A[1]=e[1]-t[1],A}function dx(A){return Math.sqrt(px(A))}function px(A){return A[0]*A[0]+A[1]*A[1]}function Tf(A,e,t){return A[0]=e[0]*t,A[1]=e[1]*t,A}function gx(A,e){var t=dx(e);return t===0?(A[0]=0,A[1]=0):(A[0]=e[0]/t,A[1]=e[1]/t),A}function Df(A,e){return Math.sqrt((A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1]))}var Lf=Df;function Bx(A,e){return(A[0]-e[0])*(A[0]-e[0])+(A[1]-e[1])*(A[1]-e[1])}var si=Bx;function Mf(A,e,t,r){return A[0]=e[0]+r*(t[0]-e[0]),A[1]=e[1]+r*(t[1]-e[1]),A}function tA(A,e,t){var r=e[0],n=e[1];return A[0]=t[0]*r+t[2]*n+t[4],A[1]=t[1]*r+t[3]*n+t[5],A}function li(A,e,t){return A[0]=Math.min(e[0],t[0]),A[1]=Math.min(e[1],t[1]),A}function ui(A,e,t){return A[0]=Math.max(e[0],t[0]),A[1]=Math.max(e[1],t[1]),A}var fi=(function(){function A(e,t){this.target=e,this.topTarget=t&&t.topTarget}return A})(),mx=(function(){function A(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return A.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new fi(t,e),"dragstart",e.event))},A.prototype._drag=function(e){var t=this._draggingTarget;if(t){var r=e.offsetX,n=e.offsetY,i=r-this._x,a=n-this._y;this._x=r,this._y=n,t.drift(i,a,e),this.handler.dispatchToElement(new fi(t,e),"drag",e.event);var o=this.handler.findHover(r,n,t).target,s=this._dropTarget;this._dropTarget=o,t!==o&&(s&&o!==s&&this.handler.dispatchToElement(new fi(s,e),"dragleave",e.event),o&&o!==s&&this.handler.dispatchToElement(new fi(o,e),"dragenter",e.event))}},A.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new fi(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new fi(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},A})(),wA=(function(){function A(e){e&&(this._$eventProcessor=e)}return A.prototype.on=function(e,t,r,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=r,r=t,t=null),!r||!e)return this;var a=this._$eventProcessor;t!=null&&a&&a.normalizeQuery&&(t=a.normalizeQuery(t)),i[e]||(i[e]=[]);for(var o=0;o<i[e].length;o++)if(i[e][o].h===r)return this;var s={h:r,query:t,ctx:n||this,callAtLast:r.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},A.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},A.prototype.off=function(e,t){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(t){if(r[e]){for(var n=[],i=0,a=r[e].length;i<a;i++)r[e][i].h!==t&&n.push(r[e][i]);r[e]=n}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},A.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=n.length,s=0;s<o;s++){var l=n[s];if(!(i&&i.filter&&l.query!=null&&!i.filter(e,l.query)))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A.prototype.triggerWithContext=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(!this._$handlers)return this;var n=this._$handlers[e],i=this._$eventProcessor;if(n)for(var a=t.length,o=t[a-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(e,u.query)))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,t[0]);break;case 2:u.h.call(o,t[0],t[1]);break;default:u.h.apply(o,t.slice(1,a-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},A})(),yx=Math.log(2);function Hf(A,e,t,r,n,i){var a=r+"-"+n,o=A.length;if(i.hasOwnProperty(a))return i[a];if(e===1){var s=Math.round(Math.log((1<<o)-1&~n)/yx);return A[t][s]}for(var l=r|1<<t,u=t+1;r&1<<u;)u++;for(var f=0,c=0,h=0;c<o;c++){var v=1<<c;v&n||(f+=(h%2?-1:1)*A[t][c]*Hf(A,e-1,u,l,n|v,i),h++)}return i[a]=f,f}function Np(A,e){var t=[[A[0],A[1],1,0,0,0,-e[0]*A[0],-e[0]*A[1]],[0,0,0,A[0],A[1],1,-e[1]*A[0],-e[1]*A[1]],[A[2],A[3],1,0,0,0,-e[2]*A[2],-e[2]*A[3]],[0,0,0,A[2],A[3],1,-e[3]*A[2],-e[3]*A[3]],[A[4],A[5],1,0,0,0,-e[4]*A[4],-e[4]*A[5]],[0,0,0,A[4],A[5],1,-e[5]*A[4],-e[5]*A[5]],[A[6],A[7],1,0,0,0,-e[6]*A[6],-e[6]*A[7]],[0,0,0,A[6],A[7],1,-e[7]*A[6],-e[7]*A[7]]],r={},n=Hf(t,8,0,0,0,r);if(n!==0){for(var i=[],a=0;a<8;a++)for(var o=0;o<8;o++)i[o]==null&&(i[o]=0),i[o]+=((a+o)%2?-1:1)*Hf(t,7,a===0?1:0,1<<a,1<<o,r)/n*e[a];return function(s,l,u){var f=l*i[6]+u*i[7]+1;s[0]=(l*i[0]+u*i[1]+i[2])/f,s[1]=(l*i[3]+u*i[4]+i[5])/f}}}var ns="___zrEVENTSAVED",Of=[];function Cx(A,e,t,r,n){return Rf(Of,e,r,n,!0)&&Rf(A,t,Of[0],Of[1])}function _x(A,e){A&&t(A),e&&t(e);function t(r){var n=r[ns];n&&(n.clearMarkers&&n.clearMarkers(),delete r[ns])}}function Rf(A,e,t,r,n){if(e.getBoundingClientRect&&_e.domSupported&&!Pp(e)){var i=e[ns]||(e[ns]={}),a=Qx(e,i),o=xx(a,i,n);if(o)return o(A,t,r),!0}return!1}function Qx(A,e){var t=e.markers;if(t)return t;t=e.markers=[];for(var r=["left","right"],n=["top","bottom"],i=0;i<4;i++){var a=document.createElement("div"),o=a.style,s=i%2,l=(i>>1)%2;o.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",n[l]+":0",r[1-s]+":auto",n[1-l]+":auto",""].join("!important;"),A.appendChild(a),t.push(a)}return e.clearMarkers=function(){b(t,function(u){u.parentNode&&u.parentNode.removeChild(u)})},t}function xx(A,e,t){for(var r=t?"invTrans":"trans",n=e[r],i=e.srcCoords,a=[],o=[],s=!0,l=0;l<4;l++){var u=A[l].getBoundingClientRect(),f=2*l,c=u.left,h=u.top;a.push(c,h),s=s&&i&&c===i[f]&&h===i[f+1],o.push(A[l].offsetLeft,A[l].offsetTop)}return s&&n?n:(e.srcCoords=a,e[r]=t?Np(o,a):Np(a,o))}function Pp(A){return A.nodeName.toUpperCase()==="CANVAS"}var Fx=/([&<>"'])/g,Ex={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Vt(A){return A==null?"":(A+"").replace(Fx,function(e,t){return Ex[t]})}var bx=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Nf=[],Sx=_e.browser.firefox&&+_e.browser.version.split(".")[0]<39;function Pf(A,e,t,r){return t=t||{},r?kp(A,e,t):Sx&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):kp(A,e,t),t}function kp(A,e,t){if(_e.domSupported&&A.getBoundingClientRect){var r=e.clientX,n=e.clientY;if(Pp(A)){var i=A.getBoundingClientRect();t.zrX=r-i.left,t.zrY=n-i.top;return}else if(Rf(Nf,A,r,n)){t.zrX=Nf[0],t.zrY=Nf[1];return}}t.zrX=t.zrY=0}function kf(A){return A||window.event}function AA(A,e,t){if(e=kf(e),e.zrX!=null)return e;var r=e.type,n=r&&r.indexOf("touch")>=0;if(n){var a=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];a&&Pf(A,a,e,t)}else{Pf(A,e,e,t);var i=Ux(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var o=e.button;return e.which==null&&o!==void 0&&bx.test(e.type)&&(e.which=o&1?1:o&2?3:o&4?2:0),e}function Ux(A){var e=A.wheelDelta;if(e)return e;var t=A.deltaX,r=A.deltaY;if(t==null||r==null)return e;var n=Math.abs(r!==0?r:t),i=r>0?-1:r<0?1:t>0?-1:1;return 3*n*i}function Ix(A,e,t,r){A.addEventListener(e,t,r)}function Tx(A,e,t,r){A.removeEventListener(e,t,r)}var ci=function(A){A.preventDefault(),A.stopPropagation(),A.cancelBubble=!0};function Vp(A){return A.which===2||A.which===3}var Dx=(function(){function A(){this._track=[]}return A.prototype.recognize=function(e,t,r){return this._doTrack(e,t,r),this._recognize(e)},A.prototype.clear=function(){return this._track.length=0,this},A.prototype._doTrack=function(e,t,r){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},a=0,o=n.length;a<o;a++){var s=n[a],l=Pf(r,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},A.prototype._recognize=function(e){for(var t in Vf)if(Vf.hasOwnProperty(t)){var r=Vf[t](this._track,e);if(r)return r}},A})();function Kp(A){var e=A[1][0]-A[0][0],t=A[1][1]-A[0][1];return Math.sqrt(e*e+t*t)}function Lx(A){return[(A[0][0]+A[1][0])/2,(A[0][1]+A[1][1])/2]}var Vf={pinch:function(A,e){var t=A.length;if(t){var r=(A[t-1]||{}).points,n=(A[t-2]||{}).points||r;if(n&&n.length>1&&r&&r.length>1){var i=Kp(r)/Kp(n);!isFinite(i)&&(i=1),e.pinchScale=i;var a=Lx(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:A[0].target,event:e}}}}};function nr(){return[1,0,0,1,0,0]}function Kf(A){return A[0]=1,A[1]=0,A[2]=0,A[3]=1,A[4]=0,A[5]=0,A}function Gp(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4],A[5]=e[5],A}function pa(A,e,t){var r=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],a=e[1]*t[2]+e[3]*t[3],o=e[0]*t[4]+e[2]*t[5]+e[4],s=e[1]*t[4]+e[3]*t[5]+e[5];return A[0]=r,A[1]=n,A[2]=i,A[3]=a,A[4]=o,A[5]=s,A}function Gf(A,e,t){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A[4]=e[4]+t[0],A[5]=e[5]+t[1],A}function zf(A,e,t,r){r===void 0&&(r=[0,0]);var n=e[0],i=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return A[0]=n*f+o*u,A[1]=-n*u+o*f,A[2]=i*f+s*u,A[3]=-i*u+f*s,A[4]=f*(a-r[0])+u*(l-r[1])+r[0],A[5]=f*(l-r[1])-u*(a-r[0])+r[1],A}function Mx(A,e,t){var r=t[0],n=t[1];return A[0]=e[0]*r,A[1]=e[1]*n,A[2]=e[2]*r,A[3]=e[3]*n,A[4]=e[4]*r,A[5]=e[5]*n,A}function hi(A,e){var t=e[0],r=e[2],n=e[4],i=e[1],a=e[3],o=e[5],s=t*a-i*r;return s?(s=1/s,A[0]=a*s,A[1]=-i*s,A[2]=-r*s,A[3]=t*s,A[4]=(r*o-a*n)*s,A[5]=(i*n-t*o)*s,A):null}var be=(function(){function A(e,t){this.x=e||0,this.y=t||0}return A.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},A.prototype.clone=function(){return new A(this.x,this.y)},A.prototype.set=function(e,t){return this.x=e,this.y=t,this},A.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},A.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},A.prototype.scale=function(e){this.x*=e,this.y*=e},A.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},A.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},A.prototype.dot=function(e){return this.x*e.x+this.y*e.y},A.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},A.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},A.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},A.prototype.distance=function(e){var t=this.x-e.x,r=this.y-e.y;return Math.sqrt(t*t+r*r)},A.prototype.distanceSquare=function(e){var t=this.x-e.x,r=this.y-e.y;return t*t+r*r},A.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},A.prototype.transform=function(e){if(e){var t=this.x,r=this.y;return this.x=e[0]*t+e[2]*r+e[4],this.y=e[1]*t+e[3]*r+e[5],this}},A.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},A.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},A.set=function(e,t,r){e.x=t,e.y=r},A.copy=function(e,t){e.x=t.x,e.y=t.y},A.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},A.lenSquare=function(e){return e.x*e.x+e.y*e.y},A.dot=function(e,t){return e.x*t.x+e.y*t.y},A.add=function(e,t,r){e.x=t.x+r.x,e.y=t.y+r.y},A.sub=function(e,t,r){e.x=t.x-r.x,e.y=t.y-r.y},A.scale=function(e,t,r){e.x=t.x*r,e.y=t.y*r},A.scaleAndAdd=function(e,t,r,n){e.x=t.x+r.x*n,e.y=t.y+r.y*n},A.lerp=function(e,t,r,n){var i=1-n;e.x=i*t.x+n*r.x,e.y=i*t.y+n*r.y},A})(),on=Math.min,vi=Math.max,Wf=Math.abs,zp=["x","y"],Hx=["width","height"],sn=new be,ln=new be,un=new be,fn=new be,Xt=Yp(),ga=Xt.minTv,Yf=Xt.maxTv,Ba=[0,0],Fe=(function(){function A(e,t,r,n){A.set(this,e,t,r,n)}return A.set=function(e,t,r,n,i){return n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),e.x=t,e.y=r,e.width=n,e.height=i,e},A.prototype.union=function(e){var t=on(e.x,this.x),r=on(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=vi(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=vi(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=t,this.y=r},A.prototype.applyTransform=function(e){A.applyTransform(this,this,e)},A.prototype.calculateTransform=function(e){var t=this,r=e.width/t.width,n=e.height/t.height,i=nr();return Gf(i,i,[-t.x,-t.y]),Mx(i,i,[r,n]),Gf(i,i,[e.x,e.y]),i},A.prototype.intersect=function(e,t,r){return A.intersect(this,e,t,r)},A.intersect=function(e,t,r,n){r&&be.set(r,0,0);var i=n&&n.outIntersectRect||null,a=n&&n.clamp;if(i&&(i.x=i.y=i.width=i.height=NaN),!e||!t)return!1;e instanceof A||(e=A.set(Ox,e.x,e.y,e.width,e.height)),t instanceof A||(t=A.set(Rx,t.x,t.y,t.width,t.height));var o=!!r;Xt.reset(n,o);var s=Xt.touchThreshold,l=e.x+s,u=e.x+e.width-s,f=e.y+s,c=e.y+e.height-s,h=t.x+s,v=t.x+t.width-s,d=t.y+s,g=t.y+t.height-s;if(l>u||f>c||h>v||d>g)return!1;var p=!(u<h||v<l||c<d||g<f);return(o||i)&&(Ba[0]=1/0,Ba[1]=0,Wp(l,u,h,v,0,o,i,a),Wp(f,c,d,g,1,o,i,a),o&&be.copy(r,p?Xt.useDir?Xt.dirMinTv:ga:Yf)),p},A.contain=function(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height},A.prototype.contain=function(e,t){return A.contain(this,e,t)},A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height)},A.prototype.copy=function(e){A.copy(this,e)},A.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},A.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},A.prototype.isZero=function(){return this.width===0||this.height===0},A.create=function(e){return new A(e.x,e.y,e.width,e.height)},A.copy=function(e,t){return e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e},A.applyTransform=function(e,t,r){if(!r){e!==t&&A.copy(e,t);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var n=r[0],i=r[3],a=r[4],o=r[5];e.x=t.x*n+a,e.y=t.y*i+o,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}sn.x=un.x=t.x,sn.y=fn.y=t.y,ln.x=fn.x=t.x+t.width,ln.y=un.y=t.y+t.height,sn.transform(r),fn.transform(r),ln.transform(r),un.transform(r),e.x=on(sn.x,ln.x,un.x,fn.x),e.y=on(sn.y,ln.y,un.y,fn.y);var s=vi(sn.x,ln.x,un.x,fn.x),l=vi(sn.y,ln.y,un.y,fn.y);e.width=s-e.x,e.height=l-e.y},A})(),Ox=new Fe(0,0,0,0),Rx=new Fe(0,0,0,0);function Wp(A,e,t,r,n,i,a,o){var s=Wf(e-t),l=Wf(r-A),u=on(s,l),f=zp[n],c=zp[1-n],h=Hx[n];e<t||r<A?s<l?(i&&(Yf[f]=-s),o&&(a[f]=e,a[h]=0)):(i&&(Yf[f]=l),o&&(a[f]=A,a[h]=0)):(a&&(a[f]=vi(A,t),a[h]=on(e,r)-a[f]),i&&(u<Ba[0]||Xt.useDir)&&(Ba[0]=on(u,Ba[0]),(s<l||!Xt.bidirectional)&&(ga[f]=s,ga[c]=0,Xt.useDir&&Xt.calcDirMTV()),(s>=l||!Xt.bidirectional)&&(ga[f]=-l,ga[c]=0,Xt.useDir&&Xt.calcDirMTV())))}function Yp(){var A=0,e=new be,t=new be,r={minTv:new be,maxTv:new be,useDir:!1,dirMinTv:new be,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,a){r.touchThreshold=0,i&&i.touchThreshold!=null&&(r.touchThreshold=vi(0,i.touchThreshold)),r.negativeSize=!1,a&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&i.direction!=null&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),t.copy(r.minTv),A=i.direction,r.bidirectional=i.bidirectional==null||!!i.bidirectional,r.bidirectional||e.set(Math.cos(A),Math.sin(A))))},calcDirMTV:function(){var i=r.minTv,a=r.dirMinTv,o=i.y*i.y+i.x*i.x,s=Math.sin(A),l=Math.cos(A),u=s*i.y+l*i.x;if(n(u)){n(i.x)&&n(i.y)&&a.set(0,0);return}if(t.x=o*l/u,t.y=o*s/u,n(t.x)&&n(t.y)){a.set(0,0);return}(r.bidirectional||e.dot(t)>0)&&t.len()<a.len()&&a.copy(t)}};function n(i){return Wf(i)<1e-10}return r}var Xp="silent";function Nx(A,e,t){return{type:A,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:Px}}function Px(){ci(this.event)}var kx=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e})(wA),ma=(function(){function A(e,t){this.x=e,this.y=t}return A})(),Vx=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Xf=new Fe(0,0,0,0),Zp=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this)||this;return o._hovered=new ma(0,0),o.storage=t,o.painter=r,o.painterRoot=i,o._pointerSize=a,n=n||new kx,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new mx(o),o}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(b(Vx,function(r){t.on&&t.on(r,this[r],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var r=t.zrX,n=t.zrY,i=qp(this,r,n),a=this._hovered,o=a.target;o&&!o.__zr&&(a=this.findHover(a.x,a.y),o=a.target);var s=this._hovered=i?new ma(r,n):this.findHover(r,n),l=s.target,u=this.proxy;u.setCursor&&u.setCursor(l?l.cursor:"default"),o&&l!==o&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(s,"mousemove",t),l&&l!==o&&this.dispatchToElement(s,"mouseover",t)},e.prototype.mouseout=function(t){var r=t.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ma(0,0)},e.prototype.dispatch=function(t,r){var n=this[t];n&&n.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var r=this.proxy;r.setCursor&&r.setCursor(t)},e.prototype.dispatchToElement=function(t,r,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var a="on"+r,o=Nx(r,t,n);i&&(i[a]&&(o.cancelBubble=!!i[a].call(i,o)),i.trigger(r,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(r,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,o),s.trigger&&s.trigger(r,o)}))}},e.prototype.findHover=function(t,r,n){var i=this.storage.getDisplayList(),a=new ma(t,r);if(Jp(i,a,t,r,n),this._pointerSize&&!a.target){for(var o=[],s=this._pointerSize,l=s/2,u=new Fe(t-l,r-l,s,s),f=i.length-1;f>=0;f--){var c=i[f];c!==n&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(Xf.copy(c.getBoundingRect()),c.transform&&Xf.applyTransform(c.transform),Xf.intersect(u)&&o.push(c))}if(o.length)for(var h=4,v=Math.PI/12,d=Math.PI*2,g=0;g<l;g+=h)for(var p=0;p<d;p+=v){var B=t+g*Math.cos(p),m=r+g*Math.sin(p);if(Jp(o,a,B,m,n),a.target)return a}}return a},e.prototype.processGesture=function(t,r){this._gestureMgr||(this._gestureMgr=new Dx);var n=this._gestureMgr;r==="start"&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if(r==="end"&&n.clear(),i){var a=i.type;t.gestureEvent=a;var o=new ma;o.target=i.target,this.dispatchToElement(o,a,i.event)}},e})(wA);b(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(A){Zp.prototype[A]=function(e){var t=e.zrX,r=e.zrY,n=qp(this,t,r),i,a;if((A!=="mouseup"||!n)&&(i=this.findHover(t,r),a=i.target),A==="mousedown")this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if(A==="mouseup")this._upEl=a;else if(A==="click"){if(this._downEl!==this._upEl||!this._downPoint||Lf(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,A,e)}});function Kx(A,e,t){if(A[A.rectHover?"rectContain":"contain"](e,t)){for(var r=A,n=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var a=r.getClipPath();if(a&&!a.contain(e,t))return!1}r.silent&&(n=!0);var o=r.__hostTarget;r=o?r.ignoreHostSilent?null:o:r.parent}return n?Xp:!0}return!1}function Jp(A,e,t,r,n){for(var i=A.length-1;i>=0;i--){var a=A[i],o=void 0;if(a!==n&&!a.ignore&&(o=Kx(a,t,r))&&(!e.topTarget&&(e.topTarget=a),o!==Xp)){e.target=a;break}}}function qp(A,e,t){var r=A.painter;return e<0||e>r.getWidth()||t<0||t>r.getHeight()}var $p=32,ya=7;function Gx(A){for(var e=0;A>=$p;)e|=A&1,A>>=1;return A+e}function jp(A,e,t,r){var n=e+1;if(n===t)return 1;if(r(A[n++],A[e])<0){for(;n<t&&r(A[n],A[n-1])<0;)n++;zx(A,e,n)}else for(;n<t&&r(A[n],A[n-1])>=0;)n++;return n-e}function zx(A,e,t){for(t--;e<t;){var r=A[e];A[e++]=A[t],A[t--]=r}}function eg(A,e,t,r,n){for(r===e&&r++;r<t;r++){for(var i=A[r],a=e,o=r,s;a<o;)s=a+o>>>1,n(i,A[s])<0?o=s:a=s+1;var l=r-a;switch(l){case 3:A[a+3]=A[a+2];case 2:A[a+2]=A[a+1];case 1:A[a+1]=A[a];break;default:for(;l>0;)A[a+l]=A[a+l-1],l--}A[a]=i}}function Zf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])>0){for(o=r-n;s<o&&i(A,e[t+n+s])>0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}else{for(o=n+1;s<o&&i(A,e[t+n-s])<=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])>0?a=u+1:s=u}return s}function Jf(A,e,t,r,n,i){var a=0,o=0,s=1;if(i(A,e[t+n])<0){for(o=n+1;s<o&&i(A,e[t+n-s])<0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o);var l=a;a=n-s,s=n-l}else{for(o=r-n;s<o&&i(A,e[t+n+s])>=0;)a=s,s=(s<<1)+1,s<=0&&(s=o);s>o&&(s=o),a+=n,s+=n}for(a++;a<s;){var u=a+(s-a>>>1);i(A,e[t+u])<0?s=u:a=u+1}return s}function Wx(A,e){var t=ya,r,n,i=0,a=[];r=[],n=[];function o(h,v){r[i]=h,n[i]=v,i+=1}function s(){for(;i>1;){var h=i-2;if(h>=1&&n[h-1]<=n[h]+n[h+1]||h>=2&&n[h-2]<=n[h]+n[h-1])n[h-1]<n[h+1]&&h--;else if(n[h]>n[h+1])break;u(h)}}function l(){for(;i>1;){var h=i-2;h>0&&n[h-1]<n[h+1]&&h--,u(h)}}function u(h){var v=r[h],d=n[h],g=r[h+1],p=n[h+1];n[h]=d+p,h===i-3&&(r[h+1]=r[h+2],n[h+1]=n[h+2]),i--;var B=Jf(A[g],A,v,d,0,e);v+=B,d-=B,d!==0&&(p=Zf(A[v+d-1],A,g,p,p-1,e),p!==0&&(d<=p?f(v,d,g,p):c(v,d,g,p)))}function f(h,v,d,g){var p=0;for(p=0;p<v;p++)a[p]=A[h+p];var B=0,m=d,y=h;if(A[y++]=A[m++],--g===0){for(p=0;p<v;p++)A[y+p]=a[B+p];return}if(v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B];return}for(var _=t,C,Q,x;;){C=0,Q=0,x=!1;do if(e(A[m],a[B])<0){if(A[y++]=A[m++],Q++,C=0,--g===0){x=!0;break}}else if(A[y++]=a[B++],C++,Q=0,--v===1){x=!0;break}while((C|Q)<_);if(x)break;do{if(C=Jf(A[m],a,B,v,0,e),C!==0){for(p=0;p<C;p++)A[y+p]=a[B+p];if(y+=C,B+=C,v-=C,v<=1){x=!0;break}}if(A[y++]=A[m++],--g===0){x=!0;break}if(Q=Zf(a[B],A,m,g,0,e),Q!==0){for(p=0;p<Q;p++)A[y+p]=A[m+p];if(y+=Q,m+=Q,g-=Q,g===0){x=!0;break}}if(A[y++]=a[B++],--v===1){x=!0;break}_--}while(C>=ya||Q>=ya);if(x)break;_<0&&(_=0),_+=2}if(t=_,t<1&&(t=1),v===1){for(p=0;p<g;p++)A[y+p]=A[m+p];A[y+g]=a[B]}else{if(v===0)throw new Error;for(p=0;p<v;p++)A[y+p]=a[B+p]}}function c(h,v,d,g){var p=0;for(p=0;p<g;p++)a[p]=A[d+p];var B=h+v-1,m=g-1,y=d+g-1,_=0,C=0;if(A[y--]=A[B--],--v===0){for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p];return}if(g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m];return}for(var Q=t;;){var x=0,F=0,S=!1;do if(e(a[m],A[B])<0){if(A[y--]=A[B--],x++,F=0,--v===0){S=!0;break}}else if(A[y--]=a[m--],F++,x=0,--g===1){S=!0;break}while((x|F)<Q);if(S)break;do{if(x=v-Jf(a[m],A,h,v,v-1,e),x!==0){for(y-=x,B-=x,v-=x,C=y+1,_=B+1,p=x-1;p>=0;p--)A[C+p]=A[_+p];if(v===0){S=!0;break}}if(A[y--]=a[m--],--g===1){S=!0;break}if(F=g-Zf(A[B],a,0,g,g-1,e),F!==0){for(y-=F,m-=F,g-=F,C=y+1,_=m+1,p=0;p<F;p++)A[C+p]=a[_+p];if(g<=1){S=!0;break}}if(A[y--]=A[B--],--v===0){S=!0;break}Q--}while(x>=ya||F>=ya);if(S)break;Q<0&&(Q=0),Q+=2}if(t=Q,t<1&&(t=1),g===1){for(y-=v,B-=v,C=y+1,_=B+1,p=v-1;p>=0;p--)A[C+p]=A[_+p];A[y]=a[m]}else{if(g===0)throw new Error;for(_=y-(g-1),p=0;p<g;p++)A[_+p]=a[p]}}return{mergeRuns:s,forceMergeRuns:l,pushRun:o}}function is(A,e,t,r){t||(t=0),r||(r=A.length);var n=r-t;if(!(n<2)){var i=0;if(n<$p){i=jp(A,t,r,e),eg(A,t,r,t+i,e);return}var a=Wx(A,e),o=Gx(n);do{if(i=jp(A,t,r,e),i<o){var s=n;s>o&&(s=o),eg(A,t,t+s,t+i,e),i=s}a.pushRun(t,i),a.mergeRuns(),n-=i,t+=i}while(n!==0);a.forceMergeRuns()}}var Zt=1,wa=2,di=4,tg=!1;function qf(){tg||(tg=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ag(A,e){return A.zlevel===e.zlevel?A.z===e.z?A.z2-e.z2:A.z-e.z:A.zlevel-e.zlevel}var Yx=(function(){function A(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ag}return A.prototype.traverse=function(e,t){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,t)},A.prototype.getDisplayList=function(e,t){t=t||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(t),r},A.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,r=this._displayList,n=0,i=t.length;n<i;n++)this._updateAndAddDisplayable(t[n],null,e);r.length=this._displayListLen,is(r,Ag)},A.prototype._updateAndAddDisplayable=function(e,t,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var n=e.getClipPath(),i=t&&t.length,a=0,o=e.__clipPaths;if(!e.ignoreClip&&(i||n)){if(o||(o=e.__clipPaths=[]),i)for(var s=0;s<t.length;s++)o[a++]=t[s];for(var l=n,u=e;l;)l.parent=u,l.updateTransform(),o[a++]=l,u=l,l=l.getClipPath()}if(o&&(o.length=a),e.childrenRef){for(var f=e.childrenRef(),c=0;c<f.length;c++){var h=f[c];e.__dirty&&(h.__dirty|=Zt),this._updateAndAddDisplayable(h,o,r)}e.__dirty=0}else{var v=e;isNaN(v.z)&&(qf(),v.z=0),isNaN(v.z2)&&(qf(),v.z2=0),isNaN(v.zlevel)&&(qf(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var d=e.getDecalElement&&e.getDecalElement();d&&this._updateAndAddDisplayable(d,o,r);var g=e.getTextGuideLine();g&&this._updateAndAddDisplayable(g,o,r);var p=e.getTextContent();p&&this._updateAndAddDisplayable(p,o,r)}},A.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},A.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,r=e.length;t<r;t++)this.delRoot(e[t]);return}var n=Te(this._roots,e);n>=0&&this._roots.splice(n,1)},A.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},A.prototype.getRoots=function(){return this._roots},A.prototype.dispose=function(){this._displayList=null,this._roots=null},A})(),as;as=_e.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(A){return setTimeout(A,16)};var Ca={linear:function(A){return A},quadraticIn:function(A){return A*A},quadraticOut:function(A){return A*(2-A)},quadraticInOut:function(A){return(A*=2)<1?.5*A*A:-.5*(--A*(A-2)-1)},cubicIn:function(A){return A*A*A},cubicOut:function(A){return--A*A*A+1},cubicInOut:function(A){return(A*=2)<1?.5*A*A*A:.5*((A-=2)*A*A+2)},quarticIn:function(A){return A*A*A*A},quarticOut:function(A){return 1- --A*A*A*A},quarticInOut:function(A){return(A*=2)<1?.5*A*A*A*A:-.5*((A-=2)*A*A*A-2)},quinticIn:function(A){return A*A*A*A*A},quinticOut:function(A){return--A*A*A*A*A+1},quinticInOut:function(A){return(A*=2)<1?.5*A*A*A*A*A:.5*((A-=2)*A*A*A*A+2)},sinusoidalIn:function(A){return 1-Math.cos(A*Math.PI/2)},sinusoidalOut:function(A){return Math.sin(A*Math.PI/2)},sinusoidalInOut:function(A){return .5*(1-Math.cos(Math.PI*A))},exponentialIn:function(A){return A===0?0:Math.pow(1024,A-1)},exponentialOut:function(A){return A===1?1:1-Math.pow(2,-10*A)},exponentialInOut:function(A){return A===0?0:A===1?1:(A*=2)<1?.5*Math.pow(1024,A-1):.5*(-Math.pow(2,-10*(A-1))+2)},circularIn:function(A){return 1-Math.sqrt(1-A*A)},circularOut:function(A){return Math.sqrt(1- --A*A)},circularInOut:function(A){return(A*=2)<1?-.5*(Math.sqrt(1-A*A)-1):.5*(Math.sqrt(1-(A-=2)*A)+1)},elasticIn:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)))},elasticOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*A)*Math.sin((A-e)*(2*Math.PI)/r)+1)},elasticInOut:function(A){var e,t=.1,r=.4;return A===0?0:A===1?1:(!t||t<1?(t=1,e=r/4):e=r*Math.asin(1/t)/(2*Math.PI),(A*=2)<1?-.5*(t*Math.pow(2,10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)):t*Math.pow(2,-10*(A-=1))*Math.sin((A-e)*(2*Math.PI)/r)*.5+1)},backIn:function(A){var e=1.70158;return A*A*((e+1)*A-e)},backOut:function(A){var e=1.70158;return--A*A*((e+1)*A+e)+1},backInOut:function(A){var e=2.5949095;return(A*=2)<1?.5*(A*A*((e+1)*A-e)):.5*((A-=2)*A*((e+1)*A+e)+2)},bounceIn:function(A){return 1-Ca.bounceOut(1-A)},bounceOut:function(A){return A<1/2.75?7.5625*A*A:A<2/2.75?7.5625*(A-=1.5/2.75)*A+.75:A<2.5/2.75?7.5625*(A-=2.25/2.75)*A+.9375:7.5625*(A-=2.625/2.75)*A+.984375},bounceInOut:function(A){return A<.5?Ca.bounceIn(A*2)*.5:Ca.bounceOut(A*2-1)*.5+.5}},os=Math.pow,_r=Math.sqrt,ss=1e-8,rg=1e-4,ng=_r(3),ls=1/3,MA=oi(),rA=oi(),pi=oi();function Qr(A){return A>-ss&&A<ss}function ig(A){return A>ss||A<-ss}function ct(A,e,t,r,n){var i=1-n;return i*i*(i*A+3*n*e)+n*n*(n*r+3*i*t)}function ag(A,e,t,r,n){var i=1-n;return 3*(((e-A)*i+2*(t-e)*n)*i+(r-t)*n*n)}function us(A,e,t,r,n,i){var a=r+3*(e-t)-A,o=3*(t-e*2+A),s=3*(e-A),l=A-n,u=o*o-3*a*s,f=o*s-9*a*l,c=s*s-3*o*l,h=0;if(Qr(u)&&Qr(f))if(Qr(o))i[0]=0;else{var v=-s/o;v>=0&&v<=1&&(i[h++]=v)}else{var d=f*f-4*u*c;if(Qr(d)){var g=f/u,v=-o/a+g,p=-g/2;v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p)}else if(d>0){var B=_r(d),m=u*o+1.5*a*(-f+B),y=u*o+1.5*a*(-f-B);m<0?m=-os(-m,ls):m=os(m,ls),y<0?y=-os(-y,ls):y=os(y,ls);var v=(-o-(m+y))/(3*a);v>=0&&v<=1&&(i[h++]=v)}else{var _=(2*u*o-3*a*f)/(2*_r(u*u*u)),C=Math.acos(_)/3,Q=_r(u),x=Math.cos(C),v=(-o-2*Q*x)/(3*a),p=(-o+Q*(x+ng*Math.sin(C)))/(3*a),F=(-o+Q*(x-ng*Math.sin(C)))/(3*a);v>=0&&v<=1&&(i[h++]=v),p>=0&&p<=1&&(i[h++]=p),F>=0&&F<=1&&(i[h++]=F)}}return h}function og(A,e,t,r,n){var i=6*t-12*e+6*A,a=9*e+3*r-3*A-9*t,o=3*e-3*A,s=0;if(Qr(a)){if(ig(i)){var l=-o/i;l>=0&&l<=1&&(n[s++]=l)}}else{var u=i*i-4*a*o;if(Qr(u))n[0]=-i/(2*a);else if(u>0){var f=_r(u),l=(-i+f)/(2*a),c=(-i-f)/(2*a);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function fs(A,e,t,r,n,i){var a=(e-A)*n+A,o=(t-e)*n+e,s=(r-t)*n+t,l=(o-a)*n+a,u=(s-o)*n+o,f=(u-l)*n+l;i[0]=A,i[1]=a,i[2]=l,i[3]=f,i[4]=f,i[5]=u,i[6]=s,i[7]=r}function sg(A,e,t,r,n,i,a,o,s,l,u){var f,c=.005,h=1/0,v,d,g,p;MA[0]=s,MA[1]=l;for(var B=0;B<1;B+=.05)rA[0]=ct(A,t,n,a,B),rA[1]=ct(e,r,i,o,B),g=si(MA,rA),g<h&&(f=B,h=g);h=1/0;for(var m=0;m<32&&!(c<rg);m++)v=f-c,d=f+c,rA[0]=ct(A,t,n,a,v),rA[1]=ct(e,r,i,o,v),g=si(rA,MA),v>=0&&g<h?(f=v,h=g):(pi[0]=ct(A,t,n,a,d),pi[1]=ct(e,r,i,o,d),p=si(pi,MA),d<=1&&p<h?(f=d,h=p):c*=.5);return u&&(u[0]=ct(A,t,n,a,f),u[1]=ct(e,r,i,o,f)),_r(h)}function Xx(A,e,t,r,n,i,a,o,s){for(var l=A,u=e,f=0,c=1/s,h=1;h<=s;h++){var v=h*c,d=ct(A,t,n,a,v),g=ct(e,r,i,o,v),p=d-l,B=g-u;f+=Math.sqrt(p*p+B*B),l=d,u=g}return f}function Qt(A,e,t,r){var n=1-r;return n*(n*A+2*r*e)+r*r*t}function lg(A,e,t,r){return 2*((1-r)*(e-A)+r*(t-e))}function Zx(A,e,t,r,n){var i=A-2*e+t,a=2*(e-A),o=A-r,s=0;if(Qr(i)){if(ig(a)){var l=-o/a;l>=0&&l<=1&&(n[s++]=l)}}else{var u=a*a-4*i*o;if(Qr(u)){var l=-a/(2*i);l>=0&&l<=1&&(n[s++]=l)}else if(u>0){var f=_r(u),l=(-a+f)/(2*i),c=(-a-f)/(2*i);l>=0&&l<=1&&(n[s++]=l),c>=0&&c<=1&&(n[s++]=c)}}return s}function ug(A,e,t){var r=A+t-2*e;return r===0?.5:(A-e)/r}function cs(A,e,t,r,n){var i=(e-A)*r+A,a=(t-e)*r+e,o=(a-i)*r+i;n[0]=A,n[1]=i,n[2]=o,n[3]=o,n[4]=a,n[5]=t}function fg(A,e,t,r,n,i,a,o,s){var l,u=.005,f=1/0;MA[0]=a,MA[1]=o;for(var c=0;c<1;c+=.05){rA[0]=Qt(A,t,n,c),rA[1]=Qt(e,r,i,c);var h=si(MA,rA);h<f&&(l=c,f=h)}f=1/0;for(var v=0;v<32&&!(u<rg);v++){var d=l-u,g=l+u;rA[0]=Qt(A,t,n,d),rA[1]=Qt(e,r,i,d);var h=si(rA,MA);if(d>=0&&h<f)l=d,f=h;else{pi[0]=Qt(A,t,n,g),pi[1]=Qt(e,r,i,g);var p=si(pi,MA);g<=1&&p<f?(l=g,f=p):u*=.5}}return s&&(s[0]=Qt(A,t,n,l),s[1]=Qt(e,r,i,l)),_r(f)}function Jx(A,e,t,r,n,i,a){for(var o=A,s=e,l=0,u=1/a,f=1;f<=a;f++){var c=f*u,h=Qt(A,t,n,c),v=Qt(e,r,i,c),d=h-o,g=v-s;l+=Math.sqrt(d*d+g*g),o=h,s=v}return l}var qx=/cubic-bezier\(([0-9,\.e ]+)\)/;function cg(A){var e=A&&qx.exec(A);if(e){var t=e[1].split(","),r=+LA(t[0]),n=+LA(t[1]),i=+LA(t[2]),a=+LA(t[3]);if(isNaN(r+n+i+a))return;var o=[];return function(s){return s<=0?0:s>=1?1:us(0,r,i,1,s,o)&&ct(0,n,a,1,o[0])}}}var $x=(function(){function A(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Dt,this.ondestroy=e.ondestroy||Dt,this.onrestart=e.onrestart||Dt,e.easing&&this.setEasing(e.easing)}return A.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var r=this._life,n=e-this._startTime-this._pausedTime,i=n/r;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),i===1)if(this.loop){var s=n%r;this._startTime=e-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},A.prototype.pause=function(){this._paused=!0},A.prototype.resume=function(){this._paused=!1},A.prototype.setEasing=function(e){this.easing=e,this.easingFunc=me(e)?e:Ca[e]||cg(e)},A})(),hg=(function(){function A(e){this.value=e}return A})(),jx=(function(){function A(){this._len=0}return A.prototype.insert=function(e){var t=new hg(e);return this.insertEntry(t),t},A.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},A.prototype.remove=function(e){var t=e.prev,r=e.next;t?t.next=r:this.head=r,r?r.prev=t:this.tail=t,e.next=e.prev=null,this._len--},A.prototype.len=function(){return this._len},A.prototype.clear=function(){this.head=this.tail=null,this._len=0},A})(),gi=(function(){function A(e){this._list=new jx,this._maxSize=10,this._map={},this._maxSize=e}return A.prototype.put=function(e,t){var r=this._list,n=this._map,i=null;if(n[e]==null){var a=r.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete n[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=t:o=new hg(t),o.key=e,r.insertEntry(o),n[e]=o}return i},A.prototype.get=function(e){var t=this._map[e],r=this._list;if(t!=null)return t!==r.tail&&(r.remove(t),r.insertEntry(t)),t.value},A.prototype.clear=function(){this._list.clear(),this._map={}},A.prototype.len=function(){return this._list.len()},A})(),vg={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function xr(A){return A=Math.round(A),A<0?0:A>255?255:A}function $f(A){return A<0?0:A>1?1:A}function jf(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?xr(parseFloat(e)/100*255):xr(parseInt(e,10))}function cn(A){var e=A;return e.length&&e.charAt(e.length-1)==="%"?$f(parseFloat(e)/100):$f(parseFloat(e))}function ec(A,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?A+(e-A)*t*6:t*2<1?e:t*3<2?A+(e-A)*(2/3-t)*6:A}function hs(A,e,t){return A+(e-A)*t}function nA(A,e,t,r,n){return A[0]=e,A[1]=t,A[2]=r,A[3]=n,A}function tc(A,e){return A[0]=e[0],A[1]=e[1],A[2]=e[2],A[3]=e[3],A}var dg=new gi(20),vs=null;function Bi(A,e){vs&&tc(vs,e),vs=dg.put(A,vs||e.slice())}function HA(A,e){if(A){e=e||[];var t=dg.get(A);if(t)return tc(e,t);A=A+"";var r=A.replace(/ /g,"").toLowerCase();if(r in vg)return tc(e,vg[r]),Bi(A,e),e;var n=r.length;if(r.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){nA(e,0,0,0,1);return}return nA(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(r.slice(4),16)/15:1),Bi(A,e),e}else if(n===7||n===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){nA(e,0,0,0,1);return}return nA(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(r.slice(7),16)/255:1),Bi(A,e),e}return}var a=r.indexOf("("),o=r.indexOf(")");if(a!==-1&&o+1===n){var s=r.substr(0,a),l=r.substr(a+1,o-(a+1)).split(","),u=1;switch(s){case"rgba":if(l.length!==4)return l.length===3?nA(e,+l[0],+l[1],+l[2],1):nA(e,0,0,0,1);u=cn(l.pop());case"rgb":if(l.length>=3)return nA(e,jf(l[0]),jf(l[1]),jf(l[2]),l.length===3?u:cn(l[3])),Bi(A,e),e;nA(e,0,0,0,1);return;case"hsla":if(l.length!==4){nA(e,0,0,0,1);return}return l[3]=cn(l[3]),Ac(l,e),Bi(A,e),e;case"hsl":if(l.length!==3){nA(e,0,0,0,1);return}return Ac(l,e),Bi(A,e),e;default:return}}nA(e,0,0,0,1)}}function Ac(A,e){var t=(parseFloat(A[0])%360+360)%360/360,r=cn(A[1]),n=cn(A[2]),i=n<=.5?n*(r+1):n+r-n*r,a=n*2-i;return e=e||[],nA(e,xr(ec(a,i,t+1/3)*255),xr(ec(a,i,t)*255),xr(ec(a,i,t-1/3)*255),1),A.length===4&&(e[3]=A[3]),e}function eF(A){if(A){var e=A[0]/255,t=A[1]/255,r=A[2]/255,n=Math.min(e,t,r),i=Math.max(e,t,r),a=i-n,o=(i+n)/2,s,l;if(a===0)s=0,l=0;else{o<.5?l=a/(i+n):l=a/(2-i-n);var u=((i-e)/6+a/2)/a,f=((i-t)/6+a/2)/a,c=((i-r)/6+a/2)/a;e===i?s=c-f:t===i?s=1/3+u-c:r===i&&(s=2/3+f-u),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,l,o];return A[3]!=null&&h.push(A[3]),h}}function pg(A,e){var t=HA(A);if(t){for(var r=0;r<3;r++)t[r]=t[r]*(1-e)|0,t[r]>255?t[r]=255:t[r]<0&&(t[r]=0);return _a(t,t.length===4?"rgba":"rgb")}}function tF(A,e,t){if(!(!(e&&e.length)||!(A>=0&&A<=1))){var r=A*(e.length-1),n=Math.floor(r),i=Math.ceil(r),a=HA(e[n]),o=HA(e[i]),s=r-n,l=_a([xr(hs(a[0],o[0],s)),xr(hs(a[1],o[1],s)),xr(hs(a[2],o[2],s)),$f(hs(a[3],o[3],s))],"rgba");return t?{color:l,leftIndex:n,rightIndex:i,value:r}:l}}function rc(A,e,t,r){var n=HA(A);if(A)return n=eF(n),t!=null&&(n[1]=cn(me(t)?t(n[1]):t)),r!=null&&(n[2]=cn(me(r)?r(n[2]):r)),_a(Ac(n),"rgba")}function _a(A,e){if(!(!A||!A.length)){var t=A[0]+","+A[1]+","+A[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+A[3]),e+"("+t+")"}}function ds(A,e){var t=HA(A);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var gg=new gi(100);function Bg(A){if(le(A)){var e=gg.get(A);return e||(e=pg(A,-.1),gg.put(A,e)),e}else if(As(A)){var t=Y({},A);return t.colorStops=Be(A.colorStops,function(r){return{offset:r.offset,color:pg(r.color,-.1)}}),t}return A}function AF(A){return A.type==="linear"}function rF(A){return A.type==="radial"}(function(){return _e.hasGlobalWindow&&me(window.btoa)?function(A){return window.btoa(unescape(encodeURIComponent(A)))}:typeof Buffer<"u"?function(A){return Buffer.from(A).toString("base64")}:function(A){return process.env.NODE_ENV!=="production"&&an("Base64 isn't natively supported in the current environment."),null}})();var nc=Array.prototype.slice;function ir(A,e,t){return(e-A)*t+A}function ic(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=ir(e[i],t[i],r);return A}function nF(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=ir(e[a][o],t[a][o],r)}return A}function ps(A,e,t,r){for(var n=e.length,i=0;i<n;i++)A[i]=e[i]+t[i]*r;return A}function mg(A,e,t,r){for(var n=e.length,i=n&&e[0].length,a=0;a<n;a++){A[a]||(A[a]=[]);for(var o=0;o<i;o++)A[a][o]=e[a][o]+t[a][o]*r}return A}function iF(A,e){for(var t=A.length,r=e.length,n=t>r?e:A,i=Math.min(t,r),a=n[i-1]||{color:[0,0,0,0],offset:0},o=i;o<Math.max(t,r);o++)n.push({offset:a.offset,color:a.color.slice()})}function aF(A,e,t){var r=A,n=e;if(!(!r.push||!n.push)){var i=r.length,a=n.length;if(i!==a){var o=i>a;if(o)r.length=a;else for(var s=i;s<a;s++)r.push(t===1?n[s]:nc.call(n[s]))}for(var l=r[0]&&r[0].length,s=0;s<r.length;s++)if(t===1)isNaN(r[s])&&(r[s]=n[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=n[s][u])}}function gs(A){if(kt(A)){var e=A.length;if(kt(A[0])){for(var t=[],r=0;r<e;r++)t.push(nc.call(A[r]));return t}return nc.call(A)}return A}function Bs(A){return A[0]=Math.floor(A[0])||0,A[1]=Math.floor(A[1])||0,A[2]=Math.floor(A[2])||0,A[3]=A[3]==null?1:A[3],"rgba("+A.join(",")+")"}function oF(A){return kt(A&&A[0])?2:1}var ms=0,ys=1,yg=2,Qa=3,ac=4,oc=5,wg=6;function Cg(A){return A===ac||A===oc}function ws(A){return A===ys||A===yg}var xa=[0,0,0,0],sF=(function(){function A(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return A.prototype.isFinished=function(){return this._finished},A.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},A.prototype.needsAnimate=function(){return this.keyframes.length>=1},A.prototype.getAdditiveTrack=function(){return this._additiveTrack},A.prototype.addKeyframe=function(e,t,r){this._needsSort=!0;var n=this.keyframes,i=n.length,a=!1,o=wg,s=t;if(kt(t)){var l=oF(t);o=l,(l===1&&!Ye(t[0])||l===2&&!Ye(t[0][0]))&&(a=!0)}else if(Ye(t)&&!ii(t))o=ms;else if(le(t))if(!isNaN(+t))o=ms;else{var u=HA(t);u&&(s=u,o=Qa)}else if(As(t)){var f=Y({},s);f.colorStops=Be(t.colorStops,function(h){return{offset:h.offset,color:HA(h.color)}}),AF(t)?o=ac:rF(t)&&(o=oc),s=f}i===0?this.valType=o:(o!==this.valType||o===wg)&&(a=!0),this.discrete=this.discrete||a;var c={time:e,value:s,rawValue:t,percent:0};return r&&(c.easing=r,c.easingFunc=me(r)?r:Ca[r]||cg(r)),n.push(c),c},A.prototype.prepare=function(e,t){var r=this.keyframes;this._needsSort&&r.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=r.length,a=r[i-1],o=this.discrete,s=ws(n),l=Cg(n),u=0;u<i;u++){var f=r[u],c=f.value,h=a.value;f.percent=f.time/e,o||(s&&u!==i-1?aF(c,h,n):l&&iF(c.colorStops,h.colorStops))}if(!o&&n!==oc&&t&&this.needsAnimate()&&t.needsAnimate()&&n===t.valType&&!t._finished){this._additiveTrack=t;for(var v=r[0].value,u=0;u<i;u++)n===ms?r[u].additiveValue=r[u].value-v:n===Qa?r[u].additiveValue=ps([],r[u].value,v,-1):ws(n)&&(r[u].additiveValue=n===ys?ps([],r[u].value,v,-1):mg([],r[u].value,v,-1))}},A.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,n=r?"additiveValue":"value",i=this.valType,a=this.keyframes,o=a.length,s=this.propName,l=i===Qa,u,f=this._lastFr,c=Math.min,h,v;if(o===1)h=v=a[0];else{if(t<0)u=0;else if(t<this._lastFrP){var d=c(f+1,o-1);for(u=d;u>=0&&!(a[u].percent<=t);u--);u=c(u,o-2)}else{for(u=f;u<o&&!(a[u].percent>t);u++);u=c(u-1,o-2)}v=a[u+1],h=a[u]}if(h&&v){this._lastFr=u,this._lastFrP=t;var g=v.percent-h.percent,p=g===0?1:c((t-h.percent)/g,1);v.easingFunc&&(p=v.easingFunc(p));var B=r?this._additiveValue:l?xa:e[s];if((ws(i)||l)&&!B&&(B=this._additiveValue=[]),this.discrete)e[s]=p<1?h.rawValue:v.rawValue;else if(ws(i))i===ys?ic(B,h[n],v[n],p):nF(B,h[n],v[n],p);else if(Cg(i)){var m=h[n],y=v[n],_=i===ac;e[s]={type:_?"linear":"radial",x:ir(m.x,y.x,p),y:ir(m.y,y.y,p),colorStops:Be(m.colorStops,function(Q,x){var F=y.colorStops[x];return{offset:ir(Q.offset,F.offset,p),color:Bs(ic([],Q.color,F.color,p))}}),global:y.global},_?(e[s].x2=ir(m.x2,y.x2,p),e[s].y2=ir(m.y2,y.y2,p)):e[s].r=ir(m.r,y.r,p)}else if(l)ic(B,h[n],v[n],p),r||(e[s]=Bs(B));else{var C=ir(h[n],v[n],p);r?this._additiveValue=C:e[s]=C}r&&this._addToTarget(e)}}},A.prototype._addToTarget=function(e){var t=this.valType,r=this.propName,n=this._additiveValue;t===ms?e[r]=e[r]+n:t===Qa?(HA(e[r],xa),ps(xa,xa,n,1),e[r]=Bs(xa)):t===ys?ps(e[r],e[r],n,1):t===yg&&mg(e[r],e[r],n,1)},A})(),sc=(function(){function A(e,t,r,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){an("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=r}return A.prototype.getMaxTime=function(){return this._maxTime},A.prototype.getDelay=function(){return this._delay},A.prototype.getLoop=function(){return this._loop},A.prototype.getTarget=function(){return this._target},A.prototype.changeTarget=function(e){this._target=e},A.prototype.when=function(e,t,r){return this.whenWithKeys(e,t,Xe(t),r)},A.prototype.whenWithKeys=function(e,t,r,n){for(var i=this._tracks,a=0;a<r.length;a++){var o=r[a],s=i[o];if(!s){s=i[o]=new sF(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var f=u.keyframes,c=f[f.length-1];l=c&&c.value,u.valType===Qa&&l&&(l=Bs(l))}else l=this._target[o];if(l==null)continue;e>0&&s.addKeyframe(0,gs(l),n),this._trackKeys.push(o)}s.addKeyframe(e,gs(t[o]),n)}return this._maxTime=Math.max(this._maxTime,e),this},A.prototype.pause=function(){this._clip.pause(),this._paused=!0},A.prototype.resume=function(){this._clip.resume(),this._paused=!1},A.prototype.isPaused=function(){return!!this._paused},A.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},A.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,r=0;r<t;r++)e[r].call(this)},A.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var r=0;r<t.length;r++)t[r].call(this)},A.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,r=0;r<t.length;r++)e[t[r]].setFinished()},A.prototype._getAdditiveTrack=function(e){var t,r=this._additiveAnimators;if(r)for(var n=0;n<r.length;n++){var i=r[n].getTrack(e);i&&(t=i)}return t},A.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,r=[],n=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var a=this._trackKeys[i],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(n,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var f=l[u-1];f&&(t._target[o.propName]=f.rawValue),o.setFinished()}else r.push(o)}if(r.length||this._force){var c=new $x({life:n,loop:this._loop,delay:this._delay||0,onframe:function(h){t._started=2;var v=t._additiveAnimators;if(v){for(var d=!1,g=0;g<v.length;g++)if(v[g]._clip){d=!0;break}d||(t._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(t._target,h);var p=t._onframeCbs;if(p)for(var g=0;g<p.length;g++)p[g](t._target,h)},ondestroy:function(){t._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),e&&c.setEasing(e)}else this._doneCallback();return this}},A.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},A.prototype.delay=function(e){return this._delay=e,this},A.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},A.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},A.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},A.prototype.getClip=function(){return this._clip},A.prototype.getTrack=function(e){return this._tracks[e]},A.prototype.getTracks=function(){var e=this;return Be(this._trackKeys,function(t){return e._tracks[t]})},A.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var r=this._tracks,n=this._trackKeys,i=0;i<e.length;i++){var a=r[e[i]];a&&!a.isFinished()&&(t?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var o=!0,i=0;i<n.length;i++)if(!r[n[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},A.prototype.saveTo=function(e,t,r){if(e){t=t||this._trackKeys;for(var n=0;n<t.length;n++){var i=t[n],a=this._tracks[i];if(!(!a||a.isFinished())){var o=a.keyframes,s=o[r?0:o.length-1];s&&(e[i]=gs(s.rawValue))}}}},A.prototype.__changeFinalValue=function(e,t){t=t||Xe(e);for(var r=0;r<t.length;r++){var n=t[r],i=this._tracks[n];if(i){var a=i.keyframes;if(a.length>1){var o=a.pop();i.addKeyframe(o.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},A})();function mi(){return new Date().getTime()}var lF=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,t=t||{},r.stage=t.stage||{},r}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var r=t.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(t){if(t.animation){var r=t.prev,n=t.next;r?r.next=n:this._head=n,n?n.prev=r:this._tail=r,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var r=t.getClip();r&&this.removeClip(r),t.animation=null},e.prototype.update=function(t){for(var r=mi()-this._pausedTime,n=r-this._time,i=this._head;i;){var a=i.next,o=i.step(r,n);o&&(i.ondestroy(),this.removeClip(i)),i=a}this._time=r,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function r(){t._running&&(as(r),!t._paused&&t.update())}as(r)},e.prototype.start=function(){this._running||(this._time=mi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=mi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=mi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var r=t.next;t.prev=t.next=t.animation=null,t=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,r){r=r||{},this.start();var n=new sc(t,r.loop);return this.addAnimator(n),n},e})(wA),uF=300,lc=_e.domSupported,uc=(function(){var A=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Be(A,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:A,touch:e,pointer:r}})(),_g={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Qg=!1;function fc(A){var e=A.pointerType;return e==="pen"||e==="touch"}function fF(A){A.touching=!0,A.touchTimer!=null&&(clearTimeout(A.touchTimer),A.touchTimer=null),A.touchTimer=setTimeout(function(){A.touching=!1,A.touchTimer=null},700)}function cc(A){A&&(A.zrByTouch=!0)}function cF(A,e){return AA(A.dom,new hF(A,e),!0)}function xg(A,e){for(var t=e,r=!1;t&&t.nodeType!==9&&!(r=t.domBelongToZr||t!==e&&t===A.painterRoot);)t=t.parentNode;return r}var hF=(function(){function A(e,t){this.stopPropagation=Dt,this.stopImmediatePropagation=Dt,this.preventDefault=Dt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return A})(),CA={mousedown:function(A){A=AA(this.dom,A),this.__mayPointerCapture=[A.zrX,A.zrY],this.trigger("mousedown",A)},mousemove:function(A){A=AA(this.dom,A);var e=this.__mayPointerCapture;e&&(A.zrX!==e[0]||A.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",A)},mouseup:function(A){A=AA(this.dom,A),this.__togglePointerCapture(!1),this.trigger("mouseup",A)},mouseout:function(A){A=AA(this.dom,A);var e=A.toElement||A.relatedTarget;xg(this,e)||(this.__pointerCapturing&&(A.zrEventControl="no_globalout"),this.trigger("mouseout",A))},wheel:function(A){Qg=!0,A=AA(this.dom,A),this.trigger("mousewheel",A)},mousewheel:function(A){Qg||(A=AA(this.dom,A),this.trigger("mousewheel",A))},touchstart:function(A){A=AA(this.dom,A),cc(A),this.__lastTouchMoment=new Date,this.handler.processGesture(A,"start"),CA.mousemove.call(this,A),CA.mousedown.call(this,A)},touchmove:function(A){A=AA(this.dom,A),cc(A),this.handler.processGesture(A,"change"),CA.mousemove.call(this,A)},touchend:function(A){A=AA(this.dom,A),cc(A),this.handler.processGesture(A,"end"),CA.mouseup.call(this,A),+new Date-+this.__lastTouchMoment<uF&&CA.click.call(this,A)},pointerdown:function(A){CA.mousedown.call(this,A)},pointermove:function(A){fc(A)||CA.mousemove.call(this,A)},pointerup:function(A){CA.mouseup.call(this,A)},pointerout:function(A){fc(A)||CA.mouseout.call(this,A)}};b(["click","dblclick","contextmenu"],function(A){CA[A]=function(e){e=AA(this.dom,e),this.trigger(A,e)}});var hc={pointermove:function(A){fc(A)||hc.mousemove.call(this,A)},pointerup:function(A){hc.mouseup.call(this,A)},mousemove:function(A){this.trigger("mousemove",A)},mouseup:function(A){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",A),e&&(A.zrEventControl="only_globalout",this.trigger("mouseout",A))}};function vF(A,e){var t=e.domHandlers;_e.pointerEventsSupported?b(uc.pointer,function(r){Cs(e,r,function(n){t[r].call(A,n)})}):(_e.touchEventsSupported&&b(uc.touch,function(r){Cs(e,r,function(n){t[r].call(A,n),fF(e)})}),b(uc.mouse,function(r){Cs(e,r,function(n){n=kf(n),e.touching||t[r].call(A,n)})}))}function dF(A,e){_e.pointerEventsSupported?b(_g.pointer,t):_e.touchEventsSupported||b(_g.mouse,t);function t(r){function n(i){i=kf(i),xg(A,i.target)||(i=cF(A,i),e.domHandlers[r].call(A,i))}Cs(e,r,n,{capture:!0})}}function Cs(A,e,t,r){A.mounted[e]=t,A.listenerOpts[e]=r,Ix(A.domTarget,e,t,r)}function vc(A){var e=A.mounted;for(var t in e)e.hasOwnProperty(t)&&Tx(A.domTarget,t,e[t],A.listenerOpts[t]);A.mounted={}}var Fg=(function(){function A(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return A})(),pF=(function(A){J(e,A);function e(t,r){var n=A.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=r,n._localHandlerScope=new Fg(t,CA),lc&&(n._globalHandlerScope=new Fg(document,hc)),vF(n,n._localHandlerScope),n}return e.prototype.dispose=function(){vc(this._localHandlerScope),lc&&vc(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,lc&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var r=this._globalHandlerScope;t?dF(this,r):vc(r)}},e})(wA),Eg=1;_e.hasGlobalWindow&&(Eg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var _s=Eg,dc=.4,pc="#333",gc="#ccc",gF="#eee",bg=Kf,Sg=5e-5;function hn(A){return A>Sg||A<-Sg}var vn=[],yi=[],Bc=nr(),mc=Math.abs,Qs=(function(){function A(){}return A.prototype.getLocalTransform=function(e){return A.getLocalTransform(this,e)},A.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},A.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},A.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},A.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},A.prototype.needLocalTransform=function(){return hn(this.rotation)||hn(this.x)||hn(this.y)||hn(this.scaleX-1)||hn(this.scaleY-1)||hn(this.skewX)||hn(this.skewY)},A.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),r=this.transform;if(!(t||e)){r&&(bg(r),this.invTransform=null);return}r=r||nr(),t?this.getLocalTransform(r):bg(r),e&&(t?pa(r,e,r):Gp(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},A.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(vn);var r=vn[0]<0?-1:1,n=vn[1]<0?-1:1,i=((vn[0]-r)*t+r)/vn[0]||0,a=((vn[1]-n)*t+n)/vn[1]||0;e[0]*=i,e[1]*=i,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||nr(),hi(this.invTransform,e)},A.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},A.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=r,this.originX=0,this.originY=0}},A.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||nr(),pa(yi,e.invTransform,t),t=yi);var r=this.originX,n=this.originY;(r||n)&&(Bc[4]=r,Bc[5]=n,pa(yi,t,Bc),yi[4]-=r,yi[5]-=n,t=yi),this.setLocalTransform(t)}},A.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},A.prototype.transformCoordToLocal=function(e,t){var r=[e,t],n=this.invTransform;return n&&tA(r,r,n),r},A.prototype.transformCoordToGlobal=function(e,t){var r=[e,t],n=this.transform;return n&&tA(r,r,n),r},A.prototype.getLineScale=function(){var e=this.transform;return e&&mc(e[0]-1)>1e-10&&mc(e[3]-1)>1e-10?Math.sqrt(mc(e[0]*e[3]-e[2]*e[1])):1},A.prototype.copyTransform=function(e){yc(this,e)},A.getLocalTransform=function(e,t){t=t||[];var r=e.originX||0,n=e.originY||0,i=e.scaleX,a=e.scaleY,o=e.anchorX,s=e.anchorY,l=e.rotation||0,u=e.x,f=e.y,c=e.skewX?Math.tan(e.skewX):0,h=e.skewY?Math.tan(-e.skewY):0;if(r||n||o||s){var v=r+o,d=n+s;t[4]=-v*i-c*d*a,t[5]=-d*a-h*v*i}else t[4]=t[5]=0;return t[0]=i,t[3]=a,t[1]=h*i,t[2]=c*a,l&&zf(t,t,l),t[4]+=r+u,t[5]+=n+f,t},A.initDefaultProps=(function(){var e=A.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0})(),A})(),Fa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function yc(A,e){for(var t=0;t<Fa.length;t++){var r=Fa[t];A[r]=e[r]}}function OA(A){xs||(xs=new gi(100)),A=A||wr;var e=xs.get(A);return e||(e={font:A,strWidthCache:new gi(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:rr.measureText("国",A).width,asciiCharWidth:rr.measureText("a",A).width},xs.put(A,e)),e}var xs;function BF(A){if(!(wc>=Ug)){A=A||wr;for(var e=[],t=+new Date,r=0;r<=127;r++)e[r]=rr.measureText(String.fromCharCode(r),A).width;var n=+new Date-t;return n>16?wc=Ug:n>2&&wc++,e}}var wc=0,Ug=5;function Ig(A,e){return A.asciiWidthMapTried||(A.asciiWidthMap=BF(A.font),A.asciiWidthMapTried=!0),0<=e&&e<=127?A.asciiWidthMap!=null?A.asciiWidthMap[e]:A.asciiCharWidth:A.stWideCharWidth}function RA(A,e){var t=A.strWidthCache,r=t.get(e);return r==null&&(r=rr.measureText(e,A.font).width,t.put(e,r)),r}function Tg(A,e,t,r){var n=RA(OA(e),A),i=Fs(e),a=wi(0,n,t),o=dn(0,i,r),s=new Fe(a,o,n,i);return s}function Dg(A,e,t,r){var n=((A||"")+"").split(`
15
+ `),i=n.length;if(i===1)return Tg(n[0],e,t,r);for(var a=new Fe(0,0,0,0),o=0;o<n.length;o++){var s=Tg(n[o],e,t,r);o===0?a.copy(s):a.union(s)}return a}function wi(A,e,t,r){return t==="right"?r?A+=e:A-=e:t==="center"&&(r?A+=e/2:A-=e/2),A}function dn(A,e,t,r){return t==="middle"?r?A+=e/2:A-=e/2:t==="bottom"&&(r?A+=e:A-=e),A}function Fs(A){return OA(A).stWideCharWidth}function Fr(A,e){return typeof A=="string"?A.lastIndexOf("%")>=0?parseFloat(A)/100*e:parseFloat(A):A}function Es(A,e,t){var r=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,a=t.width,o=i/2,s=t.x,l=t.y,u="left",f="top";if(r instanceof Array)s+=Fr(r[0],t.width),l+=Fr(r[1],t.height),u=null,f=null;else switch(r){case"left":s-=n,l+=o,u="right",f="middle";break;case"right":s+=n+a,l+=o,f="middle";break;case"top":s+=a/2,l-=n,u="center",f="bottom";break;case"bottom":s+=a/2,l+=i+n,u="center";break;case"inside":s+=a/2,l+=o,u="center",f="middle";break;case"insideLeft":s+=n,l+=o,f="middle";break;case"insideRight":s+=a-n,l+=o,u="right",f="middle";break;case"insideTop":s+=a/2,l+=n,u="center";break;case"insideBottom":s+=a/2,l+=i-n,u="center",f="bottom";break;case"insideTopLeft":s+=n,l+=n;break;case"insideTopRight":s+=a-n,l+=n,u="right";break;case"insideBottomLeft":s+=n,l+=i-n,f="bottom";break;case"insideBottomRight":s+=a-n,l+=i-n,u="right",f="bottom";break}return A=A||{},A.x=s,A.y=l,A.align=u,A.verticalAlign=f,A}var Cc="__zr_normal__",_c=Fa.concat(["ignore"]),mF=ri(Fa,function(A,e){return A[e]=!0,A},{ignore:!1}),Ci={},yF=new Fe(0,0,0,0),bs=[],Ss=(function(){function A(e){this.id=Dp(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return A.prototype._init=function(e){this.attr(e)},A.prototype.drift=function(e,t,r){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},A.prototype.beforeUpdate=function(){},A.prototype.afterUpdate=function(){},A.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},A.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,n=r.local,i=t.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=n?this:null;var l=!1;i.copyTransform(t);var u=r.position!=null,f=r.autoOverflowArea,c=void 0;if((f||u)&&(c=yF,r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),n||c.applyTransform(this.transform)),u){this.calculateTextPosition?this.calculateTextPosition(Ci,r,c):Es(Ci,r,c),i.x=Ci.x,i.y=Ci.y,a=Ci.align,o=Ci.verticalAlign;var h=r.origin;if(h&&r.rotation!=null){var v=void 0,d=void 0;h==="center"?(v=c.width*.5,d=c.height*.5):(v=Fr(h[0],c.width),d=Fr(h[1],c.height)),l=!0,i.originX=-i.x+v+(n?0:c.x),i.originY=-i.y+d+(n?0:c.y)}}r.rotation!=null&&(i.rotation=r.rotation);var g=r.offset;g&&(i.x+=g[0],i.y+=g[1],l||(i.originX=-g[0],i.originY=-g[1]));var p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(f){var B=p.overflowRect=p.overflowRect||new Fe(0,0,0,0);i.getLocalTransform(bs),hi(bs,bs),Fe.copy(B,c),B.applyTransform(bs)}else p.overflowRect=null;var m=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,y=void 0,_=void 0,C=void 0;m&&this.canBeInsideText()?(y=r.insideFill,_=r.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(y),C=!0)):(y=r.outsideFill,_=r.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(y),C=!0)),y=y||"#000",(y!==p.fill||_!==p.stroke||C!==p.autoStroke||a!==p.align||o!==p.verticalAlign)&&(s=!0,p.fill=y,p.stroke=_,p.autoStroke=C,p.align=a,p.verticalAlign=o,t.setDefaultTextStyle(p)),t.__dirty|=Zt,s&&t.dirtyStyle(!0)}},A.prototype.canBeInsideText=function(){return!0},A.prototype.getInsideTextFill=function(){return"#fff"},A.prototype.getInsideTextStroke=function(e){return"#000"},A.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?gc:pc},A.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),r=typeof t=="string"&&HA(t);r||(r=[255,255,255,1]);for(var n=r[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*n+(i?0:255)*(1-n);return r[3]=1,_a(r,"rgba")},A.prototype.traverse=function(e,t){},A.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},Y(this.extra,t)):this[e]=t},A.prototype.hide=function(){this.ignore=!0,this.markRedraw()},A.prototype.show=function(){this.ignore=!1,this.markRedraw()},A.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(he(e))for(var r=e,n=Xe(r),i=0;i<n.length;i++){var a=n[i];this.attrKV(a,e[a])}return this.markRedraw(),this},A.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,r=0;r<this.animators.length;r++){var n=this.animators[r],i=n.__fromStateTransition;if(!(n.getLoop()||i&&i!==Cc)){var a=n.targetName,o=a?t[a]:t;n.saveTo(o)}}},A.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,_c)},A.prototype._savePrimaryToNormal=function(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];e[i]!=null&&!(i in t)&&(t[i]=this[i])}},A.prototype.hasState=function(){return this.currentStates.length>0},A.prototype.getState=function(e){return this.states[e]},A.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},A.prototype.clearStates=function(e){this.useState(Cc,!1,e)},A.prototype.useState=function(e,t,r,n){var i=e===Cc,a=this.hasState();if(!(!a&&i)){var o=this.currentStates,s=this.stateTransition;if(!(Te(o,e)>=0&&(t||o.length===1))){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),!l&&!i){an("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,t,!r&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,c=this._textGuide;return f&&f.useState(e,t,r,u),c&&c.useState(e,t,r,u),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt),l}}},A.prototype.useStates=function(e,t,r){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,a=e.length,o=a===i.length;if(o){for(var s=0;s<a;s++)if(e[s]!==i[s]){o=!1;break}}if(o)return;for(var s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&n.push(u)}var f=n[a-1],c=!!(f&&f.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(n),v=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(e.join(","),h,this._normalState,!1,!t&&!this.__inHover&&v&&v.duration>0,v);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,c),g&&g.useStates(e,t,c),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt)}},A.prototype.isSilent=function(){for(var e=this;e;){if(e.silent)return!0;var t=e.__hostTarget;e=t?e.ignoreHostSilent?null:t:e.parent}return!1},A.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},A.prototype.removeState=function(e){var t=Te(this.currentStates,e);if(t>=0){var r=this.currentStates.slice();r.splice(t,1),this.useStates(r)}},A.prototype.replaceState=function(e,t,r){var n=this.currentStates.slice(),i=Te(n,e),a=Te(n,t)>=0;i>=0?a?n.splice(i,1):n[i]=t:r&&!a&&n.push(t),this.useStates(n)},A.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},A.prototype._mergeStates=function(e){for(var t={},r,n=0;n<e.length;n++){var i=e[n];Y(t,i),i.textConfig&&(r=r||{},Y(r,i.textConfig))}return r&&(t.textConfig=r),t},A.prototype._applyStateObj=function(e,t,r,n,i,a){var o=!(t&&n);t&&t.textConfig?(this.textConfig=Y({},n?this.textConfig:r.textConfig),Y(this.textConfig,t.textConfig)):o&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},l=!1,u=0;u<_c.length;u++){var f=_c[u],c=i&&mF[f];t&&t[f]!=null?c?(l=!0,s[f]=t[f]):this[f]=t[f]:o&&r[f]!=null&&(c?(l=!0,s[f]=r[f]):this[f]=r[f])}if(!i)for(var u=0;u<this.animators.length;u++){var h=this.animators[u],v=h.targetName;h.getLoop()||h.__changeFinalValue(v?(t||r)[v]:t||r)}l&&this._transitionState(e,s,a)},A.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this},A.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},A.prototype.getClipPath=function(){return this._clipPath},A.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},A.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},A.prototype.getTextContent=function(){return this._textContent},A.prototype.setTextContent=function(e){var t=this._textContent;if(t!==e){if(t&&t!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new Qs,this._attachComponent(e),this._textContent=e,this.markRedraw()}},A.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Y(this.textConfig,e),this.markRedraw()},A.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},A.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},A.prototype.getTextGuideLine=function(){return this._textGuide},A.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},A.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},A.prototype.markRedraw=function(){this.__dirty|=Zt;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},A.prototype.dirty=function(){this.markRedraw()},A.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,r=this._textGuide;t&&(t.__inHover=e),r&&(r.__inHover=e)},A.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.addAnimator(t[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},A.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var r=0;r<t.length;r++)e.animation.removeAnimator(t[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},A.prototype.animate=function(e,t,r){var n=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!n){an('Property "'+e+'" is not existed in element '+this.id);return}var i=new sc(n,t,r);return e&&(i.targetName=e),this.addAnimator(i,e),i},A.prototype.addAnimator=function(e,t){var r=this.__zr,n=this;e.during(function(){n.updateDuringAnimation(t)}).done(function(){var i=n.animators,a=Te(i,e);a>=0&&i.splice(a,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},A.prototype.updateDuringAnimation=function(e){this.markRedraw()},A.prototype.stopAnimation=function(e,t){for(var r=this.animators,n=r.length,i=[],a=0;a<n;a++){var o=r[a];!e||e===o.scope?o.stop(t):i.push(o)}return this.animators=i,this},A.prototype.animateTo=function(e,t,r){Qc(this,e,t,r)},A.prototype.animateFrom=function(e,t,r){Qc(this,e,t,r,!0)},A.prototype._transitionState=function(e,t,r,n){for(var i=Qc(this,t,r,n),a=0;a<i.length;a++)i[a].__fromStateTransition=e},A.prototype.getBoundingRect=function(){return null},A.prototype.getPaintRect=function(){return null},A.initDefaultProps=(function(){var e=A.prototype;e.type="element",e.name="",e.ignore=e.silent=e.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Zt;var t={};function r(i,a,o){t[i+a+o]||(console.warn("DEPRECATED: '"+i+"' has been deprecated. use '"+a+"', '"+o+"' instead"),t[i+a+o]=!0)}function n(i,a,o,s){Object.defineProperty(e,i,{get:function(){if(process.env.NODE_ENV!=="production"&&r(i,o,s),!this[a]){var u=this[a]=[];l(this,u)}return this[a]},set:function(u){process.env.NODE_ENV!=="production"&&r(i,o,s),this[o]=u[0],this[s]=u[1],this[a]=u,l(this,u)}});function l(u,f){Object.defineProperty(f,0,{get:function(){return u[o]},set:function(c){u[o]=c}}),Object.defineProperty(f,1,{get:function(){return u[s]},set:function(c){u[s]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))})(),A})();DA(Ss,wA),DA(Ss,Qs);function Qc(A,e,t,r,n){t=t||{};var i=[];Lg(A,"",A,e,t,r,i,n);var a=i.length,o=!1,s=t.done,l=t.aborted,u=function(){o=!0,a--,a<=0&&(o?s&&s():l&&l())},f=function(){a--,a<=0&&(o?s&&s():l&&l())};a||s&&s(),i.length>0&&t.during&&i[0].during(function(v,d){t.during(d)});for(var c=0;c<i.length;c++){var h=i[c];u&&h.done(u),f&&h.aborted(f),t.force&&h.duration(t.duration),h.start(t.easing)}return i}function xc(A,e,t){for(var r=0;r<t;r++)A[r]=e[r]}function wF(A){return kt(A[0])}function CF(A,e,t){if(kt(e[t]))if(kt(A[t])||(A[t]=[]),Tt(e[t])){var r=e[t].length;A[t].length!==r&&(A[t]=new e[t].constructor(r),xc(A[t],e[t],r))}else{var n=e[t],i=A[t],a=n.length;if(wF(n))for(var o=n[0].length,s=0;s<a;s++)i[s]?xc(i[s],n[s],o):i[s]=Array.prototype.slice.call(n[s]);else xc(i,n,a);i.length=n.length}else A[t]=e[t]}function _F(A,e){return A===e||kt(A)&&kt(e)&&QF(A,e)}function QF(A,e){var t=A.length;if(t!==e.length)return!1;for(var r=0;r<t;r++)if(A[r]!==e[r])return!1;return!0}function Lg(A,e,t,r,n,i,a,o){for(var s=Xe(r),l=n.duration,u=n.delay,f=n.additive,c=n.setToFinal,h=!he(i),v=A.animators,d=[],g=0;g<s.length;g++){var p=s[g],B=r[p];if(B!=null&&t[p]!=null&&(h||i[p]))if(he(B)&&!kt(B)&&!As(B)){if(e){o||(t[p]=B,A.updateDuringAnimation(e));continue}Lg(A,p,t[p],B,n,i&&i[p],a,o)}else d.push(p);else o||(t[p]=B,A.updateDuringAnimation(e),d.push(p))}var m=d.length;if(!f&&m)for(var y=0;y<v.length;y++){var _=v[y];if(_.targetName===e){var C=_.stopTracks(d);if(C){var Q=Te(v,_);v.splice(Q,1)}}}if(n.force||(d=rt(d,function(E){return!_F(r[E],t[E])}),m=d.length),m>0||n.force&&!a.length){var x=void 0,F=void 0,S=void 0;if(o){F={},c&&(x={});for(var y=0;y<m;y++){var p=d[y];F[p]=t[p],c?x[p]=r[p]:t[p]=r[p]}}else if(c){S={};for(var y=0;y<m;y++){var p=d[y];S[p]=gs(t[p]),CF(t,r,p)}}var _=new sc(t,!1,!1,f?rt(v,function(I){return I.targetName===e}):null);_.targetName=e,n.scope&&(_.scope=n.scope),c&&x&&_.whenWithKeys(0,x,d),S&&_.whenWithKeys(0,S,d),_.whenWithKeys(l??500,o?F:r,d).delay(u||0),A.addAnimator(_,e),a.push(_)}}var lt=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(t),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var r=this._children,n=0;n<r.length;n++)if(r[n].name===t)return r[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),process.env.NODE_ENV!=="production"&&t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,r){if(t&&t!==this&&t.parent!==this&&r&&r.parent===this){var n=this._children,i=n.indexOf(r);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,r){var n=Te(this._children,t);return n>=0&&this.replaceAt(r,n),this},e.prototype.replaceAt=function(t,r){var n=this._children,i=n[r];if(t&&t!==this&&t.parent!==this&&t!==i){n[r]=t,i.parent=null;var a=this.__zr;a&&i.removeSelfFromZr(a),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var r=this.__zr;r&&r!==t.__zr&&t.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(t){var r=this.__zr,n=this._children,i=Te(n,t);return i<0?this:(n.splice(i,1),t.parent=null,r&&t.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,r=this.__zr,n=0;n<t.length;n++){var i=t[n];r&&i.removeSelfFromZr(r),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,r){for(var n=this._children,i=0;i<n.length;i++){var a=n[i];t.call(r,a,i)}return this},e.prototype.traverse=function(t,r){for(var n=0;n<this._children.length;n++){var i=this._children[n],a=t.call(r,i);i.isGroup&&!a&&i.traverse(t,r)}return this},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++){var n=this._children[r];n.removeSelfFromZr(t)}},e.prototype.getBoundingRect=function(t){for(var r=new Fe(0,0,0,0),n=t||this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o];if(!(s.ignore||s.invisible)){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(Fe.applyTransform(r,l,u),a=a||r.clone(),a.union(r)):(a=a||l.clone(),a.union(l))}}return a||r},e})(Ss);lt.prototype.type="group";/*!
16
16
  * ZRender, a high performance 2d drawing library.
17
17
  *
18
18
  * Copyright (c) 2013, Baidu Inc.
@@ -20,29 +20,29 @@
20
20
  *
21
21
  * LICENSE
22
22
  * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
23
- */var ba={},Mg={};function xF(A){delete Mg[A]}function FF(A){if(!A)return!1;if(typeof A=="string")return ps(A,1)<pc;if(A.colorStops){for(var e=A.colorStops,t=0,r=e.length,n=0;n<r;n++)t+=ps(e[n].color,1);return t/=r,t<pc}return!1}var EF=(function(){function A(e,t,r){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=t,this.id=e;var i=new Yx,a=r.renderer||"canvas";if(ba[a]||(a=Xe(ba)[0]),process.env.NODE_ENV!=="production"&&!ba[a])throw new Error("Renderer '"+a+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var o=new ba[a](t,i,r,e),s=r.ssr||o.ssrOnly;this.storage=i,this.painter=o;var l=!_e.node&&!_e.worker&&!s?new pF(o.getViewportRoot(),o.root):null,u=r.useCoarsePointer,f=u==null||u==="auto"?_e.touchEventsSupported:!!u,c=44,h;f&&(h=ve(r.pointerSize,c)),this.handler=new Zp(i,o,l,o.root,h),this.animation=new lF({stage:{update:s?null:function(){return n._flush(!0)}}}),s||this.animation.start()}return A.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},A.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},A.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},A.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=FF(e))},A.prototype.getBackgroundColor=function(){return this._backgroundColor},A.prototype.setDarkMode=function(e){this._darkMode=e},A.prototype.isDarkMode=function(){return this._darkMode},A.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},A.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},A.prototype.flush=function(){this._disposed||this._flush(!1)},A.prototype._flush=function(e){var t,r=yi();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=yi();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},A.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},A.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},A.prototype.refreshHover=function(){this._needsRefreshHover=!0},A.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},A.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},A.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},A.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},A.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},A.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},A.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},A.prototype.on=function(e,t,r){return this._disposed||this.handler.on(e,t,r),this},A.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},A.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},A.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof lt&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},A.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,xF(this.id))},A})();function Hg(A,e){var t=new EF(Dp(),A,e);return Mg[t.id]=t,t}function bF(A,e){ba[A]=e}var Og=1e-4,Rg=20;function SF(A){return A.replace(/^\s+|\s+$/g,"")}var Sa=Math.min,Jt=Math.max,NA=Math.abs;function dt(A,e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1],s=i-n,l=o-a;if(s===0)return l===0?a:(a+o)/2;if(r)if(s>0){if(A<=n)return a;if(A>=i)return o}else{if(A>=n)return a;if(A<=i)return o}else{if(A===n)return a;if(A===i)return o}return(A-n)/s*l+a}var ht=UF;function UF(A,e,t){switch(A){case"center":case"middle":A="50%";break;case"left":case"top":A="0%";break;case"right":case"bottom":A="100%";break}return Ec(A,e,t)}function Ec(A,e,t){return le(A)?SF(A).match(/%$/)?parseFloat(A)/100*e+(t||0):parseFloat(A):A==null?NaN:+A}function wt(A,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Rg),A=(+A).toFixed(e),t?A:+A}function Ua(A){return A.sort(function(e,t){return e-t}),A}function ar(A){if(A=+A,isNaN(A))return 0;if(A>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(A*e)/e===A)return t}return bc(A)}function bc(A){var e=A.toString().toLowerCase(),t=e.indexOf("e"),r=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),a=i<0?0:n-1-i;return Math.max(0,a-r)}function Ng(A,e){var t=Math.log,r=Math.LN10,n=Math.floor(t(A[1]-A[0])/r),i=Math.round(t(NA(e[1]-e[0]))/r),a=Math.min(Math.max(-n+i,0),20);return isFinite(a)?a:20}function IF(A,e){var t=Math.max(ar(A),ar(e)),r=A+e;return t>Rg?r:wt(r,t)}function Pg(A){var e=Math.PI*2;return(A%e+e)%e}function Is(A){return A>-Og&&A<Og}var TF=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Qi(A){if(A instanceof Date)return A;if(le(A)){var e=TF.exec(A);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(A==null)return new Date(NaN);return new Date(Math.round(A))}function DF(A){return Math.pow(10,Ts(A))}function Ts(A){if(A===0)return 0;var e=Math.floor(Math.log(A)/Math.LN10);return A/Math.pow(10,e)>=10&&e++,e}function kg(A,e){var t=Ts(A),r=Math.pow(10,t),n=A/r,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,A=i*r,t>=-20?+A.toFixed(t<0?-t:0):A}function Ds(A){var e=parseFloat(A);return e==A&&(e!==0||!le(A)||A.indexOf("x")<=0)?e:NaN}function Vg(A){return!isNaN(Ds(A))}function Kg(){return Math.round(Math.random()*9)}function Gg(A,e){return e===0?A:Gg(e,A%e)}function zg(A,e){return A==null?e:e==null?A:A*e/Gg(A,e)}var LF="[ECharts] ",Wg={},MF=typeof console<"u"&&console.warn&&console.log;function Ls(A,e,t){if(MF){if(t){if(Wg[e])return;Wg[e]=!0}console[A](LF+e)}}function Yg(A,e){Ls("log",A,e)}function xt(A,e){Ls("warn",A,e)}function Ge(A,e){Ls("error",A,e)}function PA(A){process.env.NODE_ENV!=="production"&&Ls("warn","DEPRECATED: "+A,!0)}function pt(A,e,t){process.env.NODE_ENV!=="production"&&PA((t?"["+t+"]":"")+(A+" is deprecated; use "+e+" instead."))}function Ms(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t="";if(process.env.NODE_ENV!=="production"){var r=function(n){return n===void 0?"undefined":n===1/0?"Infinity":n===-1/0?"-Infinity":ai(n)?"NaN":n instanceof Date?"Date("+n.toISOString()+")":me(n)?"function () { ... }":ox(n)?n+"":null};t=Be(A,function(n){if(le(n))return n;var i=r(n);if(i!=null)return i;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(n,function(a,o){var s=r(o);return s??o})}catch{return"?"}else return"?"}).join(" ")}return t}function Kt(A){throw new Error(A)}function Xg(A,e,t){return(e-A)*t+A}var Zg="series\0",HF="\0_ec_\0";function Lt(A){return A instanceof Array?A:A==null?[]:[A]}function Jg(A,e,t){if(A){A[e]=A[e]||{},A.emphasis=A.emphasis||{},A.emphasis[e]=A.emphasis[e]||{};for(var r=0,n=t.length;r<n;r++){var i=t[r];!A.emphasis[e].hasOwnProperty(i)&&A[e].hasOwnProperty(i)&&(A.emphasis[e][i]=A[e][i])}}}var qg=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Ia(A){return he(A)&&!ae(A)&&!(A instanceof Date)?A.value:A}function OF(A){return he(A)&&!(A instanceof Array)}function RF(A,e,t){var r=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";A=A||[],e=(e||[]).slice();var a=we();b(e,function(s,l){if(!he(s)){e[l]=null;return}process.env.NODE_ENV!=="production"&&(s.id!=null&&!e0(s.id)&&jg(s.id),s.name!=null&&!e0(s.name)&&jg(s.name))});var o=NF(A,a,t);return(r||n)&&PF(o,A,a,e),r&&kF(o,e),r||n?VF(o,e,n):i&&KF(o,e),GF(o),o}function NF(A,e,t){var r=[];if(t==="replaceAll")return r;for(var n=0;n<A.length;n++){var i=A[n];i&&i.id!=null&&e.set(i.id,n),r.push({existing:t==="replaceMerge"||xi(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function PF(A,e,t,r){b(r,function(n,i){if(!(!n||n.id==null)){var a=Ta(n.id),o=t.get(a);if(o!=null){var s=A[o];fe(!s.newOption,'Duplicated option on id "'+a+'".'),s.newOption=n,s.existing=e[o],r[i]=null}}})}function kF(A,e){b(e,function(t,r){if(!(!t||t.name==null))for(var n=0;n<A.length;n++){var i=A[n].existing;if(!A[n].newOption&&i&&(i.id==null||t.id==null)&&!xi(t)&&!xi(i)&&$g("name",i,t)){A[n].newOption=t,e[r]=null;return}}})}function VF(A,e,t){b(e,function(r){if(r){for(var n,i=0;(n=A[i])&&(n.newOption||xi(n.existing)||n.existing&&r.id!=null&&!$g("id",r,n.existing));)i++;n?(n.newOption=r,n.brandNew=t):A.push({newOption:r,brandNew:t,existing:null,keyInfo:null}),i++}})}function KF(A,e){b(e,function(t){A.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function GF(A){var e=we();b(A,function(t){var r=t.existing;r&&e.set(r.id,t)}),b(A,function(t){var r=t.newOption;fe(!r||r.id==null||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),b(A,function(t,r){var n=t.existing,i=t.newOption,a=t.keyInfo;if(he(i)){if(a.name=i.name!=null?Ta(i.name):n?n.name:Zg+r,n)a.id=Ta(n.id);else if(i.id!=null)a.id=Ta(i.id);else{var o=0;do a.id="\0"+a.name+"\0"+o++;while(e.get(a.id))}e.set(a.id,t)}})}function $g(A,e,t){var r=kA(e[A],null),n=kA(t[A],null);return r!=null&&n!=null&&r===n}function Ta(A){if(process.env.NODE_ENV!=="production"&&A==null)throw new Error;return kA(A,"")}function kA(A,e){return A==null?e:le(A)?A:Ye(A)||As(A)?A+"":e}function jg(A){process.env.NODE_ENV!=="production"&&xt("`"+A+"` is invalid id or name. Must be a string or number.")}function e0(A){return As(A)||Vg(A)}function Sc(A){var e=A.name;return!!(e&&e.indexOf(Zg))}function xi(A){return A&&A.id!=null&&Ta(A.id).indexOf(HF)===0}function zF(A,e,t){b(A,function(r){var n=r.newOption;he(n)&&(r.keyInfo.mainType=e,r.keyInfo.subType=WF(e,n,r.existing,t))})}function WF(A,e,t,r){var n=e.type?e.type:t?t.subType:r.determineSubType(A,e);return n}function pn(A,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return ae(e.dataIndex)?Be(e.dataIndex,function(t){return A.indexOfRawIndex(t)}):A.indexOfRawIndex(e.dataIndex);if(e.name!=null)return ae(e.name)?Be(e.name,function(t){return A.indexOfName(t)}):A.indexOfName(e.name)}function ze(){var A="__ec_inner_"+YF++;return function(e){return e[A]||(e[A]={})}}var YF=Kg();function Uc(A,e,t){var r=Ic(e,t),n=r.mainTypeSpecified,i=r.queryOptionMap,a=r.others,o=a,s=t?t.defaultMainType:null;return!n&&s&&i.set(s,{}),i.each(function(l,u){var f=Da(A,u,l,{useDefault:s===u,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});o[u+"Models"]=f.models,o[u+"Model"]=f.models[0]}),o}function Ic(A,e){var t;if(le(A)){var r={};r[A+"Index"]=0,t=r}else t=A;var n=we(),i={},a=!1;return b(t,function(o,s){if(s==="dataIndex"||s==="dataIndexInside"){i[s]=o;return}var l=s.match(/^(\w+)(Index|Id|Name)$/)||[],u=l[1],f=(l[2]||"").toLowerCase();if(!(!u||!f||e&&e.includeMainTypes&&Te(e.includeMainTypes,u)<0)){a=a||!!u;var c=n.get(u)||n.set(u,{});c[f]=o}}),{mainTypeSpecified:a,queryOptionMap:n,others:i}}var Mt={useDefault:!0,enableAll:!1,enableNone:!1},XF={useDefault:!1,enableAll:!0,enableNone:!0};function Da(A,e,t,r){r=r||Mt;var n=t.index,i=t.id,a=t.name,o={models:null,specified:n!=null||i!=null||a!=null};if(!o.specified){var s=void 0;return o.models=r.useDefault&&(s=A.getComponent(e))?[s]:[],o}if(n==="none"||n===!1){if(r.enableNone)return o.models=[],o;process.env.NODE_ENV!=="production"&&Ge('`"none"` or `false` is not a valid value on index option.'),n=-1}return n==="all"&&(r.enableAll?n=i=a=null:(process.env.NODE_ENV!=="production"&&Ge('`"all"` is not a valid value on index option.'),n=-1)),o.models=A.queryComponents({mainType:e,index:n,id:i,name:a}),o}function t0(A,e,t){A.setAttribute?A.setAttribute(e,t):A[e]=t}function ZF(A,e){return A.getAttribute?A.getAttribute(e):A[e]}function JF(A){return A==="auto"?_e.domSupported?"html":"richText":A||"html"}function A0(A,e,t,r,n){var i=e==null||e==="auto";if(r==null)return r;if(Ye(r)){var a=Xg(t||0,r,n);return wt(a,i?Math.max(ar(t||0),ar(r)):e)}else{if(le(r))return n<1?t:r;for(var o=[],s=t,l=r,u=Math.max(s?s.length:0,l.length),f=0;f<u;++f){var c=A.getDimensionInfo(f);if(c&&c.type==="ordinal")o[f]=(n<1&&s?s:l)[f];else{var h=s&&s[f]?s[f]:0,v=l[f],a=Xg(h,v,n);o[f]=wt(a,i?Math.max(ar(h),ar(v)):e)}}return o}}var qF=".",gn="___EC__COMPONENT__CONTAINER___",r0="___EC__EXTENDED_CLASS___";function VA(A){var e={main:"",sub:""};if(A){var t=A.split(qF);e.main=t[0]||"",e.sub=t[1]||""}return e}function $F(A){fe(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(A),'componentType "'+A+'" illegal')}function jF(A){return!!(A&&A[r0])}function Tc(A,e){A.$constructor=A,A.extend=function(t){process.env.NODE_ENV!=="production"&&b(e,function(i){t[i]||console.warn("Method `"+i+"` should be implemented"+(t.type?" in "+t.type:"")+".")});var r=this,n;return eE(r)?n=(function(i){J(a,i);function a(){return i.apply(this,arguments)||this}return a})(r):(n=function(){(t.$constructor||r).apply(this,arguments)},rx(n,this)),Y(n.prototype,t),n[r0]=!0,n.extend=this.extend,n.superCall=rE,n.superApply=nE,n.superClass=r,n}}function eE(A){return me(A)&&/^class\s/.test(Function.prototype.toString.call(A))}function n0(A,e){A.extend=e.extend}var tE=Math.round(Math.random()*10);function AE(A){var e=["__\0is_clz",tE++].join("_");A.prototype[e]=!0,process.env.NODE_ENV!=="production"&&fe(!A.isInstance,'The method "is" can not be defined.'),A.isInstance=function(t){return!!(t&&t[e])}}function rE(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return this.superClass.prototype[e].apply(A,t)}function nE(A,e,t){return this.superClass.prototype[e].apply(A,t)}function Hs(A){var e={};A.registerClass=function(r){var n=r.type||r.prototype.type;if(n){$F(n),r.prototype.type=n;var i=VA(n);if(!i.sub)process.env.NODE_ENV!=="production"&&e[i.main]&&console.warn(i.main+" exists."),e[i.main]=r;else if(i.sub!==gn){var a=t(i);a[i.sub]=r}}return r},A.getClass=function(r,n,i){var a=e[r];if(a&&a[gn]&&(a=n?a[n]:null),i&&!a)throw new Error(n?"Component "+r+"."+(n||"")+" is used but not imported.":r+".type should be specified.");return a},A.getClassesByMainType=function(r){var n=VA(r),i=[],a=e[n.main];return a&&a[gn]?b(a,function(o,s){s!==gn&&i.push(o)}):i.push(a),i},A.hasClass=function(r){var n=VA(r);return!!e[n.main]},A.getAllClassMainTypes=function(){var r=[];return b(e,function(n,i){r.push(i)}),r},A.hasSubTypes=function(r){var n=VA(r),i=e[n.main];return i&&i[gn]};function t(r){var n=e[r.main];return(!n||!n[gn])&&(n=e[r.main]={},n[gn]=!0),n}}function La(A,e){for(var t=0;t<A.length;t++)A[t][1]||(A[t][1]=A[t][0]);return e=e||!1,function(r,n,i){for(var a={},o=0;o<A.length;o++){var s=A[o][1];if(!(n&&Te(n,s)>=0||i&&Te(i,s)<0)){var l=r.getShallow(s,e);l!=null&&(a[A[o][0]]=l)}}return a}}var iE=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],aE=La(iE),oE=(function(){function A(){}return A.prototype.getAreaStyle=function(e,t){return aE(this,e,t)},A})(),Dc=new Bi(50);function sE(A){if(typeof A=="string"){var e=Dc.get(A);return e&&e.image}else return A}function i0(A,e,t,r,n){if(A)if(typeof A=="string"){if(e&&e.__zrImageSrc===A||!t)return e;var i=Dc.get(A),a={hostEl:t,cb:r,cbPayload:n};return i?(e=i.image,!Os(e)&&i.pending.push(a)):(e=rr.loadImage(A,a0,a0),e.__zrImageSrc=A,Dc.put(A,e.__cachedImgObj={image:e,pending:[a]})),e}else return A;else return e}function a0(){var A=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<A.pending.length;e++){var t=A.pending[e],r=t.cb;r&&r(this,t.cbPayload),t.hostEl.dirty()}A.pending.length=0}function Os(A){return A&&A.width&&A.height}var Lc=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function lE(A,e,t,r,n,i){if(!t){A.text="",A.isTruncated=!1;return}var a=(e+"").split(`
23
+ */var Ea={},Mg={};function xF(A){delete Mg[A]}function FF(A){if(!A)return!1;if(typeof A=="string")return ds(A,1)<dc;if(A.colorStops){for(var e=A.colorStops,t=0,r=e.length,n=0;n<r;n++)t+=ds(e[n].color,1);return t/=r,t<dc}return!1}var EF=(function(){function A(e,t,r){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=t,this.id=e;var i=new Yx,a=r.renderer||"canvas";if(Ea[a]||(a=Xe(Ea)[0]),process.env.NODE_ENV!=="production"&&!Ea[a])throw new Error("Renderer '"+a+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var o=new Ea[a](t,i,r,e),s=r.ssr||o.ssrOnly;this.storage=i,this.painter=o;var l=!_e.node&&!_e.worker&&!s?new pF(o.getViewportRoot(),o.root):null,u=r.useCoarsePointer,f=u==null||u==="auto"?_e.touchEventsSupported:!!u,c=44,h;f&&(h=ve(r.pointerSize,c)),this.handler=new Zp(i,o,l,o.root,h),this.animation=new lF({stage:{update:s?null:function(){return n._flush(!0)}}}),s||this.animation.start()}return A.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},A.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},A.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},A.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=FF(e))},A.prototype.getBackgroundColor=function(){return this._backgroundColor},A.prototype.setDarkMode=function(e){this._darkMode=e},A.prototype.isDarkMode=function(){return this._darkMode},A.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},A.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},A.prototype.flush=function(){this._disposed||this._flush(!1)},A.prototype._flush=function(e){var t,r=mi();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=mi();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},A.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},A.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},A.prototype.refreshHover=function(){this._needsRefreshHover=!0},A.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},A.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},A.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},A.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},A.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},A.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},A.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},A.prototype.on=function(e,t,r){return this._disposed||this.handler.on(e,t,r),this},A.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},A.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},A.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof lt&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},A.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,xF(this.id))},A})();function Hg(A,e){var t=new EF(Dp(),A,e);return Mg[t.id]=t,t}function bF(A,e){Ea[A]=e}var Og=1e-4,Rg=20;function SF(A){return A.replace(/^\s+|\s+$/g,"")}var ba=Math.min,Jt=Math.max,NA=Math.abs;function dt(A,e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1],s=i-n,l=o-a;if(s===0)return l===0?a:(a+o)/2;if(r)if(s>0){if(A<=n)return a;if(A>=i)return o}else{if(A>=n)return a;if(A<=i)return o}else{if(A===n)return a;if(A===i)return o}return(A-n)/s*l+a}var ht=UF;function UF(A,e,t){switch(A){case"center":case"middle":A="50%";break;case"left":case"top":A="0%";break;case"right":case"bottom":A="100%";break}return Fc(A,e,t)}function Fc(A,e,t){return le(A)?SF(A).match(/%$/)?parseFloat(A)/100*e+(t||0):parseFloat(A):A==null?NaN:+A}function wt(A,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Rg),A=(+A).toFixed(e),t?A:+A}function Sa(A){return A.sort(function(e,t){return e-t}),A}function ar(A){if(A=+A,isNaN(A))return 0;if(A>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(A*e)/e===A)return t}return Ec(A)}function Ec(A){var e=A.toString().toLowerCase(),t=e.indexOf("e"),r=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),a=i<0?0:n-1-i;return Math.max(0,a-r)}function Ng(A,e){var t=Math.log,r=Math.LN10,n=Math.floor(t(A[1]-A[0])/r),i=Math.round(t(NA(e[1]-e[0]))/r),a=Math.min(Math.max(-n+i,0),20);return isFinite(a)?a:20}function IF(A,e){var t=Math.max(ar(A),ar(e)),r=A+e;return t>Rg?r:wt(r,t)}function Pg(A){var e=Math.PI*2;return(A%e+e)%e}function Us(A){return A>-Og&&A<Og}var TF=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function _i(A){if(A instanceof Date)return A;if(le(A)){var e=TF.exec(A);if(!e)return new Date(NaN);if(e[8]){var t=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(t-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(A==null)return new Date(NaN);return new Date(Math.round(A))}function DF(A){return Math.pow(10,Is(A))}function Is(A){if(A===0)return 0;var e=Math.floor(Math.log(A)/Math.LN10);return A/Math.pow(10,e)>=10&&e++,e}function kg(A,e){var t=Is(A),r=Math.pow(10,t),n=A/r,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,A=i*r,t>=-20?+A.toFixed(t<0?-t:0):A}function Ts(A){var e=parseFloat(A);return e==A&&(e!==0||!le(A)||A.indexOf("x")<=0)?e:NaN}function Vg(A){return!isNaN(Ts(A))}function Kg(){return Math.round(Math.random()*9)}function Gg(A,e){return e===0?A:Gg(e,A%e)}function zg(A,e){return A==null?e:e==null?A:A*e/Gg(A,e)}var LF="[ECharts] ",Wg={},MF=typeof console<"u"&&console.warn&&console.log;function Ds(A,e,t){if(MF){if(t){if(Wg[e])return;Wg[e]=!0}console[A](LF+e)}}function Yg(A,e){Ds("log",A,e)}function xt(A,e){Ds("warn",A,e)}function Ge(A,e){Ds("error",A,e)}function PA(A){process.env.NODE_ENV!=="production"&&Ds("warn","DEPRECATED: "+A,!0)}function pt(A,e,t){process.env.NODE_ENV!=="production"&&PA((t?"["+t+"]":"")+(A+" is deprecated; use "+e+" instead."))}function Ls(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];var t="";if(process.env.NODE_ENV!=="production"){var r=function(n){return n===void 0?"undefined":n===1/0?"Infinity":n===-1/0?"-Infinity":ii(n)?"NaN":n instanceof Date?"Date("+n.toISOString()+")":me(n)?"function () { ... }":ox(n)?n+"":null};t=Be(A,function(n){if(le(n))return n;var i=r(n);if(i!=null)return i;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(n,function(a,o){var s=r(o);return s??o})}catch{return"?"}else return"?"}).join(" ")}return t}function Kt(A){throw new Error(A)}function Xg(A,e,t){return(e-A)*t+A}var Zg="series\0",HF="\0_ec_\0";function Lt(A){return A instanceof Array?A:A==null?[]:[A]}function Jg(A,e,t){if(A){A[e]=A[e]||{},A.emphasis=A.emphasis||{},A.emphasis[e]=A.emphasis[e]||{};for(var r=0,n=t.length;r<n;r++){var i=t[r];!A.emphasis[e].hasOwnProperty(i)&&A[e].hasOwnProperty(i)&&(A.emphasis[e][i]=A[e][i])}}}var qg=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Ua(A){return he(A)&&!ae(A)&&!(A instanceof Date)?A.value:A}function OF(A){return he(A)&&!(A instanceof Array)}function RF(A,e,t){var r=t==="normalMerge",n=t==="replaceMerge",i=t==="replaceAll";A=A||[],e=(e||[]).slice();var a=we();b(e,function(s,l){if(!he(s)){e[l]=null;return}process.env.NODE_ENV!=="production"&&(s.id!=null&&!e0(s.id)&&jg(s.id),s.name!=null&&!e0(s.name)&&jg(s.name))});var o=NF(A,a,t);return(r||n)&&PF(o,A,a,e),r&&kF(o,e),r||n?VF(o,e,n):i&&KF(o,e),GF(o),o}function NF(A,e,t){var r=[];if(t==="replaceAll")return r;for(var n=0;n<A.length;n++){var i=A[n];i&&i.id!=null&&e.set(i.id,n),r.push({existing:t==="replaceMerge"||Qi(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function PF(A,e,t,r){b(r,function(n,i){if(!(!n||n.id==null)){var a=Ia(n.id),o=t.get(a);if(o!=null){var s=A[o];fe(!s.newOption,'Duplicated option on id "'+a+'".'),s.newOption=n,s.existing=e[o],r[i]=null}}})}function kF(A,e){b(e,function(t,r){if(!(!t||t.name==null))for(var n=0;n<A.length;n++){var i=A[n].existing;if(!A[n].newOption&&i&&(i.id==null||t.id==null)&&!Qi(t)&&!Qi(i)&&$g("name",i,t)){A[n].newOption=t,e[r]=null;return}}})}function VF(A,e,t){b(e,function(r){if(r){for(var n,i=0;(n=A[i])&&(n.newOption||Qi(n.existing)||n.existing&&r.id!=null&&!$g("id",r,n.existing));)i++;n?(n.newOption=r,n.brandNew=t):A.push({newOption:r,brandNew:t,existing:null,keyInfo:null}),i++}})}function KF(A,e){b(e,function(t){A.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}function GF(A){var e=we();b(A,function(t){var r=t.existing;r&&e.set(r.id,t)}),b(A,function(t){var r=t.newOption;fe(!r||r.id==null||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})}),b(A,function(t,r){var n=t.existing,i=t.newOption,a=t.keyInfo;if(he(i)){if(a.name=i.name!=null?Ia(i.name):n?n.name:Zg+r,n)a.id=Ia(n.id);else if(i.id!=null)a.id=Ia(i.id);else{var o=0;do a.id="\0"+a.name+"\0"+o++;while(e.get(a.id))}e.set(a.id,t)}})}function $g(A,e,t){var r=kA(e[A],null),n=kA(t[A],null);return r!=null&&n!=null&&r===n}function Ia(A){if(process.env.NODE_ENV!=="production"&&A==null)throw new Error;return kA(A,"")}function kA(A,e){return A==null?e:le(A)?A:Ye(A)||ts(A)?A+"":e}function jg(A){process.env.NODE_ENV!=="production"&&xt("`"+A+"` is invalid id or name. Must be a string or number.")}function e0(A){return ts(A)||Vg(A)}function bc(A){var e=A.name;return!!(e&&e.indexOf(Zg))}function Qi(A){return A&&A.id!=null&&Ia(A.id).indexOf(HF)===0}function zF(A,e,t){b(A,function(r){var n=r.newOption;he(n)&&(r.keyInfo.mainType=e,r.keyInfo.subType=WF(e,n,r.existing,t))})}function WF(A,e,t,r){var n=e.type?e.type:t?t.subType:r.determineSubType(A,e);return n}function pn(A,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return ae(e.dataIndex)?Be(e.dataIndex,function(t){return A.indexOfRawIndex(t)}):A.indexOfRawIndex(e.dataIndex);if(e.name!=null)return ae(e.name)?Be(e.name,function(t){return A.indexOfName(t)}):A.indexOfName(e.name)}function ze(){var A="__ec_inner_"+YF++;return function(e){return e[A]||(e[A]={})}}var YF=Kg();function Sc(A,e,t){var r=Uc(e,t),n=r.mainTypeSpecified,i=r.queryOptionMap,a=r.others,o=a,s=t?t.defaultMainType:null;return!n&&s&&i.set(s,{}),i.each(function(l,u){var f=Ta(A,u,l,{useDefault:s===u,enableAll:t&&t.enableAll!=null?t.enableAll:!0,enableNone:t&&t.enableNone!=null?t.enableNone:!0});o[u+"Models"]=f.models,o[u+"Model"]=f.models[0]}),o}function Uc(A,e){var t;if(le(A)){var r={};r[A+"Index"]=0,t=r}else t=A;var n=we(),i={},a=!1;return b(t,function(o,s){if(s==="dataIndex"||s==="dataIndexInside"){i[s]=o;return}var l=s.match(/^(\w+)(Index|Id|Name)$/)||[],u=l[1],f=(l[2]||"").toLowerCase();if(!(!u||!f||e&&e.includeMainTypes&&Te(e.includeMainTypes,u)<0)){a=a||!!u;var c=n.get(u)||n.set(u,{});c[f]=o}}),{mainTypeSpecified:a,queryOptionMap:n,others:i}}var Mt={useDefault:!0,enableAll:!1,enableNone:!1},XF={useDefault:!1,enableAll:!0,enableNone:!0};function Ta(A,e,t,r){r=r||Mt;var n=t.index,i=t.id,a=t.name,o={models:null,specified:n!=null||i!=null||a!=null};if(!o.specified){var s=void 0;return o.models=r.useDefault&&(s=A.getComponent(e))?[s]:[],o}if(n==="none"||n===!1){if(r.enableNone)return o.models=[],o;process.env.NODE_ENV!=="production"&&Ge('`"none"` or `false` is not a valid value on index option.'),n=-1}return n==="all"&&(r.enableAll?n=i=a=null:(process.env.NODE_ENV!=="production"&&Ge('`"all"` is not a valid value on index option.'),n=-1)),o.models=A.queryComponents({mainType:e,index:n,id:i,name:a}),o}function t0(A,e,t){A.setAttribute?A.setAttribute(e,t):A[e]=t}function ZF(A,e){return A.getAttribute?A.getAttribute(e):A[e]}function JF(A){return A==="auto"?_e.domSupported?"html":"richText":A||"html"}function A0(A,e,t,r,n){var i=e==null||e==="auto";if(r==null)return r;if(Ye(r)){var a=Xg(t||0,r,n);return wt(a,i?Math.max(ar(t||0),ar(r)):e)}else{if(le(r))return n<1?t:r;for(var o=[],s=t,l=r,u=Math.max(s?s.length:0,l.length),f=0;f<u;++f){var c=A.getDimensionInfo(f);if(c&&c.type==="ordinal")o[f]=(n<1&&s?s:l)[f];else{var h=s&&s[f]?s[f]:0,v=l[f],a=Xg(h,v,n);o[f]=wt(a,i?Math.max(ar(h),ar(v)):e)}}return o}}var qF=".",gn="___EC__COMPONENT__CONTAINER___",r0="___EC__EXTENDED_CLASS___";function VA(A){var e={main:"",sub:""};if(A){var t=A.split(qF);e.main=t[0]||"",e.sub=t[1]||""}return e}function $F(A){fe(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(A),'componentType "'+A+'" illegal')}function jF(A){return!!(A&&A[r0])}function Ic(A,e){A.$constructor=A,A.extend=function(t){process.env.NODE_ENV!=="production"&&b(e,function(i){t[i]||console.warn("Method `"+i+"` should be implemented"+(t.type?" in "+t.type:"")+".")});var r=this,n;return eE(r)?n=(function(i){J(a,i);function a(){return i.apply(this,arguments)||this}return a})(r):(n=function(){(t.$constructor||r).apply(this,arguments)},rx(n,this)),Y(n.prototype,t),n[r0]=!0,n.extend=this.extend,n.superCall=rE,n.superApply=nE,n.superClass=r,n}}function eE(A){return me(A)&&/^class\s/.test(Function.prototype.toString.call(A))}function n0(A,e){A.extend=e.extend}var tE=Math.round(Math.random()*10);function AE(A){var e=["__\0is_clz",tE++].join("_");A.prototype[e]=!0,process.env.NODE_ENV!=="production"&&fe(!A.isInstance,'The method "is" can not be defined.'),A.isInstance=function(t){return!!(t&&t[e])}}function rE(A,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return this.superClass.prototype[e].apply(A,t)}function nE(A,e,t){return this.superClass.prototype[e].apply(A,t)}function Ms(A){var e={};A.registerClass=function(r){var n=r.type||r.prototype.type;if(n){$F(n),r.prototype.type=n;var i=VA(n);if(!i.sub)process.env.NODE_ENV!=="production"&&e[i.main]&&console.warn(i.main+" exists."),e[i.main]=r;else if(i.sub!==gn){var a=t(i);a[i.sub]=r}}return r},A.getClass=function(r,n,i){var a=e[r];if(a&&a[gn]&&(a=n?a[n]:null),i&&!a)throw new Error(n?"Component "+r+"."+(n||"")+" is used but not imported.":r+".type should be specified.");return a},A.getClassesByMainType=function(r){var n=VA(r),i=[],a=e[n.main];return a&&a[gn]?b(a,function(o,s){s!==gn&&i.push(o)}):i.push(a),i},A.hasClass=function(r){var n=VA(r);return!!e[n.main]},A.getAllClassMainTypes=function(){var r=[];return b(e,function(n,i){r.push(i)}),r},A.hasSubTypes=function(r){var n=VA(r),i=e[n.main];return i&&i[gn]};function t(r){var n=e[r.main];return(!n||!n[gn])&&(n=e[r.main]={},n[gn]=!0),n}}function Da(A,e){for(var t=0;t<A.length;t++)A[t][1]||(A[t][1]=A[t][0]);return e=e||!1,function(r,n,i){for(var a={},o=0;o<A.length;o++){var s=A[o][1];if(!(n&&Te(n,s)>=0||i&&Te(i,s)<0)){var l=r.getShallow(s,e);l!=null&&(a[A[o][0]]=l)}}return a}}var iE=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],aE=Da(iE),oE=(function(){function A(){}return A.prototype.getAreaStyle=function(e,t){return aE(this,e,t)},A})(),Tc=new gi(50);function sE(A){if(typeof A=="string"){var e=Tc.get(A);return e&&e.image}else return A}function i0(A,e,t,r,n){if(A)if(typeof A=="string"){if(e&&e.__zrImageSrc===A||!t)return e;var i=Tc.get(A),a={hostEl:t,cb:r,cbPayload:n};return i?(e=i.image,!Hs(e)&&i.pending.push(a)):(e=rr.loadImage(A,a0,a0),e.__zrImageSrc=A,Tc.put(A,e.__cachedImgObj={image:e,pending:[a]})),e}else return A;else return e}function a0(){var A=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<A.pending.length;e++){var t=A.pending[e],r=t.cb;r&&r(this,t.cbPayload),t.hostEl.dirty()}A.pending.length=0}function Hs(A){return A&&A.width&&A.height}var Dc=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function lE(A,e,t,r,n,i){if(!t){A.text="",A.isTruncated=!1;return}var a=(e+"").split(`
24
24
  `);i=o0(t,r,n,i);for(var o=!1,s={},l=0,u=a.length;l<u;l++)s0(s,a[l],i),a[l]=s.textLine,o=o||s.isTruncated;A.text=a.join(`
25
- `),A.isTruncated=o}function o0(A,e,t,r){r=r||{};var n=Y({},r);t=ve(t,"..."),n.maxIterations=ve(r.maxIterations,2);var i=n.minChar=ve(r.minChar,0),a=n.fontMeasureInfo=OA(e),o=a.asciiCharWidth;n.placeholder=ve(r.placeholder,"");for(var s=A=Math.max(0,A-1),l=0;l<i&&s>=o;l++)s-=o;var u=RA(a,t);return u>s&&(t="",u=0),s=A-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=A,n}function s0(A,e,t){var r=t.containerWidth,n=t.contentWidth,i=t.fontMeasureInfo;if(!r){A.textLine="",A.isTruncated=!1;return}var a=RA(i,e);if(a<=r){A.textLine=e,A.isTruncated=!1;return}for(var o=0;;o++){if(a<=n||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?uE(e,n,i):a>0?Math.floor(e.length*n/a):0;e=e.substr(0,s),a=RA(i,e)}e===""&&(e=t.placeholder),A.textLine=e,A.isTruncated=!0}function uE(A,e,t){for(var r=0,n=0,i=A.length;n<i&&r<e;n++)r+=Ig(t,A.charCodeAt(n));return n}function fE(A,e,t,r){var n=Hc(A),i=e.overflow,a=e.padding,o=a?a[1]+a[3]:0,s=a?a[0]+a[2]:0,l=e.font,u=i==="truncate",f=Es(l),c=ve(e.lineHeight,f),h=e.lineOverflow==="truncate",v=!1,d=e.width;d==null&&t!=null&&(d=t-o);var g=e.height;g==null&&r!=null&&(g=r-s);var p;d!=null&&(i==="break"||i==="breakAll")?p=n?u0(n,e.font,d,i==="breakAll",0).lines:[]:p=n?n.split(`
26
- `):[];var B=p.length*c;if(g==null&&(g=B),B>g&&h){var m=Math.floor(g/c);v=v||p.length>m,p=p.slice(0,m),B=p.length*c}if(n&&u&&d!=null)for(var y=o0(d,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),_={},C=0;C<p.length;C++)s0(_,p[C],y),p[C]=_.textLine,v=v||_.isTruncated;for(var Q=g,x=0,F=OA(l),C=0;C<p.length;C++)x=Math.max(RA(F,p[C]),x);d==null&&(d=x);var S=d;return Q+=s,S+=o,{lines:p,height:g,outerWidth:S,outerHeight:Q,lineHeight:c,calculatedLineHeight:f,contentWidth:x,contentHeight:B,width:d,isTruncated:v}}var cE=(function(){function A(){}return A})(),l0=(function(){function A(e){this.tokens=[],e&&(this.tokens=e)}return A})(),hE=(function(){function A(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return A})();function vE(A,e,t,r,n){var i=new hE,a=Hc(A);if(!a)return i;var o=e.padding,s=o?o[1]+o[3]:0,l=o?o[0]+o[2]:0,u=e.width;u==null&&t!=null&&(u=t-s);var f=e.height;f==null&&r!=null&&(f=r-l);for(var c=e.overflow,h=(c==="break"||c==="breakAll")&&u!=null?{width:u,accumWidth:0,breakAll:c==="breakAll"}:null,v=Lc.lastIndex=0,d;(d=Lc.exec(a))!=null;){var g=d.index;g>v&&Mc(i,a.substring(v,g),e,h),Mc(i,d[2],e,h,d[1]),v=Lc.lastIndex}v<a.length&&Mc(i,a.substring(v,a.length),e,h);var p=[],B=0,m=0,y=c==="truncate",_=e.lineOverflow==="truncate",C={};function Q(N,ue,ie){N.width=ue,N.lineHeight=ie,B+=ie,m=Math.max(m,ue)}e:for(var x=0;x<i.lines.length;x++){for(var F=i.lines[x],S=0,E=0,I=0;I<F.tokens.length;I++){var U=F.tokens[I],T=U.styleName&&e.rich[U.styleName]||{},L=U.textPadding=T.padding,P=L?L[1]+L[3]:0,Z=U.font=T.font||e.font;U.contentHeight=Es(Z);var V=ve(T.height,U.contentHeight);if(U.innerHeight=V,L&&(V+=L[0]+L[2]),U.height=V,U.lineHeight=Cr(T.lineHeight,e.lineHeight,V),U.align=T&&T.align||n,U.verticalAlign=T&&T.verticalAlign||"middle",_&&f!=null&&B+U.lineHeight>f){var X=i.lines.length;I>0?(F.tokens=F.tokens.slice(0,I),Q(F,E,S),i.lines=i.lines.slice(0,x+1)):i.lines=i.lines.slice(0,x),i.isTruncated=i.isTruncated||i.lines.length<X;break e}var ee=T.width,te=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")U.percentWidth=ee,p.push(U),U.contentWidth=RA(OA(Z),U.text);else{if(te){var D=T.backgroundColor,M=D&&D.image;M&&(M=sE(M),Os(M)&&(U.width=Math.max(U.width,M.width*V/M.height)))}var H=y&&u!=null?u-E:null;H!=null&&H<U.width?!te||H<P?(U.text="",U.width=U.contentWidth=0):(lE(C,U.text,H-P,Z,e.ellipsis,{minChar:e.truncateMinChar}),U.text=C.text,i.isTruncated=i.isTruncated||C.isTruncated,U.width=U.contentWidth=RA(OA(Z),U.text)):U.contentWidth=RA(OA(Z),U.text)}U.width+=P,E+=U.width,T&&(S=Math.max(S,U.lineHeight))}Q(F,E,S)}i.outerWidth=i.width=ve(u,m),i.outerHeight=i.height=ve(f,B),i.contentHeight=B,i.contentWidth=m,i.outerWidth+=s,i.outerHeight+=l;for(var x=0;x<p.length;x++){var U=p[x],K=U.percentWidth;U.width=parseInt(K,10)/100*i.width}return i}function Mc(A,e,t,r,n){var i=e==="",a=n&&t.rich[n]||{},o=A.lines,s=a.font||t.font,l=!1,u,f;if(r){var c=a.padding,h=c?c[1]+c[3]:0;if(a.width!=null&&a.width!=="auto"){var v=Fr(a.width,r.width)+h;o.length>0&&v+r.accumWidth>r.width&&(u=e.split(`
25
+ `),A.isTruncated=o}function o0(A,e,t,r){r=r||{};var n=Y({},r);t=ve(t,"..."),n.maxIterations=ve(r.maxIterations,2);var i=n.minChar=ve(r.minChar,0),a=n.fontMeasureInfo=OA(e),o=a.asciiCharWidth;n.placeholder=ve(r.placeholder,"");for(var s=A=Math.max(0,A-1),l=0;l<i&&s>=o;l++)s-=o;var u=RA(a,t);return u>s&&(t="",u=0),s=A-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=A,n}function s0(A,e,t){var r=t.containerWidth,n=t.contentWidth,i=t.fontMeasureInfo;if(!r){A.textLine="",A.isTruncated=!1;return}var a=RA(i,e);if(a<=r){A.textLine=e,A.isTruncated=!1;return}for(var o=0;;o++){if(a<=n||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?uE(e,n,i):a>0?Math.floor(e.length*n/a):0;e=e.substr(0,s),a=RA(i,e)}e===""&&(e=t.placeholder),A.textLine=e,A.isTruncated=!0}function uE(A,e,t){for(var r=0,n=0,i=A.length;n<i&&r<e;n++)r+=Ig(t,A.charCodeAt(n));return n}function fE(A,e,t,r){var n=Mc(A),i=e.overflow,a=e.padding,o=a?a[1]+a[3]:0,s=a?a[0]+a[2]:0,l=e.font,u=i==="truncate",f=Fs(l),c=ve(e.lineHeight,f),h=e.lineOverflow==="truncate",v=!1,d=e.width;d==null&&t!=null&&(d=t-o);var g=e.height;g==null&&r!=null&&(g=r-s);var p;d!=null&&(i==="break"||i==="breakAll")?p=n?u0(n,e.font,d,i==="breakAll",0).lines:[]:p=n?n.split(`
26
+ `):[];var B=p.length*c;if(g==null&&(g=B),B>g&&h){var m=Math.floor(g/c);v=v||p.length>m,p=p.slice(0,m),B=p.length*c}if(n&&u&&d!=null)for(var y=o0(d,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),_={},C=0;C<p.length;C++)s0(_,p[C],y),p[C]=_.textLine,v=v||_.isTruncated;for(var Q=g,x=0,F=OA(l),C=0;C<p.length;C++)x=Math.max(RA(F,p[C]),x);d==null&&(d=x);var S=d;return Q+=s,S+=o,{lines:p,height:g,outerWidth:S,outerHeight:Q,lineHeight:c,calculatedLineHeight:f,contentWidth:x,contentHeight:B,width:d,isTruncated:v}}var cE=(function(){function A(){}return A})(),l0=(function(){function A(e){this.tokens=[],e&&(this.tokens=e)}return A})(),hE=(function(){function A(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return A})();function vE(A,e,t,r,n){var i=new hE,a=Mc(A);if(!a)return i;var o=e.padding,s=o?o[1]+o[3]:0,l=o?o[0]+o[2]:0,u=e.width;u==null&&t!=null&&(u=t-s);var f=e.height;f==null&&r!=null&&(f=r-l);for(var c=e.overflow,h=(c==="break"||c==="breakAll")&&u!=null?{width:u,accumWidth:0,breakAll:c==="breakAll"}:null,v=Dc.lastIndex=0,d;(d=Dc.exec(a))!=null;){var g=d.index;g>v&&Lc(i,a.substring(v,g),e,h),Lc(i,d[2],e,h,d[1]),v=Dc.lastIndex}v<a.length&&Lc(i,a.substring(v,a.length),e,h);var p=[],B=0,m=0,y=c==="truncate",_=e.lineOverflow==="truncate",C={};function Q(N,ue,ie){N.width=ue,N.lineHeight=ie,B+=ie,m=Math.max(m,ue)}e:for(var x=0;x<i.lines.length;x++){for(var F=i.lines[x],S=0,E=0,I=0;I<F.tokens.length;I++){var U=F.tokens[I],T=U.styleName&&e.rich[U.styleName]||{},L=U.textPadding=T.padding,P=L?L[1]+L[3]:0,Z=U.font=T.font||e.font;U.contentHeight=Fs(Z);var V=ve(T.height,U.contentHeight);if(U.innerHeight=V,L&&(V+=L[0]+L[2]),U.height=V,U.lineHeight=Cr(T.lineHeight,e.lineHeight,V),U.align=T&&T.align||n,U.verticalAlign=T&&T.verticalAlign||"middle",_&&f!=null&&B+U.lineHeight>f){var X=i.lines.length;I>0?(F.tokens=F.tokens.slice(0,I),Q(F,E,S),i.lines=i.lines.slice(0,x+1)):i.lines=i.lines.slice(0,x),i.isTruncated=i.isTruncated||i.lines.length<X;break e}var ee=T.width,te=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")U.percentWidth=ee,p.push(U),U.contentWidth=RA(OA(Z),U.text);else{if(te){var D=T.backgroundColor,M=D&&D.image;M&&(M=sE(M),Hs(M)&&(U.width=Math.max(U.width,M.width*V/M.height)))}var H=y&&u!=null?u-E:null;H!=null&&H<U.width?!te||H<P?(U.text="",U.width=U.contentWidth=0):(lE(C,U.text,H-P,Z,e.ellipsis,{minChar:e.truncateMinChar}),U.text=C.text,i.isTruncated=i.isTruncated||C.isTruncated,U.width=U.contentWidth=RA(OA(Z),U.text)):U.contentWidth=RA(OA(Z),U.text)}U.width+=P,E+=U.width,T&&(S=Math.max(S,U.lineHeight))}Q(F,E,S)}i.outerWidth=i.width=ve(u,m),i.outerHeight=i.height=ve(f,B),i.contentHeight=B,i.contentWidth=m,i.outerWidth+=s,i.outerHeight+=l;for(var x=0;x<p.length;x++){var U=p[x],K=U.percentWidth;U.width=parseInt(K,10)/100*i.width}return i}function Lc(A,e,t,r,n){var i=e==="",a=n&&t.rich[n]||{},o=A.lines,s=a.font||t.font,l=!1,u,f;if(r){var c=a.padding,h=c?c[1]+c[3]:0;if(a.width!=null&&a.width!=="auto"){var v=Fr(a.width,r.width)+h;o.length>0&&v+r.accumWidth>r.width&&(u=e.split(`
27
27
  `),l=!0),r.accumWidth=v}else{var d=u0(e,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=d.accumWidth+h,f=d.linesWidths,u=d.lines}}u||(u=e.split(`
28
- `));for(var g=OA(s),p=0;p<u.length;p++){var B=u[p],m=new cE;if(m.styleName=n,m.text=B,m.isLineHolder=!B&&!i,typeof a.width=="number"?m.width=a.width:m.width=f?f[p]:RA(g,B),!p&&!l){var y=(o[o.length-1]||(o[0]=new l0)).tokens,_=y.length;_===1&&y[0].isLineHolder?y[0]=m:(B||!_||i)&&y.push(m)}else o.push(new l0([m]))}}function dE(A){var e=A.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var pE=ni(",&?/;] ".split(""),function(A,e){return A[e]=!0,A},{});function gE(A){return dE(A)?!!pE[A]:!0}function u0(A,e,t,r,n){for(var i=[],a=[],o="",s="",l=0,u=0,f=OA(e),c=0;c<A.length;c++){var h=A.charAt(c);if(h===`
29
- `){s&&(o+=s,u+=l),i.push(o),a.push(u),o="",s="",l=0,u=0;continue}var v=Ig(f,h.charCodeAt(0)),d=r?!1:!gE(h);if(i.length?u+v>t:n+u+v>t){u?(o||s)&&(d?(o||(o=s,s="",l=0,u=l),i.push(o),a.push(u-l),s+=h,l+=v,o="",u=l):(s&&(o+=s,s="",l=0),i.push(o),a.push(u),o=h,u=v)):d?(i.push(s),a.push(l),s=h,l=v):(i.push(h),a.push(v));continue}u+=v,d?(s+=h,l+=v):(s&&(o+=s,s="",l=0),o+=h)}return s&&(o+=s),o&&(i.push(o),a.push(u)),i.length===1&&(u+=n),{accumWidth:u,lines:i,linesWidths:a}}function f0(A,e,t,r,n,i){if(A.baseX=t,A.baseY=r,A.outerWidth=A.outerHeight=null,!!e){var a=e.width*2,o=e.height*2;Fe.set(c0,Ci(t,a,n),dn(r,o,i),a,o),Fe.intersect(e,c0,null,h0);var s=h0.outIntersectRect;A.outerWidth=s.width,A.outerHeight=s.height,A.baseX=Ci(s.x,s.width,n,!0),A.baseY=dn(s.y,s.height,i,!0)}}var c0=new Fe(0,0,0,0),h0={outIntersectRect:{},clamp:!0};function Hc(A){return A!=null?A+="":A=""}function BE(A){var e=Hc(A.text),t=A.font,r=RA(OA(t),e),n=Es(t);return Oc(A,r,n,null)}function Oc(A,e,t,r){var n=new Fe(Ci(A.x||0,e,A.textAlign),dn(A.y||0,t,A.textBaseline),e,t),i=r??(v0(A)?A.lineWidth:0);return i>0&&(n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i),n}function v0(A){var e=A.stroke;return e!=null&&e!=="none"&&A.lineWidth>0}var Rc="__zr_style_"+Math.round(Math.random()*10),Bn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Rs={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Bn[Rc]=!0;var d0=["z","z2","invisible"],mE=["invisible"],Ma=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype._init=function(t){for(var r=Xe(t),n=0;n<r.length;n++){var i=r[n];i==="style"?this.useStyle(t[i]):A.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,r,n,i){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&yE(this,t,r)||a&&!a[0]&&!a[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1}if(i&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},e.prototype.contain=function(t,r){return this.rectContain(t,r)},e.prototype.traverse=function(t,r){t.call(r,this)},e.prototype.rectContain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,n=this.getBoundingRect(),i=this.style,a=i.shadowBlur||0,o=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Fe(0,0,0,0)),r?Fe.applyTransform(t,n,r):t.copy(n),(a||o||s)&&(t.width+=a*2+Math.abs(o),t.height+=a*2+Math.abs(s),t.x=Math.min(t.x,t.x+o-a),t.y=Math.min(t.y,t.y+s-a));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+l*2),t.height=Math.ceil(t.height+1+l*2))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Fe(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(t,r){t!=="style"?A.prototype.attrKV.call(this,t,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,r){return typeof t=="string"?this.style[t]=r:Y(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=Ca,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&Ca)},e.prototype.styleUpdated=function(){this.__dirty&=~Ca},e.prototype.createStyle=function(t){return ns(Bn,t)},e.prototype.useStyle=function(t){t[Rc]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Rc]},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,r,d0)},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.style?a?i?l=r.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,r.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(l,r.style)):s&&(l=n.style),l)if(a){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var f=Xe(u),c=0;c<f.length;c++){var h=f[c];h in l&&(l[h]=l[h],this.style[h]=u[h])}for(var v=Xe(l),c=0;c<v.length;c++){var h=v[c];this.style[h]=this.style[h]}this._transitionState(t,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);for(var d=this.__inHover?mE:d0,c=0;c<d.length;c++){var h=d[c];r&&r[h]!=null?this[h]=r[h]:s&&n[h]!=null&&(this[h]=n[h])}},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,r){return Y(t,r),t},e.prototype.getAnimationStyleProps=function(){return Rs},e.initDefaultProps=(function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=Zt|Ca})(),e})(Us),Nc=new Fe(0,0,0,0),Pc=new Fe(0,0,0,0);function yE(A,e,t){return Nc.copy(A.getBoundingRect()),A.transform&&Nc.applyTransform(A.transform),Pc.width=e,Pc.height=t,!Nc.intersect(Pc)}var iA=Math.min,aA=Math.max,kc=Math.sin,Vc=Math.cos,mn=Math.PI*2,Ns=si(),Ps=si(),ks=si();function p0(A,e,t,r,n,i){n[0]=iA(A,t),n[1]=iA(e,r),i[0]=aA(A,t),i[1]=aA(e,r)}var g0=[],B0=[];function wE(A,e,t,r,n,i,a,o,s,l){var u=og,f=ct,c=u(A,t,n,a,g0);s[0]=1/0,s[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var h=0;h<c;h++){var v=f(A,t,n,a,g0[h]);s[0]=iA(v,s[0]),l[0]=aA(v,l[0])}c=u(e,r,i,o,B0);for(var h=0;h<c;h++){var d=f(e,r,i,o,B0[h]);s[1]=iA(d,s[1]),l[1]=aA(d,l[1])}s[0]=iA(A,s[0]),l[0]=aA(A,l[0]),s[0]=iA(a,s[0]),l[0]=aA(a,l[0]),s[1]=iA(e,s[1]),l[1]=aA(e,l[1]),s[1]=iA(o,s[1]),l[1]=aA(o,l[1])}function CE(A,e,t,r,n,i,a,o){var s=ug,l=Qt,u=aA(iA(s(A,t,n),1),0),f=aA(iA(s(e,r,i),1),0),c=l(A,t,n,u),h=l(e,r,i,f);a[0]=iA(A,n,c),a[1]=iA(e,i,h),o[0]=aA(A,n,c),o[1]=aA(e,i,h)}function _E(A,e,t,r,n,i,a,o,s){var l=ui,u=fi,f=Math.abs(n-i);if(f%mn<1e-4&&f>1e-4){o[0]=A-t,o[1]=e-r,s[0]=A+t,s[1]=e+r;return}if(Ns[0]=Vc(n)*t+A,Ns[1]=kc(n)*r+e,Ps[0]=Vc(i)*t+A,Ps[1]=kc(i)*r+e,l(o,Ns,Ps),u(s,Ns,Ps),n=n%mn,n<0&&(n=n+mn),i=i%mn,i<0&&(i=i+mn),n>i&&!a?i+=mn:n<i&&a&&(n+=mn),a){var c=i;i=n,n=c}for(var h=0;h<i;h+=Math.PI/2)h>n&&(ks[0]=Vc(h)*t+A,ks[1]=kc(h)*r+e,l(o,ks,o),u(s,ks,s))}var Pe={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},yn=[],wn=[],KA=[],Er=[],GA=[],zA=[],Kc=Math.min,Gc=Math.max,Cn=Math.cos,_n=Math.sin,or=Math.abs,zc=Math.PI,br=zc*2,Wc=typeof Float32Array<"u",Ha=[];function Yc(A){var e=Math.round(A/zc*1e8)/1e8;return e%2*zc}function QE(A,e){var t=Yc(A[0]);t<0&&(t+=br);var r=t-A[0],n=A[1];n+=r,!e&&n-t>=br?n=t+br:e&&t-n>=br?n=t-br:!e&&t>n?n=t+(br-Yc(t-n)):e&&t<n&&(n=t-(br-Yc(n-t))),A[0]=t,A[1]=n}var Sr=(function(){function A(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return A.prototype.increaseVersion=function(){this._version++},A.prototype.getVersion=function(){return this._version},A.prototype.setScale=function(e,t,r){r=r||0,r>0&&(this._ux=or(r/Qs/e)||0,this._uy=or(r/Qs/t)||0)},A.prototype.setDPR=function(e){this.dpr=e},A.prototype.setContext=function(e){this._ctx=e},A.prototype.getContext=function(){return this._ctx},A.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},A.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},A.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Pe.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},A.prototype.lineTo=function(e,t){var r=or(e-this._xi),n=or(t-this._yi),i=r>this._ux||n>this._uy;if(this.addData(Pe.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=r*r+n*n;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},A.prototype.bezierCurveTo=function(e,t,r,n,i,a){return this._drawPendingPt(),this.addData(Pe.C,e,t,r,n,i,a),this._ctx&&this._ctx.bezierCurveTo(e,t,r,n,i,a),this._xi=i,this._yi=a,this},A.prototype.quadraticCurveTo=function(e,t,r,n){return this._drawPendingPt(),this.addData(Pe.Q,e,t,r,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,r,n),this._xi=r,this._yi=n,this},A.prototype.arc=function(e,t,r,n,i,a){this._drawPendingPt(),Ha[0]=n,Ha[1]=i,QE(Ha,a),n=Ha[0],i=Ha[1];var o=i-n;return this.addData(Pe.A,e,t,r,r,n,o,0,a?0:1),this._ctx&&this._ctx.arc(e,t,r,n,i,a),this._xi=Cn(i)*r+e,this._yi=_n(i)*r+t,this},A.prototype.arcTo=function(e,t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,r,n,i),this},A.prototype.rect=function(e,t,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,r,n),this.addData(Pe.R,e,t,r,n),this},A.prototype.closePath=function(){this._drawPendingPt(),this.addData(Pe.Z);var e=this._ctx,t=this._x0,r=this._y0;return e&&e.closePath(),this._xi=t,this._yi=r,this},A.prototype.fill=function(e){e&&e.fill(),this.toStatic()},A.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},A.prototype.len=function(){return this._len},A.prototype.setData=function(e){if(this._saveData){var t=e.length;!(this.data&&this.data.length===t)&&Wc&&(this.data=new Float32Array(t));for(var r=0;r<t;r++)this.data[r]=e[r];this._len=t}},A.prototype.appendPath=function(e){if(this._saveData){e instanceof Array||(e=[e]);for(var t=e.length,r=0,n=this._len,i=0;i<t;i++)r+=e[i].len();var a=this.data;if(Wc&&(a instanceof Float32Array||!a)&&(this.data=new Float32Array(n+r),n>0&&a))for(var o=0;o<n;o++)this.data[o]=a[o];for(var i=0;i<t;i++)for(var s=e[i].data,o=0;o<s.length;o++)this.data[n++]=s[o];this._len=n}},A.prototype.addData=function(e,t,r,n,i,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var f=0;f<arguments.length;f++)u[this._len++]=arguments[f]}},A.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},A.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},A.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,Wc&&this._len>11&&(this.data=new Float32Array(e)))}},A.prototype.getBoundingRect=function(){KA[0]=KA[1]=GA[0]=GA[1]=Number.MAX_VALUE,Er[0]=Er[1]=zA[0]=zA[1]=-Number.MAX_VALUE;var e=this.data,t=0,r=0,n=0,i=0,a;for(a=0;a<this._len;){var o=e[a++],s=a===1;switch(s&&(t=e[a],r=e[a+1],n=t,i=r),o){case Pe.M:t=n=e[a++],r=i=e[a++],GA[0]=n,GA[1]=i,zA[0]=n,zA[1]=i;break;case Pe.L:p0(t,r,e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.C:wE(t,r,e[a++],e[a++],e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.Q:CE(t,r,e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.A:var l=e[a++],u=e[a++],f=e[a++],c=e[a++],h=e[a++],v=e[a++]+h;a+=1;var d=!e[a++];s&&(n=Cn(h)*f+l,i=_n(h)*c+u),_E(l,u,f,c,h,v,d,GA,zA),t=Cn(v)*f+l,r=_n(v)*c+u;break;case Pe.R:n=t=e[a++],i=r=e[a++];var g=e[a++],p=e[a++];p0(n,i,n+g,i+p,GA,zA);break;case Pe.Z:t=n,r=i;break}ui(KA,KA,GA),fi(Er,Er,zA)}return a===0&&(KA[0]=KA[1]=Er[0]=Er[1]=0),new Fe(KA[0],KA[1],Er[0]-KA[0],Er[1]-KA[1])},A.prototype._calculateLength=function(){var e=this.data,t=this._len,r=this._ux,n=this._uy,i=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,f=0,c=0;c<t;){var h=e[c++],v=c===1;v&&(i=e[c],a=e[c+1],o=i,s=a);var d=-1;switch(h){case Pe.M:i=o=e[c++],a=s=e[c++];break;case Pe.L:{var g=e[c++],p=e[c++],B=g-i,m=p-a;(or(B)>r||or(m)>n||c===t-1)&&(d=Math.sqrt(B*B+m*m),i=g,a=p);break}case Pe.C:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++],C=e[c++],Q=e[c++];d=Xx(i,a,y,_,g,p,C,Q,10),i=C,a=Q;break}case Pe.Q:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++];d=Jx(i,a,y,_,g,p,10),i=g,a=p;break}case Pe.A:var x=e[c++],F=e[c++],S=e[c++],E=e[c++],I=e[c++],U=e[c++],T=U+I;c+=1,v&&(o=Cn(I)*S+x,s=_n(I)*E+F),d=Gc(S,E)*Kc(br,Math.abs(U)),i=Cn(T)*S+x,a=_n(T)*E+F;break;case Pe.R:{o=i=e[c++],s=a=e[c++];var L=e[c++],P=e[c++];d=L*2+P*2;break}case Pe.Z:{var B=o-i,m=s-a;d=Math.sqrt(B*B+m*m),i=o,a=s;break}}d>=0&&(l[f++]=d,u+=d)}return this._pathLen=u,u},A.prototype.rebuildPath=function(e,t){var r=this.data,n=this._ux,i=this._uy,a=this._len,o,s,l,u,f,c,h=t<1,v,d,g=0,p=0,B,m=0,y,_;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,d=this._pathLen,B=t*d,!B)))e:for(var C=0;C<a;){var Q=r[C++],x=C===1;switch(x&&(l=r[C],u=r[C+1],o=l,s=u),Q!==Pe.L&&m>0&&(e.lineTo(y,_),m=0),Q){case Pe.M:o=l=r[C++],s=u=r[C++],e.moveTo(l,u);break;case Pe.L:{f=r[C++],c=r[C++];var F=or(f-l),S=or(c-u);if(F>n||S>i){if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+f*I,u*(1-I)+c*I);break e}g+=E}e.lineTo(f,c),l=f,u=c,m=0}else{var U=F*F+S*S;U>m&&(y=f,_=c,m=U)}break}case Pe.C:{var T=r[C++],L=r[C++],P=r[C++],Z=r[C++],V=r[C++],X=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;cs(l,T,P,V,I,yn),cs(u,L,Z,X,I,wn),e.bezierCurveTo(yn[1],wn[1],yn[2],wn[2],yn[3],wn[3]);break e}g+=E}e.bezierCurveTo(T,L,P,Z,V,X),l=V,u=X;break}case Pe.Q:{var T=r[C++],L=r[C++],P=r[C++],Z=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;hs(l,T,P,I,yn),hs(u,L,Z,I,wn),e.quadraticCurveTo(yn[1],wn[1],yn[2],wn[2]);break e}g+=E}e.quadraticCurveTo(T,L,P,Z),l=P,u=Z;break}case Pe.A:var ee=r[C++],te=r[C++],D=r[C++],M=r[C++],H=r[C++],K=r[C++],N=r[C++],ue=!r[C++],ie=D>M?D:M,Se=or(D-M)>.001,He=H+K,G=!1;if(h){var E=v[p++];g+E>B&&(He=H+K*(B-g)/E,G=!0),g+=E}if(Se&&e.ellipse?e.ellipse(ee,te,D,M,N,H,He,ue):e.arc(ee,te,ie,H,He,ue),G)break e;x&&(o=Cn(H)*D+ee,s=_n(H)*M+te),l=Cn(He)*D+ee,u=_n(He)*M+te;break;case Pe.R:o=l=r[C],s=u=r[C+1],f=r[C++],c=r[C++];var de=r[C++],De=r[C++];if(h){var E=v[p++];if(g+E>B){var st=B-g;e.moveTo(f,c),e.lineTo(f+Kc(st,de),c),st-=de,st>0&&e.lineTo(f+de,c+Kc(st,De)),st-=De,st>0&&e.lineTo(f+Gc(de-st,0),c+De),st-=de,st>0&&e.lineTo(f,c+Gc(De-st,0));break e}g+=E}e.rect(f,c,de,De);break;case Pe.Z:if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+o*I,u*(1-I)+s*I);break e}g+=E}e.closePath(),l=o,u=s}}},A.prototype.clone=function(){var e=new A,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},A.prototype.canSave=function(){return!!this._saveData},A.CMD=Pe,A.initDefaultProps=(function(){var e=A.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0})(),A})();function Fi(A,e,t,r,n,i,a){if(n===0)return!1;var o=n,s=0,l=A;if(a>e+o&&a>r+o||a<e-o&&a<r-o||i>A+o&&i>t+o||i<A-o&&i<t-o)return!1;if(A!==t)s=(e-r)/(A-t),l=(A*r-t*e)/(A-t);else return Math.abs(i-A)<=o/2;var u=s*i-a+l,f=u*u/(s*s+1);return f<=o/2*o/2}function xE(A,e,t,r,n,i,a,o,s,l,u){if(s===0)return!1;var f=s;if(u>e+f&&u>r+f&&u>i+f&&u>o+f||u<e-f&&u<r-f&&u<i-f&&u<o-f||l>A+f&&l>t+f&&l>n+f&&l>a+f||l<A-f&&l<t-f&&l<n-f&&l<a-f)return!1;var c=sg(A,e,t,r,n,i,a,o,l,u,null);return c<=f/2}function FE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;if(s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l||o>A+l&&o>t+l&&o>n+l||o<A-l&&o<t-l&&o<n-l)return!1;var u=fg(A,e,t,r,n,i,o,s,null);return u<=l/2}var m0=Math.PI*2;function sr(A){return A%=m0,A<0&&(A+=m0),A}var Oa=Math.PI*2;function EE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;o-=A,s-=e;var u=Math.sqrt(o*o+s*s);if(u-l>t||u+l<t)return!1;if(Math.abs(r-n)%Oa<1e-4)return!0;if(i){var f=r;r=sr(n),n=sr(f)}else r=sr(r),n=sr(n);r>n&&(n+=Oa);var c=Math.atan2(s,o);return c<0&&(c+=Oa),c>=r&&c<=n||c+Oa>=r&&c+Oa<=n}function Qn(A,e,t,r,n,i){if(i>e&&i>r||i<e&&i<r||r===e)return 0;var a=(i-e)/(r-e),o=r<e?1:-1;(a===1||a===0)&&(o=r<e?.5:-.5);var s=a*(t-A)+A;return s===n?1/0:s>n?o:0}var Ur=Sr.CMD,xn=Math.PI*2,bE=1e-4;function SE(A,e){return Math.abs(A-e)<bE}var Ht=[-1,-1,-1],oA=[-1,-1];function UE(){var A=oA[0];oA[0]=oA[1],oA[1]=A}function IE(A,e,t,r,n,i,a,o,s,l){if(l>e&&l>r&&l>i&&l>o||l<e&&l<r&&l<i&&l<o)return 0;var u=fs(e,r,i,o,l,Ht);if(u===0)return 0;for(var f=0,c=-1,h=void 0,v=void 0,d=0;d<u;d++){var g=Ht[d],p=g===0||g===1?.5:1,B=ct(A,t,n,a,g);B<s||(c<0&&(c=og(e,r,i,o,oA),oA[1]<oA[0]&&c>1&&UE(),h=ct(e,r,i,o,oA[0]),c>1&&(v=ct(e,r,i,o,oA[1]))),c===2?g<oA[0]?f+=h<e?p:-p:g<oA[1]?f+=v<h?p:-p:f+=o<v?p:-p:g<oA[0]?f+=h<e?p:-p:f+=o<h?p:-p)}return f}function TE(A,e,t,r,n,i,a,o){if(o>e&&o>r&&o>i||o<e&&o<r&&o<i)return 0;var s=Zx(e,r,i,o,Ht);if(s===0)return 0;var l=ug(e,r,i);if(l>=0&&l<=1){for(var u=0,f=Qt(e,r,i,l),c=0;c<s;c++){var h=Ht[c]===0||Ht[c]===1?.5:1,v=Qt(A,t,n,Ht[c]);v<a||(Ht[c]<l?u+=f<e?h:-h:u+=i<f?h:-h)}return u}else{var h=Ht[0]===0||Ht[0]===1?.5:1,v=Qt(A,t,n,Ht[0]);return v<a?0:i<e?h:-h}}function DE(A,e,t,r,n,i,a,o){if(o-=e,o>t||o<-t)return 0;var s=Math.sqrt(t*t-o*o);Ht[0]=-s,Ht[1]=s;var l=Math.abs(r-n);if(l<1e-4)return 0;if(l>=xn-1e-4){r=0,n=xn;var u=i?1:-1;return a>=Ht[0]+A&&a<=Ht[1]+A?u:0}if(r>n){var f=r;r=n,n=f}r<0&&(r+=xn,n+=xn);for(var c=0,h=0;h<2;h++){var v=Ht[h];if(v+A>a){var d=Math.atan2(o,v),u=i?1:-1;d<0&&(d=xn+d),(d>=r&&d<=n||d+xn>=r&&d+xn<=n)&&(d>Math.PI/2&&d<Math.PI*1.5&&(u=-u),c+=u)}}return c}function y0(A,e,t,r,n){for(var i=A.data,a=A.len(),o=0,s=0,l=0,u=0,f=0,c,h,v=0;v<a;){var d=i[v++],g=v===1;switch(d===Ur.M&&v>1&&(t||(o+=Qn(s,l,u,f,r,n))),g&&(s=i[v],l=i[v+1],u=s,f=l),d){case Ur.M:u=i[v++],f=i[v++],s=u,l=f;break;case Ur.L:if(t){if(Fi(s,l,i[v],i[v+1],e,r,n))return!0}else o+=Qn(s,l,i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.C:if(t){if(xE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=IE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.Q:if(t){if(FE(s,l,i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=TE(s,l,i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.A:var p=i[v++],B=i[v++],m=i[v++],y=i[v++],_=i[v++],C=i[v++];v+=1;var Q=!!(1-i[v++]);c=Math.cos(_)*m+p,h=Math.sin(_)*y+B,g?(u=c,f=h):o+=Qn(s,l,c,h,r,n);var x=(r-p)*y/m+p;if(t){if(EE(p,B,y,_,_+C,Q,e,x,n))return!0}else o+=DE(p,B,y,_,_+C,Q,x,n);s=Math.cos(_+C)*m+p,l=Math.sin(_+C)*y+B;break;case Ur.R:u=s=i[v++],f=l=i[v++];var F=i[v++],S=i[v++];if(c=u+F,h=f+S,t){if(Fi(u,f,c,f,e,r,n)||Fi(c,f,c,h,e,r,n)||Fi(c,h,u,h,e,r,n)||Fi(u,h,u,f,e,r,n))return!0}else o+=Qn(c,f,c,h,r,n),o+=Qn(u,h,u,f,r,n);break;case Ur.Z:if(t){if(Fi(s,l,u,f,e,r,n))return!0}else o+=Qn(s,l,u,f,r,n);s=u,l=f;break}}return!t&&!SE(l,f)&&(o+=Qn(s,l,u,f,r,n)||0),o!==0}function LE(A,e,t){return y0(A,0,!1,e,t)}function ME(A,e,t,r){return y0(A,e,!0,t,r)}var w0=Ne({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Bn),HE={style:Ne({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Rs.style)},Xc=Ea.concat(["invisible","culling","z","z2","zlevel","parent"]),ke=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.update=function(){var t=this;A.prototype.update.call(this);var r=this.style;if(r.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(s){t.buildPath(s,t.shape)}),n.silent=!0;var i=n.style;for(var a in r)i[a]!==r[a]&&(i[a]=r[a]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var o=0;o<Xc.length;++o)n[Xc[o]]=this[Xc[o]];n.__dirty|=Zt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(t){var r=Xe(t);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var a=r[i],o=t[a];a==="style"?this.style?Y(this.style,o):this.useStyle(o):a==="shape"?Y(this.shape,o):A.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(le(t)){var r=ps(t,0);return r>.5?gc:r>.2?gF:Bc}else if(t)return Bc}return gc},e.prototype.getInsideTextStroke=function(t){var r=this.style.fill;if(le(r)){var n=this.__zr,i=!!(n&&n.isDarkMode()),a=ps(t,0)<pc;if(i===a)return r}},e.prototype.buildPath=function(t,r,n){},e.prototype.pathUpdated=function(){this.__dirty&=~pi},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Sr(!1)},e.prototype.hasStroke=function(){var t=this.style,r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,r=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var a=this.path;(i||this.__dirty&pi)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var s=r.strokeNoScale?this.getLineScale():1,l=r.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;l=Math.max(l,u??4)}s>1e-10&&(o.width+=l/s,o.height+=l/s,o.x-=l/s/2,o.y-=l/s/2)}return o}return t},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect(),a=this.style;if(t=n[0],r=n[1],i.contain(t,r)){var o=this.path;if(this.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),ME(o,s/l,t,r)))return!0}if(this.hasFill())return LE(o,t,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=pi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,r){t==="shape"?this.setShape(r):A.prototype.attrKV.call(this,t,r)},e.prototype.setShape=function(t,r){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=r:Y(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&pi)},e.prototype.createStyle=function(t){return ns(w0,t)},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.shape&&!r.shape&&(r.shape=Y({},this.shape))},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.shape?a?i?l=r.shape:(l=Y({},n.shape),Y(l,r.shape)):(l=Y({},i?this.shape:n.shape),Y(l,r.shape)):s&&(l=n.shape),l)if(a){this.shape=Y({},this.shape);for(var u={},f=Xe(l),c=0;c<f.length;c++){var h=f[c];typeof l[h]=="object"?this.shape[h]=l[h]:u[h]=l[h]}this._transitionState(t,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return HE},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=(function(i){J(a,i);function a(o){var s=i.call(this,o)||this;return t.init&&t.init.call(s,o),s}return a.prototype.getDefaultStyle=function(){return Ue(t.style)},a.prototype.getDefaultShape=function(){return Ue(t.shape)},a})(e);for(var n in t)typeof t[n]=="function"&&(r.prototype[n]=t[n]);return r},e.initDefaultProps=(function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=Zt|Ca|pi})(),e})(Ma),OE=Ne({strokeFirst:!0,font:wr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},w0),Vs=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.hasStroke=function(){return v0(this.style)},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(t){return ns(OE,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=BE(this.style)),this._rect},e.initDefaultProps=(function(){var t=e.prototype;t.dirtyRectTolerance=10})(),e})(Ma);Vs.prototype.type="tspan";var RE=Ne({x:0,y:0},Bn),NE={style:Ne({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Rs.style)};function PE(A){return!!(A&&typeof A!="string"&&A.width&&A.height)}var Ir=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return ns(RE,t)},e.prototype._getSize=function(t){var r=this.style,n=r[t];if(n!=null)return n;var i=PE(r.image)?r.image:this.__image;if(!i)return 0;var a=t==="width"?"height":"width",o=r[a];return o==null?i[t]:i[t]/i[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return NE},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Fe(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e})(Ma);Ir.prototype.type="image";function kE(A,e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.r,o,s,l,u;n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),typeof a=="number"?o=s=l=u=a:a instanceof Array?a.length===1?o=s=l=u=a[0]:a.length===2?(o=l=a[0],s=u=a[1]):a.length===3?(o=a[0],s=u=a[1],l=a[2]):(o=a[0],s=a[1],l=a[2],u=a[3]):o=s=l=u=0;var f;o+s>n&&(f=o+s,o*=n/f,s*=n/f),l+u>n&&(f=l+u,l*=n/f,u*=n/f),s+l>i&&(f=s+l,s*=i/f,l*=i/f),o+u>i&&(f=o+u,o*=i/f,u*=i/f),A.moveTo(t+o,r),A.lineTo(t+n-s,r),s!==0&&A.arc(t+n-s,r+s,s,-Math.PI/2,0),A.lineTo(t+n,r+i-l),l!==0&&A.arc(t+n-l,r+i-l,l,0,Math.PI/2),A.lineTo(t+u,r+i),u!==0&&A.arc(t+u,r+i-u,u,Math.PI/2,Math.PI),A.lineTo(t,r+o),o!==0&&A.arc(t+o,r+o,o,Math.PI,Math.PI*1.5)}var Ei=Math.round;function C0(A,e,t){if(e){var r=e.x1,n=e.x2,i=e.y1,a=e.y2;A.x1=r,A.x2=n,A.y1=i,A.y2=a;var o=t&&t.lineWidth;return o&&(Ei(r*2)===Ei(n*2)&&(A.x1=A.x2=Fn(r,o,!0)),Ei(i*2)===Ei(a*2)&&(A.y1=A.y2=Fn(i,o,!0))),A}}function _0(A,e,t){if(e){var r=e.x,n=e.y,i=e.width,a=e.height;A.x=r,A.y=n,A.width=i,A.height=a;var o=t&&t.lineWidth;return o&&(A.x=Fn(r,o,!0),A.y=Fn(n,o,!0),A.width=Math.max(Fn(r+i,o,!1)-A.x,i===0?0:1),A.height=Math.max(Fn(n+a,o,!1)-A.y,a===0?0:1)),A}}function Fn(A,e,t){if(!e)return A;var r=Ei(A*2);return(r+Ei(e))%2===0?r/2:(r+(t?1:-1))/2}var VE=(function(){function A(){this.x=0,this.y=0,this.width=0,this.height=0}return A})(),KE={},qe=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new VE},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=_0(KE,r,this.style);n=s.x,i=s.y,a=s.width,o=s.height,s.r=r.r,r=s}else n=r.x,i=r.y,a=r.width,o=r.height;r.r?kE(t,r):t.rect(n,i,a,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e})(ke);qe.prototype.type="rect";var Q0={fill:"#000"},x0=2,WA={},GE={style:Ne({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Rs.style)},Ot=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=Q0,r.attr(t),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){A.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var r=this._children[t];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):A.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(t){var r=this.innerTransformable;return r?r.getLocalTransform(t):A.prototype.getLocalTransform.call(this,t)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),A.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,ZE(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=t},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Fe(0,0,0,0),r=this._children,n=[],i=null,a=0;a<r.length;a++){var o=r[a],s=o.getBoundingRect(),l=o.getLocalTransform(n);l?(t.copy(s),t.applyTransform(l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Q0},e.prototype.setTextContent=function(t){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,r){if(!r)return t;var n=r.rich,i=t.rich||n&&{};return Y(t,r),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,r){for(var n=Xe(r),i=0;i<n.length;i++){var a=n[i];t[a]=t[a]||{},Y(t[a],r[a])}},e.prototype.getAnimationStyleProps=function(){return GE},e.prototype._getOrCreateChild=function(t){var r=this._children[this._childCursor];return(!r||!(r instanceof t))&&(r=new t),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var t=this.style,r=t.font||wr,n=t.padding,i=this._defaultStyle,a=t.x||0,o=t.y||0,s=t.align||i.align||"left",l=t.verticalAlign||i.verticalAlign||"top";f0(WA,i.overflowRect,a,o,s,l),a=WA.baseX,o=WA.baseY;var u=T0(t),f=fE(u,t,WA.outerWidth,WA.outerHeight),c=Zc(t),h=!!t.backgroundColor,v=f.outerHeight,d=f.outerWidth,g=f.lines,p=f.lineHeight;this.isTruncated=!!f.isTruncated;var B=a,m=dn(o,f.contentHeight,l);if(c||n){var y=Ci(a,d,s),_=dn(o,v,l);c&&this._renderBackground(t,t,y,_,d,v)}m+=p/2,n&&(B=I0(a,s,n),l==="top"?m+=n[0]:l==="bottom"&&(m-=n[2]));for(var C=0,Q=!1,x=!1,F=U0("fill"in t?t.fill:(x=!0,i.fill)),S=S0("stroke"in t?t.stroke:!h&&(!i.autoStroke||x)?(C=x0,Q=!0,i.stroke):null),E=t.textShadowBlur>0,I=0;I<g.length;I++){var U=this._getOrCreateChild(Vs),T=U.createStyle();U.useStyle(T),T.text=g[I],T.x=B,T.y=m,T.textAlign=s,T.textBaseline="middle",T.opacity=t.opacity,T.strokeFirst=!0,E&&(T.shadowBlur=t.textShadowBlur||0,T.shadowColor=t.textShadowColor||"transparent",T.shadowOffsetX=t.textShadowOffsetX||0,T.shadowOffsetY=t.textShadowOffsetY||0),T.stroke=S,T.fill=F,S&&(T.lineWidth=t.lineWidth||C,T.lineDash=t.lineDash,T.lineDashOffset=t.lineDashOffset||0),T.font=r,E0(T,t),m+=p,U.setBoundingRect(Oc(T,f.contentWidth,f.calculatedLineHeight,Q?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,r=this._defaultStyle,n=t.align||r.align,i=t.verticalAlign||r.verticalAlign,a=t.x||0,o=t.y||0;f0(WA,r.overflowRect,a,o,n,i),a=WA.baseX,o=WA.baseY;var s=T0(t),l=vE(s,t,WA.outerWidth,WA.outerHeight,n),u=l.width,f=l.outerWidth,c=l.outerHeight,h=t.padding;this.isTruncated=!!l.isTruncated;var v=Ci(a,f,n),d=dn(o,c,i),g=v,p=d;h&&(g+=h[3],p+=h[0]);var B=g+u;Zc(t)&&this._renderBackground(t,t,v,d,f,c);for(var m=!!t.backgroundColor,y=0;y<l.lines.length;y++){for(var _=l.lines[y],C=_.tokens,Q=C.length,x=_.lineHeight,F=_.width,S=0,E=g,I=B,U=Q-1,T=void 0;S<Q&&(T=C[S],!T.align||T.align==="left");)this._placeToken(T,t,x,p,E,"left",m),F-=T.width,E+=T.width,S++;for(;U>=0&&(T=C[U],T.align==="right");)this._placeToken(T,t,x,p,I,"right",m),F-=T.width,I-=T.width,U--;for(E+=(u-(E-g)-(B-I)-F)/2;S<=U;)T=C[S],this._placeToken(T,t,x,p,E+T.width/2,"center",m),E+=T.width,S++;p+=x}},e.prototype._placeToken=function(t,r,n,i,a,o,s){var l=r.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,f=i+n/2;u==="top"?f=i+t.height/2:u==="bottom"&&(f=i+n-t.height/2);var c=!t.isLineHolder&&Zc(l);c&&this._renderBackground(l,r,o==="right"?a-t.width:o==="center"?a-t.width/2:a,f-t.height/2,t.width,t.height);var h=!!l.backgroundColor,v=t.textPadding;v&&(a=I0(a,o,v),f-=t.height/2-v[0]-t.innerHeight/2);var d=this._getOrCreateChild(Vs),g=d.createStyle();d.useStyle(g);var p=this._defaultStyle,B=!1,m=0,y=!1,_=U0("fill"in l?l.fill:"fill"in r?r.fill:(B=!0,p.fill)),C=S0("stroke"in l?l.stroke:"stroke"in r?r.stroke:!h&&!s&&(!p.autoStroke||B)?(m=x0,y=!0,p.stroke):null),Q=l.textShadowBlur>0||r.textShadowBlur>0;g.text=t.text,g.x=a,g.y=f,Q&&(g.shadowBlur=l.textShadowBlur||r.textShadowBlur||0,g.shadowColor=l.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||wr,g.opacity=Cr(l.opacity,r.opacity,1),E0(g,l),C&&(g.lineWidth=Cr(l.lineWidth,r.lineWidth,m),g.lineDash=ve(l.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=C),_&&(g.fill=_),d.setBoundingRect(Oc(g,t.contentWidth,t.contentHeight,y?0:null))},e.prototype._renderBackground=function(t,r,n,i,a,o){var s=t.backgroundColor,l=t.borderWidth,u=t.borderColor,f=s&&s.image,c=s&&!f,h=t.borderRadius,v=this,d,g;if(c||t.lineHeight||l&&u){d=this._getOrCreateChild(qe),d.useStyle(d.createStyle()),d.style.fill=null;var p=d.shape;p.x=n,p.y=i,p.width=a,p.height=o,p.r=h,d.dirtyShape()}if(c){var B=d.style;B.fill=s||null,B.fillOpacity=ve(t.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Ir),g.onload=function(){v.dirtyStyle()};var m=g.style;m.image=s.image,m.x=n,m.y=i,m.width=a,m.height=o}if(l&&u){var B=d.style;B.lineWidth=l,B.stroke=u,B.strokeOpacity=ve(t.strokeOpacity,1),B.lineDash=t.borderDash,B.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(B.strokeFirst=!0,B.lineWidth*=2)}var y=(d||g).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=Cr(t.opacity,r.opacity,1)},e.makeFont=function(t){var r="";return XE(t)&&(r=[t.fontStyle,t.fontWeight,YE(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),r&&LA(r)||t.textFont||t.font},e})(Ma),zE={left:!0,right:1,center:1},WE={top:1,bottom:1,middle:1},F0=["fontStyle","fontWeight","fontSize","fontFamily"];function YE(A){return typeof A=="string"&&(A.indexOf("px")!==-1||A.indexOf("rem")!==-1||A.indexOf("em")!==-1)?A:isNaN(+A)?Ef+"px":A+"px"}function E0(A,e){for(var t=0;t<F0.length;t++){var r=F0[t],n=e[r];n!=null&&(A[r]=n)}}function XE(A){return A.fontSize!=null||A.fontFamily||A.fontWeight}function ZE(A){return b0(A),b(A.rich,b0),A}function b0(A){if(A){A.font=Ot.makeFont(A);var e=A.align;e==="middle"&&(e="center"),A.align=e==null||zE[e]?e:"left";var t=A.verticalAlign;t==="center"&&(t="middle"),A.verticalAlign=t==null||WE[t]?t:"top";var r=A.padding;r&&(A.padding=If(A.padding))}}function S0(A,e){return A==null||e<=0||A==="transparent"||A==="none"?null:A.image||A.colorStops?"#000":A}function U0(A){return A==null||A==="none"?null:A.image||A.colorStops?"#000":A}function I0(A,e,t){return e==="right"?A-t[1]:e==="center"?A+t[3]/2-t[1]/2:A+t[3]}function T0(A){var e=A.text;return e!=null&&(e+=""),e}function Zc(A){return!!(A.backgroundColor||A.lineHeight||A.borderWidth&&A.borderColor)}var Le=ze(),JE=function(A,e,t,r){if(r){var n=Le(r);n.dataIndex=t,n.dataType=e,n.seriesIndex=A,n.ssrType="chart",r.type==="group"&&r.traverse(function(i){var a=Le(i);a.seriesIndex=A,a.dataIndex=t,a.dataType=e,a.ssrType="chart"})}},D0=1,L0={},M0=ze(),Jc=ze(),qc=0,Ks=1,Gs=2,sA=["emphasis","blur","select"],zs=["normal","emphasis","blur","select"],qE=10,$E=9,En="highlight",Ws="downplay",Ys="select",$c="unselect",Xs="toggleSelect",jc="selectchanged";function bi(A){return A!=null&&A!=="none"}function Zs(A,e,t){A.onHoverStateChange&&(A.hoverState||0)!==t&&A.onHoverStateChange(e),A.hoverState=t}function H0(A){Zs(A,"emphasis",Gs)}function O0(A){A.hoverState===Gs&&Zs(A,"normal",qc)}function eh(A){Zs(A,"blur",Ks)}function R0(A){A.hoverState===Ks&&Zs(A,"normal",qc)}function jE(A){A.selected=!0}function eb(A){A.selected=!1}function N0(A,e,t){e(A,t)}function lr(A,e,t){N0(A,e,t),A.isGroup&&A.traverse(function(r){N0(r,e,t)})}function P0(A,e){switch(e){case"emphasis":A.hoverState=Gs;break;case"normal":A.hoverState=qc;break;case"blur":A.hoverState=Ks;break;case"select":A.selected=!0}}function tb(A,e,t,r){for(var n=A.style,i={},a=0;a<e.length;a++){var o=e[a],s=n[o];i[o]=s??(r&&r[o])}for(var a=0;a<A.animators.length;a++){var l=A.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(t)<0&&l.targetName==="style"&&l.saveTo(i,e)}return i}function Ab(A,e,t,r){var n=t&&Te(t,"select")>=0,i=!1;if(A instanceof ke){var a=M0(A),o=n&&a.selectFill||a.normalFill,s=n&&a.selectStroke||a.normalStroke;if(bi(o)||bi(s)){r=r||{};var l=r.style||{};l.fill==="inherit"?(i=!0,r=Y({},r),l=Y({},l),l.fill=o):!bi(l.fill)&&bi(o)?(i=!0,r=Y({},r),l=Y({},l),l.fill=Bg(o)):!bi(l.stroke)&&bi(s)&&(i||(r=Y({},r),l=Y({},l)),l.stroke=Bg(s)),r.style=l}}if(r&&r.z2==null){i||(r=Y({},r));var u=A.z2EmphasisLift;r.z2=A.z2+(u??qE)}return r}function rb(A,e,t){if(t&&t.z2==null){t=Y({},t);var r=A.z2SelectLift;t.z2=A.z2+(r??$E)}return t}function nb(A,e,t){var r=Te(A.currentStates,e)>=0,n=A.style.opacity,i=r?null:tb(A,["opacity"],e,{opacity:1});t=t||{};var a=t.style||{};return a.opacity==null&&(t=Y({},t),a=Y({opacity:r?n:i.opacity*.1},a),t.style=a),t}function th(A,e){var t=this.states[A];if(this.style){if(A==="emphasis")return Ab(this,A,e,t);if(A==="blur")return nb(this,A,t);if(A==="select")return rb(this,A,t)}return t}function ib(A){A.stateProxy=th;var e=A.getTextContent(),t=A.getTextGuideLine();e&&(e.stateProxy=th),t&&(t.stateProxy=th)}function k0(A,e){!W0(A,e)&&!A.__highByOuter&&lr(A,H0)}function V0(A,e){!W0(A,e)&&!A.__highByOuter&&lr(A,O0)}function Js(A,e){A.__highByOuter|=1<<(e||0),lr(A,H0)}function qs(A,e){!(A.__highByOuter&=~(1<<(e||0)))&&lr(A,O0)}function ab(A){lr(A,eh)}function K0(A){lr(A,R0)}function G0(A){lr(A,jE)}function z0(A){lr(A,eb)}function W0(A,e){return A.__highDownSilentOnTouch&&e.zrByTouch}function Y0(A){var e=A.getModel(),t=[],r=[];e.eachComponent(function(n,i){var a=Jc(i),o=n==="series",s=o?A.getViewOfSeriesModel(i):A.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse(function(l){R0(l)}),o&&t.push(i)),a.isBlured=!1}),b(r,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function Ah(A,e,t,r){var n=r.getModel();t=t||"coordinateSystem";function i(l,u){for(var f=0;f<u.length;f++){var c=l.getItemGraphicEl(u[f]);c&&K0(c)}}if(A!=null&&!(!e||e==="none")){var a=n.getSeriesByIndex(A),o=a.coordinateSystem;o&&o.master&&(o=o.master);var s=[];n.eachSeries(function(l){var u=a===l,f=l.coordinateSystem;f&&f.master&&(f=f.master);var c=f&&o?f===o:u;if(!(t==="series"&&!u||t==="coordinateSystem"&&!c||e==="series"&&u)){var h=r.getViewOfSeriesModel(l);if(h.group.traverse(function(g){g.__highByOuter&&u&&e==="self"||eh(g)}),kt(e))i(l.getData(),e);else if(he(e))for(var v=Xe(e),d=0;d<v.length;d++)i(l.getData(v[d]),e[v[d]]);s.push(l),Jc(l).isBlured=!0}}),n.eachComponent(function(l,u){if(l!=="series"){var f=r.getViewOfComponentModel(u);f&&f.toggleBlurSeries&&f.toggleBlurSeries(s,!0,n)}})}}function rh(A,e,t){if(!(A==null||e==null)){var r=t.getModel().getComponent(A,e);if(r){Jc(r).isBlured=!0;var n=t.getViewOfComponentModel(r);!n||!n.focusBlurEnabled||n.group.traverse(function(i){eh(i)})}}}function ob(A,e,t){var r=A.seriesIndex,n=A.getData(e.dataType);if(!n){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+e.dataType);return}var i=pn(n,e);i=(ae(i)?i[0]:i)||0;var a=n.getItemGraphicEl(i);if(!a)for(var o=n.count(),s=0;!a&&s<o;)a=n.getItemGraphicEl(s++);if(a){var l=Le(a);Ah(r,l.focus,l.blurScope,t)}else{var u=A.get(["emphasis","focus"]),f=A.get(["emphasis","blurScope"]);u!=null&&Ah(r,u,f,t)}}function nh(A,e,t,r){var n={focusSelf:!1,dispatchers:null};if(A==null||A==="series"||e==null||t==null)return n;var i=r.getModel().getComponent(A,e);if(!i)return n;var a=r.getViewOfComponentModel(i);if(!a||!a.findHighDownDispatchers)return n;for(var o=a.findHighDownDispatchers(t),s,l=0;l<o.length;l++)if(process.env.NODE_ENV!=="production"&&!Si(o[l])&&Ge("param should be highDownDispatcher"),Le(o[l]).focus==="self"){s=!0;break}return{focusSelf:s,dispatchers:o}}function sb(A,e,t){process.env.NODE_ENV!=="production"&&!Si(A)&&Ge("param should be highDownDispatcher");var r=Le(A),n=nh(r.componentMainType,r.componentIndex,r.componentHighDownName,t),i=n.dispatchers,a=n.focusSelf;i?(a&&rh(r.componentMainType,r.componentIndex,t),b(i,function(o){return k0(o,e)})):(Ah(r.seriesIndex,r.focus,r.blurScope,t),r.focus==="self"&&rh(r.componentMainType,r.componentIndex,t),k0(A,e))}function lb(A,e,t){process.env.NODE_ENV!=="production"&&!Si(A)&&Ge("param should be highDownDispatcher"),Y0(t);var r=Le(A),n=nh(r.componentMainType,r.componentIndex,r.componentHighDownName,t).dispatchers;n?b(n,function(i){return V0(i,e)}):V0(A,e)}function ub(A,e,t){if(ah(e)){var r=e.dataType,n=A.getData(r),i=pn(n,e);ae(i)||(i=[i]),A[e.type===Xs?"toggleSelect":e.type===Ys?"select":"unselect"](i,r)}}function X0(A){var e=A.getAllData();b(e,function(t){var r=t.data,n=t.type;r.eachItemGraphicEl(function(i,a){A.isSelected(a,n)?G0(i):z0(i)})})}function fb(A){var e=[];return A.eachSeries(function(t){var r=t.getAllData();b(r,function(n){n.data;var i=n.type,a=t.getSelectedDataIndices();if(a.length>0){var o={dataIndex:a,seriesIndex:t.seriesIndex};i!=null&&(o.dataType=i),e.push(o)}})}),e}function $s(A,e,t){J0(A,!0),lr(A,ib),hb(A,e,t)}function cb(A){J0(A,!1)}function js(A,e,t,r){r?cb(A):$s(A,e,t)}function hb(A,e,t){var r=Le(A);e!=null?(r.focus=e,r.blurScope=t):r.focus&&(r.focus=null)}var Z0=["emphasis","blur","select"],vb={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ih(A,e,t,r){t=t||"itemStyle";for(var n=0;n<Z0.length;n++){var i=Z0[n],a=e.getModel([i,t]),o=A.ensureState(i);o.style=a[vb[t]]()}}function J0(A,e){var t=e===!1,r=A;A.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=A.highDownSilentOnTouch),(!t||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!t)}function Si(A){return!!(A&&A.__highDownDispatcher)}function db(A){var e=L0[A];return e==null&&D0<=32&&(e=L0[A]=D0++),e}function ah(A){var e=A.type;return e===Ys||e===$c||e===Xs}function q0(A){var e=A.type;return e===En||e===Ws}function pb(A){var e=M0(A);e.normalFill=A.style.fill,e.normalStroke=A.style.stroke;var t=A.states.select||{};e.selectFill=t.style&&t.style.fill||null,e.selectStroke=t.style&&t.style.stroke||null}var Ui=Sr.CMD,gb=[[],[],[]],$0=Math.sqrt,Bb=Math.atan2;function mb(A,e){if(e){var t=A.data,r=A.len(),n,i,a,o,s,l,u=Ui.M,f=Ui.C,c=Ui.L,h=Ui.R,v=Ui.A,d=Ui.Q;for(a=0,o=0;a<r;){switch(n=t[a++],o=a,i=0,n){case u:i=1;break;case c:i=1;break;case f:i=3;break;case d:i=2;break;case v:var g=e[4],p=e[5],B=$0(e[0]*e[0]+e[1]*e[1]),m=$0(e[2]*e[2]+e[3]*e[3]),y=Bb(-e[1]/m,e[0]/B);t[a]*=B,t[a++]+=g,t[a]*=m,t[a++]+=p,t[a++]*=B,t[a++]*=m,t[a++]+=y,t[a++]+=y,a+=2,o=a;break;case h:l[0]=t[a++],l[1]=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1],l[0]+=t[a++],l[1]+=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1]}for(s=0;s<i;s++){var _=gb[s];_[0]=t[a++],_[1]=t[a++],tA(_,_,e),t[o++]=_[0],t[o++]=_[1]}}A.increaseVersion()}}var oh=Math.sqrt,el=Math.sin,tl=Math.cos,Ra=Math.PI;function j0(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])}function sh(A,e){return(A[0]*e[0]+A[1]*e[1])/(j0(A)*j0(e))}function eB(A,e){return(A[0]*e[1]<A[1]*e[0]?-1:1)*Math.acos(sh(A,e))}function tB(A,e,t,r,n,i,a,o,s,l,u){var f=s*(Ra/180),c=tl(f)*(A-t)/2+el(f)*(e-r)/2,h=-1*el(f)*(A-t)/2+tl(f)*(e-r)/2,v=c*c/(a*a)+h*h/(o*o);v>1&&(a*=oh(v),o*=oh(v));var d=(n===i?-1:1)*oh((a*a*(o*o)-a*a*(h*h)-o*o*(c*c))/(a*a*(h*h)+o*o*(c*c)))||0,g=d*a*h/o,p=d*-o*c/a,B=(A+t)/2+tl(f)*g-el(f)*p,m=(e+r)/2+el(f)*g+tl(f)*p,y=eB([1,0],[(c-g)/a,(h-p)/o]),_=[(c-g)/a,(h-p)/o],C=[(-1*c-g)/a,(-1*h-p)/o],Q=eB(_,C);if(sh(_,C)<=-1&&(Q=Ra),sh(_,C)>=1&&(Q=0),Q<0){var x=Math.round(Q/Ra*1e6)/1e6;Q=Ra*2+x%2*Ra}u.addData(l,B,m,a,o,y,Q,f,i)}var yb=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,wb=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Cb(A){var e=new Sr;if(!A)return e;var t=0,r=0,n=t,i=r,a,o=Sr.CMD,s=A.match(yb);if(!s)return e;for(var l=0;l<s.length;l++){for(var u=s[l],f=u.charAt(0),c=void 0,h=u.match(wb)||[],v=h.length,d=0;d<v;d++)h[d]=parseFloat(h[d]);for(var g=0;g<v;){var p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=t,F=r,S=void 0,E=void 0;switch(f){case"l":t+=h[g++],r+=h[g++],c=o.L,e.addData(c,t,r);break;case"L":t=h[g++],r=h[g++],c=o.L,e.addData(c,t,r);break;case"m":t+=h[g++],r+=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="l";break;case"M":t=h[g++],r=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="L";break;case"h":t+=h[g++],c=o.L,e.addData(c,t,r);break;case"H":t=h[g++],c=o.L,e.addData(c,t,r);break;case"v":r+=h[g++],c=o.L,e.addData(c,t,r);break;case"V":r=h[g++],c=o.L,e.addData(c,t,r);break;case"C":c=o.C,e.addData(c,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),t=h[g-2],r=h[g-1];break;case"c":c=o.C,e.addData(c,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r),t+=h[g-2],r+=h[g-1];break;case"S":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=h[g++],F=h[g++],t=h[g++],r=h[g++],e.addData(c,p,B,x,F,t,r);break;case"s":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=t+h[g++],F=r+h[g++],t+=h[g++],r+=h[g++],e.addData(c,p,B,x,F,t,r);break;case"Q":x=h[g++],F=h[g++],t=h[g++],r=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"q":x=h[g++]+t,F=h[g++]+r,t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"T":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t=h[g++],r=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"t":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"A":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t=h[g++],r=h[g++],c=o.A,tB(x,F,t,r,C,Q,m,y,_,c,e);break;case"a":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t+=h[g++],r+=h[g++],c=o.A,tB(x,F,t,r,C,Q,m,y,_,c,e);break}}(f==="z"||f==="Z")&&(c=o.Z,e.addData(c),t=n,r=i),a=c}return e.toStatic(),e}var AB=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.applyTransform=function(t){},e})(ke);function rB(A){return A.setData!=null}function nB(A,e){var t=Cb(A),r=Y({},e);return r.buildPath=function(n){var i=rB(n);if(i&&n.canSave()){n.appendPath(t);var a=n.getContext();a&&n.rebuildPath(a,1)}else{var a=i?n.getContext():n;a&&t.rebuildPath(a,1)}},r.applyTransform=function(n){mb(t,n),this.dirtyShape()},r}function _b(A,e){return new AB(nB(A,e))}function Qb(A,e){var t=nB(A,e),r=(function(n){J(i,n);function i(a){var o=n.call(this,a)||this;return o.applyTransform=t.applyTransform,o.buildPath=t.buildPath,o}return i})(AB);return r}function xb(A,e){for(var t=[],r=A.length,n=0;n<r;n++){var i=A[n];t.push(i.getUpdatedPathProxy(!0))}var a=new ke(e);return a.createPathProxy(),a.buildPath=function(o){if(rB(o)){o.appendPath(t);var s=o.getContext();s&&o.rebuildPath(s,1)}},a}var Fb=(function(){function A(){this.cx=0,this.cy=0,this.r=0}return A})(),Al=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Fb},e.prototype.buildPath=function(t,r){t.moveTo(r.cx+r.r,r.cy),t.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e})(ke);Al.prototype.type="circle";var Eb=(function(){function A(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return A})(),lh=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Eb},e.prototype.buildPath=function(t,r){var n=.5522848,i=r.cx,a=r.cy,o=r.rx,s=r.ry,l=o*n,u=s*n;t.moveTo(i-o,a),t.bezierCurveTo(i-o,a-u,i-l,a-s,i,a-s),t.bezierCurveTo(i+l,a-s,i+o,a-u,i+o,a),t.bezierCurveTo(i+o,a+u,i+l,a+s,i,a+s),t.bezierCurveTo(i-l,a+s,i-o,a+u,i-o,a),t.closePath()},e})(ke);lh.prototype.type="ellipse";var iB=Math.PI,uh=iB*2,bn=Math.sin,Ii=Math.cos,bb=Math.acos,Ft=Math.atan2,aB=Math.abs,Na=Math.sqrt,Pa=Math.max,YA=Math.min,CA=1e-4;function Sb(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=f*s-u*l;if(!(c*c<CA))return c=(u*(e-i)-f*(A-n))/c,[A+c*s,e+c*l]}function rl(A,e,t,r,n,i,a){var o=A-t,s=e-r,l=(a?i:-i)/Na(o*o+s*s),u=l*s,f=-l*o,c=A+u,h=e+f,v=t+u,d=r+f,g=(c+v)/2,p=(h+d)/2,B=v-c,m=d-h,y=B*B+m*m,_=n-i,C=c*d-v*h,Q=(m<0?-1:1)*Na(Pa(0,_*_*y-C*C)),x=(C*m-B*Q)/y,F=(-C*B-m*Q)/y,S=(C*m+B*Q)/y,E=(-C*B+m*Q)/y,I=x-g,U=F-p,T=S-g,L=E-p;return I*I+U*U>T*T+L*L&&(x=S,F=E),{cx:x,cy:F,x0:-u,y0:-f,x1:x*(n/_-1),y1:F*(n/_-1)}}function Ub(A){var e;if(ae(A)){var t=A.length;if(!t)return A;t===1?e=[A[0],A[0],0,0]:t===2?e=[A[0],A[0],A[1],A[1]]:t===3?e=A.concat(A[2]):e=A}else e=[A,A,A,A];return e}function Ib(A,e){var t,r=Pa(e.r,0),n=Pa(e.r0||0,0),i=r>0,a=n>0;if(!(!i&&!a)){if(i||(r=n,n=0),n>r){var o=r;r=n,n=o}var s=e.startAngle,l=e.endAngle;if(!(isNaN(s)||isNaN(l))){var u=e.cx,f=e.cy,c=!!e.clockwise,h=aB(l-s),v=h>uh&&h%uh;if(v>CA&&(h=v),!(r>CA))A.moveTo(u,f);else if(h>uh-CA)A.moveTo(u+r*Ii(s),f+r*bn(s)),A.arc(u,f,r,s,l,!c),n>CA&&(A.moveTo(u+n*Ii(l),f+n*bn(l)),A.arc(u,f,n,l,s,c));else{var d=void 0,g=void 0,p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=void 0,F=void 0,S=void 0,E=void 0,I=void 0,U=void 0,T=void 0,L=r*Ii(s),P=r*bn(s),Z=n*Ii(l),V=n*bn(l),X=h>CA;if(X){var ee=e.cornerRadius;ee&&(t=Ub(ee),d=t[0],g=t[1],p=t[2],B=t[3]);var te=aB(r-n)/2;if(m=YA(te,p),y=YA(te,B),_=YA(te,d),C=YA(te,g),F=Q=Pa(m,y),S=x=Pa(_,C),(Q>CA||x>CA)&&(E=r*Ii(l),I=r*bn(l),U=n*Ii(s),T=n*bn(s),h<iB)){var D=Sb(L,P,U,T,E,I,Z,V);if(D){var M=L-D[0],H=P-D[1],K=E-D[0],N=I-D[1],ue=1/bn(bb((M*K+H*N)/(Na(M*M+H*H)*Na(K*K+N*N)))/2),ie=Na(D[0]*D[0]+D[1]*D[1]);F=YA(Q,(r-ie)/(ue+1)),S=YA(x,(n-ie)/(ue-1))}}}if(!X)A.moveTo(u+L,f+P);else if(F>CA){var Se=YA(p,F),He=YA(B,F),G=rl(U,T,L,P,r,Se,c),de=rl(E,I,Z,V,r,He,c);A.moveTo(u+G.cx+G.x0,f+G.cy+G.y0),F<Q&&Se===He?A.arc(u+G.cx,f+G.cy,F,Ft(G.y0,G.x0),Ft(de.y0,de.x0),!c):(Se>0&&A.arc(u+G.cx,f+G.cy,Se,Ft(G.y0,G.x0),Ft(G.y1,G.x1),!c),A.arc(u,f,r,Ft(G.cy+G.y1,G.cx+G.x1),Ft(de.cy+de.y1,de.cx+de.x1),!c),He>0&&A.arc(u+de.cx,f+de.cy,He,Ft(de.y1,de.x1),Ft(de.y0,de.x0),!c))}else A.moveTo(u+L,f+P),A.arc(u,f,r,s,l,!c);if(!(n>CA)||!X)A.lineTo(u+Z,f+V);else if(S>CA){var Se=YA(d,S),He=YA(g,S),G=rl(Z,V,E,I,n,-He,c),de=rl(L,P,U,T,n,-Se,c);A.lineTo(u+G.cx+G.x0,f+G.cy+G.y0),S<x&&Se===He?A.arc(u+G.cx,f+G.cy,S,Ft(G.y0,G.x0),Ft(de.y0,de.x0),!c):(He>0&&A.arc(u+G.cx,f+G.cy,He,Ft(G.y0,G.x0),Ft(G.y1,G.x1),!c),A.arc(u,f,n,Ft(G.cy+G.y1,G.cx+G.x1),Ft(de.cy+de.y1,de.cx+de.x1),c),Se>0&&A.arc(u+de.cx,f+de.cy,Se,Ft(de.y1,de.x1),Ft(de.y0,de.x0),!c))}else A.lineTo(u+Z,f+V),A.arc(u,f,n,l,s,c)}A.closePath()}}}var Tb=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return A})(),Ti=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Tb},e.prototype.buildPath=function(t,r){Ib(t,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e})(ke);Ti.prototype.type="sector";var Db=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return A})(),fh=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Db},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.PI*2;t.moveTo(n+r.r,i),t.arc(n,i,r.r,0,a,!1),t.moveTo(n+r.r0,i),t.arc(n,i,r.r0,0,a,!0)},e})(ke);fh.prototype.type="ring";function Lb(A,e,t,r){var n=[],i=[],a=[],o=[],s,l,u,f;if(r){u=[1/0,1/0],f=[-1/0,-1/0];for(var c=0,h=A.length;c<h;c++)ui(u,u,A[c]),fi(f,f,A[c]);ui(u,u,r[0]),fi(f,f,r[1])}for(var c=0,h=A.length;c<h;c++){var v=A[c];if(t)s=A[c?c-1:h-1],l=A[(c+1)%h];else if(c===0||c===h-1){n.push(hx(A[c]));continue}else s=A[c-1],l=A[c+1];vx(i,l,s),Df(i,i,e);var d=Lf(v,s),g=Lf(v,l),p=d+g;p!==0&&(d/=p,g/=p),Df(a,i,-d),Df(o,i,g);var B=Rp([],v,a),m=Rp([],v,o);r&&(fi(B,B,u),ui(B,B,f),fi(m,m,u),ui(m,m,f)),n.push(B),n.push(m)}return t&&n.push(n.shift()),n}function oB(A,e,t){var r=e.smooth,n=e.points;if(n&&n.length>=2){if(r){var i=Lb(n,r,t,e.smoothConstraint);A.moveTo(n[0][0],n[0][1]);for(var a=n.length,o=0;o<(t?a:a-1);o++){var s=i[o*2],l=i[o*2+1],u=n[(o+1)%a];A.bezierCurveTo(s[0],s[1],l[0],l[1],u[0],u[1])}}else{A.moveTo(n[0][0],n[0][1]);for(var o=1,f=n.length;o<f;o++)A.lineTo(n[o][0],n[o][1])}t&&A.closePath()}}var Mb=(function(){function A(){this.points=null,this.smooth=0,this.smoothConstraint=null}return A})(),nl=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Mb},e.prototype.buildPath=function(t,r){oB(t,r,!0)},e})(ke);nl.prototype.type="polygon";var Hb=(function(){function A(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return A})(),ka=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Hb},e.prototype.buildPath=function(t,r){oB(t,r,!1)},e})(ke);ka.prototype.type="polyline";var Ob={},Rb=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return A})(),Tr=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Rb},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=C0(Ob,r,this.style);n=s.x1,i=s.y1,a=s.x2,o=s.y2}else n=r.x1,i=r.y1,a=r.x2,o=r.y2;var l=r.percent;l!==0&&(t.moveTo(n,i),l<1&&(a=n*(1-l)+a*l,o=i*(1-l)+o*l),t.lineTo(a,o))},e.prototype.pointAt=function(t){var r=this.shape;return[r.x1*(1-t)+r.x2*t,r.y1*(1-t)+r.y2*t]},e})(ke);Tr.prototype.type="line";var Gt=[],Nb=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return A})();function sB(A,e,t){var r=A.cpx2,n=A.cpy2;return r!=null||n!=null?[(t?ag:ct)(A.x1,A.cpx1,A.cpx2,A.x2,e),(t?ag:ct)(A.y1,A.cpy1,A.cpy2,A.y2,e)]:[(t?lg:Qt)(A.x1,A.cpx1,A.x2,e),(t?lg:Qt)(A.y1,A.cpy1,A.y2,e)]}var ch=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Nb},e.prototype.buildPath=function(t,r){var n=r.x1,i=r.y1,a=r.x2,o=r.y2,s=r.cpx1,l=r.cpy1,u=r.cpx2,f=r.cpy2,c=r.percent;c!==0&&(t.moveTo(n,i),u==null||f==null?(c<1&&(hs(n,s,a,c,Gt),s=Gt[1],a=Gt[2],hs(i,l,o,c,Gt),l=Gt[1],o=Gt[2]),t.quadraticCurveTo(s,l,a,o)):(c<1&&(cs(n,s,u,a,c,Gt),s=Gt[1],u=Gt[2],a=Gt[3],cs(i,l,f,o,c,Gt),l=Gt[1],f=Gt[2],o=Gt[3]),t.bezierCurveTo(s,l,u,f,a,o)))},e.prototype.pointAt=function(t){return sB(this.shape,t,!1)},e.prototype.tangentAt=function(t){var r=sB(this.shape,t,!0);return gx(r,r)},e})(ke);ch.prototype.type="bezier-curve";var Pb=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),il=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Pb},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r,0),o=r.startAngle,s=r.endAngle,l=r.clockwise,u=Math.cos(o),f=Math.sin(o);t.moveTo(u*a+n,f*a+i),t.arc(n,i,a,o,s,!l)},e})(ke);il.prototype.type="arc";var kb=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="compound",t}return e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,r=this.shapeChanged(),n=0;n<t.length;n++)r=r||t[n].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],r=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(r[0],r[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,r){for(var n=r.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],r=0;r<t.length;r++)t[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),ke.prototype.getBoundingRect.call(this)},e})(ke),lB=(function(){function A(e){this.colorStops=e||[]}return A.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},A})(),uB=(function(A){J(e,A);function e(t,r,n,i,a,o){var s=A.call(this,a)||this;return s.x=t??0,s.y=r??0,s.x2=n??1,s.y2=i??0,s.type="linear",s.global=o||!1,s}return e})(lB),Vb=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this,i)||this;return o.x=t??.5,o.y=r??.5,o.r=n??.5,o.type="radial",o.global=a||!1,o}return e})(lB),hh=Math.min,Kb=Math.max,al=Math.abs,Sn=[0,0],Un=[0,0],gt=Yp(),ol=gt.minTv,sl=gt.maxTv,fB=(function(){function A(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new be;for(var r=0;r<2;r++)this._axes[r]=new be;e&&this.fromBoundingRect(e,t)}return A.prototype.fromBoundingRect=function(e,t){var r=this._corners,n=this._axes,i=e.x,a=e.y,o=i+e.width,s=a+e.height;if(r[0].set(i,a),r[1].set(o,a),r[2].set(o,s),r[3].set(i,s),t)for(var l=0;l<4;l++)r[l].transform(t);be.sub(n[0],r[1],r[0]),be.sub(n[1],r[3],r[0]),n[0].normalize(),n[1].normalize();for(var l=0;l<2;l++)this._origin[l]=n[l].dot(r[0])},A.prototype.intersect=function(e,t,r){var n=!0,i=!t;return t&&be.set(t,0,0),gt.reset(r,!i),!this._intersectCheckOneSide(this,e,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,i,-1)&&(n=!1,i)||!i&&!gt.negativeSize&&be.copy(t,n?gt.useDir?gt.dirMinTv:ol:sl),n},A.prototype._intersectCheckOneSide=function(e,t,r,n){for(var i=!0,a=0;a<2;a++){var o=e._axes[a];if(e._getProjMinMaxOnAxis(a,e._corners,Sn),e._getProjMinMaxOnAxis(a,t._corners,Un),gt.negativeSize||Sn[1]<Un[0]||Sn[0]>Un[1]){if(i=!1,gt.negativeSize||r)return i;var s=al(Un[0]-Sn[1]),l=al(Sn[0]-Un[1]);hh(s,l)>sl.len()&&(s<l?be.scale(sl,o,-s*n):be.scale(sl,o,l*n))}else if(!r){var s=al(Un[0]-Sn[1]),l=al(Sn[0]-Un[1]);(gt.useDir||hh(s,l)<ol.len())&&((s<l||!gt.bidirectional)&&(be.scale(ol,o,s*n),gt.useDir&&gt.calcDirMTV()),(s>=l||!gt.bidirectional)&&(be.scale(ol,o,-l*n),gt.useDir&&gt.calcDirMTV()))}}return i},A.prototype._getProjMinMaxOnAxis=function(e,t,r){for(var n=this._axes[e],i=this._origin,a=t[0].dot(n)+i[e],o=a,s=a,l=1;l<t.length;l++){var u=t[l].dot(n)+i[e];o=hh(u,o),s=Kb(u,s)}r[0]=o+gt.touchThreshold,r[1]=s-gt.touchThreshold,gt.negativeSize=r[1]<r[0]},A})(),Gb=[],zb=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return e.prototype.traverse=function(t,r){t.call(r,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,r){r?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,r){r=r||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var r=this._cursor;r<this._displayables.length;r++)t&&t(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)t&&t(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var r=this._displayables[t];r.parent=this,r.update(),r.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var r=this._temporaryDisplayables[t];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Fe(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var n=this._displayables[r],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Gb)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var a=0;a<this._displayables.length;a++){var o=this._displayables[a];if(o.contain(t,r))return!0}return!1},e})(Ma),Wb=ze();function Yb(A,e,t,r,n){var i;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();i=a&&a.animation}var o=e&&e.isAnimationEnabled(),s=A==="update";if(o){var l=void 0,u=void 0,f=void 0;r?(l=ve(r.duration,200),u=ve(r.easing,"cubicOut"),f=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),f=e.getShallow(s?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(l=i.duration),i.easing!=null&&(u=i.easing),i.delay!=null&&(f=i.delay)),me(f)&&(f=f(t,n)),me(l)&&(l=l(t));var c={duration:l||0,delay:f,easing:u};return c}else return null}function vh(A,e,t,r,n,i,a){var o=!1,s;me(n)?(a=i,i=n,n=null):he(n)&&(i=n.cb,a=n.during,o=n.isFrom,s=n.removeOpt,n=n.dataIndex);var l=A==="leave";l||e.stopAnimation("leave");var u=Yb(A,r,n,l?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,n):null);if(u&&u.duration>0){var f=u.duration,c=u.delay,h=u.easing,v={duration:f,delay:c||0,easing:h,done:i,force:!!i||!!a,setToFinal:!l,scope:A,during:a};o?e.animateFrom(t,v):e.animateTo(t,v)}else e.stopAnimation(),!o&&e.attr(t),a&&a(1),i&&i()}function Et(A,e,t,r,n,i){vh("update",A,e,t,r,n,i)}function lA(A,e,t,r,n,i){vh("enter",A,e,t,r,n,i)}function Di(A){if(!A.__zr)return!0;for(var e=0;e<A.animators.length;e++){var t=A.animators[e];if(t.scope==="leave")return!0}return!1}function ll(A,e,t,r,n,i){Di(A)||vh("leave",A,e,t,r,n,i)}function cB(A,e,t,r){A.removeTextContent(),A.removeTextGuideLine(),ll(A,{style:{opacity:0}},e,t,r)}function ul(A,e,t){function r(){A.parent&&A.parent.remove(A)}A.isGroup?A.traverse(function(n){n.isGroup||cB(n,e,t,r)}):cB(A,e,t,r)}function hB(A){Wb(A).oldStyle=A.style}var dh={},Dr=["x","y"],Li=["width","height"];function Xb(A){return ke.extend(A)}var Zb=Qb;function Jb(A,e){return Zb(A,e)}function _A(A,e){dh[A]=e}function qb(A){if(dh.hasOwnProperty(A))return dh[A]}function ph(A,e,t,r){var n=_b(A,e);return t&&(r==="center"&&(t=dB(t,n.getBoundingRect())),pB(n,t)),n}function vB(A,e,t){var r=new Ir({style:{image:A,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(t==="center"){var i={width:n.width,height:n.height};r.setStyle(dB(e,i))}}});return r}function dB(A,e){var t=e.width/e.height,r=A.height*t,n;r<=A.width?n=A.height:(r=A.width,n=r/t);var i=A.x+A.width/2,a=A.y+A.height/2;return{x:i-r/2,y:a-n/2,width:r,height:n}}var $b=xb;function pB(A,e){if(A.applyTransform){var t=A.getBoundingRect(),r=t.calculateTransform(e);A.applyTransform(r)}}function Va(A,e){return C0(A,A,{lineWidth:e}),A}function jb(A,e){return _0(A,A,e),A}var eS=Fn;function gB(A,e){for(var t=Gf([]);A&&A!==e;)ga(t,A.getLocalTransform(),t),A=A.parent;return t}function Ka(A,e,t){return e&&!kt(e)&&(e=xs.getLocalTransform(e)),t&&(e=vi([],e)),tA([],A,e)}function BB(A,e,t){var r=e[4]===0||e[5]===0||e[0]===0?1:NA(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:NA(2*e[4]/e[2]),i=[A==="left"?-r:A==="right"?r:0,A==="top"?-n:A==="bottom"?n:0];return i=Ka(i,e,t),NA(i[0])>NA(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function mB(A){return!A.isGroup}function tS(A){return A.shape!=null}function yB(A,e,t){if(!A||!e)return;function r(a){var o={};return a.traverse(function(s){mB(s)&&s.anid&&(o[s.anid]=s)}),o}function n(a){var o={x:a.x,y:a.y,rotation:a.rotation};return tS(a)&&(o.shape=Ue(a.shape)),o}var i=r(A);e.traverse(function(a){if(mB(a)&&a.anid){var o=i[a.anid];if(o){var s=n(a);a.attr(n(o)),Et(a,s,t,Le(a).dataIndex)}}})}function AS(A,e){return Be(A,function(t){var r=t[0];r=Jt(r,e.x),r=Sa(r,e.x+e.width);var n=t[1];return n=Jt(n,e.y),n=Sa(n,e.y+e.height),[r,n]})}function rS(A,e){var t=Jt(A.x,e.x),r=Sa(A.x+A.width,e.x+e.width),n=Jt(A.y,e.y),i=Sa(A.y+A.height,e.y+e.height);if(r>=t&&i>=n)return{x:t,y:n,width:r-t,height:i-n}}function gh(A,e,t){var r=Y({rectHover:!0},e),n=r.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},A)return A.indexOf("image://")===0?(n.image=A.slice(8),Ne(n,t),new Ir(r)):ph(A.replace("path://",""),r,t,"center")}function nS(A,e,t,r,n){for(var i=0,a=n[n.length-1];i<n.length;i++){var o=n[i];if(wB(A,e,t,r,o[0],o[1],a[0],a[1]))return!0;a=o}}function wB(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=Bh(u,f,s,l);if(iS(c))return!1;var h=A-n,v=e-i,d=Bh(h,v,s,l)/c;if(d<0||d>1)return!1;var g=Bh(h,v,u,f)/c;return!(g<0||g>1)}function Bh(A,e,t,r){return A*r-t*e}function iS(A){return A<=1e-6&&A>=-1e-6}function fl(A,e,t,r,n){return e==null||(Ye(e)?Ze[0]=Ze[1]=Ze[2]=Ze[3]=e:(process.env.NODE_ENV!=="production"&&fe(e.length===4),Ze[0]=e[0],Ze[1]=e[1],Ze[2]=e[2],Ze[3]=e[3]),r&&(Ze[0]=Jt(0,Ze[0]),Ze[1]=Jt(0,Ze[1]),Ze[2]=Jt(0,Ze[2]),Ze[3]=Jt(0,Ze[3])),t&&(Ze[0]=-Ze[0],Ze[1]=-Ze[1],Ze[2]=-Ze[2],Ze[3]=-Ze[3]),CB(A,Ze,"x","width",3,1,n&&n[0]||0),CB(A,Ze,"y","height",0,2,n&&n[1]||0)),A}var Ze=[0,0,0,0];function CB(A,e,t,r,n,i,a){var o=e[i]+e[n],s=A[r];A[r]+=o,a=Jt(0,Sa(a,s)),A[r]<a?(A[r]=a,A[t]+=e[n]>=0?-e[n]:e[i]>=0?s+e[i]:NA(o)>1e-8?(s-a)*e[n]/o:0):A[t]-=e[n]}function cl(A){var e=A.itemTooltipOption,t=A.componentModel,r=A.itemName,n=le(e)?{formatter:e}:e,i=t.mainType,a=t.componentIndex,o={componentType:i,name:r,$vars:["name"]};o[i+"Index"]=a;var s=A.formatterParamsExtra;s&&b(Xe(s),function(u){mA(o,u)||(o[u]=s[u],o.$vars.push(u))});var l=Le(A.el);l.componentMainType=i,l.componentIndex=a,l.tooltipConfig={name:r,option:Ne({content:r,encodeHTMLContent:!0,formatterParams:o},n)}}function mh(A,e){var t;A.isGroup&&(t=e(A)),t||A.traverse(e)}function hl(A,e){if(A)if(ae(A))for(var t=0;t<A.length;t++)mh(A[t],e);else mh(A,e)}function yh(A){return!A||NA(A[1])<vl&&NA(A[2])<vl||NA(A[0])<vl&&NA(A[3])<vl}var vl=1e-5;function Ga(A,e){return A?Fe.copy(A,e):e.clone()}function wh(A,e){return e?Gp(A||nr(),e):void 0}function za(A){return{z:A.get("z")||0,zlevel:A.get("zlevel")||0}}function aS(A){var e=-1/0,t=1/0;mh(A,function(i){r(i),r(i.getTextContent()),r(i.getTextGuideLine())});function r(i){if(!(!i||i.isGroup)){var a=i.currentStates;if(a.length)for(var o=0;o<a.length;o++)n(i.states[a[o]]);n(i)}}function n(i){if(i){var a=i.z2;a>e&&(e=a),a<t&&(t=a)}}return t>e&&(t=e=0),{min:t,max:e}}function _B(A,e,t){QB(A,e,t,-1/0)}function QB(A,e,t,r){if(A.ignoreModelZ)return r;var n=A.getTextContent(),i=A.getTextGuideLine(),a=A.isGroup;if(a)for(var o=A.childrenRef(),s=0;s<o.length;s++)r=Jt(QB(o[s],e,t,r),r);else A.z=e,A.zlevel=t,r=Jt(A.z2||0,r);if(n&&(n.z=e,n.zlevel=t,isFinite(r)&&(n.z2=r+2)),i){var l=A.textGuideLineConfig;i.z=e,i.zlevel=t,isFinite(r)&&(i.z2=r+(l&&l.showAbove?1:-1))}return r}_A("circle",Al),_A("ellipse",lh),_A("sector",Ti),_A("ring",fh),_A("polygon",nl),_A("polyline",ka),_A("rect",qe),_A("line",Tr),_A("bezierCurve",ch),_A("arc",il);const oS=Object.freeze(Object.defineProperty({__proto__:null,Arc:il,BezierCurve:ch,BoundingRect:Fe,Circle:Al,CompoundPath:kb,Ellipse:lh,Group:lt,Image:Ir,IncrementalDisplayable:zb,Line:Tr,LinearGradient:uB,OrientedBoundingRect:fB,Path:ke,Point:be,Polygon:nl,Polyline:ka,RadialGradient:Vb,Rect:qe,Ring:fh,Sector:Ti,Text:Ot,WH:Li,XY:Dr,applyTransform:Ka,calcZ2Range:aS,clipPointsByRect:AS,clipRectByRect:rS,createIcon:gh,ensureCopyRect:Ga,ensureCopyTransform:wh,expandOrShrinkRect:fl,extendPath:Jb,extendShape:Xb,getShapeClass:qb,getTransform:gB,groupTransition:yB,initProps:lA,isBoundingRectAxisAligned:yh,isElementRemoved:Di,lineLineIntersect:wB,linePolygonIntersect:nS,makeImage:vB,makePath:ph,mergePath:$b,registerShape:_A,removeElement:ll,removeElementWithFadeOut:ul,resizePath:pB,retrieveZInfo:za,setTooltipConfig:cl,subPixelOptimize:eS,subPixelOptimizeLine:Va,subPixelOptimizeRect:jb,transformDirection:BB,traverseElements:hl,traverseUpdateZ:_B,updateProps:Et},Symbol.toStringTag,{value:"Module"}));var dl={};function xB(A,e){for(var t=0;t<sA.length;t++){var r=sA[t],n=e[r],i=A.ensureState(r);i.style=i.style||{},i.style.text=n}var a=A.currentStates.slice();A.clearStates(!0),A.setStyle({text:e.normal}),A.useStates(a,!0)}function Ch(A,e,t){var r=A.labelFetcher,n=A.labelDataIndex,i=A.labelDimIndex,a=e.normal,o;r&&(o=r.getFormattedLabel(n,"normal",null,i,a&&a.get("formatter"),t!=null?{interpolatedValue:t}:null)),o==null&&(o=me(A.defaultText)?A.defaultText(n,A,t):A.defaultText);for(var s={normal:o},l=0;l<sA.length;l++){var u=sA[l],f=e[u];s[u]=ve(r?r.getFormattedLabel(n,u,null,i,f&&f.get("formatter")):null,o)}return s}function pl(A,e,t,r){t=t||dl;for(var n=A instanceof Ot,i=!1,a=0;a<zs.length;a++){var o=e[zs[a]];if(o&&o.getShallow("show")){i=!0;break}}var s=n?A:A.getTextContent();if(i){n||(s||(s=new Ot,A.setTextContent(s)),A.stateProxy&&(s.stateProxy=A.stateProxy));var l=Ch(t,e),u=e.normal,f=!!u.getShallow("show"),c=In(u,r&&r.normal,t,!1,!n);c.text=l.normal,n||A.setTextConfig(FB(u,t,!1));for(var a=0;a<sA.length;a++){var h=sA[a],o=e[h];if(o){var v=s.ensureState(h),d=!!ve(o.getShallow("show"),f);if(d!==f&&(v.ignore=!d),v.style=In(o,r&&r[h],t,!0,!n),v.style.text=l[h],!n){var g=A.ensureState(h);g.textConfig=FB(o,t,!0)}}}s.silent=!!u.getShallow("silent"),s.style.x!=null&&(c.x=s.style.x),s.style.y!=null&&(c.y=s.style.y),s.ignore=!f,s.useStyle(c),s.dirty(),t.enableTextSetter&&(Mi(s).setLabelText=function(p){var B=Ch(t,e,p);xB(s,B)})}else s&&(s.ignore=!0);A.dirty()}function gl(A,e){e=e||"label";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}function In(A,e,t,r,n){var i={};return sS(i,A,t,r,n),e&&Y(i,e),i}function FB(A,e,t){e=e||{};var r={},n,i=A.getShallow("rotate"),a=ve(A.getShallow("distance"),t?null:5),o=A.getShallow("offset");return n=A.getShallow("position")||(t?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(r.position=n),o!=null&&(r.offset=o),i!=null&&(i*=Math.PI/180,r.rotation=i),a!=null&&(r.distance=a),r.outsideFill=A.get("color")==="inherit"?e.inheritColor||null:"auto",e.autoOverflowArea!=null&&(r.autoOverflowArea=e.autoOverflowArea),e.layoutRect!=null&&(r.layoutRect=e.layoutRect),r}function sS(A,e,t,r,n){t=t||dl;var i=e.ecModel,a=i&&i.option.textStyle,o=lS(e),s;if(o){s={};var l="richInheritPlainLabel",u=ve(e.get(l),i?i.get(l):void 0);for(var f in o)if(o.hasOwnProperty(f)){var c=e.getModel(["rich",f]);UB(s[f]={},c,a,e,u,t,r,n,!1,!0)}}s&&(A.rich=s);var h=e.get("overflow");h&&(A.overflow=h);var v=e.get("lineOverflow");v&&(A.lineOverflow=v);var d=A,g=e.get("minMargin");if(g!=null)g=Ye(g)?g/2:0,d.margin=[g,g,g,g],d.__marginType=Hi.minMargin;else{var p=e.get("textMargin");p!=null&&(d.margin=If(p),d.__marginType=Hi.textMargin)}UB(A,e,a,null,null,t,r,n,!0,!1)}function lS(A){for(var e;A&&A!==A.ecModel;){var t=(A.option||dl).rich;if(t){e=e||{};for(var r=Xe(t),n=0;n<r.length;n++){var i=r[n];e[i]=1}}A=A.parentModel}return e}var EB=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],bB=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],SB=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function UB(A,e,t,r,n,i,a,o,s,l){t=!a&&t||dl;var u=i&&i.inheritColor,f=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=ve(e.getShallow("opacity"),t.opacity);(f==="inherit"||f==="auto")&&(process.env.NODE_ENV!=="production"&&f==="auto"&&pt("color: 'auto'","color: 'inherit'"),u?f=u:f=null),(c==="inherit"||c==="auto")&&(process.env.NODE_ENV!=="production"&&c==="auto"&&pt("color: 'auto'","color: 'inherit'"),u?c=u:c=null),o||(f=f||t.color,c=c||t.textBorderColor),f!=null&&(A.fill=f),c!=null&&(A.stroke=c);var v=ve(e.getShallow("textBorderWidth"),t.textBorderWidth);v!=null&&(A.lineWidth=v);var d=ve(e.getShallow("textBorderType"),t.textBorderType);d!=null&&(A.lineDash=d);var g=ve(e.getShallow("textBorderDashOffset"),t.textBorderDashOffset);g!=null&&(A.lineDashOffset=g),!a&&h==null&&!l&&(h=i&&i.defaultOpacity),h!=null&&(A.opacity=h),!a&&!o&&A.fill==null&&i.inheritColor&&(A.fill=i.inheritColor);for(var p=0;p<EB.length;p++){var B=EB[p],m=n!==!1&&r?Cr(e.getShallow(B),r.getShallow(B),t[B]):ve(e.getShallow(B),t[B]);m!=null&&(A[B]=m)}for(var p=0;p<bB.length;p++){var B=bB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}if(A.verticalAlign==null){var y=e.getShallow("baseline");y!=null&&(A.verticalAlign=y)}if(!s||!i.disableBox){for(var p=0;p<SB.length;p++){var B=SB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}var _=e.getShallow("borderType");_!=null&&(A.borderDash=_),(A.backgroundColor==="auto"||A.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.backgroundColor==="auto"&&pt("backgroundColor: 'auto'","backgroundColor: 'inherit'"),A.backgroundColor=u),(A.borderColor==="auto"||A.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.borderColor==="auto"&&pt("borderColor: 'auto'","borderColor: 'inherit'"),A.borderColor=u)}}function uS(A,e){var t=e&&e.getModel("textStyle");return LA([A.fontStyle||t&&t.getShallow("fontStyle")||"",A.fontWeight||t&&t.getShallow("fontWeight")||"",(A.fontSize||t&&t.getShallow("fontSize")||12)+"px",A.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "))}var Mi=ze();function fS(A,e,t,r){if(A){var n=Mi(A);n.prevValue=n.value,n.value=t;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=r,n.statesModels=e)}}function cS(A,e,t,r,n){var i=Mi(A);if(!i.valueAnimation||i.prevValue===i.value)return;var a=i.defaultInterpolatedText,o=ve(i.interpolatedValue,i.prevValue),s=i.value;function l(u){var f=A0(t,i.precision,o,s,u);i.interpolatedValue=u===1?null:f;var c=Ch({labelDataIndex:e,labelFetcher:n,defaultText:a?a(f):f+""},i.statesModels,f);xB(A,c)}A.percent=0,(i.prevValue==null?lA:Et)(A,{percent:1},r,e,null,l)}var Hi={minMargin:1,textMargin:2},hS=["textStyle","color"],_h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Qh=new Ot,vS=(function(){function A(){}return A.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(hS):null)},A.prototype.getFont=function(){return uS({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},A.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<_h.length;r++)t[_h[r]]=this.getShallow(_h[r]);return Qh.useStyle(t),Qh.update(),Qh.getBoundingRect()},A})(),IB=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],dS=La(IB),pS=(function(){function A(){}return A.prototype.getLineStyle=function(e){return dS(this,e)},A})(),TB=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],gS=La(TB),BS=(function(){function A(){}return A.prototype.getItemStyle=function(e,t){return gS(this,e,t)},A})(),et=(function(){function A(e,t,r){this.parentModel=t,this.ecModel=r,this.option=e}return A.prototype.init=function(e,t,r){},A.prototype.mergeOption=function(e,t){Oe(this.option,e,!0)},A.prototype.get=function(e,t){return e==null?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},A.prototype.getShallow=function(e,t){var r=this.option,n=r==null?r:r[e];if(n==null&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},A.prototype.getModel=function(e,t){var r=e!=null,n=r?this.parsePath(e):null,i=r?this._doGet(n):this.option;return t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new A(i,t,this.ecModel)},A.prototype.isEmpty=function(){return this.option==null},A.prototype.restoreData=function(){},A.prototype.clone=function(){var e=this.constructor;return new e(Ue(this.option))},A.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},A.prototype.resolveParentPath=function(e){return e},A.prototype.isAnimationEnabled=function(){if(!_e.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},A.prototype._doGet=function(e,t){var r=this.option;if(!e)return r;for(var n=0;n<e.length&&!(e[n]&&(r=r&&typeof r=="object"?r[e[n]]:null,r==null));n++);return r==null&&t&&(r=t._doGet(this.resolveParentPath(e),t.parentModel)),r},A})();Tc(et),AE(et),DA(et,pS),DA(et,BS),DA(et,oE),DA(et,vS);var mS=Math.round(Math.random()*10);function Bl(A){return[A||"",mS++].join("_")}function yS(A){var e={};A.registerSubTypeDefaulter=function(t,r){var n=VA(t);e[n.main]=r},A.determineSubType=function(t,r){var n=r.type;if(!n){var i=VA(t).main;A.hasSubTypes(t)&&e[i]&&(n=e[i](r))}return n}}function wS(A,e){A.topologicalTravel=function(i,a,o,s){if(!i.length)return;var l=t(a),u=l.graph,f=l.noEntryList,c={};for(b(i,function(B){c[B]=!0});f.length;){var h=f.pop(),v=u[h],d=!!c[h];d&&(o.call(s,h,v.originalDeps.slice()),delete c[h]),b(v.successor,d?p:g)}b(c,function(){var B="";throw process.env.NODE_ENV!=="production"&&(B=Ms("Circular dependency may exists: ",c,i,a)),new Error(B)});function g(B){u[B].entryCount--,u[B].entryCount===0&&f.push(B)}function p(B){c[B]=!0,g(B)}};function t(i){var a={},o=[];return b(i,function(s){var l=r(a,s),u=l.originalDeps=e(s),f=n(u,i);l.entryCount=f.length,l.entryCount===0&&o.push(s),b(f,function(c){Te(l.predecessor,c)<0&&l.predecessor.push(c);var h=r(a,c);Te(h.successor,c)<0&&h.successor.push(s)})}),{graph:a,noEntryList:o}}function r(i,a){return i[a]||(i[a]={predecessor:[],successor:[]}),i[a]}function n(i,a){var o=[];return b(i,function(s){Te(a,s)>=0&&o.push(s)}),o}}function ml(A,e){return Oe(Oe({},A,!0),e,!0)}const CS={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},_S={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var yl="ZH",xh="EN",Oi=xh,wl={},Fh={},DB=_e.domSupported?(function(){var A=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Oi).toUpperCase();return A.indexOf(yl)>-1?yl:Oi})():Oi;function LB(A,e){A=A.toUpperCase(),Fh[A]=new et(e),wl[A]=e}function QS(A){if(le(A)){var e=wl[A.toUpperCase()]||{};return A===yl||A===xh?Ue(e):Oe(Ue(e),Ue(wl[Oi]),!1)}else return Oe(Ue(A),Ue(wl[Oi]),!1)}function xS(A){return Fh[A]}function FS(){return Fh[Oi]}LB(xh,CS),LB(yl,_S);var ES=null;function Cl(){return ES}var Eh=1e3,bh=Eh*60,Wa=bh*60,uA=Wa*24,MB=uA*365,bS={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},_l={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},SS="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",Ql="{yyyy}-{MM}-{dd}",HB={year:"{yyyy}",month:"{yyyy}-{MM}",day:Ql,hour:Ql+" "+_l.hour,minute:Ql+" "+_l.minute,second:Ql+" "+_l.second,millisecond:SS},Tn=["year","month","day","hour","minute","second","millisecond"],US=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function IS(A){return!le(A)&&!me(A)?TS(A):A}function TS(A){A=A||{};var e={},t=!0;return b(Tn,function(r){t&&(t=A[r]==null)}),b(Tn,function(r,n){var i=A[r];e[r]={};for(var a=null,o=n;o>=0;o--){var s=Tn[o],l=he(i)&&!ae(i)?i[s]:i,u=void 0;ae(l)?(u=l.slice(),a=u[0]||""):le(l)?(a=l,u=[a]):(a==null?a=_l[r]:bS[s].test(a)||(a=e[s][s][0]+" "+a),u=[a],t&&(u[1]="{primary|"+a+"}")),e[r][s]=u}}),e}function Lr(A,e){return A+="","0000".substr(0,e-A.length)+A}function Ya(A){switch(A){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return A}}function DS(A){return A===Ya(A)}function LS(A){switch(A){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function xl(A,e,t,r){var n=Qi(A),i=n[OB(t)](),a=n[Uh(t)]()+1,o=Math.floor((a-1)/3)+1,s=n[Ih(t)](),l=n["get"+(t?"UTC":"")+"Day"](),u=n[Th(t)](),f=(u-1)%12+1,c=n[Dh(t)](),h=n[Lh(t)](),v=n[Mh(t)](),d=u>=12?"pm":"am",g=d.toUpperCase(),p=r instanceof et?r:xS(r||DB)||FS(),B=p.getModel("time"),m=B.get("month"),y=B.get("monthAbbr"),_=B.get("dayOfWeek"),C=B.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,d+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Lr(i%100+"",2)).replace(/{Q}/g,o+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,Lr(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Lr(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,_[l]).replace(/{ee}/g,C[l]).replace(/{e}/g,l+"").replace(/{HH}/g,Lr(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,Lr(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Lr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,Lr(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Lr(v,3)).replace(/{S}/g,v+"")}function MS(A,e,t,r,n){var i=null;if(le(t))i=t;else if(me(t)){var a={time:A.time,level:A.time.level},o=Cl();o&&o.makeAxisLabelFormatterParamBreak(a,A.break),i=t(A.value,e,a)}else{var s=A.time;if(s){var l=t[s.lowerTimeUnit][s.upperTimeUnit];i=l[Math.min(s.level,l.length-1)]||""}else{var u=Fl(A.value,n);i=t[u][u][0]}}return xl(new Date(A.value),i,n,r)}function Fl(A,e){var t=Qi(A),r=t[Uh(e)]()+1,n=t[Ih(e)](),i=t[Th(e)](),a=t[Dh(e)](),o=t[Lh(e)](),s=t[Mh(e)](),l=s===0,u=l&&o===0,f=u&&a===0,c=f&&i===0,h=c&&n===1,v=h&&r===1;return v?"year":h?"month":c?"day":f?"hour":u?"minute":l?"second":"millisecond"}function Sh(A,e,t){switch(e){case"year":A[RB(t)](0);case"month":A[NB(t)](1);case"day":A[PB(t)](0);case"hour":A[kB(t)](0);case"minute":A[VB(t)](0);case"second":A[KB(t)](0)}return A}function OB(A){return A?"getUTCFullYear":"getFullYear"}function Uh(A){return A?"getUTCMonth":"getMonth"}function Ih(A){return A?"getUTCDate":"getDate"}function Th(A){return A?"getUTCHours":"getHours"}function Dh(A){return A?"getUTCMinutes":"getMinutes"}function Lh(A){return A?"getUTCSeconds":"getSeconds"}function Mh(A){return A?"getUTCMilliseconds":"getMilliseconds"}function HS(A){return A?"setUTCFullYear":"setFullYear"}function RB(A){return A?"setUTCMonth":"setMonth"}function NB(A){return A?"setUTCDate":"setDate"}function PB(A){return A?"setUTCHours":"setHours"}function kB(A){return A?"setUTCMinutes":"setMinutes"}function VB(A){return A?"setUTCSeconds":"setSeconds"}function KB(A){return A?"setUTCMilliseconds":"setMilliseconds"}function GB(A){if(!Vg(A))return le(A)?A:"-";var e=(A+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function zB(A,e){return A=(A||"").toLowerCase().replace(/-(.)/g,function(t,r){return r.toUpperCase()}),e&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var El=If;function Hh(A,e,t){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(u){return u&&LA(u)?u:"-"}function i(u){return!!(u!=null&&!isNaN(u)&&isFinite(u))}var a=e==="time",o=A instanceof Date;if(a||o){var s=a?Qi(A):A;if(isNaN(+s)){if(o)return"-"}else return xl(s,r,t)}if(e==="ordinal")return As(A)?n(A):Ye(A)&&i(A)?A+"":"-";var l=Ds(A);return i(l)?GB(l):As(A)?n(A):typeof A=="boolean"?A+"":"-"}var WB=["a","b","c","d","e","f","g"],Oh=function(A,e){return"{"+A+(e??"")+"}"};function YB(A,e,t){ae(e)||(e=[e]);var r=e.length;if(!r)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var a=WB[i];A=A.replace(Oh(a),Oh(a,0))}for(var o=0;o<r;o++)for(var s=0;s<n.length;s++){var l=e[o][n[s]];A=A.replace(Oh(WB[s],o),t?Vt(l):l)}return A}function OS(A,e){var t=le(A)?{color:A,extraCssText:e}:A||{},r=t.color,n=t.type;e=t.extraCssText;var i=t.renderMode||"html";if(!r)return"";if(i==="html")return n==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Vt(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Vt(r)+";"+(e||"")+'"></span>';var a=t.markerId||"markerX";return{renderMode:i,content:"{"+a+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Dn(A,e){return e=e||"transparent",le(A)?A:he(A)&&A.colorStops&&(A.colorStops[0]||{}).color||e}var bl={},Rh={},Nh=(function(){function A(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return A.prototype.create=function(e,t){this._nonSeriesBoxMasterList=r(bl,!0),this._normalMasterList=r(Rh,!1);function r(n,i){var a=[];return b(n,function(o,s){var l=o.create(e,t);a=a.concat(l||[]),process.env.NODE_ENV!=="production"&&i&&b(l,function(u){return fe(!u.update)})}),a}},A.prototype.update=function(e,t){b(this._normalMasterList,function(r){r.update&&r.update(e,t)})},A.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},A.register=function(e,t){if(e==="matrix"||e==="calendar"){bl[e]=t;return}Rh[e]=t},A.get=function(e){return Rh[e]||bl[e]},A})();function RS(A){return!!bl[A]}var XB={coord:1,coord2:2},NS=we();function PS(A){var e=A.getShallow("coord",!0),t=XB.coord;if(e==null){var r=NS.get(A.type);r&&r.getCoord2&&(t=XB.coord2,e=r.getCoord2(A))}return{coord:e,from:t}}var ur={none:0,dataCoordSys:1,boxCoordSys:2};function kS(A,e){var t=A.getShallow("coordinateSystem"),r=A.getShallow("coordinateSystemUsage",!0),n=r!=null,i=ur.none;if(t){var a=A.mainType==="series";r==null&&(r=a?"data":"box"),r==="data"?(i=ur.dataCoordSys,a||(process.env.NODE_ENV!=="production"&&n&&e&&Ge('coordinateSystemUsage "data" is not supported in non-series components.'),i=ur.none)):r==="box"&&(i=ur.boxCoordSys,!a&&!RS(t)&&(process.env.NODE_ENV!=="production"&&n&&e&&Ge('coordinateSystem "'+t+'" cannot be used'+(' as coordinateSystemUsage "box" for "'+A.type+'" yet.')),i=ur.none))}return{coordSysType:t,kind:i}}function VS(A){var e=A.targetModel,t=A.coordSysType,r=A.coordSysProvider,n=A.isDefaultDataCoordSys,i=A.allowNotFound;process.env.NODE_ENV!=="production"&&fe(!!t);var a=kS(e,!0),o=a.kind,s=a.coordSysType;if(n&&o!==ur.dataCoordSys&&(o=ur.dataCoordSys,s=t),o===ur.none||s!==t)return!1;var l=r(t,e);return l?(o===ur.dataCoordSys?(process.env.NODE_ENV!=="production"&&fe(e.mainType==="series"),e.coordinateSystem=l):e.boxCoordinateSystem=l,!0):(process.env.NODE_ENV!=="production"&&(i||Ge(t+" cannot be found for"+(" "+e.type+" (index: "+e.componentIndex+")."))),!1)}var Sl=b,KS=["left","right","top","bottom","width","height"],Ul=[["width","left","right"],["height","top","bottom"]];function Ph(A,e,t,r,n){var i=0,a=0;r==null&&(r=1/0),n==null&&(n=1/0);var o=0;e.eachChild(function(s,l){var u=s.getBoundingRect(),f=e.childAt(l+1),c=f&&f.getBoundingRect(),h,v;if(A==="horizontal"){var d=u.width+(c?-c.x+u.x:0);h=i+d,h>r||s.newline?(i=0,h=d,a+=o+t,o=u.height):o=Math.max(o,u.height)}else{var g=u.height+(c?-c.y+u.y:0);v=a+g,v>n||s.newline?(i+=o+t,a=0,v=g,o=u.width):o=Math.max(o,u.width)}s.newline||(s.x=i,s.y=a,s.markRedraw(),A==="horizontal"?i=h+t:a=v+t)})}var Xa=Ph;nt(Ph,"vertical"),nt(Ph,"horizontal");function GS(A,e){return{left:A.getShallow("left",e),top:A.getShallow("top",e),right:A.getShallow("right",e),bottom:A.getShallow("bottom",e),width:A.getShallow("width",e),height:A.getShallow("height",e)}}function Ri(A,e,t){t=El(t||0);var r=e.width,n=e.height,i=ht(A.left,r),a=ht(A.top,n),o=ht(A.right,r),s=ht(A.bottom,n),l=ht(A.width,r),u=ht(A.height,n),f=t[2]+t[0],c=t[1]+t[3],h=A.aspect;switch(isNaN(l)&&(l=r-o-c-i),isNaN(u)&&(u=n-s-f-a),h!=null&&(isNaN(l)&&isNaN(u)&&(h>r/n?l=r*.8:u=n*.8),isNaN(l)&&(l=h*u),isNaN(u)&&(u=l/h)),isNaN(i)&&(i=r-o-l-c),isNaN(a)&&(a=n-s-u-f),A.left||A.right){case"center":i=r/2-l/2-t[3];break;case"right":i=r-l-c;break}switch(A.top||A.bottom){case"middle":case"center":a=n/2-u/2-t[0];break;case"bottom":a=n-u-f;break}i=i||0,a=a||0,isNaN(l)&&(l=r-c-i-(o||0)),isNaN(u)&&(u=n-f-a-(s||0));var v=new Fe((e.x||0)+i+t[3],(e.y||0)+a+t[0],l,u);return v.margin=t,v}var kh={rect:1};function Vh(A,e,t){var r,n,i,a=A.boxCoordinateSystem,o;if(a){var s=PS(A),l=s.coord,u=s.from;if(a.dataToLayout){i=kh.rect,o=u;var f=a.dataToLayout(l);r=f.contentRect||f.rect}else process.env.NODE_ENV!=="production"&&Ge(A.type+"["+A.componentIndex+"]"+(" layout based on "+a.type+" is not supported."))}return i==null&&(i=kh.rect),i===kh.rect&&(r||(r={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),n=[r.x+r.width/2,r.y+r.height/2]),{type:i,refContainer:r,refPoint:n,boxCoordFrom:o}}function Za(A){var e=A.layoutMode||A.constructor.layoutMode;return he(e)?e:e?{type:e}:null}function Mr(A,e,t){var r=t&&t.ignoreSize;!ae(r)&&(r=[r,r]);var n=a(Ul[0],0),i=a(Ul[1],1);s(Ul[0],A,n),s(Ul[1],A,i);function a(l,u){var f={},c=0,h={},v=0,d=2;if(Sl(l,function(B){h[B]=A[B]}),Sl(l,function(B){mA(e,B)&&(f[B]=h[B]=e[B]),o(f,B)&&c++,o(h,B)&&v++}),r[u])return o(e,l[1])?h[l[2]]=null:o(e,l[2])&&(h[l[1]]=null),h;if(v===d||!c)return h;if(c>=d)return f;for(var g=0;g<l.length;g++){var p=l[g];if(!mA(f,p)&&mA(A,p)){f[p]=A[p];break}}return f}function o(l,u){return l[u]!=null&&l[u]!=="auto"}function s(l,u,f){Sl(l,function(c){u[c]=f[c]})}}function Ni(A){return zS({},A)}function zS(A,e){return e&&A&&Sl(KS,function(t){mA(e,t)&&(A[t]=e[t])}),A}var WS=ze(),Re=(function(A){J(e,A);function e(t,r,n){var i=A.call(this,t,r,n)||this;return i.uid=Bl("ec_cpt_model"),i}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Za(this),i=n?Ni(t):{},a=r.getTheme();Oe(t,a.get(this.mainType)),Oe(t,this.getDefaultOption()),n&&Mr(t,i,n)},e.prototype.mergeOption=function(t,r){Oe(this.option,t,!0);var n=Za(this);n&&Mr(this.option,t,n)},e.prototype.optionUpdated=function(t,r){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!jF(t))return t.defaultOption;var r=WS(this);if(!r.defaultOption){for(var n=[],i=t;i;){var a=i.prototype.defaultOption;a&&n.push(a),i=i.superClass}for(var o={},s=n.length-1;s>=0;s--)o=Oe(o,n[s],!0);r.defaultOption=o}return r.defaultOption},e.prototype.getReferringComponents=function(t,r){var n=t+"Index",i=t+"Id";return Da(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},r)},e.prototype.getBoxLayoutParams=function(){return GS(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=(function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0})(),e})(et);n0(Re,et),Hs(Re),yS(Re),wS(Re,YS);function YS(A){var e=[];return b(Re.getClassesByMainType(A),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=Be(e,function(t){return VA(t).main}),A!=="dataset"&&Te(e,"dataset")<=0&&e.unshift("dataset"),e}var oe={color:{},darkColor:{},size:{}},tt=oe.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};Y(tt,{primary:tt.neutral80,secondary:tt.neutral70,tertiary:tt.neutral60,quaternary:tt.neutral50,disabled:tt.neutral20,border:tt.neutral30,borderTint:tt.neutral20,borderShade:tt.neutral40,background:tt.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:tt.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:tt.neutral70,axisLineTint:tt.neutral40,axisTick:tt.neutral70,axisTickMinor:tt.neutral60,axisLabel:tt.neutral70,axisSplitLine:tt.neutral15,axisMinorSplitLine:tt.neutral05});for(var Ln in tt)if(tt.hasOwnProperty(Ln)){var ZB=tt[Ln];Ln==="theme"?oe.darkColor.theme=tt.theme.slice():Ln==="highlight"?oe.darkColor.highlight="rgba(255,231,130,0.4)":Ln.indexOf("accent")===0?oe.darkColor[Ln]=nc(ZB,null,function(A){return A*.5},function(A){return Math.min(1,1.3-A)}):oe.darkColor[Ln]=nc(ZB,null,function(A){return A*.9},function(A){return 1-Math.pow(A,1.5)})}oe.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var JB="";typeof navigator<"u"&&(JB=navigator.platform||"");var Pi="rgba(0, 0, 0, 0.2)",qB=oe.color.theme[0],XS=nc(qB,null,null,.9);const ZS={darkMode:"auto",colorBy:"series",color:oe.color.theme,gradientColor:[XS,qB],aria:{decal:{decals:[{color:Pi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Pi,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Pi,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Pi,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Pi,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Pi,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:JB.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Kh=we(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),qt="original",bt="arrayRows",QA="objectRows",XA="keyedColumns",fr="typedArray",$B="unknown",ZA="column",Mn="row",$t={Must:1,Might:2,Not:3},jB=ze();function JS(A){jB(A).datasetMap=we()}function qS(A,e,t){var r={},n=em(e);if(!n||!A)return r;var i=[],a=[],o=e.ecModel,s=jB(o).datasetMap,l=n.uid+"_"+t.seriesLayoutBy,u,f;A=A.slice(),b(A,function(d,g){var p=he(d)?d:A[g]={name:d};p.type==="ordinal"&&u==null&&(u=g,f=v(p)),r[p.name]=[]});var c=s.get(l)||s.set(l,{categoryWayDim:f,valueWayDim:0});b(A,function(d,g){var p=d.name,B=v(d);if(u==null){var m=c.valueWayDim;h(r[p],m,B),h(a,m,B),c.valueWayDim+=B}else if(u===g)h(r[p],0,B),h(i,0,B);else{var m=c.categoryWayDim;h(r[p],m,B),h(a,m,B),c.categoryWayDim+=B}});function h(d,g,p){for(var B=0;B<p;B++)d.push(g+B)}function v(d){var g=d.dimsDef;return g?g.length:1}return i.length&&(r.itemName=i),a.length&&(r.seriesName=a),r}function em(A){var e=A.get("data",!0);if(!e)return Da(A.ecModel,"dataset",{index:A.get("datasetIndex",!0),id:A.get("datasetId",!0)},Mt).models[0]}function $S(A){return!A.get("transform",!0)&&!A.get("fromTransformResult",!0)?[]:Da(A.ecModel,"dataset",{index:A.get("fromDatasetIndex",!0),id:A.get("fromDatasetId",!0)},Mt).models}function tm(A,e){return jS(A.data,A.sourceFormat,A.seriesLayoutBy,A.dimensionsDefine,A.startIndex,e)}function jS(A,e,t,r,n,i){var a,o=5;if(Tt(A))return $t.Not;var s,l;if(r){var u=r[i];he(u)?(s=u.name,l=u.type):le(u)&&(s=u)}if(l!=null)return l==="ordinal"?$t.Must:$t.Not;if(e===bt){var f=A;if(t===Mn){for(var c=f[i],h=0;h<(c||[]).length&&h<o;h++)if((a=y(c[n+h]))!=null)return a}else for(var h=0;h<f.length&&h<o;h++){var v=f[n+h];if(v&&(a=y(v[i]))!=null)return a}}else if(e===QA){var d=A;if(!s)return $t.Not;for(var h=0;h<d.length&&h<o;h++){var g=d[h];if(g&&(a=y(g[s]))!=null)return a}}else if(e===XA){var p=A;if(!s)return $t.Not;var c=p[s];if(!c||Tt(c))return $t.Not;for(var h=0;h<c.length&&h<o;h++)if((a=y(c[h]))!=null)return a}else if(e===qt)for(var B=A,h=0;h<B.length&&h<o;h++){var g=B[h],m=Ia(g);if(!ae(m))return $t.Not;if((a=y(m[i]))!=null)return a}function y(_){var C=le(_);if(_!=null&&Number.isFinite(Number(_))&&_!=="")return C?$t.Might:$t.Not;if(C&&_!=="-")return $t.Must}return $t.Not}var eU=we();function tU(A,e,t){var r=eU.get(e);if(!r)return t;var n=r(A);if(!n)return t;if(process.env.NODE_ENV!=="production")for(var i=0;i<n.length;i++)fe(xi(n[i]));return t.concat(n)}var Am=ze();ze();var Gh=(function(){function A(){}return A.prototype.getColorFromPalette=function(e,t,r){var n=Lt(this.get("color",!0)),i=this.get("colorLayer",!0);return rU(this,Am,n,i,e,t,r)},A.prototype.clearColorPalette=function(){nU(this,Am)},A})();function AU(A,e){for(var t=A.length,r=0;r<t;r++)if(A[r].length>e)return A[r];return A[t-1]}function rU(A,e,t,r,n,i,a){i=i||A;var o=e(i),s=o.paletteIdx||0,l=o.paletteNameMap=o.paletteNameMap||{};if(l.hasOwnProperty(n))return l[n];var u=a==null||!r?t:AU(r,a);if(u=u||t,!(!u||!u.length)){var f=u[s];return n&&(l[n]=f),o.paletteIdx=(s+1)%u.length,f}}function nU(A,e){e(A).paletteIdx=0,e(A).paletteNameMap={}}var Il,Ja,rm,zh="\0_ec_inner",nm=1,iU={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",matrix:"MatrixComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},aU={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",chord:"ChordChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},Tl={};function oU(A){b(A,function(e,t){if(!Re.hasClass(t)){var r=iU[t];r&&!Tl[r]&&(Ge("Component "+t+` is used but not imported.
28
+ `));for(var g=OA(s),p=0;p<u.length;p++){var B=u[p],m=new cE;if(m.styleName=n,m.text=B,m.isLineHolder=!B&&!i,typeof a.width=="number"?m.width=a.width:m.width=f?f[p]:RA(g,B),!p&&!l){var y=(o[o.length-1]||(o[0]=new l0)).tokens,_=y.length;_===1&&y[0].isLineHolder?y[0]=m:(B||!_||i)&&y.push(m)}else o.push(new l0([m]))}}function dE(A){var e=A.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var pE=ri(",&?/;] ".split(""),function(A,e){return A[e]=!0,A},{});function gE(A){return dE(A)?!!pE[A]:!0}function u0(A,e,t,r,n){for(var i=[],a=[],o="",s="",l=0,u=0,f=OA(e),c=0;c<A.length;c++){var h=A.charAt(c);if(h===`
29
+ `){s&&(o+=s,u+=l),i.push(o),a.push(u),o="",s="",l=0,u=0;continue}var v=Ig(f,h.charCodeAt(0)),d=r?!1:!gE(h);if(i.length?u+v>t:n+u+v>t){u?(o||s)&&(d?(o||(o=s,s="",l=0,u=l),i.push(o),a.push(u-l),s+=h,l+=v,o="",u=l):(s&&(o+=s,s="",l=0),i.push(o),a.push(u),o=h,u=v)):d?(i.push(s),a.push(l),s=h,l=v):(i.push(h),a.push(v));continue}u+=v,d?(s+=h,l+=v):(s&&(o+=s,s="",l=0),o+=h)}return s&&(o+=s),o&&(i.push(o),a.push(u)),i.length===1&&(u+=n),{accumWidth:u,lines:i,linesWidths:a}}function f0(A,e,t,r,n,i){if(A.baseX=t,A.baseY=r,A.outerWidth=A.outerHeight=null,!!e){var a=e.width*2,o=e.height*2;Fe.set(c0,wi(t,a,n),dn(r,o,i),a,o),Fe.intersect(e,c0,null,h0);var s=h0.outIntersectRect;A.outerWidth=s.width,A.outerHeight=s.height,A.baseX=wi(s.x,s.width,n,!0),A.baseY=dn(s.y,s.height,i,!0)}}var c0=new Fe(0,0,0,0),h0={outIntersectRect:{},clamp:!0};function Mc(A){return A!=null?A+="":A=""}function BE(A){var e=Mc(A.text),t=A.font,r=RA(OA(t),e),n=Fs(t);return Hc(A,r,n,null)}function Hc(A,e,t,r){var n=new Fe(wi(A.x||0,e,A.textAlign),dn(A.y||0,t,A.textBaseline),e,t),i=r??(v0(A)?A.lineWidth:0);return i>0&&(n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i),n}function v0(A){var e=A.stroke;return e!=null&&e!=="none"&&A.lineWidth>0}var Oc="__zr_style_"+Math.round(Math.random()*10),Bn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Os={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Bn[Oc]=!0;var d0=["z","z2","invisible"],mE=["invisible"],La=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype._init=function(t){for(var r=Xe(t),n=0;n<r.length;n++){var i=r[n];i==="style"?this.useStyle(t[i]):A.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,r,n,i){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&yE(this,t,r)||a&&!a[0]&&!a[3])return!1;if(n&&this.__clipPaths&&this.__clipPaths.length){for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1}if(i&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},e.prototype.contain=function(t,r){return this.rectContain(t,r)},e.prototype.traverse=function(t,r){t.call(r,this)},e.prototype.rectContain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,n=this.getBoundingRect(),i=this.style,a=i.shadowBlur||0,o=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Fe(0,0,0,0)),r?Fe.applyTransform(t,n,r):t.copy(n),(a||o||s)&&(t.width+=a*2+Math.abs(o),t.height+=a*2+Math.abs(s),t.x=Math.min(t.x,t.x+o-a),t.y=Math.min(t.y,t.y+s-a));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+l*2),t.height=Math.ceil(t.height+1+l*2))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Fe(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(t,r){t!=="style"?A.prototype.attrKV.call(this,t,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(t,r){return typeof t=="string"?this.style[t]=r:Y(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=wa,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&wa)},e.prototype.styleUpdated=function(){this.__dirty&=~wa},e.prototype.createStyle=function(t){return rs(Bn,t)},e.prototype.useStyle=function(t){t[Oc]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Oc]},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,r,d0)},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.style?a?i?l=r.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,r.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(l,r.style)):s&&(l=n.style),l)if(a){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var f=Xe(u),c=0;c<f.length;c++){var h=f[c];h in l&&(l[h]=l[h],this.style[h]=u[h])}for(var v=Xe(l),c=0;c<v.length;c++){var h=v[c];this.style[h]=this.style[h]}this._transitionState(t,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);for(var d=this.__inHover?mE:d0,c=0;c<d.length;c++){var h=d[c];r&&r[h]!=null?this[h]=r[h]:s&&n[h]!=null&&(this[h]=n[h])}},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,r){return Y(t,r),t},e.prototype.getAnimationStyleProps=function(){return Os},e.initDefaultProps=(function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=Zt|wa})(),e})(Ss),Rc=new Fe(0,0,0,0),Nc=new Fe(0,0,0,0);function yE(A,e,t){return Rc.copy(A.getBoundingRect()),A.transform&&Rc.applyTransform(A.transform),Nc.width=e,Nc.height=t,!Rc.intersect(Nc)}var iA=Math.min,aA=Math.max,Pc=Math.sin,kc=Math.cos,mn=Math.PI*2,Rs=oi(),Ns=oi(),Ps=oi();function p0(A,e,t,r,n,i){n[0]=iA(A,t),n[1]=iA(e,r),i[0]=aA(A,t),i[1]=aA(e,r)}var g0=[],B0=[];function wE(A,e,t,r,n,i,a,o,s,l){var u=og,f=ct,c=u(A,t,n,a,g0);s[0]=1/0,s[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var h=0;h<c;h++){var v=f(A,t,n,a,g0[h]);s[0]=iA(v,s[0]),l[0]=aA(v,l[0])}c=u(e,r,i,o,B0);for(var h=0;h<c;h++){var d=f(e,r,i,o,B0[h]);s[1]=iA(d,s[1]),l[1]=aA(d,l[1])}s[0]=iA(A,s[0]),l[0]=aA(A,l[0]),s[0]=iA(a,s[0]),l[0]=aA(a,l[0]),s[1]=iA(e,s[1]),l[1]=aA(e,l[1]),s[1]=iA(o,s[1]),l[1]=aA(o,l[1])}function CE(A,e,t,r,n,i,a,o){var s=ug,l=Qt,u=aA(iA(s(A,t,n),1),0),f=aA(iA(s(e,r,i),1),0),c=l(A,t,n,u),h=l(e,r,i,f);a[0]=iA(A,n,c),a[1]=iA(e,i,h),o[0]=aA(A,n,c),o[1]=aA(e,i,h)}function _E(A,e,t,r,n,i,a,o,s){var l=li,u=ui,f=Math.abs(n-i);if(f%mn<1e-4&&f>1e-4){o[0]=A-t,o[1]=e-r,s[0]=A+t,s[1]=e+r;return}if(Rs[0]=kc(n)*t+A,Rs[1]=Pc(n)*r+e,Ns[0]=kc(i)*t+A,Ns[1]=Pc(i)*r+e,l(o,Rs,Ns),u(s,Rs,Ns),n=n%mn,n<0&&(n=n+mn),i=i%mn,i<0&&(i=i+mn),n>i&&!a?i+=mn:n<i&&a&&(n+=mn),a){var c=i;i=n,n=c}for(var h=0;h<i;h+=Math.PI/2)h>n&&(Ps[0]=kc(h)*t+A,Ps[1]=Pc(h)*r+e,l(o,Ps,o),u(s,Ps,s))}var Pe={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},yn=[],wn=[],KA=[],Er=[],GA=[],zA=[],Vc=Math.min,Kc=Math.max,Cn=Math.cos,_n=Math.sin,or=Math.abs,Gc=Math.PI,br=Gc*2,zc=typeof Float32Array<"u",Ma=[];function Wc(A){var e=Math.round(A/Gc*1e8)/1e8;return e%2*Gc}function QE(A,e){var t=Wc(A[0]);t<0&&(t+=br);var r=t-A[0],n=A[1];n+=r,!e&&n-t>=br?n=t+br:e&&t-n>=br?n=t-br:!e&&t>n?n=t+(br-Wc(t-n)):e&&t<n&&(n=t-(br-Wc(n-t))),A[0]=t,A[1]=n}var Sr=(function(){function A(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return A.prototype.increaseVersion=function(){this._version++},A.prototype.getVersion=function(){return this._version},A.prototype.setScale=function(e,t,r){r=r||0,r>0&&(this._ux=or(r/_s/e)||0,this._uy=or(r/_s/t)||0)},A.prototype.setDPR=function(e){this.dpr=e},A.prototype.setContext=function(e){this._ctx=e},A.prototype.getContext=function(){return this._ctx},A.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},A.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},A.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Pe.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},A.prototype.lineTo=function(e,t){var r=or(e-this._xi),n=or(t-this._yi),i=r>this._ux||n>this._uy;if(this.addData(Pe.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var a=r*r+n*n;a>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=a)}return this},A.prototype.bezierCurveTo=function(e,t,r,n,i,a){return this._drawPendingPt(),this.addData(Pe.C,e,t,r,n,i,a),this._ctx&&this._ctx.bezierCurveTo(e,t,r,n,i,a),this._xi=i,this._yi=a,this},A.prototype.quadraticCurveTo=function(e,t,r,n){return this._drawPendingPt(),this.addData(Pe.Q,e,t,r,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,r,n),this._xi=r,this._yi=n,this},A.prototype.arc=function(e,t,r,n,i,a){this._drawPendingPt(),Ma[0]=n,Ma[1]=i,QE(Ma,a),n=Ma[0],i=Ma[1];var o=i-n;return this.addData(Pe.A,e,t,r,r,n,o,0,a?0:1),this._ctx&&this._ctx.arc(e,t,r,n,i,a),this._xi=Cn(i)*r+e,this._yi=_n(i)*r+t,this},A.prototype.arcTo=function(e,t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,r,n,i),this},A.prototype.rect=function(e,t,r,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,r,n),this.addData(Pe.R,e,t,r,n),this},A.prototype.closePath=function(){this._drawPendingPt(),this.addData(Pe.Z);var e=this._ctx,t=this._x0,r=this._y0;return e&&e.closePath(),this._xi=t,this._yi=r,this},A.prototype.fill=function(e){e&&e.fill(),this.toStatic()},A.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},A.prototype.len=function(){return this._len},A.prototype.setData=function(e){if(this._saveData){var t=e.length;!(this.data&&this.data.length===t)&&zc&&(this.data=new Float32Array(t));for(var r=0;r<t;r++)this.data[r]=e[r];this._len=t}},A.prototype.appendPath=function(e){if(this._saveData){e instanceof Array||(e=[e]);for(var t=e.length,r=0,n=this._len,i=0;i<t;i++)r+=e[i].len();var a=this.data;if(zc&&(a instanceof Float32Array||!a)&&(this.data=new Float32Array(n+r),n>0&&a))for(var o=0;o<n;o++)this.data[o]=a[o];for(var i=0;i<t;i++)for(var s=e[i].data,o=0;o<s.length;o++)this.data[n++]=s[o];this._len=n}},A.prototype.addData=function(e,t,r,n,i,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var f=0;f<arguments.length;f++)u[this._len++]=arguments[f]}},A.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},A.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},A.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,zc&&this._len>11&&(this.data=new Float32Array(e)))}},A.prototype.getBoundingRect=function(){KA[0]=KA[1]=GA[0]=GA[1]=Number.MAX_VALUE,Er[0]=Er[1]=zA[0]=zA[1]=-Number.MAX_VALUE;var e=this.data,t=0,r=0,n=0,i=0,a;for(a=0;a<this._len;){var o=e[a++],s=a===1;switch(s&&(t=e[a],r=e[a+1],n=t,i=r),o){case Pe.M:t=n=e[a++],r=i=e[a++],GA[0]=n,GA[1]=i,zA[0]=n,zA[1]=i;break;case Pe.L:p0(t,r,e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.C:wE(t,r,e[a++],e[a++],e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.Q:CE(t,r,e[a++],e[a++],e[a],e[a+1],GA,zA),t=e[a++],r=e[a++];break;case Pe.A:var l=e[a++],u=e[a++],f=e[a++],c=e[a++],h=e[a++],v=e[a++]+h;a+=1;var d=!e[a++];s&&(n=Cn(h)*f+l,i=_n(h)*c+u),_E(l,u,f,c,h,v,d,GA,zA),t=Cn(v)*f+l,r=_n(v)*c+u;break;case Pe.R:n=t=e[a++],i=r=e[a++];var g=e[a++],p=e[a++];p0(n,i,n+g,i+p,GA,zA);break;case Pe.Z:t=n,r=i;break}li(KA,KA,GA),ui(Er,Er,zA)}return a===0&&(KA[0]=KA[1]=Er[0]=Er[1]=0),new Fe(KA[0],KA[1],Er[0]-KA[0],Er[1]-KA[1])},A.prototype._calculateLength=function(){var e=this.data,t=this._len,r=this._ux,n=this._uy,i=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,f=0,c=0;c<t;){var h=e[c++],v=c===1;v&&(i=e[c],a=e[c+1],o=i,s=a);var d=-1;switch(h){case Pe.M:i=o=e[c++],a=s=e[c++];break;case Pe.L:{var g=e[c++],p=e[c++],B=g-i,m=p-a;(or(B)>r||or(m)>n||c===t-1)&&(d=Math.sqrt(B*B+m*m),i=g,a=p);break}case Pe.C:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++],C=e[c++],Q=e[c++];d=Xx(i,a,y,_,g,p,C,Q,10),i=C,a=Q;break}case Pe.Q:{var y=e[c++],_=e[c++],g=e[c++],p=e[c++];d=Jx(i,a,y,_,g,p,10),i=g,a=p;break}case Pe.A:var x=e[c++],F=e[c++],S=e[c++],E=e[c++],I=e[c++],U=e[c++],T=U+I;c+=1,v&&(o=Cn(I)*S+x,s=_n(I)*E+F),d=Kc(S,E)*Vc(br,Math.abs(U)),i=Cn(T)*S+x,a=_n(T)*E+F;break;case Pe.R:{o=i=e[c++],s=a=e[c++];var L=e[c++],P=e[c++];d=L*2+P*2;break}case Pe.Z:{var B=o-i,m=s-a;d=Math.sqrt(B*B+m*m),i=o,a=s;break}}d>=0&&(l[f++]=d,u+=d)}return this._pathLen=u,u},A.prototype.rebuildPath=function(e,t){var r=this.data,n=this._ux,i=this._uy,a=this._len,o,s,l,u,f,c,h=t<1,v,d,g=0,p=0,B,m=0,y,_;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,d=this._pathLen,B=t*d,!B)))e:for(var C=0;C<a;){var Q=r[C++],x=C===1;switch(x&&(l=r[C],u=r[C+1],o=l,s=u),Q!==Pe.L&&m>0&&(e.lineTo(y,_),m=0),Q){case Pe.M:o=l=r[C++],s=u=r[C++],e.moveTo(l,u);break;case Pe.L:{f=r[C++],c=r[C++];var F=or(f-l),S=or(c-u);if(F>n||S>i){if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+f*I,u*(1-I)+c*I);break e}g+=E}e.lineTo(f,c),l=f,u=c,m=0}else{var U=F*F+S*S;U>m&&(y=f,_=c,m=U)}break}case Pe.C:{var T=r[C++],L=r[C++],P=r[C++],Z=r[C++],V=r[C++],X=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;fs(l,T,P,V,I,yn),fs(u,L,Z,X,I,wn),e.bezierCurveTo(yn[1],wn[1],yn[2],wn[2],yn[3],wn[3]);break e}g+=E}e.bezierCurveTo(T,L,P,Z,V,X),l=V,u=X;break}case Pe.Q:{var T=r[C++],L=r[C++],P=r[C++],Z=r[C++];if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;cs(l,T,P,I,yn),cs(u,L,Z,I,wn),e.quadraticCurveTo(yn[1],wn[1],yn[2],wn[2]);break e}g+=E}e.quadraticCurveTo(T,L,P,Z),l=P,u=Z;break}case Pe.A:var ee=r[C++],te=r[C++],D=r[C++],M=r[C++],H=r[C++],K=r[C++],N=r[C++],ue=!r[C++],ie=D>M?D:M,Se=or(D-M)>.001,He=H+K,G=!1;if(h){var E=v[p++];g+E>B&&(He=H+K*(B-g)/E,G=!0),g+=E}if(Se&&e.ellipse?e.ellipse(ee,te,D,M,N,H,He,ue):e.arc(ee,te,ie,H,He,ue),G)break e;x&&(o=Cn(H)*D+ee,s=_n(H)*M+te),l=Cn(He)*D+ee,u=_n(He)*M+te;break;case Pe.R:o=l=r[C],s=u=r[C+1],f=r[C++],c=r[C++];var de=r[C++],De=r[C++];if(h){var E=v[p++];if(g+E>B){var st=B-g;e.moveTo(f,c),e.lineTo(f+Vc(st,de),c),st-=de,st>0&&e.lineTo(f+de,c+Vc(st,De)),st-=De,st>0&&e.lineTo(f+Kc(de-st,0),c+De),st-=de,st>0&&e.lineTo(f,c+Kc(De-st,0));break e}g+=E}e.rect(f,c,de,De);break;case Pe.Z:if(h){var E=v[p++];if(g+E>B){var I=(B-g)/E;e.lineTo(l*(1-I)+o*I,u*(1-I)+s*I);break e}g+=E}e.closePath(),l=o,u=s}}},A.prototype.clone=function(){var e=new A,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},A.prototype.canSave=function(){return!!this._saveData},A.CMD=Pe,A.initDefaultProps=(function(){var e=A.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0})(),A})();function xi(A,e,t,r,n,i,a){if(n===0)return!1;var o=n,s=0,l=A;if(a>e+o&&a>r+o||a<e-o&&a<r-o||i>A+o&&i>t+o||i<A-o&&i<t-o)return!1;if(A!==t)s=(e-r)/(A-t),l=(A*r-t*e)/(A-t);else return Math.abs(i-A)<=o/2;var u=s*i-a+l,f=u*u/(s*s+1);return f<=o/2*o/2}function xE(A,e,t,r,n,i,a,o,s,l,u){if(s===0)return!1;var f=s;if(u>e+f&&u>r+f&&u>i+f&&u>o+f||u<e-f&&u<r-f&&u<i-f&&u<o-f||l>A+f&&l>t+f&&l>n+f&&l>a+f||l<A-f&&l<t-f&&l<n-f&&l<a-f)return!1;var c=sg(A,e,t,r,n,i,a,o,l,u,null);return c<=f/2}function FE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;if(s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l||o>A+l&&o>t+l&&o>n+l||o<A-l&&o<t-l&&o<n-l)return!1;var u=fg(A,e,t,r,n,i,o,s,null);return u<=l/2}var m0=Math.PI*2;function sr(A){return A%=m0,A<0&&(A+=m0),A}var Ha=Math.PI*2;function EE(A,e,t,r,n,i,a,o,s){if(a===0)return!1;var l=a;o-=A,s-=e;var u=Math.sqrt(o*o+s*s);if(u-l>t||u+l<t)return!1;if(Math.abs(r-n)%Ha<1e-4)return!0;if(i){var f=r;r=sr(n),n=sr(f)}else r=sr(r),n=sr(n);r>n&&(n+=Ha);var c=Math.atan2(s,o);return c<0&&(c+=Ha),c>=r&&c<=n||c+Ha>=r&&c+Ha<=n}function Qn(A,e,t,r,n,i){if(i>e&&i>r||i<e&&i<r||r===e)return 0;var a=(i-e)/(r-e),o=r<e?1:-1;(a===1||a===0)&&(o=r<e?.5:-.5);var s=a*(t-A)+A;return s===n?1/0:s>n?o:0}var Ur=Sr.CMD,xn=Math.PI*2,bE=1e-4;function SE(A,e){return Math.abs(A-e)<bE}var Ht=[-1,-1,-1],oA=[-1,-1];function UE(){var A=oA[0];oA[0]=oA[1],oA[1]=A}function IE(A,e,t,r,n,i,a,o,s,l){if(l>e&&l>r&&l>i&&l>o||l<e&&l<r&&l<i&&l<o)return 0;var u=us(e,r,i,o,l,Ht);if(u===0)return 0;for(var f=0,c=-1,h=void 0,v=void 0,d=0;d<u;d++){var g=Ht[d],p=g===0||g===1?.5:1,B=ct(A,t,n,a,g);B<s||(c<0&&(c=og(e,r,i,o,oA),oA[1]<oA[0]&&c>1&&UE(),h=ct(e,r,i,o,oA[0]),c>1&&(v=ct(e,r,i,o,oA[1]))),c===2?g<oA[0]?f+=h<e?p:-p:g<oA[1]?f+=v<h?p:-p:f+=o<v?p:-p:g<oA[0]?f+=h<e?p:-p:f+=o<h?p:-p)}return f}function TE(A,e,t,r,n,i,a,o){if(o>e&&o>r&&o>i||o<e&&o<r&&o<i)return 0;var s=Zx(e,r,i,o,Ht);if(s===0)return 0;var l=ug(e,r,i);if(l>=0&&l<=1){for(var u=0,f=Qt(e,r,i,l),c=0;c<s;c++){var h=Ht[c]===0||Ht[c]===1?.5:1,v=Qt(A,t,n,Ht[c]);v<a||(Ht[c]<l?u+=f<e?h:-h:u+=i<f?h:-h)}return u}else{var h=Ht[0]===0||Ht[0]===1?.5:1,v=Qt(A,t,n,Ht[0]);return v<a?0:i<e?h:-h}}function DE(A,e,t,r,n,i,a,o){if(o-=e,o>t||o<-t)return 0;var s=Math.sqrt(t*t-o*o);Ht[0]=-s,Ht[1]=s;var l=Math.abs(r-n);if(l<1e-4)return 0;if(l>=xn-1e-4){r=0,n=xn;var u=i?1:-1;return a>=Ht[0]+A&&a<=Ht[1]+A?u:0}if(r>n){var f=r;r=n,n=f}r<0&&(r+=xn,n+=xn);for(var c=0,h=0;h<2;h++){var v=Ht[h];if(v+A>a){var d=Math.atan2(o,v),u=i?1:-1;d<0&&(d=xn+d),(d>=r&&d<=n||d+xn>=r&&d+xn<=n)&&(d>Math.PI/2&&d<Math.PI*1.5&&(u=-u),c+=u)}}return c}function y0(A,e,t,r,n){for(var i=A.data,a=A.len(),o=0,s=0,l=0,u=0,f=0,c,h,v=0;v<a;){var d=i[v++],g=v===1;switch(d===Ur.M&&v>1&&(t||(o+=Qn(s,l,u,f,r,n))),g&&(s=i[v],l=i[v+1],u=s,f=l),d){case Ur.M:u=i[v++],f=i[v++],s=u,l=f;break;case Ur.L:if(t){if(xi(s,l,i[v],i[v+1],e,r,n))return!0}else o+=Qn(s,l,i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.C:if(t){if(xE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=IE(s,l,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.Q:if(t){if(FE(s,l,i[v++],i[v++],i[v],i[v+1],e,r,n))return!0}else o+=TE(s,l,i[v++],i[v++],i[v],i[v+1],r,n)||0;s=i[v++],l=i[v++];break;case Ur.A:var p=i[v++],B=i[v++],m=i[v++],y=i[v++],_=i[v++],C=i[v++];v+=1;var Q=!!(1-i[v++]);c=Math.cos(_)*m+p,h=Math.sin(_)*y+B,g?(u=c,f=h):o+=Qn(s,l,c,h,r,n);var x=(r-p)*y/m+p;if(t){if(EE(p,B,y,_,_+C,Q,e,x,n))return!0}else o+=DE(p,B,y,_,_+C,Q,x,n);s=Math.cos(_+C)*m+p,l=Math.sin(_+C)*y+B;break;case Ur.R:u=s=i[v++],f=l=i[v++];var F=i[v++],S=i[v++];if(c=u+F,h=f+S,t){if(xi(u,f,c,f,e,r,n)||xi(c,f,c,h,e,r,n)||xi(c,h,u,h,e,r,n)||xi(u,h,u,f,e,r,n))return!0}else o+=Qn(c,f,c,h,r,n),o+=Qn(u,h,u,f,r,n);break;case Ur.Z:if(t){if(xi(s,l,u,f,e,r,n))return!0}else o+=Qn(s,l,u,f,r,n);s=u,l=f;break}}return!t&&!SE(l,f)&&(o+=Qn(s,l,u,f,r,n)||0),o!==0}function LE(A,e,t){return y0(A,0,!1,e,t)}function ME(A,e,t,r){return y0(A,e,!0,t,r)}var w0=Ne({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Bn),HE={style:Ne({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Os.style)},Yc=Fa.concat(["invisible","culling","z","z2","zlevel","parent"]),ke=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.update=function(){var t=this;A.prototype.update.call(this);var r=this.style;if(r.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(s){t.buildPath(s,t.shape)}),n.silent=!0;var i=n.style;for(var a in r)i[a]!==r[a]&&(i[a]=r[a]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var o=0;o<Yc.length;++o)n[Yc[o]]=this[Yc[o]];n.__dirty|=Zt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(t){var r=Xe(t);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var i=0;i<r.length;i++){var a=r[i],o=t[a];a==="style"?this.style?Y(this.style,o):this.useStyle(o):a==="shape"?Y(this.shape,o):A.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if(t!=="none"){if(le(t)){var r=ds(t,0);return r>.5?pc:r>.2?gF:gc}else if(t)return gc}return pc},e.prototype.getInsideTextStroke=function(t){var r=this.style.fill;if(le(r)){var n=this.__zr,i=!!(n&&n.isDarkMode()),a=ds(t,0)<dc;if(i===a)return r}},e.prototype.buildPath=function(t,r,n){},e.prototype.pathUpdated=function(){this.__dirty&=~di},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Sr(!1)},e.prototype.hasStroke=function(){var t=this.style,r=t.stroke;return!(r==null||r==="none"||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,r=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var a=this.path;(i||this.__dirty&di)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var s=r.strokeNoScale?this.getLineScale():1,l=r.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;l=Math.max(l,u??4)}s>1e-10&&(o.width+=l/s,o.height+=l/s,o.x-=l/s/2,o.y-=l/s/2)}return o}return t},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect(),a=this.style;if(t=n[0],r=n[1],i.contain(t,r)){var o=this.path;if(this.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),ME(o,s/l,t,r)))return!0}if(this.hasFill())return LE(o,t,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=di,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,r){t==="shape"?this.setShape(r):A.prototype.attrKV.call(this,t,r)},e.prototype.setShape=function(t,r){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=r:Y(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&di)},e.prototype.createStyle=function(t){return rs(w0,t)},e.prototype._innerSaveToNormal=function(t){A.prototype._innerSaveToNormal.call(this,t);var r=this._normalState;t.shape&&!r.shape&&(r.shape=Y({},this.shape))},e.prototype._applyStateObj=function(t,r,n,i,a,o){A.prototype._applyStateObj.call(this,t,r,n,i,a,o);var s=!(r&&i),l;if(r&&r.shape?a?i?l=r.shape:(l=Y({},n.shape),Y(l,r.shape)):(l=Y({},i?this.shape:n.shape),Y(l,r.shape)):s&&(l=n.shape),l)if(a){this.shape=Y({},this.shape);for(var u={},f=Xe(l),c=0;c<f.length;c++){var h=f[c];typeof l[h]=="object"?this.shape[h]=l[h]:u[h]=l[h]}this._transitionState(t,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(t){for(var r=A.prototype._mergeStates.call(this,t),n,i=0;i<t.length;i++){var a=t[i];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return HE},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var r=(function(i){J(a,i);function a(o){var s=i.call(this,o)||this;return t.init&&t.init.call(s,o),s}return a.prototype.getDefaultStyle=function(){return Ue(t.style)},a.prototype.getDefaultShape=function(){return Ue(t.shape)},a})(e);for(var n in t)typeof t[n]=="function"&&(r.prototype[n]=t[n]);return r},e.initDefaultProps=(function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=Zt|wa|di})(),e})(La),OE=Ne({strokeFirst:!0,font:wr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},w0),ks=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.hasStroke=function(){return v0(this.style)},e.prototype.hasFill=function(){var t=this.style,r=t.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(t){return rs(OE,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=BE(this.style)),this._rect},e.initDefaultProps=(function(){var t=e.prototype;t.dirtyRectTolerance=10})(),e})(La);ks.prototype.type="tspan";var RE=Ne({x:0,y:0},Bn),NE={style:Ne({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Os.style)};function PE(A){return!!(A&&typeof A!="string"&&A.width&&A.height)}var Ir=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return rs(RE,t)},e.prototype._getSize=function(t){var r=this.style,n=r[t];if(n!=null)return n;var i=PE(r.image)?r.image:this.__image;if(!i)return 0;var a=t==="width"?"height":"width",o=r[a];return o==null?i[t]:i[t]/i[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return NE},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Fe(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e})(La);Ir.prototype.type="image";function kE(A,e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.r,o,s,l,u;n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),typeof a=="number"?o=s=l=u=a:a instanceof Array?a.length===1?o=s=l=u=a[0]:a.length===2?(o=l=a[0],s=u=a[1]):a.length===3?(o=a[0],s=u=a[1],l=a[2]):(o=a[0],s=a[1],l=a[2],u=a[3]):o=s=l=u=0;var f;o+s>n&&(f=o+s,o*=n/f,s*=n/f),l+u>n&&(f=l+u,l*=n/f,u*=n/f),s+l>i&&(f=s+l,s*=i/f,l*=i/f),o+u>i&&(f=o+u,o*=i/f,u*=i/f),A.moveTo(t+o,r),A.lineTo(t+n-s,r),s!==0&&A.arc(t+n-s,r+s,s,-Math.PI/2,0),A.lineTo(t+n,r+i-l),l!==0&&A.arc(t+n-l,r+i-l,l,0,Math.PI/2),A.lineTo(t+u,r+i),u!==0&&A.arc(t+u,r+i-u,u,Math.PI/2,Math.PI),A.lineTo(t,r+o),o!==0&&A.arc(t+o,r+o,o,Math.PI,Math.PI*1.5)}var Fi=Math.round;function C0(A,e,t){if(e){var r=e.x1,n=e.x2,i=e.y1,a=e.y2;A.x1=r,A.x2=n,A.y1=i,A.y2=a;var o=t&&t.lineWidth;return o&&(Fi(r*2)===Fi(n*2)&&(A.x1=A.x2=Fn(r,o,!0)),Fi(i*2)===Fi(a*2)&&(A.y1=A.y2=Fn(i,o,!0))),A}}function _0(A,e,t){if(e){var r=e.x,n=e.y,i=e.width,a=e.height;A.x=r,A.y=n,A.width=i,A.height=a;var o=t&&t.lineWidth;return o&&(A.x=Fn(r,o,!0),A.y=Fn(n,o,!0),A.width=Math.max(Fn(r+i,o,!1)-A.x,i===0?0:1),A.height=Math.max(Fn(n+a,o,!1)-A.y,a===0?0:1)),A}}function Fn(A,e,t){if(!e)return A;var r=Fi(A*2);return(r+Fi(e))%2===0?r/2:(r+(t?1:-1))/2}var VE=(function(){function A(){this.x=0,this.y=0,this.width=0,this.height=0}return A})(),KE={},qe=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new VE},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=_0(KE,r,this.style);n=s.x,i=s.y,a=s.width,o=s.height,s.r=r.r,r=s}else n=r.x,i=r.y,a=r.width,o=r.height;r.r?kE(t,r):t.rect(n,i,a,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e})(ke);qe.prototype.type="rect";var Q0={fill:"#000"},x0=2,WA={},GE={style:Ne({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Os.style)},Ot=(function(A){J(e,A);function e(t){var r=A.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=Q0,r.attr(t),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){A.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var r=this._children[t];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):A.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(t){var r=this.innerTransformable;return r?r.getLocalTransform(t):A.prototype.getLocalTransform.call(this,t)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),A.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,ZE(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(t){A.prototype.addSelfToZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=t},e.prototype.removeSelfFromZr=function(t){A.prototype.removeSelfFromZr.call(this,t);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Fe(0,0,0,0),r=this._children,n=[],i=null,a=0;a<r.length;a++){var o=r[a],s=o.getBoundingRect(),l=o.getLocalTransform(n);l?(t.copy(s),t.applyTransform(l),i=i||t.clone(),i.union(t)):(i=i||s.clone(),i.union(s))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Q0},e.prototype.setTextContent=function(t){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,r){if(!r)return t;var n=r.rich,i=t.rich||n&&{};return Y(t,r),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,r){for(var n=Xe(r),i=0;i<n.length;i++){var a=n[i];t[a]=t[a]||{},Y(t[a],r[a])}},e.prototype.getAnimationStyleProps=function(){return GE},e.prototype._getOrCreateChild=function(t){var r=this._children[this._childCursor];return(!r||!(r instanceof t))&&(r=new t),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var t=this.style,r=t.font||wr,n=t.padding,i=this._defaultStyle,a=t.x||0,o=t.y||0,s=t.align||i.align||"left",l=t.verticalAlign||i.verticalAlign||"top";f0(WA,i.overflowRect,a,o,s,l),a=WA.baseX,o=WA.baseY;var u=T0(t),f=fE(u,t,WA.outerWidth,WA.outerHeight),c=Xc(t),h=!!t.backgroundColor,v=f.outerHeight,d=f.outerWidth,g=f.lines,p=f.lineHeight;this.isTruncated=!!f.isTruncated;var B=a,m=dn(o,f.contentHeight,l);if(c||n){var y=wi(a,d,s),_=dn(o,v,l);c&&this._renderBackground(t,t,y,_,d,v)}m+=p/2,n&&(B=I0(a,s,n),l==="top"?m+=n[0]:l==="bottom"&&(m-=n[2]));for(var C=0,Q=!1,x=!1,F=U0("fill"in t?t.fill:(x=!0,i.fill)),S=S0("stroke"in t?t.stroke:!h&&(!i.autoStroke||x)?(C=x0,Q=!0,i.stroke):null),E=t.textShadowBlur>0,I=0;I<g.length;I++){var U=this._getOrCreateChild(ks),T=U.createStyle();U.useStyle(T),T.text=g[I],T.x=B,T.y=m,T.textAlign=s,T.textBaseline="middle",T.opacity=t.opacity,T.strokeFirst=!0,E&&(T.shadowBlur=t.textShadowBlur||0,T.shadowColor=t.textShadowColor||"transparent",T.shadowOffsetX=t.textShadowOffsetX||0,T.shadowOffsetY=t.textShadowOffsetY||0),T.stroke=S,T.fill=F,S&&(T.lineWidth=t.lineWidth||C,T.lineDash=t.lineDash,T.lineDashOffset=t.lineDashOffset||0),T.font=r,E0(T,t),m+=p,U.setBoundingRect(Hc(T,f.contentWidth,f.calculatedLineHeight,Q?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,r=this._defaultStyle,n=t.align||r.align,i=t.verticalAlign||r.verticalAlign,a=t.x||0,o=t.y||0;f0(WA,r.overflowRect,a,o,n,i),a=WA.baseX,o=WA.baseY;var s=T0(t),l=vE(s,t,WA.outerWidth,WA.outerHeight,n),u=l.width,f=l.outerWidth,c=l.outerHeight,h=t.padding;this.isTruncated=!!l.isTruncated;var v=wi(a,f,n),d=dn(o,c,i),g=v,p=d;h&&(g+=h[3],p+=h[0]);var B=g+u;Xc(t)&&this._renderBackground(t,t,v,d,f,c);for(var m=!!t.backgroundColor,y=0;y<l.lines.length;y++){for(var _=l.lines[y],C=_.tokens,Q=C.length,x=_.lineHeight,F=_.width,S=0,E=g,I=B,U=Q-1,T=void 0;S<Q&&(T=C[S],!T.align||T.align==="left");)this._placeToken(T,t,x,p,E,"left",m),F-=T.width,E+=T.width,S++;for(;U>=0&&(T=C[U],T.align==="right");)this._placeToken(T,t,x,p,I,"right",m),F-=T.width,I-=T.width,U--;for(E+=(u-(E-g)-(B-I)-F)/2;S<=U;)T=C[S],this._placeToken(T,t,x,p,E+T.width/2,"center",m),E+=T.width,S++;p+=x}},e.prototype._placeToken=function(t,r,n,i,a,o,s){var l=r.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,f=i+n/2;u==="top"?f=i+t.height/2:u==="bottom"&&(f=i+n-t.height/2);var c=!t.isLineHolder&&Xc(l);c&&this._renderBackground(l,r,o==="right"?a-t.width:o==="center"?a-t.width/2:a,f-t.height/2,t.width,t.height);var h=!!l.backgroundColor,v=t.textPadding;v&&(a=I0(a,o,v),f-=t.height/2-v[0]-t.innerHeight/2);var d=this._getOrCreateChild(ks),g=d.createStyle();d.useStyle(g);var p=this._defaultStyle,B=!1,m=0,y=!1,_=U0("fill"in l?l.fill:"fill"in r?r.fill:(B=!0,p.fill)),C=S0("stroke"in l?l.stroke:"stroke"in r?r.stroke:!h&&!s&&(!p.autoStroke||B)?(m=x0,y=!0,p.stroke):null),Q=l.textShadowBlur>0||r.textShadowBlur>0;g.text=t.text,g.x=a,g.y=f,Q&&(g.shadowBlur=l.textShadowBlur||r.textShadowBlur||0,g.shadowColor=l.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||wr,g.opacity=Cr(l.opacity,r.opacity,1),E0(g,l),C&&(g.lineWidth=Cr(l.lineWidth,r.lineWidth,m),g.lineDash=ve(l.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=C),_&&(g.fill=_),d.setBoundingRect(Hc(g,t.contentWidth,t.contentHeight,y?0:null))},e.prototype._renderBackground=function(t,r,n,i,a,o){var s=t.backgroundColor,l=t.borderWidth,u=t.borderColor,f=s&&s.image,c=s&&!f,h=t.borderRadius,v=this,d,g;if(c||t.lineHeight||l&&u){d=this._getOrCreateChild(qe),d.useStyle(d.createStyle()),d.style.fill=null;var p=d.shape;p.x=n,p.y=i,p.width=a,p.height=o,p.r=h,d.dirtyShape()}if(c){var B=d.style;B.fill=s||null,B.fillOpacity=ve(t.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Ir),g.onload=function(){v.dirtyStyle()};var m=g.style;m.image=s.image,m.x=n,m.y=i,m.width=a,m.height=o}if(l&&u){var B=d.style;B.lineWidth=l,B.stroke=u,B.strokeOpacity=ve(t.strokeOpacity,1),B.lineDash=t.borderDash,B.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(B.strokeFirst=!0,B.lineWidth*=2)}var y=(d||g).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=Cr(t.opacity,r.opacity,1)},e.makeFont=function(t){var r="";return XE(t)&&(r=[t.fontStyle,t.fontWeight,YE(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),r&&LA(r)||t.textFont||t.font},e})(La),zE={left:!0,right:1,center:1},WE={top:1,bottom:1,middle:1},F0=["fontStyle","fontWeight","fontSize","fontFamily"];function YE(A){return typeof A=="string"&&(A.indexOf("px")!==-1||A.indexOf("rem")!==-1||A.indexOf("em")!==-1)?A:isNaN(+A)?Ff+"px":A+"px"}function E0(A,e){for(var t=0;t<F0.length;t++){var r=F0[t],n=e[r];n!=null&&(A[r]=n)}}function XE(A){return A.fontSize!=null||A.fontFamily||A.fontWeight}function ZE(A){return b0(A),b(A.rich,b0),A}function b0(A){if(A){A.font=Ot.makeFont(A);var e=A.align;e==="middle"&&(e="center"),A.align=e==null||zE[e]?e:"left";var t=A.verticalAlign;t==="center"&&(t="middle"),A.verticalAlign=t==null||WE[t]?t:"top";var r=A.padding;r&&(A.padding=Uf(A.padding))}}function S0(A,e){return A==null||e<=0||A==="transparent"||A==="none"?null:A.image||A.colorStops?"#000":A}function U0(A){return A==null||A==="none"?null:A.image||A.colorStops?"#000":A}function I0(A,e,t){return e==="right"?A-t[1]:e==="center"?A+t[3]/2-t[1]/2:A+t[3]}function T0(A){var e=A.text;return e!=null&&(e+=""),e}function Xc(A){return!!(A.backgroundColor||A.lineHeight||A.borderWidth&&A.borderColor)}var Le=ze(),JE=function(A,e,t,r){if(r){var n=Le(r);n.dataIndex=t,n.dataType=e,n.seriesIndex=A,n.ssrType="chart",r.type==="group"&&r.traverse(function(i){var a=Le(i);a.seriesIndex=A,a.dataIndex=t,a.dataType=e,a.ssrType="chart"})}},D0=1,L0={},M0=ze(),Zc=ze(),Jc=0,Vs=1,Ks=2,sA=["emphasis","blur","select"],Gs=["normal","emphasis","blur","select"],qE=10,$E=9,En="highlight",zs="downplay",Ws="select",qc="unselect",Ys="toggleSelect",$c="selectchanged";function Ei(A){return A!=null&&A!=="none"}function Xs(A,e,t){A.onHoverStateChange&&(A.hoverState||0)!==t&&A.onHoverStateChange(e),A.hoverState=t}function H0(A){Xs(A,"emphasis",Ks)}function O0(A){A.hoverState===Ks&&Xs(A,"normal",Jc)}function jc(A){Xs(A,"blur",Vs)}function R0(A){A.hoverState===Vs&&Xs(A,"normal",Jc)}function jE(A){A.selected=!0}function eb(A){A.selected=!1}function N0(A,e,t){e(A,t)}function lr(A,e,t){N0(A,e,t),A.isGroup&&A.traverse(function(r){N0(r,e,t)})}function P0(A,e){switch(e){case"emphasis":A.hoverState=Ks;break;case"normal":A.hoverState=Jc;break;case"blur":A.hoverState=Vs;break;case"select":A.selected=!0}}function tb(A,e,t,r){for(var n=A.style,i={},a=0;a<e.length;a++){var o=e[a],s=n[o];i[o]=s??(r&&r[o])}for(var a=0;a<A.animators.length;a++){var l=A.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(t)<0&&l.targetName==="style"&&l.saveTo(i,e)}return i}function Ab(A,e,t,r){var n=t&&Te(t,"select")>=0,i=!1;if(A instanceof ke){var a=M0(A),o=n&&a.selectFill||a.normalFill,s=n&&a.selectStroke||a.normalStroke;if(Ei(o)||Ei(s)){r=r||{};var l=r.style||{};l.fill==="inherit"?(i=!0,r=Y({},r),l=Y({},l),l.fill=o):!Ei(l.fill)&&Ei(o)?(i=!0,r=Y({},r),l=Y({},l),l.fill=Bg(o)):!Ei(l.stroke)&&Ei(s)&&(i||(r=Y({},r),l=Y({},l)),l.stroke=Bg(s)),r.style=l}}if(r&&r.z2==null){i||(r=Y({},r));var u=A.z2EmphasisLift;r.z2=A.z2+(u??qE)}return r}function rb(A,e,t){if(t&&t.z2==null){t=Y({},t);var r=A.z2SelectLift;t.z2=A.z2+(r??$E)}return t}function nb(A,e,t){var r=Te(A.currentStates,e)>=0,n=A.style.opacity,i=r?null:tb(A,["opacity"],e,{opacity:1});t=t||{};var a=t.style||{};return a.opacity==null&&(t=Y({},t),a=Y({opacity:r?n:i.opacity*.1},a),t.style=a),t}function eh(A,e){var t=this.states[A];if(this.style){if(A==="emphasis")return Ab(this,A,e,t);if(A==="blur")return nb(this,A,t);if(A==="select")return rb(this,A,t)}return t}function ib(A){A.stateProxy=eh;var e=A.getTextContent(),t=A.getTextGuideLine();e&&(e.stateProxy=eh),t&&(t.stateProxy=eh)}function k0(A,e){!W0(A,e)&&!A.__highByOuter&&lr(A,H0)}function V0(A,e){!W0(A,e)&&!A.__highByOuter&&lr(A,O0)}function Zs(A,e){A.__highByOuter|=1<<(e||0),lr(A,H0)}function Js(A,e){!(A.__highByOuter&=~(1<<(e||0)))&&lr(A,O0)}function ab(A){lr(A,jc)}function K0(A){lr(A,R0)}function G0(A){lr(A,jE)}function z0(A){lr(A,eb)}function W0(A,e){return A.__highDownSilentOnTouch&&e.zrByTouch}function Y0(A){var e=A.getModel(),t=[],r=[];e.eachComponent(function(n,i){var a=Zc(i),o=n==="series",s=o?A.getViewOfSeriesModel(i):A.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse(function(l){R0(l)}),o&&t.push(i)),a.isBlured=!1}),b(r,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function th(A,e,t,r){var n=r.getModel();t=t||"coordinateSystem";function i(l,u){for(var f=0;f<u.length;f++){var c=l.getItemGraphicEl(u[f]);c&&K0(c)}}if(A!=null&&!(!e||e==="none")){var a=n.getSeriesByIndex(A),o=a.coordinateSystem;o&&o.master&&(o=o.master);var s=[];n.eachSeries(function(l){var u=a===l,f=l.coordinateSystem;f&&f.master&&(f=f.master);var c=f&&o?f===o:u;if(!(t==="series"&&!u||t==="coordinateSystem"&&!c||e==="series"&&u)){var h=r.getViewOfSeriesModel(l);if(h.group.traverse(function(g){g.__highByOuter&&u&&e==="self"||jc(g)}),kt(e))i(l.getData(),e);else if(he(e))for(var v=Xe(e),d=0;d<v.length;d++)i(l.getData(v[d]),e[v[d]]);s.push(l),Zc(l).isBlured=!0}}),n.eachComponent(function(l,u){if(l!=="series"){var f=r.getViewOfComponentModel(u);f&&f.toggleBlurSeries&&f.toggleBlurSeries(s,!0,n)}})}}function Ah(A,e,t){if(!(A==null||e==null)){var r=t.getModel().getComponent(A,e);if(r){Zc(r).isBlured=!0;var n=t.getViewOfComponentModel(r);!n||!n.focusBlurEnabled||n.group.traverse(function(i){jc(i)})}}}function ob(A,e,t){var r=A.seriesIndex,n=A.getData(e.dataType);if(!n){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+e.dataType);return}var i=pn(n,e);i=(ae(i)?i[0]:i)||0;var a=n.getItemGraphicEl(i);if(!a)for(var o=n.count(),s=0;!a&&s<o;)a=n.getItemGraphicEl(s++);if(a){var l=Le(a);th(r,l.focus,l.blurScope,t)}else{var u=A.get(["emphasis","focus"]),f=A.get(["emphasis","blurScope"]);u!=null&&th(r,u,f,t)}}function rh(A,e,t,r){var n={focusSelf:!1,dispatchers:null};if(A==null||A==="series"||e==null||t==null)return n;var i=r.getModel().getComponent(A,e);if(!i)return n;var a=r.getViewOfComponentModel(i);if(!a||!a.findHighDownDispatchers)return n;for(var o=a.findHighDownDispatchers(t),s,l=0;l<o.length;l++)if(process.env.NODE_ENV!=="production"&&!bi(o[l])&&Ge("param should be highDownDispatcher"),Le(o[l]).focus==="self"){s=!0;break}return{focusSelf:s,dispatchers:o}}function sb(A,e,t){process.env.NODE_ENV!=="production"&&!bi(A)&&Ge("param should be highDownDispatcher");var r=Le(A),n=rh(r.componentMainType,r.componentIndex,r.componentHighDownName,t),i=n.dispatchers,a=n.focusSelf;i?(a&&Ah(r.componentMainType,r.componentIndex,t),b(i,function(o){return k0(o,e)})):(th(r.seriesIndex,r.focus,r.blurScope,t),r.focus==="self"&&Ah(r.componentMainType,r.componentIndex,t),k0(A,e))}function lb(A,e,t){process.env.NODE_ENV!=="production"&&!bi(A)&&Ge("param should be highDownDispatcher"),Y0(t);var r=Le(A),n=rh(r.componentMainType,r.componentIndex,r.componentHighDownName,t).dispatchers;n?b(n,function(i){return V0(i,e)}):V0(A,e)}function ub(A,e,t){if(ih(e)){var r=e.dataType,n=A.getData(r),i=pn(n,e);ae(i)||(i=[i]),A[e.type===Ys?"toggleSelect":e.type===Ws?"select":"unselect"](i,r)}}function X0(A){var e=A.getAllData();b(e,function(t){var r=t.data,n=t.type;r.eachItemGraphicEl(function(i,a){A.isSelected(a,n)?G0(i):z0(i)})})}function fb(A){var e=[];return A.eachSeries(function(t){var r=t.getAllData();b(r,function(n){n.data;var i=n.type,a=t.getSelectedDataIndices();if(a.length>0){var o={dataIndex:a,seriesIndex:t.seriesIndex};i!=null&&(o.dataType=i),e.push(o)}})}),e}function qs(A,e,t){J0(A,!0),lr(A,ib),hb(A,e,t)}function cb(A){J0(A,!1)}function $s(A,e,t,r){r?cb(A):qs(A,e,t)}function hb(A,e,t){var r=Le(A);e!=null?(r.focus=e,r.blurScope=t):r.focus&&(r.focus=null)}var Z0=["emphasis","blur","select"],vb={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function nh(A,e,t,r){t=t||"itemStyle";for(var n=0;n<Z0.length;n++){var i=Z0[n],a=e.getModel([i,t]),o=A.ensureState(i);o.style=a[vb[t]]()}}function J0(A,e){var t=e===!1,r=A;A.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=A.highDownSilentOnTouch),(!t||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!t)}function bi(A){return!!(A&&A.__highDownDispatcher)}function db(A){var e=L0[A];return e==null&&D0<=32&&(e=L0[A]=D0++),e}function ih(A){var e=A.type;return e===Ws||e===qc||e===Ys}function q0(A){var e=A.type;return e===En||e===zs}function pb(A){var e=M0(A);e.normalFill=A.style.fill,e.normalStroke=A.style.stroke;var t=A.states.select||{};e.selectFill=t.style&&t.style.fill||null,e.selectStroke=t.style&&t.style.stroke||null}var Si=Sr.CMD,gb=[[],[],[]],$0=Math.sqrt,Bb=Math.atan2;function mb(A,e){if(e){var t=A.data,r=A.len(),n,i,a,o,s,l,u=Si.M,f=Si.C,c=Si.L,h=Si.R,v=Si.A,d=Si.Q;for(a=0,o=0;a<r;){switch(n=t[a++],o=a,i=0,n){case u:i=1;break;case c:i=1;break;case f:i=3;break;case d:i=2;break;case v:var g=e[4],p=e[5],B=$0(e[0]*e[0]+e[1]*e[1]),m=$0(e[2]*e[2]+e[3]*e[3]),y=Bb(-e[1]/m,e[0]/B);t[a]*=B,t[a++]+=g,t[a]*=m,t[a++]+=p,t[a++]*=B,t[a++]*=m,t[a++]+=y,t[a++]+=y,a+=2,o=a;break;case h:l[0]=t[a++],l[1]=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1],l[0]+=t[a++],l[1]+=t[a++],tA(l,l,e),t[o++]=l[0],t[o++]=l[1]}for(s=0;s<i;s++){var _=gb[s];_[0]=t[a++],_[1]=t[a++],tA(_,_,e),t[o++]=_[0],t[o++]=_[1]}}A.increaseVersion()}}var ah=Math.sqrt,js=Math.sin,el=Math.cos,Oa=Math.PI;function j0(A){return Math.sqrt(A[0]*A[0]+A[1]*A[1])}function oh(A,e){return(A[0]*e[0]+A[1]*e[1])/(j0(A)*j0(e))}function eB(A,e){return(A[0]*e[1]<A[1]*e[0]?-1:1)*Math.acos(oh(A,e))}function tB(A,e,t,r,n,i,a,o,s,l,u){var f=s*(Oa/180),c=el(f)*(A-t)/2+js(f)*(e-r)/2,h=-1*js(f)*(A-t)/2+el(f)*(e-r)/2,v=c*c/(a*a)+h*h/(o*o);v>1&&(a*=ah(v),o*=ah(v));var d=(n===i?-1:1)*ah((a*a*(o*o)-a*a*(h*h)-o*o*(c*c))/(a*a*(h*h)+o*o*(c*c)))||0,g=d*a*h/o,p=d*-o*c/a,B=(A+t)/2+el(f)*g-js(f)*p,m=(e+r)/2+js(f)*g+el(f)*p,y=eB([1,0],[(c-g)/a,(h-p)/o]),_=[(c-g)/a,(h-p)/o],C=[(-1*c-g)/a,(-1*h-p)/o],Q=eB(_,C);if(oh(_,C)<=-1&&(Q=Oa),oh(_,C)>=1&&(Q=0),Q<0){var x=Math.round(Q/Oa*1e6)/1e6;Q=Oa*2+x%2*Oa}u.addData(l,B,m,a,o,y,Q,f,i)}var yb=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,wb=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Cb(A){var e=new Sr;if(!A)return e;var t=0,r=0,n=t,i=r,a,o=Sr.CMD,s=A.match(yb);if(!s)return e;for(var l=0;l<s.length;l++){for(var u=s[l],f=u.charAt(0),c=void 0,h=u.match(wb)||[],v=h.length,d=0;d<v;d++)h[d]=parseFloat(h[d]);for(var g=0;g<v;){var p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=t,F=r,S=void 0,E=void 0;switch(f){case"l":t+=h[g++],r+=h[g++],c=o.L,e.addData(c,t,r);break;case"L":t=h[g++],r=h[g++],c=o.L,e.addData(c,t,r);break;case"m":t+=h[g++],r+=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="l";break;case"M":t=h[g++],r=h[g++],c=o.M,e.addData(c,t,r),n=t,i=r,f="L";break;case"h":t+=h[g++],c=o.L,e.addData(c,t,r);break;case"H":t=h[g++],c=o.L,e.addData(c,t,r);break;case"v":r+=h[g++],c=o.L,e.addData(c,t,r);break;case"V":r=h[g++],c=o.L,e.addData(c,t,r);break;case"C":c=o.C,e.addData(c,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),t=h[g-2],r=h[g-1];break;case"c":c=o.C,e.addData(c,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r,h[g++]+t,h[g++]+r),t+=h[g-2],r+=h[g-1];break;case"S":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=h[g++],F=h[g++],t=h[g++],r=h[g++],e.addData(c,p,B,x,F,t,r);break;case"s":p=t,B=r,S=e.len(),E=e.data,a===o.C&&(p+=t-E[S-4],B+=r-E[S-3]),c=o.C,x=t+h[g++],F=r+h[g++],t+=h[g++],r+=h[g++],e.addData(c,p,B,x,F,t,r);break;case"Q":x=h[g++],F=h[g++],t=h[g++],r=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"q":x=h[g++]+t,F=h[g++]+r,t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,x,F,t,r);break;case"T":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t=h[g++],r=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"t":p=t,B=r,S=e.len(),E=e.data,a===o.Q&&(p+=t-E[S-4],B+=r-E[S-3]),t+=h[g++],r+=h[g++],c=o.Q,e.addData(c,p,B,t,r);break;case"A":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t=h[g++],r=h[g++],c=o.A,tB(x,F,t,r,C,Q,m,y,_,c,e);break;case"a":m=h[g++],y=h[g++],_=h[g++],C=h[g++],Q=h[g++],x=t,F=r,t+=h[g++],r+=h[g++],c=o.A,tB(x,F,t,r,C,Q,m,y,_,c,e);break}}(f==="z"||f==="Z")&&(c=o.Z,e.addData(c),t=n,r=i),a=c}return e.toStatic(),e}var AB=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.applyTransform=function(t){},e})(ke);function rB(A){return A.setData!=null}function nB(A,e){var t=Cb(A),r=Y({},e);return r.buildPath=function(n){var i=rB(n);if(i&&n.canSave()){n.appendPath(t);var a=n.getContext();a&&n.rebuildPath(a,1)}else{var a=i?n.getContext():n;a&&t.rebuildPath(a,1)}},r.applyTransform=function(n){mb(t,n),this.dirtyShape()},r}function _b(A,e){return new AB(nB(A,e))}function Qb(A,e){var t=nB(A,e),r=(function(n){J(i,n);function i(a){var o=n.call(this,a)||this;return o.applyTransform=t.applyTransform,o.buildPath=t.buildPath,o}return i})(AB);return r}function xb(A,e){for(var t=[],r=A.length,n=0;n<r;n++){var i=A[n];t.push(i.getUpdatedPathProxy(!0))}var a=new ke(e);return a.createPathProxy(),a.buildPath=function(o){if(rB(o)){o.appendPath(t);var s=o.getContext();s&&o.rebuildPath(s,1)}},a}var Fb=(function(){function A(){this.cx=0,this.cy=0,this.r=0}return A})(),tl=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Fb},e.prototype.buildPath=function(t,r){t.moveTo(r.cx+r.r,r.cy),t.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e})(ke);tl.prototype.type="circle";var Eb=(function(){function A(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return A})(),sh=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Eb},e.prototype.buildPath=function(t,r){var n=.5522848,i=r.cx,a=r.cy,o=r.rx,s=r.ry,l=o*n,u=s*n;t.moveTo(i-o,a),t.bezierCurveTo(i-o,a-u,i-l,a-s,i,a-s),t.bezierCurveTo(i+l,a-s,i+o,a-u,i+o,a),t.bezierCurveTo(i+o,a+u,i+l,a+s,i,a+s),t.bezierCurveTo(i-l,a+s,i-o,a+u,i-o,a),t.closePath()},e})(ke);sh.prototype.type="ellipse";var iB=Math.PI,lh=iB*2,bn=Math.sin,Ui=Math.cos,bb=Math.acos,Ft=Math.atan2,aB=Math.abs,Ra=Math.sqrt,Na=Math.max,YA=Math.min,_A=1e-4;function Sb(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=f*s-u*l;if(!(c*c<_A))return c=(u*(e-i)-f*(A-n))/c,[A+c*s,e+c*l]}function Al(A,e,t,r,n,i,a){var o=A-t,s=e-r,l=(a?i:-i)/Ra(o*o+s*s),u=l*s,f=-l*o,c=A+u,h=e+f,v=t+u,d=r+f,g=(c+v)/2,p=(h+d)/2,B=v-c,m=d-h,y=B*B+m*m,_=n-i,C=c*d-v*h,Q=(m<0?-1:1)*Ra(Na(0,_*_*y-C*C)),x=(C*m-B*Q)/y,F=(-C*B-m*Q)/y,S=(C*m+B*Q)/y,E=(-C*B+m*Q)/y,I=x-g,U=F-p,T=S-g,L=E-p;return I*I+U*U>T*T+L*L&&(x=S,F=E),{cx:x,cy:F,x0:-u,y0:-f,x1:x*(n/_-1),y1:F*(n/_-1)}}function Ub(A){var e;if(ae(A)){var t=A.length;if(!t)return A;t===1?e=[A[0],A[0],0,0]:t===2?e=[A[0],A[0],A[1],A[1]]:t===3?e=A.concat(A[2]):e=A}else e=[A,A,A,A];return e}function Ib(A,e){var t,r=Na(e.r,0),n=Na(e.r0||0,0),i=r>0,a=n>0;if(!(!i&&!a)){if(i||(r=n,n=0),n>r){var o=r;r=n,n=o}var s=e.startAngle,l=e.endAngle;if(!(isNaN(s)||isNaN(l))){var u=e.cx,f=e.cy,c=!!e.clockwise,h=aB(l-s),v=h>lh&&h%lh;if(v>_A&&(h=v),!(r>_A))A.moveTo(u,f);else if(h>lh-_A)A.moveTo(u+r*Ui(s),f+r*bn(s)),A.arc(u,f,r,s,l,!c),n>_A&&(A.moveTo(u+n*Ui(l),f+n*bn(l)),A.arc(u,f,n,l,s,c));else{var d=void 0,g=void 0,p=void 0,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0,Q=void 0,x=void 0,F=void 0,S=void 0,E=void 0,I=void 0,U=void 0,T=void 0,L=r*Ui(s),P=r*bn(s),Z=n*Ui(l),V=n*bn(l),X=h>_A;if(X){var ee=e.cornerRadius;ee&&(t=Ub(ee),d=t[0],g=t[1],p=t[2],B=t[3]);var te=aB(r-n)/2;if(m=YA(te,p),y=YA(te,B),_=YA(te,d),C=YA(te,g),F=Q=Na(m,y),S=x=Na(_,C),(Q>_A||x>_A)&&(E=r*Ui(l),I=r*bn(l),U=n*Ui(s),T=n*bn(s),h<iB)){var D=Sb(L,P,U,T,E,I,Z,V);if(D){var M=L-D[0],H=P-D[1],K=E-D[0],N=I-D[1],ue=1/bn(bb((M*K+H*N)/(Ra(M*M+H*H)*Ra(K*K+N*N)))/2),ie=Ra(D[0]*D[0]+D[1]*D[1]);F=YA(Q,(r-ie)/(ue+1)),S=YA(x,(n-ie)/(ue-1))}}}if(!X)A.moveTo(u+L,f+P);else if(F>_A){var Se=YA(p,F),He=YA(B,F),G=Al(U,T,L,P,r,Se,c),de=Al(E,I,Z,V,r,He,c);A.moveTo(u+G.cx+G.x0,f+G.cy+G.y0),F<Q&&Se===He?A.arc(u+G.cx,f+G.cy,F,Ft(G.y0,G.x0),Ft(de.y0,de.x0),!c):(Se>0&&A.arc(u+G.cx,f+G.cy,Se,Ft(G.y0,G.x0),Ft(G.y1,G.x1),!c),A.arc(u,f,r,Ft(G.cy+G.y1,G.cx+G.x1),Ft(de.cy+de.y1,de.cx+de.x1),!c),He>0&&A.arc(u+de.cx,f+de.cy,He,Ft(de.y1,de.x1),Ft(de.y0,de.x0),!c))}else A.moveTo(u+L,f+P),A.arc(u,f,r,s,l,!c);if(!(n>_A)||!X)A.lineTo(u+Z,f+V);else if(S>_A){var Se=YA(d,S),He=YA(g,S),G=Al(Z,V,E,I,n,-He,c),de=Al(L,P,U,T,n,-Se,c);A.lineTo(u+G.cx+G.x0,f+G.cy+G.y0),S<x&&Se===He?A.arc(u+G.cx,f+G.cy,S,Ft(G.y0,G.x0),Ft(de.y0,de.x0),!c):(He>0&&A.arc(u+G.cx,f+G.cy,He,Ft(G.y0,G.x0),Ft(G.y1,G.x1),!c),A.arc(u,f,n,Ft(G.cy+G.y1,G.cx+G.x1),Ft(de.cy+de.y1,de.cx+de.x1),c),Se>0&&A.arc(u+de.cx,f+de.cy,Se,Ft(de.y1,de.x1),Ft(de.y0,de.x0),!c))}else A.lineTo(u+Z,f+V),A.arc(u,f,n,l,s,c)}A.closePath()}}}var Tb=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return A})(),Ii=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Tb},e.prototype.buildPath=function(t,r){Ib(t,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e})(ke);Ii.prototype.type="sector";var Db=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return A})(),uh=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Db},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.PI*2;t.moveTo(n+r.r,i),t.arc(n,i,r.r,0,a,!1),t.moveTo(n+r.r0,i),t.arc(n,i,r.r0,0,a,!0)},e})(ke);uh.prototype.type="ring";function Lb(A,e,t,r){var n=[],i=[],a=[],o=[],s,l,u,f;if(r){u=[1/0,1/0],f=[-1/0,-1/0];for(var c=0,h=A.length;c<h;c++)li(u,u,A[c]),ui(f,f,A[c]);li(u,u,r[0]),ui(f,f,r[1])}for(var c=0,h=A.length;c<h;c++){var v=A[c];if(t)s=A[c?c-1:h-1],l=A[(c+1)%h];else if(c===0||c===h-1){n.push(hx(A[c]));continue}else s=A[c-1],l=A[c+1];vx(i,l,s),Tf(i,i,e);var d=Df(v,s),g=Df(v,l),p=d+g;p!==0&&(d/=p,g/=p),Tf(a,i,-d),Tf(o,i,g);var B=Rp([],v,a),m=Rp([],v,o);r&&(ui(B,B,u),li(B,B,f),ui(m,m,u),li(m,m,f)),n.push(B),n.push(m)}return t&&n.push(n.shift()),n}function oB(A,e,t){var r=e.smooth,n=e.points;if(n&&n.length>=2){if(r){var i=Lb(n,r,t,e.smoothConstraint);A.moveTo(n[0][0],n[0][1]);for(var a=n.length,o=0;o<(t?a:a-1);o++){var s=i[o*2],l=i[o*2+1],u=n[(o+1)%a];A.bezierCurveTo(s[0],s[1],l[0],l[1],u[0],u[1])}}else{A.moveTo(n[0][0],n[0][1]);for(var o=1,f=n.length;o<f;o++)A.lineTo(n[o][0],n[o][1])}t&&A.closePath()}}var Mb=(function(){function A(){this.points=null,this.smooth=0,this.smoothConstraint=null}return A})(),rl=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new Mb},e.prototype.buildPath=function(t,r){oB(t,r,!0)},e})(ke);rl.prototype.type="polygon";var Hb=(function(){function A(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return A})(),Pa=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Hb},e.prototype.buildPath=function(t,r){oB(t,r,!1)},e})(ke);Pa.prototype.type="polyline";var Ob={},Rb=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return A})(),Tr=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Rb},e.prototype.buildPath=function(t,r){var n,i,a,o;if(this.subPixelOptimize){var s=C0(Ob,r,this.style);n=s.x1,i=s.y1,a=s.x2,o=s.y2}else n=r.x1,i=r.y1,a=r.x2,o=r.y2;var l=r.percent;l!==0&&(t.moveTo(n,i),l<1&&(a=n*(1-l)+a*l,o=i*(1-l)+o*l),t.lineTo(a,o))},e.prototype.pointAt=function(t){var r=this.shape;return[r.x1*(1-t)+r.x2*t,r.y1*(1-t)+r.y2*t]},e})(ke);Tr.prototype.type="line";var Gt=[],Nb=(function(){function A(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return A})();function sB(A,e,t){var r=A.cpx2,n=A.cpy2;return r!=null||n!=null?[(t?ag:ct)(A.x1,A.cpx1,A.cpx2,A.x2,e),(t?ag:ct)(A.y1,A.cpy1,A.cpy2,A.y2,e)]:[(t?lg:Qt)(A.x1,A.cpx1,A.x2,e),(t?lg:Qt)(A.y1,A.cpy1,A.y2,e)]}var fh=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Nb},e.prototype.buildPath=function(t,r){var n=r.x1,i=r.y1,a=r.x2,o=r.y2,s=r.cpx1,l=r.cpy1,u=r.cpx2,f=r.cpy2,c=r.percent;c!==0&&(t.moveTo(n,i),u==null||f==null?(c<1&&(cs(n,s,a,c,Gt),s=Gt[1],a=Gt[2],cs(i,l,o,c,Gt),l=Gt[1],o=Gt[2]),t.quadraticCurveTo(s,l,a,o)):(c<1&&(fs(n,s,u,a,c,Gt),s=Gt[1],u=Gt[2],a=Gt[3],fs(i,l,f,o,c,Gt),l=Gt[1],f=Gt[2],o=Gt[3]),t.bezierCurveTo(s,l,u,f,a,o)))},e.prototype.pointAt=function(t){return sB(this.shape,t,!1)},e.prototype.tangentAt=function(t){var r=sB(this.shape,t,!0);return gx(r,r)},e})(ke);fh.prototype.type="bezier-curve";var Pb=(function(){function A(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),nl=(function(A){J(e,A);function e(t){return A.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Pb},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r,0),o=r.startAngle,s=r.endAngle,l=r.clockwise,u=Math.cos(o),f=Math.sin(o);t.moveTo(u*a+n,f*a+i),t.arc(n,i,a,o,s,!l)},e})(ke);nl.prototype.type="arc";var kb=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="compound",t}return e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,r=this.shapeChanged(),n=0;n<t.length;n++)r=r||t[n].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],r=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(r[0],r[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,r){for(var n=r.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],r=0;r<t.length;r++)t[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),ke.prototype.getBoundingRect.call(this)},e})(ke),lB=(function(){function A(e){this.colorStops=e||[]}return A.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},A})(),uB=(function(A){J(e,A);function e(t,r,n,i,a,o){var s=A.call(this,a)||this;return s.x=t??0,s.y=r??0,s.x2=n??1,s.y2=i??0,s.type="linear",s.global=o||!1,s}return e})(lB),Vb=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this,i)||this;return o.x=t??.5,o.y=r??.5,o.r=n??.5,o.type="radial",o.global=a||!1,o}return e})(lB),ch=Math.min,Kb=Math.max,il=Math.abs,Sn=[0,0],Un=[0,0],gt=Yp(),al=gt.minTv,ol=gt.maxTv,fB=(function(){function A(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new be;for(var r=0;r<2;r++)this._axes[r]=new be;e&&this.fromBoundingRect(e,t)}return A.prototype.fromBoundingRect=function(e,t){var r=this._corners,n=this._axes,i=e.x,a=e.y,o=i+e.width,s=a+e.height;if(r[0].set(i,a),r[1].set(o,a),r[2].set(o,s),r[3].set(i,s),t)for(var l=0;l<4;l++)r[l].transform(t);be.sub(n[0],r[1],r[0]),be.sub(n[1],r[3],r[0]),n[0].normalize(),n[1].normalize();for(var l=0;l<2;l++)this._origin[l]=n[l].dot(r[0])},A.prototype.intersect=function(e,t,r){var n=!0,i=!t;return t&&be.set(t,0,0),gt.reset(r,!i),!this._intersectCheckOneSide(this,e,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,i,-1)&&(n=!1,i)||!i&&!gt.negativeSize&&be.copy(t,n?gt.useDir?gt.dirMinTv:al:ol),n},A.prototype._intersectCheckOneSide=function(e,t,r,n){for(var i=!0,a=0;a<2;a++){var o=e._axes[a];if(e._getProjMinMaxOnAxis(a,e._corners,Sn),e._getProjMinMaxOnAxis(a,t._corners,Un),gt.negativeSize||Sn[1]<Un[0]||Sn[0]>Un[1]){if(i=!1,gt.negativeSize||r)return i;var s=il(Un[0]-Sn[1]),l=il(Sn[0]-Un[1]);ch(s,l)>ol.len()&&(s<l?be.scale(ol,o,-s*n):be.scale(ol,o,l*n))}else if(!r){var s=il(Un[0]-Sn[1]),l=il(Sn[0]-Un[1]);(gt.useDir||ch(s,l)<al.len())&&((s<l||!gt.bidirectional)&&(be.scale(al,o,s*n),gt.useDir&&gt.calcDirMTV()),(s>=l||!gt.bidirectional)&&(be.scale(al,o,-l*n),gt.useDir&&gt.calcDirMTV()))}}return i},A.prototype._getProjMinMaxOnAxis=function(e,t,r){for(var n=this._axes[e],i=this._origin,a=t[0].dot(n)+i[e],o=a,s=a,l=1;l<t.length;l++){var u=t[l].dot(n)+i[e];o=ch(u,o),s=Kb(u,s)}r[0]=o+gt.touchThreshold,r[1]=s-gt.touchThreshold,gt.negativeSize=r[1]<r[0]},A})(),Gb=[],zb=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return e.prototype.traverse=function(t,r){t.call(r,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,r){r?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,r){r=r||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var r=this._cursor;r<this._displayables.length;r++)t&&t(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)t&&t(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var r=this._displayables[t];r.parent=this,r.update(),r.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var r=this._temporaryDisplayables[t];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Fe(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var n=this._displayables[r],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Gb)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,r){var n=this.transformCoordToLocal(t,r),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var a=0;a<this._displayables.length;a++){var o=this._displayables[a];if(o.contain(t,r))return!0}return!1},e})(La),Wb=ze();function Yb(A,e,t,r,n){var i;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();i=a&&a.animation}var o=e&&e.isAnimationEnabled(),s=A==="update";if(o){var l=void 0,u=void 0,f=void 0;r?(l=ve(r.duration,200),u=ve(r.easing,"cubicOut"),f=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),f=e.getShallow(s?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(l=i.duration),i.easing!=null&&(u=i.easing),i.delay!=null&&(f=i.delay)),me(f)&&(f=f(t,n)),me(l)&&(l=l(t));var c={duration:l||0,delay:f,easing:u};return c}else return null}function hh(A,e,t,r,n,i,a){var o=!1,s;me(n)?(a=i,i=n,n=null):he(n)&&(i=n.cb,a=n.during,o=n.isFrom,s=n.removeOpt,n=n.dataIndex);var l=A==="leave";l||e.stopAnimation("leave");var u=Yb(A,r,n,l?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,n):null);if(u&&u.duration>0){var f=u.duration,c=u.delay,h=u.easing,v={duration:f,delay:c||0,easing:h,done:i,force:!!i||!!a,setToFinal:!l,scope:A,during:a};o?e.animateFrom(t,v):e.animateTo(t,v)}else e.stopAnimation(),!o&&e.attr(t),a&&a(1),i&&i()}function Et(A,e,t,r,n,i){hh("update",A,e,t,r,n,i)}function lA(A,e,t,r,n,i){hh("enter",A,e,t,r,n,i)}function Ti(A){if(!A.__zr)return!0;for(var e=0;e<A.animators.length;e++){var t=A.animators[e];if(t.scope==="leave")return!0}return!1}function sl(A,e,t,r,n,i){Ti(A)||hh("leave",A,e,t,r,n,i)}function cB(A,e,t,r){A.removeTextContent(),A.removeTextGuideLine(),sl(A,{style:{opacity:0}},e,t,r)}function ll(A,e,t){function r(){A.parent&&A.parent.remove(A)}A.isGroup?A.traverse(function(n){n.isGroup||cB(n,e,t,r)}):cB(A,e,t,r)}function hB(A){Wb(A).oldStyle=A.style}var vh={},Dr=["x","y"],Di=["width","height"];function Xb(A){return ke.extend(A)}var Zb=Qb;function Jb(A,e){return Zb(A,e)}function QA(A,e){vh[A]=e}function qb(A){if(vh.hasOwnProperty(A))return vh[A]}function dh(A,e,t,r){var n=_b(A,e);return t&&(r==="center"&&(t=dB(t,n.getBoundingRect())),pB(n,t)),n}function vB(A,e,t){var r=new Ir({style:{image:A,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(n){if(t==="center"){var i={width:n.width,height:n.height};r.setStyle(dB(e,i))}}});return r}function dB(A,e){var t=e.width/e.height,r=A.height*t,n;r<=A.width?n=A.height:(r=A.width,n=r/t);var i=A.x+A.width/2,a=A.y+A.height/2;return{x:i-r/2,y:a-n/2,width:r,height:n}}var $b=xb;function pB(A,e){if(A.applyTransform){var t=A.getBoundingRect(),r=t.calculateTransform(e);A.applyTransform(r)}}function ka(A,e){return C0(A,A,{lineWidth:e}),A}function jb(A,e){return _0(A,A,e),A}var eS=Fn;function gB(A,e){for(var t=Kf([]);A&&A!==e;)pa(t,A.getLocalTransform(),t),A=A.parent;return t}function Va(A,e,t){return e&&!kt(e)&&(e=Qs.getLocalTransform(e)),t&&(e=hi([],e)),tA([],A,e)}function BB(A,e,t){var r=e[4]===0||e[5]===0||e[0]===0?1:NA(2*e[4]/e[0]),n=e[4]===0||e[5]===0||e[2]===0?1:NA(2*e[4]/e[2]),i=[A==="left"?-r:A==="right"?r:0,A==="top"?-n:A==="bottom"?n:0];return i=Va(i,e,t),NA(i[0])>NA(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function mB(A){return!A.isGroup}function tS(A){return A.shape!=null}function yB(A,e,t){if(!A||!e)return;function r(a){var o={};return a.traverse(function(s){mB(s)&&s.anid&&(o[s.anid]=s)}),o}function n(a){var o={x:a.x,y:a.y,rotation:a.rotation};return tS(a)&&(o.shape=Ue(a.shape)),o}var i=r(A);e.traverse(function(a){if(mB(a)&&a.anid){var o=i[a.anid];if(o){var s=n(a);a.attr(n(o)),Et(a,s,t,Le(a).dataIndex)}}})}function AS(A,e){return Be(A,function(t){var r=t[0];r=Jt(r,e.x),r=ba(r,e.x+e.width);var n=t[1];return n=Jt(n,e.y),n=ba(n,e.y+e.height),[r,n]})}function rS(A,e){var t=Jt(A.x,e.x),r=ba(A.x+A.width,e.x+e.width),n=Jt(A.y,e.y),i=ba(A.y+A.height,e.y+e.height);if(r>=t&&i>=n)return{x:t,y:n,width:r-t,height:i-n}}function ph(A,e,t){var r=Y({rectHover:!0},e),n=r.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},A)return A.indexOf("image://")===0?(n.image=A.slice(8),Ne(n,t),new Ir(r)):dh(A.replace("path://",""),r,t,"center")}function nS(A,e,t,r,n){for(var i=0,a=n[n.length-1];i<n.length;i++){var o=n[i];if(wB(A,e,t,r,o[0],o[1],a[0],a[1]))return!0;a=o}}function wB(A,e,t,r,n,i,a,o){var s=t-A,l=r-e,u=a-n,f=o-i,c=gh(u,f,s,l);if(iS(c))return!1;var h=A-n,v=e-i,d=gh(h,v,s,l)/c;if(d<0||d>1)return!1;var g=gh(h,v,u,f)/c;return!(g<0||g>1)}function gh(A,e,t,r){return A*r-t*e}function iS(A){return A<=1e-6&&A>=-1e-6}function ul(A,e,t,r,n){return e==null||(Ye(e)?Ze[0]=Ze[1]=Ze[2]=Ze[3]=e:(process.env.NODE_ENV!=="production"&&fe(e.length===4),Ze[0]=e[0],Ze[1]=e[1],Ze[2]=e[2],Ze[3]=e[3]),r&&(Ze[0]=Jt(0,Ze[0]),Ze[1]=Jt(0,Ze[1]),Ze[2]=Jt(0,Ze[2]),Ze[3]=Jt(0,Ze[3])),t&&(Ze[0]=-Ze[0],Ze[1]=-Ze[1],Ze[2]=-Ze[2],Ze[3]=-Ze[3]),CB(A,Ze,"x","width",3,1,n&&n[0]||0),CB(A,Ze,"y","height",0,2,n&&n[1]||0)),A}var Ze=[0,0,0,0];function CB(A,e,t,r,n,i,a){var o=e[i]+e[n],s=A[r];A[r]+=o,a=Jt(0,ba(a,s)),A[r]<a?(A[r]=a,A[t]+=e[n]>=0?-e[n]:e[i]>=0?s+e[i]:NA(o)>1e-8?(s-a)*e[n]/o:0):A[t]-=e[n]}function fl(A){var e=A.itemTooltipOption,t=A.componentModel,r=A.itemName,n=le(e)?{formatter:e}:e,i=t.mainType,a=t.componentIndex,o={componentType:i,name:r,$vars:["name"]};o[i+"Index"]=a;var s=A.formatterParamsExtra;s&&b(Xe(s),function(u){yA(o,u)||(o[u]=s[u],o.$vars.push(u))});var l=Le(A.el);l.componentMainType=i,l.componentIndex=a,l.tooltipConfig={name:r,option:Ne({content:r,encodeHTMLContent:!0,formatterParams:o},n)}}function Bh(A,e){var t;A.isGroup&&(t=e(A)),t||A.traverse(e)}function cl(A,e){if(A)if(ae(A))for(var t=0;t<A.length;t++)Bh(A[t],e);else Bh(A,e)}function mh(A){return!A||NA(A[1])<hl&&NA(A[2])<hl||NA(A[0])<hl&&NA(A[3])<hl}var hl=1e-5;function Ka(A,e){return A?Fe.copy(A,e):e.clone()}function yh(A,e){return e?Gp(A||nr(),e):void 0}function Ga(A){return{z:A.get("z")||0,zlevel:A.get("zlevel")||0}}function aS(A){var e=-1/0,t=1/0;Bh(A,function(i){r(i),r(i.getTextContent()),r(i.getTextGuideLine())});function r(i){if(!(!i||i.isGroup)){var a=i.currentStates;if(a.length)for(var o=0;o<a.length;o++)n(i.states[a[o]]);n(i)}}function n(i){if(i){var a=i.z2;a>e&&(e=a),a<t&&(t=a)}}return t>e&&(t=e=0),{min:t,max:e}}function _B(A,e,t){QB(A,e,t,-1/0)}function QB(A,e,t,r){if(A.ignoreModelZ)return r;var n=A.getTextContent(),i=A.getTextGuideLine(),a=A.isGroup;if(a)for(var o=A.childrenRef(),s=0;s<o.length;s++)r=Jt(QB(o[s],e,t,r),r);else A.z=e,A.zlevel=t,r=Jt(A.z2||0,r);if(n&&(n.z=e,n.zlevel=t,isFinite(r)&&(n.z2=r+2)),i){var l=A.textGuideLineConfig;i.z=e,i.zlevel=t,isFinite(r)&&(i.z2=r+(l&&l.showAbove?1:-1))}return r}QA("circle",tl),QA("ellipse",sh),QA("sector",Ii),QA("ring",uh),QA("polygon",rl),QA("polyline",Pa),QA("rect",qe),QA("line",Tr),QA("bezierCurve",fh),QA("arc",nl);const oS=Object.freeze(Object.defineProperty({__proto__:null,Arc:nl,BezierCurve:fh,BoundingRect:Fe,Circle:tl,CompoundPath:kb,Ellipse:sh,Group:lt,Image:Ir,IncrementalDisplayable:zb,Line:Tr,LinearGradient:uB,OrientedBoundingRect:fB,Path:ke,Point:be,Polygon:rl,Polyline:Pa,RadialGradient:Vb,Rect:qe,Ring:uh,Sector:Ii,Text:Ot,WH:Di,XY:Dr,applyTransform:Va,calcZ2Range:aS,clipPointsByRect:AS,clipRectByRect:rS,createIcon:ph,ensureCopyRect:Ka,ensureCopyTransform:yh,expandOrShrinkRect:ul,extendPath:Jb,extendShape:Xb,getShapeClass:qb,getTransform:gB,groupTransition:yB,initProps:lA,isBoundingRectAxisAligned:mh,isElementRemoved:Ti,lineLineIntersect:wB,linePolygonIntersect:nS,makeImage:vB,makePath:dh,mergePath:$b,registerShape:QA,removeElement:sl,removeElementWithFadeOut:ll,resizePath:pB,retrieveZInfo:Ga,setTooltipConfig:fl,subPixelOptimize:eS,subPixelOptimizeLine:ka,subPixelOptimizeRect:jb,transformDirection:BB,traverseElements:cl,traverseUpdateZ:_B,updateProps:Et},Symbol.toStringTag,{value:"Module"}));var vl={};function xB(A,e){for(var t=0;t<sA.length;t++){var r=sA[t],n=e[r],i=A.ensureState(r);i.style=i.style||{},i.style.text=n}var a=A.currentStates.slice();A.clearStates(!0),A.setStyle({text:e.normal}),A.useStates(a,!0)}function wh(A,e,t){var r=A.labelFetcher,n=A.labelDataIndex,i=A.labelDimIndex,a=e.normal,o;r&&(o=r.getFormattedLabel(n,"normal",null,i,a&&a.get("formatter"),t!=null?{interpolatedValue:t}:null)),o==null&&(o=me(A.defaultText)?A.defaultText(n,A,t):A.defaultText);for(var s={normal:o},l=0;l<sA.length;l++){var u=sA[l],f=e[u];s[u]=ve(r?r.getFormattedLabel(n,u,null,i,f&&f.get("formatter")):null,o)}return s}function dl(A,e,t,r){t=t||vl;for(var n=A instanceof Ot,i=!1,a=0;a<Gs.length;a++){var o=e[Gs[a]];if(o&&o.getShallow("show")){i=!0;break}}var s=n?A:A.getTextContent();if(i){n||(s||(s=new Ot,A.setTextContent(s)),A.stateProxy&&(s.stateProxy=A.stateProxy));var l=wh(t,e),u=e.normal,f=!!u.getShallow("show"),c=In(u,r&&r.normal,t,!1,!n);c.text=l.normal,n||A.setTextConfig(FB(u,t,!1));for(var a=0;a<sA.length;a++){var h=sA[a],o=e[h];if(o){var v=s.ensureState(h),d=!!ve(o.getShallow("show"),f);if(d!==f&&(v.ignore=!d),v.style=In(o,r&&r[h],t,!0,!n),v.style.text=l[h],!n){var g=A.ensureState(h);g.textConfig=FB(o,t,!0)}}}s.silent=!!u.getShallow("silent"),s.style.x!=null&&(c.x=s.style.x),s.style.y!=null&&(c.y=s.style.y),s.ignore=!f,s.useStyle(c),s.dirty(),t.enableTextSetter&&(Li(s).setLabelText=function(p){var B=wh(t,e,p);xB(s,B)})}else s&&(s.ignore=!0);A.dirty()}function pl(A,e){e=e||"label";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}function In(A,e,t,r,n){var i={};return sS(i,A,t,r,n),e&&Y(i,e),i}function FB(A,e,t){e=e||{};var r={},n,i=A.getShallow("rotate"),a=ve(A.getShallow("distance"),t?null:5),o=A.getShallow("offset");return n=A.getShallow("position")||(t?null:"inside"),n==="outside"&&(n=e.defaultOutsidePosition||"top"),n!=null&&(r.position=n),o!=null&&(r.offset=o),i!=null&&(i*=Math.PI/180,r.rotation=i),a!=null&&(r.distance=a),r.outsideFill=A.get("color")==="inherit"?e.inheritColor||null:"auto",e.autoOverflowArea!=null&&(r.autoOverflowArea=e.autoOverflowArea),e.layoutRect!=null&&(r.layoutRect=e.layoutRect),r}function sS(A,e,t,r,n){t=t||vl;var i=e.ecModel,a=i&&i.option.textStyle,o=lS(e),s;if(o){s={};var l="richInheritPlainLabel",u=ve(e.get(l),i?i.get(l):void 0);for(var f in o)if(o.hasOwnProperty(f)){var c=e.getModel(["rich",f]);UB(s[f]={},c,a,e,u,t,r,n,!1,!0)}}s&&(A.rich=s);var h=e.get("overflow");h&&(A.overflow=h);var v=e.get("lineOverflow");v&&(A.lineOverflow=v);var d=A,g=e.get("minMargin");if(g!=null)g=Ye(g)?g/2:0,d.margin=[g,g,g,g],d.__marginType=Mi.minMargin;else{var p=e.get("textMargin");p!=null&&(d.margin=Uf(p),d.__marginType=Mi.textMargin)}UB(A,e,a,null,null,t,r,n,!0,!1)}function lS(A){for(var e;A&&A!==A.ecModel;){var t=(A.option||vl).rich;if(t){e=e||{};for(var r=Xe(t),n=0;n<r.length;n++){var i=r[n];e[i]=1}}A=A.parentModel}return e}var EB=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],bB=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],SB=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function UB(A,e,t,r,n,i,a,o,s,l){t=!a&&t||vl;var u=i&&i.inheritColor,f=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=ve(e.getShallow("opacity"),t.opacity);(f==="inherit"||f==="auto")&&(process.env.NODE_ENV!=="production"&&f==="auto"&&pt("color: 'auto'","color: 'inherit'"),u?f=u:f=null),(c==="inherit"||c==="auto")&&(process.env.NODE_ENV!=="production"&&c==="auto"&&pt("color: 'auto'","color: 'inherit'"),u?c=u:c=null),o||(f=f||t.color,c=c||t.textBorderColor),f!=null&&(A.fill=f),c!=null&&(A.stroke=c);var v=ve(e.getShallow("textBorderWidth"),t.textBorderWidth);v!=null&&(A.lineWidth=v);var d=ve(e.getShallow("textBorderType"),t.textBorderType);d!=null&&(A.lineDash=d);var g=ve(e.getShallow("textBorderDashOffset"),t.textBorderDashOffset);g!=null&&(A.lineDashOffset=g),!a&&h==null&&!l&&(h=i&&i.defaultOpacity),h!=null&&(A.opacity=h),!a&&!o&&A.fill==null&&i.inheritColor&&(A.fill=i.inheritColor);for(var p=0;p<EB.length;p++){var B=EB[p],m=n!==!1&&r?Cr(e.getShallow(B),r.getShallow(B),t[B]):ve(e.getShallow(B),t[B]);m!=null&&(A[B]=m)}for(var p=0;p<bB.length;p++){var B=bB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}if(A.verticalAlign==null){var y=e.getShallow("baseline");y!=null&&(A.verticalAlign=y)}if(!s||!i.disableBox){for(var p=0;p<SB.length;p++){var B=SB[p],m=e.getShallow(B);m!=null&&(A[B]=m)}var _=e.getShallow("borderType");_!=null&&(A.borderDash=_),(A.backgroundColor==="auto"||A.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.backgroundColor==="auto"&&pt("backgroundColor: 'auto'","backgroundColor: 'inherit'"),A.backgroundColor=u),(A.borderColor==="auto"||A.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&A.borderColor==="auto"&&pt("borderColor: 'auto'","borderColor: 'inherit'"),A.borderColor=u)}}function uS(A,e){var t=e&&e.getModel("textStyle");return LA([A.fontStyle||t&&t.getShallow("fontStyle")||"",A.fontWeight||t&&t.getShallow("fontWeight")||"",(A.fontSize||t&&t.getShallow("fontSize")||12)+"px",A.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "))}var Li=ze();function fS(A,e,t,r){if(A){var n=Li(A);n.prevValue=n.value,n.value=t;var i=e.normal;n.valueAnimation=i.get("valueAnimation"),n.valueAnimation&&(n.precision=i.get("precision"),n.defaultInterpolatedText=r,n.statesModels=e)}}function cS(A,e,t,r,n){var i=Li(A);if(!i.valueAnimation||i.prevValue===i.value)return;var a=i.defaultInterpolatedText,o=ve(i.interpolatedValue,i.prevValue),s=i.value;function l(u){var f=A0(t,i.precision,o,s,u);i.interpolatedValue=u===1?null:f;var c=wh({labelDataIndex:e,labelFetcher:n,defaultText:a?a(f):f+""},i.statesModels,f);xB(A,c)}A.percent=0,(i.prevValue==null?lA:Et)(A,{percent:1},r,e,null,l)}var Mi={minMargin:1,textMargin:2},hS=["textStyle","color"],Ch=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],_h=new Ot,vS=(function(){function A(){}return A.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(hS):null)},A.prototype.getFont=function(){return uS({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},A.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<Ch.length;r++)t[Ch[r]]=this.getShallow(Ch[r]);return _h.useStyle(t),_h.update(),_h.getBoundingRect()},A})(),IB=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],dS=Da(IB),pS=(function(){function A(){}return A.prototype.getLineStyle=function(e){return dS(this,e)},A})(),TB=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],gS=Da(TB),BS=(function(){function A(){}return A.prototype.getItemStyle=function(e,t){return gS(this,e,t)},A})(),et=(function(){function A(e,t,r){this.parentModel=t,this.ecModel=r,this.option=e}return A.prototype.init=function(e,t,r){},A.prototype.mergeOption=function(e,t){Oe(this.option,e,!0)},A.prototype.get=function(e,t){return e==null?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},A.prototype.getShallow=function(e,t){var r=this.option,n=r==null?r:r[e];if(n==null&&!t){var i=this.parentModel;i&&(n=i.getShallow(e))}return n},A.prototype.getModel=function(e,t){var r=e!=null,n=r?this.parsePath(e):null,i=r?this._doGet(n):this.option;return t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(n)),new A(i,t,this.ecModel)},A.prototype.isEmpty=function(){return this.option==null},A.prototype.restoreData=function(){},A.prototype.clone=function(){var e=this.constructor;return new e(Ue(this.option))},A.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},A.prototype.resolveParentPath=function(e){return e},A.prototype.isAnimationEnabled=function(){if(!_e.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},A.prototype._doGet=function(e,t){var r=this.option;if(!e)return r;for(var n=0;n<e.length&&!(e[n]&&(r=r&&typeof r=="object"?r[e[n]]:null,r==null));n++);return r==null&&t&&(r=t._doGet(this.resolveParentPath(e),t.parentModel)),r},A})();Ic(et),AE(et),DA(et,pS),DA(et,BS),DA(et,oE),DA(et,vS);var mS=Math.round(Math.random()*10);function gl(A){return[A||"",mS++].join("_")}function yS(A){var e={};A.registerSubTypeDefaulter=function(t,r){var n=VA(t);e[n.main]=r},A.determineSubType=function(t,r){var n=r.type;if(!n){var i=VA(t).main;A.hasSubTypes(t)&&e[i]&&(n=e[i](r))}return n}}function wS(A,e){A.topologicalTravel=function(i,a,o,s){if(!i.length)return;var l=t(a),u=l.graph,f=l.noEntryList,c={};for(b(i,function(B){c[B]=!0});f.length;){var h=f.pop(),v=u[h],d=!!c[h];d&&(o.call(s,h,v.originalDeps.slice()),delete c[h]),b(v.successor,d?p:g)}b(c,function(){var B="";throw process.env.NODE_ENV!=="production"&&(B=Ls("Circular dependency may exists: ",c,i,a)),new Error(B)});function g(B){u[B].entryCount--,u[B].entryCount===0&&f.push(B)}function p(B){c[B]=!0,g(B)}};function t(i){var a={},o=[];return b(i,function(s){var l=r(a,s),u=l.originalDeps=e(s),f=n(u,i);l.entryCount=f.length,l.entryCount===0&&o.push(s),b(f,function(c){Te(l.predecessor,c)<0&&l.predecessor.push(c);var h=r(a,c);Te(h.successor,c)<0&&h.successor.push(s)})}),{graph:a,noEntryList:o}}function r(i,a){return i[a]||(i[a]={predecessor:[],successor:[]}),i[a]}function n(i,a){var o=[];return b(i,function(s){Te(a,s)>=0&&o.push(s)}),o}}function Bl(A,e){return Oe(Oe({},A,!0),e,!0)}const CS={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},_S={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var ml="ZH",Qh="EN",Hi=Qh,yl={},xh={},DB=_e.domSupported?(function(){var A=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Hi).toUpperCase();return A.indexOf(ml)>-1?ml:Hi})():Hi;function LB(A,e){A=A.toUpperCase(),xh[A]=new et(e),yl[A]=e}function QS(A){if(le(A)){var e=yl[A.toUpperCase()]||{};return A===ml||A===Qh?Ue(e):Oe(Ue(e),Ue(yl[Hi]),!1)}else return Oe(Ue(A),Ue(yl[Hi]),!1)}function xS(A){return xh[A]}function FS(){return xh[Hi]}LB(Qh,CS),LB(ml,_S);var ES=null;function wl(){return ES}var Fh=1e3,Eh=Fh*60,za=Eh*60,uA=za*24,MB=uA*365,bS={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},Cl={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},SS="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",_l="{yyyy}-{MM}-{dd}",HB={year:"{yyyy}",month:"{yyyy}-{MM}",day:_l,hour:_l+" "+Cl.hour,minute:_l+" "+Cl.minute,second:_l+" "+Cl.second,millisecond:SS},Tn=["year","month","day","hour","minute","second","millisecond"],US=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function IS(A){return!le(A)&&!me(A)?TS(A):A}function TS(A){A=A||{};var e={},t=!0;return b(Tn,function(r){t&&(t=A[r]==null)}),b(Tn,function(r,n){var i=A[r];e[r]={};for(var a=null,o=n;o>=0;o--){var s=Tn[o],l=he(i)&&!ae(i)?i[s]:i,u=void 0;ae(l)?(u=l.slice(),a=u[0]||""):le(l)?(a=l,u=[a]):(a==null?a=Cl[r]:bS[s].test(a)||(a=e[s][s][0]+" "+a),u=[a],t&&(u[1]="{primary|"+a+"}")),e[r][s]=u}}),e}function Lr(A,e){return A+="","0000".substr(0,e-A.length)+A}function Wa(A){switch(A){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return A}}function DS(A){return A===Wa(A)}function LS(A){switch(A){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Ql(A,e,t,r){var n=_i(A),i=n[OB(t)](),a=n[Sh(t)]()+1,o=Math.floor((a-1)/3)+1,s=n[Uh(t)](),l=n["get"+(t?"UTC":"")+"Day"](),u=n[Ih(t)](),f=(u-1)%12+1,c=n[Th(t)](),h=n[Dh(t)](),v=n[Lh(t)](),d=u>=12?"pm":"am",g=d.toUpperCase(),p=r instanceof et?r:xS(r||DB)||FS(),B=p.getModel("time"),m=B.get("month"),y=B.get("monthAbbr"),_=B.get("dayOfWeek"),C=B.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,d+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Lr(i%100+"",2)).replace(/{Q}/g,o+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,Lr(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Lr(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,_[l]).replace(/{ee}/g,C[l]).replace(/{e}/g,l+"").replace(/{HH}/g,Lr(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,Lr(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Lr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,Lr(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Lr(v,3)).replace(/{S}/g,v+"")}function MS(A,e,t,r,n){var i=null;if(le(t))i=t;else if(me(t)){var a={time:A.time,level:A.time.level},o=wl();o&&o.makeAxisLabelFormatterParamBreak(a,A.break),i=t(A.value,e,a)}else{var s=A.time;if(s){var l=t[s.lowerTimeUnit][s.upperTimeUnit];i=l[Math.min(s.level,l.length-1)]||""}else{var u=xl(A.value,n);i=t[u][u][0]}}return Ql(new Date(A.value),i,n,r)}function xl(A,e){var t=_i(A),r=t[Sh(e)]()+1,n=t[Uh(e)](),i=t[Ih(e)](),a=t[Th(e)](),o=t[Dh(e)](),s=t[Lh(e)](),l=s===0,u=l&&o===0,f=u&&a===0,c=f&&i===0,h=c&&n===1,v=h&&r===1;return v?"year":h?"month":c?"day":f?"hour":u?"minute":l?"second":"millisecond"}function bh(A,e,t){switch(e){case"year":A[RB(t)](0);case"month":A[NB(t)](1);case"day":A[PB(t)](0);case"hour":A[kB(t)](0);case"minute":A[VB(t)](0);case"second":A[KB(t)](0)}return A}function OB(A){return A?"getUTCFullYear":"getFullYear"}function Sh(A){return A?"getUTCMonth":"getMonth"}function Uh(A){return A?"getUTCDate":"getDate"}function Ih(A){return A?"getUTCHours":"getHours"}function Th(A){return A?"getUTCMinutes":"getMinutes"}function Dh(A){return A?"getUTCSeconds":"getSeconds"}function Lh(A){return A?"getUTCMilliseconds":"getMilliseconds"}function HS(A){return A?"setUTCFullYear":"setFullYear"}function RB(A){return A?"setUTCMonth":"setMonth"}function NB(A){return A?"setUTCDate":"setDate"}function PB(A){return A?"setUTCHours":"setHours"}function kB(A){return A?"setUTCMinutes":"setMinutes"}function VB(A){return A?"setUTCSeconds":"setSeconds"}function KB(A){return A?"setUTCMilliseconds":"setMilliseconds"}function GB(A){if(!Vg(A))return le(A)?A:"-";var e=(A+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function zB(A,e){return A=(A||"").toLowerCase().replace(/-(.)/g,function(t,r){return r.toUpperCase()}),e&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var Fl=Uf;function Mh(A,e,t){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(u){return u&&LA(u)?u:"-"}function i(u){return!!(u!=null&&!isNaN(u)&&isFinite(u))}var a=e==="time",o=A instanceof Date;if(a||o){var s=a?_i(A):A;if(isNaN(+s)){if(o)return"-"}else return Ql(s,r,t)}if(e==="ordinal")return ts(A)?n(A):Ye(A)&&i(A)?A+"":"-";var l=Ts(A);return i(l)?GB(l):ts(A)?n(A):typeof A=="boolean"?A+"":"-"}var WB=["a","b","c","d","e","f","g"],Hh=function(A,e){return"{"+A+(e??"")+"}"};function YB(A,e,t){ae(e)||(e=[e]);var r=e.length;if(!r)return"";for(var n=e[0].$vars||[],i=0;i<n.length;i++){var a=WB[i];A=A.replace(Hh(a),Hh(a,0))}for(var o=0;o<r;o++)for(var s=0;s<n.length;s++){var l=e[o][n[s]];A=A.replace(Hh(WB[s],o),t?Vt(l):l)}return A}function OS(A,e){var t=le(A)?{color:A,extraCssText:e}:A||{},r=t.color,n=t.type;e=t.extraCssText;var i=t.renderMode||"html";if(!r)return"";if(i==="html")return n==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Vt(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Vt(r)+";"+(e||"")+'"></span>';var a=t.markerId||"markerX";return{renderMode:i,content:"{"+a+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Dn(A,e){return e=e||"transparent",le(A)?A:he(A)&&A.colorStops&&(A.colorStops[0]||{}).color||e}var El={},Oh={},Rh=(function(){function A(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return A.prototype.create=function(e,t){this._nonSeriesBoxMasterList=r(El,!0),this._normalMasterList=r(Oh,!1);function r(n,i){var a=[];return b(n,function(o,s){var l=o.create(e,t);a=a.concat(l||[]),process.env.NODE_ENV!=="production"&&i&&b(l,function(u){return fe(!u.update)})}),a}},A.prototype.update=function(e,t){b(this._normalMasterList,function(r){r.update&&r.update(e,t)})},A.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},A.register=function(e,t){if(e==="matrix"||e==="calendar"){El[e]=t;return}Oh[e]=t},A.get=function(e){return Oh[e]||El[e]},A})();function RS(A){return!!El[A]}var XB={coord:1,coord2:2},NS=we();function PS(A){var e=A.getShallow("coord",!0),t=XB.coord;if(e==null){var r=NS.get(A.type);r&&r.getCoord2&&(t=XB.coord2,e=r.getCoord2(A))}return{coord:e,from:t}}var ur={none:0,dataCoordSys:1,boxCoordSys:2};function kS(A,e){var t=A.getShallow("coordinateSystem"),r=A.getShallow("coordinateSystemUsage",!0),n=r!=null,i=ur.none;if(t){var a=A.mainType==="series";r==null&&(r=a?"data":"box"),r==="data"?(i=ur.dataCoordSys,a||(process.env.NODE_ENV!=="production"&&n&&e&&Ge('coordinateSystemUsage "data" is not supported in non-series components.'),i=ur.none)):r==="box"&&(i=ur.boxCoordSys,!a&&!RS(t)&&(process.env.NODE_ENV!=="production"&&n&&e&&Ge('coordinateSystem "'+t+'" cannot be used'+(' as coordinateSystemUsage "box" for "'+A.type+'" yet.')),i=ur.none))}return{coordSysType:t,kind:i}}function VS(A){var e=A.targetModel,t=A.coordSysType,r=A.coordSysProvider,n=A.isDefaultDataCoordSys,i=A.allowNotFound;process.env.NODE_ENV!=="production"&&fe(!!t);var a=kS(e,!0),o=a.kind,s=a.coordSysType;if(n&&o!==ur.dataCoordSys&&(o=ur.dataCoordSys,s=t),o===ur.none||s!==t)return!1;var l=r(t,e);return l?(o===ur.dataCoordSys?(process.env.NODE_ENV!=="production"&&fe(e.mainType==="series"),e.coordinateSystem=l):e.boxCoordinateSystem=l,!0):(process.env.NODE_ENV!=="production"&&(i||Ge(t+" cannot be found for"+(" "+e.type+" (index: "+e.componentIndex+")."))),!1)}var bl=b,KS=["left","right","top","bottom","width","height"],Sl=[["width","left","right"],["height","top","bottom"]];function Nh(A,e,t,r,n){var i=0,a=0;r==null&&(r=1/0),n==null&&(n=1/0);var o=0;e.eachChild(function(s,l){var u=s.getBoundingRect(),f=e.childAt(l+1),c=f&&f.getBoundingRect(),h,v;if(A==="horizontal"){var d=u.width+(c?-c.x+u.x:0);h=i+d,h>r||s.newline?(i=0,h=d,a+=o+t,o=u.height):o=Math.max(o,u.height)}else{var g=u.height+(c?-c.y+u.y:0);v=a+g,v>n||s.newline?(i+=o+t,a=0,v=g,o=u.width):o=Math.max(o,u.width)}s.newline||(s.x=i,s.y=a,s.markRedraw(),A==="horizontal"?i=h+t:a=v+t)})}var Ya=Nh;nt(Nh,"vertical"),nt(Nh,"horizontal");function GS(A,e){return{left:A.getShallow("left",e),top:A.getShallow("top",e),right:A.getShallow("right",e),bottom:A.getShallow("bottom",e),width:A.getShallow("width",e),height:A.getShallow("height",e)}}function Oi(A,e,t){t=Fl(t||0);var r=e.width,n=e.height,i=ht(A.left,r),a=ht(A.top,n),o=ht(A.right,r),s=ht(A.bottom,n),l=ht(A.width,r),u=ht(A.height,n),f=t[2]+t[0],c=t[1]+t[3],h=A.aspect;switch(isNaN(l)&&(l=r-o-c-i),isNaN(u)&&(u=n-s-f-a),h!=null&&(isNaN(l)&&isNaN(u)&&(h>r/n?l=r*.8:u=n*.8),isNaN(l)&&(l=h*u),isNaN(u)&&(u=l/h)),isNaN(i)&&(i=r-o-l-c),isNaN(a)&&(a=n-s-u-f),A.left||A.right){case"center":i=r/2-l/2-t[3];break;case"right":i=r-l-c;break}switch(A.top||A.bottom){case"middle":case"center":a=n/2-u/2-t[0];break;case"bottom":a=n-u-f;break}i=i||0,a=a||0,isNaN(l)&&(l=r-c-i-(o||0)),isNaN(u)&&(u=n-f-a-(s||0));var v=new Fe((e.x||0)+i+t[3],(e.y||0)+a+t[0],l,u);return v.margin=t,v}var Ph={rect:1};function kh(A,e,t){var r,n,i,a=A.boxCoordinateSystem,o;if(a){var s=PS(A),l=s.coord,u=s.from;if(a.dataToLayout){i=Ph.rect,o=u;var f=a.dataToLayout(l);r=f.contentRect||f.rect}else process.env.NODE_ENV!=="production"&&Ge(A.type+"["+A.componentIndex+"]"+(" layout based on "+a.type+" is not supported."))}return i==null&&(i=Ph.rect),i===Ph.rect&&(r||(r={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),n=[r.x+r.width/2,r.y+r.height/2]),{type:i,refContainer:r,refPoint:n,boxCoordFrom:o}}function Xa(A){var e=A.layoutMode||A.constructor.layoutMode;return he(e)?e:e?{type:e}:null}function Mr(A,e,t){var r=t&&t.ignoreSize;!ae(r)&&(r=[r,r]);var n=a(Sl[0],0),i=a(Sl[1],1);s(Sl[0],A,n),s(Sl[1],A,i);function a(l,u){var f={},c=0,h={},v=0,d=2;if(bl(l,function(B){h[B]=A[B]}),bl(l,function(B){yA(e,B)&&(f[B]=h[B]=e[B]),o(f,B)&&c++,o(h,B)&&v++}),r[u])return o(e,l[1])?h[l[2]]=null:o(e,l[2])&&(h[l[1]]=null),h;if(v===d||!c)return h;if(c>=d)return f;for(var g=0;g<l.length;g++){var p=l[g];if(!yA(f,p)&&yA(A,p)){f[p]=A[p];break}}return f}function o(l,u){return l[u]!=null&&l[u]!=="auto"}function s(l,u,f){bl(l,function(c){u[c]=f[c]})}}function Ri(A){return zS({},A)}function zS(A,e){return e&&A&&bl(KS,function(t){yA(e,t)&&(A[t]=e[t])}),A}var WS=ze(),Re=(function(A){J(e,A);function e(t,r,n){var i=A.call(this,t,r,n)||this;return i.uid=gl("ec_cpt_model"),i}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Xa(this),i=n?Ri(t):{},a=r.getTheme();Oe(t,a.get(this.mainType)),Oe(t,this.getDefaultOption()),n&&Mr(t,i,n)},e.prototype.mergeOption=function(t,r){Oe(this.option,t,!0);var n=Xa(this);n&&Mr(this.option,t,n)},e.prototype.optionUpdated=function(t,r){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!jF(t))return t.defaultOption;var r=WS(this);if(!r.defaultOption){for(var n=[],i=t;i;){var a=i.prototype.defaultOption;a&&n.push(a),i=i.superClass}for(var o={},s=n.length-1;s>=0;s--)o=Oe(o,n[s],!0);r.defaultOption=o}return r.defaultOption},e.prototype.getReferringComponents=function(t,r){var n=t+"Index",i=t+"Id";return Ta(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},r)},e.prototype.getBoxLayoutParams=function(){return GS(this,!1)},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=(function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0})(),e})(et);n0(Re,et),Ms(Re),yS(Re),wS(Re,YS);function YS(A){var e=[];return b(Re.getClassesByMainType(A),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=Be(e,function(t){return VA(t).main}),A!=="dataset"&&Te(e,"dataset")<=0&&e.unshift("dataset"),e}var oe={color:{},darkColor:{},size:{}},tt=oe.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};Y(tt,{primary:tt.neutral80,secondary:tt.neutral70,tertiary:tt.neutral60,quaternary:tt.neutral50,disabled:tt.neutral20,border:tt.neutral30,borderTint:tt.neutral20,borderShade:tt.neutral40,background:tt.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:tt.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:tt.neutral70,axisLineTint:tt.neutral40,axisTick:tt.neutral70,axisTickMinor:tt.neutral60,axisLabel:tt.neutral70,axisSplitLine:tt.neutral15,axisMinorSplitLine:tt.neutral05});for(var Ln in tt)if(tt.hasOwnProperty(Ln)){var ZB=tt[Ln];Ln==="theme"?oe.darkColor.theme=tt.theme.slice():Ln==="highlight"?oe.darkColor.highlight="rgba(255,231,130,0.4)":Ln.indexOf("accent")===0?oe.darkColor[Ln]=rc(ZB,null,function(A){return A*.5},function(A){return Math.min(1,1.3-A)}):oe.darkColor[Ln]=rc(ZB,null,function(A){return A*.9},function(A){return 1-Math.pow(A,1.5)})}oe.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var JB="";typeof navigator<"u"&&(JB=navigator.platform||"");var Ni="rgba(0, 0, 0, 0.2)",qB=oe.color.theme[0],XS=rc(qB,null,null,.9);const ZS={darkMode:"auto",colorBy:"series",color:oe.color.theme,gradientColor:[XS,qB],aria:{decal:{decals:[{color:Ni,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ni,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ni,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ni,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ni,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ni,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:JB.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Vh=we(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),qt="original",bt="arrayRows",xA="objectRows",XA="keyedColumns",fr="typedArray",$B="unknown",ZA="column",Mn="row",$t={Must:1,Might:2,Not:3},jB=ze();function JS(A){jB(A).datasetMap=we()}function qS(A,e,t){var r={},n=em(e);if(!n||!A)return r;var i=[],a=[],o=e.ecModel,s=jB(o).datasetMap,l=n.uid+"_"+t.seriesLayoutBy,u,f;A=A.slice(),b(A,function(d,g){var p=he(d)?d:A[g]={name:d};p.type==="ordinal"&&u==null&&(u=g,f=v(p)),r[p.name]=[]});var c=s.get(l)||s.set(l,{categoryWayDim:f,valueWayDim:0});b(A,function(d,g){var p=d.name,B=v(d);if(u==null){var m=c.valueWayDim;h(r[p],m,B),h(a,m,B),c.valueWayDim+=B}else if(u===g)h(r[p],0,B),h(i,0,B);else{var m=c.categoryWayDim;h(r[p],m,B),h(a,m,B),c.categoryWayDim+=B}});function h(d,g,p){for(var B=0;B<p;B++)d.push(g+B)}function v(d){var g=d.dimsDef;return g?g.length:1}return i.length&&(r.itemName=i),a.length&&(r.seriesName=a),r}function em(A){var e=A.get("data",!0);if(!e)return Ta(A.ecModel,"dataset",{index:A.get("datasetIndex",!0),id:A.get("datasetId",!0)},Mt).models[0]}function $S(A){return!A.get("transform",!0)&&!A.get("fromTransformResult",!0)?[]:Ta(A.ecModel,"dataset",{index:A.get("fromDatasetIndex",!0),id:A.get("fromDatasetId",!0)},Mt).models}function tm(A,e){return jS(A.data,A.sourceFormat,A.seriesLayoutBy,A.dimensionsDefine,A.startIndex,e)}function jS(A,e,t,r,n,i){var a,o=5;if(Tt(A))return $t.Not;var s,l;if(r){var u=r[i];he(u)?(s=u.name,l=u.type):le(u)&&(s=u)}if(l!=null)return l==="ordinal"?$t.Must:$t.Not;if(e===bt){var f=A;if(t===Mn){for(var c=f[i],h=0;h<(c||[]).length&&h<o;h++)if((a=y(c[n+h]))!=null)return a}else for(var h=0;h<f.length&&h<o;h++){var v=f[n+h];if(v&&(a=y(v[i]))!=null)return a}}else if(e===xA){var d=A;if(!s)return $t.Not;for(var h=0;h<d.length&&h<o;h++){var g=d[h];if(g&&(a=y(g[s]))!=null)return a}}else if(e===XA){var p=A;if(!s)return $t.Not;var c=p[s];if(!c||Tt(c))return $t.Not;for(var h=0;h<c.length&&h<o;h++)if((a=y(c[h]))!=null)return a}else if(e===qt)for(var B=A,h=0;h<B.length&&h<o;h++){var g=B[h],m=Ua(g);if(!ae(m))return $t.Not;if((a=y(m[i]))!=null)return a}function y(_){var C=le(_);if(_!=null&&Number.isFinite(Number(_))&&_!=="")return C?$t.Might:$t.Not;if(C&&_!=="-")return $t.Must}return $t.Not}var eU=we();function tU(A,e,t){var r=eU.get(e);if(!r)return t;var n=r(A);if(!n)return t;if(process.env.NODE_ENV!=="production")for(var i=0;i<n.length;i++)fe(Qi(n[i]));return t.concat(n)}var Am=ze();ze();var Kh=(function(){function A(){}return A.prototype.getColorFromPalette=function(e,t,r){var n=Lt(this.get("color",!0)),i=this.get("colorLayer",!0);return rU(this,Am,n,i,e,t,r)},A.prototype.clearColorPalette=function(){nU(this,Am)},A})();function AU(A,e){for(var t=A.length,r=0;r<t;r++)if(A[r].length>e)return A[r];return A[t-1]}function rU(A,e,t,r,n,i,a){i=i||A;var o=e(i),s=o.paletteIdx||0,l=o.paletteNameMap=o.paletteNameMap||{};if(l.hasOwnProperty(n))return l[n];var u=a==null||!r?t:AU(r,a);if(u=u||t,!(!u||!u.length)){var f=u[s];return n&&(l[n]=f),o.paletteIdx=(s+1)%u.length,f}}function nU(A,e){e(A).paletteIdx=0,e(A).paletteNameMap={}}var Ul,Za,rm,Gh="\0_ec_inner",nm=1,iU={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",matrix:"MatrixComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},aU={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",chord:"ChordChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},Il={};function oU(A){b(A,function(e,t){if(!Re.hasClass(t)){var r=iU[t];r&&!Il[r]&&(Ge("Component "+t+` is used but not imported.
30
30
  import { `+r+` } from 'echarts/components';
31
- echarts.use([`+r+"]);"),Tl[r]=!0)}})}var Wh=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(t,r,n,i,a,o){i=i||{},this.option=null,this._theme=new et(i),this._locale=new et(a),this._optionManager=o},e.prototype.setOption=function(t,r,n){process.env.NODE_ENV!=="production"&&(fe(t!=null,"option is null/undefined"),fe(t[zh]!==nm,"please use chart.getOption()"));var i=om(r);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,r){return this._resetOption(t,om(r))},e.prototype._resetOption=function(t,r){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var a=i.mountOption(t==="recreate");process.env.NODE_ENV!=="production"&&oU(a),!this.option||t==="recreate"?rm(this,a):(this.restoreData(),this._mergeOption(a,r)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,r))}if(!t||t==="recreate"||t==="media"){var s=i.getMediaOption(this);s.length&&b(s,function(l){n=!0,this._mergeOption(l,r)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,r){var n=this.option,i=this._componentsMap,a=this._componentsCount,o=[],s=we(),l=r&&r.replaceMergeMainTypeMap;JS(this),b(t,function(f,c){f!=null&&(Re.hasClass(c)?c&&(o.push(c),s.set(c,!0)):n[c]=n[c]==null?Ue(f):Oe(n[c],f,!0))}),l&&l.each(function(f,c){Re.hasClass(c)&&!s.get(c)&&(o.push(c),s.set(c,!0))}),Re.topologicalTravel(o,Re.getAllClassMainTypes(),u,this);function u(f){var c=tU(this,f,Lt(t[f])),h=i.get(f),v=h?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",d=RF(h,c,v);zF(d,f,Re),n[f]=null,i.set(f,null),a.set(f,0);var g=[],p=[],B=0,m,y;b(d,function(_,C){var Q=_.existing,x=_.newOption;if(!x)Q&&(Q.mergeOption({},this),Q.optionUpdated({},!1));else{var F=f==="series",S=Re.getClass(f,_.keyInfo.subType,!F);if(!S){if(process.env.NODE_ENV!=="production"){var E=_.keyInfo.subType,I=aU[E];Tl[E]||(Tl[E]=!0,Ge(I?"Series "+E+` is used but not imported.
31
+ echarts.use([`+r+"]);"),Il[r]=!0)}})}var zh=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(t,r,n,i,a,o){i=i||{},this.option=null,this._theme=new et(i),this._locale=new et(a),this._optionManager=o},e.prototype.setOption=function(t,r,n){process.env.NODE_ENV!=="production"&&(fe(t!=null,"option is null/undefined"),fe(t[Gh]!==nm,"please use chart.getOption()"));var i=om(r);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,r){return this._resetOption(t,om(r))},e.prototype._resetOption=function(t,r){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var a=i.mountOption(t==="recreate");process.env.NODE_ENV!=="production"&&oU(a),!this.option||t==="recreate"?rm(this,a):(this.restoreData(),this._mergeOption(a,r)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,r))}if(!t||t==="recreate"||t==="media"){var s=i.getMediaOption(this);s.length&&b(s,function(l){n=!0,this._mergeOption(l,r)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,r){var n=this.option,i=this._componentsMap,a=this._componentsCount,o=[],s=we(),l=r&&r.replaceMergeMainTypeMap;JS(this),b(t,function(f,c){f!=null&&(Re.hasClass(c)?c&&(o.push(c),s.set(c,!0)):n[c]=n[c]==null?Ue(f):Oe(n[c],f,!0))}),l&&l.each(function(f,c){Re.hasClass(c)&&!s.get(c)&&(o.push(c),s.set(c,!0))}),Re.topologicalTravel(o,Re.getAllClassMainTypes(),u,this);function u(f){var c=tU(this,f,Lt(t[f])),h=i.get(f),v=h?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",d=RF(h,c,v);zF(d,f,Re),n[f]=null,i.set(f,null),a.set(f,0);var g=[],p=[],B=0,m,y;b(d,function(_,C){var Q=_.existing,x=_.newOption;if(!x)Q&&(Q.mergeOption({},this),Q.optionUpdated({},!1));else{var F=f==="series",S=Re.getClass(f,_.keyInfo.subType,!F);if(!S){if(process.env.NODE_ENV!=="production"){var E=_.keyInfo.subType,I=aU[E];Il[E]||(Il[E]=!0,Ge(I?"Series "+E+` is used but not imported.
32
32
  import { `+I+` } from 'echarts/charts';
33
- echarts.use([`+I+"]);":"Unknown series "+E))}return}if(f==="tooltip"){if(m){process.env.NODE_ENV!=="production"&&(y||(xt("Currently only one tooltip component is allowed."),y=!0));return}m=!0}if(Q&&Q.constructor===S)Q.name=_.keyInfo.name,Q.mergeOption(x,this),Q.optionUpdated(x,!1);else{var U=Y({componentIndex:C},_.keyInfo);Q=new S(x,this,this,U),Y(Q,U),_.brandNew&&(Q.__requireNewView=!0),Q.init(x,this,this),Q.optionUpdated(null,!0)}}Q?(g.push(Q.option),p.push(Q),B++):(g.push(void 0),p.push(void 0))},this),n[f]=g,i.set(f,p),a.set(f,B),f==="series"&&Il(this)}this._seriesIndices||Il(this)},e.prototype.getOption=function(){var t=Ue(this.option);return b(t,function(r,n){if(Re.hasClass(n)){for(var i=Lt(r),a=i.length,o=!1,s=a-1;s>=0;s--)i[s]&&!xi(i[s])?o=!0:(i[s]=null,!o&&a--);i.length=a,t[n]=i}}),delete t[zh],t},e.prototype.setTheme=function(t){this._theme=new et(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,r){var n=this._componentsMap.get(t);if(n){var i=n[r||0];if(i)return i;if(r==null){for(var a=0;a<n.length;a++)if(n[a])return n[a]}}},e.prototype.queryComponents=function(t){var r=t.mainType;if(!r)return[];var n=t.index,i=t.id,a=t.name,o=this._componentsMap.get(r);if(!o||!o.length)return[];var s;return n!=null?(s=[],b(Lt(n),function(l){o[l]&&s.push(o[l])})):i!=null?s=im("id",i,o):a!=null?s=im("name",a,o):s=rt(o,function(l){return!!l}),am(s,t)},e.prototype.findComponents=function(t){var r=t.query,n=t.mainType,i=o(r),a=i?this.queryComponents(i):rt(this._componentsMap.get(n),function(l){return!!l});return s(am(a,t));function o(l){var u=n+"Index",f=n+"Id",c=n+"Name";return l&&(l[u]!=null||l[f]!=null||l[c]!=null)?{mainType:n,index:l[u],id:l[f],name:l[c]}:null}function s(l){return t.filter?rt(l,t.filter):l}},e.prototype.eachComponent=function(t,r,n){var i=this._componentsMap;if(me(t)){var a=r,o=t;i.each(function(f,c){for(var h=0;f&&h<f.length;h++){var v=f[h];v&&o.call(a,c,v,v.componentIndex)}})}else for(var s=le(t)?i.get(t):he(t)?this.findComponents(t):null,l=0;s&&l<s.length;l++){var u=s[l];u&&r.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var r=kA(t,null);return rt(this._componentsMap.get("series"),function(n){return!!n&&r!=null&&n.name===r})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return rt(this._componentsMap.get("series"),function(r){return!!r&&r.subType===t})},e.prototype.getSeries=function(){return rt(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,r){Ja(this),b(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(r,i,n)},this)},e.prototype.eachRawSeries=function(t,r){b(this._componentsMap.get("series"),function(n){n&&t.call(r,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,r,n){Ja(this),b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&r.call(n,a,i)},this)},e.prototype.eachRawSeriesByType=function(t,r,n){return b(this.getSeriesByType(t),r,n)},e.prototype.isSeriesFiltered=function(t){return Ja(this),this._seriesIndicesMap.get(t.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,r){Ja(this);var n=[];b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];t.call(r,a,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=we(n)},e.prototype.restoreData=function(t){Il(this);var r=this._componentsMap,n=[];r.each(function(i,a){Re.hasClass(a)&&n.push(a)}),Re.topologicalTravel(n,Re.getAllClassMainTypes(),function(i){b(r.get(i),function(a){a&&(i!=="series"||!sU(a,t))&&a.restoreData()})})},e.internalField=(function(){Il=function(t){var r=t._seriesIndices=[];b(t._componentsMap.get("series"),function(n){n&&r.push(n.componentIndex)}),t._seriesIndicesMap=we(r)},Ja=function(t){if(process.env.NODE_ENV!=="production"&&!t._seriesIndices)throw new Error("Option should contains series.")},rm=function(t,r){t.option={},t.option[zh]=nm,t._componentsMap=we({series:[]}),t._componentsCount=we();var n=r.aria;he(n)&&n.enabled==null&&(n.enabled=!0),lU(r,t._theme.option),Oe(r,ZS,!1),t._mergeOption(r,null)}})(),e})(et);function sU(A,e){if(e){var t=e.seriesIndex,r=e.seriesId,n=e.seriesName;return t!=null&&A.componentIndex!==t||r!=null&&A.id!==r||n!=null&&A.name!==n}}function lU(A,e){var t=A.color&&!A.colorLayer;b(e,function(r,n){n==="colorLayer"&&t||n==="color"&&A.color||Re.hasClass(n)||(typeof r=="object"?A[n]=A[n]?Oe(A[n],r,!1):Ue(r):A[n]==null&&(A[n]=r))})}function im(A,e,t){if(ae(e)){var r=we();return b(e,function(i){if(i!=null){var a=kA(i,null);a!=null&&r.set(i,!0)}}),rt(t,function(i){return i&&r.get(i[A])})}else{var n=kA(e,null);return rt(t,function(i){return i&&n!=null&&i[A]===n})}}function am(A,e){return e.hasOwnProperty("subType")?rt(A,function(t){return t&&t.subType===e.subType}):A}function om(A){var e=we();return A&&b(Lt(A.replaceMerge),function(t){process.env.NODE_ENV!=="production"&&fe(Re.hasClass(t),'"'+t+'" is not valid component main type in "replaceMerge"'),e.set(t,!0)}),{replaceMergeMainTypeMap:e}}DA(Wh,Gh);var uU=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],sm=(function(){function A(e){b(uU,function(t){this[t]=ye(e[t],e)},this)}return A})(),fU=/^(min|max)?(.+)$/,cU=(function(){function A(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return A.prototype.setOption=function(e,t,r){e&&(b(Lt(e.series),function(a){a&&a.data&&Tt(a.data)&&Tf(a.data)}),b(Lt(e.dataset),function(a){a&&a.source&&Tt(a.source)&&Tf(a.source)})),e=Ue(e);var n=this._optionBackup,i=hU(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},A.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Ue(e?t.baseOption:this._newBaseOption)},A.prototype.getTimelineOption=function(e){var t,r=this._timelineOptions;if(r.length){var n=e.getComponent("timeline");n&&(t=Ue(r[n.getCurrentIndex()]))}return t},A.prototype.getMediaOption=function(e){var t=this._api.getWidth(),r=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,a=[],o=[];if(!n.length&&!i)return o;for(var s=0,l=n.length;s<l;s++)vU(n[s].query,t,r)&&a.push(s);return!a.length&&i&&(a=[-1]),a.length&&!pU(a,this._currentMediaIndices)&&(o=Be(a,function(u){return Ue(u===-1?i.option:n[u].option)})),this._currentMediaIndices=a,o},A})();function hU(A,e,t){var r=[],n,i,a=A.baseOption,o=A.timeline,s=A.options,l=A.media,u=!!A.media,f=!!(s||o||a&&a.timeline);a?(i=a,i.timeline||(i.timeline=o)):((f||u)&&(A.options=A.media=null),i=A),u&&(ae(l)?b(l,function(h){process.env.NODE_ENV!=="production"&&h&&!h.option&&he(h.query)&&he(h.query.option)&&Ge("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),h&&h.option&&(h.query?r.push(h):n||(n=h))}):process.env.NODE_ENV!=="production"&&Ge("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),c(i),b(s,function(h){return c(h)}),b(r,function(h){return c(h.option)});function c(h){b(e,function(v){v(h,t)})}return{baseOption:i,timelineOptions:s||[],mediaDefault:n,mediaList:r}}function vU(A,e,t){var r={width:e,height:t,aspectratio:e/t},n=!0;return b(A,function(i,a){var o=a.match(fU);if(!(!o||!o[1]||!o[2])){var s=o[1],l=o[2].toLowerCase();dU(r[l],i,s)||(n=!1)}}),n}function dU(A,e,t){return t==="min"?A>=e:t==="max"?A<=e:A===e}function pU(A,e){return A.join(",")===e.join(",")}var fA=b,qa=he,lm=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Yh(A){var e=A&&A.itemStyle;if(e)for(var t=0,r=lm.length;t<r;t++){var n=lm[t],i=e.normal,a=e.emphasis;i&&i[n]&&(process.env.NODE_ENV!=="production"&&pt("itemStyle.normal."+n,n),A[n]=A[n]||{},A[n].normal?Oe(A[n].normal,i[n]):A[n].normal=i[n],i[n]=null),a&&a[n]&&(process.env.NODE_ENV!=="production"&&pt("itemStyle.emphasis."+n,"emphasis."+n),A[n]=A[n]||{},A[n].emphasis?Oe(A[n].emphasis,a[n]):A[n].emphasis=a[n],a[n]=null)}}function St(A,e,t){if(A&&A[e]&&(A[e].normal||A[e].emphasis)){var r=A[e].normal,n=A[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&PA("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),t?(A[e].normal=A[e].emphasis=null,Ne(A[e],r)):A[e]=r),n&&(process.env.NODE_ENV!=="production"&&PA(e+".emphasis has been changed to emphasis."+e+" since 4.0"),A.emphasis=A.emphasis||{},A.emphasis[e]=n,n.focus&&(A.emphasis.focus=n.focus),n.blurScope&&(A.emphasis.blurScope=n.blurScope))}}function $a(A){St(A,"itemStyle"),St(A,"lineStyle"),St(A,"areaStyle"),St(A,"label"),St(A,"labelLine"),St(A,"upperLabel"),St(A,"edgeLabel")}function it(A,e){var t=qa(A)&&A[e],r=qa(t)&&t.textStyle;if(r){process.env.NODE_ENV!=="production"&&PA("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var n=0,i=qg.length;n<i;n++){var a=qg[n];r.hasOwnProperty(a)&&(t[a]=r[a])}}}function cA(A){A&&($a(A),it(A,"label"),A.emphasis&&it(A.emphasis,"label"))}function gU(A){if(qa(A)){Yh(A),$a(A),it(A,"label"),it(A,"upperLabel"),it(A,"edgeLabel"),A.emphasis&&(it(A.emphasis,"label"),it(A.emphasis,"upperLabel"),it(A.emphasis,"edgeLabel"));var e=A.markPoint;e&&(Yh(e),cA(e));var t=A.markLine;t&&(Yh(t),cA(t));var r=A.markArea;r&&cA(r);var n=A.data;if(A.type==="graph"){n=n||A.nodes;var i=A.links||A.edges;if(i&&!Tt(i))for(var a=0;a<i.length;a++)cA(i[a]);b(A.categories,function(l){$a(l)})}if(n&&!Tt(n))for(var a=0;a<n.length;a++)cA(n[a]);if(e=A.markPoint,e&&e.data)for(var o=e.data,a=0;a<o.length;a++)cA(o[a]);if(t=A.markLine,t&&t.data)for(var s=t.data,a=0;a<s.length;a++)ae(s[a])?(cA(s[a][0]),cA(s[a][1])):cA(s[a]);A.type==="gauge"?(it(A,"axisLabel"),it(A,"title"),it(A,"detail")):A.type==="treemap"?(St(A.breadcrumb,"itemStyle"),b(A.levels,function(l){$a(l)})):A.type==="tree"&&$a(A.leaves)}}function cr(A){return ae(A)?A:A?[A]:[]}function um(A){return(ae(A)?A[0]:A)||{}}function BU(A,e){fA(cr(A.series),function(r){qa(r)&&gU(r)});var t=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&t.push("valueAxis","categoryAxis","logAxis","timeAxis"),fA(t,function(r){fA(cr(A[r]),function(n){n&&(it(n,"axisLabel"),it(n.axisPointer,"label"))})}),fA(cr(A.parallel),function(r){var n=r&&r.parallelAxisDefault;it(n,"axisLabel"),it(n&&n.axisPointer,"label")}),fA(cr(A.calendar),function(r){St(r,"itemStyle"),it(r,"dayLabel"),it(r,"monthLabel"),it(r,"yearLabel")}),fA(cr(A.radar),function(r){it(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&PA("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&PA("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&fA(r.indicator,function(n){n.text&&pt("text","name","radar.indicator")})}),fA(cr(A.geo),function(r){qa(r)&&(cA(r),fA(cr(r.regions),function(n){cA(n)}))}),fA(cr(A.timeline),function(r){cA(r),St(r,"label"),St(r,"itemStyle"),St(r,"controlStyle",!0);var n=r.data;ae(n)&&b(n,function(i){he(i)&&(St(i,"label"),St(i,"itemStyle"))})}),fA(cr(A.toolbox),function(r){St(r,"iconStyle"),fA(r.feature,function(n){St(n,"iconStyle")})}),it(um(A.axisPointer),"label"),it(um(A.tooltip).axisPointer,"label")}function mU(A,e){for(var t=e.split(","),r=A,n=0;n<t.length&&(r=r&&r[t[n]],r!=null);n++);return r}function yU(A,e,t,r){for(var n=e.split(","),i=A,a,o=0;o<n.length-1;o++)a=n[o],i[a]==null&&(i[a]={}),i=i[a];i[n[o]]==null&&(i[n[o]]=t)}function fm(A){A&&b(wU,function(e){e[0]in A&&!(e[1]in A)&&(A[e[1]]=A[e[0]])})}var wU=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],CU=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Xh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function ja(A){var e=A&&A.itemStyle;if(e)for(var t=0;t<Xh.length;t++){var r=Xh[t][1],n=Xh[t][0];e[r]!=null&&(e[n]=e[r],process.env.NODE_ENV!=="production"&&pt(r,n))}}function cm(A){A&&A.alignTo==="edge"&&A.margin!=null&&A.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&pt("label.margin","label.edgeDistance","pie"),A.edgeDistance=A.margin)}function hm(A){A&&A.downplay&&!A.blur&&(A.blur=A.downplay,process.env.NODE_ENV!=="production"&&pt("downplay","blur","sunburst"))}function _U(A){A&&A.focusNodeAdjacency!=null&&(A.emphasis=A.emphasis||{},A.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&pt("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),A.emphasis.focus="adjacency"))}function vm(A,e){if(A)for(var t=0;t<A.length;t++)e(A[t]),A[t]&&vm(A[t].children,e)}function dm(A,e){BU(A,e),A.series=Lt(A.series),b(A.series,function(t){if(he(t)){var r=t.type;if(r==="line")t.clipOverflow!=null&&(t.clip=t.clipOverflow,process.env.NODE_ENV!=="production"&&pt("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){t.clockWise!=null&&(t.clockwise=t.clockWise,process.env.NODE_ENV!=="production"&&pt("clockWise","clockwise")),cm(t.label);var n=t.data;if(n&&!Tt(n))for(var i=0;i<n.length;i++)cm(n[i]);t.hoverOffset!=null&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&pt("hoverOffset","emphasis.scaleSize"),t.emphasis.scaleSize=t.hoverOffset))}else if(r==="gauge"){var a=mU(t,"pointer.color");a!=null&&yU(t,"itemStyle.color",a)}else if(r==="bar"){ja(t),ja(t.backgroundStyle),ja(t.emphasis);var n=t.data;if(n&&!Tt(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&(ja(n[i]),ja(n[i]&&n[i].emphasis))}else if(r==="sunburst"){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o,process.env.NODE_ENV!=="production"&&pt("highlightPolicy","emphasis.focus","sunburst"))),hm(t),vm(t.data,hm)}else r==="graph"||r==="sankey"?_U(t):r==="map"&&(t.mapType&&!t.map&&(process.env.NODE_ENV!=="production"&&pt("mapType","map","map"),t.map=t.mapType),t.mapLocation&&(process.env.NODE_ENV!=="production"&&PA("`mapLocation` is not used anymore."),Ne(t,t.mapLocation)));t.hoverAnimation!=null&&(t.emphasis=t.emphasis||{},t.emphasis&&t.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&pt("hoverAnimation","emphasis.scale"),t.emphasis.scale=t.hoverAnimation)),fm(t)}}),A.dataRange&&(A.visualMap=A.dataRange),b(CU,function(t){var r=A[t];r&&(ae(r)||(r=[r]),b(r,function(n){fm(n)}))})}function QU(A){var e=we();A.eachSeries(function(t){var r=t.get("stack");if(r){var n=e.get(r)||e.set(r,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;n.push(a)}}),e.each(function(t){if(t.length!==0){var r=t[0].seriesModel,n=r.get("stackOrder")||"seriesAsc";n==="seriesDesc"&&t.reverse(),b(t,function(i,a){i.data.setCalculationInfo("stackedOnSeries",a>0?t[a-1].seriesModel:null)}),xU(t)}})}function xU(A){b(A,function(e,t){var r=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],a=e.data,o=e.isStackedByIndex,s=e.seriesModel.get("stackStrategy")||"samesign";a.modify(i,function(l,u,f){var c=a.get(e.stackedDimension,f);if(isNaN(c))return n;var h,v;o?v=a.getRawIndex(f):h=a.get(e.stackedByDimension,f);for(var d=NaN,g=t-1;g>=0;g--){var p=A[g];if(o||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var B=p.data.getByRawIndex(p.stackResultDimension,v);if(s==="all"||s==="positive"&&B>0||s==="negative"&&B<0||s==="samesign"&&c>=0&&B>0||s==="samesign"&&c<=0&&B<0){c=IF(c,B),d=B;break}}}return r[0]=c,r[1]=d,r})})}var Dl=(function(){function A(e){this.data=e.data||(e.sourceFormat===XA?{}:[]),this.sourceFormat=e.sourceFormat||$B,this.seriesLayoutBy=e.seriesLayoutBy||ZA,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var r=0;r<t.length;r++){var n=t[r];n.type==null&&tm(this,r)===$t.Must&&(n.type="ordinal")}}return A})();function Zh(A){return A instanceof Dl}function Jh(A,e,t){t=t||gm(A);var r=e.seriesLayoutBy,n=EU(A,t,r,e.sourceHeader,e.dimensions),i=new Dl({data:A,sourceFormat:t,seriesLayoutBy:r,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:Ue(e)});return i}function pm(A){return new Dl({data:A,sourceFormat:Tt(A)?fr:qt})}function FU(A){return new Dl({data:A.data,sourceFormat:A.sourceFormat,seriesLayoutBy:A.seriesLayoutBy,dimensionsDefine:Ue(A.dimensionsDefine),startIndex:A.startIndex,dimensionsDetectedCount:A.dimensionsDetectedCount})}function gm(A){var e=$B;if(Tt(A))e=fr;else if(ae(A)){A.length===0&&(e=bt);for(var t=0,r=A.length;t<r;t++){var n=A[t];if(n!=null){if(ae(n)||Tt(n)){e=bt;break}else if(he(n)){e=QA;break}}}}else if(he(A)){for(var i in A)if(mA(A,i)&&kt(A[i])){e=XA;break}}return e}function EU(A,e,t,r,n){var i,a;if(!A)return{dimensionsDefine:Bm(n),startIndex:a,dimensionsDetectedCount:i};if(e===bt){var o=A;r==="auto"||r==null?mm(function(l){l!=null&&l!=="-"&&(le(l)?a==null&&(a=1):a=0)},t,o,10):a=Ye(r)?r:r?1:0,!n&&a===1&&(n=[],mm(function(l,u){n[u]=l!=null?l+"":""},t,o,1/0)),i=n?n.length:t===Mn?o.length:o[0]?o[0].length:null}else if(e===QA)n||(n=bU(A));else if(e===XA)n||(n=[],b(A,function(l,u){n.push(u)}));else if(e===qt){var s=Ia(A[0]);i=ae(s)&&s.length||1}else e===fr&&process.env.NODE_ENV!=="production"&&fe(!!n,"dimensions must be given if data is TypedArray.");return{startIndex:a,dimensionsDefine:Bm(n),dimensionsDetectedCount:i}}function bU(A){for(var e=0,t;e<A.length&&!(t=A[e++]););if(t)return Xe(t)}function Bm(A){if(A){var e=we();return Be(A,function(t,r){t=he(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function mm(A,e,t,r){if(e===Mn)for(var n=0;n<t.length&&n<r;n++)A(t[n]?t[n][0]:null,n);else for(var i=t[0]||[],n=0;n<i.length&&n<r;n++)A(i[n],n)}function ym(A){var e=A.sourceFormat;return e===QA||e===XA}var Hn,On,Rn,Nn,wm,Cm,_m=(function(){function A(e,t){var r=Zh(e)?e:pm(e);this._source=r;var n=this._data=r.data,i=r.sourceFormat,a=r.seriesLayoutBy;if(i===fr){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=t,this._data=n}if(process.env.NODE_ENV!=="production"){var o=SU[Ml(i,a)];o&&o(n,r.dimensionsDefine)}Cm(this,n,r)}return A.prototype.getSource=function(){return this._source},A.prototype.count=function(){return 0},A.prototype.getItem=function(e,t){},A.prototype.appendData=function(e){},A.prototype.clean=function(){},A.protoInitialize=(function(){var e=A.prototype;e.pure=!1,e.persistent=!0})(),A.internalField=(function(){var e;Cm=function(a,o,s){var l=s.sourceFormat,u=s.seriesLayoutBy,f=s.startIndex,c=s.dimensionsDefine,h=wm[Ml(l,u)];if(process.env.NODE_ENV!=="production"&&fe(h,"Invalide sourceFormat: "+l),Y(a,h),l===fr)a.getItem=t,a.count=n,a.fillStorage=r;else{var v=xm(l,u);a.getItem=ye(v,null,o,f,c);var d=Em(l,u);a.count=ye(d,null,o,f,c)}};var t=function(a,o){a=a-this._offset,o=o||[];for(var s=this._data,l=this._dimSize,u=l*a,f=0;f<l;f++)o[f]=s[u+f];return o},r=function(a,o,s,l){for(var u=this._data,f=this._dimSize,c=0;c<f;c++){for(var h=l[c],v=h[0]==null?1/0:h[0],d=h[1]==null?-1/0:h[1],g=o-a,p=s[c],B=0;B<g;B++){var m=u[B*f+c];p[a+B]=m,m<v&&(v=m),m>d&&(d=m)}h[0]=v,h[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};wm=(e={},e[bt+"_"+ZA]={pure:!0,appendData:i},e[bt+"_"+Mn]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[QA]={pure:!0,appendData:i},e[XA]={pure:!0,appendData:function(a){var o=this._data;b(a,function(s,l){for(var u=o[l]||(o[l]=[]),f=0;f<(s||[]).length;f++)u.push(s[f])})}},e[qt]={appendData:i},e[fr]={persistent:!1,pure:!0,appendData:function(a){process.env.NODE_ENV!=="production"&&fe(Tt(a),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(a){for(var o=0;o<a.length;o++)this._data.push(a[o])}})(),A})(),Ll=function(A){ae(A)||Ge("series.data or dataset.source must be an array.")},SU=(Hn={},Hn[bt+"_"+ZA]=Ll,Hn[bt+"_"+Mn]=Ll,Hn[QA]=Ll,Hn[XA]=function(A,e){for(var t=0;t<e.length;t++){var r=e[t].name;r==null&&Ge("dimension name must not be null/undefined.")}},Hn[qt]=Ll,Hn),Qm=function(A,e,t,r){return A[r]},UU=(On={},On[bt+"_"+ZA]=function(A,e,t,r){return A[r+e]},On[bt+"_"+Mn]=function(A,e,t,r,n){r+=e;for(var i=n||[],a=A,o=0;o<a.length;o++){var s=a[o];i[o]=s?s[r]:null}return i},On[QA]=Qm,On[XA]=function(A,e,t,r,n){for(var i=n||[],a=0;a<t.length;a++){var o=t[a].name,s=o!=null?A[o]:null;i[a]=s?s[r]:null}return i},On[qt]=Qm,On);function xm(A,e){var t=UU[Ml(A,e)];return process.env.NODE_ENV!=="production"&&fe(t,'Do not support get item on "'+A+'", "'+e+'".'),t}var Fm=function(A,e,t){return A.length},IU=(Rn={},Rn[bt+"_"+ZA]=function(A,e,t){return Math.max(0,A.length-e)},Rn[bt+"_"+Mn]=function(A,e,t){var r=A[0];return r?Math.max(0,r.length-e):0},Rn[QA]=Fm,Rn[XA]=function(A,e,t){var r=t[0].name,n=r!=null?A[r]:null;return n?n.length:0},Rn[qt]=Fm,Rn);function Em(A,e){var t=IU[Ml(A,e)];return process.env.NODE_ENV!=="production"&&fe(t,'Do not support count on "'+A+'", "'+e+'".'),t}var qh=function(A,e,t){return A[e]},TU=(Nn={},Nn[bt]=qh,Nn[QA]=function(A,e,t){return A[t]},Nn[XA]=qh,Nn[qt]=function(A,e,t){var r=Ia(A);return r instanceof Array?r[e]:r},Nn[fr]=qh,Nn);function bm(A){var e=TU[A];return process.env.NODE_ENV!=="production"&&fe(e,'Do not support get value on "'+A+'".'),e}function Ml(A,e){return A===bt?A+"_"+e:A}function ki(A,e,t){if(A){var r=A.getRawDataItem(e);if(r!=null){var n=A.getStore(),i=n.getSource().sourceFormat;if(t!=null){var a=A.getDimensionIndex(t),o=n.getDimensionProperty(a);return bm(i)(r,a,o)}else{var s=r;return i===qt&&(s=Ia(r)),s}}}}var DU=/\{@(.+?)\}/g,LU=(function(){function A(){}return A.prototype.getDataParams=function(e,t){var r=this.getData(t),n=this.getRawValue(e,t),i=r.getRawIndex(e),a=r.getName(e),o=r.getRawDataItem(e),s=r.getItemVisual(e,"style"),l=s&&s[r.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,f=this.mainType,c=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:i,data:o,dataType:t,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},A.prototype.getFormattedLabel=function(e,t,r,n,i,a){t=t||"normal";var o=this.getData(r),s=this.getDataParams(e,r);if(a&&(s.value=a.interpolatedValue),n!=null&&ae(s.value)&&(s.value=s.value[n]),!i){var l=o.getItemModel(e);i=l.get(t==="normal"?["label","formatter"]:[t,"label","formatter"])}if(me(i))return s.status=t,s.dimensionIndex=n,i(s);if(le(i)){var u=YB(i,s);return u.replace(DU,function(f,c){var h=c.length,v=c;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1),process.env.NODE_ENV!=="production"&&isNaN(v)&&Ge("Invalide label formatter: @"+c+", only support @[0], @[1], @[2], ..."));var d=ki(o,e,v);if(a&&ae(a.interpolatedValue)){var g=o.getDimensionIndex(v);g>=0&&(d=a.interpolatedValue[g])}return d!=null?d+"":""})}},A.prototype.getRawValue=function(e,t){return ki(this.getData(t),e)},A.prototype.formatTooltip=function(e,t,r){},A})();function Sm(A){var e,t;return he(A)?A.type?t=A:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+Ms(A)):e=A,{text:e,frag:t}}function eo(A){return new MU(A)}var MU=(function(){function A(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return A.prototype.perform=function(e){var t=this._upstream,r=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var a=u(this._modBy),o=this._modDataCount||0,s=u(e&&e.modBy),l=e&&e.modDataCount||0;(a!==s||o!==l)&&(i="reset");function u(B){return!(B>=1)&&(B=1),B}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=s,this._modDataCount=l;var c=e&&e.step;if(t?(process.env.NODE_ENV!=="production"&&fe(t._outputDueEnd!=null),this._dueEnd=t._outputDueEnd):(process.env.NODE_ENV!=="production"&&fe(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var h=this._dueIndex,v=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!r&&(f||h<v)){var d=this._progress;if(ae(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],h,v,s,l);else this._doProgress(d,h,v,s,l)}this._dueIndex=v;var p=this._settedOutputEnd!=null?this._settedOutputEnd:v;process.env.NODE_ENV!=="production"&&fe(p>=this._outputDueEnd),this._outputDueEnd=p}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},A.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},A.prototype._doProgress=function(e,t,r,n,i){Um.reset(t,r,n,i),this._callingProgress=e,this._callingProgress({start:t,end:r,count:r-t,next:Um.next},this.context)},A.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var t,r;!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(r=t.forceFirstProgress,t=t.progress),ae(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),r},A.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},A.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&fe(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},A.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},A.prototype.getUpstream=function(){return this._upstream},A.prototype.getDownstream=function(){return this._downstream},A.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},A})(),Um=(function(){var A,e,t,r,n,i={reset:function(s,l,u,f){e=s,A=l,t=u,r=f,n=Math.ceil(r/t),i.next=t>1&&r>0?o:a}};return i;function a(){return e<A?e++:null}function o(){var s=e%n*t+Math.ceil(e/n),l=e>=A?null:s<r?s:e;return e++,l}})();function Hl(A,e){var t=e&&e.type;return t==="ordinal"?A:(t==="time"&&!Ye(A)&&A!=null&&A!=="-"&&(A=+Qi(A)),A==null||A===""?NaN:Number(A))}we({number:function(A){return parseFloat(A)},time:function(A){return+Qi(A)},trim:function(A){return le(A)?LA(A):A}});var HU=(function(){function A(e,t){var r=e==="desc";this._resultLT=r?1:-1,t==null&&(t=r?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return A.prototype.evaluate=function(e,t){var r=Ye(e)?e:Ds(e),n=Ye(t)?t:Ds(t),i=isNaN(r),a=isNaN(n);if(i&&(r=this._incomparable),a&&(n=this._incomparable),i&&a){var o=le(e),s=le(t);o&&(r=s?e:0),s&&(n=o?t:0)}return r<n?this._resultLT:r>n?-this._resultLT:0},A})(),OU=(function(){function A(){}return A.prototype.getRawData=function(){throw new Error("not supported")},A.prototype.getRawDataItem=function(e){throw new Error("not supported")},A.prototype.cloneRawData=function(){},A.prototype.getDimensionInfo=function(e){},A.prototype.cloneAllDimensionInfo=function(){},A.prototype.count=function(){},A.prototype.retrieveValue=function(e,t){},A.prototype.retrieveValueFromItem=function(e,t){},A.prototype.convertValue=function(e,t){return Hl(e,t)},A})();function RU(A,e){var t=new OU,r=A.data,n=t.sourceFormat=A.sourceFormat,i=A.startIndex,a="";A.seriesLayoutBy!==ZA&&(process.env.NODE_ENV!=="production"&&(a='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Kt(a));var o=[],s={},l=A.dimensionsDefine;if(l)b(l,function(d,g){var p=d.name,B={index:g,name:p,displayName:d.displayName};if(o.push(B),p!=null){var m="";mA(s,p)&&(process.env.NODE_ENV!=="production"&&(m='dimension name "'+p+'" duplicated.'),Kt(m)),s[p]=B}});else for(var u=0;u<A.dimensionsDetectedCount;u++)o.push({index:u});var f=xm(n,ZA);e.__isBuiltIn&&(t.getRawDataItem=function(d){return f(r,i,o,d)},t.getRawData=ye(NU,null,A)),t.cloneRawData=ye(PU,null,A);var c=Em(n,ZA);t.count=ye(c,null,r,i,o);var h=bm(n);t.retrieveValue=function(d,g){var p=f(r,i,o,d);return v(p,g)};var v=t.retrieveValueFromItem=function(d,g){if(d!=null){var p=o[g];if(p)return h(d,g,p.name)}};return t.getDimensionInfo=ye(kU,null,o,s),t.cloneAllDimensionInfo=ye(VU,null,o),t}function NU(A){var e=A.sourceFormat;if(!$h(e)){var t="";process.env.NODE_ENV!=="production"&&(t="`getRawData` is not supported in source format "+e),Kt(t)}return A.data}function PU(A){var e=A.sourceFormat,t=A.data;if(!$h(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),Kt(r)}if(e===bt){for(var n=[],i=0,a=t.length;i<a;i++)n.push(t[i].slice());return n}else if(e===QA){for(var n=[],i=0,a=t.length;i<a;i++)n.push(Y({},t[i]));return n}}function kU(A,e,t){if(t!=null){if(Ye(t)||!isNaN(t)&&!mA(e,t))return A[t];if(mA(e,t))return e[t]}}function VU(A){return Ue(A)}var Im=we();function KU(A){A=Ue(A);var e=A.type,t="";e||(process.env.NODE_ENV!=="production"&&(t="Must have a `type` when `registerTransform`."),Kt(t));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(t='Name must include namespace like "ns:regression".'),Kt(t));var n=!1;r[0]==="echarts"&&(e=r[1],n=!0),A.__isBuiltIn=n,Im.set(e,A)}function GU(A,e,t){var r=Lt(A),n=r.length,i="";n||(process.env.NODE_ENV!=="production"&&(i="If `transform` declared, it should at least contain one transform."),Kt(i));for(var a=0,o=n;a<o;a++){var s=r[a];e=zU(s,e,t,n===1?null:a),a!==o-1&&(e.length=Math.max(e.length,1))}return e}function zU(A,e,t,r){var n="";e.length||(process.env.NODE_ENV!=="production"&&(n="Must have at least one upstream dataset."),Kt(n)),he(A)||(process.env.NODE_ENV!=="production"&&(n="transform declaration must be an object rather than "+typeof A+"."),Kt(n));var i=A.type,a=Im.get(i);a||(process.env.NODE_ENV!=="production"&&(n='Can not find transform on type "'+i+'".'),Kt(n));var o=Be(e,function(u){return RU(u,a)}),s=Lt(a.transform({upstream:o[0],upstreamList:o,config:Ue(A.config)}));if(process.env.NODE_ENV!=="production"&&A.print){var l=Be(s,function(u){var f=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+t.datasetIndex+f+" ===","- transform result data:",Ms(u.data),"- transform result dimensions:",Ms(u.dimensions)].join(`
33
+ echarts.use([`+I+"]);":"Unknown series "+E))}return}if(f==="tooltip"){if(m){process.env.NODE_ENV!=="production"&&(y||(xt("Currently only one tooltip component is allowed."),y=!0));return}m=!0}if(Q&&Q.constructor===S)Q.name=_.keyInfo.name,Q.mergeOption(x,this),Q.optionUpdated(x,!1);else{var U=Y({componentIndex:C},_.keyInfo);Q=new S(x,this,this,U),Y(Q,U),_.brandNew&&(Q.__requireNewView=!0),Q.init(x,this,this),Q.optionUpdated(null,!0)}}Q?(g.push(Q.option),p.push(Q),B++):(g.push(void 0),p.push(void 0))},this),n[f]=g,i.set(f,p),a.set(f,B),f==="series"&&Ul(this)}this._seriesIndices||Ul(this)},e.prototype.getOption=function(){var t=Ue(this.option);return b(t,function(r,n){if(Re.hasClass(n)){for(var i=Lt(r),a=i.length,o=!1,s=a-1;s>=0;s--)i[s]&&!Qi(i[s])?o=!0:(i[s]=null,!o&&a--);i.length=a,t[n]=i}}),delete t[Gh],t},e.prototype.setTheme=function(t){this._theme=new et(t),this._resetOption("recreate",null)},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,r){var n=this._componentsMap.get(t);if(n){var i=n[r||0];if(i)return i;if(r==null){for(var a=0;a<n.length;a++)if(n[a])return n[a]}}},e.prototype.queryComponents=function(t){var r=t.mainType;if(!r)return[];var n=t.index,i=t.id,a=t.name,o=this._componentsMap.get(r);if(!o||!o.length)return[];var s;return n!=null?(s=[],b(Lt(n),function(l){o[l]&&s.push(o[l])})):i!=null?s=im("id",i,o):a!=null?s=im("name",a,o):s=rt(o,function(l){return!!l}),am(s,t)},e.prototype.findComponents=function(t){var r=t.query,n=t.mainType,i=o(r),a=i?this.queryComponents(i):rt(this._componentsMap.get(n),function(l){return!!l});return s(am(a,t));function o(l){var u=n+"Index",f=n+"Id",c=n+"Name";return l&&(l[u]!=null||l[f]!=null||l[c]!=null)?{mainType:n,index:l[u],id:l[f],name:l[c]}:null}function s(l){return t.filter?rt(l,t.filter):l}},e.prototype.eachComponent=function(t,r,n){var i=this._componentsMap;if(me(t)){var a=r,o=t;i.each(function(f,c){for(var h=0;f&&h<f.length;h++){var v=f[h];v&&o.call(a,c,v,v.componentIndex)}})}else for(var s=le(t)?i.get(t):he(t)?this.findComponents(t):null,l=0;s&&l<s.length;l++){var u=s[l];u&&r.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var r=kA(t,null);return rt(this._componentsMap.get("series"),function(n){return!!n&&r!=null&&n.name===r})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return rt(this._componentsMap.get("series"),function(r){return!!r&&r.subType===t})},e.prototype.getSeries=function(){return rt(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,r){Za(this),b(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(r,i,n)},this)},e.prototype.eachRawSeries=function(t,r){b(this._componentsMap.get("series"),function(n){n&&t.call(r,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,r,n){Za(this),b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];a.subType===t&&r.call(n,a,i)},this)},e.prototype.eachRawSeriesByType=function(t,r,n){return b(this.getSeriesByType(t),r,n)},e.prototype.isSeriesFiltered=function(t){return Za(this),this._seriesIndicesMap.get(t.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,r){Za(this);var n=[];b(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];t.call(r,a,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=we(n)},e.prototype.restoreData=function(t){Ul(this);var r=this._componentsMap,n=[];r.each(function(i,a){Re.hasClass(a)&&n.push(a)}),Re.topologicalTravel(n,Re.getAllClassMainTypes(),function(i){b(r.get(i),function(a){a&&(i!=="series"||!sU(a,t))&&a.restoreData()})})},e.internalField=(function(){Ul=function(t){var r=t._seriesIndices=[];b(t._componentsMap.get("series"),function(n){n&&r.push(n.componentIndex)}),t._seriesIndicesMap=we(r)},Za=function(t){if(process.env.NODE_ENV!=="production"&&!t._seriesIndices)throw new Error("Option should contains series.")},rm=function(t,r){t.option={},t.option[Gh]=nm,t._componentsMap=we({series:[]}),t._componentsCount=we();var n=r.aria;he(n)&&n.enabled==null&&(n.enabled=!0),lU(r,t._theme.option),Oe(r,ZS,!1),t._mergeOption(r,null)}})(),e})(et);function sU(A,e){if(e){var t=e.seriesIndex,r=e.seriesId,n=e.seriesName;return t!=null&&A.componentIndex!==t||r!=null&&A.id!==r||n!=null&&A.name!==n}}function lU(A,e){var t=A.color&&!A.colorLayer;b(e,function(r,n){n==="colorLayer"&&t||n==="color"&&A.color||Re.hasClass(n)||(typeof r=="object"?A[n]=A[n]?Oe(A[n],r,!1):Ue(r):A[n]==null&&(A[n]=r))})}function im(A,e,t){if(ae(e)){var r=we();return b(e,function(i){if(i!=null){var a=kA(i,null);a!=null&&r.set(i,!0)}}),rt(t,function(i){return i&&r.get(i[A])})}else{var n=kA(e,null);return rt(t,function(i){return i&&n!=null&&i[A]===n})}}function am(A,e){return e.hasOwnProperty("subType")?rt(A,function(t){return t&&t.subType===e.subType}):A}function om(A){var e=we();return A&&b(Lt(A.replaceMerge),function(t){process.env.NODE_ENV!=="production"&&fe(Re.hasClass(t),'"'+t+'" is not valid component main type in "replaceMerge"'),e.set(t,!0)}),{replaceMergeMainTypeMap:e}}DA(zh,Kh);var uU=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],sm=(function(){function A(e){b(uU,function(t){this[t]=ye(e[t],e)},this)}return A})(),fU=/^(min|max)?(.+)$/,cU=(function(){function A(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return A.prototype.setOption=function(e,t,r){e&&(b(Lt(e.series),function(a){a&&a.data&&Tt(a.data)&&If(a.data)}),b(Lt(e.dataset),function(a){a&&a.source&&Tt(a.source)&&If(a.source)})),e=Ue(e);var n=this._optionBackup,i=hU(e,t,!n);this._newBaseOption=i.baseOption,n?(i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},A.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Ue(e?t.baseOption:this._newBaseOption)},A.prototype.getTimelineOption=function(e){var t,r=this._timelineOptions;if(r.length){var n=e.getComponent("timeline");n&&(t=Ue(r[n.getCurrentIndex()]))}return t},A.prototype.getMediaOption=function(e){var t=this._api.getWidth(),r=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,a=[],o=[];if(!n.length&&!i)return o;for(var s=0,l=n.length;s<l;s++)vU(n[s].query,t,r)&&a.push(s);return!a.length&&i&&(a=[-1]),a.length&&!pU(a,this._currentMediaIndices)&&(o=Be(a,function(u){return Ue(u===-1?i.option:n[u].option)})),this._currentMediaIndices=a,o},A})();function hU(A,e,t){var r=[],n,i,a=A.baseOption,o=A.timeline,s=A.options,l=A.media,u=!!A.media,f=!!(s||o||a&&a.timeline);a?(i=a,i.timeline||(i.timeline=o)):((f||u)&&(A.options=A.media=null),i=A),u&&(ae(l)?b(l,function(h){process.env.NODE_ENV!=="production"&&h&&!h.option&&he(h.query)&&he(h.query.option)&&Ge("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),h&&h.option&&(h.query?r.push(h):n||(n=h))}):process.env.NODE_ENV!=="production"&&Ge("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),c(i),b(s,function(h){return c(h)}),b(r,function(h){return c(h.option)});function c(h){b(e,function(v){v(h,t)})}return{baseOption:i,timelineOptions:s||[],mediaDefault:n,mediaList:r}}function vU(A,e,t){var r={width:e,height:t,aspectratio:e/t},n=!0;return b(A,function(i,a){var o=a.match(fU);if(!(!o||!o[1]||!o[2])){var s=o[1],l=o[2].toLowerCase();dU(r[l],i,s)||(n=!1)}}),n}function dU(A,e,t){return t==="min"?A>=e:t==="max"?A<=e:A===e}function pU(A,e){return A.join(",")===e.join(",")}var fA=b,Ja=he,lm=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Wh(A){var e=A&&A.itemStyle;if(e)for(var t=0,r=lm.length;t<r;t++){var n=lm[t],i=e.normal,a=e.emphasis;i&&i[n]&&(process.env.NODE_ENV!=="production"&&pt("itemStyle.normal."+n,n),A[n]=A[n]||{},A[n].normal?Oe(A[n].normal,i[n]):A[n].normal=i[n],i[n]=null),a&&a[n]&&(process.env.NODE_ENV!=="production"&&pt("itemStyle.emphasis."+n,"emphasis."+n),A[n]=A[n]||{},A[n].emphasis?Oe(A[n].emphasis,a[n]):A[n].emphasis=a[n],a[n]=null)}}function St(A,e,t){if(A&&A[e]&&(A[e].normal||A[e].emphasis)){var r=A[e].normal,n=A[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&PA("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),t?(A[e].normal=A[e].emphasis=null,Ne(A[e],r)):A[e]=r),n&&(process.env.NODE_ENV!=="production"&&PA(e+".emphasis has been changed to emphasis."+e+" since 4.0"),A.emphasis=A.emphasis||{},A.emphasis[e]=n,n.focus&&(A.emphasis.focus=n.focus),n.blurScope&&(A.emphasis.blurScope=n.blurScope))}}function qa(A){St(A,"itemStyle"),St(A,"lineStyle"),St(A,"areaStyle"),St(A,"label"),St(A,"labelLine"),St(A,"upperLabel"),St(A,"edgeLabel")}function it(A,e){var t=Ja(A)&&A[e],r=Ja(t)&&t.textStyle;if(r){process.env.NODE_ENV!=="production"&&PA("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var n=0,i=qg.length;n<i;n++){var a=qg[n];r.hasOwnProperty(a)&&(t[a]=r[a])}}}function cA(A){A&&(qa(A),it(A,"label"),A.emphasis&&it(A.emphasis,"label"))}function gU(A){if(Ja(A)){Wh(A),qa(A),it(A,"label"),it(A,"upperLabel"),it(A,"edgeLabel"),A.emphasis&&(it(A.emphasis,"label"),it(A.emphasis,"upperLabel"),it(A.emphasis,"edgeLabel"));var e=A.markPoint;e&&(Wh(e),cA(e));var t=A.markLine;t&&(Wh(t),cA(t));var r=A.markArea;r&&cA(r);var n=A.data;if(A.type==="graph"){n=n||A.nodes;var i=A.links||A.edges;if(i&&!Tt(i))for(var a=0;a<i.length;a++)cA(i[a]);b(A.categories,function(l){qa(l)})}if(n&&!Tt(n))for(var a=0;a<n.length;a++)cA(n[a]);if(e=A.markPoint,e&&e.data)for(var o=e.data,a=0;a<o.length;a++)cA(o[a]);if(t=A.markLine,t&&t.data)for(var s=t.data,a=0;a<s.length;a++)ae(s[a])?(cA(s[a][0]),cA(s[a][1])):cA(s[a]);A.type==="gauge"?(it(A,"axisLabel"),it(A,"title"),it(A,"detail")):A.type==="treemap"?(St(A.breadcrumb,"itemStyle"),b(A.levels,function(l){qa(l)})):A.type==="tree"&&qa(A.leaves)}}function cr(A){return ae(A)?A:A?[A]:[]}function um(A){return(ae(A)?A[0]:A)||{}}function BU(A,e){fA(cr(A.series),function(r){Ja(r)&&gU(r)});var t=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&t.push("valueAxis","categoryAxis","logAxis","timeAxis"),fA(t,function(r){fA(cr(A[r]),function(n){n&&(it(n,"axisLabel"),it(n.axisPointer,"label"))})}),fA(cr(A.parallel),function(r){var n=r&&r.parallelAxisDefault;it(n,"axisLabel"),it(n&&n.axisPointer,"label")}),fA(cr(A.calendar),function(r){St(r,"itemStyle"),it(r,"dayLabel"),it(r,"monthLabel"),it(r,"yearLabel")}),fA(cr(A.radar),function(r){it(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&PA("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&PA("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&fA(r.indicator,function(n){n.text&&pt("text","name","radar.indicator")})}),fA(cr(A.geo),function(r){Ja(r)&&(cA(r),fA(cr(r.regions),function(n){cA(n)}))}),fA(cr(A.timeline),function(r){cA(r),St(r,"label"),St(r,"itemStyle"),St(r,"controlStyle",!0);var n=r.data;ae(n)&&b(n,function(i){he(i)&&(St(i,"label"),St(i,"itemStyle"))})}),fA(cr(A.toolbox),function(r){St(r,"iconStyle"),fA(r.feature,function(n){St(n,"iconStyle")})}),it(um(A.axisPointer),"label"),it(um(A.tooltip).axisPointer,"label")}function mU(A,e){for(var t=e.split(","),r=A,n=0;n<t.length&&(r=r&&r[t[n]],r!=null);n++);return r}function yU(A,e,t,r){for(var n=e.split(","),i=A,a,o=0;o<n.length-1;o++)a=n[o],i[a]==null&&(i[a]={}),i=i[a];i[n[o]]==null&&(i[n[o]]=t)}function fm(A){A&&b(wU,function(e){e[0]in A&&!(e[1]in A)&&(A[e[1]]=A[e[0]])})}var wU=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],CU=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Yh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function $a(A){var e=A&&A.itemStyle;if(e)for(var t=0;t<Yh.length;t++){var r=Yh[t][1],n=Yh[t][0];e[r]!=null&&(e[n]=e[r],process.env.NODE_ENV!=="production"&&pt(r,n))}}function cm(A){A&&A.alignTo==="edge"&&A.margin!=null&&A.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&pt("label.margin","label.edgeDistance","pie"),A.edgeDistance=A.margin)}function hm(A){A&&A.downplay&&!A.blur&&(A.blur=A.downplay,process.env.NODE_ENV!=="production"&&pt("downplay","blur","sunburst"))}function _U(A){A&&A.focusNodeAdjacency!=null&&(A.emphasis=A.emphasis||{},A.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&pt("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),A.emphasis.focus="adjacency"))}function vm(A,e){if(A)for(var t=0;t<A.length;t++)e(A[t]),A[t]&&vm(A[t].children,e)}function dm(A,e){BU(A,e),A.series=Lt(A.series),b(A.series,function(t){if(he(t)){var r=t.type;if(r==="line")t.clipOverflow!=null&&(t.clip=t.clipOverflow,process.env.NODE_ENV!=="production"&&pt("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){t.clockWise!=null&&(t.clockwise=t.clockWise,process.env.NODE_ENV!=="production"&&pt("clockWise","clockwise")),cm(t.label);var n=t.data;if(n&&!Tt(n))for(var i=0;i<n.length;i++)cm(n[i]);t.hoverOffset!=null&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&pt("hoverOffset","emphasis.scaleSize"),t.emphasis.scaleSize=t.hoverOffset))}else if(r==="gauge"){var a=mU(t,"pointer.color");a!=null&&yU(t,"itemStyle.color",a)}else if(r==="bar"){$a(t),$a(t.backgroundStyle),$a(t.emphasis);var n=t.data;if(n&&!Tt(n))for(var i=0;i<n.length;i++)typeof n[i]=="object"&&($a(n[i]),$a(n[i]&&n[i].emphasis))}else if(r==="sunburst"){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o,process.env.NODE_ENV!=="production"&&pt("highlightPolicy","emphasis.focus","sunburst"))),hm(t),vm(t.data,hm)}else r==="graph"||r==="sankey"?_U(t):r==="map"&&(t.mapType&&!t.map&&(process.env.NODE_ENV!=="production"&&pt("mapType","map","map"),t.map=t.mapType),t.mapLocation&&(process.env.NODE_ENV!=="production"&&PA("`mapLocation` is not used anymore."),Ne(t,t.mapLocation)));t.hoverAnimation!=null&&(t.emphasis=t.emphasis||{},t.emphasis&&t.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&pt("hoverAnimation","emphasis.scale"),t.emphasis.scale=t.hoverAnimation)),fm(t)}}),A.dataRange&&(A.visualMap=A.dataRange),b(CU,function(t){var r=A[t];r&&(ae(r)||(r=[r]),b(r,function(n){fm(n)}))})}function QU(A){var e=we();A.eachSeries(function(t){var r=t.get("stack");if(r){var n=e.get(r)||e.set(r,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;n.push(a)}}),e.each(function(t){if(t.length!==0){var r=t[0].seriesModel,n=r.get("stackOrder")||"seriesAsc";n==="seriesDesc"&&t.reverse(),b(t,function(i,a){i.data.setCalculationInfo("stackedOnSeries",a>0?t[a-1].seriesModel:null)}),xU(t)}})}function xU(A){b(A,function(e,t){var r=[],n=[NaN,NaN],i=[e.stackResultDimension,e.stackedOverDimension],a=e.data,o=e.isStackedByIndex,s=e.seriesModel.get("stackStrategy")||"samesign";a.modify(i,function(l,u,f){var c=a.get(e.stackedDimension,f);if(isNaN(c))return n;var h,v;o?v=a.getRawIndex(f):h=a.get(e.stackedByDimension,f);for(var d=NaN,g=t-1;g>=0;g--){var p=A[g];if(o||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var B=p.data.getByRawIndex(p.stackResultDimension,v);if(s==="all"||s==="positive"&&B>0||s==="negative"&&B<0||s==="samesign"&&c>=0&&B>0||s==="samesign"&&c<=0&&B<0){c=IF(c,B),d=B;break}}}return r[0]=c,r[1]=d,r})})}var Tl=(function(){function A(e){this.data=e.data||(e.sourceFormat===XA?{}:[]),this.sourceFormat=e.sourceFormat||$B,this.seriesLayoutBy=e.seriesLayoutBy||ZA,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var r=0;r<t.length;r++){var n=t[r];n.type==null&&tm(this,r)===$t.Must&&(n.type="ordinal")}}return A})();function Xh(A){return A instanceof Tl}function Zh(A,e,t){t=t||gm(A);var r=e.seriesLayoutBy,n=EU(A,t,r,e.sourceHeader,e.dimensions),i=new Tl({data:A,sourceFormat:t,seriesLayoutBy:r,dimensionsDefine:n.dimensionsDefine,startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount,metaRawOption:Ue(e)});return i}function pm(A){return new Tl({data:A,sourceFormat:Tt(A)?fr:qt})}function FU(A){return new Tl({data:A.data,sourceFormat:A.sourceFormat,seriesLayoutBy:A.seriesLayoutBy,dimensionsDefine:Ue(A.dimensionsDefine),startIndex:A.startIndex,dimensionsDetectedCount:A.dimensionsDetectedCount})}function gm(A){var e=$B;if(Tt(A))e=fr;else if(ae(A)){A.length===0&&(e=bt);for(var t=0,r=A.length;t<r;t++){var n=A[t];if(n!=null){if(ae(n)||Tt(n)){e=bt;break}else if(he(n)){e=xA;break}}}}else if(he(A)){for(var i in A)if(yA(A,i)&&kt(A[i])){e=XA;break}}return e}function EU(A,e,t,r,n){var i,a;if(!A)return{dimensionsDefine:Bm(n),startIndex:a,dimensionsDetectedCount:i};if(e===bt){var o=A;r==="auto"||r==null?mm(function(l){l!=null&&l!=="-"&&(le(l)?a==null&&(a=1):a=0)},t,o,10):a=Ye(r)?r:r?1:0,!n&&a===1&&(n=[],mm(function(l,u){n[u]=l!=null?l+"":""},t,o,1/0)),i=n?n.length:t===Mn?o.length:o[0]?o[0].length:null}else if(e===xA)n||(n=bU(A));else if(e===XA)n||(n=[],b(A,function(l,u){n.push(u)}));else if(e===qt){var s=Ua(A[0]);i=ae(s)&&s.length||1}else e===fr&&process.env.NODE_ENV!=="production"&&fe(!!n,"dimensions must be given if data is TypedArray.");return{startIndex:a,dimensionsDefine:Bm(n),dimensionsDetectedCount:i}}function bU(A){for(var e=0,t;e<A.length&&!(t=A[e++]););if(t)return Xe(t)}function Bm(A){if(A){var e=we();return Be(A,function(t,r){t=he(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(n.name==null)return n;n.name+="",n.displayName==null&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function mm(A,e,t,r){if(e===Mn)for(var n=0;n<t.length&&n<r;n++)A(t[n]?t[n][0]:null,n);else for(var i=t[0]||[],n=0;n<i.length&&n<r;n++)A(i[n],n)}function ym(A){var e=A.sourceFormat;return e===xA||e===XA}var Hn,On,Rn,Nn,wm,Cm,_m=(function(){function A(e,t){var r=Xh(e)?e:pm(e);this._source=r;var n=this._data=r.data,i=r.sourceFormat,a=r.seriesLayoutBy;if(i===fr){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=t,this._data=n}if(process.env.NODE_ENV!=="production"){var o=SU[Ll(i,a)];o&&o(n,r.dimensionsDefine)}Cm(this,n,r)}return A.prototype.getSource=function(){return this._source},A.prototype.count=function(){return 0},A.prototype.getItem=function(e,t){},A.prototype.appendData=function(e){},A.prototype.clean=function(){},A.protoInitialize=(function(){var e=A.prototype;e.pure=!1,e.persistent=!0})(),A.internalField=(function(){var e;Cm=function(a,o,s){var l=s.sourceFormat,u=s.seriesLayoutBy,f=s.startIndex,c=s.dimensionsDefine,h=wm[Ll(l,u)];if(process.env.NODE_ENV!=="production"&&fe(h,"Invalide sourceFormat: "+l),Y(a,h),l===fr)a.getItem=t,a.count=n,a.fillStorage=r;else{var v=xm(l,u);a.getItem=ye(v,null,o,f,c);var d=Em(l,u);a.count=ye(d,null,o,f,c)}};var t=function(a,o){a=a-this._offset,o=o||[];for(var s=this._data,l=this._dimSize,u=l*a,f=0;f<l;f++)o[f]=s[u+f];return o},r=function(a,o,s,l){for(var u=this._data,f=this._dimSize,c=0;c<f;c++){for(var h=l[c],v=h[0]==null?1/0:h[0],d=h[1]==null?-1/0:h[1],g=o-a,p=s[c],B=0;B<g;B++){var m=u[B*f+c];p[a+B]=m,m<v&&(v=m),m>d&&(d=m)}h[0]=v,h[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};wm=(e={},e[bt+"_"+ZA]={pure:!0,appendData:i},e[bt+"_"+Mn]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[xA]={pure:!0,appendData:i},e[XA]={pure:!0,appendData:function(a){var o=this._data;b(a,function(s,l){for(var u=o[l]||(o[l]=[]),f=0;f<(s||[]).length;f++)u.push(s[f])})}},e[qt]={appendData:i},e[fr]={persistent:!1,pure:!0,appendData:function(a){process.env.NODE_ENV!=="production"&&fe(Tt(a),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(a){for(var o=0;o<a.length;o++)this._data.push(a[o])}})(),A})(),Dl=function(A){ae(A)||Ge("series.data or dataset.source must be an array.")},SU=(Hn={},Hn[bt+"_"+ZA]=Dl,Hn[bt+"_"+Mn]=Dl,Hn[xA]=Dl,Hn[XA]=function(A,e){for(var t=0;t<e.length;t++){var r=e[t].name;r==null&&Ge("dimension name must not be null/undefined.")}},Hn[qt]=Dl,Hn),Qm=function(A,e,t,r){return A[r]},UU=(On={},On[bt+"_"+ZA]=function(A,e,t,r){return A[r+e]},On[bt+"_"+Mn]=function(A,e,t,r,n){r+=e;for(var i=n||[],a=A,o=0;o<a.length;o++){var s=a[o];i[o]=s?s[r]:null}return i},On[xA]=Qm,On[XA]=function(A,e,t,r,n){for(var i=n||[],a=0;a<t.length;a++){var o=t[a].name,s=o!=null?A[o]:null;i[a]=s?s[r]:null}return i},On[qt]=Qm,On);function xm(A,e){var t=UU[Ll(A,e)];return process.env.NODE_ENV!=="production"&&fe(t,'Do not support get item on "'+A+'", "'+e+'".'),t}var Fm=function(A,e,t){return A.length},IU=(Rn={},Rn[bt+"_"+ZA]=function(A,e,t){return Math.max(0,A.length-e)},Rn[bt+"_"+Mn]=function(A,e,t){var r=A[0];return r?Math.max(0,r.length-e):0},Rn[xA]=Fm,Rn[XA]=function(A,e,t){var r=t[0].name,n=r!=null?A[r]:null;return n?n.length:0},Rn[qt]=Fm,Rn);function Em(A,e){var t=IU[Ll(A,e)];return process.env.NODE_ENV!=="production"&&fe(t,'Do not support count on "'+A+'", "'+e+'".'),t}var Jh=function(A,e,t){return A[e]},TU=(Nn={},Nn[bt]=Jh,Nn[xA]=function(A,e,t){return A[t]},Nn[XA]=Jh,Nn[qt]=function(A,e,t){var r=Ua(A);return r instanceof Array?r[e]:r},Nn[fr]=Jh,Nn);function bm(A){var e=TU[A];return process.env.NODE_ENV!=="production"&&fe(e,'Do not support get value on "'+A+'".'),e}function Ll(A,e){return A===bt?A+"_"+e:A}function Pi(A,e,t){if(A){var r=A.getRawDataItem(e);if(r!=null){var n=A.getStore(),i=n.getSource().sourceFormat;if(t!=null){var a=A.getDimensionIndex(t),o=n.getDimensionProperty(a);return bm(i)(r,a,o)}else{var s=r;return i===qt&&(s=Ua(r)),s}}}}var DU=/\{@(.+?)\}/g,LU=(function(){function A(){}return A.prototype.getDataParams=function(e,t){var r=this.getData(t),n=this.getRawValue(e,t),i=r.getRawIndex(e),a=r.getName(e),o=r.getRawDataItem(e),s=r.getItemVisual(e,"style"),l=s&&s[r.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,f=this.mainType,c=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:i,data:o,dataType:t,value:n,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},A.prototype.getFormattedLabel=function(e,t,r,n,i,a){t=t||"normal";var o=this.getData(r),s=this.getDataParams(e,r);if(a&&(s.value=a.interpolatedValue),n!=null&&ae(s.value)&&(s.value=s.value[n]),!i){var l=o.getItemModel(e);i=l.get(t==="normal"?["label","formatter"]:[t,"label","formatter"])}if(me(i))return s.status=t,s.dimensionIndex=n,i(s);if(le(i)){var u=YB(i,s);return u.replace(DU,function(f,c){var h=c.length,v=c;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1),process.env.NODE_ENV!=="production"&&isNaN(v)&&Ge("Invalide label formatter: @"+c+", only support @[0], @[1], @[2], ..."));var d=Pi(o,e,v);if(a&&ae(a.interpolatedValue)){var g=o.getDimensionIndex(v);g>=0&&(d=a.interpolatedValue[g])}return d!=null?d+"":""})}},A.prototype.getRawValue=function(e,t){return Pi(this.getData(t),e)},A.prototype.formatTooltip=function(e,t,r){},A})();function Sm(A){var e,t;return he(A)?A.type?t=A:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+Ls(A)):e=A,{text:e,frag:t}}function ja(A){return new MU(A)}var MU=(function(){function A(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return A.prototype.perform=function(e){var t=this._upstream,r=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var a=u(this._modBy),o=this._modDataCount||0,s=u(e&&e.modBy),l=e&&e.modDataCount||0;(a!==s||o!==l)&&(i="reset");function u(B){return!(B>=1)&&(B=1),B}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=s,this._modDataCount=l;var c=e&&e.step;if(t?(process.env.NODE_ENV!=="production"&&fe(t._outputDueEnd!=null),this._dueEnd=t._outputDueEnd):(process.env.NODE_ENV!=="production"&&fe(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var h=this._dueIndex,v=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!r&&(f||h<v)){var d=this._progress;if(ae(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],h,v,s,l);else this._doProgress(d,h,v,s,l)}this._dueIndex=v;var p=this._settedOutputEnd!=null?this._settedOutputEnd:v;process.env.NODE_ENV!=="production"&&fe(p>=this._outputDueEnd),this._outputDueEnd=p}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},A.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},A.prototype._doProgress=function(e,t,r,n,i){Um.reset(t,r,n,i),this._callingProgress=e,this._callingProgress({start:t,end:r,count:r-t,next:Um.next},this.context)},A.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var t,r;!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(r=t.forceFirstProgress,t=t.progress),ae(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),r},A.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},A.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&fe(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},A.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},A.prototype.getUpstream=function(){return this._upstream},A.prototype.getDownstream=function(){return this._downstream},A.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},A})(),Um=(function(){var A,e,t,r,n,i={reset:function(s,l,u,f){e=s,A=l,t=u,r=f,n=Math.ceil(r/t),i.next=t>1&&r>0?o:a}};return i;function a(){return e<A?e++:null}function o(){var s=e%n*t+Math.ceil(e/n),l=e>=A?null:s<r?s:e;return e++,l}})();function Ml(A,e){var t=e&&e.type;return t==="ordinal"?A:(t==="time"&&!Ye(A)&&A!=null&&A!=="-"&&(A=+_i(A)),A==null||A===""?NaN:Number(A))}we({number:function(A){return parseFloat(A)},time:function(A){return+_i(A)},trim:function(A){return le(A)?LA(A):A}});var HU=(function(){function A(e,t){var r=e==="desc";this._resultLT=r?1:-1,t==null&&(t=r?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return A.prototype.evaluate=function(e,t){var r=Ye(e)?e:Ts(e),n=Ye(t)?t:Ts(t),i=isNaN(r),a=isNaN(n);if(i&&(r=this._incomparable),a&&(n=this._incomparable),i&&a){var o=le(e),s=le(t);o&&(r=s?e:0),s&&(n=o?t:0)}return r<n?this._resultLT:r>n?-this._resultLT:0},A})(),OU=(function(){function A(){}return A.prototype.getRawData=function(){throw new Error("not supported")},A.prototype.getRawDataItem=function(e){throw new Error("not supported")},A.prototype.cloneRawData=function(){},A.prototype.getDimensionInfo=function(e){},A.prototype.cloneAllDimensionInfo=function(){},A.prototype.count=function(){},A.prototype.retrieveValue=function(e,t){},A.prototype.retrieveValueFromItem=function(e,t){},A.prototype.convertValue=function(e,t){return Ml(e,t)},A})();function RU(A,e){var t=new OU,r=A.data,n=t.sourceFormat=A.sourceFormat,i=A.startIndex,a="";A.seriesLayoutBy!==ZA&&(process.env.NODE_ENV!=="production"&&(a='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Kt(a));var o=[],s={},l=A.dimensionsDefine;if(l)b(l,function(d,g){var p=d.name,B={index:g,name:p,displayName:d.displayName};if(o.push(B),p!=null){var m="";yA(s,p)&&(process.env.NODE_ENV!=="production"&&(m='dimension name "'+p+'" duplicated.'),Kt(m)),s[p]=B}});else for(var u=0;u<A.dimensionsDetectedCount;u++)o.push({index:u});var f=xm(n,ZA);e.__isBuiltIn&&(t.getRawDataItem=function(d){return f(r,i,o,d)},t.getRawData=ye(NU,null,A)),t.cloneRawData=ye(PU,null,A);var c=Em(n,ZA);t.count=ye(c,null,r,i,o);var h=bm(n);t.retrieveValue=function(d,g){var p=f(r,i,o,d);return v(p,g)};var v=t.retrieveValueFromItem=function(d,g){if(d!=null){var p=o[g];if(p)return h(d,g,p.name)}};return t.getDimensionInfo=ye(kU,null,o,s),t.cloneAllDimensionInfo=ye(VU,null,o),t}function NU(A){var e=A.sourceFormat;if(!qh(e)){var t="";process.env.NODE_ENV!=="production"&&(t="`getRawData` is not supported in source format "+e),Kt(t)}return A.data}function PU(A){var e=A.sourceFormat,t=A.data;if(!qh(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),Kt(r)}if(e===bt){for(var n=[],i=0,a=t.length;i<a;i++)n.push(t[i].slice());return n}else if(e===xA){for(var n=[],i=0,a=t.length;i<a;i++)n.push(Y({},t[i]));return n}}function kU(A,e,t){if(t!=null){if(Ye(t)||!isNaN(t)&&!yA(e,t))return A[t];if(yA(e,t))return e[t]}}function VU(A){return Ue(A)}var Im=we();function KU(A){A=Ue(A);var e=A.type,t="";e||(process.env.NODE_ENV!=="production"&&(t="Must have a `type` when `registerTransform`."),Kt(t));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(t='Name must include namespace like "ns:regression".'),Kt(t));var n=!1;r[0]==="echarts"&&(e=r[1],n=!0),A.__isBuiltIn=n,Im.set(e,A)}function GU(A,e,t){var r=Lt(A),n=r.length,i="";n||(process.env.NODE_ENV!=="production"&&(i="If `transform` declared, it should at least contain one transform."),Kt(i));for(var a=0,o=n;a<o;a++){var s=r[a];e=zU(s,e,t,n===1?null:a),a!==o-1&&(e.length=Math.max(e.length,1))}return e}function zU(A,e,t,r){var n="";e.length||(process.env.NODE_ENV!=="production"&&(n="Must have at least one upstream dataset."),Kt(n)),he(A)||(process.env.NODE_ENV!=="production"&&(n="transform declaration must be an object rather than "+typeof A+"."),Kt(n));var i=A.type,a=Im.get(i);a||(process.env.NODE_ENV!=="production"&&(n='Can not find transform on type "'+i+'".'),Kt(n));var o=Be(e,function(u){return RU(u,a)}),s=Lt(a.transform({upstream:o[0],upstreamList:o,config:Ue(A.config)}));if(process.env.NODE_ENV!=="production"&&A.print){var l=Be(s,function(u){var f=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+t.datasetIndex+f+" ===","- transform result data:",Ls(u.data),"- transform result dimensions:",Ls(u.dimensions)].join(`
34
34
  `)}).join(`
35
- `);Yg(l)}return Be(s,function(u,f){var c="";he(u)||(process.env.NODE_ENV!=="production"&&(c="A transform should not return some empty results."),Kt(c)),u.data||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be not be null or undefined"),Kt(c));var h=gm(u.data);$h(h)||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be array rows or object rows."),Kt(c));var v,d=e[0];if(d&&f===0&&!u.dimensions){var g=d.startIndex;g&&(u.data=d.data.slice(0,g).concat(u.data)),v={seriesLayoutBy:ZA,sourceHeader:g,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:ZA,sourceHeader:0,dimensions:u.dimensions};return Jh(u.data,v,null)})}function $h(A){return A===bt||A===QA}var Ol="undefined",WU=typeof Uint32Array===Ol?Array:Uint32Array,YU=typeof Uint16Array===Ol?Array:Uint16Array,Tm=typeof Int32Array===Ol?Array:Int32Array,Dm=typeof Float64Array===Ol?Array:Float64Array,Lm={float:Dm,int:Tm,ordinal:Array,number:Array,time:Dm},jh;function Vi(A){return A>65535?WU:YU}function Ki(){return[1/0,-1/0]}function XU(A){var e=A.constructor;return e===Array?A.slice():new e(A)}function Mm(A,e,t,r,n){var i=Lm[t||"float"];if(n){var a=A[e],o=a&&a.length;if(o!==r){for(var s=new i(r),l=0;l<o;l++)s[l]=a[l];A[e]=s}}else A[e]=new i(r)}var ev=(function(){function A(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=we()}return A.prototype.initData=function(e,t,r){process.env.NODE_ENV!=="production"&&fe(me(e.getItem)&&me(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=jh[n.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[];var a=ym(n);this._dimensions=Be(t,function(o){return process.env.NODE_ENV!=="production"&&a&&fe(o.property!=null),{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},A.prototype.getProvider=function(){return this._provider},A.prototype.getSource=function(){return this._provider.getSource()},A.prototype.ensureCalculationDimension=function(e,t){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(e);if(i!=null){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},r.set(e,i),this._chunks[i]=new Lm[t||"float"](this._rawCount),this._rawExtent[i]=Ki(),i},A.prototype.collectOrdinalMeta=function(e,t){var r=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,a=n.ordinalOffset||0,o=r.length;a===0&&(i[e]=Ki());for(var s=i[e],l=a;l<o;l++){var u=r[l]=t.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=t,n.ordinalOffset=o,n.type="ordinal"},A.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],r=t.ordinalMeta;return r},A.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},A.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&fe(!this._indices,"appendData can only be called on raw data.");var t=this._provider,r=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},A.prototype.appendValues=function(e,t){for(var r=this._chunks,n=this._dimensions,i=n.length,a=this._rawExtent,o=this.count(),s=o+Math.max(e.length,t||0),l=0;l<i;l++){var u=n[l];Mm(r,l,u.type,s,!0)}for(var f=[],c=o;c<s;c++)for(var h=c-o,v=0;v<i;v++){var u=n[v],d=jh.arrayRows.call(this,e[h]||f,u.property,h,v);r[v][c]=d;var g=a[v];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:o,end:s}},A.prototype._initDataFromProvider=function(e,t,r){for(var n=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Be(a,function(B){return B.property}),u=0;u<o;u++){var f=a[u];s[u]||(s[u]=Ki()),Mm(i,u,f.type,t,r)}if(n.fillStorage)n.fillStorage(e,t,i,s);else for(var c=[],h=e;h<t;h++){c=n.getItem(h,c);for(var v=0;v<o;v++){var d=i[v],g=this._dimValueGetter(c,l[v],h,v);d[h]=g;var p=s[v];g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},A.prototype.count=function(){return this._count},A.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(t)]:NaN},A.prototype.getValues=function(e,t){var r=[],n=[];if(t==null){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,a=n.length;i<a;i++)r.push(this.get(n[i],t));return r},A.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var r=this._chunks[e];return r?r[t]:NaN},A.prototype.getSum=function(e){var t=this._chunks[e],r=0;if(t)for(var n=0,i=this.count();n<i;n++){var a=this.get(e,n);isNaN(a)||(r+=a)}return r},A.prototype.getMedian=function(e){var t=[];this.each([e],function(i){isNaN(i)||t.push(i)});var r=t.sort(function(i,a){return i-a}),n=this.count();return n===0?0:n%2===1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},A.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,r=t[e];if(r!=null&&r<this._count&&r===e)return e;for(var n=0,i=this._count-1;n<=i;){var a=(n+i)/2|0;if(t[a]<e)n=a+1;else if(t[a]>e)i=a-1;else return a}return-1},A.prototype.getIndices=function(){var e,t=this._indices;if(t){var r=t.constructor,n=this._count;if(r===Array){e=new r(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new r(t.buffer,0,n)}else{var r=Vi(this._rawCount);e=new r(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},A.prototype.filter=function(e,t){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=Vi(r._rawCount),a=new i(n),o=[],s=e.length,l=0,u=e[0],f=r._chunks,c=0;c<n;c++){var h=void 0,v=r.getRawIndex(c);if(s===0)h=t(c);else if(s===1){var d=f[u][v];h=t(d,c)}else{for(var g=0;g<s;g++)o[g]=f[e[g]][v];o[g]=c,h=t.apply(null,o)}h&&(a[l++]=v)}return l<n&&(r._indices=a),r._count=l,r._extent=[],r._updateGetRawIdx(),r},A.prototype.selectRange=function(e){var t=this.clone(),r=t._count;if(!r)return this;var n=Xe(e),i=n.length;if(!i)return this;var a=t.count(),o=Vi(t._rawCount),s=new o(a),l=0,u=n[0],f=e[u][0],c=e[u][1],h=t._chunks,v=!1;if(!t._indices){var d=0;if(i===1){for(var g=h[n[0]],p=0;p<r;p++){var B=g[p];(B>=f&&B<=c||isNaN(B))&&(s[l++]=d),d++}v=!0}else if(i===2){for(var g=h[n[0]],m=h[n[1]],y=e[n[1]][0],_=e[n[1]][1],p=0;p<r;p++){var B=g[p],C=m[p];(B>=f&&B<=c||isNaN(B))&&(C>=y&&C<=_||isNaN(C))&&(s[l++]=d),d++}v=!0}}if(!v)if(i===1)for(var p=0;p<a;p++){var Q=t.getRawIndex(p),B=h[n[0]][Q];(B>=f&&B<=c||isNaN(B))&&(s[l++]=Q)}else for(var p=0;p<a;p++){for(var x=!0,Q=t.getRawIndex(p),F=0;F<i;F++){var S=n[F],B=h[S][Q];(B<e[S][0]||B>e[S][1])&&(x=!1)}x&&(s[l++]=t.getRawIndex(p))}return l<a&&(t._indices=s),t._count=l,t._extent=[],t._updateGetRawIdx(),t},A.prototype.map=function(e,t){var r=this.clone(e);return this._updateDims(r,e,t),r},A.prototype.modify=function(e,t){this._updateDims(this,e,t)},A.prototype._updateDims=function(e,t,r){for(var n=e._chunks,i=[],a=t.length,o=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=Ki();for(var f=0;f<o;f++){for(var c=e.getRawIndex(f),h=0;h<a;h++)s[h]=n[t[h]][c];s[a]=f;var v=r&&r.apply(null,s);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var u=0;u<v.length;u++){var d=t[u],g=v[u],p=l[d],B=n[d];B&&(B[c]=g),g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}}},A.prototype.lttbDownSample=function(e,t){var r=this.clone([e],!0),n=r._chunks,i=n[e],a=this.count(),o=0,s=Math.floor(1/t),l=this.getRawIndex(0),u,f,c,h=new(Vi(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[o++]=l;for(var v=1;v<a-1;v+=s){for(var d=Math.min(v+s,a-1),g=Math.min(v+s*2,a),p=(g+d)/2,B=0,m=d;m<g;m++){var y=this.getRawIndex(m),_=i[y];isNaN(_)||(B+=_)}B/=g-d;var C=v,Q=Math.min(v+s,a),x=v-1,F=i[l];u=-1,c=C;for(var S=-1,E=0,m=C;m<Q;m++){var y=this.getRawIndex(m),_=i[y];if(isNaN(_)){E++,S<0&&(S=y);continue}f=Math.abs((x-p)*(_-F)-(x-m)*(B-F)),f>u&&(u=f,c=y)}E>0&&E<Q-C&&(h[o++]=Math.min(S,c),c=Math.max(S,c)),h[o++]=c,l=c}return h[o++]=this.getRawIndex(a-1),r._count=o,r._indices=h,r.getRawIndex=this._getRawIdx,r},A.prototype.minmaxDownSample=function(e,t){for(var r=this.clone([e],!0),n=r._chunks,i=Math.floor(1/t),a=n[e],o=this.count(),s=new(Vi(this._rawCount))(Math.ceil(o/i)*2),l=0,u=0;u<o;u+=i){var f=u,c=a[this.getRawIndex(f)],h=u,v=a[this.getRawIndex(h)],d=i;u+i>o&&(d=o-u);for(var g=0;g<d;g++){var p=this.getRawIndex(u+g),B=a[p];B<c&&(c=B,f=u+g),B>v&&(v=B,h=u+g)}var m=this.getRawIndex(f),y=this.getRawIndex(h);f<h?(s[l++]=m,s[l++]=y):(s[l++]=y,s[l++]=m)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},A.prototype.downSample=function(e,t,r,n){for(var i=this.clone([e],!0),a=i._chunks,o=[],s=Math.floor(1/t),l=a[e],u=this.count(),f=i._rawExtent[e]=Ki(),c=new(Vi(this._rawCount))(Math.ceil(u/s)),h=0,v=0;v<u;v+=s){s>u-v&&(s=u-v,o.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(v+d);o[d]=l[g]}var p=r(o),B=this.getRawIndex(Math.min(v+n(o,p)||0,u-1));l[B]=p,p<f[0]&&(f[0]=p),p>f[1]&&(f[1]=p),c[h++]=B}return i._count=h,i._indices=c,i._updateGetRawIdx(),i},A.prototype.each=function(e,t){if(this._count)for(var r=e.length,n=this._chunks,i=0,a=this.count();i<a;i++){var o=this.getRawIndex(i);switch(r){case 0:t(i);break;case 1:t(n[e[0]][o],i);break;case 2:t(n[e[0]][o],n[e[1]][o],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[e[s]][o];l[s]=i,t.apply(null,l)}}},A.prototype.getDataExtent=function(e){var t=this._chunks[e],r=Ki();if(!t)return r;var n=this.count(),i=!this._indices,a;if(i)return this._rawExtent[e].slice();if(a=this._extent[e],a)return a.slice();a=r;for(var o=a[0],s=a[1],l=0;l<n;l++){var u=this.getRawIndex(l),f=t[u];f<o&&(o=f),f>s&&(s=f)}return a=[o,s],this._extent[e]=a,a},A.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][t]);return r},A.prototype.clone=function(e,t){var r=new A,n=this._chunks,i=e&&ni(e,function(o,s){return o[s]=!0,o},{});if(i)for(var a=0;a<n.length;a++)r._chunks[a]=i[a]?XU(n[a]):n[a];else r._chunks=n;return this._copyCommonProps(r),t||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},A.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Ue(this._extent),e._rawExtent=Ue(this._rawExtent)},A.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var r=this._indices.length;t=new e(r);for(var n=0;n<r;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},A.prototype._getRawIdxIdentity=function(e){return e},A.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},A.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},A.internalField=(function(){function e(t,r,n,i){return Hl(t[i],this._dimensions[i])}jh={arrayRows:e,objectRows:function(t,r,n,i){return Hl(t[r],this._dimensions[i])},keyedColumns:e,original:function(t,r,n,i){var a=t&&(t.value==null?t:t.value);return Hl(a instanceof Array?a[i]:a,this._dimensions[i])},typedArray:function(t,r,n,i){return t[i]}}})(),A})(),ZU=(function(){function A(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return A.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},A.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},A.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},A.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},A.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),r=!!t.length,n,i;if(to(e)){var a=e,o=void 0,s=void 0,l=void 0;if(r){var u=t[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,i=[u._getVersionSign()]}else o=a.get("data",!0),s=Tt(o)?fr:qt,i=[];var f=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},h=ve(f.seriesLayoutBy,c.seriesLayoutBy)||null,v=ve(f.sourceHeader,c.sourceHeader),d=ve(f.dimensions,c.dimensions),g=h!==c.seriesLayoutBy||!!v!=!!c.sourceHeader||d;n=g?[Jh(o,{seriesLayoutBy:h,sourceHeader:v,dimensions:d},s)]:[]}else{var p=e;if(r){var B=this._applyTransform(t);n=B.sourceList,i=B.upstreamSignList}else{var m=p.get("source",!0);n=[Jh(m,this._getSourceMetaRawOption(),null)],i=[]}}process.env.NODE_ENV!=="production"&&fe(n&&i),this._setLocalSource(n,i)},A.prototype._applyTransform=function(e){var t=this._sourceHost,r=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&fe(n!=null||r!=null),n!=null){var i="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(i="When using `fromTransformResult`, there should be only one upstream dataset"),Hm(i))}var a,o=[],s=[];return b(e,function(l){l.prepareSource();var u=l.getSource(n||0),f="";n!=null&&!u&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+n),Hm(f)),o.push(u),s.push(l._getVersionSign())}),r?a=GU(r,o,{datasetIndex:t.componentIndex}):n!=null&&(a=[FU(o[0])]),{sourceList:a,upstreamSignList:s}},A.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var r=e[t];if(r._isDirty()||this._upstreamSignList[t]!==r._getVersionSign())return!0}},A.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return t},A.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&fe(to(this._sourceHost),"Can only call getDataStore on series source manager.");var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},A.prototype._innerGetDataStore=function(e,t,r){var n=0,i=this._storeList,a=i[n];a||(a=i[n]={});var o=a[r];if(!o){var s=this._getUpstreamSourceManagers()[0];to(this._sourceHost)&&s?o=s._innerGetDataStore(e,t,r):(o=new ev,o.initData(new _m(t,e.length),e)),a[r]=o}return o},A.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(to(e)){var t=em(e);return t?[t.getSourceManager()]:[]}else return Be($S(e),function(r){return r.getSourceManager()})},A.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,t,r,n;if(to(e))t=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;t=i.get("seriesLayoutBy",!0),r=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:r,dimensions:n}},A})();function to(A){return A.mainType==="series"}function Hm(A){throw new Error(A)}var JU="line-height:1";function Om(A){var e=A.lineHeight;return e==null?JU:"line-height:"+Vt(e+"")+"px"}function Rm(A,e){var t=A.color||oe.color.tertiary,r=A.fontSize||12,n=A.fontWeight||"400",i=A.color||oe.color.secondary,a=A.fontSize||14,o=A.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+Vt(r+"")+"px;color:"+Vt(t)+";font-weight:"+Vt(n+""),valueStyle:"font-size:"+Vt(a+"")+"px;color:"+Vt(i)+";font-weight:"+Vt(o+"")}:{nameStyle:{fontSize:r,fill:t,fontWeight:n},valueStyle:{fontSize:a,fill:i,fontWeight:o}}}var qU=[0,10,20,30],$U=["",`
35
+ `);Yg(l)}return Be(s,function(u,f){var c="";he(u)||(process.env.NODE_ENV!=="production"&&(c="A transform should not return some empty results."),Kt(c)),u.data||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be not be null or undefined"),Kt(c));var h=gm(u.data);qh(h)||(process.env.NODE_ENV!=="production"&&(c="Transform result data should be array rows or object rows."),Kt(c));var v,d=e[0];if(d&&f===0&&!u.dimensions){var g=d.startIndex;g&&(u.data=d.data.slice(0,g).concat(u.data)),v={seriesLayoutBy:ZA,sourceHeader:g,dimensions:d.metaRawOption.dimensions}}else v={seriesLayoutBy:ZA,sourceHeader:0,dimensions:u.dimensions};return Zh(u.data,v,null)})}function qh(A){return A===bt||A===xA}var Hl="undefined",WU=typeof Uint32Array===Hl?Array:Uint32Array,YU=typeof Uint16Array===Hl?Array:Uint16Array,Tm=typeof Int32Array===Hl?Array:Int32Array,Dm=typeof Float64Array===Hl?Array:Float64Array,Lm={float:Dm,int:Tm,ordinal:Array,number:Array,time:Dm},$h;function ki(A){return A>65535?WU:YU}function Vi(){return[1/0,-1/0]}function XU(A){var e=A.constructor;return e===Array?A.slice():new e(A)}function Mm(A,e,t,r,n){var i=Lm[t||"float"];if(n){var a=A[e],o=a&&a.length;if(o!==r){for(var s=new i(r),l=0;l<o;l++)s[l]=a[l];A[e]=s}}else A[e]=new i(r)}var jh=(function(){function A(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=we()}return A.prototype.initData=function(e,t,r){process.env.NODE_ENV!=="production"&&fe(me(e.getItem)&&me(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=e.getSource(),i=this.defaultDimValueGetter=$h[n.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[];var a=ym(n);this._dimensions=Be(t,function(o){return process.env.NODE_ENV!=="production"&&a&&fe(o.property!=null),{type:o.type,property:o.property}}),this._initDataFromProvider(0,e.count())},A.prototype.getProvider=function(){return this._provider},A.prototype.getSource=function(){return this._provider.getSource()},A.prototype.ensureCalculationDimension=function(e,t){var r=this._calcDimNameToIdx,n=this._dimensions,i=r.get(e);if(i!=null){if(n[i].type===t)return i}else i=n.length;return n[i]={type:t},r.set(e,i),this._chunks[i]=new Lm[t||"float"](this._rawCount),this._rawExtent[i]=Vi(),i},A.prototype.collectOrdinalMeta=function(e,t){var r=this._chunks[e],n=this._dimensions[e],i=this._rawExtent,a=n.ordinalOffset||0,o=r.length;a===0&&(i[e]=Vi());for(var s=i[e],l=a;l<o;l++){var u=r[l]=t.parseAndCollect(r[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=t,n.ordinalOffset=o,n.type="ordinal"},A.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],r=t.ordinalMeta;return r},A.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},A.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&fe(!this._indices,"appendData can only be called on raw data.");var t=this._provider,r=this.count();t.appendData(e);var n=t.count();return t.persistent||(n+=r),r<n&&this._initDataFromProvider(r,n,!0),[r,n]},A.prototype.appendValues=function(e,t){for(var r=this._chunks,n=this._dimensions,i=n.length,a=this._rawExtent,o=this.count(),s=o+Math.max(e.length,t||0),l=0;l<i;l++){var u=n[l];Mm(r,l,u.type,s,!0)}for(var f=[],c=o;c<s;c++)for(var h=c-o,v=0;v<i;v++){var u=n[v],d=$h.arrayRows.call(this,e[h]||f,u.property,h,v);r[v][c]=d;var g=a[v];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:o,end:s}},A.prototype._initDataFromProvider=function(e,t,r){for(var n=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Be(a,function(B){return B.property}),u=0;u<o;u++){var f=a[u];s[u]||(s[u]=Vi()),Mm(i,u,f.type,t,r)}if(n.fillStorage)n.fillStorage(e,t,i,s);else for(var c=[],h=e;h<t;h++){c=n.getItem(h,c);for(var v=0;v<o;v++){var d=i[v],g=this._dimValueGetter(c,l[v],h,v);d[h]=g;var p=s[v];g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},A.prototype.count=function(){return this._count},A.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(t)]:NaN},A.prototype.getValues=function(e,t){var r=[],n=[];if(t==null){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)n.push(i)}else n=e;for(var i=0,a=n.length;i<a;i++)r.push(this.get(n[i],t));return r},A.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var r=this._chunks[e];return r?r[t]:NaN},A.prototype.getSum=function(e){var t=this._chunks[e],r=0;if(t)for(var n=0,i=this.count();n<i;n++){var a=this.get(e,n);isNaN(a)||(r+=a)}return r},A.prototype.getMedian=function(e){var t=[];this.each([e],function(i){isNaN(i)||t.push(i)});var r=t.sort(function(i,a){return i-a}),n=this.count();return n===0?0:n%2===1?r[(n-1)/2]:(r[n/2]+r[n/2-1])/2},A.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,r=t[e];if(r!=null&&r<this._count&&r===e)return e;for(var n=0,i=this._count-1;n<=i;){var a=(n+i)/2|0;if(t[a]<e)n=a+1;else if(t[a]>e)i=a-1;else return a}return-1},A.prototype.getIndices=function(){var e,t=this._indices;if(t){var r=t.constructor,n=this._count;if(r===Array){e=new r(n);for(var i=0;i<n;i++)e[i]=t[i]}else e=new r(t.buffer,0,n)}else{var r=ki(this._rawCount);e=new r(this.count());for(var i=0;i<e.length;i++)e[i]=i}return e},A.prototype.filter=function(e,t){if(!this._count)return this;for(var r=this.clone(),n=r.count(),i=ki(r._rawCount),a=new i(n),o=[],s=e.length,l=0,u=e[0],f=r._chunks,c=0;c<n;c++){var h=void 0,v=r.getRawIndex(c);if(s===0)h=t(c);else if(s===1){var d=f[u][v];h=t(d,c)}else{for(var g=0;g<s;g++)o[g]=f[e[g]][v];o[g]=c,h=t.apply(null,o)}h&&(a[l++]=v)}return l<n&&(r._indices=a),r._count=l,r._extent=[],r._updateGetRawIdx(),r},A.prototype.selectRange=function(e){var t=this.clone(),r=t._count;if(!r)return this;var n=Xe(e),i=n.length;if(!i)return this;var a=t.count(),o=ki(t._rawCount),s=new o(a),l=0,u=n[0],f=e[u][0],c=e[u][1],h=t._chunks,v=!1;if(!t._indices){var d=0;if(i===1){for(var g=h[n[0]],p=0;p<r;p++){var B=g[p];(B>=f&&B<=c||isNaN(B))&&(s[l++]=d),d++}v=!0}else if(i===2){for(var g=h[n[0]],m=h[n[1]],y=e[n[1]][0],_=e[n[1]][1],p=0;p<r;p++){var B=g[p],C=m[p];(B>=f&&B<=c||isNaN(B))&&(C>=y&&C<=_||isNaN(C))&&(s[l++]=d),d++}v=!0}}if(!v)if(i===1)for(var p=0;p<a;p++){var Q=t.getRawIndex(p),B=h[n[0]][Q];(B>=f&&B<=c||isNaN(B))&&(s[l++]=Q)}else for(var p=0;p<a;p++){for(var x=!0,Q=t.getRawIndex(p),F=0;F<i;F++){var S=n[F],B=h[S][Q];(B<e[S][0]||B>e[S][1])&&(x=!1)}x&&(s[l++]=t.getRawIndex(p))}return l<a&&(t._indices=s),t._count=l,t._extent=[],t._updateGetRawIdx(),t},A.prototype.map=function(e,t){var r=this.clone(e);return this._updateDims(r,e,t),r},A.prototype.modify=function(e,t){this._updateDims(this,e,t)},A.prototype._updateDims=function(e,t,r){for(var n=e._chunks,i=[],a=t.length,o=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=Vi();for(var f=0;f<o;f++){for(var c=e.getRawIndex(f),h=0;h<a;h++)s[h]=n[t[h]][c];s[a]=f;var v=r&&r.apply(null,s);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var u=0;u<v.length;u++){var d=t[u],g=v[u],p=l[d],B=n[d];B&&(B[c]=g),g<p[0]&&(p[0]=g),g>p[1]&&(p[1]=g)}}}},A.prototype.lttbDownSample=function(e,t){var r=this.clone([e],!0),n=r._chunks,i=n[e],a=this.count(),o=0,s=Math.floor(1/t),l=this.getRawIndex(0),u,f,c,h=new(ki(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[o++]=l;for(var v=1;v<a-1;v+=s){for(var d=Math.min(v+s,a-1),g=Math.min(v+s*2,a),p=(g+d)/2,B=0,m=d;m<g;m++){var y=this.getRawIndex(m),_=i[y];isNaN(_)||(B+=_)}B/=g-d;var C=v,Q=Math.min(v+s,a),x=v-1,F=i[l];u=-1,c=C;for(var S=-1,E=0,m=C;m<Q;m++){var y=this.getRawIndex(m),_=i[y];if(isNaN(_)){E++,S<0&&(S=y);continue}f=Math.abs((x-p)*(_-F)-(x-m)*(B-F)),f>u&&(u=f,c=y)}E>0&&E<Q-C&&(h[o++]=Math.min(S,c),c=Math.max(S,c)),h[o++]=c,l=c}return h[o++]=this.getRawIndex(a-1),r._count=o,r._indices=h,r.getRawIndex=this._getRawIdx,r},A.prototype.minmaxDownSample=function(e,t){for(var r=this.clone([e],!0),n=r._chunks,i=Math.floor(1/t),a=n[e],o=this.count(),s=new(ki(this._rawCount))(Math.ceil(o/i)*2),l=0,u=0;u<o;u+=i){var f=u,c=a[this.getRawIndex(f)],h=u,v=a[this.getRawIndex(h)],d=i;u+i>o&&(d=o-u);for(var g=0;g<d;g++){var p=this.getRawIndex(u+g),B=a[p];B<c&&(c=B,f=u+g),B>v&&(v=B,h=u+g)}var m=this.getRawIndex(f),y=this.getRawIndex(h);f<h?(s[l++]=m,s[l++]=y):(s[l++]=y,s[l++]=m)}return r._count=l,r._indices=s,r._updateGetRawIdx(),r},A.prototype.downSample=function(e,t,r,n){for(var i=this.clone([e],!0),a=i._chunks,o=[],s=Math.floor(1/t),l=a[e],u=this.count(),f=i._rawExtent[e]=Vi(),c=new(ki(this._rawCount))(Math.ceil(u/s)),h=0,v=0;v<u;v+=s){s>u-v&&(s=u-v,o.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(v+d);o[d]=l[g]}var p=r(o),B=this.getRawIndex(Math.min(v+n(o,p)||0,u-1));l[B]=p,p<f[0]&&(f[0]=p),p>f[1]&&(f[1]=p),c[h++]=B}return i._count=h,i._indices=c,i._updateGetRawIdx(),i},A.prototype.each=function(e,t){if(this._count)for(var r=e.length,n=this._chunks,i=0,a=this.count();i<a;i++){var o=this.getRawIndex(i);switch(r){case 0:t(i);break;case 1:t(n[e[0]][o],i);break;case 2:t(n[e[0]][o],n[e[1]][o],i);break;default:for(var s=0,l=[];s<r;s++)l[s]=n[e[s]][o];l[s]=i,t.apply(null,l)}}},A.prototype.getDataExtent=function(e){var t=this._chunks[e],r=Vi();if(!t)return r;var n=this.count(),i=!this._indices,a;if(i)return this._rawExtent[e].slice();if(a=this._extent[e],a)return a.slice();a=r;for(var o=a[0],s=a[1],l=0;l<n;l++){var u=this.getRawIndex(l),f=t[u];f<o&&(o=f),f>s&&(s=f)}return a=[o,s],this._extent[e]=a,a},A.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var r=[],n=this._chunks,i=0;i<n.length;i++)r.push(n[i][t]);return r},A.prototype.clone=function(e,t){var r=new A,n=this._chunks,i=e&&ri(e,function(o,s){return o[s]=!0,o},{});if(i)for(var a=0;a<n.length;a++)r._chunks[a]=i[a]?XU(n[a]):n[a];else r._chunks=n;return this._copyCommonProps(r),t||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},A.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Ue(this._extent),e._rawExtent=Ue(this._rawExtent)},A.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var r=this._indices.length;t=new e(r);for(var n=0;n<r;n++)t[n]=this._indices[n]}else t=new e(this._indices);return t}return null},A.prototype._getRawIdxIdentity=function(e){return e},A.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},A.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},A.internalField=(function(){function e(t,r,n,i){return Ml(t[i],this._dimensions[i])}$h={arrayRows:e,objectRows:function(t,r,n,i){return Ml(t[r],this._dimensions[i])},keyedColumns:e,original:function(t,r,n,i){var a=t&&(t.value==null?t:t.value);return Ml(a instanceof Array?a[i]:a,this._dimensions[i])},typedArray:function(t,r,n,i){return t[i]}}})(),A})(),ZU=(function(){function A(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return A.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},A.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},A.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},A.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},A.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),r=!!t.length,n,i;if(eo(e)){var a=e,o=void 0,s=void 0,l=void 0;if(r){var u=t[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,i=[u._getVersionSign()]}else o=a.get("data",!0),s=Tt(o)?fr:qt,i=[];var f=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},h=ve(f.seriesLayoutBy,c.seriesLayoutBy)||null,v=ve(f.sourceHeader,c.sourceHeader),d=ve(f.dimensions,c.dimensions),g=h!==c.seriesLayoutBy||!!v!=!!c.sourceHeader||d;n=g?[Zh(o,{seriesLayoutBy:h,sourceHeader:v,dimensions:d},s)]:[]}else{var p=e;if(r){var B=this._applyTransform(t);n=B.sourceList,i=B.upstreamSignList}else{var m=p.get("source",!0);n=[Zh(m,this._getSourceMetaRawOption(),null)],i=[]}}process.env.NODE_ENV!=="production"&&fe(n&&i),this._setLocalSource(n,i)},A.prototype._applyTransform=function(e){var t=this._sourceHost,r=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&fe(n!=null||r!=null),n!=null){var i="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(i="When using `fromTransformResult`, there should be only one upstream dataset"),Hm(i))}var a,o=[],s=[];return b(e,function(l){l.prepareSource();var u=l.getSource(n||0),f="";n!=null&&!u&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+n),Hm(f)),o.push(u),s.push(l._getVersionSign())}),r?a=GU(r,o,{datasetIndex:t.componentIndex}):n!=null&&(a=[FU(o[0])]),{sourceList:a,upstreamSignList:s}},A.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var r=e[t];if(r._isDirty()||this._upstreamSignList[t]!==r._getVersionSign())return!0}},A.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return t},A.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&fe(eo(this._sourceHost),"Can only call getDataStore on series source manager.");var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},A.prototype._innerGetDataStore=function(e,t,r){var n=0,i=this._storeList,a=i[n];a||(a=i[n]={});var o=a[r];if(!o){var s=this._getUpstreamSourceManagers()[0];eo(this._sourceHost)&&s?o=s._innerGetDataStore(e,t,r):(o=new jh,o.initData(new _m(t,e.length),e)),a[r]=o}return o},A.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(eo(e)){var t=em(e);return t?[t.getSourceManager()]:[]}else return Be($S(e),function(r){return r.getSourceManager()})},A.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,t,r,n;if(eo(e))t=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),n=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=e;t=i.get("seriesLayoutBy",!0),r=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:r,dimensions:n}},A})();function eo(A){return A.mainType==="series"}function Hm(A){throw new Error(A)}var JU="line-height:1";function Om(A){var e=A.lineHeight;return e==null?JU:"line-height:"+Vt(e+"")+"px"}function Rm(A,e){var t=A.color||oe.color.tertiary,r=A.fontSize||12,n=A.fontWeight||"400",i=A.color||oe.color.secondary,a=A.fontSize||14,o=A.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+Vt(r+"")+"px;color:"+Vt(t)+";font-weight:"+Vt(n+""),valueStyle:"font-size:"+Vt(a+"")+"px;color:"+Vt(i)+";font-weight:"+Vt(o+"")}:{nameStyle:{fontSize:r,fill:t,fontWeight:n},valueStyle:{fontSize:a,fill:i,fontWeight:o}}}var qU=[0,10,20,30],$U=["",`
36
36
  `,`
37
37
 
38
38
  `,`
39
39
 
40
40
 
41
- `];function Ao(A,e){return e.type=A,e}function tv(A){return A.type==="section"}function Nm(A){return tv(A)?jU:eI}function Pm(A){if(tv(A)){var e=0,t=A.blocks.length,r=t>1||t>0&&!A.noHeader;return b(A.blocks,function(n){var i=Pm(n);i>=e&&(e=i+ +(r&&(!i||tv(n)&&!n.noHeader)))}),e}return 0}function jU(A,e,t,r){var n=e.noHeader,i=tI(Pm(e)),a=[],o=e.blocks||[];fe(!o||ae(o)),o=o||[];var s=A.orderMode;if(e.sortBlocks&&s){o=o.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(mA(l,s)){var u=new HU(l[s],null);o.sort(function(d,g){return u.evaluate(d.sortParam,g.sortParam)})}else s==="seriesDesc"&&o.reverse()}b(o,function(d,g){var p=e.valueFormatter,B=Nm(d)(p?Y(Y({},A),{valueFormatter:p}):A,d,g>0?i.html:0,r);B!=null&&a.push(B)});var f=A.renderMode==="richText"?a.join(i.richText):Av(r,a.join(""),n?t:i.html);if(n)return f;var c=Hh(e.header,"ordinal",A.useUTC),h=Rm(r,A.renderMode).nameStyle,v=Om(r);return A.renderMode==="richText"?Vm(A,c,h)+i.richText+f:Av(r,'<div style="'+h+";"+v+';">'+Vt(c)+"</div>"+f,t)}function eI(A,e,t,r){var n=A.renderMode,i=e.noName,a=e.noValue,o=!e.markerType,s=e.name,l=A.useUTC,u=e.valueFormatter||A.valueFormatter||function(y){return y=ae(y)?y:[y],Be(y,function(_,C){return Hh(_,ae(h)?h[C]:h,l)})};if(!(i&&a)){var f=o?"":A.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||oe.color.secondary,n),c=i?"":Hh(s,"ordinal",l),h=e.valueType,v=a?[]:u(e.value,e.dataIndex),d=!o||!i,g=!o&&i,p=Rm(r,n),B=p.nameStyle,m=p.valueStyle;return n==="richText"?(o?"":f)+(i?"":Vm(A,c,B))+(a?"":nI(A,v,d,g,m)):Av(r,(o?"":f)+(i?"":AI(c,!o,B))+(a?"":rI(v,d,g,m)),t)}}function km(A,e,t,r,n,i){if(A){var a=Nm(A),o={useUTC:n,renderMode:t,orderMode:r,markupStyleCreator:e,valueFormatter:A.valueFormatter};return a(o,A,0,i)}}function tI(A){return{html:qU[A],richText:$U[A]}}function Av(A,e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0",i=Om(A);return'<div style="'+n+";"+i+';">'+e+r+"</div>"}function AI(A,e,t){var r=e?"margin-left:2px":"";return'<span style="'+t+";"+r+'">'+Vt(A)+"</span>"}function rI(A,e,t,r){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return A=ae(A)?A:[A],'<span style="'+i+";"+r+'">'+Be(A,function(a){return Vt(a)}).join("&nbsp;&nbsp;")+"</span>"}function Vm(A,e,t){return A.markupStyleCreator.wrapRichTextStyle(e,t)}function nI(A,e,t,r,n){var i=[n],a=r?10:20;return t&&i.push({padding:[0,0,0,a],align:"right"}),A.markupStyleCreator.wrapRichTextStyle(ae(e)?e.join(" "):e,i)}function iI(A,e){var t=A.getData().getItemVisual(e,"style"),r=t[A.visualDrawType];return Dn(r)}function Km(A,e){var t=A.get("padding");return t??(e==="richText"?[8,10]:10)}var rv=(function(){function A(){this.richTextStyles={},this._nextStyleNameId=Kg()}return A.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},A.prototype.makeTooltipMarker=function(e,t,r){var n=r==="richText"?this._generateStyleName():null,i=OS({color:t,type:e,renderMode:r,markerId:n});return le(i)?i:(process.env.NODE_ENV!=="production"&&fe(n),this.richTextStyles[n]=i.style,i.content)},A.prototype.wrapRichTextStyle=function(e,t){var r={};ae(t)?b(t,function(i){return Y(r,i)}):Y(r,t);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+e+"}"},A})();function aI(A){var e=A.series,t=A.dataIndex,r=A.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),a=i.length,o=e.getRawValue(t),s=ae(o),l=iI(e,t),u,f,c,h;if(a>1||s&&!a){var v=oI(o,e,t,i,l);u=v.inlineValues,f=v.inlineValueTypes,c=v.blocks,h=v.inlineValues[0]}else if(a){var d=n.getDimensionInfo(i[0]);h=u=ki(n,t,i[0]),f=d.type}else h=u=s?o[0]:o;var g=Sc(e),p=g&&e.name||"",B=n.getName(t),m=r?p:B;return Ao("section",{header:p,noHeader:r||!g,sortParam:h,blocks:[Ao("nameValue",{markerType:"item",markerColor:l,name:m,noName:!LA(m),value:u,valueType:f,dataIndex:t})].concat(c||[])})}function oI(A,e,t,r,n){var i=e.getData(),a=ni(A,function(f,c,h){var v=i.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),o=[],s=[],l=[];r.length?b(r,function(f){u(ki(i,t,f),f)}):b(A,u);function u(f,c){var h=i.getDimensionInfo(c);!h||h.otherDims.tooltip===!1||(a?l.push(Ao("nameValue",{markerType:"subItem",markerColor:n,name:h.displayName,value:f,valueType:h.type})):(o.push(f),s.push(h.type)))}return{inlineValues:o,inlineValueTypes:s,blocks:l}}var Hr=ze();function Rl(A,e){return A.getName(e)||A.getId(e)}var sI="__universalTransitionEnabled",JA=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,r,n){this.seriesIndex=this.componentIndex,this.dataTask=eo({count:uI,reset:fI}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Hr(this).sourceManager=new ZU(this);i.prepareSource();var a=this.getInitialData(t,n);zm(a,this),this.dataTask.context.data=a,process.env.NODE_ENV!=="production"&&fe(a,"getInitialData returned invalid data."),Hr(this).dataBeforeProcessed=a,Gm(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Za(this),i=n?Ni(t):{},a=this.subType;Re.hasClass(a)&&(a+="Series"),Oe(t,r.getTheme().get(this.subType)),Oe(t,this.getDefaultOption()),Jg(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Mr(t,i,n)},e.prototype.mergeOption=function(t,r){t=Oe(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Za(this);n&&Mr(this.option,t,n);var i=Hr(this).sourceManager;i.dirty(),i.prepareSource();var a=this.getInitialData(t,r);zm(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Hr(this).dataBeforeProcessed=a,Gm(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(t){if(t&&!Tt(t))for(var r=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Jg(t[n],"label",r)},e.prototype.getInitialData=function(t,r){},e.prototype.appendData=function(t){var r=this.getRawData();r.appendData(t.data)},e.prototype.getData=function(t){var r=nv(this);if(r){var n=r.context.data;return t==null||!n.getLinkedData?n:n.getLinkedData(t)}else return Hr(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var r=nv(this);if(r){var n=r.context;n.outputData=t,r!==this.dataTask&&(n.data=t)}Hr(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return we(t)},e.prototype.getSourceManager=function(){return Hr(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Hr(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.indicesOfNearest=function(t,r,n,i){var a=this.getData(),o=this.coordinateSystem,s=o&&o.getAxis(t);if(!o||!s)return[];var l=s.dataToCoord(n);i==null&&(i=1/0);var u=[],f=1/0,c=-1,h=0;return a.each(r,function(v,d){var g=s.dataToCoord(v),p=l-g,B=Math.abs(p);B<=i&&((B<f||B===f&&p>=0&&c<0)&&(f=B,c=p,h=0),p===c&&(u[h++]=d))}),u.length=h,u},e.prototype.formatTooltip=function(t,r,n){return aI({series:this,dataIndex:t,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(_e.node&&!(t&&t.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,r,n){var i=this.ecModel,a=Gh.prototype.getColorFromPalette.call(this,t,r,n);return a||(a=i.getColorFromPalette(t,r,n)),a},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,r){this._innerSelect(this.getData(r),t)},e.prototype.unselect=function(t,r){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,a=this.getData(r);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var s=t[o],l=Rl(a,s);n[l]=!1,this._selectedDataIndicesMap[l]=-1}}},e.prototype.toggleSelect=function(t,r){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],r)?this.unselect(n,r):this.select(n,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,r=Xe(t),n=[],i=0;i<r.length;i++){var a=t[r[i]];a>=0&&n.push(a)}return n},e.prototype.isSelected=function(t,r){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(r);return(n==="all"||n[Rl(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[sI])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,r){var n,i,a=this.option,o=a.selectedMode,s=r.length;if(!(!o||!s)){if(o==="series")a.selectedMap="all";else if(o==="multiple"){he(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u<s;u++){var f=r[u],c=Rl(t,f);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(f)}}else if(o==="single"||o===!0){var h=r[s-1],c=Rl(t,h);a.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=t.getRawIndex(h),i)}}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var r=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&r.push(n)}),r.length>0&&this._innerSelect(t,r)}},e.registerClass=function(t){return Re.registerClass(t)},e.protoInitialize=(function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"})(),e})(Re);DA(JA,LU),DA(JA,Gh),n0(JA,Re);function Gm(A){var e=A.name;Sc(A)||(A.name=lI(A)||e)}function lI(A){var e=A.getRawData(),t=e.mapDimensionsAll("seriesName"),r=[];return b(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&r.push(i.displayName)}),r.join(" ")}function uI(A){return A.model.getRawData().count()}function fI(A){var e=A.model;return e.setData(e.getRawData().cloneShallow()),cI}function cI(A,e){e.outputData&&A.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function zm(A,e){b(fx(A.CHANGABLE_METHODS,A.DOWNSAMPLE_METHODS),function(t){A.wrapMethod(t,nt(hI,e))})}function hI(A,e){var t=nv(A);return t&&t.setOutputEnd((e||this).count()),e}function nv(A){var e=(A.ecModel||{}).scheduler,t=e&&e.getPipeline(A.uid);if(t){var r=t.currentTask;if(r){var n=r.agentStubMap;n&&(r=n.get(A.uid))}return r}}var xA=(function(){function A(){this.group=new lt,this.uid=Bl("viewComponent")}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){},A.prototype.updateLayout=function(e,t,r,n){},A.prototype.updateVisual=function(e,t,r,n){},A.prototype.toggleBlurSeries=function(e,t,r){},A.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},A})();Tc(xA),Hs(xA);function iv(){var A=ze();return function(e){var t=A(e),r=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,a=t.large=!!(r&&r.large),o=t.progressiveRender=!!(r&&r.progressiveRender);return(n!==a||i!==o)&&"reset"}}var Wm=ze(),vI=iv(),FA=(function(){function A(){this.group=new lt,this.uid=Bl("viewChart"),this.renderTask=eo({plan:dI,reset:pI}),this.renderTask.context={view:this}}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},A.prototype.highlight=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+n.dataType);return}Xm(i,n,"emphasis")},A.prototype.downplay=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+n.dataType);return}Xm(i,n,"normal")},A.prototype.remove=function(e,t){this.group.removeAll()},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateLayout=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateVisual=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.eachRendered=function(e){hl(this.group,e)},A.markUpdateMethod=function(e,t){Wm(e).updateMethod=t},A.protoInitialize=(function(){var e=A.prototype;e.type="chart"})(),A})();function Ym(A,e,t){A&&Si(A)&&(e==="emphasis"?Js:qs)(A,t)}function Xm(A,e,t){var r=pn(A,e),n=e&&e.highlightKey!=null?db(e.highlightKey):null;r!=null?b(Lt(r),function(i){Ym(A.getItemGraphicEl(i),t,n)}):A.eachItemGraphicEl(function(i){Ym(i,t,n)})}Tc(FA,["dispose"]),Hs(FA);function dI(A){return vI(A.model)}function pI(A){var e=A.model,t=A.ecModel,r=A.api,n=A.payload,i=e.pipelineContext.progressiveRender,a=A.view,o=n&&Wm(n).updateMethod,s=i?"incrementalPrepareRender":o&&a[o]?o:"render";return s!=="render"&&a[s](e,t,r,n),gI[s]}var gI={incrementalPrepareRender:{progress:function(A,e){e.view.incrementalRender(A,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(A,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Nl="\0__throttleOriginMethod",Zm="\0__throttleRate",Jm="\0__throttleType";function av(A,e,t){var r,n=0,i=0,a=null,o,s,l,u;e=e||0;function f(){i=new Date().getTime(),a=null,A.apply(s,l||[])}var c=function(){for(var h=[],v=0;v<arguments.length;v++)h[v]=arguments[v];r=new Date().getTime(),s=this,l=h;var d=u||e,g=u||t;u=null,o=r-(g?n:i)-d,clearTimeout(a),g?a=setTimeout(f,d):o>=0?f():a=setTimeout(f,-o),n=r};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.debounceNextCall=function(h){u=h},c}function Pl(A,e,t,r){var n=A[e];if(n){var i=n[Nl]||n,a=n[Jm],o=n[Zm];if(o!==t||a!==r){if(t==null||!r)return A[e]=i;n=A[e]=av(i,t,r==="debounce"),n[Nl]=i,n[Jm]=r,n[Zm]=t}return n}}function kl(A,e){var t=A[e];t&&t[Nl]&&(t.clear&&t.clear(),A[e]=t[Nl])}var qm=ze(),$m={itemStyle:La(TB,!0),lineStyle:La(IB,!0)},BI={lineStyle:"stroke",itemStyle:"fill"};function jm(A,e){var t=A.visualStyleMapper||$m[e];return t||(console.warn("Unknown style type '"+e+"'."),$m.itemStyle)}function ey(A,e){var t=A.visualDrawType||BI[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var mI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=A.getModel(r),i=jm(A,r),a=i(n),o=n.getShallow("decal");o&&(t.setVisual("decal",o),o.dirty=!0);var s=ey(A,r),l=a[s],u=me(l)?l:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[s]||u||f){var c=A.getColorFromPalette(A.name,null,e.getSeriesCount());a[s]||(a[s]=c,t.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||me(a.fill)?c:a.fill,a.stroke=a.stroke==="auto"||me(a.stroke)?c:a.stroke}if(t.setVisual("style",a),t.setVisual("drawType",s),!e.isSeriesFiltered(A)&&u)return t.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var d=A.getDataParams(v),g=Y({},a);g[s]=u(d),h.setItemVisual(v,"style",g)}}}},ro=new et,yI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!(A.ignoreStyleOnData||e.isSeriesFiltered(A))){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=jm(A,r),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(a,o){var s=a.getRawDataItem(o);if(s&&s[r]){ro.option=s[r];var l=n(ro),u=a.ensureUniqueItemVisual(o,"style");Y(u,l),ro.option.decal&&(a.setItemVisual(o,"decal",ro.option.decal),ro.option.decal.dirty=!0),i in l&&a.setItemVisual(o,"colorFromPalette",!1)}}:null}}}},wI={performRawSeries:!0,overallReset:function(A){var e=we();A.eachSeries(function(t){var r=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+r,i=e.get(n);i||(i={},e.set(n,i)),qm(t).scope=i}}),A.eachSeries(function(t){if(!(t.isColorBySeries()||A.isSeriesFiltered(t))){var r=t.getRawData(),n={},i=t.getData(),a=qm(t).scope,o=t.visualStyleAccessPath||"itemStyle",s=ey(t,o);i.each(function(l){var u=i.getRawIndex(l);n[u]=l}),r.each(function(l){var u=n[l],f=i.getItemVisual(u,"colorFromPalette");if(f){var c=i.ensureUniqueItemVisual(u,"style"),h=r.getName(l)||l+"",v=r.count();c[s]=t.getColorFromPalette(h,a,v)}})}})}},Vl=Math.PI;function CI(A,e){e=e||{},Ne(e,{text:"loading",textColor:oe.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:oe.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var t=new lt,r=new qe({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(r);var n=new Ot({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new qe({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var a;return e.showSpinner&&(a=new il({shape:{startAngle:-Vl/2,endAngle:-Vl/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:Vl*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:Vl*3/2}).delay(300).start("circularInOut"),t.add(a)),t.resize=function(){var o=n.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(A.getWidth()-s*2-(e.showSpinner&&o?10:0)-o)/2-(e.showSpinner&&o?0:5+o/2)+(e.showSpinner?0:o/2)+(o?0:s),u=A.getHeight()/2;e.showSpinner&&a.setShape({cx:l,cy:u}),i.setShape({x:l-s,y:u-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:A.getWidth(),height:A.getHeight()})},t.resize(),t}var ty=(function(){function A(e,t,r,n){this._stageTaskMap=we(),this.ecInstance=e,this.api=t,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return A.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(r){var n=r.overallTask;n&&n.dirty()})},A.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),n=r.context,i=!t&&r.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>r.blockIndex,a=i?r.step:null,o=n&&n.modDataCount,s=o!=null?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},A.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},A.prototype.updateStreamModes=function(e,t){var r=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),a=r.progressiveEnabled&&t.incrementalPrepareRender&&i>=r.threshold,o=e.get("large")&&i>=e.get("largeThreshold"),s=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:o}},A.prototype.restorePipelines=function(e){var t=this,r=t._pipelineMap=we();e.eachSeries(function(n){var i=n.getProgressive(),a=n.uid;r.set(a,{id:a,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},A.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),r=this.api;b(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),a="";process.env.NODE_ENV!=="production"&&(a='"reset" and "overallReset" must not be both specified.'),fe(!(n.reset&&n.overallReset),a),n.reset&&this._createSeriesStageTask(n,i,t,r),n.overallReset&&this._createOverallStageTask(n,i,t,r)},this)},A.prototype.prepareView=function(e,t,r,n){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=r,a.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},A.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},A.prototype.performVisualTasks=function(e,t,r){this._performStageTasks(this._visualHandlers,e,t,r)},A.prototype._performStageTasks=function(e,t,r,n){n=n||{};var i=!1,a=this;b(e,function(s,l){if(!(n.visualType&&n.visualType!==s.visualType)){var u=a._stageTaskMap.get(s.uid),f=u.seriesTaskMap,c=u.overallTask;if(c){var h,v=c.agentStubMap;v.each(function(g){o(n,g)&&(g.dirty(),h=!0)}),h&&c.dirty(),a.updatePayload(c,r);var d=a.getPerformArgs(c,n.block);v.each(function(g){g.perform(d)}),c.perform(d)&&(i=!0)}else f&&f.each(function(g,p){o(n,g)&&g.dirty();var B=a.getPerformArgs(g,n.block);B.skip=!s.performRawSeries&&t.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(B)&&(i=!0)})}});function o(s,l){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(l.__pipeline.id))}this.unfinished=i||this.unfinished},A.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(r){t=r.dataTask.perform()||t}),this.unfinished=t||this.unfinished},A.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)})},A.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},A.prototype._createSeriesStageTask=function(e,t,r,n){var i=this,a=t.seriesTaskMap,o=t.seriesTaskMap=we(),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u);function u(f){var c=f.uid,h=o.set(c,a&&a.get(c)||eo({plan:EI,reset:bI,count:UI}));h.context={model:f,ecModel:r,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(f,h)}},A.prototype._createOverallStageTask=function(e,t,r,n){var i=this,a=t.overallTask=t.overallTask||eo({reset:_I});a.context={ecModel:r,api:n,overallReset:e.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=we(),l=e.seriesType,u=e.getTargetSeries,f=!0,c=!1,h="";process.env.NODE_ENV!=="production"&&(h='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),fe(!e.createOnAllSeries,h),l?r.eachRawSeriesByType(l,v):u?u(r,n).each(v):(f=!1,b(r.getSeries(),v));function v(d){var g=d.uid,p=s.set(g,o&&o.get(g)||(c=!0,eo({reset:QI,onDirty:FI})));p.context={model:d,overallProgress:f},p.agent=a,p.__block=f,i._pipe(d,p)}c&&a.dirty()},A.prototype._pipe=function(e,t){var r=e.uid,n=this._pipelineMap.get(r);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},A.wrapStageHandler=function(e,t){return me(e)&&(e={overallReset:e,seriesType:II(e)}),e.uid=Bl("stageHandler"),t&&(e.visualType=t),e},A})();function _I(A){A.overallReset(A.ecModel,A.api,A.payload)}function QI(A){return A.overallProgress&&xI}function xI(){this.agent.dirty(),this.getDownstream().dirty()}function FI(){this.agent&&this.agent.dirty()}function EI(A){return A.plan?A.plan(A.model,A.ecModel,A.api,A.payload):null}function bI(A){A.useClearVisual&&A.data.clearAllVisual();var e=A.resetDefines=Lt(A.reset(A.model,A.ecModel,A.api,A.payload));return e.length>1?Be(e,function(t,r){return Ay(r)}):SI}var SI=Ay(0);function Ay(A){return function(e,t){var r=t.data,n=t.resetDefines[A];if(n&&n.dataEach)for(var i=e.start;i<e.end;i++)n.dataEach(r,i);else n&&n.progress&&n.progress(e,r)}}function UI(A){return A.data.count()}function II(A){Kl=null;try{A(no,ry)}catch{}return Kl}var no={},ry={},Kl;ny(no,Wh),ny(ry,sm),no.eachSeriesByType=no.eachRawSeriesByType=function(A){Kl=A},no.eachComponent=function(A){A.mainType==="series"&&A.subType&&(Kl=A.subType)};function ny(A,e){for(var t in e.prototype)A[t]=Dt}var $=oe.darkColor,TI=$.background,io=function(){return{axisLine:{lineStyle:{color:$.axisLine}},splitLine:{lineStyle:{color:$.axisSplitLine}},splitArea:{areaStyle:{color:[$.backgroundTint,$.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:$.axisMinorSplitLine}},axisLabel:{color:$.axisLabel},axisName:{}}},iy={label:{color:$.secondary},itemStyle:{borderColor:$.borderTint},dividerLineStyle:{color:$.border}},ay={darkMode:!0,color:$.theme,backgroundColor:TI,axisPointer:{lineStyle:{color:$.border},crossStyle:{color:$.borderShade},label:{color:$.tertiary}},legend:{textStyle:{color:$.secondary},pageTextStyle:{color:$.tertiary}},textStyle:{color:$.secondary},title:{textStyle:{color:$.primary},subtextStyle:{color:$.quaternary}},toolbox:{iconStyle:{borderColor:$.accent50}},tooltip:{backgroundColor:$.neutral20,defaultBorderColor:$.border,textStyle:{color:$.tertiary}},dataZoom:{borderColor:$.accent10,textStyle:{color:$.tertiary},brushStyle:{color:$.backgroundTint},handleStyle:{color:$.neutral00,borderColor:$.accent20},moveHandleStyle:{color:$.accent40},emphasis:{handleStyle:{borderColor:$.accent50}},dataBackground:{lineStyle:{color:$.accent30},areaStyle:{color:$.accent20}},selectedDataBackground:{lineStyle:{color:$.accent50},areaStyle:{color:$.accent30}}},visualMap:{textStyle:{color:$.secondary},handleStyle:{borderColor:$.neutral30}},timeline:{lineStyle:{color:$.accent10},label:{color:$.tertiary},controlStyle:{color:$.accent30,borderColor:$.accent30}},calendar:{itemStyle:{color:$.neutral00,borderColor:$.neutral20},dayLabel:{color:$.tertiary},monthLabel:{color:$.secondary},yearLabel:{color:$.secondary}},matrix:{x:iy,y:iy,backgroundColor:{borderColor:$.axisLine},body:{itemStyle:{borderColor:$.borderTint}}},timeAxis:io(),logAxis:io(),valueAxis:io(),categoryAxis:io(),line:{symbol:"circle"},graph:{color:$.theme},gauge:{title:{color:$.secondary},axisLine:{lineStyle:{color:[[1,$.neutral05]]}},axisLabel:{color:$.axisLabel},detail:{color:$.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:$.background}},radar:(function(){var A=io();return A.axisName={color:$.axisLabel},A.axisLine.lineStyle.color=$.neutral20,A})(),treemap:{breadcrumb:{itemStyle:{color:$.neutral20,textStyle:{color:$.secondary}},emphasis:{itemStyle:{color:$.neutral30}}}},sunburst:{itemStyle:{borderColor:$.background}},map:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},label:{color:$.tertiary},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}}},geo:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{color:$.highlight}}}};ay.categoryAxis.splitLine.show=!1;var DI=(function(){function A(){}return A.prototype.normalizeQuery=function(e){var t={},r={},n={};if(le(e)){var i=VA(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};b(e,function(s,l){for(var u=!1,f=0;f<a.length;f++){var c=a[f],h=l.lastIndexOf(c);if(h>0&&h===l.length-c.length){var v=l.slice(0,h);v!=="data"&&(t.mainType=v,t[c.toLowerCase()]=s,u=!0)}}o.hasOwnProperty(l)&&(r[l]=s,u=!0),u||(n[l]=s)})}return{cptQuery:t,dataQuery:r,otherQuery:n}},A.prototype.filter=function(e,t){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,a=r.model,o=r.view;if(!a||!o)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,n,i));function u(f,c,h,v){return f[h]==null||c[v||h]===f[h]}},A.prototype.afterTrigger=function(){this.eventInfo=null},A})(),ov=["symbol","symbolSize","symbolRotate","symbolOffset"],oy=ov.concat(["symbolKeepAspect"]),LI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData();if(A.legendIcon&&t.setVisual("legendIcon",A.legendIcon),!A.hasSymbolVisual)return;for(var r={},n={},i=!1,a=0;a<ov.length;a++){var o=ov[a],s=A.get(o);me(s)?(i=!0,n[o]=s):r[o]=s}if(r.symbol=r.symbol||A.defaultSymbol,t.setVisual(Y({legendIcon:A.legendIcon||r.symbol,symbolKeepAspect:A.get("symbolKeepAspect")},r)),e.isSeriesFiltered(A))return;var l=Xe(n);function u(f,c){for(var h=A.getRawValue(c),v=A.getDataParams(c),d=0;d<l.length;d++){var g=l[d];f.setItemVisual(c,g,n[g](h,v))}}return{dataEach:i?u:null}}},MI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!A.hasSymbolVisual||e.isSeriesFiltered(A))return;var t=A.getData();function r(n,i){for(var a=n.getItemModel(i),o=0;o<oy.length;o++){var s=oy[o],l=a.getShallow(s,!0);l!=null&&n.setItemVisual(i,s,l)}}return{dataEach:t.hasItemOption?r:null}}};function HI(A,e,t){switch(t){case"color":var r=A.getItemVisual(e,"style");return r[A.getVisual("drawType")];case"opacity":return A.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getItemVisual(e,t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function OI(A,e){switch(e){case"color":var t=A.getVisual("style");return t[A.getVisual("drawType")];case"opacity":return A.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Gi(A,e,t,r,n){var i=A+e;t.isSilent(i)||(process.env.NODE_ENV!=="production"&&PA("event "+i+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var o=a.seriesIndex,s=a.option.selectedMap,l=n.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===o){var f=a.getData(),c=pn(f,n.fromActionPayload);t.trigger(i,{type:i,seriesId:a.id,name:ae(c)?f.getName(c[0]):f.getName(c),selected:le(s)?s:Y({},s)})}}))}function RI(A,e,t){A.on("selectchanged",function(r){var n=t.getModel();r.isFromClick?(Gi("map","selectchanged",e,n,r),Gi("pie","selectchanged",e,n,r)):r.fromAction==="select"?(Gi("map","selected",e,n,r),Gi("pie","selected",e,n,r)):r.fromAction==="unselect"&&(Gi("map","unselected",e,n,r),Gi("pie","unselected",e,n,r))})}function ao(A,e,t){for(var r;A&&!(e(A)&&(r=A,t));)A=A.__hostTarget||A.parent;return r}var NI=Math.round(Math.random()*9),PI=typeof Object.defineProperty=="function",kI=(function(){function A(){this._id="__ec_inner_"+NI++}return A.prototype.get=function(e){return this._guard(e)[this._id]},A.prototype.set=function(e,t){var r=this._guard(e);return PI?Object.defineProperty(r,this._id,{value:t,enumerable:!1,configurable:!0}):r[this._id]=t,this},A.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},A.prototype.has=function(e){return!!this._guard(e)[this._id]},A.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},A})(),VI=ke.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r+i),A.lineTo(t-n,r+i),A.closePath()}}),KI=ke.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r),A.lineTo(t,r+i),A.lineTo(t-n,r),A.closePath()}}),GI=ke.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.x,r=e.y,n=e.width/5*3,i=Math.max(n,e.height),a=n/2,o=a*a/(i-a),s=r-i+a+o,l=Math.asin(o/a),u=Math.cos(l)*a,f=Math.sin(l),c=Math.cos(l),h=a*.6,v=a*.7;A.moveTo(t-u,s+o),A.arc(t,s,a,Math.PI-l,Math.PI*2+l),A.bezierCurveTo(t+u-f*h,s+o+c*h,t,r-v,t,r),A.bezierCurveTo(t,r-v,t-u+f*h,s+o+c*h,t-u,s+o),A.closePath()}}),zI=ke.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.height,r=e.width,n=e.x,i=e.y,a=r/3*2;A.moveTo(n,i),A.lineTo(n+a,i+t),A.lineTo(n,i+t/4*3),A.lineTo(n-a,i+t),A.lineTo(n,i),A.closePath()}}),WI={line:Tr,rect:qe,roundRect:qe,square:qe,circle:Al,diamond:KI,pin:GI,arrow:zI,triangle:VI},YI={line:function(A,e,t,r,n){n.x1=A,n.y1=e+r/2,n.x2=A+t,n.y2=e+r/2},rect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r},roundRect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r,n.r=Math.min(t,r)/4},square:function(A,e,t,r,n){var i=Math.min(t,r);n.x=A,n.y=e,n.width=i,n.height=i},circle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.r=Math.min(t,r)/2},diamond:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r},pin:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},arrow:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},triangle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r}},Gl={};b(WI,function(A,e){Gl[e]=new A});var XI=ke.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(A,e,t){var r=bs(A,e,t),n=this.shape;return n&&n.symbolType==="pin"&&e.position==="inside"&&(r.y=t.y+t.height*.4),r},buildPath:function(A,e,t){var r=e.symbolType;if(r!=="none"){var n=Gl[r];n||(r="rect",n=Gl[r]),YI[r](e.x,e.y,e.width,e.height,n.shape),n.buildPath(A,n.shape,t)}}});function ZI(A,e){if(this.type!=="image"){var t=this.style;this.__isEmptyBrush?(t.stroke=A,t.fill=e||oe.color.neutral00,t.lineWidth=2):this.shape.symbolType==="line"?t.stroke=A:t.fill=A,this.markRedraw()}}function Or(A,e,t,r,n,i,a){var o=A.indexOf("empty")===0;o&&(A=A.substr(5,1).toLowerCase()+A.substr(6));var s;return A.indexOf("image://")===0?s=vB(A.slice(8),new Fe(e,t,r,n),a?"center":"cover"):A.indexOf("path://")===0?s=ph(A.slice(7),{},new Fe(e,t,r,n),a?"center":"cover"):s=new XI({shape:{symbolType:A,x:e,y:t,width:r,height:n}}),s.__isEmptyBrush=o,s.setColor=ZI,i&&s.setColor(i),s}function JI(A){return ae(A)||(A=[+A,+A]),[A[0]||0,A[1]||0]}function sy(A,e){if(A!=null)return ae(A)||(A=[A,A]),[ht(A[0],e[0])||0,ht(ve(A[1],A[0]),e[1])||0]}function Pn(A){return isFinite(A)}function qI(A,e,t){var r=e.x==null?0:e.x,n=e.x2==null?1:e.x2,i=e.y==null?0:e.y,a=e.y2==null?0:e.y2;e.global||(r=r*t.width+t.x,n=n*t.width+t.x,i=i*t.height+t.y,a=a*t.height+t.y),r=Pn(r)?r:0,n=Pn(n)?n:1,i=Pn(i)?i:0,a=Pn(a)?a:0;var o=A.createLinearGradient(r,i,n,a);return o}function $I(A,e,t){var r=t.width,n=t.height,i=Math.min(r,n),a=e.x==null?.5:e.x,o=e.y==null?.5:e.y,s=e.r==null?.5:e.r;e.global||(a=a*r+t.x,o=o*n+t.y,s=s*i),a=Pn(a)?a:.5,o=Pn(o)?o:.5,s=s>=0&&Pn(s)?s:.5;var l=A.createRadialGradient(a,o,0,a,o,s);return l}function sv(A,e,t){for(var r=e.type==="radial"?$I(A,e,t):qI(A,e,t),n=e.colorStops,i=0;i<n.length;i++)r.addColorStop(n[i].offset,n[i].color);return r}function jI(A,e){if(A===e||!A&&!e)return!1;if(!A||!e||A.length!==e.length)return!0;for(var t=0;t<A.length;t++)if(A[t]!==e[t])return!0;return!1}function zl(A){return parseInt(A,10)}function Wl(A,e,t){var r=["width","height"][e],n=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(t[r]!=null&&t[r]!=="auto")return parseFloat(t[r]);var o=document.defaultView.getComputedStyle(A);return(A[n]||zl(o[r])||zl(A.style[r]))-(zl(o[i])||0)-(zl(o[a])||0)|0}function eT(A,e){return!A||A==="solid"||!(e>0)?null:A==="dashed"?[4*e,2*e]:A==="dotted"?[e]:Ye(A)?[A]:ae(A)?A:null}function ly(A){var e=A.style,t=e.lineDash&&e.lineWidth>0&&eT(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(t){var n=e.strokeNoScale&&A.getLineScale?A.getLineScale():1;n&&n!==1&&(t=Be(t,function(i){return i/n}),r/=n)}return[t,r]}var tT=new Sr(!0);function Yl(A){var e=A.stroke;return!(e==null||e==="none"||!(A.lineWidth>0))}function uy(A){return typeof A=="string"&&A!=="none"}function Xl(A){var e=A.fill;return e!=null&&e!=="none"}function fy(A,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.fillOpacity*e.opacity,A.fill(),A.globalAlpha=t}else A.fill()}function cy(A,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.strokeOpacity*e.opacity,A.stroke(),A.globalAlpha=t}else A.stroke()}function lv(A,e,t){var r=i0(e.image,e.__image,t);if(Os(r)){var n=A.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*cx),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function AT(A,e,t,r){var n,i=Yl(t),a=Xl(t),o=t.strokePercent,s=o<1,l=!e.path;(!e.silent||s)&&l&&e.createPathProxy();var u=e.path||tT,f=e.__dirty;if(!r){var c=t.fill,h=t.stroke,v=a&&!!c.colorStops,d=i&&!!h.colorStops,g=a&&!!c.image,p=i&&!!h.image,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0;(v||d)&&(C=e.getBoundingRect()),v&&(B=f?sv(A,c,C):e.__canvasFillGradient,e.__canvasFillGradient=B),d&&(m=f?sv(A,h,C):e.__canvasStrokeGradient,e.__canvasStrokeGradient=m),g&&(y=f||!e.__canvasFillPattern?lv(A,c,e):e.__canvasFillPattern,e.__canvasFillPattern=y),p&&(_=f||!e.__canvasStrokePattern?lv(A,h,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),v?A.fillStyle=B:g&&(y?A.fillStyle=y:a=!1),d?A.strokeStyle=m:p&&(_?A.strokeStyle=_:i=!1)}var Q=e.getGlobalScale();u.setScale(Q[0],Q[1],e.segmentIgnoreThreshold);var x,F;A.setLineDash&&t.lineDash&&(n=ly(e),x=n[0],F=n[1]);var S=!0;(l||f&pi)&&(u.setDPR(A.dpr),s?u.setContext(null):(u.setContext(A),S=!1),u.reset(),e.buildPath(u,e.shape,r),u.toStatic(),e.pathUpdated()),S&&u.rebuildPath(A,s?o:1),x&&(A.setLineDash(x),A.lineDashOffset=F),r||(t.strokeFirst?(i&&cy(A,t),a&&fy(A,t)):(a&&fy(A,t),i&&cy(A,t))),x&&A.setLineDash([])}function rT(A,e,t){var r=e.__image=i0(t.image,e.__image,e,e.onload);if(!(!r||!Os(r))){var n=t.x||0,i=t.y||0,a=e.getWidth(),o=e.getHeight(),s=r.width/r.height;if(a==null&&o!=null?a=o*s:o==null&&a!=null?o=a/s:a==null&&o==null&&(a=r.width,o=r.height),t.sWidth&&t.sHeight){var l=t.sx||0,u=t.sy||0;A.drawImage(r,l,u,t.sWidth,t.sHeight,n,i,a,o)}else if(t.sx&&t.sy){var l=t.sx,u=t.sy,f=a-l,c=o-u;A.drawImage(r,l,u,f,c,n,i,a,o)}else A.drawImage(r,n,i,a,o)}}function nT(A,e,t){var r,n=t.text;if(n!=null&&(n+=""),n){A.font=t.font||wr,A.textAlign=t.textAlign,A.textBaseline=t.textBaseline;var i=void 0,a=void 0;A.setLineDash&&t.lineDash&&(r=ly(e),i=r[0],a=r[1]),i&&(A.setLineDash(i),A.lineDashOffset=a),t.strokeFirst?(Yl(t)&&A.strokeText(n,t.x,t.y),Xl(t)&&A.fillText(n,t.x,t.y)):(Xl(t)&&A.fillText(n,t.x,t.y),Yl(t)&&A.strokeText(n,t.x,t.y)),i&&A.setLineDash([])}}var hy=["shadowBlur","shadowOffsetX","shadowOffsetY"],vy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function dy(A,e,t,r,n){var i=!1;if(!r&&(t=t||{},e===t))return!1;if(r||e.opacity!==t.opacity){zt(A,n),i=!0;var a=Math.max(Math.min(e.opacity,1),0);A.globalAlpha=isNaN(a)?Bn.opacity:a}(r||e.blend!==t.blend)&&(i||(zt(A,n),i=!0),A.globalCompositeOperation=e.blend||Bn.blend);for(var o=0;o<hy.length;o++){var s=hy[o];(r||e[s]!==t[s])&&(i||(zt(A,n),i=!0),A[s]=A.dpr*(e[s]||0))}return(r||e.shadowColor!==t.shadowColor)&&(i||(zt(A,n),i=!0),A.shadowColor=e.shadowColor||Bn.shadowColor),i}function py(A,e,t,r,n){var i=oo(e,n.inHover),a=r?null:t&&oo(t,n.inHover)||{};if(i===a)return!1;var o=dy(A,i,a,r,n);if((r||i.fill!==a.fill)&&(o||(zt(A,n),o=!0),uy(i.fill)&&(A.fillStyle=i.fill)),(r||i.stroke!==a.stroke)&&(o||(zt(A,n),o=!0),uy(i.stroke)&&(A.strokeStyle=i.stroke)),(r||i.opacity!==a.opacity)&&(o||(zt(A,n),o=!0),A.globalAlpha=i.opacity==null?1:i.opacity),e.hasStroke()){var s=i.lineWidth,l=s/(i.strokeNoScale&&e.getLineScale?e.getLineScale():1);A.lineWidth!==l&&(o||(zt(A,n),o=!0),A.lineWidth=l)}for(var u=0;u<vy.length;u++){var f=vy[u],c=f[0];(r||i[c]!==a[c])&&(o||(zt(A,n),o=!0),A[c]=i[c]||f[1])}return o}function iT(A,e,t,r,n){return dy(A,oo(e,n.inHover),t&&oo(t,n.inHover),r,n)}function gy(A,e){var t=e.transform,r=A.dpr||1;t?A.setTransform(r*t[0],r*t[1],r*t[2],r*t[3],r*t[4],r*t[5]):A.setTransform(r,0,0,r,0,0)}function aT(A,e,t){for(var r=!1,n=0;n<A.length;n++){var i=A[n];r=r||i.isZeroArea(),gy(e,i),e.beginPath(),i.buildPath(e,i.shape),e.clip()}t.allClipped=r}function oT(A,e){return A&&e?A[0]!==e[0]||A[1]!==e[1]||A[2]!==e[2]||A[3]!==e[3]||A[4]!==e[4]||A[5]!==e[5]:!(!A&&!e)}var By=1,my=2,yy=3,wy=4;function sT(A){var e=Xl(A),t=Yl(A);return!(A.lineDash||!(+e^+t)||e&&typeof A.fill!="string"||t&&typeof A.stroke!="string"||A.strokePercent<1||A.strokeOpacity<1||A.fillOpacity<1)}function zt(A,e){e.batchFill&&A.fill(),e.batchStroke&&A.stroke(),e.batchFill="",e.batchStroke=""}function oo(A,e){return e&&A.__hoverStyle||A.style}function Cy(A,e){kn(A,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function kn(A,e,t,r){var n=e.transform;if(!e.shouldBePainted(t.viewWidth,t.viewHeight,!1,!1)){e.__dirty&=~Zt,e.__isRendered=!1;return}var i=e.__clipPaths,a=t.prevElClipPaths,o=!1,s=!1;if((!a||jI(i,a))&&(a&&a.length&&(zt(A,t),A.restore(),s=o=!0,t.prevElClipPaths=null,t.allClipped=!1,t.prevEl=null),i&&i.length&&(zt(A,t),A.save(),aT(i,A,t),o=!0),t.prevElClipPaths=i),t.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var l=t.prevEl;l||(s=o=!0);var u=e instanceof ke&&e.autoBatch&&sT(e.style);o||oT(n,l.transform)?(zt(A,t),gy(A,e)):u||zt(A,t);var f=oo(e,t.inHover);e instanceof ke?(t.lastDrawType!==By&&(s=!0,t.lastDrawType=By),py(A,e,l,s,t),(!u||!t.batchFill&&!t.batchStroke)&&A.beginPath(),AT(A,e,f,u),u&&(t.batchFill=f.fill||"",t.batchStroke=f.stroke||"")):e instanceof Vs?(t.lastDrawType!==yy&&(s=!0,t.lastDrawType=yy),py(A,e,l,s,t),nT(A,e,f)):e instanceof Ir?(t.lastDrawType!==my&&(s=!0,t.lastDrawType=my),iT(A,e,l,s,t),rT(A,e,f)):e.getTemporalDisplayables&&(t.lastDrawType!==wy&&(s=!0,t.lastDrawType=wy),lT(A,e,t)),u&&r&&zt(A,t),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),t.prevEl=e,e.__dirty=0,e.__isRendered=!0}function lT(A,e,t){var r=e.getDisplayables(),n=e.getTemporalDisplayables();A.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:t.viewWidth,viewHeight:t.viewHeight,inHover:t.inHover},a,o;for(a=e.getCursor(),o=r.length;a<o;a++){var s=r[a];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),kn(A,s,i,a===o-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}for(var l=0,u=n.length;l<u;l++){var s=n[l];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),kn(A,s,i,l===u-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}e.clearTemporalDisplayables(),e.notClear=!0,A.restore()}var uv=new kI,_y=new Bi(100),Qy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function fv(A,e){if(A==="none")return null;var t=e.getDevicePixelRatio(),r=e.getZr(),n=r.painter.type==="svg";A.dirty&&uv.delete(A);var i=uv.get(A);if(i)return i;var a=Ne(A,{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});a.backgroundColor==="none"&&(a.backgroundColor=null);var o={repeat:"repeat"};return s(o),o.rotation=a.rotation,o.scaleX=o.scaleY=n?1:1/t,uv.set(A,o),A.dirty=!1,o;function s(l){for(var u=[t],f=!0,c=0;c<Qy.length;++c){var h=a[Qy[c]];if(h!=null&&!ae(h)&&!le(h)&&!Ye(h)&&typeof h!="boolean"){f=!1;break}u.push(h)}var v;if(f){v=u.join(",")+(n?"-svg":"");var d=_y.get(v);d&&(n?l.svgElement=d:l.image=d)}var g=Fy(a.dashArrayX),p=uT(a.dashArrayY),B=xy(a.symbol),m=fT(g),y=Ey(p),_=!n&&rr.createCanvas(),C=n&&{tag:"g",attrs:{},key:"dcl",children:[]},Q=F(),x;_&&(_.width=Q.width*t,_.height=Q.height*t,x=_.getContext("2d")),S(),f&&_y.put(v,_||C),l.image=_,l.svgElement=C,l.svgWidth=Q.width,l.svgHeight=Q.height;function F(){for(var E=1,I=0,U=m.length;I<U;++I)E=zg(E,m[I]);for(var T=1,I=0,U=B.length;I<U;++I)T=zg(T,B[I].length);E*=T;var L=y*m.length*B.length;if(process.env.NODE_ENV!=="production"){var P=function(Z){console.warn("Calculated decal size is greater than "+Z+" due to decal option settings so "+Z+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Z+" to be larger to avoid incontinuity.")};E>a.maxTileWidth&&P("maxTileWidth"),L>a.maxTileHeight&&P("maxTileHeight")}return{width:Math.max(1,Math.min(E,a.maxTileWidth)),height:Math.max(1,Math.min(L,a.maxTileHeight))}}function S(){x&&(x.clearRect(0,0,_.width,_.height),a.backgroundColor&&(x.fillStyle=a.backgroundColor,x.fillRect(0,0,_.width,_.height)));for(var E=0,I=0;I<p.length;++I)E+=p[I];if(E<=0)return;for(var U=-y,T=0,L=0,P=0;U<Q.height;){if(T%2===0){for(var Z=L/2%B.length,V=0,X=0,ee=0;V<Q.width*2;){for(var te=0,I=0;I<g[P].length;++I)te+=g[P][I];if(te<=0)break;if(X%2===0){var D=(1-a.symbolSize)*.5,M=V+g[P][X]*D,H=U+p[T]*D,K=g[P][X]*a.symbolSize,N=p[T]*a.symbolSize,ue=ee/2%B[Z].length;ie(M,H,K,N,B[Z][ue])}V+=g[P][X],++ee,++X,X===g[P].length&&(X=0)}++P,P===g.length&&(P=0)}U+=p[T],++L,++T,T===p.length&&(T=0)}function ie(Se,He,G,de,De){var st=n?1:t,tr=Or(De,Se*st,He*st,G*st,de*st,a.color,a.symbolKeepAspect);if(n){var nn=r.painter.renderOneToVNode(tr);nn&&C.children.push(nn)}else Cy(x,tr)}}}}function xy(A){if(!A||A.length===0)return[["rect"]];if(le(A))return[[A]];for(var e=!0,t=0;t<A.length;++t)if(!le(A[t])){e=!1;break}if(e)return xy([A]);for(var r=[],t=0;t<A.length;++t)le(A[t])?r.push([A[t]]):r.push(A[t]);return r}function Fy(A){if(!A||A.length===0)return[[0,0]];if(Ye(A)){var e=Math.ceil(A);return[[e,e]]}for(var t=!0,r=0;r<A.length;++r)if(!Ye(A[r])){t=!1;break}if(t)return Fy([A]);for(var n=[],r=0;r<A.length;++r)if(Ye(A[r])){var e=Math.ceil(A[r]);n.push([e,e])}else{var e=Be(A[r],function(o){return Math.ceil(o)});e.length%2===1?n.push(e.concat(e)):n.push(e)}return n}function uT(A){if(!A||typeof A=="object"&&A.length===0)return[0,0];if(Ye(A)){var e=Math.ceil(A);return[e,e]}var t=Be(A,function(r){return Math.ceil(r)});return A.length%2?t.concat(t):t}function fT(A){return Be(A,function(e){return Ey(e)})}function Ey(A){for(var e=0,t=0;t<A.length;++t)e+=A[t];return A.length%2===1?e*2:e}function cT(A,e){A.eachRawSeries(function(t){if(!A.isSeriesFiltered(t)){var r=t.getData();r.hasItemVisual()&&r.each(function(a){var o=r.getItemVisual(a,"decal");if(o){var s=r.ensureUniqueItemVisual(a,"style");s.decal=fv(o,e)}});var n=r.getVisual("decal");if(n){var i=r.getVisual("style");i.decal=fv(n,e)}}})}var EA=new yA,Zl={};function hT(A,e){process.env.NODE_ENV!=="production"&&Zl[A]&&Ge("Already has an implementation of "+A+"."),Zl[A]=e}function vT(A){return process.env.NODE_ENV!=="production"&&(Zl[A]||Ge("Implementation of "+A+" doesn't exists.")),Zl[A]}var dT=1,pT=800,gT=900,BT=1e3,mT=2e3,yT=5e3,by=1e3,wT=1100,cv=2e3,Sy=3e3,CT=4e3,Jl=4500,_T=4600,QT=5e3,xT=6e3,Uy=7e3,FT={PROCESSOR:{FILTER:BT,SERIES_FILTER:pT,STATISTIC:yT},VISUAL:{LAYOUT:by,PROGRESSIVE_LAYOUT:wT,GLOBAL:cv,CHART:Sy,POST_CHART_LAYOUT:_T,COMPONENT:CT,BRUSH:QT,CHART_ITEM:Jl,ARIA:xT,DECAL:Uy}},ut="__flagInMainProcess",ql="__mainProcessVersion",Bt="__pendingUpdate",hv="__needsUpdateStatus",Iy=/^[a-zA-Z0-9_]+$/,vv="__connectUpdateStatus",Ty=0,ET=1,bT=2;function Dy(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this.isDisposed()){Wt(this.id);return}return My(this,A,e)}}function Ly(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return My(this,A,e)}}function My(A,e,t){return t[0]=t[0]&&t[0].toLowerCase(),yA.prototype[e].apply(A,t)}var Hy=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(yA),Oy=Hy.prototype;Oy.on=Ly("on"),Oy.off=Ly("off");var Vn,dv,$l,hr,jl,pv,gv,zi,Wi,Ry,Ny,Bv,Py,eu,ky,Vy,hA,Ky,Yi,Gy=(function(A){J(e,A);function e(t,r,n){var i=A.call(this,new DI)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},i._dom=t;var a="canvas",o="auto",s=!1;if(i[ql]=1,process.env.NODE_ENV!=="production"){var l=_e.hasGlobalWindow?window:global;l&&(a=ve(l.__ECHARTS__DEFAULT__RENDERER__,a),o=ve(l.__ECHARTS__DEFAULT__COARSE_POINTER,o),s=ve(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,s))}n.ssr;var u=i._zr=Hg(t,{renderer:n.renderer||a,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:ve(n.useDirtyRect,s),useCoarsePointer:ve(n.useCoarsePointer,o),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=av(ye(u.flush,u),17),i._updateTheme(r),i._locale=QS(n.locale||DB),i._coordSysMgr=new Nh;var f=i._api=ky(i);function c(h,v){return h.__prio-v.__prio}return as(ru,c),as(wv,c),i._scheduler=new ty(i,f,wv,ru),i._messageCenter=new Hy,i._initEvents(),i.resize=ye(i.resize,i),u.animation.on("frame",i._onframe,i),Ry(u,i),Ny(u,i),Tf(i),i}return e.prototype._onframe=function(){if(!this._disposed){Ky(this);var t=this._scheduler;if(this[Bt]){var r=this[Bt].silent;this[ut]=!0,Yi(this);try{Vn(this),hr.update.call(this,null,this[Bt].updateParams)}catch(s){throw this[ut]=!1,this[Bt]=null,s}this._zr.flush(),this[ut]=!1,this[Bt]=null,zi.call(this,r),Wi.call(this,r)}else if(t.unfinished){var n=dT,i=this._model,a=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),pv(this,i),t.performVisualTasks(i),eu(this,this._model,a,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,r,n){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`setOption` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}var i,a,o;if(he(r)&&(n=r.lazyUpdate,i=r.silent,a=r.replaceMerge,o=r.transition,r=r.notMerge),this[ut]=!0,Yi(this),!this._model||r){var s=new cU(this._api),l=this._theme,u=this._model=new Wh;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:a},Cv);var f={seriesTransition:o,optionChanged:!0};if(n)this[Bt]={silent:i,updateParams:f},this[ut]=!1,this.getZr().wakeUp();else{try{Vn(this),hr.update.call(this,null,f)}catch(c){throw this[Bt]=null,this[ut]=!1,c}this._ssr||this._zr.flush(),this[Bt]=null,this[ut]=!1,zi.call(this,i),Wi.call(this,i)}},e.prototype.setTheme=function(t,r){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`setTheme` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}var n=this._model;if(n){var i=r&&r.silent,a=null;this[Bt]&&(i==null&&(i=this[Bt].silent),a=this[Bt].updateParams,this[Bt]=null),this[ut]=!0,Yi(this);try{this._updateTheme(t),n.setTheme(this._theme),Vn(this),hr.update.call(this,{type:"setTheme"},a)}catch(o){throw this[ut]=!1,o}this[ut]=!1,zi.call(this,i),Wi.call(this,i)}},e.prototype._updateTheme=function(t){le(t)&&(t=zy[t]),t&&(t=Ue(t),t&&dm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||_e.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return process.env.NODE_ENV!=="production"&&pt("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,r=t.storage.getDisplayList();return b(r,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed){Wt(this.id);return}t=t||{};var r=t.excludeComponents,n=this._model,i=[],a=this;b(r,function(s){n.eachComponent({mainType:s},function(l){var u=a._componentsMap[l.__viewId];u.group.ignore||(i.push(u),u.group.ignore=!0)})});var o=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return b(i,function(s){s.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){Wt(this.id);return}var r=t.type==="svg",n=this.group,i=Math.min,a=Math.max,o=1/0;if(Wy[n]){var s=o,l=o,u=-o,f=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();b(so,function(m,y){if(m.group===n){var _=r?m.getZr().painter.getSvgDom().innerHTML:m.renderToCanvas(Ue(t)),C=m.getDom().getBoundingClientRect();s=i(C.left,s),l=i(C.top,l),u=a(C.right,u),f=a(C.bottom,f),c.push({dom:_,left:C.left,top:C.top})}}),s*=h,l*=h,u*=h,f*=h;var v=u-s,d=f-l,g=rr.createCanvas(),p=Hg(g,{renderer:r?"svg":"canvas"});if(p.resize({width:v,height:d}),r){var B="";return b(c,function(m){var y=m.left-s,_=m.top-l;B+='<g transform="translate('+y+","+_+')">'+m.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=B,t.connectedBackgroundColor&&p.painter.setBackgroundColor(t.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return t.connectedBackgroundColor&&p.add(new qe({shape:{x:0,y:0,width:v,height:d},style:{fill:t.connectedBackgroundColor}})),b(c,function(m){var y=new Ir({style:{x:m.left*h-s,y:m.top*h-l,image:m.dom}});p.add(y)}),p.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,r,n){return jl(this,"convertToPixel",t,r,n)},e.prototype.convertToLayout=function(t,r,n){return jl(this,"convertToLayout",t,r,n)},e.prototype.convertFromPixel=function(t,r,n){return jl(this,"convertFromPixel",t,r,n)},e.prototype.containPixel=function(t,r){if(this._disposed){Wt(this.id);return}var n=this._model,i,a=Uc(n,t);return b(a,function(o,s){s.indexOf("Models")>=0&&b(o,function(l){var u=l.coordinateSystem;if(u&&u.containPoint)i=i||!!u.containPoint(r);else if(s==="seriesModels"){var f=this._chartsMap[l.__viewId];f&&f.containPoint?i=i||f.containPoint(r,l):process.env.NODE_ENV!=="production"&&xt(s+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&xt(s+": containPoint is not supported")},this)},this),!!i},e.prototype.getVisual=function(t,r){var n=this._model,i=Uc(n,t,{defaultMainType:"series"}),a=i.seriesModel;process.env.NODE_ENV!=="production"&&(a||xt("There is no specified series model"));var o=a.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return s!=null?HI(o,s,r):OI(o,r)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;b(ST,function(n){var i=function(a){var o=t.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&ao(s,function(d){var g=Le(d);if(g&&g.dataIndex!=null){var p=g.dataModel||o.getSeriesByIndex(g.seriesIndex);return l=p&&p.getDataParams(g.dataIndex,g.dataType,s)||{},!0}else if(g.eventData)return l=Y({},g.eventData),!0},!0),l){var f=l.componentType,c=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=l.seriesIndex);var h=f&&c!=null&&o.getComponent(f,c),v=h&&t[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];process.env.NODE_ENV!=="production"&&!u&&!(h&&v)&&xt("model or view can not be found by params"),l.event=a,l.type=n,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:v},t.trigger(n,l)}};i.zrEventfulCallAtLast=!0,t._zr.on(n,i,t)});var r=this._messageCenter;b(yv,function(n,i){r.on(i,function(a){t.trigger(i,a)})}),RI(r,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){Wt(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){Wt(this.id);return}this._disposed=!0;var t=this.getDom();t&&t0(this.getDom(),Qv,"");var r=this,n=r._api,i=r._model;b(r._componentsViews,function(a){a.dispose(i,n)}),b(r._chartsViews,function(a){a.dispose(i,n)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete so[r.id]},e.prototype.resize=function(t){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`resize` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}this._zr.resize(t);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var n=r.resetOption("media"),i=t&&t.silent;this[Bt]&&(i==null&&(i=this[Bt].silent),n=!0,this[Bt]=null),this[ut]=!0,Yi(this);try{n&&Vn(this),hr.update.call(this,{type:"resize",animation:Y({duration:0},t&&t.animation)})}catch(a){throw this[ut]=!1,a}this[ut]=!1,zi.call(this,i),Wi.call(this,i)}},e.prototype.showLoading=function(t,r){if(this._disposed){Wt(this.id);return}if(he(t)&&(r=t,t=""),t=t||"default",this.hideLoading(),!_v[t]){process.env.NODE_ENV!=="production"&&xt("Loading effects "+t+" not exists.");return}var n=_v[t](this._api,r),i=this._zr;this._loadingFX=n,i.add(n)},e.prototype.hideLoading=function(){if(this._disposed){Wt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var r=Y({},t);return r.type=Au[t.type],r},e.prototype.dispatchAction=function(t,r){if(this._disposed){Wt(this.id);return}if(he(r)||(r={silent:!!r}),!!tu[t.type]&&this._model){if(this[ut]){this._pendingActions.push(t);return}var n=r.silent;gv.call(this,t,n);var i=r.flush;i?this._zr.flush():i!==!1&&_e.browser.weChat&&this._throttledZrFlush(),zi.call(this,n),Wi.call(this,n)}},e.prototype.updateLabelLayout=function(){EA.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){Wt(this.id);return}var r=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&fe(t.data&&i),i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=(function(){Vn=function(f){var c=f._scheduler;c.restorePipelines(f._model),c.prepareStageTasks(),dv(f,!0),dv(f,!1),c.plan()},dv=function(f,c){for(var h=f._model,v=f._scheduler,d=c?f._componentsViews:f._chartsViews,g=c?f._componentsMap:f._chartsMap,p=f._zr,B=f._api,m=0;m<d.length;m++)d[m].__alive=!1;c?h.eachComponent(function(C,Q){C!=="series"&&y(Q)}):h.eachSeries(y);function y(C){var Q=C.__requireNewView;C.__requireNewView=!1;var x="_ec_"+C.id+"_"+C.type,F=!Q&&g[x];if(!F){var S=VA(C.type),E=c?xA.getClass(S.main,S.sub):FA.getClass(S.sub);process.env.NODE_ENV!=="production"&&fe(E,S.sub+" does not exist."),F=new E,F.init(h,B),g[x]=F,d.push(F),p.add(F.group)}C.__viewId=F.__id=x,F.__alive=!0,F.__model=C,F.group.__ecComponentInfo={mainType:C.mainType,index:C.componentIndex},!c&&v.prepareView(F,C,h,B)}for(var m=0;m<d.length;){var _=d[m];_.__alive?m++:(!c&&_.renderTask.dispose(),p.remove(_.group),_.dispose(h,B),d.splice(m,1),g[_.__id]===_&&delete g[_.__id],_.__id=_.group.__ecComponentInfo=null)}},$l=function(f,c,h,v,d){var g=f._model;if(g.setUpdatePayload(h),!v){b([].concat(f._componentsViews).concat(f._chartsViews),_);return}var p={};p[v+"Id"]=h[v+"Id"],p[v+"Index"]=h[v+"Index"],p[v+"Name"]=h[v+"Name"];var B={mainType:v,query:p};d&&(B.subType=d);var m=h.excludeSeriesId,y;m!=null&&(y=we(),b(Lt(m),function(C){var Q=kA(C,null);Q!=null&&y.set(Q,!0)})),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;if(!Q)if(q0(h))if(C instanceof JA)h.type===En&&!h.notBlur&&!C.get(["emphasis","disabled"])&&ob(C,h,f._api);else{var x=nh(C.mainType,C.componentIndex,h.name,f._api),F=x.focusSelf,S=x.dispatchers;h.type===En&&F&&!h.notBlur&&rh(C.mainType,C.componentIndex,f._api),S&&b(S,function(E){h.type===En?Js(E):qs(E)})}else ah(h)&&C instanceof JA&&(ub(C,h,f._api),X0(C),hA(f))},f),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;Q||_(f[v==="series"?"_chartsMap":"_componentsMap"][C.__viewId])},f);function _(C){C&&C.__alive&&C[c]&&C[c](C.__model,g,f._api,h)}},hr={prepareAndUpdate:function(f){Vn(this),hr.update.call(this,f,f&&{optionChanged:f.newOption!=null})},update:function(f,c){var h=this._model,v=this._api,d=this._zr,g=this._coordSysMgr,p=this._scheduler;if(h){h.setUpdatePayload(f),p.restoreData(h,f),p.performSeriesTasks(h),g.create(h,v),p.performDataProcessorTasks(h,f),pv(this,h),g.update(h,v),r(h),p.performVisualTasks(h,f);var B=h.get("backgroundColor")||"transparent";d.setBackgroundColor(B);var m=h.get("darkMode");m!=null&&m!=="auto"&&d.setDarkMode(m),Bv(this,h,v,f,c),EA.trigger("afterupdate",h,v)}},updateTransform:function(f){var c=this,h=this._model,v=this._api;if(h){h.setUpdatePayload(f);var d=[];h.eachComponent(function(p,B){if(p!=="series"){var m=c.getViewOfComponentModel(B);if(m&&m.__alive)if(m.updateTransform){var y=m.updateTransform(B,h,v,f);y&&y.update&&d.push(m)}else d.push(m)}});var g=we();h.eachSeries(function(p){var B=c._chartsMap[p.__viewId];if(B.updateTransform){var m=B.updateTransform(p,h,v,f);m&&m.update&&g.set(p.uid,1)}else g.set(p.uid,1)}),r(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),eu(this,h,v,f,{},g),EA.trigger("afterupdate",h,v)}},updateView:function(f){var c=this._model;c&&(c.setUpdatePayload(f),FA.markUpdateMethod(f,"updateView"),r(c),this._scheduler.performVisualTasks(c,f,{setDirty:!0}),Bv(this,c,this._api,f,{}),EA.trigger("afterupdate",c,this._api))},updateVisual:function(f){var c=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(v){v.getData().clearAllVisual()}),FA.markUpdateMethod(f,"updateVisual"),r(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(v,d){if(v!=="series"){var g=c.getViewOfComponentModel(d);g&&g.__alive&&g.updateVisual(d,h,c._api,f)}}),h.eachSeries(function(v){var d=c._chartsMap[v.__viewId];d.updateVisual(v,h,c._api,f)}),EA.trigger("afterupdate",h,this._api))},updateLayout:function(f){hr.update.call(this,f)}};function t(f,c,h,v,d){if(f._disposed){Wt(f.id);return}for(var g=f._model,p=f._coordSysMgr.getCoordinateSystems(),B,m=Uc(g,h),y=0;y<p.length;y++){var _=p[y];if(_[c]&&(B=_[c](g,m,v,d))!=null)return B}process.env.NODE_ENV!=="production"&&xt("No coordinate system that supports "+c+" found by the given finder.")}jl=t,pv=function(f,c){var h=f._chartsMap,v=f._scheduler;c.eachSeries(function(d){v.updateStreamModes(d,h[d.__viewId])})},gv=function(f,c){var h=this,v=this.getModel(),d=f.type,g=f.escapeConnect,p=tu[d],B=(p.update||"update").split(":"),m=B.pop(),y=B[0]!=null&&VA(B[0]);this[ut]=!0,Yi(this);var _=[f],C=!1;f.batch&&(C=!0,_=Be(f.batch,function(P){return P=Ne(Y({},P),f),P.batch=null,P}));var Q=[],x,F=[],S=p.nonRefinedEventType,E=ah(f),I=q0(f);if(I&&Y0(this._api),b(_,function(P){var Z=p.action(P,v,h._api);if(p.refineEvent?F.push(Z):x=Z,x=x||Y({},P),x.type=S,Q.push(x),I){var V=Ic(f),X=V.queryOptionMap,ee=V.mainTypeSpecified,te=ee?X.keys()[0]:"series";$l(h,m,P,te),hA(h)}else E?($l(h,m,P,"series"),hA(h)):y&&$l(h,m,P,y.main,y.sub)}),m!=="none"&&!I&&!E&&!y)try{this[Bt]?(Vn(this),hr.update.call(this,f),this[Bt]=null):hr[m].call(this,f)}catch(P){throw this[ut]=!1,P}if(C?x={type:S,escapeConnect:g,batch:Q}:x=Q[0],this[ut]=!1,!c){var U=void 0;if(p.refineEvent){var T=p.refineEvent(F,f,v,this._api).eventContent;fe(he(T)),U=Ne({type:p.refinedEventType},T),U.fromAction=f.type,U.fromActionPayload=f,U.escapeConnect=!0}var L=this._messageCenter;L.trigger(x.type,x),U&&L.trigger(U.type,U)}},zi=function(f){for(var c=this._pendingActions;c.length;){var h=c.shift();gv.call(this,h,f)}},Wi=function(f){!f&&this.trigger("updated")},Ry=function(f,c){f.on("rendered",function(h){c.trigger("rendered",h),f.animation.isFinished()&&!c[Bt]&&!c._scheduler.unfinished&&!c._pendingActions.length&&c.trigger("finished")})},Ny=function(f,c){f.on("mouseover",function(h){var v=h.target,d=ao(v,Si);d&&(sb(d,h,c._api),hA(c))}).on("mouseout",function(h){var v=h.target,d=ao(v,Si);d&&(lb(d,h,c._api),hA(c))}).on("click",function(h){var v=h.target,d=ao(v,function(B){return Le(B).dataIndex!=null},!0);if(d){var g=d.selected?"unselect":"select",p=Le(d);c._api.dispatchAction({type:g,dataType:p.dataType,dataIndexInside:p.dataIndex,seriesIndex:p.seriesIndex,isFromClick:!0})}})};function r(f){f.clearColorPalette(),f.eachSeries(function(c){c.clearColorPalette()})}function n(f){var c=[],h=[],v=!1;if(f.eachComponent(function(B,m){var y=m.get("zlevel")||0,_=m.get("z")||0,C=m.getZLevelKey();v=v||!!C,(B==="series"?h:c).push({zlevel:y,z:_,idx:m.componentIndex,type:B,key:C})}),v){var d=c.concat(h),g,p;as(d,function(B,m){return B.zlevel===m.zlevel?B.z-m.z:B.zlevel-m.zlevel}),b(d,function(B){var m=f.getComponent(B.type,B.idx),y=B.zlevel,_=B.key;g!=null&&(y=Math.max(g,y)),_?(y===g&&_!==p&&y++,p=_):p&&(y===g&&y++,p=""),g=y,m.setZLevel(y)})}}Bv=function(f,c,h,v,d){n(c),Py(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive=!1}),eu(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive||g.remove(c,h)})},Py=function(f,c,h,v,d,g){b(g||f._componentsViews,function(p){var B=p.__model;l(B,p),p.render(B,c,h,v),s(B,p),u(B,p)})},eu=function(f,c,h,v,d,g){var p=f._scheduler;d=Y(d||{},{updatedSeries:c.getSeries()}),EA.trigger("series:beforeupdate",c,h,d);var B=!1;c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];y.__alive=!0;var _=y.renderTask;p.updatePayload(_,v),l(m,y),g&&g.get(m.uid)&&_.dirty(),_.perform(p.getPerformArgs(_))&&(B=!0),y.group.silent=!!m.get("silent"),o(m,y),X0(m)}),p.unfinished=B||p.unfinished,EA.trigger("series:layoutlabels",c,h,d),EA.trigger("series:transition",c,h,d),c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];s(m,y),u(m,y)}),a(f,c),EA.trigger("series:afterupdate",c,h,d)},hA=function(f){f[hv]=!0,f.getZr().wakeUp()},Yi=function(f){f[ql]=(f[ql]+1)%1e3},Ky=function(f){f[hv]&&(f.getZr().storage.traverse(function(c){Di(c)||i(c)}),f[hv]=!1)};function i(f){for(var c=[],h=f.currentStates,v=0;v<h.length;v++){var d=h[v];d==="emphasis"||d==="blur"||d==="select"||c.push(d)}f.selected&&f.states.select&&c.push("select"),f.hoverState===Gs&&f.states.emphasis?c.push("emphasis"):f.hoverState===Ks&&f.states.blur&&c.push("blur"),f.useStates(c)}function a(f,c){var h=f._zr,v=h.storage,d=0;v.traverse(function(g){g.isGroup||d++}),d>c.get("hoverLayerThreshold")&&!_e.node&&!_e.worker&&c.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=f._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(B){B.states.emphasis&&(B.states.emphasis.hoverLayer=!0)})}})}function o(f,c){var h=f.get("blendMode")||null;c.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function s(f,c){if(!f.preventAutoZ){var h=za(f);c.eachRendered(function(v){return _B(v,h.z,h.zlevel),!0})}}function l(f,c){c.eachRendered(function(h){if(!Di(h)){var v=h.getTextContent(),d=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function u(f,c){var h=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),d=h.get("duration"),g=d>0?{duration:d,delay:h.get("delay"),easing:h.get("easing")}:null;c.eachRendered(function(p){if(p.states&&p.states.emphasis){if(Di(p))return;if(p instanceof ke&&pb(p),p.__dirty){var B=p.prevStates;B&&p.useStates(B)}if(v){p.stateTransition=g;var m=p.getTextContent(),y=p.getTextGuideLine();m&&(m.stateTransition=g),y&&(y.stateTransition=g)}p.__dirty&&i(p)}})}ky=function(f){return new((function(c){J(h,c);function h(){return c!==null&&c.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var d=v.__ecComponentInfo;if(d!=null)return f._model.getComponent(d.mainType,d.index);v=v.parent}},h.prototype.enterEmphasis=function(v,d){Js(v,d),hA(f)},h.prototype.leaveEmphasis=function(v,d){qs(v,d),hA(f)},h.prototype.enterBlur=function(v){ab(v),hA(f)},h.prototype.leaveBlur=function(v){K0(v),hA(f)},h.prototype.enterSelect=function(v){G0(v),hA(f)},h.prototype.leaveSelect=function(v){z0(v),hA(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},h.prototype.getMainProcessVersion=function(){return f[ql]},h})(sm))(f)},Vy=function(f){function c(h,v){for(var d=0;d<h.length;d++){var g=h[d];g[vv]=v}}b(Au,function(h,v){f._messageCenter.on(v,function(d){if(Wy[f.group]&&f[vv]!==Ty){if(d&&d.escapeConnect)return;var g=f.makeActionFromEvent(d),p=[];b(so,function(B){B!==f&&B.group===f.group&&p.push(B)}),c(p,Ty),b(p,function(B){B[vv]!==ET&&B.dispatchAction(g)}),c(p,bT)}})})}})(),e})(yA),mv=Gy.prototype;mv.on=Dy("on"),mv.off=Dy("off"),mv.one=function(A,e,t){var r=this;PA("ECharts#one is deprecated.");function n(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];e&&e.apply&&e.apply(this,i),r.off(A,n)}this.on.call(this,A,n,t)};var ST=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Wt(A){process.env.NODE_ENV!=="production"&&xt("Instance "+A+" has been disposed")}var tu={},Au={},yv={},wv=[],Cv=[],ru=[],zy={},_v={},so={},Wy={},UT=+new Date-0,Qv="_echarts_instance_";function IT(A,e,t){{if(process.env.NODE_ENV!=="production"&&!A)throw new Error("Initialize failed: invalid dom.");var r=TT(A);if(r)return process.env.NODE_ENV!=="production"&&xt("There is a chart instance already initialized on the dom."),r;process.env.NODE_ENV!=="production"&&ii(A)&&A.nodeName.toUpperCase()!=="CANVAS"&&(!A.clientWidth&&!t||!A.clientHeight&&!t)&&xt("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var n=new Gy(A,e,t);return n.id="ec_"+UT++,so[n.id]=n,t0(A,Qv,n.id),Vy(n),EA.trigger("afterinit",n),n}function TT(A){return so[ZF(A,Qv)]}function Yy(A,e){zy[A]=e}function Xy(A){Te(Cv,A)<0&&Cv.push(A)}function Zy(A,e){Fv(wv,A,e,mT)}function DT(A){xv("afterinit",A)}function LT(A){xv("afterupdate",A)}function xv(A,e){EA.on(A,e)}function Kn(A,e,t){var r,n,i,a,o;me(e)&&(t=e,e=""),he(A)?(r=A.type,n=A.event,a=A.update,o=A.publishNonRefinedEvent,t||(t=A.action),i=A.refineEvent):(r=A,n=e);function s(u){return u.toLowerCase()}n=s(n||r);var l=i?s(r):n;tu[r]||(fe(Iy.test(r)&&Iy.test(n)),i&&fe(n!==r),tu[r]={actionType:r,refinedEventType:n,nonRefinedEventType:l,update:a,action:t,refineEvent:i},yv[n]=1,i&&o&&(yv[l]=1),process.env.NODE_ENV!=="production"&&Au[l]&&Ge(l+' must not be shared; use "refineEvent" if you intend to share an event name.'),Au[l]=r)}function MT(A,e){Nh.register(A,e)}function HT(A,e){Fv(ru,A,e,by,"layout")}function Gn(A,e){Fv(ru,A,e,Sy,"visual")}var Jy=[];function Fv(A,e,t,r,n){if((me(e)||he(e))&&(t=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");b(A,function(a){fe(a.__raw!==t)})}if(!(Te(Jy,t)>=0)){Jy.push(t);var i=ty.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,A.push(i)}}function qy(A,e){_v[A]=e}function OT(A,e,t){var r=vT("registerMap");r&&r(A,e,t)}var RT=KU;Gn(cv,mI),Gn(Jl,yI),Gn(Jl,wI),Gn(cv,LI),Gn(Jl,MI),Gn(Uy,cT),Xy(dm),Zy(gT,QU),qy("default",CI),Kn({type:En,event:En,update:En},Dt),Kn({type:Ws,event:Ws,update:Ws},Dt),Kn({type:Ys,event:jc,update:Ys,action:Dt,refineEvent:Ev,publishNonRefinedEvent:!0}),Kn({type:$c,event:jc,update:$c,action:Dt,refineEvent:Ev,publishNonRefinedEvent:!0}),Kn({type:Xs,event:jc,update:Xs,action:Dt,refineEvent:Ev,publishNonRefinedEvent:!0});function Ev(A,e,t,r){return{eventContent:{selected:fb(t),isFromClick:e.isFromClick||!1}}}Yy("default",{}),Yy("dark",ay);function lo(A){return A==null?0:A.length||1}function $y(A){return A}var NT=(function(){function A(e,t,r,n,i,a){this._old=e,this._new=t,this._oldKeyGetter=r||$y,this._newKeyGetter=n||$y,this.context=i,this._diffModeMultiple=a==="multiple"}return A.prototype.add=function(e){return this._add=e,this},A.prototype.update=function(e){return this._update=e,this},A.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},A.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},A.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},A.prototype.remove=function(e){return this._remove=e,this},A.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},A.prototype._executeOneToOne=function(){var e=this._old,t=this._new,r={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,r,i,"_newKeyGetter");for(var a=0;a<e.length;a++){var o=n[a],s=r[o],l=lo(s);if(l>1){var u=s.shift();s.length===1&&(r[o]=s[0]),this._update&&this._update(u,a)}else l===1?(r[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,r)},A.prototype._executeMultiple=function(){var e=this._old,t=this._new,r={},n={},i=[],a=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o<i.length;o++){var s=i[o],l=r[s],u=n[s],f=lo(l),c=lo(u);if(f>1&&c===1)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(f===1&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(f===1&&c===1)this._update&&this._update(u,l),n[s]=null;else if(f>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(a,n)},A.prototype._performRestAdd=function(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=t[n],a=lo(i);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(i[o]);else a===1&&this._add&&this._add(i);t[n]=null}},A.prototype._initIndexMap=function(e,t,r,n){for(var i=this._diffModeMultiple,a=0;a<e.length;a++){var o="_ec_"+this[n](e[a],a);if(i||(r[a]=o),!!t){var s=t[o],l=lo(s);l===0?(t[o]=a,i&&r.push(o)):l===1?t[o]=[s,a]:s.push(a)}}},A})(),PT=(function(){function A(e,t){this._encode=e,this._schema=t}return A.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},A.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},A})();function kT(A,e){var t={},r=t.encode={},n=we(),i=[],a=[],o={};b(A.dimensions,function(c){var h=A.getDimensionInfo(c),v=h.coordDim;if(v){process.env.NODE_ENV!=="production"&&fe(Kh.get(v)==null);var d=h.coordDimIndex;bv(r,v)[d]=c,h.isExtraCoord||(n.set(v,1),KT(h.type)&&(i[0]=c),bv(o,v)[d]=A.getDimensionIndex(h.name)),h.defaultTooltip&&a.push(c)}Kh.each(function(g,p){var B=bv(r,p),m=h.otherDims[p];m!=null&&m!==!1&&(B[m]=h.name)})});var s=[],l={};n.each(function(c,h){var v=r[h];l[h]=v[0],s=s.concat(v)}),t.dataDimsOnCoord=s,t.dataDimIndicesOnCoord=Be(s,function(c){return A.getDimensionInfo(c).storeDimIndex}),t.encodeFirstDimNotExtra=l;var u=r.label;u&&u.length&&(i=u.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=i.slice()),r.defaultedLabel=i,r.defaultedTooltip=a,t.userOutput=new PT(o,e),t}function bv(A,e){return A.hasOwnProperty(e)||(A[e]=[]),A[e]}function VT(A){return A==="category"?"ordinal":A==="time"?"time":"float"}function KT(A){return!(A==="ordinal"||A==="time")}var nu=(function(){function A(e){this.otherDims={},e!=null&&Y(this,e)}return A})(),GT=ze(),zT={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},jy=(function(){function A(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return A.prototype.isDimensionOmitted=function(){return this._dimOmitted},A.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=Aw(this.source)))},A.prototype.getSourceDimensionIndex=function(e){return ve(this._dimNameMap.get(e),-1)},A.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},A.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=ym(this.source),r=!rw(e),n="",i=[],a=0,o=0;a<e;a++){var s=void 0,l=void 0,u=void 0,f=this.dimensions[o];if(f&&f.storeDimIndex===a)s=t?f.name:null,l=f.type,u=f.ordinalMeta,o++;else{var c=this.getSourceDimension(a);c&&(s=t?c.name:null,l=c.type)}i.push({property:s,type:l,ordinalMeta:u}),t&&s!=null&&(!f||!f.isCalculationCoord)&&(n+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=zT[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source,v=[h.seriesLayoutBy,h.startIndex,n].join("$$");return{dimensions:i,hash:v}},A.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,r=0;t<this._fullDimCount;t++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(n=i.name),r++;else{var a=this.getSourceDimension(t);a&&(n=a.name)}e.push(n)}return e},A.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},A})();function ew(A){return A instanceof jy}function tw(A){for(var e=we(),t=0;t<(A||[]).length;t++){var r=A[t],n=he(r)?r.name:r;n!=null&&e.get(n)==null&&e.set(n,t)}return e}function Aw(A){var e=GT(A);return e.dimNameMap||(e.dimNameMap=tw(A.dimensionsDefine))}function rw(A){return A>30}var uo=he,Rr=Be,WT=typeof Int32Array>"u"?Array:Int32Array,YT="e\0\0",nw=-1,XT=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],ZT=["_approximateExtent"],iw,iu,fo,Xi,Sv,co,Uv,JT=(function(){function A(e,t){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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,n=!1;ew(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,r=e),r=r||["x","y"];for(var i={},a=[],o={},s=!1,l={},u=0;u<r.length;u++){var f=r[u],c=le(f)?new nu({name:f}):f instanceof nu?f:new nu(f),h=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=h,c.coordDimIndex=0);var v=c.otherDims=c.otherDims||{};a.push(h),i[h]=c,l[h]!=null&&(s=!0),c.createInvertedIndices&&(o[h]=[]);var d=u;Ye(c.storeDimIndex)&&(d=c.storeDimIndex),v.itemName===0&&(this._nameDimIdx=d),v.itemId===0&&(this._idDimIdx=d),process.env.NODE_ENV!=="production"&&fe(n||c.storeDimIndex>=0),n&&(c.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=o,this._dimOmitted){var g=this._dimIdxToName=we();b(a,function(p){g.set(i[p].storeDimIndex,p)})}}return A.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(t==null)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var r=this._dimIdxToName.get(t);if(r!=null)return r;var n=this._schema.getSourceDimension(t);if(n)return n.name},A.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(t!=null)return t;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},A.prototype._recognizeDimIndex=function(e){if(Ye(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},A.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Unknown dimension "+e);return t},A.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},A.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(r){return t.hasOwnProperty(r)?t[r]:void 0}:function(r){return t[r]}},A.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},A.prototype.mapDimension=function(e,t){var r=this._dimSummary;if(t==null)return r.encodeFirstDimNotExtra[e];var n=r.encode[e];return n?n[t]:null},A.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,r=t.encode[e];return(r||[]).slice()},A.prototype.getStore=function(){return this._store},A.prototype.initData=function(e,t,r){var n=this,i;if(e instanceof ev&&(i=e),!i){var a=this.dimensions,o=Zh(e)||kt(e)?new _m(e,a.length):e;i=new ev;var s=Rr(a,function(l){return{type:n._dimInfos[l].type,property:l}});i.initData(o,s,r)}this._store=i,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=kT(this,this._schema),this.userOutput=this._dimSummary.userOutput},A.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},A.prototype.appendValues=function(e,t){var r=this._store.appendValues(e,t&&t.length),n=r.start,i=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var o=n;o<i;o++){var s=o-n;this._nameList[o]=t[s],a&&Uv(this,o)}},A.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,r=0;r<t.length;r++){var n=this._dimInfos[t[r]];n.ordinalMeta&&e.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},A.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==fr&&!e.fillStorage},A.prototype._doInit=function(e,t){if(!(e>=t)){var r=this._store,n=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList,o=n.getSource().sourceFormat,s=o===qt;if(s&&!n.pure)for(var l=[],u=e;u<t;u++){var f=n.getItem(u,l);if(!this.hasItemOption&&OF(f)&&(this.hasItemOption=!0),f){var c=f.name;i[u]==null&&c!=null&&(i[u]=kA(c,null));var h=f.id;a[u]==null&&h!=null&&(a[u]=kA(h,null))}}if(this._shouldMakeIdFromName())for(var u=e;u<t;u++)Uv(this,u);iw(this)}},A.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},A.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},A.prototype.setCalculationInfo=function(e,t){uo(e)?Y(this._calculationInfo,e):this._calculationInfo[e]=t},A.prototype.getName=function(e){var t=this.getRawIndex(e),r=this._nameList[t];return r==null&&this._nameDimIdx!=null&&(r=fo(this,this._nameDimIdx,t)),r==null&&(r=""),r},A.prototype._getCategory=function(e,t){var r=this._store.get(e,t),n=this._store.getOrdinalMeta(e);return n?n.categories[r]:r},A.prototype.getId=function(e){return iu(this,this.getRawIndex(e))},A.prototype.count=function(){return this._store.count()},A.prototype.get=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.get(n.storeDimIndex,t)},A.prototype.getByRawIndex=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.getByRawIndex(n.storeDimIndex,t)},A.prototype.getIndices=function(){return this._store.getIndices()},A.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},A.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},A.prototype.getValues=function(e,t){var r=this,n=this._store;return ae(e)?n.getValues(Rr(e,function(i){return r._getStoreDimIndex(i)}),t):n.getValues(e)},A.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,r=0,n=t.length;r<n;r++)if(isNaN(this._store.get(t[r],e)))return!1;return!0},A.prototype.indexOfName=function(e){for(var t=0,r=this._store.count();t<r;t++)if(this.getName(t)===e)return t;return-1},A.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},A.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},A.prototype.rawIndexOf=function(e,t){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var n=r&&r[t];return n==null||isNaN(n)?nw:n},A.prototype.each=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Rr(Xi(e),this._getStoreDimIndex,this);this._store.each(i,n?ye(t,n):t)},A.prototype.filterSelf=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Rr(Xi(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?ye(t,n):t),this},A.prototype.selectRange=function(e){var t=this,r={},n=Xe(e);return b(n,function(i){var a=t._getStoreDimIndex(i);r[a]=e[i]}),this._store=this._store.selectRange(r),this},A.prototype.mapArray=function(e,t,r){me(e)&&(r=t,t=e,e=[]),r=r||this;var n=[];return this.each(e,function(){n.push(t&&t.apply(this,arguments))},r),n},A.prototype.map=function(e,t,r,n){var i=r||n||this,a=Rr(Xi(e),this._getStoreDimIndex,this),o=co(this);return o._store=this._store.map(a,i?ye(t,i):t),o},A.prototype.modify=function(e,t,r,n){var i=this,a=r||n||this;process.env.NODE_ENV!=="production"&&b(Xi(e),function(s){var l=i.getDimensionInfo(s);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var o=Rr(Xi(e),this._getStoreDimIndex,this);this._store.modify(o,a?ye(t,a):t)},A.prototype.downSample=function(e,t,r,n){var i=co(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,r,n),i},A.prototype.minmaxDownSample=function(e,t){var r=co(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),r},A.prototype.lttbDownSample=function(e,t){var r=co(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),r},A.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},A.prototype.getItemModel=function(e){var t=this.hostModel,r=this.getRawDataItem(e);return new et(r,t,t&&t.ecModel)},A.prototype.diff=function(e){var t=this;return new NT(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return iu(e,r)},function(r){return iu(t,r)})},A.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},A.prototype.setVisual=function(e,t){this._visual=this._visual||{},uo(e)?Y(this._visual,e):this._visual[e]=t},A.prototype.getItemVisual=function(e,t){var r=this._itemVisuals[e],n=r&&r[t];return n??this.getVisual(t)},A.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},A.prototype.ensureUniqueItemVisual=function(e,t){var r=this._itemVisuals,n=r[e];n||(n=r[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),ae(i)?i=i.slice():uo(i)&&(i=Y({},i)),n[t]=i),i},A.prototype.setItemVisual=function(e,t,r){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,uo(t)?Y(n,t):n[t]=r},A.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},A.prototype.setLayout=function(e,t){uo(e)?Y(this._layout,e):this._layout[e]=t},A.prototype.getLayout=function(e){return this._layout[e]},A.prototype.getItemLayout=function(e){return this._itemLayouts[e]},A.prototype.setItemLayout=function(e,t,r){this._itemLayouts[e]=r?Y(this._itemLayouts[e]||{},t):t},A.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},A.prototype.setItemGraphicEl=function(e,t){var r=this.hostModel&&this.hostModel.seriesIndex;JE(r,this.dataType,e,t),this._graphicEls[e]=t},A.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},A.prototype.eachItemGraphicEl=function(e,t){b(this._graphicEls,function(r,n){r&&e&&e.call(t,r,n)})},A.prototype.cloneShallow=function(e){return e||(e=new A(this._schema?this._schema:Rr(this.dimensions,this._getDimInfo,this),this.hostModel)),Sv(e,this),e._store=this._store,e},A.prototype.wrapMethod=function(e,t){var r=this[e];me(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=r.apply(this,arguments);return t.apply(this,[n].concat(Uf(arguments)))})},A.internalField=(function(){iw=function(e){var t=e._invertedIndicesMap;b(t,function(r,n){var i=e._dimInfos[n],a=i.ordinalMeta,o=e._store;if(a){r=t[n]=new WT(a.categories.length);for(var s=0;s<r.length;s++)r[s]=nw;for(var s=0;s<o.count();s++)r[o.get(i.storeDimIndex,s)]=s}})},fo=function(e,t,r){return kA(e._getCategory(t,r),null)},iu=function(e,t){var r=e._idList[t];return r==null&&e._idDimIdx!=null&&(r=fo(e,e._idDimIdx,t)),r==null&&(r=YT+t),r},Xi=function(e){return ae(e)||(e=e!=null?[e]:[]),e},co=function(e){var t=new A(e._schema?e._schema:Rr(e.dimensions,e._getDimInfo,e),e.hostModel);return Sv(t,e),t},Sv=function(e,t){b(XT.concat(t.__wrappedMethods||[]),function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e.__wrappedMethods=t.__wrappedMethods,b(ZT,function(r){e[r]=Ue(t[r])}),e._calculationInfo=Y({},t._calculationInfo)},Uv=function(e,t){var r=e._nameList,n=e._idList,i=e._nameDimIdx,a=e._idDimIdx,o=r[t],s=n[t];if(o==null&&i!=null&&(r[t]=o=fo(e,i,t)),s==null&&a!=null&&(n[t]=s=fo(e,a,t)),s==null&&o!=null){var l=e._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),n[t]=s}}})(),A})();function qT(A,e){Zh(A)||(A=pm(A)),e=e||{};var t=e.coordDimensions||[],r=e.dimensionsDefine||A.dimensionsDefine||[],n=we(),i=[],a=jT(A,t,r,e.dimensionsCount),o=e.canOmitUnusedDimensions&&rw(a),s=r===A.dimensionsDefine,l=s?Aw(A):tw(r),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(A,a));for(var f=we(u),c=new Tm(a),h=0;h<c.length;h++)c[h]=-1;function v(F){var S=c[F];if(S<0){var E=r[F],I=he(E)?E:{name:E},U=new nu,T=I.name;T!=null&&l.get(T)!=null&&(U.name=U.displayName=T),I.type!=null&&(U.type=I.type),I.displayName!=null&&(U.displayName=I.displayName);var L=i.length;return c[F]=L,U.storeDimIndex=F,i.push(U),U}return i[S]}if(!o)for(var h=0;h<a;h++)v(h);f.each(function(F,S){var E=Lt(F).slice();if(E.length===1&&!le(E[0])&&E[0]<0){f.set(S,!1);return}var I=f.set(S,[]);b(E,function(U,T){var L=le(U)?l.get(U):U;L!=null&&L<a&&(I[T]=L,g(v(L),S,T))})});var d=0;b(t,function(F){var S,E,I,U;if(le(F))S=F,U={};else{U=F,S=U.name;var T=U.ordinalMeta;U.ordinalMeta=null,U=Y({},U),U.ordinalMeta=T,E=U.dimsDef,I=U.otherDims,U.name=U.coordDim=U.coordDimIndex=U.dimsDef=U.otherDims=null}var L=f.get(S);if(L!==!1){if(L=Lt(L),!L.length)for(var P=0;P<(E&&E.length||1);P++){for(;d<a&&v(d).coordDim!=null;)d++;d<a&&L.push(d++)}b(L,function(Z,V){var X=v(Z);if(s&&U.type!=null&&(X.type=U.type),g(Ne(X,U),S,V),X.name==null&&E){var ee=E[V];!he(ee)&&(ee={name:ee}),X.name=X.displayName=ee.name,X.defaultTooltip=ee.defaultTooltip}I&&Ne(X.otherDims,I)})}});function g(F,S,E){Kh.get(S)!=null?F.otherDims[S]=E:(F.coordDim=S,F.coordDimIndex=E,n.set(S,!0))}var p=e.generateCoord,B=e.generateCoordCount,m=B!=null;B=p?B||1:0;var y=p||"value";function _(F){F.name==null&&(F.name=F.coordDim)}if(o)b(i,function(F){_(F)}),i.sort(function(F,S){return F.storeDimIndex-S.storeDimIndex});else for(var C=0;C<a;C++){var Q=v(C),x=Q.coordDim;x==null&&(Q.coordDim=eD(y,n,m),Q.coordDimIndex=0,(!p||B<=0)&&(Q.isExtraCoord=!0),B--),_(Q),Q.type==null&&(tm(A,C)===$t.Must||Q.isExtraCoord&&(Q.otherDims.itemName!=null||Q.otherDims.seriesName!=null))&&(Q.type="ordinal")}return $T(i),new jy({source:A,dimensions:i,fullDimensionCount:a,dimensionOmitted:o})}function $T(A){for(var e=we(),t=0;t<A.length;t++){var r=A[t],n=r.name,i=e.get(n)||0;i>0&&(r.name=n+(i-1)),i++,e.set(n,i)}}function jT(A,e,t,r){var n=Math.max(A.dimensionsDetectedCount||1,e.length,t.length,r||0);return b(e,function(i){var a;he(i)&&(a=i.dimsDef)&&(n=Math.max(n,a.length))}),n}function eD(A,e,t){if(t||e.hasKey(A)){for(var r=0;e.hasKey(A+r);)r++;A+=r}return e.set(A,!0),A}var tD=(function(){function A(e){this.coordSysDims=[],this.axisMap=we(),this.categoryAxisMap=we(),this.coordSysName=e}return A})();function AD(A){var e=A.get("coordinateSystem"),t=new tD(e),r=rD[e];if(r)return r(A,t,t.axisMap,t.categoryAxisMap),t}var rD={cartesian2d:function(A,e,t,r){var n=A.getReferringComponents("xAxis",Mt).models[0],i=A.getReferringComponents("yAxis",Mt).models[0];if(process.env.NODE_ENV!=="production"){if(!n)throw new Error('xAxis "'+oi(A.get("xAxisIndex"),A.get("xAxisId"),0)+'" not found');if(!i)throw new Error('yAxis "'+oi(A.get("xAxisIndex"),A.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),Zi(n)&&(r.set("x",n),e.firstCategoryDimIndex=0),Zi(i)&&(r.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(A,e,t,r){var n=A.getReferringComponents("singleAxis",Mt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],t.set("single",n),Zi(n)&&(r.set("single",n),e.firstCategoryDimIndex=0)},polar:function(A,e,t,r){var n=A.getReferringComponents("polar",Mt).models[0],i=n.findAxisModel("radiusAxis"),a=n.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!a)throw new Error("angleAxis option not found");if(!i)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",a),Zi(i)&&(r.set("radius",i),e.firstCategoryDimIndex=0),Zi(a)&&(r.set("angle",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(A,e,t,r){e.coordSysDims=["lng","lat"]},parallel:function(A,e,t,r){var n=A.ecModel,i=n.getComponent("parallel",A.get("parallelIndex")),a=e.coordSysDims=i.dimensions.slice();b(i.parallelAxisIndex,function(o,s){var l=n.getComponent("parallelAxis",o),u=a[s];t.set(u,l),Zi(l)&&(r.set(u,l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=s))})},matrix:function(A,e,t,r){var n=A.getReferringComponents("matrix",Mt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("matrix coordinate system should be specified.");e.coordSysDims=["x","y"];var i=n.getDimensionModel("x"),a=n.getDimensionModel("y");t.set("x",i),t.set("y",a),r.set("x",i),r.set("y",a)}};function Zi(A){return A.get("type")==="category"}function nD(A,e,t){t=t||{};var r=t.byIndex,n=t.stackedCoordDimension,i,a,o;iD(e)?i=e:(a=e.schema,i=a.dimensions,o=e.store);var s=!!(A&&A.get("stack")),l,u,f,c;if(b(i,function(B,m){le(B)&&(i[m]=B={name:B}),s&&!B.isExtraCoord&&(!r&&!l&&B.ordinalMeta&&(l=B),!u&&B.type!=="ordinal"&&B.type!=="time"&&(!n||n===B.coordDim)&&(u=B))}),u&&!r&&!l&&(r=!0),u){f="__\0ecstackresult_"+A.id,c="__\0ecstackedover_"+A.id,l&&(l.createInvertedIndices=!0);var h=u.coordDim,v=u.type,d=0;b(i,function(B){B.coordDim===h&&d++});var g={name:f,coordDim:h,coordDimIndex:d,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},p={name:c,coordDim:c,coordDimIndex:d+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};a?(o&&(g.storeDimIndex=o.ensureCalculationDimension(c,v),p.storeDimIndex=o.ensureCalculationDimension(f,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(p)):(i.push(g),i.push(p))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:r,stackedOverDimension:c,stackResultDimension:f}}function iD(A){return!ew(A.schema)}function Ji(A,e){return!!e&&e===A.getCalculationInfo("stackedDimension")}function aD(A,e){return Ji(A,e)?A.getCalculationInfo("stackResultDimension"):e}function oD(A,e){var t=A.get("coordinateSystem"),r=Nh.get(t),n;return e&&e.coordSysDims&&(n=Be(e.coordSysDims,function(i){var a={name:i},o=e.axisMap.get(i);if(o){var s=o.get("type");a.type=VT(s)}return a})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function sD(A,e,t){var r,n;return t&&b(A,function(i,a){var o=i.coordDim,s=t.categoryAxisMap.get(o);s&&(r==null&&(r=a),i.ordinalMeta=s.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&r!=null&&(A[r].otherDims.itemName=0),r}function Iv(A,e,t){t=t||{};var r=e.getSourceManager(),n,i=!1;n=r.getSource(),i=n.sourceFormat===qt;var a=AD(e),o=oD(e,a),s=t.useEncodeDefaulter,l=me(s)?s:s?nt(qS,o,e):null,u={coordDimensions:o,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!i},f=qT(n,u),c=sD(f.dimensions,t.createInvertedIndices,a),h=i?null:r.getSharedDataStore(f),v=nD(e,{schema:f,store:h}),d=new JT(f,e);d.setCalculationInfo(v);var g=c!=null&&lD(n)?function(p,B,m,y){return y===c?m:this.defaultDimValueGetter(p,B,m,y)}:null;return d.hasItemOption=!1,d.initData(i?n:h,null,g),d}function lD(A){if(A.sourceFormat===qt){var e=uD(A.data||[]);return!ae(Ia(e))}}function uD(A){for(var e=0;e<A.length&&A[e]==null;)e++;return A[e]}function fD(A){var e=Math.pow(10,Ts(Math.abs(A))),t=Math.abs(A/e);return t===0||t===1||t===2||t===3||t===5}function Tv(A){return A.type==="interval"||A.type==="log"}function cD(A,e,t,r,n){var i={},a=i.interval=kg(e/t);r!=null&&a<r&&(a=i.interval=r),n!=null&&a>n&&(a=i.interval=n);var o=i.intervalPrecision=ho(a),s=i.niceTickExtent=[wt(Math.ceil(A[0]/a)*a,o),wt(Math.floor(A[1]/a)*a,o)];return hD(s,A),i}function Dv(A){var e=Math.pow(10,Ts(A)),t=A/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,wt(t*e)}function ho(A){return ar(A)+2}function aw(A,e,t){A[e]=Math.max(Math.min(A[e],t[1]),t[0])}function hD(A,e){!isFinite(A[0])&&(A[0]=e[0]),!isFinite(A[1])&&(A[1]=e[1]),aw(A,0,e),aw(A,1,e),A[0]>A[1]&&(A[0]=A[1])}function Lv(A,e){return A>=e[0]&&A<=e[1]}var vD=(function(){function A(){this.normalize=ow,this.scale=sw}return A.prototype.updateMethods=function(e){e.hasBreaks()?(this.normalize=ye(e.normalize,e),this.scale=ye(e.scale,e)):(this.normalize=ow,this.scale=sw)},A})();function ow(A,e){return e[1]===e[0]?.5:(A-e[0])/(e[1]-e[0])}function sw(A,e){return A*(e[1]-e[0])+e[0]}function Mv(A,e,t){var r=Math.log(A);return[Math.log(t?e[0]:Math.max(0,e[0]))/r,Math.log(t?e[1]:Math.max(0,e[1]))/r]}var Nr=(function(){function A(e){this._calculator=new vD,this._setting=e||{},this._extent=[1/0,-1/0]}return A.prototype.getSetting=function(e){return this._setting[e]},A.prototype._innerUnionExtent=function(e){var t=this._extent;this._innerSetExtent(e[0]<t[0]?e[0]:t[0],e[1]>t[1]?e[1]:t[1])},A.prototype.unionExtentFromData=function(e,t){this._innerUnionExtent(e.getApproximateExtent(t))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.setExtent=function(e,t){this._innerSetExtent(e,t)},A.prototype._innerSetExtent=function(e,t){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(t)||(r[1]=t),this._brkCtx&&this._brkCtx.update(r)},A.prototype.setBreaksFromOption=function(e){},A.prototype._innerSetBreak=function(e){this._brkCtx&&(this._brkCtx.setBreaks(e),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},A.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},A.prototype.hasBreaks=function(){return this._brkCtx?this._brkCtx.hasBreaks():!1},A.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},A.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},A.prototype.isBlank=function(){return this._isBlank},A.prototype.setBlank=function(e){this._isBlank=e},A})();Hs(Nr);var dD=0,Hv=(function(){function A(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++dD,this._onCollect=e.onCollect}return A.createByAxisModel=function(e){var t=e.option,r=t.data,n=r&&Be(r,pD);return new A({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},A.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},A.prototype.parseAndCollect=function(e){var t,r=this._needCollect;if(!le(e)&&!r)return e;if(r&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,this._onCollect&&this._onCollect(e,t),t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(r?(t=this.categories.length,this.categories[t]=e,n.set(e,t),this._onCollect&&this._onCollect(e,t)):t=NaN),t},A.prototype._getOrCreateMap=function(){return this._map||(this._map=we(this.categories))},A})();function pD(A){return he(A)&&A.value!=null?A.value:A+""}var lw=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;r.type="ordinal";var n=r.getSetting("ordinalMeta");return n||(n=new Hv({})),ae(n)&&(n=new Hv({categories:Be(n,function(i){return he(i)?i.value:i})})),r._ordinalMeta=n,r._extent=r.getSetting("extent")||[0,n.categories.length-1],r}return e.prototype.parse=function(t){return t==null?NaN:le(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Lv(t,this._extent)&&t>=0&&t<this._ordinalMeta.categories.length},e.prototype.normalize=function(t){return t=this._getTickNumber(t),this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(this._calculator.scale(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],r=this._extent,n=r[0];n<=r[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],a=0,o=this._ordinalMeta.categories.length,s=Math.min(o,r.length);a<s;++a){var l=r[a];n[a]=l,i[l]=a}for(var u=0;a<o;++a){for(;i[u]!=null;)u++;n.push(u),i[u]=a}},e.prototype._getTickNumber=function(t){var r=this._ticksByOrdinalNumber;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getRawOrdinalNumber=function(t){var r=this._ordinalNumbersByTick;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var r=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[r];return n==null?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e})(Nr);Nr.registerClass(lw);var Pr=wt,qi=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t==null||t===""?NaN:Number(t)},e.prototype.contain=function(t){return Lv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=ho(t)},e.prototype.getTicks=function(t){t=t||{};var r=this._interval,n=this._extent,i=this._niceExtent,a=this._intervalPrecision,o=Cl(),s=[];if(!r)return s;t.breakTicks;var l=1e4;n[0]<i[0]&&(t.expandToNicedExtent?s.push({value:Pr(i[0]-r,a)}):s.push({value:n[0]}));for(var u=function(v,d){return Math.round((d-v)/r)},f=i[0];f<=i[1];){if(s.push({value:f}),f=Pr(f+r,a),this._brkCtx){var c=this._brkCtx.calcNiceTickMultiple(f,u);c>=0&&(f=Pr(f+c*r,a))}if(s.length>0&&f===s[s.length-1].value)break;if(s.length>l)return[]}var h=s.length?s[s.length-1].value:i[1];return n[1]>h&&(t.expandToNicedExtent?s.push({value:Pr(h+r,a)}):s.push({value:n[1]})),t.breakTicks,s},e.prototype.getMinorTicks=function(t){for(var r=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),a=1;a<r.length;a++){var o=r[a],s=r[a-1];if(!(s.break||o.break)){for(var l=0,u=[],f=o.value-s.value,c=f/t,h=ho(c);l<t-1;){var v=Pr(s.value+(l+1)*c,h);v>i[0]&&v<i[1]&&u.push(v),l++}var d=Cl();d&&d.pruneTicksByBreak("auto",u,this._getNonTransBreaks(),function(g){return g},this._interval,i),n.push(u)}}return n},e.prototype._getNonTransBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},e.prototype.getLabel=function(t,r){if(t==null)return"";var n=r&&r.precision;n==null?n=ar(t.value)||0:n==="auto"&&(n=this._intervalPrecision);var i=Pr(t.value,n,!0);return GB(i)},e.prototype.calcNiceTicks=function(t,r,n){t=t||5;var i=this._extent.slice(),a=this._getExtentSpanWithBreaks();if(isFinite(a)){a<0&&(a=-a,i.reverse(),this._innerSetExtent(i[0],i[1]),i=this._extent.slice());var o=cD(i,a,t,r,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var r=this._extent.slice();if(r[0]===r[1])if(r[0]!==0){var n=Math.abs(r[0]);t.fixMax||(r[1]+=n/2),r[0]-=n/2}else r[1]=1;var i=r[1]-r[0];isFinite(i)||(r[0]=0,r[1]=1),this._innerSetExtent(r[0],r[1]),r=this._extent.slice(),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval,o=this._intervalPrecision;t.fixMin||(r[0]=Pr(Math.floor(r[0]/a)*a,o)),t.fixMax||(r[1]=Pr(Math.ceil(r[1]/a)*a,o)),this._innerSetExtent(r[0],r[1])},e.prototype.setNiceExtent=function(t,r){this._niceExtent=[t,r]},e.type="interval",e})(Nr);Nr.registerClass(qi);var uw=typeof Float32Array<"u",gD=uw?Float32Array:Array;function vr(A){return ae(A)?uw?new Float32Array(A):A:new gD(A)}var BD="__ec_stack_";function fw(A){return A.get("stack")||BD+A.seriesIndex}function Ov(A){return A.dim+A.index}function cw(A,e){var t=[];return e.eachSeriesByType(A,function(r){vw(r)&&t.push(r)}),t}function mD(A){var e={};b(A,function(s){var l=s.coordinateSystem,u=l.getBaseAxis();if(!(u.type!=="time"&&u.type!=="value"))for(var f=s.getData(),c=u.dim+"_"+u.index,h=f.getDimensionIndex(f.mapDimension(u.dim)),v=f.getStore(),d=0,g=v.count();d<g;++d){var p=v.get(h,d);e[c]?e[c].push(p):e[c]=[p]}});var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(n){n.sort(function(s,l){return s-l});for(var i=null,a=1;a<n.length;++a){var o=n[a]-n[a-1];o>0&&(i=i===null?o:Math.min(i,o))}t[r]=i}}return t}function hw(A){var e=mD(A),t=[];return b(A,function(r){var n=r.coordinateSystem,i=n.getBaseAxis(),a=i.getExtent(),o;if(i.type==="category")o=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,l=e[s],u=Math.abs(a[1]-a[0]),f=i.scale.getExtent(),c=Math.abs(f[1]-f[0]);o=l?u/c*l:u}else{var h=r.getData();o=Math.abs(a[1]-a[0])/h.count()}var v=ht(r.get("barWidth"),o),d=ht(r.get("barMaxWidth"),o),g=ht(r.get("barMinWidth")||(dw(r)?.5:1),o),p=r.get("barGap"),B=r.get("barCategoryGap"),m=r.get("defaultBarGap");t.push({bandWidth:o,barWidth:v,barMaxWidth:d,barMinWidth:g,barGap:p,barCategoryGap:B,defaultBarGap:m,axisKey:Ov(i),stackId:fw(r)})}),yD(t)}function yD(A){var e={};b(A,function(r,n){var i=r.axisKey,a=r.bandWidth,o=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:r.defaultBarGap||0,stacks:{}},s=o.stacks;e[i]=o;var l=r.stackId;s[l]||o.autoWidthCount++,s[l]=s[l]||{width:0,maxWidth:0};var u=r.barWidth;u&&!s[l].width&&(s[l].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var f=r.barMaxWidth;f&&(s[l].maxWidth=f);var c=r.barMinWidth;c&&(s[l].minWidth=c);var h=r.barGap;h!=null&&(o.gap=h);var v=r.barCategoryGap;v!=null&&(o.categoryGap=v)});var t={};return b(e,function(r,n){t[n]={};var i=r.stacks,a=r.bandWidth,o=r.categoryGap;if(o==null){var s=Xe(i).length;o=Math.max(35-s*4,15)+"%"}var l=ht(o,a),u=ht(r.gap,1),f=r.remainedWidth,c=r.autoWidthCount,h=(f-l)/(c+(c-1)*u);h=Math.max(h,0),b(i,function(p){var B=p.maxWidth,m=p.minWidth;if(p.width){var y=p.width;B&&(y=Math.min(y,B)),m&&(y=Math.max(y,m)),p.width=y,f-=y+u*y,c--}else{var y=h;B&&B<y&&(y=Math.min(B,f)),m&&m>y&&(y=m),y!==h&&(p.width=y,f-=y+u*y,c--)}}),h=(f-l)/(c+(c-1)*u),h=Math.max(h,0);var v=0,d;b(i,function(p,B){p.width||(p.width=h),d=p,v+=p.width*(1+u)}),d&&(v-=d.width*u);var g=-v/2;b(i,function(p,B){t[n][B]=t[n][B]||{bandWidth:a,offset:g,width:p.width},g+=p.width*(1+u)})}),t}function wD(A,e,t){if(A&&e){var r=A[Ov(e)];return r}}function CD(A,e){var t=cw(A,e),r=hw(t);b(t,function(n){var i=n.getData(),a=n.coordinateSystem,o=a.getBaseAxis(),s=fw(n),l=r[Ov(o)][s],u=l.offset,f=l.width;i.setLayout({bandWidth:l.bandWidth,offset:u,size:f})})}function _D(A){return{seriesType:A,plan:iv(),reset:function(e){if(vw(e)){var t=e.getData(),r=e.coordinateSystem,n=r.getBaseAxis(),i=r.getOtherAxis(n),a=t.getDimensionIndex(t.mapDimension(i.dim)),o=t.getDimensionIndex(t.mapDimension(n.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),f=Ji(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),c=i.isHorizontal(),h=QD(n,i),v=dw(e),d=e.get("barMinHeight")||0,g=u&&t.getDimensionIndex(u),p=t.getLayout("size"),B=t.getLayout("offset");return{progress:function(m,y){for(var _=m.count,C=v&&vr(_*3),Q=v&&s&&vr(_*3),x=v&&vr(_),F=r.master.getRect(),S=c?F.width:F.height,E,I=y.getStore(),U=0;(E=m.next())!=null;){var T=I.get(f?g:a,E),L=I.get(o,E),P=h,Z=void 0;f&&(Z=+T-I.get(a,E));var V=void 0,X=void 0,ee=void 0,te=void 0;if(c){var D=r.dataToPoint([T,L]);if(f){var M=r.dataToPoint([Z,L]);P=M[0]}V=P,X=D[1]+B,ee=D[0]-P,te=p,Math.abs(ee)<d&&(ee=(ee<0?-1:1)*d)}else{var D=r.dataToPoint([L,T]);if(f){var M=r.dataToPoint([L,Z]);P=M[1]}V=D[0]+B,X=P,ee=p,te=D[1]-P,Math.abs(te)<d&&(te=(te<=0?-1:1)*d)}v?(C[U]=V,C[U+1]=X,C[U+2]=c?ee:te,Q&&(Q[U]=c?F.x:V,Q[U+1]=c?X:F.y,Q[U+2]=S),x[E]=E):y.setItemLayout(E,{x:V,y:X,width:ee,height:te}),U+=3}v&&y.setLayout({largePoints:C,largeDataIndices:x,largeBackgroundPoints:Q,valueAxisHorizontal:c})}}}}}}function vw(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function dw(A){return A.pipelineContext&&A.pipelineContext.large}function QD(A,e){var t=e.model.get("startValue");return t||(t=0),e.toGlobalCoord(e.dataToCoord(e.type==="log"?t>0?t:1:t))}var xD=function(A,e,t,r){for(;t<r;){var n=t+r>>>1;A[n][1]<e?t=n+1:r=n}return t},pw=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="time",r}return e.prototype.getLabel=function(t){var r=this.getSetting("useUTC");return xl(t.value,HB[LS(Ya(this._minLevelUnit))]||HB.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,r,n){var i=this.getSetting("useUTC"),a=this.getSetting("locale");return MS(t,r,n,a,i)},e.prototype.getTicks=function(t){var r=this._interval,n=this._extent,i=[];if(!r)return i;var a=this.getSetting("useUTC"),o=Fl(n[1],a);i.push({value:n[0],time:{level:0,upperTimeUnit:o,lowerTimeUnit:o}});var s=DD(this._minLevelUnit,this._approxInterval,a,n,this._getExtentSpanWithBreaks(),this._brkCtx);i=i.concat(s);var l=Fl(n[1],a);i.push({value:n[1],time:{level:0,upperTimeUnit:l,lowerTimeUnit:l}}),this.getSetting("useUTC");var u=Tn.length-1,f=0;return b(i,function(c){u=Math.min(u,Te(Tn,c.time.upperTimeUnit)),f=Math.max(f,c.time.level)}),i},e.prototype.calcNiceExtent=function(t){var r=this.getExtent();if(r[0]===r[1]&&(r[0]-=uA,r[1]+=uA),r[1]===-1/0&&r[0]===1/0){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-uA}this._innerSetExtent(r[0],r[1]),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,r,n){t=t||10;var i=this._getExtentSpanWithBreaks();this._approxInterval=i/t,r!=null&&this._approxInterval<r&&(this._approxInterval=r),n!=null&&this._approxInterval>n&&(this._approxInterval=n);var a=au.length,o=Math.min(xD(au,this._approxInterval,0,a),a-1);this._interval=au[o][1],this._intervalPrecision=ho(this._interval),this._minLevelUnit=au[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return Ye(t)?t:+Qi(t)},e.prototype.contain=function(t){return Lv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.type="time",e})(qi),au=[["second",Eh],["minute",bh],["hour",Wa],["quarter-day",Wa*6],["half-day",Wa*12],["day",uA*1.2],["half-week",uA*3.5],["week",uA*7],["month",uA*31],["quarter",uA*95],["half-year",MB/2],["year",MB]];function FD(A,e,t,r){return Sh(new Date(e),A,r).getTime()===Sh(new Date(t),A,r).getTime()}function ED(A,e){return A/=uA,A>16?16:A>7.5?7:A>3.5?4:A>1.5?2:1}function bD(A){var e=30*uA;return A/=e,A>6?6:A>3?3:A>2?2:1}function SD(A){return A/=Wa,A>12?12:A>6?6:A>3.5?4:A>2?2:1}function gw(A,e){return A/=e?bh:Eh,A>30?30:A>20?20:A>15?15:A>10?10:A>5?5:A>2?2:1}function UD(A){return kg(A)}function ID(A,e,t){var r=Math.max(0,Te(Tn,e)-1);return Sh(new Date(A),Tn[r],t).getTime()}function TD(A,e){var t=new Date(0);t[A](1);var r=t.getTime();t[A](1+e);var n=t.getTime()-r;return function(i,a){return Math.max(0,Math.round((a-i)/n))}}function DD(A,e,t,r,n,i){var a=1e4,o=US,s=0;function l(U,T,L,P,Z,V,X){for(var ee=TD(Z,U),te=T,D=new Date(te);te<L&&te<=r[1];){if(X.push({value:te}),s++>a){process.env.NODE_ENV!=="production"&&xt("Exceed safe limit in time scale.");break}if(D[Z](D[P]()+U),te=D.getTime(),i){var M=i.calcNiceTickMultiple(te,ee);M>0&&(D[Z](D[P]()+M*U),te=D.getTime())}}X.push({value:te,notAdd:!0})}function u(U,T,L){var P=[],Z=!T.length;if(!FD(Ya(U),r[0],r[1],t)){Z&&(T=[{value:ID(r[0],U,t)},{value:r[1]}]);for(var V=0;V<T.length-1;V++){var X=T[V].value,ee=T[V+1].value;if(X!==ee){var te=void 0,D=void 0,M=void 0,H=!1;switch(U){case"year":te=Math.max(1,Math.round(e/uA/365)),D=OB(t),M=HS(t);break;case"half-year":case"quarter":case"month":te=bD(e),D=Uh(t),M=RB(t);break;case"week":case"half-week":case"day":te=ED(e),D=Ih(t),M=NB(t),H=!0;break;case"half-day":case"quarter-day":case"hour":te=SD(e),D=Th(t),M=PB(t);break;case"minute":te=gw(e,!0),D=Dh(t),M=kB(t);break;case"second":te=gw(e,!1),D=Lh(t),M=VB(t);break;case"millisecond":te=UD(e),D=Mh(t),M=KB(t);break}ee>=r[0]&&X<=r[1]&&l(te,X,ee,D,M,H,P),U==="year"&&L.length>1&&V===0&&L.unshift({value:L[0].value-te})}}for(var V=0;V<P.length;V++)L.push(P[V])}}for(var f=[],c=[],h=0,v=0,d=0;d<o.length;++d){var g=Ya(o[d]);if(DS(o[d])){u(o[d],f[f.length-1]||[],c);var p=o[d+1]?Ya(o[d+1]):null;if(g!==p){if(c.length){v=h,c.sort(function(U,T){return U.value-T.value});for(var B=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(B.push(c[m]),y>=r[0]&&y<=r[1]&&h++)}var _=n/e;if(h>_*1.5&&v>_/1.5||(f.push(B),h>_||A===o[d]))break}c=[]}}}for(var C=rt(Be(f,function(U){return rt(U,function(T){return T.value>=r[0]&&T.value<=r[1]&&!T.notAdd})}),function(U){return U.length>0}),Q=[],x=C.length-1,d=0;d<C.length;++d)for(var F=C[d],S=0;S<F.length;++S){var E=Fl(F[S].value,t);Q.push({value:F[S].value,time:{level:x-d,upperTimeUnit:E,lowerTimeUnit:E}})}Q.sort(function(U,T){return U.value-T.value});for(var I=[],d=0;d<Q.length;++d)(d===0||Q[d].value!==Q[d-1].value)&&I.push(Q[d]);return I}Nr.registerClass(pw);var Rv=wt,LD=Math.floor,MD=Math.ceil,ou=Math.pow,su=Math.log,Bw=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new qi,t}return e.prototype.getTicks=function(t){t=t||{};var r=this._extent.slice(),n=this._originalScale.getExtent(),i=A.prototype.getTicks.call(this,t),a=this.base;return this._originalScale._innerGetBreaks(),Be(i,function(o){var s=o.value,l=null,u=ou(a,s);s===r[0]&&this._fixMin?l=n[0]:s===r[1]&&this._fixMax&&(l=n[1]);var f;return l!=null&&(u=Nv(u,l)),{value:u,break:f}},this)},e.prototype._getNonTransBreaks=function(){return this._originalScale._innerGetBreaks()},e.prototype.setExtent=function(t,r){this._originalScale.setExtent(t,r);var n=Mv(this.base,[t,r]);A.prototype.setExtent.call(this,n[0],n[1])},e.prototype.getExtent=function(){var t=this.base,r=A.prototype.getExtent.call(this);r[0]=ou(t,r[0]),r[1]=ou(t,r[1]);var n=this._originalScale.getExtent();return this._fixMin&&(r[0]=Nv(r[0],n[0])),this._fixMax&&(r[1]=Nv(r[1],n[1])),r},e.prototype.unionExtentFromData=function(t,r){this._originalScale.unionExtentFromData(t,r);var n=Mv(this.base,t.getApproximateExtent(r),!0);this._innerUnionExtent(n)},e.prototype.calcNiceTicks=function(t){t=t||10;var r=this._extent.slice(),n=this._getExtentSpanWithBreaks();if(!(!isFinite(n)||n<=0)){var i=DF(n),a=t/n*i;for(a<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[Rv(MD(r[0]/i)*i),Rv(LD(r[1]/i)*i)];this._interval=i,this._intervalPrecision=ho(i),this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){A.prototype.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.contain=function(t){return t=su(t)/su(this.base),A.prototype.contain.call(this,t)},e.prototype.normalize=function(t){return t=su(t)/su(this.base),A.prototype.normalize.call(this,t)},e.prototype.scale=function(t){return t=A.prototype.scale.call(this,t),ou(this.base,t)},e.prototype.setBreaksFromOption=function(t){},e.type="log",e})(qi);function Nv(A,e){return Rv(A,ar(e))}Nr.registerClass(Bw);var HD=(function(){function A(e,t,r){this._prepareParams(e,t,r)}return A.prototype._prepareParams=function(e,t,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var n=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=t.get("min",!0);i==null&&(i=t.get("startValue",!0));var a=this._modelMinRaw=i;me(a)?this._modelMinNum=lu(e,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=lu(e,a));var o=this._modelMaxRaw=t.get("max",!0);if(me(o)?this._modelMaxNum=lu(e,o({min:r[0],max:r[1]})):o!=="dataMax"&&(this._modelMaxNum=lu(e,o)),n)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),l=ae(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[Fr(l[0],1),Fr(l[1],1)]}},A.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,r=this._dataMax,n=this._axisDataLen,i=this._boundaryGapInner,a=e?null:r-t||Math.abs(t),o=this._modelMinRaw==="dataMin"?t:this._modelMinNum,s=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,l=o!=null,u=s!=null;o==null&&(o=e?n?0:NaN:t-i[0]*a),s==null&&(s=e?n?n-1:NaN:r+i[1]*a),(o==null||!isFinite(o))&&(o=NaN),(s==null||!isFinite(s))&&(s=NaN);var f=ai(o)||ai(s)||e&&!n;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return c!=null&&(o=c,l=!0),h!=null&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:f}},A.prototype.modifyDataMinMax=function(e,t){process.env.NODE_ENV!=="production"&&fe(!this.frozen),this[RD[e]]=t},A.prototype.setDeterminedMinMax=function(e,t){var r=OD[e];process.env.NODE_ENV!=="production"&&fe(!this.frozen&&this[r]==null),this[r]=t},A.prototype.freeze=function(){this.frozen=!0},A})(),OD={min:"_determinedMin",max:"_determinedMax"},RD={min:"_dataMin",max:"_dataMax"};function mw(A,e,t){var r=A.rawExtentInfo;return r||(r=new HD(A,e,t),A.rawExtentInfo=r,r)}function lu(A,e){return e==null?null:ai(e)?NaN:A.parse(e)}function yw(A,e){var t=A.type,r=mw(A,e,A.getExtent()).calculate();A.setBlank(r.isBlank);var n=r.min,i=r.max,a=e.ecModel;if(a&&t==="time"){var o=cw("bar",a),s=!1;if(b(o,function(f){s=s||f.getBaseAxis()===e.axis}),s){var l=hw(o),u=ND(n,i,e,l);n=u.min,i=u.max}}return{extent:[n,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function ND(A,e,t,r){var n=t.axis.getExtent(),i=Math.abs(n[1]-n[0]),a=wD(r,t.axis);if(a===void 0)return{min:A,max:e};var o=1/0;b(a,function(h){o=Math.min(h.offset,o)});var s=-1/0;b(a,function(h){s=Math.max(h.offset+h.width,s)}),o=Math.abs(o),s=Math.abs(s);var l=o+s,u=e-A,f=1-(o+s)/i,c=u/f-u;return e+=c*(s/l),A-=c*(o/l),{min:A,max:e}}function ww(A,e){var t=e,r=yw(A,t),n=r.extent,i=t.get("splitNumber");A instanceof Bw&&(A.base=t.get("logBase"));var a=A.type,o=t.get("interval"),s=a==="interval"||a==="time";A.setBreaksFromOption(Qw(t)),A.setExtent(n[0],n[1]),A.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?t.get("minInterval"):null,maxInterval:s?t.get("maxInterval"):null}),o!=null&&A.setInterval&&A.setInterval(o)}function PD(A,e){if(e=e||A.get("type"),e)switch(e){case"category":return new lw({ordinalMeta:A.getOrdinalMeta?A.getOrdinalMeta():A.getCategories(),extent:[1/0,-1/0]});case"time":return new pw({locale:A.ecModel.getLocaleModel(),useUTC:A.ecModel.get("useUTC")});default:return new(Nr.getClass(e)||qi)}}function kD(A){var e=A.scale.getExtent(),t=e[0],r=e[1];return!(t>0&&r>0||t<0&&r<0)}function vo(A){var e=A.getLabelModel().get("formatter");if(A.type==="time"){var t=IS(e);return function(n,i){return A.scale.getFormattedLabel(n,i,t)}}else{if(le(e))return function(n){var i=A.scale.getLabel(n),a=e.replace("{value}",i??"");return a};if(me(e)){if(A.type==="category")return function(n,i){return e(uu(A,n),n.value-A.scale.getExtent()[0],null)};var r=Cl();return function(n,i){var a=null;return r&&(a=r.makeAxisLabelFormatterParamBreak(a,n.break)),e(uu(A,n),i,a)}}else return function(n){return A.scale.getLabel(n)}}}function uu(A,e){return A.type==="category"?A.scale.getLabel(e):e.value}function Pv(A){var e=A.get("interval");return e??"auto"}function Cw(A){return A.type==="category"&&Pv(A.getLabelModel())===0}function _w(A,e){var t={};return b(A.mapDimensionsAll(e),function(r){t[aD(A,r)]=!0}),Xe(t)}function VD(A,e,t){e&&b(_w(e,t),function(r){var n=e.getApproximateExtent(r);n[0]<A[0]&&(A[0]=n[0]),n[1]>A[1]&&(A[1]=n[1])})}function $i(A){return A==="middle"||A==="center"}function po(A){return A.getShallow("show")}function Qw(A){var e=A.get("breaks",!0);if(e!=null){process.env.NODE_ENV!=="production"&&Ge('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');return}}var KD=(function(){function A(){}return A.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},A.prototype.getCoordSysModel=function(){},A})(),xw=[],GD={registerPreprocessor:Xy,registerProcessor:Zy,registerPostInit:DT,registerPostUpdate:LT,registerUpdateLifecycle:xv,registerAction:Kn,registerCoordinateSystem:MT,registerLayout:HT,registerVisual:Gn,registerTransform:RT,registerLoading:qy,registerMap:OT,registerImpl:hT,PRIORITY:FT,ComponentModel:Re,ComponentView:xA,SeriesModel:JA,ChartView:FA,registerComponentModel:function(A){Re.registerClass(A)},registerComponentView:function(A){xA.registerClass(A)},registerSeriesModel:function(A){JA.registerClass(A)},registerChartView:function(A){FA.registerClass(A)},registerCustomSeries:function(A,e){},registerSubTypeDefaulter:function(A,e){Re.registerSubTypeDefaulter(A,e)},registerPainter:function(A,e){bF(A,e)}};function qA(A){if(ae(A)){b(A,function(e){qA(e)});return}Te(xw,A)>=0||(xw.push(A),me(A)&&(A={install:A}),A.install(GD))}var zD=ze(),go=ze(),bA={estimate:1,determine:2};function fu(A){return{out:{noPxChangeTryDetermine:[]},kind:A}}function Fw(A,e){var t=Be(e,function(r){return A.scale.parse(r)});return A.type==="time"&&t.length>0&&(t.sort(),t.unshift(t[0]),t.push(t[t.length-1])),t}function WD(A,e){var t=A.getLabelModel().get("customValues");if(t){var r=vo(A),n=A.scale.getExtent(),i=Fw(A,t),a=rt(i,function(o){return o>=n[0]&&o<=n[1]});return{labels:Be(a,function(o){var s={value:o};return{formattedLabel:r(s),rawLabel:A.scale.getLabel(s),tickValue:o,time:void 0,break:void 0}})}}return A.type==="category"?XD(A,e):JD(A)}function YD(A,e,t){var r=A.getTickModel().get("customValues");if(r){var n=A.scale.getExtent(),i=Fw(A,r);return{ticks:rt(i,function(a){return a>=n[0]&&a<=n[1]})}}return A.type==="category"?ZD(A,e):{ticks:Be(A.scale.getTicks(t),function(a){return a.value})}}function XD(A,e){var t=A.getLabelModel(),r=Ew(A,t,e);return!t.get("show")||A.scale.isBlank()?{labels:[]}:r}function Ew(A,e,t){var r=$D(A),n=Pv(e),i=t.kind===bA.estimate;if(!i){var a=Sw(r,n);if(a)return a}var o,s;me(n)?o=Tw(A,n):(s=n==="auto"?jD(A,t):n,o=Iw(A,s));var l={labels:o,labelCategoryInterval:s};return i?t.out.noPxChangeTryDetermine.push(function(){return kv(r,n,l),!0}):kv(r,n,l),l}function ZD(A,e){var t=qD(A),r=Pv(e),n=Sw(t,r);if(n)return n;var i,a;if((!e.get("show")||A.scale.isBlank())&&(i=[]),me(r))i=Tw(A,r,!0);else if(r==="auto"){var o=Ew(A,A.getLabelModel(),fu(bA.determine));a=o.labelCategoryInterval,i=Be(o.labels,function(s){return s.tickValue})}else a=r,i=Iw(A,a,!0);return kv(t,r,{ticks:i,tickCategoryInterval:a})}function JD(A){var e=A.scale.getTicks(),t=vo(A);return{labels:Be(e,function(r,n){return{formattedLabel:t(r,n),rawLabel:A.scale.getLabel(r),tickValue:r.value,time:r.time,break:r.break}})}}var qD=bw("axisTick"),$D=bw("axisLabel");function bw(A){return function(t){return go(t)[A]||(go(t)[A]={list:[]})}}function Sw(A,e){for(var t=0;t<A.list.length;t++)if(A.list[t].key===e)return A.list[t].value}function kv(A,e,t){return A.list.push({key:e,value:t}),t}function jD(A,e){if(e.kind===bA.estimate){var t=A.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return go(A).autoInterval=t,!0}),t}var r=go(A).autoInterval;return r??(go(A).autoInterval=A.calculateCategoryInterval(e))}function eL(A,e){var t=e.kind,r=AL(A),n=vo(A),i=(r.axisRotate-r.labelRotate)/180*Math.PI,a=A.scale,o=a.getExtent(),s=a.count();if(o[1]-o[0]<1)return 0;var l=1,u=40;s>u&&(l=Math.max(1,Math.floor(s/u)));for(var f=o[0],c=A.dataToCoord(f+1)-A.dataToCoord(f),h=Math.abs(c*Math.cos(i)),v=Math.abs(c*Math.sin(i)),d=0,g=0;f<=o[1];f+=l){var p=0,B=0,m=Dg(n({value:f}),r.font,"center","top");p=m.width*1.3,B=m.height*1.3,d=Math.max(d,p,7),g=Math.max(g,B,7)}var y=d/h,_=g/v;isNaN(y)&&(y=1/0),isNaN(_)&&(_=1/0);var C=Math.max(0,Math.floor(Math.min(y,_)));if(t===bA.estimate)return e.out.noPxChangeTryDetermine.push(ye(tL,null,A,C,s)),C;var Q=Uw(A,C,s);return Q??C}function tL(A,e,t){return Uw(A,e,t)==null}function Uw(A,e,t){var r=zD(A.model),n=A.getExtent(),i=r.lastAutoInterval,a=r.lastTickCount;if(i!=null&&a!=null&&Math.abs(i-e)<=1&&Math.abs(a-t)<=1&&i>e&&r.axisExtent0===n[0]&&r.axisExtent1===n[1])return i;r.lastTickCount=t,r.lastAutoInterval=e,r.axisExtent0=n[0],r.axisExtent1=n[1]}function AL(A){var e=A.getLabelModel();return{axisRotate:A.getRotate?A.getRotate():A.isHorizontal&&!A.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function Iw(A,e,t){var r=vo(A),n=A.scale,i=n.getExtent(),a=A.getLabelModel(),o=[],s=Math.max((e||0)+1,1),l=i[0],u=n.count();l!==0&&s>1&&u/s>2&&(l=Math.round(Math.ceil(l/s)*s));var f=Cw(A),c=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;c&&l!==i[0]&&d(i[0]);for(var v=l;v<=i[1];v+=s)d(v);h&&v-s!==i[1]&&d(i[1]);function d(g){var p={value:g};o.push(t?g:{formattedLabel:r(p),rawLabel:n.getLabel(p),tickValue:g,time:void 0,break:void 0})}return o}function Tw(A,e,t){var r=A.scale,n=vo(A),i=[];return b(r.getTicks(),function(a){var o=r.getLabel(a),s=a.value;e(a.value,o)&&i.push(t?s:{formattedLabel:n(a),rawLabel:o,tickValue:s,time:void 0,break:void 0})}),i}var Dw=[0,1],rL=(function(){function A(e,t,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=r||[0,0]}return A.prototype.contain=function(e){var t=this._extent,r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=r&&e<=n},A.prototype.containData=function(e){return this.scale.contain(this.scale.parse(e))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.getPixelPrecision=function(e){return Ng(e||this.scale.getExtent(),this._extent)},A.prototype.setExtent=function(e,t){var r=this._extent;r[0]=e,r[1]=t},A.prototype.dataToCoord=function(e,t){var r=this._extent,n=this.scale;return e=n.normalize(n.parse(e)),this.onBand&&n.type==="ordinal"&&(r=r.slice(),Lw(r,n.count())),dt(e,Dw,r,t)},A.prototype.coordToData=function(e,t){var r=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(r=r.slice(),Lw(r,n.count()));var i=dt(e,r,Dw,t);return this.scale.scale(i)},A.prototype.pointToData=function(e,t){},A.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),r=YD(this,t,{breakTicks:e.breakTicks,pruneByBreak:e.pruneByBreak}),n=r.ticks,i=Be(n,function(o){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(o):o),tickValue:o}},this),a=t.get("alignWithLabel");return nL(this,i,a,e.clamp),i},A.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var r=this.scale.getMinorTicks(t),n=Be(r,function(i){return Be(i,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return n},A.prototype.getViewLabels=function(e){return e=e||fu(bA.determine),WD(this,e).labels},A.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},A.prototype.getTickModel=function(){return this.model.getModel("axisTick")},A.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),r=t[1]-t[0]+(this.onBand?1:0);r===0&&(r=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/r},A.prototype.calculateCategoryInterval=function(e){return e=e||fu(bA.determine),eL(this,e)},A})();function Lw(A,e){var t=A[1]-A[0],r=e,n=t/r/2;A[0]+=n,A[1]-=n}function nL(A,e,t,r){var n=e.length;if(!A.onBand||t||!n)return;var i=A.getExtent(),a,o;if(n===1)e[0].coord=i[0],e[0].onBand=!0,a=e[1]={coord:i[1],tickValue:e[0].tickValue,onBand:!0};else{var s=e[n-1].tickValue-e[0].tickValue,l=(e[n-1].coord-e[0].coord)/s;b(e,function(h){h.coord-=l/2,h.onBand=!0});var u=A.scale.getExtent();o=1+u[1]-e[n-1].tickValue,a={coord:e[n-1].coord+l*o,tickValue:u[1]+1,onBand:!0},e.push(a)}var f=i[0]>i[1];c(e[0].coord,i[0])&&(r?e[0].coord=i[0]:e.shift()),r&&c(i[0],e[0].coord)&&e.unshift({coord:i[0],onBand:!0}),c(i[1],a.coord)&&(r?a.coord=i[1]:e.pop()),r&&c(a.coord,i[1])&&e.push({coord:i[1],onBand:!0});function c(h,v){return h=wt(h),v=wt(v),f?h>v:h<v}}var Bo=Math.PI*2,zn=Sr.CMD,iL=["top","right","bottom","left"];function aL(A,e,t,r,n){var i=t.width,a=t.height;switch(A){case"top":r.set(t.x+i/2,t.y-e),n.set(0,-1);break;case"bottom":r.set(t.x+i/2,t.y+a+e),n.set(0,1);break;case"left":r.set(t.x-e,t.y+a/2),n.set(-1,0);break;case"right":r.set(t.x+i+e,t.y+a/2),n.set(1,0);break}}function oL(A,e,t,r,n,i,a,o,s){a-=A,o-=e;var l=Math.sqrt(a*a+o*o);a/=l,o/=l;var u=a*t+A,f=o*t+e;if(Math.abs(r-n)%Bo<1e-4)return s[0]=u,s[1]=f,l-t;if(i){var c=r;r=sr(n),n=sr(c)}else r=sr(r),n=sr(n);r>n&&(n+=Bo);var h=Math.atan2(o,a);if(h<0&&(h+=Bo),h>=r&&h<=n||h+Bo>=r&&h+Bo<=n)return s[0]=u,s[1]=f,l-t;var v=t*Math.cos(r)+A,d=t*Math.sin(r)+e,g=t*Math.cos(n)+A,p=t*Math.sin(n)+e,B=(v-a)*(v-a)+(d-o)*(d-o),m=(g-a)*(g-a)+(p-o)*(p-o);return B<m?(s[0]=v,s[1]=d,Math.sqrt(B)):(s[0]=g,s[1]=p,Math.sqrt(m))}function Vv(A,e,t,r,n,i,a,o){var s=n-A,l=i-e,u=t-A,f=r-e,c=Math.sqrt(u*u+f*f);u/=c,f/=c;var h=s*u+l*f,v=h/c;o&&(v=Math.min(Math.max(v,0),1)),v*=c;var d=a[0]=A+v*u,g=a[1]=e+v*f;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function Mw(A,e,t,r,n,i,a){t<0&&(A=A+t,t=-t),r<0&&(e=e+r,r=-r);var o=A+t,s=e+r,l=a[0]=Math.min(Math.max(n,A),o),u=a[1]=Math.min(Math.max(i,e),s);return Math.sqrt((l-n)*(l-n)+(u-i)*(u-i))}var SA=[];function sL(A,e,t){var r=Mw(e.x,e.y,e.width,e.height,A.x,A.y,SA);return t.set(SA[0],SA[1]),r}function lL(A,e,t){for(var r=0,n=0,i=0,a=0,o,s,l=1/0,u=e.data,f=A.x,c=A.y,h=0;h<u.length;){var v=u[h++];h===1&&(r=u[h],n=u[h+1],i=r,a=n);var d=l;switch(v){case zn.M:i=u[h++],a=u[h++],r=i,n=a;break;case zn.L:d=Vv(r,n,u[h],u[h+1],f,c,SA,!0),r=u[h++],n=u[h++];break;case zn.C:d=sg(r,n,u[h++],u[h++],u[h++],u[h++],u[h],u[h+1],f,c,SA),r=u[h++],n=u[h++];break;case zn.Q:d=fg(r,n,u[h++],u[h++],u[h],u[h+1],f,c,SA),r=u[h++],n=u[h++];break;case zn.A:var g=u[h++],p=u[h++],B=u[h++],m=u[h++],y=u[h++],_=u[h++];h+=1;var C=!!(1-u[h++]);o=Math.cos(y)*B+g,s=Math.sin(y)*m+p,h<=1&&(i=o,a=s);var Q=(f-g)*m/B+g;d=oL(g,p,m,y,y+_,C,Q,c,SA),r=Math.cos(y+_)*B+g,n=Math.sin(y+_)*m+p;break;case zn.R:i=r=u[h++],a=n=u[h++];var x=u[h++],F=u[h++];d=Mw(i,a,x,F,f,c,SA);break;case zn.Z:d=Vv(r,n,i,a,f,c,SA,!0),r=i,n=a;break}d<l&&(l=d,t.set(SA[0],SA[1]))}return l}var Wn=new be,mt=new be,jt=new be,ji=new be,mo=new be;function Hw(A,e){if(A){var t=A.getTextGuideLine(),r=A.getTextContent();if(r&&t){var n=A.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],a=n.candidates||iL,o=r.getBoundingRect().clone();o.applyTransform(r.getComputedTransform());var s=1/0,l=n.anchor,u=A.getComputedTransform(),f=u&&vi([],u),c=e.get("length2")||0;l&&jt.copy(l);for(var h=0;h<a.length;h++){var v=a[h];aL(v,0,o,Wn,ji),be.scaleAndAdd(mt,Wn,ji,c),mt.transform(f);var d=A.getBoundingRect(),g=l?l.distance(mt):A instanceof ke?lL(mt,A.path,jt):sL(mt,d,jt);g<s&&(s=g,mt.transform(u),jt.transform(u),jt.toArray(i[0]),mt.toArray(i[1]),Wn.toArray(i[2]))}uL(i,e.get("minTurnAngle")),t.setShape({points:i})}}}var Ow=[],Yn=new be;function uL(A,e){if(e<=180&&e>0){e=e/180*Math.PI,Wn.fromArray(A[0]),mt.fromArray(A[1]),jt.fromArray(A[2]),be.sub(ji,Wn,mt),be.sub(mo,jt,mt);var t=ji.len(),r=mo.len();if(!(t<.001||r<.001)){ji.scale(1/t),mo.scale(1/r);var n=ji.dot(mo),i=Math.cos(e);if(i<n){var a=Vv(mt.x,mt.y,jt.x,jt.y,Wn.x,Wn.y,Ow,!1);Yn.fromArray(Ow),Yn.scaleAndAdd(mo,a/Math.tan(Math.PI-e));var o=jt.x!==mt.x?(Yn.x-mt.x)/(jt.x-mt.x):(Yn.y-mt.y)/(jt.y-mt.y);if(isNaN(o))return;o<0?be.copy(Yn,mt):o>1&&be.copy(Yn,jt),Yn.toArray(A[1])}}}}function Kv(A,e,t,r){var n=t==="normal",i=n?A:A.ensureState(t);i.ignore=e;var a=r.get("smooth");a&&a===!0&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var o=r.getModel("lineStyle").getLineStyle();n?A.useStyle(o):i.style=o}function fL(A,e){var t=e.smooth,r=e.points;if(r)if(A.moveTo(r[0][0],r[0][1]),t>0&&r.length>=3){var n=Mf(r[0],r[1]),i=Mf(r[1],r[2]);if(!n||!i){A.lineTo(r[1][0],r[1][1]),A.lineTo(r[2][0],r[2][1]);return}var a=Math.min(n,i)*t,o=Hf([],r[1],r[0],a/n),s=Hf([],r[1],r[2],a/i),l=Hf([],o,s,.5);A.bezierCurveTo(o[0],o[1],o[0],o[1],l[0],l[1]),A.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)A.lineTo(r[u][0],r[u][1])}function cL(A,e,t){var r=A.getTextGuideLine(),n=A.getTextContent();if(!n){r&&A.removeTextGuideLine();return}for(var i=e.normal,a=i.get("show"),o=n.ignore,s=0;s<zs.length;s++){var l=zs[s],u=e[l],f=l==="normal";if(u){var c=u.get("show"),h=f?o:ve(n.states[l]&&n.states[l].ignore,o);if(h||!ve(c,a)){var v=f?r:r&&r.states[l];v&&(v.ignore=!0),r&&Kv(r,!0,l,u);continue}r||(r=new ka,A.setTextGuideLine(r),!f&&(o||!a)&&Kv(r,!0,"normal",e.normal),A.stateProxy&&(r.stateProxy=A.stateProxy)),Kv(r,!1,l,u)}}if(r){Ne(r.style,t),r.style.fill=null;var d=i.get("showAbove"),g=A.textGuideLineConfig=A.textGuideLineConfig||{};g.showAbove=d||!1,r.buildPath=fL}}function hL(A,e){e=e||"labelLine";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}var Rw=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"],vL=1,cu=2,Nw=vL|cu;function hu(A,e,t){t=t||Nw,e?A.dirty|=t:A.dirty&=~t}function Pw(A,e){return e=e||Nw,A.dirty==null||!!(A.dirty&e)}function kr(A){if(A)return Pw(A)&&dL(A,A.label,A),A}function dL(A,e,t){var r=e.getComputedTransform();A.transform=wh(A.transform,r);var n=A.localRect=Ga(A.localRect,e.getBoundingRect()),i=e.style,a=i.margin,o=t&&t.marginForce,s=t&&t.minMarginForce,l=t&&t.marginDefault,u=i.__marginType;u==null&&l&&(a=l,u=Hi.textMargin);for(var f=0;f<4;f++)Gv[f]=u===Hi.minMargin&&s&&s[f]!=null?s[f]:o&&o[f]!=null?o[f]:a?a[f]:0;u===Hi.textMargin&&fl(n,Gv,!1,!1);var c=A.rect=Ga(A.rect,n);return r&&c.applyTransform(r),u===Hi.minMargin&&fl(c,Gv,!1,!1),A.axisAligned=yh(r),(A.label=A.label||{}).ignore=e.ignore,hu(A,!1),hu(A,!0,cu),A}var Gv=[0,0,0,0];function pL(A,e,t){return A.transform=wh(A.transform,t),A.localRect=Ga(A.localRect,e),A.rect=Ga(A.rect,e),t&&A.rect.applyTransform(t),A.axisAligned=yh(t),A.obb=void 0,(A.label=A.label||{}).ignore=!1,A}function gL(A,e){if(A){A.label.x+=e.x,A.label.y+=e.y,A.label.markRedraw();var t=A.transform;t&&(t[4]+=e.x,t[5]+=e.y);var r=A.rect;r&&(r.x+=e.x,r.y+=e.y);var n=A.obb;n&&n.fromBoundingRect(A.localRect,t)}}function zv(A,e){for(var t=0;t<Rw.length;t++){var r=Rw[t];A[r]==null&&(A[r]=e[r])}return kr(A)}function kw(A){var e=A.obb;return(!e||Pw(A,cu))&&(A.obb=e=e||new fB,e.fromBoundingRect(A.localRect,A.transform),hu(A,!1,cu)),e}function Vw(A,e,t,r,n){var i=A.length,a=Dr[e],o=Li[e];if(i<2)return!1;A.sort(function(Q,x){return Q.rect[a]-x.rect[a]});for(var s=0,l,u=!1,f=0;f<i;f++){var c=A[f],h=c.rect;l=h[a]-s,l<0&&(h[a]-=l,c.label[a]-=l,u=!0),s=h[a]+h[o]}var v=A[0],d=A[i-1],g,p;B(),g<0&&_(-g,.8),p<0&&_(p,.8),B(),m(g,p,1),m(p,g,-1),B(),g<0&&C(-g),p<0&&C(p);function B(){g=v.rect[a]-t,p=r-d.rect[a]-d.rect[o]}function m(Q,x,F){if(Q<0){var S=Math.min(x,-Q);if(S>0){y(S*F,0,i);var E=S+Q;E<0&&_(-E*F,1)}else _(-Q*F,1)}}function y(Q,x,F){Q!==0&&(u=!0);for(var S=x;S<F;S++){var E=A[S],I=E.rect;I[a]+=Q,E.label[a]+=Q}}function _(Q,x){for(var F=[],S=0,E=1;E<i;E++){var I=A[E-1].rect,U=Math.max(A[E].rect[a]-I[a]-I[o],0);F.push(U),S+=U}if(S){var T=Math.min(Math.abs(Q)/S,x);if(Q>0)for(var E=0;E<i-1;E++){var L=F[E]*T;y(L,0,E+1)}else for(var E=i-1;E>0;E--){var L=F[E-1]*T;y(-L,E,i)}}}function C(Q){var x=Q<0?-1:1;Q=Math.abs(Q);for(var F=Math.ceil(Q/(i-1)),S=0;S<i-1;S++)if(x>0?y(F,0,S+1):y(-F,i-S-1,i),Q-=F,Q<=0)return}return u}function BL(A){for(var e=0;e<A.length;e++){var t=A[e],r=t.defaultAttr,n=t.labelLine;t.label.attr("ignore",r.ignore),n&&n.attr("ignore",r.labelGuideIgnore)}}function Kw(A){var e=[];A.sort(function(l,u){return(u.suggestIgnore?1:0)-(l.suggestIgnore?1:0)||u.priority-l.priority});function t(l){if(!l.ignore){var u=l.ensureState("emphasis");u.ignore==null&&(u.ignore=!1)}l.ignore=!0}for(var r=0;r<A.length;r++){var n=kr(A[r]);if(!n.label.ignore){for(var i=n.label,a=n.labelLine,o=!1,s=0;s<e.length;s++)if(Wv(n,e[s],null,{touchThreshold:.05})){o=!0;break}o?(t(i),a&&t(a)):e.push(n)}}}function Wv(A,e,t,r){return!A||!e||A.label&&A.label.ignore||e.label&&e.label.ignore||!A.rect.intersect(e.rect,t,r)?!1:A.axisAligned&&e.axisAligned?!0:kw(A).intersect(kw(e),t,r)}function mL(A){if(A){for(var e=[],t=0;t<A.length;t++)e.push(A[t].slice());return e}}function yL(A,e){var t=A.label,r=e&&e.getTextGuideLine();return{dataIndex:A.dataIndex,dataType:A.dataType,seriesIndex:A.seriesModel.seriesIndex,text:A.label.style.text,rect:A.hostRect,labelRect:A.rect,align:t.style.align,verticalAlign:t.style.verticalAlign,labelLinePoints:mL(r&&r.shape.points)}}var Gw=["align","verticalAlign","width","height","fontSize"],Rt=new xs,Yv=ze(),wL=ze();function vu(A,e,t){for(var r=0;r<t.length;r++){var n=t[r];e[n]!=null&&(A[n]=e[n])}}var du=["x","y","rotation"],CL=(function(){function A(){this._labelList=[],this._chartViewList=[]}return A.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},A.prototype._addLabel=function(e,t,r,n,i){var a=n.style,o=n.__hostTarget,s=o.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Fe.applyTransform(u,u,l),l?Rt.setLocalTransform(l):(Rt.x=Rt.y=Rt.rotation=Rt.originX=Rt.originY=0,Rt.scaleX=Rt.scaleY=1),Rt.rotation=sr(Rt.rotation);var f=n.__hostTarget,c;if(f){c=f.getBoundingRect().plain();var h=f.getComputedTransform();Fe.applyTransform(c,c,h)}var v=c&&f.getTextGuideLine();this._labelList.push({label:n,labelLine:v,seriesModel:r,dataIndex:e,dataType:t,layoutOptionOrCb:i,layoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:v&&v.ignore,x:Rt.x,y:Rt.y,scaleX:Rt.scaleX,scaleY:Rt.scaleY,rotation:Rt.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},A.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var r=e.__model,n=r.get("labelLayout");(me(n)||Xe(n).length)&&e.group.traverse(function(i){if(i.ignore)return!0;var a=i.getTextContent(),o=Le(i);a&&!a.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,r,a,n)})},A.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),r=e.getHeight();function n(m,y){return function(){Hw(m,y)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;me(a.layoutOptionOrCb)?u=a.layoutOptionOrCb(yL(a,s)):u=a.layoutOptionOrCb,u=u||{},a.layoutOption=u;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:l.attachedPos,rotation:u.rotate!=null?u.rotate*f:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(u.x!=null?(o.x=ht(u.x,t),o.setStyle("x",0),c=!0):(o.x=l.x,o.setStyle("x",l.style.x)),u.y!=null?(o.y=ht(u.y,r),o.setStyle("y",0),c=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}var v=Yv(o);v.needsUpdateLabelLine=c,o.rotation=u.rotate!=null?u.rotate*f:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var d=0;d<Gw.length;d++){var g=Gw[d];o.setStyle(g,u[g]!=null?u[g]:l.style[g])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var p=a.seriesModel;if(a.dataIndex!=null){var B=a.seriesModel.getData(a.dataType);p=B.getItemModel(a.dataIndex)}o.on("drag",n(s,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},A.prototype.layout=function(e){var t=e.getWidth(),r=e.getHeight(),n=[];b(this._labelList,function(s){s.defaultAttr.ignore||n.push(zv({},s))});var i=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftX"}),a=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftY"});Vw(i,0,0,t),Vw(a,1,0,r);var o=rt(n,function(s){return s.layoutOption.hideOverlap});BL(o),Kw(o)},A.prototype.processLabelsOverall=function(){var e=this;b(this._chartViewList,function(t){var r=t.__model,n=t.ignoreLabelLineUpdate,i=r.isAnimationEnabled();t.group.traverse(function(a){if(a.ignore&&!a.forceLabelAnimation)return!0;var o=!n,s=a.getTextContent();!o&&s&&(o=Yv(s).needsUpdateLabelLine),o&&e._updateLabelLine(a,r),i&&e._animateLabels(a,r)})})},A.prototype._updateLabelLine=function(e,t){var r=e.getTextContent(),n=Le(e),i=n.dataIndex;if(r&&i!=null){var a=t.getData(n.dataType),o=a.getItemModel(i),s={},l=a.getItemVisual(i,"style");if(l){var u=a.getVisual("drawType");s.stroke=l[u]}var f=o.getModel("labelLine");cL(e,hL(o),s),Hw(e,f)}},A.prototype._animateLabels=function(e,t){var r=e.getTextContent(),n=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!Di(e))){var i=Yv(r),a=i.oldLayout,o=Le(e),s=o.dataIndex,l={x:r.x,y:r.y,rotation:r.rotation},u=t.getData(o.dataType);if(a){r.attr(a);var c=e.prevStates;c&&(Te(c,"select")>=0&&r.attr(i.oldLayoutSelect),Te(c,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),Et(r,l,t,s)}else if(r.attr(l),!Mi(r).valueAnimation){var f=ve(r.style.opacity,1);r.style.opacity=0,lA(r,{style:{opacity:f}},t,s)}if(i.oldLayout=l,r.states.select){var h=i.oldLayoutSelect={};vu(h,l,du),vu(h,r.states.select,du)}if(r.states.emphasis){var v=i.oldLayoutEmphasis={};vu(v,l,du),vu(v,r.states.emphasis,du)}cS(r,s,u,t,t)}if(n&&!n.ignore&&!n.invisible){var i=wL(n),a=i.oldLayout,d={points:n.shape.points};a?(n.attr({shape:a}),Et(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,lA(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},A})(),Xv=ze();function _L(A){A.registerUpdateLifecycle("series:beforeupdate",function(e,t,r){var n=Xv(t).labelManager;n||(n=Xv(t).labelManager=new CL),n.clearLabels()}),A.registerUpdateLifecycle("series:layoutlabels",function(e,t,r){var n=Xv(t).labelManager;r.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}var QL=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t){if(process.env.NODE_ENV!=="production"){var r=t.coordinateSystem;if(r!=="polar"&&r!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Iv(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var r=new lt,n=Or("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);r.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),o=i==="none"?"circle":i,s=t.itemHeight*.8,l=Or(o,(t.itemWidth-s)/2,(t.itemHeight-s)/2,s,s,t.itemStyle.fill);r.add(l),l.setStyle(t.itemStyle);var u=t.iconRotate==="inherit"?a:t.iconRotate||0;return l.rotation=u*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill=oe.color.neutral00,l.style.lineWidth=2),r},e.type="series.line",e.dependencies=["grid","polar"],e.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:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e})(JA);function Zv(A,e){var t=A.mapDimensionsAll("defaultedLabel"),r=t.length;if(r===1){var n=ki(A,e,t[0]);return n!=null?n+"":null}else if(r){for(var i=[],a=0;a<t.length;a++)i.push(ki(A,e,t[a]));return i.join(" ")}}function zw(A,e){var t=A.mapDimensionsAll("defaultedLabel");if(!ae(e))return e+"";for(var r=[],n=0;n<t.length;n++){var i=A.getDimensionIndex(t[n]);i>=0&&r.push(e[i])}return r.join(" ")}var Jv=(function(A){J(e,A);function e(t,r,n,i){var a=A.call(this)||this;return a.updateData(t,r,n,i),a}return e.prototype._createSymbol=function(t,r,n,i,a,o){this.removeAll();var s=Or(t,-1,-1,2,2,null,o);s.attr({z2:ve(a,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=xL,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Js(this.childAt(0))},e.prototype.downplay=function(){qs(this.childAt(0))},e.prototype.setZ=function(t,r){var n=this.childAt(0);n.zlevel=t,n.z=r},e.prototype.setDraggable=function(t,r){var n=this.childAt(0);n.draggable=t,n.cursor=!r&&t?"move":n.cursor},e.prototype.updateData=function(t,r,n,i){this.silent=!1;var a=t.getItemVisual(r,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,r),l=e.getSymbolZ2(t,r),u=a!==this._symbolType,f=i&&i.disableAnimation;if(u){var c=t.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,t,r,s,l,c)}else{var h=this.childAt(0);h.silent=!1;var v={scaleX:s[0]/2,scaleY:s[1]/2};f?h.attr(v):Et(h,v,o,r),hB(h)}if(this._updateCommon(t,r,s,n,i),u){var h=this.childAt(0);if(!f){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,lA(h,v,o,r)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,r,n,i,a){var o=this.childAt(0),s=t.hostModel,l,u,f,c,h,v,d,g,p;if(i&&(l=i.emphasisItemStyle,u=i.blurItemStyle,f=i.selectItemStyle,c=i.focus,h=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,p=i.cursorStyle,v=i.emphasisDisabled),!i||t.hasItemOption){var B=i&&i.itemModel?i.itemModel:t.getItemModel(r),m=B.getModel("emphasis");l=m.getModel("itemStyle").getItemStyle(),f=B.getModel(["select","itemStyle"]).getItemStyle(),u=B.getModel(["blur","itemStyle"]).getItemStyle(),c=m.get("focus"),h=m.get("blurScope"),v=m.get("disabled"),d=gl(B),g=m.getShallow("scale"),p=B.getShallow("cursor")}var y=t.getItemVisual(r,"symbolRotate");o.attr("rotation",(y||0)*Math.PI/180||0);var _=sy(t.getItemVisual(r,"symbolOffset"),n);_&&(o.x=_[0],o.y=_[1]),p&&o.attr("cursor",p);var C=t.getItemVisual(r,"style"),Q=C.fill;if(o instanceof Ir){var x=o.style;o.useStyle(Y({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},C))}else o.__isEmptyBrush?o.useStyle(Y({},C)):o.useStyle(C),o.style.decal=null,o.setColor(Q,a&&a.symbolInnerColor),o.style.strokeNoScale=!0;var F=t.getItemVisual(r,"liftZ"),S=this._z2;F!=null?S==null&&(this._z2=o.z2,o.z2+=F):S!=null&&(o.z2=S,this._z2=null);var E=a&&a.useNameLabel;pl(o,d,{labelFetcher:s,labelDataIndex:r,defaultText:I,inheritColor:Q,defaultOpacity:C.opacity});function I(L){return E?t.getName(L):Zv(t,L)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var U=o.ensureState("emphasis");U.style=l,o.ensureState("select").style=f,o.ensureState("blur").style=u;var T=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;U.scaleX=this._sizeX*T,U.scaleY=this._sizeY*T,this.setSymbolScale(1),js(this,c,h,v)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,r,n){var i=this.childAt(0),a=Le(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var s=i.getTextContent();s&&ll(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();ll(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:t,removeOpt:o})},e.getSymbolSize=function(t,r){return JI(t.getItemVisual(r,"symbolSize"))},e.getSymbolZ2=function(t,r){return t.getItemVisual(r,"z2")},e})(lt);function xL(A,e){this.parent.drift(A,e)}function qv(A,e,t,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(t))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&A.getItemVisual(t,"symbol")!=="none"}function Ww(A){return A!=null&&!he(A)&&(A={isIgnore:A}),A||{}}function Yw(A){var e=A.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:gl(e),cursorStyle:e.get("cursor")}}var FL=(function(){function A(e){this.group=new lt,this._SymbolCtor=e||Jv}return A.prototype.updateData=function(e,t){this._progressiveEls=null,t=Ww(t);var r=this.group,n=e.hostModel,i=this._data,a=this._SymbolCtor,o=t.disableAnimation,s=Yw(e),l={disableAnimation:o},u=t.getSymbolPoint||function(f){return e.getItemLayout(f)};i||r.removeAll(),e.diff(i).add(function(f){var c=u(f);if(qv(e,c,f,t)){var h=new a(e,f,s,l);h.setPosition(c),e.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,c){var h=i.getItemGraphicEl(c),v=u(f);if(!qv(e,v,f,t)){r.remove(h);return}var d=e.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==d)r.remove(h),h=new a(e,f,s,l),h.setPosition(v);else{h.updateData(e,f,s,l);var p={x:v[0],y:v[1]};o?h.attr(p):Et(h,p,n)}r.add(h),e.setItemGraphicEl(f,h)}).remove(function(f){var c=i.getItemGraphicEl(f);c&&c.fadeOut(function(){r.remove(c)},n)}).execute(),this._getSymbolPoint=u,this._data=e},A.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(r,n){var i=e._getSymbolPoint(n);r.setPosition(i),r.markRedraw()})},A.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Yw(e),this._data=null,this.group.removeAll()},A.prototype.incrementalUpdate=function(e,t,r){this._progressiveEls=[],r=Ww(r);function n(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i<e.end;i++){var a=t.getItemLayout(i);if(qv(t,a,i,r)){var o=new this._SymbolCtor(t,i,this._seriesScope);o.traverse(n),o.setPosition(a),this.group.add(o),t.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},A.prototype.eachRendered=function(e){hl(this._progressiveEls||this.group,e)},A.prototype.remove=function(e){var t=this.group,r=this._data;r&&e?r.eachItemGraphicEl(function(n){n.fadeOut(function(){t.remove(n)},r.hostModel)}):t.removeAll()},A})();function Xw(A,e,t){var r=A.getBaseAxis(),n=A.getOtherAxis(r),i=EL(n,t),a=r.dim,o=n.dim,s=e.mapDimension(o),l=e.mapDimension(a),u=o==="x"||o==="radius"?1:0,f=Be(A.dimensions,function(v){return e.mapDimension(v)}),c=!1,h=e.getCalculationInfo("stackResultDimension");return Ji(e,f[0])&&(c=!0,f[0]=h),Ji(e,f[1])&&(c=!0,f[1]=h),{dataDimsForPoint:f,valueStart:i,valueAxisDim:o,baseAxisDim:a,stacked:!!c,valueDim:s,baseDim:l,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function EL(A,e){var t=0,r=A.scale.getExtent();return e==="start"?t=r[0]:e==="end"?t=r[1]:Ye(e)&&!isNaN(e)?t=e:r[0]>0?t=r[0]:r[1]<0&&(t=r[1]),t}function Zw(A,e,t,r){var n=NaN;A.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),r)),isNaN(n)&&(n=A.valueStart);var i=A.baseDataOffset,a=[];return a[i]=t.get(A.baseDim,r),a[1-i]=n,e.dataToPoint(a)}function bL(A,e){var t=[];return e.diff(A).add(function(r){t.push({cmd:"+",idx:r})}).update(function(r,n){t.push({cmd:"=",idx:n,idx1:r})}).remove(function(r){t.push({cmd:"-",idx:r})}).execute(),t}function SL(A,e,t,r,n,i,a,o){for(var s=bL(A,e),l=[],u=[],f=[],c=[],h=[],v=[],d=[],g=Xw(n,e,a),p=A.getLayout("points")||[],B=e.getLayout("points")||[],m=0;m<s.length;m++){var y=s[m],_=!0,C=void 0,Q=void 0;switch(y.cmd){case"=":C=y.idx*2,Q=y.idx1*2;var x=p[C],F=p[C+1],S=B[Q],E=B[Q+1];(isNaN(x)||isNaN(F))&&(x=S,F=E),l.push(x,F),u.push(S,E),f.push(t[C],t[C+1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(y.idx1));break;case"+":var I=y.idx,U=g.dataDimsForPoint,T=n.dataToPoint([e.get(U[0],I),e.get(U[1],I)]);Q=I*2,l.push(T[0],T[1]),u.push(B[Q],B[Q+1]);var L=Zw(g,n,e,I);f.push(L[0],L[1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(I));break;case"-":_=!1}_&&(h.push(y),v.push(v.length))}v.sort(function(K,N){return d[K]-d[N]});for(var P=l.length,Z=vr(P),V=vr(P),X=vr(P),ee=vr(P),te=[],m=0;m<v.length;m++){var D=v[m],M=m*2,H=D*2;Z[M]=l[H],Z[M+1]=l[H+1],V[M]=u[H],V[M+1]=u[H+1],X[M]=f[H],X[M+1]=f[H+1],ee[M]=c[H],ee[M+1]=c[H+1],te[m]=h[D]}return{current:Z,next:V,stackedOnCurrent:X,stackedOnNext:ee,status:te}}var Vr=Math.min,Kr=Math.max;function Xn(A,e){return isNaN(A)||isNaN(e)}function $v(A,e,t,r,n,i,a,o,s){for(var l,u,f,c,h,v,d=t,g=0;g<r;g++){var p=e[d*2],B=e[d*2+1];if(d>=n||d<0)break;if(Xn(p,B)){if(s){d+=i;continue}break}if(d===t)A[i>0?"moveTo":"lineTo"](p,B),f=p,c=B;else{var m=p-l,y=B-u;if(m*m+y*y<.5){d+=i;continue}if(a>0){for(var _=d+i,C=e[_*2],Q=e[_*2+1];C===p&&Q===B&&g<r;)g++,_+=i,d+=i,C=e[_*2],Q=e[_*2+1],p=e[d*2],B=e[d*2+1],m=p-l,y=B-u;var x=g+1;if(s)for(;Xn(C,Q)&&x<r;)x++,_+=i,C=e[_*2],Q=e[_*2+1];var F=.5,S=0,E=0,I=void 0,U=void 0;if(x>=r||Xn(C,Q))h=p,v=B;else{S=C-l,E=Q-u;var T=p-l,L=C-p,P=B-u,Z=Q-B,V=void 0,X=void 0;if(o==="x"){V=Math.abs(T),X=Math.abs(L);var ee=S>0?1:-1;h=p-ee*V*a,v=B,I=p+ee*X*a,U=B}else if(o==="y"){V=Math.abs(P),X=Math.abs(Z);var te=E>0?1:-1;h=p,v=B-te*V*a,I=p,U=B+te*X*a}else V=Math.sqrt(T*T+P*P),X=Math.sqrt(L*L+Z*Z),F=X/(X+V),h=p-S*a*(1-F),v=B-E*a*(1-F),I=p+S*a*F,U=B+E*a*F,I=Vr(I,Kr(C,p)),U=Vr(U,Kr(Q,B)),I=Kr(I,Vr(C,p)),U=Kr(U,Vr(Q,B)),S=I-p,E=U-B,h=p-S*V/X,v=B-E*V/X,h=Vr(h,Kr(l,p)),v=Vr(v,Kr(u,B)),h=Kr(h,Vr(l,p)),v=Kr(v,Vr(u,B)),S=p-h,E=B-v,I=p+S*X/V,U=B+E*X/V}A.bezierCurveTo(f,c,h,v,p,B),f=I,c=U}else A.lineTo(p,B)}l=p,u=B,d+=i}return g}var Jw=(function(){function A(){this.smooth=0,this.smoothConstraint=!0}return A})(),UL=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polyline",r}return e.prototype.getDefaultStyle=function(){return{stroke:oe.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new Jw},e.prototype.buildPath=function(t,r){var n=r.points,i=0,a=n.length/2;if(r.connectNulls){for(;a>0&&Xn(n[a*2-2],n[a*2-1]);a--);for(;i<a&&Xn(n[i*2],n[i*2+1]);i++);}for(;i<a;)i+=$v(t,n,i,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},e.prototype.getPointOn=function(t,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n=this.path,i=n.data,a=Sr.CMD,o,s,l=r==="x",u=[],f=0;f<i.length;){var c=i[f++],h=void 0,v=void 0,d=void 0,g=void 0,p=void 0,B=void 0,m=void 0;switch(c){case a.M:o=i[f++],s=i[f++];break;case a.L:if(h=i[f++],v=i[f++],m=l?(t-o)/(h-o):(t-s)/(v-s),m<=1&&m>=0){var y=l?(v-s)*m+s:(h-o)*m+o;return l?[t,y]:[y,t]}o=h,s=v;break;case a.C:h=i[f++],v=i[f++],d=i[f++],g=i[f++],p=i[f++],B=i[f++];var _=l?fs(o,h,d,p,t,u):fs(s,v,g,B,t,u);if(_>0)for(var C=0;C<_;C++){var Q=u[C];if(Q<=1&&Q>=0){var y=l?ct(s,v,g,B,Q):ct(o,h,d,p,Q);return l?[t,y]:[y,t]}}o=p,s=B;break}}},e})(ke),IL=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(Jw),TL=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polygon",r}return e.prototype.getDefaultShape=function(){return new IL},e.prototype.buildPath=function(t,r){var n=r.points,i=r.stackedOnPoints,a=0,o=n.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;o>0&&Xn(n[o*2-2],n[o*2-1]);o--);for(;a<o&&Xn(n[a*2],n[a*2+1]);a++);}for(;a<o;){var l=$v(t,n,a,o,o,1,r.smooth,s,r.connectNulls);$v(t,i,a+l-1,l,o,-1,r.stackedOnSmooth,s,r.connectNulls),a+=l+1,t.closePath()}},e})(ke);function qw(A,e,t,r,n){var i=A.getArea(),a=i.x,o=i.y,s=i.width,l=i.height,u=t.get(["lineStyle","width"])||0;a-=u/2,o-=u/2,s+=u,l+=u,s=Math.ceil(s),a!==Math.floor(a)&&(a=Math.floor(a),s++);var f=new qe({shape:{x:a,y:o,width:s,height:l}});if(e){var c=A.getBaseAxis(),h=c.isHorizontal(),v=c.inverse;h?(v&&(f.shape.x+=s),f.shape.width=0):(v||(f.shape.y+=l),f.shape.height=0);var d=me(n)?function(g){n(g,f)}:null;lA(f,{shape:{width:s,height:l,x:a,y:o}},t,null,r,d)}return f}function $w(A,e,t){var r=A.getArea(),n=wt(r.r0,1),i=wt(r.r,1),a=new Ti({shape:{cx:wt(A.cx,1),cy:wt(A.cy,1),r0:n,r:i,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var o=A.getBaseAxis().dim==="angle";o?a.shape.endAngle=r.startAngle:a.shape.r=n,lA(a,{shape:{endAngle:r.endAngle,r:i}},t)}return a}function DL(A,e,t,r,n){if(A){if(A.type==="polar")return $w(A,e,t);if(A.type==="cartesian2d")return qw(A,e,t,r,n)}else return null;return null}function jv(A,e){return A.type===e}function jw(A,e){if(A.length===e.length){for(var t=0;t<A.length;t++)if(A[t]!==e[t])return;return!0}}function eC(A){for(var e=1/0,t=1/0,r=-1/0,n=-1/0,i=0;i<A.length;){var a=A[i++],o=A[i++];isNaN(a)||(e=Math.min(a,e),r=Math.max(a,r)),isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n))}return[[e,t],[r,n]]}function tC(A,e){var t=eC(A),r=t[0],n=t[1],i=eC(e),a=i[0],o=i[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]))}function AC(A){return Ye(A)?A:A?.5:0}function LL(A,e,t){if(!t.valueDim)return[];for(var r=e.count(),n=vr(r*2),i=0;i<r;i++){var a=Zw(t,A,e,i);n[i*2]=a[0],n[i*2+1]=a[1]}return n}function Gr(A,e,t,r,n){var i=t.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],f=[],c=[];if(n){for(s=0;s<A.length;s+=2){var h=e||A;!isNaN(h[s])&&!isNaN(h[s+1])&&c.push(A[s],A[s+1])}A=c}for(s=0;s<A.length-2;s+=2)switch(f[0]=A[s+2],f[1]=A[s+3],u[0]=A[s],u[1]=A[s+1],o.push(u[0],u[1]),r){case"end":l[a]=f[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var v=(u[a]+f[a])/2,d=[];l[a]=d[a]=v,l[1-a]=u[1-a],d[1-a]=f[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=f[1-a],o.push(l[0],l[1])}return o.push(A[s++],A[s++]),o}function ML(A,e){var t=[],r=A.length,n,i;function a(u,f,c){var h=u.coord,v=(c-h)/(f.coord-h),d=tF(v,[u.color,f.color]);return{coord:c,color:d}}for(var o=0;o<r;o++){var s=A[o],l=s.coord;if(l<0)n=s;else if(l>e){i?t.push(a(i,s,e)):n&&t.push(a(n,s,0),a(n,s,e));break}else n&&(t.push(a(n,s,0)),n=null),t.push(s),i=s}return t}function HL(A,e,t){var r=A.getVisual("visualMeta");if(!(!r||!r.length||!A.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var n,i,a=r.length-1;a>=0;a--){var o=A.getDimensionInfo(r[a].dimension);if(n=o&&o.coordDim,n==="x"||n==="y"){i=r[a];break}}if(!i){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var s=e.getAxis(n),l=Be(i.stops,function(m){return{coord:s.toGlobalCoord(s.dataToCoord(m.value)),color:m.color}}),u=l.length,f=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),f.reverse());var c=ML(l,n==="x"?t.getWidth():t.getHeight()),h=c.length;if(!h&&u)return l[0].coord<0?f[1]?f[1]:l[u-1].color:f[0]?f[0]:l[0].color;var v=10,d=c[0].coord-v,g=c[h-1].coord+v,p=g-d;if(p<.001)return"transparent";b(c,function(m){m.offset=(m.coord-d)/p}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var B=new uB(0,0,0,0,c,!0);return B[n]=d,B[n+"2"]=g,B}}function OL(A,e,t){var r=A.get("showAllSymbol"),n=r==="auto";if(!(r&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&RL(i,e))){var a=e.mapDimension(i.dim),o={};return b(i.getViewLabels(),function(s){var l=i.scale.getRawOrdinalNumber(s.tickValue);o[l]=1}),function(s){return!o.hasOwnProperty(e.get(a,s))}}}}function RL(A,e){var t=A.getExtent(),r=Math.abs(t[1]-t[0])/A.scale.count();isNaN(r)&&(r=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),a=0;a<n;a+=i)if(Jv.getSymbolSize(e,a)[A.isHorizontal()?1:0]*1.5>r)return!1;return!0}function NL(A,e){return isNaN(A)||isNaN(e)}function PL(A){for(var e=A.length/2;e>0&&NL(A[e*2-2],A[e*2-1]);e--);return e-1}function rC(A,e){return[A[e*2],A[e*2+1]]}function kL(A,e,t){for(var r=A.length/2,n=t==="x"?0:1,i,a,o=0,s=-1,l=0;l<r;l++)if(a=A[l*2+n],!(isNaN(a)||isNaN(A[l*2+1-n]))){if(l===0){i=a;continue}if(i<=e&&a>=e||i>=e&&a<=e){s=l;break}o=l,i=a}return{range:[o,s],t:(e-i)/(a-i)}}function nC(A){if(A.get(["endLabel","show"]))return!0;for(var e=0;e<sA.length;e++)if(A.get([sA[e],"endLabel","show"]))return!0;return!1}function ed(A,e,t,r){if(jv(e,"cartesian2d")){var n=r.getModel("endLabel"),i=n.get("valueAnimation"),a=r.getData(),o={lastFrameIndex:0},s=nC(r)?function(h,v){A._endLabelOnDuring(h,v,a,o,i,n,e)}:null,l=e.getBaseAxis().isHorizontal(),u=qw(e,t,r,function(){var h=A._endLabel;h&&t&&o.originalX!=null&&h.attr({x:o.originalX,y:o.originalY})},s);if(!r.get("clip",!0)){var f=u.shape,c=Math.max(f.width,f.height);l?(f.y-=c,f.height+=c*2):(f.x-=c,f.width+=c*2)}return s&&s(1,u),u}else return process.env.NODE_ENV!=="production"&&r.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),$w(e,t,r)}function VL(A,e){var t=e.getBaseAxis(),r=t.isHorizontal(),n=t.inverse,i=r?n?"right":"left":"center",a=r?"middle":n?"top":"bottom";return{normal:{align:A.get("align")||i,verticalAlign:A.get("verticalAlign")||a}}}var KL=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(){var t=new lt,r=new FL;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=t,this._changePolyState=ye(this._changePolyState,this)},e.prototype.render=function(t,r,n){var i=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.getLayout("points")||[],f=i.type==="polar",c=this._coordSys,h=this._symbolDraw,v=this._polyline,d=this._polygon,g=this._lineGroup,p=!r.ssr&&t.get("animation"),B=!l.isEmpty(),m=l.get("origin"),y=Xw(i,o,m),_=B&&LL(i,o,y),C=t.get("showSymbol"),Q=t.get("connectNulls"),x=C&&!f&&OL(t,o,i),F=this._data;F&&F.eachItemGraphicEl(function(K,N){K.__temp&&(a.remove(K),F.setItemGraphicEl(N,null))}),C||h.remove(),a.add(g);var S=f?!1:t.get("step"),E;i&&i.getArea&&t.get("clip",!0)&&(E=i.getArea(),E.width!=null?(E.x-=.1,E.y-=.1,E.width+=.2,E.height+=.2):E.r0&&(E.r0-=.5,E.r+=.5)),this._clipShapeForSymbol=E;var I=HL(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(!(v&&c.type===i.type&&S===this._step))C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),p&&this._initSymbolLabelAnimation(o,i,E),S&&(_&&(_=Gr(_,u,i,S,Q)),u=Gr(u,null,i,S,Q)),v=this._newPolyline(u),B?d=this._newPolygon(u,_):d&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Dn(I)),g.setClipPath(ed(this,i,!0,t));else{B&&!d?d=this._newPolygon(u,_):d&&!B&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Dn(I));var U=g.getClipPath();if(U){var T=ed(this,i,!1,t);lA(U,{shape:T.shape},t)}else g.setClipPath(ed(this,i,!0,t));C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),(!jw(this._stackedOnPoints,_)||!jw(this._points,u))&&(p?this._doUpdateAnimation(o,_,i,n,S,m,Q):(S&&(_&&(_=Gr(_,u,i,S,Q)),u=Gr(u,null,i,S,Q)),v.setShape({points:u}),d&&d.setShape({points:u,stackedOnPoints:_})))}var L=t.getModel("emphasis"),P=L.get("focus"),Z=L.get("blurScope"),V=L.get("disabled");if(v.useStyle(Ne(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),ih(v,t,"lineStyle"),v.style.lineWidth>0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var X=v.getState("emphasis").style;X.lineWidth=+v.style.lineWidth+1}Le(v).seriesIndex=t.seriesIndex,js(v,P,Z,V);var ee=AC(t.get("smooth")),te=t.get("smoothMonotone");if(v.setShape({smooth:ee,smoothMonotone:te,connectNulls:Q}),d){var D=o.getCalculationInfo("stackedOnSeries"),M=0;d.useStyle(Ne(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),D&&(M=AC(D.get("smooth"))),d.setShape({smooth:ee,stackedOnSmooth:M,smoothMonotone:te,connectNulls:Q}),ih(d,t,"areaStyle"),Le(d).seriesIndex=t.seriesIndex,js(d,P,Z,V)}var H=this._changePolyState;o.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=H)}),this._polyline.onHoverStateChange=H,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=S,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,v),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,r){Le(r).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,r,n,i){var a=t.getData(),o=pn(a,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&o!=null&&o>=0){var s=a.getLayout("points"),l=a.getItemGraphicEl(o);if(!l){var u=s[o*2],f=s[o*2+1];if(isNaN(u)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,f))return;var c=t.get("zlevel")||0,h=t.get("z")||0;l=new Jv(a,o),l.x=u,l.y=f,l.setZ(c,h);var v=l.getSymbolPath().getTextContent();v&&(v.zlevel=c,v.z=h,v.z2=this._polyline.z2+1),l.__temp=!0,a.setItemGraphicEl(o,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else FA.prototype.highlight.call(this,t,r,n,i)},e.prototype.downplay=function(t,r,n,i){var a=t.getData(),o=pn(a,i);if(this._changePolyState("normal"),o!=null&&o>=0){var s=a.getItemGraphicEl(o);s&&(s.__temp?(a.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else FA.prototype.downplay.call(this,t,r,n,i)},e.prototype._changePolyState=function(t){var r=this._polygon;P0(this._polyline,t),r&&P0(r,t)},e.prototype._newPolyline=function(t){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new UL({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},e.prototype._newPolygon=function(t,r){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new TL({shape:{points:t,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,r,n){var i,a,o=r.getBaseAxis(),s=o.inverse;r.type==="cartesian2d"?(i=o.isHorizontal(),a=!1):r.type==="polar"&&(i=o.dim==="angle",a=!0);var l=t.hostModel,u=l.get("animationDuration");me(u)&&(u=u(null));var f=l.get("animationDelay")||0,c=me(f)?f(null):f;t.eachItemGraphicEl(function(h,v){var d=h;if(d){var g=[h.x,h.y],p=void 0,B=void 0,m=void 0;if(n)if(a){var y=n,_=r.pointToCoord(g);i?(p=y.startAngle,B=y.endAngle,m=-_[1]/180*Math.PI):(p=y.r0,B=y.r,m=_[0])}else{var C=n;i?(p=C.x,B=C.x+C.width,m=h.x):(p=C.y+C.height,B=C.y,m=h.y)}var Q=B===p?0:(m-p)/(B-p);s&&(Q=1-Q);var x=me(f)?f(v):u*Q+c,F=d.getSymbolPath(),S=F.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),S&&S.animateFrom({style:{opacity:0}},{duration:300,delay:x}),F.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,r,n){var i=t.getModel("endLabel");if(nC(t)){var a=t.getData(),o=this._polyline,s=a.getLayout("points");if(!s){o.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new Ot({z2:200}),l.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=PL(s);u>=0&&(pl(o,gl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(f,c,h){return h!=null?zw(a,h):Zv(a,f)},enableTextSetter:!0},VL(i,r)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,r,n,i,a,o,s){var l=this._endLabel,u=this._polyline;if(l){t<1&&i.originalX==null&&(i.originalX=l.x,i.originalY=l.y);var f=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),v=o.get("precision"),d=o.get("distance")||0,g=s.getBaseAxis(),p=g.isHorizontal(),B=g.inverse,m=r.shape,y=B?p?m.x:m.y+m.height:p?m.x+m.width:m.y,_=(p?d:0)*(B?-1:1),C=(p?0:-d)*(B?-1:1),Q=p?"x":"y",x=kL(f,y,Q),F=x.range,S=F[1]-F[0],E=void 0;if(S>=1){if(S>1&&!h){var I=rC(f,F[0]);l.attr({x:I[0]+_,y:I[1]+C}),a&&(E=c.getRawValue(F[0]))}else{var I=u.getPointOn(y,Q);I&&l.attr({x:I[0]+_,y:I[1]+C});var U=c.getRawValue(F[0]),T=c.getRawValue(F[1]);a&&(E=A0(n,v,U,T,x.t))}i.lastFrameIndex=F[0]}else{var L=t===1||i.lastFrameIndex>0?F[0]:0,I=rC(f,L);a&&(E=c.getRawValue(L)),l.attr({x:I[0]+_,y:I[1]+C})}if(a){var P=Mi(l);typeof P.setLabelText=="function"&&P.setLabelText(E)}}},e.prototype._doUpdateAnimation=function(t,r,n,i,a,o,s){var l=this._polyline,u=this._polygon,f=t.hostModel,c=SL(this._data,t,this._stackedOnPoints,r,this._coordSys,n,this._valueOrigin),h=c.current,v=c.stackedOnCurrent,d=c.next,g=c.stackedOnNext;if(a&&(v=Gr(c.stackedOnCurrent,c.current,n,a,s),h=Gr(c.current,null,n,a,s),g=Gr(c.stackedOnNext,c.next,n,a,s),d=Gr(c.next,null,n,a,s)),tC(h,d)>3e3||u&&tC(v,g)>3e3){l.stopAnimation(),l.setShape({points:d}),u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:g}));return}l.shape.__points=c.current,l.shape.points=h;var p={shape:{points:d}};c.current!==h&&(p.shape.__points=c.next),l.stopAnimation(),Et(l,p,f),u&&(u.setShape({points:h,stackedOnPoints:v}),u.stopAnimation(),Et(u,{shape:{stackedOnPoints:g}},f),l.shape.points!==u.shape.points&&(u.shape.points=l.shape.points));for(var B=[],m=c.status,y=0;y<m.length;y++){var _=m[y].cmd;if(_==="="){var C=t.getItemGraphicEl(m[y].idx1);C&&B.push({el:C,ptIdx:y})}}l.animators&&l.animators.length&&l.animators[0].during(function(){u&&u.dirtyShape();for(var Q=l.shape.__points,x=0;x<B.length;x++){var F=B[x].el,S=B[x].ptIdx*2;F.x=Q[S],F.y=Q[S+1],F.markRedraw()}})},e.prototype.remove=function(t){var r=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(i,a){i.__temp&&(r.remove(i),n.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e})(FA);function GL(A,e){return{seriesType:A,plan:iv(),reset:function(t){var r=t.getData(),n=t.coordinateSystem;if(t.pipelineContext,!!n){var i=Be(n.dimensions,function(f){return r.mapDimension(f)}).slice(0,2),a=i.length,o=r.getCalculationInfo("stackResultDimension");Ji(r,i[0])&&(i[0]=o),Ji(r,i[1])&&(i[1]=o);var s=r.getStore(),l=r.getDimensionIndex(i[0]),u=r.getDimensionIndex(i[1]);return a&&{progress:function(f,c){for(var h=f.end-f.start,v=vr(h*a),d=[],g=[],p=f.start,B=0;p<f.end;p++){var m=void 0;if(a===1){var y=s.get(l,p);m=n.dataToPoint(y,null,g)}else d[0]=s.get(l,p),d[1]=s.get(u,p),m=n.dataToPoint(d,null,g);v[B++]=m[0],v[B++]=m[1]}c.setLayout("points",v)}}}}}}var zL={average:function(A){for(var e=0,t=0,r=0;r<A.length;r++)isNaN(A[r])||(e+=A[r],t++);return t===0?NaN:e/t},sum:function(A){for(var e=0,t=0;t<A.length;t++)e+=A[t]||0;return e},max:function(A){for(var e=-1/0,t=0;t<A.length;t++)A[t]>e&&(e=A[t]);return isFinite(e)?e:NaN},min:function(A){for(var e=1/0,t=0;t<A.length;t++)A[t]<e&&(e=A[t]);return isFinite(e)?e:NaN},nearest:function(A){return A[0]}},WL=function(A){return Math.round(A.length/2)};function iC(A){return{seriesType:A,reset:function(e,t,r){var n=e.getData(),i=e.get("sampling"),a=e.coordinateSystem,o=n.count();if(o>10&&a.type==="cartesian2d"&&i){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),f=r.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(f||1),h=Math.round(o/c);if(isFinite(h)&&h>1){i==="lttb"?e.setData(n.lttbDownSample(n.mapDimension(l.dim),1/h)):i==="minmax"&&e.setData(n.minmaxDownSample(n.mapDimension(l.dim),1/h));var v=void 0;le(i)?v=zL[i]:me(i)&&(v=i),v&&e.setData(n.downSample(n.mapDimension(l.dim),1/h,v,WL))}}}}}function YL(A){A.registerChartView(KL),A.registerSeriesModel(QL),A.registerLayout(GL("line")),A.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",r)}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,iC("line"))}var td=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){return Iv(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,r,n){var i=this.coordinateSystem;if(i&&i.clampData){var a=i.clampData(t),o=i.dataToPoint(a);if(n)b(i.getAxes(),function(c,h){if(c.type==="category"&&r!=null){var v=c.getTicksCoords(),d=c.getTickModel().get("alignWithLabel"),g=a[h],p=r[h]==="x1"||r[h]==="y1";if(p&&!d&&(g+=1),v.length<2)return;if(v.length===2){o[h]=c.toGlobalCoord(c.getExtent()[p?1:0]);return}for(var B=void 0,m=void 0,y=1,_=0;_<v.length;_++){var C=v[_].coord,Q=_===v.length-1?v[_-1].tickValue+y:v[_].tickValue;if(Q===g){m=C;break}else if(Q<g)B=C;else if(B!=null&&Q>g){m=(C+B)/2;break}_===1&&(y=Q-v[0].tickValue)}m==null&&(B?B&&(m=v[v.length-1].coord):m=v[0].coord),o[h]=c.toGlobalCoord(m)}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;o[f]+=l+u/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e})(JA);JA.registerClass(td);var XL=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return Iv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>t&&(t=r),t},e.prototype.brushSelector=function(t,r,n){return n.rect(r.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ml(td.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:oe.color.primary,borderWidth:2}},realtimeSort:!1}),e})(td),ZL=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),aC=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new ZL},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r0||0,0),o=Math.max(r.r,0),s=(o-a)*.5,l=a+s,u=r.startAngle,f=r.endAngle,c=r.clockwise,h=Math.PI*2,v=c?f-u<h:u-f<h;v||(u=f-(c?h:-h));var d=Math.cos(u),g=Math.sin(u),p=Math.cos(f),B=Math.sin(f);v?(t.moveTo(d*a+n,g*a+i),t.arc(d*l+n,g*l+i,s,-Math.PI+u,u,!c)):t.moveTo(d*o+n,g*o+i),t.arc(n,i,o,u,f,!c),t.arc(p*l+n,B*l+i,s,f-Math.PI*2,f-Math.PI,!c),a!==0&&t.arc(n,i,a,f,u,c)},e})(ke);function JL(A,e){e=e||{};var t=e.isRoundCap;return function(r,n,i){var a=n.position;if(!a||a instanceof Array)return bs(r,n,i);var o=A(a),s=n.distance!=null?n.distance:5,l=this.shape,u=l.cx,f=l.cy,c=l.r,h=l.r0,v=(c+h)/2,d=l.startAngle,g=l.endAngle,p=(d+g)/2,B=t?Math.abs(c-h)/2:0,m=Math.cos,y=Math.sin,_=u+c*m(d),C=f+c*y(d),Q="left",x="top";switch(o){case"startArc":_=u+(h-s)*m(p),C=f+(h-s)*y(p),Q="center",x="top";break;case"insideStartArc":_=u+(h+s)*m(p),C=f+(h+s)*y(p),Q="center",x="bottom";break;case"startAngle":_=u+v*m(d)+pu(d,s+B,!1),C=f+v*y(d)+gu(d,s+B,!1),Q="right",x="middle";break;case"insideStartAngle":_=u+v*m(d)+pu(d,-s+B,!1),C=f+v*y(d)+gu(d,-s+B,!1),Q="left",x="middle";break;case"middle":_=u+v*m(p),C=f+v*y(p),Q="center",x="middle";break;case"endArc":_=u+(c+s)*m(p),C=f+(c+s)*y(p),Q="center",x="bottom";break;case"insideEndArc":_=u+(c-s)*m(p),C=f+(c-s)*y(p),Q="center",x="top";break;case"endAngle":_=u+v*m(g)+pu(g,s+B,!0),C=f+v*y(g)+gu(g,s+B,!0),Q="left",x="middle";break;case"insideEndAngle":_=u+v*m(g)+pu(g,-s+B,!0),C=f+v*y(g)+gu(g,-s+B,!0),Q="right",x="middle";break;default:return bs(r,n,i)}return r=r||{},r.x=_,r.y=C,r.align=Q,r.verticalAlign=x,r}}function qL(A,e,t,r){if(Ye(r)){A.setTextConfig({rotation:r});return}else if(ae(e)){A.setTextConfig({rotation:0});return}var n=A.shape,i=n.clockwise?n.startAngle:n.endAngle,a=n.clockwise?n.endAngle:n.startAngle,o=(i+a)/2,s,l=t(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":s=o;break;case"startAngle":case"insideStartAngle":s=i;break;case"endAngle":case"insideEndAngle":s=a;break;default:A.setTextConfig({rotation:0});return}var u=Math.PI*1.5-s;l==="middle"&&u>Math.PI/2&&u<Math.PI*1.5&&(u-=Math.PI),A.setTextConfig({rotation:u})}function pu(A,e,t){return e*Math.sin(A)*(t?-1:1)}function gu(A,e,t){return e*Math.cos(A)*(t?1:-1)}function $L(A,e,t){var r=A.get("borderRadius");if(r==null)return{cornerRadius:0};ae(r)||(r=[r,r,r,r]);var n=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Be(r,function(i){return Fr(i,n)})}}var Ad=Math.max,rd=Math.min;function jL(A,e){var t=A.getArea&&A.getArea();if(jv(A,"cartesian2d")){var r=A.getBaseAxis();if(r.type!=="category"||!r.onBand){var n=e.getLayout("bandWidth");r.isHorizontal()?(t.x-=n,t.width+=n*2):(t.y-=n,t.height+=n*2)}}return t}var eM=(function(A){J(e,A);function e(){var t=A.call(this)||this;return t.type=e.type,t._isFirstFrame=!0,t}return e.prototype.render=function(t,r,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var a=t.get("coordinateSystem");a==="cartesian2d"||a==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,r,n):this._renderNormal(t,r,n,i)):process.env.NODE_ENV!=="production"&&xt("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,r){this._progressiveEls=[],this._incrementalRenderLarge(t,r)},e.prototype.eachRendered=function(t){hl(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var r=t.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(t,r,n,i){var a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f;l.type==="cartesian2d"?f=u.isHorizontal():l.type==="polar"&&(f=u.dim==="angle");var c=t.isAnimationEnabled()?t:null,h=tM(t,l);h&&this._enableRealtimeSort(h,o,n);var v=t.get("clip",!0)||h,d=jL(l,o);a.removeClipPath();var g=t.get("roundCap",!0),p=t.get("showBackground",!0),B=t.getModel("backgroundStyle"),m=B.get("borderRadius")||0,y=[],_=this._backgroundEls,C=i&&i.isInitSort,Q=i&&i.type==="changeAxisOrder";function x(E){var I=Bu[l.type](o,E);if(!I)return null;var U=sM(l,f,I);return U.useStyle(B.getItemStyle()),l.type==="cartesian2d"?U.setShape("r",m):U.setShape("cornerRadius",m),y[E]=U,U}o.diff(s).add(function(E){var I=o.getItemModel(E),U=Bu[l.type](o,E,I);if(U&&(p&&x(E),!(!o.hasValue(E)||!fC[l.type](U)))){var T=!1;v&&(T=oC[l.type](d,U));var L=sC[l.type](t,o,E,U,f,c,u.model,!1,g);h&&(L.forceLabelAnimation=!0),hC(L,o,E,I,U,t,f,l.type==="polar"),C?L.attr({shape:U}):h?lC(h,c,L,U,E,f,!1,!1):lA(L,{shape:U},t,E),o.setItemGraphicEl(E,L),a.add(L),L.ignore=T}}).update(function(E,I){var U=o.getItemModel(E),T=Bu[l.type](o,E,U);if(T){if(p){var L=void 0;_.length===0?L=x(I):(L=_[I],L.useStyle(B.getItemStyle()),l.type==="cartesian2d"?L.setShape("r",m):L.setShape("cornerRadius",m),y[E]=L);var P=Bu[l.type](o,E),Z=gC(f,P,l);Et(L,{shape:Z},c,E)}var V=s.getItemGraphicEl(I);if(!o.hasValue(E)||!fC[l.type](T)){a.remove(V);return}var X=!1;v&&(X=oC[l.type](d,T),X&&a.remove(V));var ee=V&&(V.type==="sector"&&g||V.type==="sausage"&&!g);if(ee&&(V&&ul(V,t,I),V=null),V?hB(V):V=sC[l.type](t,o,E,T,f,c,u.model,!0,g),h&&(V.forceLabelAnimation=!0),Q){var te=V.getTextContent();if(te){var D=Mi(te);D.prevValue!=null&&(D.prevValue=D.value)}}else hC(V,o,E,U,T,t,f,l.type==="polar");C?V.attr({shape:T}):h?lC(h,c,V,T,E,f,!0,Q):Et(V,{shape:T},t,E,null),o.setItemGraphicEl(E,V),V.ignore=X,a.add(V)}}).remove(function(E){var I=s.getItemGraphicEl(E);I&&ul(I,t,E)}).execute();var F=this._backgroundGroup||(this._backgroundGroup=new lt);F.removeAll();for(var S=0;S<y.length;++S)F.add(y[S]);a.add(F),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,r,n){this._clear(),dC(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,r){this._removeBackground(),dC(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var r=t.get("clip",!0)&&DL(t.coordinateSystem,!1,t),n=this.group;r?n.setClipPath(r):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,r,n){var i=this;if(r.count()){var a=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,t,n),this._isFirstFrame=!1;else{var o=function(s){var l=r.getItemGraphicEl(s),u=l&&l.shape;return u&&Math.abs(a.isHorizontal()?u.height:u.width)||0};this._onRendered=function(){i._updateSortWithinSameData(r,o,a,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,r,n){var i=[];return t.each(t.mapDimension(r.dim),function(a,o){var s=n(o);s=s??NaN,i.push({dataIndex:o,mappedValue:s,ordinalNumber:a})}),i.sort(function(a,o){return o.mappedValue-a.mappedValue}),{ordinalNumbers:Be(i,function(a){return a.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,r,n){for(var i=n.scale,a=t.mapDimension(n.dim),o=Number.MAX_VALUE,s=0,l=i.getOrdinalMeta().categories.length;s<l;++s){var u=t.rawIndexOf(a,i.getRawOrdinalNumber(s)),f=u<0?Number.MIN_VALUE:r(t.indexOfRawIndex(u));if(f>o)return!0;o=f}return!1},e.prototype._isOrderDifferentInView=function(t,r){for(var n=r.scale,i=n.getExtent(),a=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);a<=o;++a)if(t.ordinalNumbers[a]!==n.getRawOrdinalNumber(a))return!0},e.prototype._updateSortWithinSameData=function(t,r,n,i){if(this._isOrderChangedWithinSameData(t,r,n)){var a=this._dataSort(t,n,r);this._isOrderDifferentInView(a,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:a}))}},e.prototype._dispatchInitSort=function(t,r,n){var i=r.baseAxis,a=this._dataSort(t,i,function(o){return t.get(t.mapDimension(r.otherAxis.dim),o)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:a})},e.prototype.remove=function(t,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(t,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var r=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){ul(i,t,Le(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e})(FA),oC={cartesian2d:function(A,e){var t=e.width<0?-1:1,r=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var n=A.x+A.width,i=A.y+A.height,a=Ad(e.x,A.x),o=rd(e.x+e.width,n),s=Ad(e.y,A.y),l=rd(e.y+e.height,i),u=o<a,f=l<s;return e.x=u&&a>n?o:a,e.y=f&&s>i?l:s,e.width=u?0:o-a,e.height=f?0:l-s,t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),u||f},polar:function(A,e){var t=e.r0<=e.r?1:-1;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}var n=rd(e.r,A.r),i=Ad(e.r0,A.r0);e.r=n,e.r0=i;var a=n-i<0;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}return a}},sC={cartesian2d:function(A,e,t,r,n,i,a,o,s){var l=new qe({shape:Y({},r),z2:1});if(l.__dataIndex=t,l.name="item",i){var u=l.shape,f=n?"height":"width";u[f]=0}return l},polar:function(A,e,t,r,n,i,a,o,s){var l=!n&&s?aC:Ti,u=new l({shape:r,z2:1});u.name="item";var f=cC(n);if(u.calculateTextPosition=JL(f,{isRoundCap:l===aC}),i){var c=u.shape,h=n?"r":"endAngle",v={};c[h]=n?r.r0:r.startAngle,v[h]=r[h],(o?Et:lA)(u,{shape:v},i)}return u}};function tM(A,e){var t=A.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&t&&(r.type!=="category"&&xt("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&xt("`realtimeSort` will not work because this bar series is not on cartesian2d.")),t&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function lC(A,e,t,r,n,i,a,o){var s,l;i?(l={x:r.x,width:r.width},s={y:r.y,height:r.height}):(l={y:r.y,height:r.height},s={x:r.x,width:r.width}),o||(a?Et:lA)(t,{shape:s},e,n,null);var u=e?A.baseAxis.model:null;(a?Et:lA)(t,{shape:l},u,n)}function uC(A,e){for(var t=0;t<e.length;t++)if(!isFinite(A[e[t]]))return!0;return!1}var AM=["x","y","width","height"],rM=["cx","cy","r","startAngle","endAngle"],fC={cartesian2d:function(A){return!uC(A,AM)},polar:function(A){return!uC(A,rM)}},Bu={cartesian2d:function(A,e,t){var r=A.getItemLayout(e);if(!r)return null;var n=t?iM(t,r):0,i=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+i*n/2,y:r.y+a*n/2,width:r.width-i*n,height:r.height-a*n}},polar:function(A,e,t){var r=A.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function nM(A){return A.startAngle!=null&&A.endAngle!=null&&A.startAngle===A.endAngle}function cC(A){return(function(e){var t=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+t;default:return r}}})(A)}function hC(A,e,t,r,n,i,a,o){var s=e.getItemVisual(t,"style");if(o){if(!i.get("roundCap")){var u=A.shape,f=$L(r.getModel("itemStyle"),u);Y(u,f),A.setShape(u)}}else{var l=r.get(["itemStyle","borderRadius"])||0;A.setShape("r",l)}A.useStyle(s);var c=r.getShallow("cursor");c&&A.attr("cursor",c);var h=o?a?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":a?n.height>=0?"bottom":"top":n.width>=0?"right":"left",v=gl(r);pl(A,v,{labelFetcher:i,labelDataIndex:t,defaultText:Zv(i.getData(),t),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var d=A.getTextContent();if(o&&d){var g=r.get(["label","position"]);A.textConfig.inside=g==="middle"?!0:null,qL(A,g==="outside"?h:g,cC(a),r.get(["label","rotate"]))}fS(d,v,i.getRawValue(t),function(B){return zw(e,B)});var p=r.getModel(["emphasis"]);js(A,p.get("focus"),p.get("blurScope"),p.get("disabled")),ih(A,r),nM(n)&&(A.style.fill="none",A.style.stroke="none",b(A.states,function(B){B.style&&(B.style.fill=B.style.stroke="none")}))}function iM(A,e){var t=A.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var r=A.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,n,i)}var aM=(function(){function A(){}return A})(),vC=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new aM},e.prototype.buildPath=function(t,r){for(var n=r.points,i=this.baseDimIdx,a=1-this.baseDimIdx,o=[],s=[],l=this.barWidth,u=0;u<n.length;u+=3)s[i]=l,s[a]=n[u+2],o[i]=n[u+i],o[a]=n[u+a],t.rect(o[0],o[1],s[0],s[1])},e})(ke);function dC(A,e,t,r){var n=A.getData(),i=n.getLayout("valueAxisHorizontal")?1:0,a=n.getLayout("largeDataIndices"),o=n.getLayout("size"),s=A.getModel("backgroundStyle"),l=n.getLayout("largeBackgroundPoints");if(l){var u=new vC({shape:{points:l},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=o,u.useStyle(s.getItemStyle()),e.add(u),t&&t.push(u)}var f=new vC({shape:{points:n.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=a,f.barWidth=o,e.add(f),f.useStyle(n.getVisual("style")),f.style.stroke=null,Le(f).seriesIndex=A.seriesIndex,A.get("silent")||(f.on("mousedown",pC),f.on("mousemove",pC)),t&&t.push(f)}var pC=av(function(A){var e=this,t=oM(e,A.offsetX,A.offsetY);Le(e).dataIndex=t>=0?t:null},30,!1);function oM(A,e,t){for(var r=A.baseDimIdx,n=1-r,i=A.shape.points,a=A.largeDataIndices,o=[],s=[],l=A.barWidth,u=0,f=i.length/3;u<f;u++){var c=u*3;if(s[r]=l,s[n]=i[c+2],o[r]=i[c+r],o[n]=i[c+n],s[n]<0&&(o[n]+=s[n],s[n]=-s[n]),e>=o[0]&&e<=o[0]+s[0]&&t>=o[1]&&t<=o[1]+s[1])return a[u]}return-1}function gC(A,e,t){if(jv(t,"cartesian2d")){var r=e,n=t.getArea();return{x:A?r.x:n.x,y:A?n.y:r.y,width:A?r.width:n.width,height:A?n.height:r.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:A?n.r0:i.r0,r:A?n.r:i.r,startAngle:A?i.startAngle:0,endAngle:A?i.endAngle:Math.PI*2}}}function sM(A,e,t){var r=A.type==="polar"?Ti:qe;return new r({shape:gC(e,t,A),silent:!0,z2:0})}function lM(A){A.registerChartView(eM),A.registerSeriesModel(XL),A.registerLayout(A.PRIORITY.VISUAL.LAYOUT,nt(CD,"bar")),A.registerLayout(A.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,_D("bar")),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,iC("bar")),A.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var BC={left:0,right:0,top:0,bottom:0},mu=["25%","25%"],uM=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.mergeDefaultAndTheme=function(t,r){var n=Ni(t.outerBounds);A.prototype.mergeDefaultAndTheme.apply(this,arguments),n&&t.outerBounds&&Mr(t.outerBounds,n)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&t.outerBounds&&Mr(this.option.outerBounds,t.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:BC,outerBoundsContain:"all",outerBoundsClampWidth:mu[0],outerBoundsClampHeight:mu[1],backgroundColor:oe.color.transparent,borderWidth:1,borderColor:oe.color.neutral30},e})(Re),nd=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Mt).models[0]},e.type="cartesian2dAxis",e})(Re);DA(nd,KD);var mC={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:oe.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:oe.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:oe.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[oe.color.backgroundTint,oe.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:oe.color.neutral00,borderColor:oe.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},fM=Oe({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},mC),id=Oe({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:oe.color.axisMinorSplitLine,width:1}}},mC),cM=Oe({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},id),hM=Ne({logBase:10},id);const vM={category:fM,value:id,time:cM,log:hM};var dM={value:1,category:1,time:1,log:1},pM=null;function gM(){return pM}function yC(A,e,t,r){b(dM,function(n,i){var a=Oe(Oe({},vM[i],!0),r,!0),o=(function(s){J(l,s);function l(){var u=s!==null&&s.apply(this,arguments)||this;return u.type=e+"Axis."+i,u}return l.prototype.mergeDefaultAndTheme=function(u,f){var c=Za(this),h=c?Ni(u):{},v=f.getTheme();Oe(u,v.get(i+"Axis")),Oe(u,this.getDefaultOption()),u.type=wC(u),c&&Mr(u,h,c)},l.prototype.optionUpdated=function(){var u=this.option;u.type==="category"&&(this.__ordinalMeta=Hv.createByAxisModel(this))},l.prototype.getCategories=function(u){var f=this.option;if(f.type==="category")return u?f.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.prototype.updateAxisBreaks=function(u){return{breaks:[]}},l.type=e+"Axis."+i,l.defaultOption=a,l})(t);A.registerComponentModel(o)}),A.registerSubTypeDefaulter(e+"Axis",wC)}function wC(A){return A.type||(A.data?"category":"value")}var BM=(function(){function A(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return A.prototype.getAxis=function(e){return this._axes[e]},A.prototype.getAxes=function(){return Be(this._dimList,function(e){return this._axes[e]},this)},A.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),rt(this.getAxes(),function(t){return t.scale.type===e})},A.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},A})(),ad=["x","y"];function CC(A){return(A.type==="interval"||A.type==="time")&&!A.hasBreaks()}var mM=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=ad,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!CC(t)||!CC(r))){var n=t.getExtent(),i=r.getExtent(),a=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),s=n[1]-n[0],l=i[1]-i[0];if(!(!s||!l)){var u=(o[0]-a[0])/s,f=(o[1]-a[1])/l,c=a[0]-n[0]*u,h=a[1]-i[0]*f,v=this._transform=[u,0,0,f,c,h];this._invTransform=vi([],v)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var r=this.getAxis("x"),n=this.getAxis("y");return r.contain(r.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,r){var n=this.dataToPoint(t),i=this.dataToPoint(r),a=this.getArea(),o=new Fe(n[0],n[1],i[0]-n[0],i[1]-n[1]);return a.intersect(o)},e.prototype.dataToPoint=function(t,r,n){n=n||[];var i=t[0],a=t[1];if(this._transform&&i!=null&&isFinite(i)&&a!=null&&isFinite(a))return tA(n,t,this._transform);var o=this.getAxis("x"),s=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,r)),n[1]=s.toGlobalCoord(s.dataToCoord(a,r)),n},e.prototype.clampData=function(t,r){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),o=i.getExtent(),s=n.parse(t[0]),l=i.parse(t[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),r},e.prototype.pointToData=function(t,r,n){if(n=n||[],this._invTransform)return tA(n,t,this._invTransform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),r),n[1]=a.coordToData(a.toLocalCoord(t[1]),r),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-t,a=Math.min(n[0],n[1])-t,o=Math.max(r[0],r[1])-i+t,s=Math.max(n[0],n[1])-a+t;return new Fe(i,a,o,s)},e})(BM),yM=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this,t,r,n)||this;return o.index=0,o.type=i||"value",o.position=a||"bottom",o}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),t&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(t,r){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e})(rL),wM="expandAxisBreak",zr=Math.PI,CM=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],_M=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],yo=ze(),_C=ze(),QC=(function(){function A(e){this.recordMap={},this.resolveAxisNameOverlap=e}return A.prototype.ensureRecord=function(e){var t=e.axis.dim,r=e.componentIndex,n=this.recordMap,i=n[t]||(n[t]=[]);return i[r]||(i[r]={ready:{}})},A})();function QM(A,e,t,r){var n=t.axis,i=e.ensureRecord(t),a=[],o,s=sd(A.axisName)&&$i(A.nameLocation);b(r,function(v){var d=kr(v);if(!(!d||d.label.ignore)){a.push(d);var g=i.transGroup;s&&(g.transform?vi(wo,g.transform):Gf(wo),d.transform&&ga(wo,wo,d.transform),Fe.copy(yu,d.localRect),yu.applyTransform(wo),o?o.union(yu):Fe.copy(o=new Fe(0,0,0,0),yu))}});var l=Math.abs(i.dirVec.x)>.1?"x":"y",u=i.transGroup[l];if(a.sort(function(v,d){return Math.abs(v.label[l]-u)-Math.abs(d.label[l]-u)}),s&&o){var f=n.getExtent(),c=Math.min(f[0],f[1]),h=Math.max(f[0],f[1])-c;o.union(new Fe(c,0,h,1))}i.stOccupiedRect=o,i.labelInfoList=a}var wo=nr(),yu=new Fe(0,0,0,0),xC=function(A,e,t,r,n,i){if($i(A.nameLocation)){var a=i.stOccupiedRect;a&&FC(pL({},a,i.transGroup.transform),r,n)}else EC(i.labelInfoList,i.dirVec,r,n)};function FC(A,e,t){var r=new be;Wv(A,e,r,{direction:Math.atan2(t.y,t.x),bidirectional:!1,touchThreshold:.05})&&gL(e,r)}function EC(A,e,t,r){for(var n=be.dot(r,e)>=0,i=0,a=A.length;i<a;i++){var o=A[n?i:a-1-i];o.label.ignore||FC(o,t,r)}}var Wr=(function(){function A(e,t,r,n){this.group=new lt,this._axisModel=e,this._api=t,this._local={},this._shared=n||new QC(xC),this._resetCfgDetermined(r)}return A.prototype.updateCfg=function(e){if(process.env.NODE_ENV!=="production"){var t=this._shared.ensureRecord(this._axisModel).ready;fe(!t.axisLine&&!t.axisTickLabelDetermine),t.axisName=t.axisTickLabelEstimate=!1}var r=this._cfg.raw;r.position=e.position,r.labelOffset=e.labelOffset,this._resetCfgDetermined(r)},A.prototype.__getRawCfg=function(){return this._cfg.raw},A.prototype._resetCfgDetermined=function(e){var t=this._axisModel,r=t.getDefaultOption?t.getDefaultOption():{},n=ve(e.axisName,t.get("name")),i=t.get("nameMoveOverlap");(i==null||i==="auto")&&(i=ve(e.defaultNameMoveOverlap,!0));var a={raw:e,position:e.position,rotation:e.rotation,nameDirection:ve(e.nameDirection,1),tickDirection:ve(e.tickDirection,1),labelDirection:ve(e.labelDirection,1),labelOffset:ve(e.labelOffset,0),silent:ve(e.silent,!0),axisName:n,nameLocation:Cr(t.get("nameLocation"),r.nameLocation,"end"),shouldNameMoveOverlap:sd(n)&&i,optionHideOverlap:t.get(["axisLabel","hideOverlap"]),showMinorTicks:t.get(["minorTick","show"])};process.env.NODE_ENV!=="production"&&(fe(a.position!=null),fe(a.rotation!=null)),this._cfg=a;var o=new lt({x:a.position[0],y:a.position[1],rotation:a.rotation});o.updateTransform(),this._transformGroup=o;var s=this._shared.ensureRecord(t);s.transGroup=this._transformGroup,s.dirVec=new be(Math.cos(-a.rotation),Math.sin(-a.rotation))},A.prototype.build=function(e,t){var r=this;return e||(e={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),b(xM,function(n){e[n]&&FM[n](r._cfg,r._local,r._shared,r._axisModel,r.group,r._transformGroup,r._api,t||{})}),this},A.innerTextLayout=function(e,t,r){var n=Pg(t-e),i,a;return Is(n)?(a=r>0?"top":"bottom",i="center"):Is(n-zr)?(a=r>0?"bottom":"top",i="center"):(a="middle",n>0&&n<zr?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:a}},A.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},A.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},A})(),xM=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],FM={axisLine:function(A,e,t,r,n,i,a){if(process.env.NODE_ENV!=="production"){var o=t.ensureRecord(r).ready;fe(!o.axisLine),o.axisLine=!0}var s=r.get(["axisLine","show"]);if(s==="auto"&&(s=!0,A.raw.axisLineAutoShow!=null&&(s=!!A.raw.axisLineAutoShow)),!!s){var l=r.axis.getExtent(),u=i.transform,f=[l[0],0],c=[l[1],0],h=f[0]>c[0];u&&(tA(f,f,u),tA(c,c,u));var v=Y({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:A.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(r.get(["axisLine","breakLine"])&&r.axis.scale.hasBreaks())gM().buildAxisBreakLine(r,n,i,d);else{var g=new Tr(Y({shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]}},d));Va(g.shape,g.style.lineWidth),g.anid="line",n.add(g)}var p=r.get(["axisLine","symbol"]);if(p!=null){var B=r.get(["axisLine","symbolSize"]);le(p)&&(p=[p,p]),(le(B)||Ye(B))&&(B=[B,B]);var m=sy(r.get(["axisLine","symbolOffset"])||0,B),y=B[0],_=B[1];b([{rotate:A.rotation+Math.PI/2,offset:m[0],r:0},{rotate:A.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((f[0]-c[0])*(f[0]-c[0])+(f[1]-c[1])*(f[1]-c[1]))}],function(C,Q){if(p[Q]!=="none"&&p[Q]!=null){var x=Or(p[Q],-y/2,-_/2,y,_,v.stroke,!0),F=C.r+C.offset,S=h?c:f;x.attr({rotation:C.rotate,x:S[0]+F*Math.cos(A.rotation),y:S[1]-F*Math.sin(A.rotation),silent:!0,z2:11}),n.add(x)}})}}},axisTickLabelEstimate:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;fe(!s.axisTickLabelDetermine),s.axisTickLabelEstimate=!0}var l=UC(e,n,o);l&&bC(A,e,t,r,n,i,a,bA.estimate)},axisTickLabelDetermine:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;s.axisTickLabelDetermine=!0}var l=UC(e,n,o);l&&bC(A,e,t,r,n,i,a,bA.determine);var u=UM(A,n,i,r);SM(A,e.labelLayoutList,u),IM(A,n,i,r,A.tickDirection)},axisName:function(A,e,t,r,n,i,a,o){var s=t.ensureRecord(r);if(process.env.NODE_ENV!=="production"){var l=s.ready;fe(l.axisTickLabelEstimate||l.axisTickLabelDetermine),l.axisName=!0}e.nameEl&&(n.remove(e.nameEl),e.nameEl=s.nameLayout=s.nameLocation=null);var u=A.axisName;if(sd(u)){var f=A.nameLocation,c=A.nameDirection,h=r.getModel("nameTextStyle"),v=r.get("nameGap")||0,d=r.axis.getExtent(),g=r.axis.inverse?-1:1,p=new be(0,0),B=new be(0,0);f==="start"?(p.x=d[0]-g*v,B.x=-g):f==="end"?(p.x=d[1]+g*v,B.x=g):(p.x=(d[0]+d[1])/2,p.y=A.labelOffset+c*v,B.y=c);var m=nr();B.transform(Wf(m,m,A.rotation));var y=r.get("nameRotate");y!=null&&(y=y*zr/180);var _,C;$i(f)?_=Wr.innerTextLayout(A.rotation,y??A.rotation,c):(_=EM(A.rotation,f,y||0,d),C=A.raw.axisNameAvailableWidth,C!=null&&(C=Math.abs(C/Math.sin(_.rotation)),!isFinite(C)&&(C=null)));var Q=h.getFont(),x=r.get("nameTruncate",!0)||{},F=x.ellipsis,S=oi(A.raw.nameTruncateMaxWidth,x.maxWidth,C),E=o.nameMarginLevel||0,I=new Ot({x:p.x,y:p.y,rotation:_.rotation,silent:Wr.isLabelSilent(r),style:In(h,{text:u,font:Q,overflow:"truncate",width:S,ellipsis:F,fill:h.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:h.get("align")||_.textAlign,verticalAlign:h.get("verticalAlign")||_.textVerticalAlign}),z2:1});if(cl({el:I,componentModel:r,itemName:u}),I.__fullText=u,I.anid="name",r.get("triggerEvent")){var U=Wr.makeAxisEventDataBase(r);U.targetType="axisName",U.name=u,Le(I).eventData=U}i.add(I),I.updateTransform(),e.nameEl=I;var T=s.nameLayout=kr({label:I,priority:I.z2,defaultAttr:{ignore:I.ignore},marginDefault:$i(f)?CM[E]:_M[E]});if(s.nameLocation=f,n.add(I),I.decomposeTransform(),A.shouldNameMoveOverlap&&T){var L=t.ensureRecord(r);process.env.NODE_ENV!=="production"&&fe(L.labelInfoList),t.resolveAxisNameOverlap(A,t,r,T,B,L)}}}};function bC(A,e,t,r,n,i,a,o){IC(e)||TM(A,e,n,o,r,a);var s=e.labelLayoutList;DM(A,r,s,i),A.rotation;var l=A.optionHideOverlap;bM(r,s,l),l&&Kw(rt(s,function(u){return u&&!u.label.ignore})),QM(A,t,r,s)}function EM(A,e,t,r){var n=Pg(t-A),i,a,o=r[0]>r[1],s=e==="start"&&!o||e!=="start"&&o;return Is(n-zr/2)?(a=s?"bottom":"top",i="center"):Is(n-zr*1.5)?(a=s?"top":"bottom",i="center"):(a="middle",n<zr*1.5&&n>zr/2?i=s?"left":"right":i=s?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:a}}function bM(A,e,t){if(Cw(A.axis))return;function r(o,s,l){var u=kr(e[s]),f=kr(e[l]);if(!(!u||!f)){if(o===!1||u.suggestIgnore){Co(u.label);return}if(f.suggestIgnore){Co(f.label);return}var c=.1;if(!t){var h=[0,0,0,0];u=zv({marginForce:h},u),f=zv({marginForce:h},f)}Wv(u,f,null,{touchThreshold:c})&&Co(o?f.label:u.label)}}var n=A.get(["axisLabel","showMinLabel"]),i=A.get(["axisLabel","showMaxLabel"]),a=e.length;r(n,0,1),r(i,a-1,a-2)}function SM(A,e,t){A.showMinorTicks||b(e,function(r){if(r&&r.label.ignore)for(var n=0;n<t.length;n++){var i=t[n],a=_C(i),o=yo(r.label);if(a.tickValue!=null&&!a.onBand&&a.tickValue===o.tickValue){Co(i);return}}})}function Co(A){A&&(A.ignore=!0)}function SC(A,e,t,r,n){for(var i=[],a=[],o=[],s=0;s<A.length;s++){var l=A[s].coord;a[0]=l,a[1]=0,o[0]=l,o[1]=t,e&&(tA(a,a,e),tA(o,o,e));var u=new Tr({shape:{x1:a[0],y1:a[1],x2:o[0],y2:o[1]},style:r,z2:2,autoBatch:!0,silent:!0});Va(u.shape,u.style.lineWidth),u.anid=n+"_"+A[s].tickValue,i.push(u);var f=_C(u);f.onBand=!!A[s].onBand,f.tickValue=A[s].tickValue}return i}function UM(A,e,t,r){var n=r.axis,i=r.getModel("axisTick"),a=i.get("show");if(a==="auto"&&(a=!0,A.raw.axisTickAutoShow!=null&&(a=!!A.raw.axisTickAutoShow)),!a||n.scale.isBlank())return[];for(var o=i.getModel("lineStyle"),s=A.tickDirection*i.get("length"),l=n.getTicksCoords(),u=SC(l,t.transform,s,Ne(o.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<u.length;f++)e.add(u[f]);return u}function IM(A,e,t,r,n){var i=r.axis,a=r.getModel("minorTick");if(!(!A.showMinorTicks||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=n*a.get("length"),u=Ne(s.getLineStyle(),Ne(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),f=0;f<o.length;f++)for(var c=SC(o[f],t.transform,l,u,"minorticks_"+f),h=0;h<c.length;h++)e.add(c[h])}}function UC(A,e,t){if(IC(A)){var r=A.axisLabelsCreationContext;process.env.NODE_ENV!=="production"&&fe(A.labelGroup&&r);var n=r.out.noPxChangeTryDetermine;if(t.noPxChange){for(var i=!0,a=0;a<n.length;a++)i=i&&n[a]();if(i)return!1}n.length&&(e.remove(A.labelGroup),od(A,null,null,null))}return!0}function TM(A,e,t,r,n,i){var a=n.axis,o=oi(A.raw.axisLabelShow,n.get(["axisLabel","show"])),s=new lt;t.add(s);var l=fu(r);if(!o||a.scale.isBlank()){od(e,[],s,l);return}var u=n.getModel("axisLabel"),f=a.getViewLabels(l),c=(oi(A.raw.labelRotate,u.get("rotate"))||0)*zr/180,h=Wr.innerTextLayout(A.rotation,c,A.labelDirection),v=n.getCategories&&n.getCategories(!0),d=[],g=n.get("triggerEvent"),p=1/0,B=-1/0;b(f,function(y,_){var C,Q=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(y.tickValue):y.tickValue,x=y.formattedLabel,F=y.rawLabel,S=u;if(v&&v[Q]){var E=v[Q];he(E)&&E.textStyle&&(S=new et(E.textStyle,u,n.ecModel))}var I=S.getTextColor()||n.get(["axisLine","lineStyle","color"]),U=S.getShallow("align",!0)||h.textAlign,T=ve(S.getShallow("alignMinLabel",!0),U),L=ve(S.getShallow("alignMaxLabel",!0),U),P=S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||h.textVerticalAlign,Z=ve(S.getShallow("verticalAlignMinLabel",!0),P),V=ve(S.getShallow("verticalAlignMaxLabel",!0),P),X=10+(((C=y.time)===null||C===void 0?void 0:C.level)||0);p=Math.min(p,X),B=Math.max(B,X);var ee=new Ot({x:0,y:0,rotation:0,silent:Wr.isLabelSilent(n),z2:X,style:In(S,{text:x,align:_===0?T:_===f.length-1?L:U,verticalAlign:_===0?Z:_===f.length-1?V:P,fill:me(I)?I(a.type==="category"?F:a.type==="value"?Q+"":Q,_):I})});ee.anid="label_"+Q;var te=yo(ee);if(te.break=y.break,te.tickValue=Q,te.layoutRotation=h.rotation,cl({el:ee,componentModel:n,itemName:x,formatterParamsExtra:{isTruncated:function(){return ee.isTruncated},value:F,tickIndex:_}}),g){var D=Wr.makeAxisEventDataBase(n);D.targetType="axisLabel",D.value=F,D.tickIndex=_,y.break&&(D.break={start:y.break.parsedBreak.vmin,end:y.break.parsedBreak.vmax}),a.type==="category"&&(D.dataIndex=Q),Le(ee).eventData=D,y.break&&MM(n,i,ee,y.break)}d.push(ee),s.add(ee)});var m=Be(d,function(y){return{label:y,priority:yo(y).break?y.z2+(B-p+1):y.z2,defaultAttr:{ignore:y.ignore}}});od(e,m,s,l)}function IC(A){return!!A.labelLayoutList}function od(A,e,t,r){A.labelLayoutList=e,A.labelGroup=t,A.axisLabelsCreationContext=r}function DM(A,e,t,r){var n=e.get(["axisLabel","margin"]);b(t,function(i,a){var o=kr(i);if(o){var s=o.label,l=yo(s);o.suggestIgnore=s.ignore,s.ignore=!1,wc(dr,LM),dr.x=e.axis.dataToCoord(l.tickValue),dr.y=A.labelOffset+A.labelDirection*n,dr.rotation=l.layoutRotation,r.add(dr),dr.updateTransform(),r.remove(dr),dr.decomposeTransform(),wc(s,dr),s.markRedraw(),hu(o,!0),kr(o)}})}var dr=new qe,LM=new qe;function sd(A){return!!A}function MM(A,e,t,r){t.on("click",function(n){var i={type:wM,breaks:[{start:r.parsedBreak.breakOption.start,end:r.parsedBreak.breakOption.end}]};i[A.axis.dim+"AxisIndex"]=A.componentIndex,e.dispatchAction(i)})}function Mk(A,e,t){}function wu(A,e,t){t=t||{};var r=e.axis,n={},i=r.getAxesOnZeroOf()[0],a=r.position,o=i?"onZero":a,s=r.dim,l=[A.x,A.x+A.width,A.y,A.y+A.height],u={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,c=s==="x"?[l[2]-f,l[3]+f]:[l[0]-f,l[1]+f];if(i){var h=i.toGlobalCoord(i.dataToCoord(0));c[u.onZero]=Math.max(Math.min(h,c[1]),c[0])}n.position=[s==="y"?c[u[o]]:l[0],s==="x"?c[u[o]]:l[3]],n.rotation=Math.PI/2*(s==="x"?0:1);var v={top:-1,bottom:1,left:-1,right:1};n.labelDirection=n.tickDirection=n.nameDirection=v[a],n.labelOffset=i?c[u[a]]-c[u.onZero]:0,e.get(["axisTick","inside"])&&(n.tickDirection=-n.tickDirection),oi(t.labelInside,e.get(["axisLabel","inside"]))&&(n.labelDirection=-n.labelDirection);var d=e.get(["axisLabel","rotate"]);return n.labelRotate=o==="top"?-d:d,n.z2=1,n}function HM(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function TC(A){var e={xAxisModel:null,yAxisModel:null};return b(e,function(t,r){var n=r.replace(/Model$/,""),i=A.getReferringComponents(n,Mt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error(n+' "'+Cr(A.get(n+"Index"),A.get(n+"Id"),0)+'" not found');e[r]=i}),e}function OM(A,e,t,r,n,i){for(var a=wu(A,t),o=!1,s=!1,l=0;l<e.length;l++)Tv(e[l].getOtherAxis(t.axis).scale)&&(o=s=!0,t.axis.type==="category"&&t.axis.onBand&&(s=!1));return a.axisLineAutoShow=o,a.axisTickAutoShow=s,a.defaultNameMoveOverlap=i,new Wr(t,r,a,n)}function RM(A,e,t){var r=wu(e,t);if(process.env.NODE_ENV!=="production"){var n=A.__getRawCfg();b(Xe(r),function(i){i!=="position"&&i!=="labelOffset"&&fe(r[i]===n[i])})}A.updateCfg(r)}function NM(A,e,t){var r,n=qi.prototype,i=n.getTicks.call(t),a=n.getTicks.call(t,{expandToNicedExtent:!0}),o=i.length-1,s=n.getInterval.call(t),l=yw(A,e),u=l.extent,f=l.fixMin,c=l.fixMax;A.type==="log"&&(u=Mv(A.base,u,!0)),A.setBreaksFromOption(Qw(e)),A.setExtent(u[0],u[1]),A.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:c});var h=n.getExtent.call(A);f&&(u[0]=h[0]),c&&(u[1]=h[1]);var v=n.getInterval.call(A),d=u[0],g=u[1];if(f&&c)v=(g-d)/o;else if(f)for(g=u[0]+v*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)v=Dv(v),g=u[0]+v*o;else if(c)for(d=u[1]-v*o;d>u[0]&&isFinite(d)&&isFinite(u[0]);)v=Dv(v),d=u[1]-v*o;else{var p=A.getTicks().length-1;p>o&&(v=Dv(v));var B=v*o;g=Math.ceil(u[1]/v)*v,d=wt(g-B),d<0&&u[0]>=0?(d=0,g=wt(B)):g>0&&u[1]<=0&&(g=0,d=-wt(B))}var m=(i[0].value-a[0].value)/s,y=(i[o].value-a[o].value)/s;if(n.setExtent.call(A,d+v*m,g+v*y),n.setInterval.call(A,v),(m||y)&&n.setNiceExtent.call(A,d+v,g-v),process.env.NODE_ENV!=="production"){var _=n.getTicks.call(A);_[1]&&(!fD(v)||bc(_[1].value)>bc(v))&&xt("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+(" and alignTicks: true. ("+((r=e.axis)===null||r===void 0?void 0:r.dim)+"AxisIndex: "+e.componentIndex+")"),!0)}}var DC=[[3,1],[0,2]],PM=(function(){function A(e,t,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=ad,this._initCartesian(e,t,r),this.model=e}return A.prototype.getRect=function(){return this._rect},A.prototype.update=function(e,t){var r=this._axesMap;this._updateScale(e,this.model);function n(a){var o,s=Xe(a),l=s.length;if(l){for(var u=[],f=l-1;f>=0;f--){var c=+s[f],h=a[c],v=h.model,d=h.scale;Tv(d)&&v.get("alignTicks")&&v.get("interval")==null?u.push(h):(ww(d,v),Tv(d)&&(o=h))}u.length&&(o||(o=u.pop(),ww(o.scale,o.model)),b(u,function(g){NM(g.scale,g.model,o.scale)}))}}n(r.x),n(r.y);var i={};b(r.x,function(a){LC(r,"y",a,i)}),b(r.y,function(a){LC(r,"x",a,i)}),this.resize(this.model,t)},A.prototype.resize=function(e,t,r){var n=Vh(e,t),i=this._rect=Ri(e.getBoxLayoutParams(),n.refContainer),a=this._axesMap,o=this._coordsList,s=e.get("containLabel");if(HC(a,i),!r){var l=VM(i,o,a,s,t),u=void 0;if(s)process.env.NODE_ENV!=="production"&&Yg("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.",!0),u=RC(i.clone(),"axisLabel",null,i,a,l,n);else{var f=KM(e,i,n),c=f.outerBoundsRect,h=f.parsedOuterBoundsContain,v=f.outerBoundsClamp;c&&(u=RC(c,h,v,i,a,l,n))}NC(i,a,bA.determine,null,u,n)}b(this._coordsList,function(d){d.calcAffineTransform()})},A.prototype.getAxis=function(e,t){var r=this._axesMap[e];if(r!=null)return r[t||0]},A.prototype.getAxes=function(){return this._axesList.slice()},A.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var r="x"+e+"y"+t;return this._coordsMap[r]}he(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===e||i[n].getAxis("y").index===t)return i[n]},A.prototype.getCartesians=function(){return this._coordsList.slice()},A.prototype.convertToPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},A.prototype.convertFromPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},A.prototype._findConvertTarget=function(e){var t=e.seriesModel,r=e.xAxisModel||t&&t.getReferringComponents("xAxis",Mt).models[0],n=e.yAxisModel||t&&t.getReferringComponents("yAxis",Mt).models[0],i=e.gridModel,a=this._coordsList,o,s;if(t)o=t.coordinateSystem,Te(a,o)<0&&(o=null);else if(r&&n)o=this.getCartesian(r.componentIndex,n.componentIndex);else if(r)s=this.getAxis("x",r.componentIndex);else if(n)s=this.getAxis("y",n.componentIndex);else if(i){var l=i.coordinateSystem;l===this&&(o=this._coordsList[0])}return{cartesian:o,axis:s}},A.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},A.prototype._initCartesian=function(e,t,r){var n=this,i=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}this._axesMap=o,b(o.x,function(u,f){b(o.y,function(c,h){var v="x"+f+"y"+h,d=new mM(v);d.master=n,d.model=e,n._coordsMap[v]=d,n._coordsList.push(d),d.addAxis(u),d.addAxis(c)})});function l(u){return function(f,c){if(ld(f,e)){var h=f.get("position");u==="x"?h!=="top"&&h!=="bottom"&&(h=a.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=a.left?"right":"left"),a[h]=!0;var v=new yM(u,PD(f),[0,0],f.get("type"),h),d=v.type==="category";v.onBand=d&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=c,i._axesList.push(v),o[u][c]=v,s[u]++}}}},A.prototype._updateScale=function(e,t){b(this._axesList,function(n){if(n.scale.setExtent(1/0,-1/0),n.type==="category"){var i=n.model.get("categorySortInfo");n.scale.setSortInfo(i)}}),e.eachSeries(function(n){if(HM(n)){var i=TC(n),a=i.xAxisModel,o=i.yAxisModel;if(!ld(a,t)||!ld(o,t))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),f=s.getAxis("y");r(l,u),r(l,f)}},this);function r(n,i){b(_w(n,i.dim),function(a){i.scale.unionExtentFromData(n,a)})}},A.prototype.getTooltipAxes=function(e){var t=[],r=[];return b(this.getCartesians(),function(n){var i=e!=null&&e!=="auto"?n.getAxis(e):n.getBaseAxis(),a=n.getOtherAxis(i);Te(t,i)<0&&t.push(i),Te(r,a)<0&&r.push(a)}),{baseAxes:t,otherAxes:r}},A.create=function(e,t){var r=[];return e.eachComponent("grid",function(n,i){var a=new A(n,e,t);a.name="grid_"+i,a.resize(n,t,!0),n.coordinateSystem=a,r.push(a)}),e.eachSeries(function(n){VS({targetModel:n,coordSysType:"cartesian2d",coordSysProvider:i});function i(){var a=TC(n),o=a.xAxisModel,s=a.yAxisModel,l=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!l)throw new Error('Grid "'+Cr(o.get("gridIndex"),o.get("gridId"),0)+'" not found');if(o.getCoordSysModel()!==s.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var u=l.coordinateSystem;return u.getCartesian(o.componentIndex,s.componentIndex)}}),r},A.dimensions=ad,A})();function ld(A,e){return A.getCoordSysModel()===e}function LC(A,e,t,r){t.getAxesOnZeroOf=function(){return i?[i]:[]};var n=A[e],i,a=t.model,o=a.get(["axisLine","onZero"]),s=a.get(["axisLine","onZeroAxisIndex"]);if(!o)return;if(s!=null)MC(n[s])&&(i=n[s]);else for(var l in n)if(n.hasOwnProperty(l)&&MC(n[l])&&!r[u(n[l])]){i=n[l];break}i&&(r[u(i)]=!0);function u(f){return f.dim+"_"+f.index}}function MC(A){return A&&A.type!=="category"&&A.type!=="time"&&kD(A)}function kM(A,e){var t=A.getExtent(),r=t[0]+t[1];A.toGlobalCoord=A.dim==="x"?function(n){return n+e}:function(n){return r-n+e},A.toLocalCoord=A.dim==="x"?function(n){return n-e}:function(n){return r-n+e}}function HC(A,e){b(A.x,function(t){return OC(t,e.x,e.width)}),b(A.y,function(t){return OC(t,e.y,e.height)})}function OC(A,e,t){var r=[0,t],n=A.inverse?1:0;A.setExtent(r[n],r[1-n]),kM(A,e)}function RC(A,e,t,r,n,i,a){process.env.NODE_ENV!=="production"&&fe(e==="all"||e==="axisLabel"),NC(r,n,bA.estimate,e,!1,a);var o=[0,0,0,0];l(0),l(1),u(r,0,NaN),u(r,1,NaN);var s=nx(o,function(c){return c>0})==null;return fl(r,o,!0,!0,t),HC(n,r),s;function l(c){b(n[Dr[c]],function(h){if(po(h.model)){var v=i.ensureRecord(h.model),d=v.labelInfoList;if(d)for(var g=0;g<d.length;g++){var p=d[g],B=h.scale.normalize(yo(p.label).tickValue);B=c===1?1-B:B,u(p.rect,c,B),u(p.rect,1-c,NaN)}var m=v.nameLayout;if(m){var B=$i(v.nameLocation)?.5:NaN;u(m.rect,c,B),u(m.rect,1-c,NaN)}}})}function u(c,h,v){var d=A[Dr[h]]-c[Dr[h]],g=c[Li[h]]+c[Dr[h]]-(A[Li[h]]+A[Dr[h]]);d=f(d,1-v),g=f(g,v);var p=DC[h][0],B=DC[h][1];o[p]=Jt(o[p],d),o[B]=Jt(o[B],g)}function f(c,h){return c>0&&!ai(h)&&h>1e-4&&(c/=h),c}}function VM(A,e,t,r,n){var i=new QC(GM);return b(t,function(a){return b(a,function(o){if(po(o.model)){var s=!r;o.axisBuilder=OM(A,e,o.model,n,i,s)}})}),i}function NC(A,e,t,r,n,i){var a=t===bA.determine;b(e,function(l){return b(l,function(u){po(u.model)&&(RM(u.axisBuilder,A,u.model),u.axisBuilder.build(a?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:n}))})});var o={x:0,y:0};s(0),s(1);function s(l){o[Dr[1-l]]=A[Li[l]]<=i.refContainer[Li[l]]*.5?0:1-l===1?2:1}b(e,function(l,u){return b(l,function(f){po(f.model)&&((r==="all"||a)&&f.axisBuilder.build({axisName:!0},{nameMarginLevel:o[u]}),a&&f.axisBuilder.build({axisLine:!0}))})})}function KM(A,e,t){var r,n=A.get("outerBoundsMode",!0);n==="same"?r=e.clone():n==null||n==="auto"?r=Ri(A.get("outerBounds",!0)||BC,t.refContainer):n!=="none"&&process.env.NODE_ENV!=="production"&&Ge("Invalid grid["+A.componentIndex+"].outerBoundsMode.");var i=A.get("outerBoundsContain",!0),a;i==null||i==="auto"?a="all":Te(["all","axisLabel"],i)<0?(process.env.NODE_ENV!=="production"&&Ge("Invalid grid["+A.componentIndex+"].outerBoundsContain."),a="all"):a=i;var o=[Ec(ve(A.get("outerBoundsClampWidth",!0),mu[0]),e.width),Ec(ve(A.get("outerBoundsClampHeight",!0),mu[1]),e.height)];return{outerBoundsRect:r,parsedOuterBoundsContain:a,outerBoundsClamp:o}}var GM=function(A,e,t,r,n,i){var a=t.axis.dim==="x"?"y":"x";xC(A,e,t,r,n,i),$i(A.nameLocation)||b(e.recordMap[a],function(o){o&&o.labelInfoList&&o.dirVec&&EC(o.labelInfoList,o.dirVec,r,n)})};function zM(A,e){var t={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return WM(t,A,e),t.seriesInvolved&&XM(t,A),t}function WM(A,e,t){var r=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),i=n.get("link",!0)||[],a=[];b(t.getCoordinateSystems(),function(o){if(!o.axisPointerEnabled)return;var s=_o(o.model),l=A.coordSysAxesInfo[s]={};A.coordSysMap[s]=o;var u=o.model,f=u.getModel("tooltip",r);if(b(o.getAxes(),nt(d,!1,null)),o.getTooltipAxes&&r&&f.get("show")){var c=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",v=o.getTooltipAxes(f.get(["axisPointer","axis"]));(c||h)&&b(v.baseAxes,nt(d,h?"cross":!0,c)),h&&b(v.otherAxes,nt(d,"cross",!1))}function d(g,p,B){var m=B.model.getModel("axisPointer",n),y=m.get("show");if(!(!y||y==="auto"&&!g&&!cd(m))){p==null&&(p=m.get("triggerTooltip")),m=g?YM(B,f,n,e,g,p):m;var _=m.get("snap"),C=m.get("triggerEmphasis"),Q=_o(B.model),x=p||_||B.type==="category",F=A.axesInfo[Q]={key:Q,axis:B,coordSys:o,axisPointerModel:m,triggerTooltip:p,triggerEmphasis:C,involveSeries:x,snap:_,useHandle:cd(m),seriesModels:[],linkGroup:null};l[Q]=F,A.seriesInvolved=A.seriesInvolved||x;var S=ZM(i,B);if(S!=null){var E=a[S]||(a[S]={axesInfo:{}});E.axesInfo[Q]=F,E.mapper=i[S].mapper,F.linkGroup=E}}}})}function YM(A,e,t,r,n,i){var a=e.getModel("axisPointer"),o=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};b(o,function(c){s[c]=Ue(a.get(c))}),s.snap=A.type!=="category"&&!!i,a.get("type")==="cross"&&(s.type="line");var l=s.label||(s.label={});if(l.show==null&&(l.show=!1),n==="cross"){var u=a.get(["label","show"]);if(l.show=u??!0,!i){var f=s.lineStyle=a.get("crossStyle");f&&Ne(l,f.textStyle)}}return A.model.getModel("axisPointer",new et(s,t,r))}function XM(A,e){e.eachSeries(function(t){var r=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);!r||!r.model||n==="none"||n===!1||n==="item"||i===!1||t.get(["axisPointer","show"],!0)===!1||b(A.coordSysAxesInfo[_o(r.model)],function(a){var o=a.axis;r.getAxis(o.dim)===o&&(a.seriesModels.push(t),a.seriesDataCount==null&&(a.seriesDataCount=0),a.seriesDataCount+=t.getData().count())})})}function ZM(A,e){for(var t=e.model,r=e.dim,n=0;n<A.length;n++){var i=A[n]||{};if(ud(i[r+"AxisId"],t.id)||ud(i[r+"AxisIndex"],t.componentIndex)||ud(i[r+"AxisName"],t.name))return n}}function ud(A,e){return A==="all"||ae(A)&&Te(A,e)>=0||A===e}function JM(A){var e=fd(A);if(e){var t=e.axisPointerModel,r=e.axis.scale,n=t.option,i=t.get("status"),a=t.get("value");a!=null&&(a=r.parse(a));var o=cd(t);i==null&&(n.status=o?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a<s[0]&&(a=s[0]),n.value=a,o&&(n.status=e.axis.scale.isBlank()?"hide":"show")}}function fd(A){var e=(A.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[_o(A)]}function qM(A){var e=fd(A);return e&&e.axisPointerModel}function cd(A){return!!A.get(["handle","show"])}function _o(A){return A.type+"||"+A.id}var hd={},PC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.axisPointerClass&&JM(t),A.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,n,!0)},e.prototype.updateAxisPointer=function(t,r,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,r){var n=this._axisPointer;n&&n.remove(r)},e.prototype.dispose=function(t,r){this._disposeAxisPointer(r),A.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,r,n){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var a=qM(t);a?(this._axisPointer||(this._axisPointer=new i)).render(t,a,r,n):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,r){if(process.env.NODE_ENV!=="production"&&hd[t])throw new Error("axisPointer "+t+" exists");hd[t]=r},e.getAxisPointerClass=function(t){return t&&hd[t]},e.type="axis",e})(xA),vd=ze();function $M(A,e,t,r){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitArea"),a=i.getModel("areaStyle"),o=a.get("color"),s=r.coordinateSystem.getRect(),l=n.getTicksCoords({tickModel:i,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(l.length){var u=o.length,f=vd(A).splitAreaColors,c=we(),h=0;if(f)for(var v=0;v<l.length;v++){var d=f.get(l[v].tickValue);if(d!=null){h=(d+(u-1)*v)%u;break}}var g=n.toGlobalCoord(l[0].coord),p=a.getAreaStyle();o=ae(o)?o:[o];for(var v=1;v<l.length;v++){var B=n.toGlobalCoord(l[v].coord),m=void 0,y=void 0,_=void 0,C=void 0;n.isHorizontal()?(m=g,y=s.y,_=B-m,C=s.height,g=m+_):(m=s.x,y=g,_=s.width,C=B-y,g=y+C);var Q=l[v-1].tickValue;Q!=null&&c.set(Q,h),e.add(new qe({anid:Q!=null?"area_"+Q:null,shape:{x:m,y,width:_,height:C},style:Ne({fill:o[h]},p),autoBatch:!0,silent:!0})),h=(h+1)%u}vd(A).splitAreaColors=c}}}function jM(A){vd(A).splitAreaColors=null}var eH=["splitArea","splitLine","minorSplitLine","breakArea"],kC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="CartesianAxisPointer",t}return e.prototype.render=function(t,r,n,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new lt,this.group.add(this._axisGroup),!!po(t)){this._axisGroup.add(t.axis.axisBuilder.group),b(eH,function(s){t.get([s,"show"])&&tH[s](this,this._axisGroup,t,t.getCoordSysModel(),n)},this);var o=i&&i.type==="changeAxisOrder"&&i.isInitSort;o||yB(a,this._axisGroup,t),A.prototype.render.call(this,t,r,n,i)}},e.prototype.remove=function(){jM(this)},e.type="cartesianAxis",e})(PC),tH={splitLine:function(A,e,t,r,n){var i=t.axis;if(!i.scale.isBlank()){var a=t.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color"),l=a.get("showMinLine")!==!1,u=a.get("showMaxLine")!==!1;s=ae(s)?s:[s];for(var f=r.coordinateSystem.getRect(),c=i.isHorizontal(),h=0,v=i.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),d=[],g=[],p=o.getLineStyle(),B=0;B<v.length;B++){var m=i.toGlobalCoord(v[B].coord);if(!(B===0&&!l||B===v.length-1&&!u)){var y=v[B].tickValue;c?(d[0]=m,d[1]=f.y,g[0]=m,g[1]=f.y+f.height):(d[0]=f.x,d[1]=m,g[0]=f.x+f.width,g[1]=m);var _=h++%s.length,C=new Tr({anid:y!=null?"line_"+y:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},style:Ne({stroke:s[_]},p),silent:!0});Va(C.shape,p.lineWidth),e.add(C)}}}},minorSplitLine:function(A,e,t,r,n){var i=t.axis,a=t.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var f=[],c=[],h=o.getLineStyle(),v=0;v<u.length;v++)for(var d=0;d<u[v].length;d++){var g=i.toGlobalCoord(u[v][d].coord);l?(f[0]=g,f[1]=s.y,c[0]=g,c[1]=s.y+s.height):(f[0]=s.x,f[1]=g,c[0]=s.x+s.width,c[1]=g);var p=new Tr({anid:"minor_line_"+u[v][d].tickValue,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]},style:h,silent:!0});Va(p.shape,h.lineWidth),e.add(p)}},splitArea:function(A,e,t,r,n){$M(A,e,t,r)},breakArea:function(A,e,t,r,n){t.axis.scale}},VC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="xAxis",e})(kC),AH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=VC.type,t}return e.type="yAxis",e})(kC),rH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="grid",t}return e.prototype.render=function(t,r){this.group.removeAll(),t.get("show")&&this.group.add(new qe({shape:t.coordinateSystem.getRect(),style:Ne({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e})(xA),KC={offset:0};function nH(A){A.registerComponentView(rH),A.registerComponentModel(uM),A.registerCoordinateSystem("cartesian2d",PM),yC(A,"x",nd,KC),yC(A,"y",nd,KC),A.registerComponentView(VC),A.registerComponentView(AH),A.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var iH=ze();function GC(A,e){return!!iH(A)[e]}Kn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Dt);var aH={axisPointer:1,tooltip:1,brush:1};function oH(A,e,t){var r=e.getComponentByElement(A.topTarget);if(!r||r===t||aH.hasOwnProperty(r.mainType))return!1;var n=r.coordinateSystem;if(!n||n.model===t)return!1;var i=za(r),a=za(t);return!((i.zlevel-a.zlevel||i.z-a.z)<=0)}var sH=(function(A){J(e,A);function e(t){var r=A.call(this)||this;r._zr=t;var n=ye(r._mousedownHandler,r),i=ye(r._mousemoveHandler,r),a=ye(r._mouseupHandler,r),o=ye(r._mousewheelHandler,r),s=ye(r._pinchHandler,r);return r.enable=function(l,u){var f=u.zInfo,c=za(f.component),h=c.z,v=c.zlevel,d={component:f.component,z:h,zlevel:v,z2:ve(f.z2,-1/0)},g=Y({},u.triggerInfo);this._opt=Ne(Y({},u),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:d,triggerInfo:g}),l==null&&(l=!0),(!this._enabled||this._controlType!==l)&&(this._enabled=!0,this.disable(),(l===!0||l==="move"||l==="pan")&&(xo(t,"mousedown",n,d),xo(t,"mousemove",i,d),xo(t,"mouseup",a,d)),(l===!0||l==="scale"||l==="zoom")&&(xo(t,"mousewheel",o,d),xo(t,"pinch",s,d)))},r.disable=function(){this._enabled=!1,Fo(t,"mousedown",n),Fo(t,"mousemove",i),Fo(t,"mouseup",a),Fo(t,"mousewheel",o),Fo(t,"pinch",s)},r}return e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,r,n){var i=this._opt,a=i.zInfoParsed;if(oH(t,i.api,a.component))return!1;var o=i.triggerInfo,s=o.roamTrigger,l=!1;return s==="global"&&(l=!0),l||(l=o.isInSelf(t,r,n)),l&&o.isInClip&&!o.isInClip(t,r,n)&&(l=!1),l},e.prototype._decideCursorStyle=function(t,r,n,i){var a=t.target;if(!a&&this._checkPointer(t,r,n))return"grab";if(i)return a&&a.cursor||"default"},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(Vp(t)||Qo(t))){for(var r=t.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var r=this._zr;if(!(t.gestureEvent==="pinch"||GC(r,"globalPan")||Qo(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!_u("moveOnMouseMove",t,this._opt)){var a=this._decideCursorStyle(t,n,i,!1);a&&r.setCursorStyle(a);return}r.setCursorStyle("grabbing");var o=this._x,s=this._y,l=n-o,u=i-s;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&hi(t.event),t.__ecRoamConsumed=!0,zC(this,"pan","moveOnMouseMove",t,{dx:l,dy:u,oldX:o,oldY:s,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!Qo(t)){var r=this._zr;if(!Vp(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&r.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!Qo(t)){var r=_u("zoomOnMouseWheel",t,this._opt),n=_u("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,a=Math.abs(i),o=t.offsetX,s=t.offsetY;if(!(i===0||!r&&!n)){if(r){var l=a>3?1.4:a>1?1.2:1.1,u=i>0?l:1/l;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:u,originX:o,originY:s,isAvailableBehavior:null})}if(n){var f=Math.abs(i),c=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:s,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(GC(this._zr,"globalPan")||Qo(t))){var r=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:r,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,r,n,i,a){t._checkPointer(i,a.originX,a.originY)&&(hi(i.event),i.__ecRoamConsumed=!0,zC(t,r,n,i,a))},e})(yA);function Qo(A){return A.__ecRoamConsumed}var lH=ze();function Cu(A){var e=lH(A);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function xo(A,e,t,r){for(var n=Cu(A),i=n.roam,a=i[e]=i[e]||[],o=0;o<a.length;o++){var s=a[o].zInfoParsed;if((s.zlevel-r.zlevel||s.z-r.z||s.z2-r.z2)<=0)break}a.splice(o,0,{listener:t,zInfoParsed:r}),uH(A,e)}function Fo(A,e,t){for(var r=Cu(A),n=r.roam[e]||[],i=0;i<n.length;i++)if(n[i].listener===t){n.splice(i,1),n.length||fH(A,e);return}}function uH(A,e){var t=Cu(A);t.uniform[e]||A.on(e,t.uniform[e]=function(r){var n=t.roam[e];if(n)for(var i=0;i<n.length;i++)n[i].listener(r)})}function fH(A,e){var t=Cu(A),r=t.uniform;r[e]&&(A.off(e,r[e]),r[e]=null)}function zC(A,e,t,r,n){n.isAvailableBehavior=ye(_u,null,t,r),A.trigger(e,n)}function _u(A,e,t){var r=t[A];return!A||r&&(!le(r)||e.event[r+"Key"])}function Eo(A,e,t,r,n,i){A=A||0;var a=t[1]-t[0];if(n!=null&&(n=ea(n,[0,a])),i!=null&&(i=Math.max(i,n??0)),r==="all"){var o=Math.abs(e[1]-e[0]);o=ea(o,[0,a]),n=i=ea(o,[n,i]),r=0}e[0]=ea(e[0],t),e[1]=ea(e[1],t);var s=dd(e,r);e[r]+=A;var l=n||0,u=t.slice();s.sign<0?u[0]+=l:u[1]-=l,e[r]=ea(e[r],u);var f;return f=dd(e,r),n!=null&&(f.sign!==s.sign||f.span<n)&&(e[1-r]=e[r]+s.sign*n),f=dd(e,r),i!=null&&f.span>i&&(e[1-r]=e[r]+f.sign*i),e}function dd(A,e){var t=A[e]-A[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function ea(A,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,A))}var Zn=ze(),WC=Ue,pd=ye,cH=(function(){function A(){this._dragging=!1,this.animationThreshold=15}return A.prototype.render=function(e,t,r,n){var i=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=r,!(!n&&this._lastValue===i&&this._lastStatus===a)){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||a==="hide"){o&&o.hide(),s&&s.hide();return}o&&o.show(),s&&s.show();var l={};this.makeElOption(l,i,e,t,r);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=u;var f=this._moveAnimation=this.determineAnimation(e,t);if(!o)o=this._group=new lt,this.createPointerEl(o,l,e,t),this.createLabelEl(o,l,e,t),r.getZr().add(o);else{var c=nt(YC,t,f);this.updatePointerEl(o,l,c),this.updateLabelEl(o,l,c,t)}JC(o,t,!0),this._renderHandle(i)}},A.prototype.remove=function(e){this.clear(e)},A.prototype.dispose=function(e){this.clear(e)},A.prototype.determineAnimation=function(e,t){var r=t.get("animation"),n=e.axis,i=n.type==="category",a=t.get("snap");if(!a&&!i)return!1;if(r==="auto"||r==null){var o=this.animationThreshold;if(i&&n.getBandWidth()>o)return!0;if(a){var s=fd(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return r===!0},A.prototype.makeElOption=function(e,t,r,n,i){},A.prototype.createPointerEl=function(e,t,r,n){var i=t.pointer;if(i){var a=Zn(e).pointerEl=new oS[i.type](WC(t.pointer));e.add(a)}},A.prototype.createLabelEl=function(e,t,r,n){if(t.label){var i=Zn(e).labelEl=new Ot(WC(t.label));e.add(i),ZC(i,n)}},A.prototype.updatePointerEl=function(e,t,r){var n=Zn(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),r(n,{shape:t.pointer.shape}))},A.prototype.updateLabelEl=function(e,t,r,n){var i=Zn(e).labelEl;i&&(i.setStyle(t.label.style),r(i,{x:t.label.x,y:t.label.y}),ZC(i,n))},A.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,r=this._api.getZr(),n=this._handle,i=t.getModel("handle"),a=t.get("status");if(!i.get("show")||!a||a==="hide"){n&&r.remove(n),this._handle=null;return}var o;this._handle||(o=!0,n=this._handle=gh(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){hi(l.event)},onmousedown:pd(this._onHandleDragMove,this,0,0),drift:pd(this._onHandleDragMove,this),ondragend:pd(this._onHandleDragEnd,this)}),r.add(n)),JC(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");ae(s)||(s=[s,s]),n.scaleX=s[0]/2,n.scaleY=s[1]/2,Pl(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},A.prototype._moveHandleToValue=function(e,t){YC(this._axisPointerModel,!t&&this._moveAnimation,this._handle,gd(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},A.prototype._onHandleDragMove=function(e,t){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(gd(r),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(gd(n)),Zn(r).lastProp=null,this._doDispatchAxisPointer()}},A.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},A.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"})}},A.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),r=this._group,n=this._handle;t&&r&&(this._lastGraphicKey=null,r&&t.remove(r),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),kl(this,"_doDispatchAxisPointer")},A.prototype.doClear=function(){},A.prototype.buildLabel=function(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}},A})();function YC(A,e,t,r){XC(Zn(t).lastProp,r)||(Zn(t).lastProp=r,e?Et(t,r,A):(t.stopAnimation(),t.attr(r)))}function XC(A,e){if(he(A)&&he(e)){var t=!0;return b(e,function(r,n){t=t&&XC(A[n],r)}),!!t}else return A===e}function ZC(A,e){A[e.get(["label","show"])?"show":"hide"]()}function gd(A){return{x:A.x||0,y:A.y||0,rotation:A.rotation||0}}function JC(A,e,t){var r=e.get("z"),n=e.get("zlevel");A&&A.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),n!=null&&(i.zlevel=n),i.silent=t)})}function hH(A){var e=A.get("type"),t=A.getModel(e+"Style"),r;return e==="line"?(r=t.getLineStyle(),r.fill=null):e==="shadow"&&(r=t.getAreaStyle(),r.stroke=null),r}function vH(A,e,t,r,n){var i=t.get("value"),a=qC(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),o=t.getModel("label"),s=El(o.get("padding")||0),l=o.getFont(),u=Dg(a,l),f=n.position,c=u.width+s[1]+s[3],h=u.height+s[0]+s[2],v=n.align;v==="right"&&(f[0]-=c),v==="center"&&(f[0]-=c/2);var d=n.verticalAlign;d==="bottom"&&(f[1]-=h),d==="middle"&&(f[1]-=h/2),dH(f,c,h,r);var g=o.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),A.label={x:f[0],y:f[1],style:In(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function dH(A,e,t,r){var n=r.getWidth(),i=r.getHeight();A[0]=Math.min(A[0]+e,n)-e,A[1]=Math.min(A[1]+t,i)-t,A[0]=Math.max(A[0],0),A[1]=Math.max(A[1],0)}function qC(A,e,t,r,n){A=e.scale.parse(A);var i=e.scale.getLabel({value:A},{precision:n.precision}),a=n.formatter;if(a){var o={value:uu(e,{value:A}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};b(r,function(s){var l=t.getSeriesByIndex(s.seriesIndex),u=s.dataIndexInside,f=l&&l.getDataParams(u);f&&o.seriesData.push(f)}),le(a)?i=a.replace("{value}",i):me(a)&&(i=a(o))}return i}function $C(A,e,t){var r=nr();return Wf(r,r,t.rotation),zf(r,r,t.position),Ka([A.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],r)}function pH(A,e,t,r,n,i){var a=Wr.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),vH(e,r,n,i,{position:$C(r.axis,A,t),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function gH(A,e,t){return t=t||0,{x1:A[t],y1:A[1-t],x2:e[t],y2:e[1-t]}}function BH(A,e,t){return t=t||0,{x:A[t],y:A[1-t],width:e[t],height:e[1-t]}}var mH=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,n,i,a){var o=n.axis,s=o.grid,l=i.get("type"),u=jC(s,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(r,!0));if(l&&l!=="none"){var c=hH(i),h=yH[l](o,f,u);h.style=c,t.graphicKey=h.type,t.pointer=h}var v=wu(s.getRect(),n);pH(r,t,v,n,i,a)},e.prototype.getHandleTransform=function(t,r,n){var i=wu(r.axis.grid.getRect(),r,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var a=$C(r.axis,t,i);return{x:a[0],y:a[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,r,n,i){var a=n.axis,o=a.grid,s=a.getGlobalExtent(!0),l=jC(o,a).getOtherAxis(a).getGlobalExtent(),u=a.dim==="x"?0:1,f=[t.x,t.y];f[u]+=r[u],f[u]=Math.min(s[1],f[u]),f[u]=Math.max(s[0],f[u]);var c=(l[1]+l[0])/2,h=[c,c];h[u]=f[u];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:h,tooltipOption:v[u]}},e})(cH);function jC(A,e){var t={};return t[e.dim+"AxisIndex"]=e.index,A.getCartesian(t)}var yH={line:function(A,e,t){var r=gH([e,t[0]],[e,t[1]],e_(A));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(A,e,t){var r=Math.max(1,A.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:BH([e-r/2,t[0]],[r,n],e_(A))}}};function e_(A){return A.dim==="x"?0:1}var wH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:oe.color.border,width:1,type:"dashed"},shadowStyle:{color:oe.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:oe.color.neutral00,padding:[5,7,5,7],backgroundColor:oe.color.accent60,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:oe.color.accent40,throttle:40}},e})(Re),pr=ze(),CH=b;function t_(A,e,t){if(!_e.node){var r=e.getZr();pr(r).records||(pr(r).records={}),_H(r,e);var n=pr(r).records[A]||(pr(r).records[A]={});n.handler=t}}function _H(A,e){if(pr(A).initialized)return;pr(A).initialized=!0,t("click",nt(A_,"click")),t("mousemove",nt(A_,"mousemove")),t("globalout",xH);function t(r,n){A.on(r,function(i){var a=FH(e);CH(pr(A).records,function(o){o&&n(o,i,a.dispatchAction)}),QH(a.pendings,e)})}}function QH(A,e){var t=A.showTip.length,r=A.hideTip.length,n;t?n=A.showTip[t-1]:r&&(n=A.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function xH(A,e,t){A.handler("leave",null,t)}function A_(A,e,t,r){e.handler(A,t,r)}function FH(A){var e={showTip:[],hideTip:[]},t=function(r){var n=e[r.type];n?n.push(r):(r.dispatchAction=t,A.dispatchAction(r))};return{dispatchAction:t,pendings:e}}function Bd(A,e){if(!_e.node){var t=e.getZr(),r=(pr(t).records||{})[A];r&&(pr(t).records[A]=null)}}var EH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n){var i=r.getComponent("tooltip"),a=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";t_("axisPointer",n,function(o,s,l){a!=="none"&&(o==="leave"||a.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},e.prototype.remove=function(t,r){Bd("axisPointer",r)},e.prototype.dispose=function(t,r){Bd("axisPointer",r)},e.type="axisPointer",e})(xA);function r_(A,e){var t=[],r=A.seriesIndex,n;if(r==null||!(n=e.getSeriesByIndex(r)))return{point:[]};var i=n.getData(),a=pn(i,A);if(a==null||a<0||ae(a))return{point:[]};var o=i.getItemGraphicEl(a),s=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(A.isStacked){var l=s.getBaseAxis(),u=s.getOtherAxis(l),f=u.dim,c=l.dim,h=f==="x"||f==="radius"?1:0,v=i.mapDimension(c),d=[];d[h]=i.get(v,a),d[1-h]=i.get(i.getCalculationInfo("stackResultDimension"),a),t=s.dataToPoint(d)||[]}else t=s.dataToPoint(i.getValues(Be(s.dimensions,function(p){return i.mapDimension(p)}),a))||[];else if(o){var g=o.getBoundingRect().clone();g.applyTransform(o.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:o}}var n_=ze();function bH(A,e,t){var r=A.currTrigger,n=[A.x,A.y],i=A,a=A.dispatchAction||ye(t.dispatchAction,t),o=e.getComponent("axisPointer").coordSysAxesInfo;if(o){Qu(n)&&(n=r_({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var s=Qu(n),l=i.axesInfo,u=o.axesInfo,f=r==="leave"||Qu(n),c={},h={},v={list:[],map:{}},d={showPointer:nt(UH,h),showTooltip:nt(IH,v)};b(o.coordSysMap,function(p,B){var m=s||p.containPoint(n);b(o.coordSysAxesInfo[B],function(y,_){var C=y.axis,Q=MH(l,y);if(!f&&m&&(!l||Q)){var x=Q&&Q.value;x==null&&!s&&(x=C.pointToData(n)),x!=null&&i_(y,x,d,!1,c)}})});var g={};return b(u,function(p,B){var m=p.linkGroup;m&&!h[B]&&b(m.axesInfo,function(y,_){var C=h[_];if(y!==p&&C){var Q=C.value;m.mapper&&(Q=p.axis.scale.parse(m.mapper(Q,a_(y),a_(p)))),g[p.key]=Q}})}),b(g,function(p,B){i_(u[B],p,d,!0,c)}),TH(h,u,c),DH(v,n,A,a),LH(u,a,t),c}}function i_(A,e,t,r,n){var i=A.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!A.involveSeries){t.showPointer(A,e);return}var a=SH(e,A),o=a.payloadBatch,s=a.snapToValue;o[0]&&n.seriesIndex==null&&Y(n,o[0]),!r&&A.snap&&i.containData(s)&&s!=null&&(e=s),t.showPointer(A,e,o),t.showTooltip(A,a,s)}}function SH(A,e){var t=e.axis,r=t.dim,n=A,i=[],a=Number.MAX_VALUE,o=-1;return b(e.seriesModels,function(s,l){var u=s.getData().mapDimensionsAll(r),f,c;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(u,A,t);c=h.dataIndices,f=h.nestestValue}else{if(c=s.indicesOfNearest(r,u[0],A,t.type==="category"?.5:null),!c.length)return;f=s.getData().get(u[0],c[0])}if(!(f==null||!isFinite(f))){var v=A-f,d=Math.abs(v);d<=a&&((d<a||v>=0&&o<0)&&(a=d,o=v,n=f,i.length=0),b(c,function(g){i.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function UH(A,e,t,r){A[e.key]={value:t,payloadBatch:r}}function IH(A,e,t,r){var n=t.payloadBatch,i=e.axis,a=i.model,o=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var s=e.coordSys.model,l=_o(s),u=A.map[l];u||(u=A.map[l]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},A.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function TH(A,e,t){var r=t.axesInfo=[];b(e,function(n,i){var a=n.axisPointerModel.option,o=A[i];o?(!n.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!n.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:a.value})})}function DH(A,e,t,r){if(Qu(e)||!A.list.length){r({type:"hideTip"});return}var n=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:A.list})}function LH(A,e,t){var r=t.getZr(),n="axisPointerLastHighlights",i=n_(r)[n]||{},a=n_(r)[n]={};b(A,function(l,u){var f=l.axisPointerModel.option;f.status==="show"&&l.triggerEmphasis&&b(f.seriesDataIndices,function(c){var h=c.seriesIndex+" | "+c.dataIndex;a[h]=c})});var o=[],s=[];b(i,function(l,u){!a[u]&&s.push(l)}),b(a,function(l,u){!i[u]&&o.push(l)}),s.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}function MH(A,e){for(var t=0;t<(A||[]).length;t++){var r=A[t];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function a_(A){var e=A.axis.model,t={},r=t.axisDim=A.axis.dim;return t.axisIndex=t[r+"AxisIndex"]=e.componentIndex,t.axisName=t[r+"AxisName"]=e.name,t.axisId=t[r+"AxisId"]=e.id,t}function Qu(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}function o_(A){PC.registerAxisPointerClass("CartesianAxisPointer",mH),A.registerComponentModel(wH),A.registerComponentView(EH),A.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!ae(t)&&(e.axisPointer.link=[t])}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=zM(e,t)}),A.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},bH)}function HH(A){qA(nH),qA(o_)}var s_=["x","y","radius","angle","single"],OH=["cartesian2d","polar","singleAxis"];function RH(A){var e=A.get("coordinateSystem");return Te(OH,e)>=0}function Yr(A){return process.env.NODE_ENV!=="production"&&fe(A),A+"Axis"}function NH(A,e){var t=we(),r=[],n=we();A.eachComponent({mainType:"dataZoom",query:e},function(u){n.get(u.uid)||o(u)});var i;do i=!1,A.eachComponent("dataZoom",a);while(i);function a(u){!n.get(u.uid)&&s(u)&&(o(u),i=!0)}function o(u){n.set(u.uid,!0),r.push(u),l(u)}function s(u){var f=!1;return u.eachTargetAxis(function(c,h){var v=t.get(c);v&&v[h]&&(f=!0)}),f}function l(u){u.eachTargetAxis(function(f,c){(t.get(f)||t.set(f,[]))[c]=!0})}return r}function l_(A){var e=A.ecModel,t={infoList:[],infoMap:we()};return A.eachTargetAxis(function(r,n){var i=e.getComponent(Yr(r),n);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=t.infoMap.get(o);s||(s={model:a,axisModels:[]},t.infoList.push(s),t.infoMap.set(o,s)),s.axisModels.push(i)}}}),t}var md=(function(){function A(){this.indexList=[],this.indexMap=[]}return A.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},A})(),xu=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,r,n){var i=u_(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var r=u_(t);Oe(this.option,t,!0),Oe(this.settledOption,r,!0),this._doInit(r)},e.prototype._doInit=function(t){var r=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i,a){this._rangePropMode[a]==="value"&&(r[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),r=this._targetAxisInfoMap=we(),n=this._fillSpecifiedTargetAxis(r);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var r=!1;return b(s_,function(n){var i=this.getReferringComponents(Yr(n),XF);if(i.specified){r=!0;var a=new md;b(i.models,function(o){a.add(o.componentIndex)}),t.set(n,a)}},this),r},e.prototype._fillAutoTargetAxisByOrient=function(t,r){var n=this.ecModel,i=!0;if(i){var a=r==="vertical"?"y":"x",o=n.findComponents({mainType:a+"Axis"});s(o,a)}if(i){var o=n.findComponents({mainType:"singleAxis",filter:function(u){return u.get("orient",!0)===r}});s(o,"single")}function s(l,u){var f=l[0];if(f){var c=new md;if(c.add(f.componentIndex),t.set(u,c),i=!1,u==="x"||u==="y"){var h=f.getReferringComponents("grid",Mt).models[0];h&&b(l,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",Mt).models[0]&&c.add(v.componentIndex)})}}}i&&b(s_,function(l){if(i){var u=n.findComponents({mainType:Yr(l),filter:function(c){return c.get("type",!0)==="category"}});if(u[0]){var f=new md;f.add(u[0].componentIndex),t.set(l,f),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(r){!t&&(t=r)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var r=this._rangePropMode,n=this.get("rangeMode");b([["start","startValue"],["end","endValue"]],function(i,a){var o=t[i[0]]!=null,s=t[i[1]]!=null;o&&!s?r[a]="percent":!o&&s?r[a]="value":n?r[a]=n[a]:o&&(r[a]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(r,n){t==null&&(t=this.ecModel.getComponent(Yr(r),n))},this),t},e.prototype.eachTargetAxis=function(t,r){this._targetAxisInfoMap.each(function(n,i){b(n.indexList,function(a){t.call(r,i,a)})})},e.prototype.getAxisProxy=function(t,r){var n=this.getAxisModel(t,r);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,r){process.env.NODE_ENV!=="production"&&fe(t&&r!=null);var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[r])return this.ecModel.getComponent(Yr(t),r)},e.prototype.setRawRange=function(t){var r=this.option,n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(r[i[0]]=n[i[0]]=t[i[0]],r[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var r=this.option;b(["start","startValue","end","endValue"],function(n){r[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,r){if(t==null&&r==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,r).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var r,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var a=n[i],o=this._targetAxisInfoMap.get(a),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(a,o.indexList[s]);if(l.hostedBy(this))return l;r||(r=l)}return r},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&fe(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e})(Re);function u_(A){var e={};return b(["start","end","startValue","endValue","throttle"],function(t){A.hasOwnProperty(t)&&(e[t]=A[t])}),e}var f_=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.dataZoomModel=t,this.ecModel=r,this.api=n},e.type="dataZoom",e})(xA),ta=b,c_=Ua,PH=(function(){function A(e,t,r,n){this._dimName=e,this._axisIndex=t,this.ecModel=n,this._dataZoomModel=r}return A.prototype.hostedBy=function(e){return this._dataZoomModel===e},A.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},A.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},A.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(RH(t)){var r=Yr(this._dimName),n=t.getReferringComponents(r,Mt).models[0];n&&this._axisIndex===n.componentIndex&&e.push(t)}},this),e},A.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},A.prototype.getMinMaxSpan=function(){return Ue(this._minMaxSpan)},A.prototype.calculateDataWindow=function(e){var t=this._dataExtent,r=this.getAxisModel(),n=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[],l;ta(["start","end"],function(c,h){var v=e[c],d=e[c+"Value"];i[h]==="percent"?(v==null&&(v=a[h]),d=n.parse(dt(v,a,t))):(l=!0,d=d==null?t[h]:n.parse(d),v=dt(d,t,a)),s[h]=d==null||isNaN(d)?t[h]:d,o[h]=v==null||isNaN(v)?a[h]:v}),c_(s),c_(o);var u=this._minMaxSpan;l?f(s,o,t,a,!1):f(o,s,a,t,!0);function f(c,h,v,d,g){var p=g?"Span":"ValueSpan";Eo(0,c,v,"all",u["min"+p],u["max"+p]);for(var B=0;B<2;B++)h[B]=dt(c[B],v,d,!0),g&&(h[B]=n.parse(h[B]))}return{valueWindow:s,percentWindow:o}},A.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=kH(this,this._dimName,t),this._updateMinMaxSpan();var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},A.prototype.filterData=function(e,t){if(e!==this._dataZoomModel)return;var r=this._dimName,n=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;if(i==="none")return;ta(n,function(s){var l=s.getData(),u=l.mapDimensionsAll(r);if(u.length){if(i==="weakFilter"){var f=l.getStore(),c=Be(u,function(h){return l.getDimensionIndex(h)},l);l.filterSelf(function(h){for(var v,d,g,p=0;p<u.length;p++){var B=f.get(c[p],h),m=!isNaN(B),y=B<a[0],_=B>a[1];if(m&&!y&&!_)return!0;m&&(g=!0),y&&(v=!0),_&&(d=!0)}return g&&v&&d})}else ta(u,function(h){if(i==="empty")s.setData(l=l.map(h,function(d){return o(d)?d:NaN}));else{var v={};v[h]=a,l.selectRange(v)}});ta(u,function(h){l.setApproximateExtent(a,h)})}});function o(s){return s>=a[0]&&s<=a[1]}},A.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,r=this._dataExtent;ta(["min","max"],function(n){var i=t.get(n+"Span"),a=t.get(n+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?i=dt(r[0]+a,r,[0,100],!0):i!=null&&(a=dt(i,[0,100],r,!0)-r[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=a},this)},A.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,r=this._valueWindow;if(t){var n=Ng(r,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},A})();function kH(A,e,t){var r=[1/0,-1/0];ta(t,function(a){VD(r,a.getData(),e)});var n=A.getAxisModel(),i=mw(n.axis.scale,n,r).calculate();return[i.min,i.max]}var VH={getTargetSeries:function(A){function e(n){A.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(a,o){var s=A.getComponent(Yr(a),o);n(a,o,s,i)})})}e(function(n,i,a,o){a.__dzAxisProxy=null});var t=[];e(function(n,i,a,o){a.__dzAxisProxy||(a.__dzAxisProxy=new PH(n,i,o,A),t.push(a.__dzAxisProxy))});var r=we();return b(t,function(n){b(n.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(A,e){A.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).reset(t)}),t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).filterData(t,e)})}),A.eachComponent("dataZoom",function(t){var r=t.findRepresentativeAxisProxy();if(r){var n=r.getDataPercentWindow(),i=r.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};function KH(A){A.registerAction("dataZoom",function(e,t){var r=NH(t,e);b(r,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var h_=!1;function v_(A){h_||(h_=!0,A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,VH),KH(A),A.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function GH(A,e){var t=El(e.get("padding")),r=e.getItemStyle(["color","opacity"]);r.fill=e.get("backgroundColor");var n=new qe({shape:{x:A.x-t[3],y:A.y-t[0],width:A.width+t[1]+t[3],height:A.height+t[0]+t[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1});return n}var zH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:oe.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:oe.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:oe.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:oe.color.tertiary,fontSize:14}},e})(Re);function d_(A){var e=A.get("confine");return e!=null?!!e:A.get("renderMode")==="richText"}function p_(A){if(_e.domSupported){for(var e=document.documentElement.style,t=0,r=A.length;t<r;t++)if(A[t]in e)return A[t]}}var g_=p_(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),WH=p_(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function B_(A,e){if(!A)return e;e=zB(e,!0);var t=A.indexOf(e);return A=t===-1?e:"-"+A.slice(0,t)+"-"+e,A.toLowerCase()}function YH(A,e){var t=A.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(A);return t?t[e]:null}var XH=B_(WH,"transition"),yd=B_(g_,"transform"),ZH="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_e.transform3dSupported?"will-change:transform;":"");function JH(A){return A=A==="left"?"right":A==="right"?"left":A==="top"?"bottom":"top",A}function qH(A,e,t){if(!le(t)||t==="inside")return"";var r=A.get("backgroundColor"),n=A.get("borderWidth");e=Dn(e);var i=JH(t),a=Math.max(Math.round(n)*1.5,6),o="",s=yd+":",l;Te(["left","right"],i)>-1?(o+="top:50%",s+="translateY(-50%) rotate("+(l=i==="left"?-225:-45)+"deg)"):(o+="left:50%",s+="translateX(-50%) rotate("+(l=i==="top"?225:45)+"deg)");var u=l*Math.PI/180,f=a+n,c=f*Math.abs(Math.cos(u))+f*Math.abs(Math.sin(u)),h=Math.round(((c-Math.SQRT2*n)/2+Math.SQRT2*n-(c-f)/2)*100)/100;o+=";"+i+":-"+h+"px";var v=e+" solid "+n+"px;",d=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",o+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+d.join("")+'"></div>'}function $H(A,e,t){var r="cubic-bezier(0.23,1,0.32,1)",n="",i="";return t&&(n=" "+A/2+"s "+r,i="opacity"+n+",visibility"+n),e||(n=" "+A+"s "+r,i+=(i.length?",":"")+(_e.transformSupported?""+yd+n:",left"+n+",top"+n)),XH+":"+i}function m_(A,e,t){var r=A.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!_e.transformSupported)return t?"top:"+n+";left:"+r+";":[["top",n],["left",r]];var i=_e.transform3dSupported,a="translate"+(i?"3d":"")+"("+r+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+yd+":"+a+";":[["top",0],["left",0],[g_,a]]}function jH(A){var e=[],t=A.get("fontSize"),r=A.getTextColor();r&&e.push("color:"+r),e.push("font:"+A.getFont());var n=ve(A.get("lineHeight"),Math.round(t*3/2));t&&e.push("line-height:"+n+"px");var i=A.get("textShadowColor"),a=A.get("textShadowBlur")||0,o=A.get("textShadowOffsetX")||0,s=A.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),b(["decoration","align"],function(l){var u=A.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function e2(A,e,t,r){var n=[],i=A.get("transitionDuration"),a=A.get("backgroundColor"),o=A.get("shadowBlur"),s=A.get("shadowColor"),l=A.get("shadowOffsetX"),u=A.get("shadowOffsetY"),f=A.getModel("textStyle"),c=Km(A,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i>0&&n.push($H(i,t,r)),a&&n.push("background-color:"+a),b(["width","color","radius"],function(v){var d="border-"+v,g=zB(d),p=A.get(g);p!=null&&n.push(d+":"+p+(v==="color"?"":"px"))}),n.push(jH(f)),c!=null&&n.push("padding:"+El(c).join("px ")+"px"),n.join(";")+";"}function y_(A,e,t,r,n){var i=e&&e.painter;if(t){var a=i&&i.getViewportRoot();a&&Cx(A,a,t,r,n)}else{A[0]=r,A[1]=n;var o=i&&i.getViewportRootOffset();o&&(A[0]+=o.offsetLeft,A[1]+=o.offsetTop)}A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var t2=(function(){function A(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,_e.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=e.getZr(),i=t.appendTo,a=i&&(le(i)?document.querySelector(i):ii(i)?i:me(i)&&i(e.getDom()));y_(this._styleCoord,n,a,e.getWidth()/2,e.getHeight()/2),(a||e.getDom()).appendChild(r),this._api=e,this._container=a;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!o._enterable){var l=n.handler,u=n.painter.getViewportRoot();AA(u,s,!0),l.dispatch("mousemove",s)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return A.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),r=YH(t,"position"),n=t.style;n.position!=="absolute"&&r!=="absolute"&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=e.get("displayTransition")&&e.get("transitionDuration")>0,this.el.className=e.get("className")||""},A.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,n=r.style,i=this._styleCoord;r.innerHTML?n.cssText=ZH+e2(e,!this._firstShow,this._longHide,this._enableDisplayTransition)+m_(i[0],i[1],!0)+("border-color:"+Dn(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},A.prototype.setContent=function(e,t,r,n,i){var a=this.el;if(e==null){a.innerHTML="";return}var o="";if(le(i)&&r.get("trigger")==="item"&&!d_(r)&&(o=qH(r,n,i)),le(e))a.innerHTML=e+o;else if(e){a.innerHTML="",ae(e)||(e=[e]);for(var s=0;s<e.length;s++)ii(e[s])&&e[s].parentNode!==a&&a.appendChild(e[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},A.prototype.moveTo=function(e,t){if(this.el){var r=this._styleCoord;if(y_(r,this._zr,this._container,e,t),r[0]!=null&&r[1]!=null){var n=this.el.style,i=m_(r[0],r[1]);b(i,function(a){n[a[0]]=a[1]})}}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){var e=this,t=this.el.style;this._enableDisplayTransition?(t.visibility="hidden",t.opacity="0"):t.display="none",_e.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this._zr;_x(e&&e.painter&&e.painter.getViewportRoot(),this._container);var t=this.el;if(t){t.onmouseenter=t.onmousemove=t.onmouseleave=null;var r=t.parentNode;r&&r.removeChild(t)}this.el=this._container=null},A})(),A2=(function(){function A(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),C_(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return A.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},A.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},A.prototype.setContent=function(e,t,r,n,i){var a=this;he(e)&&Kt(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var o=r.getModel("textStyle");this.el=new Ot({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:o.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:Km(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),b(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(l){a.el.style[l]=r.get(l)}),b(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(l){a.el.style[l]=o.get(l)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),r=w_(e.style);return[t.width+r.left+r.right,t.height+r.top+r.bottom]},A.prototype.moveTo=function(e,t){var r=this.el;if(r){var n=this._styleCoord;C_(n,this._zr,e,t),e=n[0],t=n[1];var i=r.style,a=Xr(i.borderWidth||0),o=w_(i);r.x=e+a+o.left,r.y=t+a+o.top,r.markRedraw()}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){this._zr.remove(this.el)},A})();function Xr(A){return Math.max(0,A)}function w_(A){var e=Xr(A.shadowBlur||0),t=Xr(A.shadowOffsetX||0),r=Xr(A.shadowOffsetY||0);return{left:Xr(e-t),right:Xr(e+t),top:Xr(e-r),bottom:Xr(e+r)}}function C_(A,e,t,r){A[0]=t,A[1]=r,A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var r2=new qe({shape:{x:-1,y:-1,width:2,height:2}}),n2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){if(!(_e.node||!r.getDom())){var n=t.getComponent("tooltip"),i=this._renderMode=JF(n.get("renderMode"));this._tooltipContent=i==="richText"?new A2(r):new t2(r,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,r,n){if(!(_e.node||!n.getDom())){this.group.removeAll(),this._tooltipModel=t,this._ecModel=r,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&t.get("transitionDuration")?Pl(this,"_updatePosition",50,"fixRate"):kl(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,r=t.get("triggerOn");t_("itemTooltip",this._api,ye(function(n,i,a){r!=="none"&&(r.indexOf(n)>=0?this._tryShow(i,a):n==="leave"&&this._hide(a))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,r=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&a.manuallyShowTip(t,r,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,r,n,i){if(!(i.from===this.uid||_e.node||!n.getDom())){var a=__(i,n);this._ticket="";var o=i.dataByCoordSys,s=s2(i,r,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},a)}else if(i.tooltip&&i.x!=null&&i.y!=null){var u=r2;u.x=i.x,u.y=i.y,u.update(),Le(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},a);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,r,n,i))return;var f=r_(i,r),c=f.point[0],h=f.point[1];c!=null&&h!=null&&this._tryShow({offsetX:c,offsetY:h,target:f.el,position:i.position,positionDefault:"bottom"},a)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},a))}},e.prototype.manuallyHideTip=function(t,r,n,i){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(__(i,n))},e.prototype._manuallyAxisShowTip=function(t,r,n,i){var a=i.seriesIndex,o=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||o==null||s==null)){var l=r.getSeriesByIndex(a);if(l){var u=l.getData(),f=bo([u.getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,r){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var o=Le(n);if(o.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,l;ao(n,function(u){if(u.tooltipDisabled)return s=l=null,!0;s||l||(Le(u).dataIndex!=null?s=u:Le(u).tooltipConfig!=null&&(l=u))},!0),s?this._showSeriesItemTooltip(t,s,r):l?this._showComponentItemTooltip(t,l,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(t,r){var n=t.get("showDelay");r=ye(r,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(r,n):r()},e.prototype._showAxisTooltip=function(t,r){var n=this._ecModel,i=this._tooltipModel,a=[r.offsetX,r.offsetY],o=bo([r.tooltipOption],i),s=this._renderMode,l=[],u=Ao("section",{blocks:[],noHeader:!0}),f=[],c=new rv;b(t,function(B){b(B.dataByAxis,function(m){var y=n.getComponent(m.axisDim+"Axis",m.axisIndex),_=m.value;if(!(!y||_==null)){var C=qC(_,y.axis,n,m.seriesDataIndices,m.valueLabelOpt),Q=Ao("section",{header:C,noHeader:!LA(C),sortBlocks:!0,blocks:[]});u.blocks.push(Q),b(m.seriesDataIndices,function(x){var F=n.getSeriesByIndex(x.seriesIndex),S=x.dataIndexInside,E=F.getDataParams(S);if(!(E.dataIndex<0)){E.axisDim=m.axisDim,E.axisIndex=m.axisIndex,E.axisType=m.axisType,E.axisId=m.axisId,E.axisValue=uu(y.axis,{value:_}),E.axisValueLabel=C,E.marker=c.makeTooltipMarker("item",Dn(E.color),s);var I=Sm(F.formatTooltip(S,!0,null)),U=I.frag;if(U){var T=bo([F],i).get("valueFormatter");Q.blocks.push(T?Y({valueFormatter:T},U):U)}I.text&&f.push(I.text),l.push(E)}})}})}),u.blocks.reverse(),f.reverse();var h=r.position,v=o.get("order"),d=km(u,c,s,v,n.get("useUTC"),o.get("textStyle"));d&&f.unshift(d);var g=s==="richText"?`
41
+ `];function to(A,e){return e.type=A,e}function ev(A){return A.type==="section"}function Nm(A){return ev(A)?jU:eI}function Pm(A){if(ev(A)){var e=0,t=A.blocks.length,r=t>1||t>0&&!A.noHeader;return b(A.blocks,function(n){var i=Pm(n);i>=e&&(e=i+ +(r&&(!i||ev(n)&&!n.noHeader)))}),e}return 0}function jU(A,e,t,r){var n=e.noHeader,i=tI(Pm(e)),a=[],o=e.blocks||[];fe(!o||ae(o)),o=o||[];var s=A.orderMode;if(e.sortBlocks&&s){o=o.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(yA(l,s)){var u=new HU(l[s],null);o.sort(function(d,g){return u.evaluate(d.sortParam,g.sortParam)})}else s==="seriesDesc"&&o.reverse()}b(o,function(d,g){var p=e.valueFormatter,B=Nm(d)(p?Y(Y({},A),{valueFormatter:p}):A,d,g>0?i.html:0,r);B!=null&&a.push(B)});var f=A.renderMode==="richText"?a.join(i.richText):tv(r,a.join(""),n?t:i.html);if(n)return f;var c=Mh(e.header,"ordinal",A.useUTC),h=Rm(r,A.renderMode).nameStyle,v=Om(r);return A.renderMode==="richText"?Vm(A,c,h)+i.richText+f:tv(r,'<div style="'+h+";"+v+';">'+Vt(c)+"</div>"+f,t)}function eI(A,e,t,r){var n=A.renderMode,i=e.noName,a=e.noValue,o=!e.markerType,s=e.name,l=A.useUTC,u=e.valueFormatter||A.valueFormatter||function(y){return y=ae(y)?y:[y],Be(y,function(_,C){return Mh(_,ae(h)?h[C]:h,l)})};if(!(i&&a)){var f=o?"":A.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||oe.color.secondary,n),c=i?"":Mh(s,"ordinal",l),h=e.valueType,v=a?[]:u(e.value,e.dataIndex),d=!o||!i,g=!o&&i,p=Rm(r,n),B=p.nameStyle,m=p.valueStyle;return n==="richText"?(o?"":f)+(i?"":Vm(A,c,B))+(a?"":nI(A,v,d,g,m)):tv(r,(o?"":f)+(i?"":AI(c,!o,B))+(a?"":rI(v,d,g,m)),t)}}function km(A,e,t,r,n,i){if(A){var a=Nm(A),o={useUTC:n,renderMode:t,orderMode:r,markupStyleCreator:e,valueFormatter:A.valueFormatter};return a(o,A,0,i)}}function tI(A){return{html:qU[A],richText:$U[A]}}function tv(A,e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0",i=Om(A);return'<div style="'+n+";"+i+';">'+e+r+"</div>"}function AI(A,e,t){var r=e?"margin-left:2px":"";return'<span style="'+t+";"+r+'">'+Vt(A)+"</span>"}function rI(A,e,t,r){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return A=ae(A)?A:[A],'<span style="'+i+";"+r+'">'+Be(A,function(a){return Vt(a)}).join("&nbsp;&nbsp;")+"</span>"}function Vm(A,e,t){return A.markupStyleCreator.wrapRichTextStyle(e,t)}function nI(A,e,t,r,n){var i=[n],a=r?10:20;return t&&i.push({padding:[0,0,0,a],align:"right"}),A.markupStyleCreator.wrapRichTextStyle(ae(e)?e.join(" "):e,i)}function iI(A,e){var t=A.getData().getItemVisual(e,"style"),r=t[A.visualDrawType];return Dn(r)}function Km(A,e){var t=A.get("padding");return t??(e==="richText"?[8,10]:10)}var Av=(function(){function A(){this.richTextStyles={},this._nextStyleNameId=Kg()}return A.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},A.prototype.makeTooltipMarker=function(e,t,r){var n=r==="richText"?this._generateStyleName():null,i=OS({color:t,type:e,renderMode:r,markerId:n});return le(i)?i:(process.env.NODE_ENV!=="production"&&fe(n),this.richTextStyles[n]=i.style,i.content)},A.prototype.wrapRichTextStyle=function(e,t){var r={};ae(t)?b(t,function(i){return Y(r,i)}):Y(r,t);var n=this._generateStyleName();return this.richTextStyles[n]=r,"{"+n+"|"+e+"}"},A})();function aI(A){var e=A.series,t=A.dataIndex,r=A.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),a=i.length,o=e.getRawValue(t),s=ae(o),l=iI(e,t),u,f,c,h;if(a>1||s&&!a){var v=oI(o,e,t,i,l);u=v.inlineValues,f=v.inlineValueTypes,c=v.blocks,h=v.inlineValues[0]}else if(a){var d=n.getDimensionInfo(i[0]);h=u=Pi(n,t,i[0]),f=d.type}else h=u=s?o[0]:o;var g=bc(e),p=g&&e.name||"",B=n.getName(t),m=r?p:B;return to("section",{header:p,noHeader:r||!g,sortParam:h,blocks:[to("nameValue",{markerType:"item",markerColor:l,name:m,noName:!LA(m),value:u,valueType:f,dataIndex:t})].concat(c||[])})}function oI(A,e,t,r,n){var i=e.getData(),a=ri(A,function(f,c,h){var v=i.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),o=[],s=[],l=[];r.length?b(r,function(f){u(Pi(i,t,f),f)}):b(A,u);function u(f,c){var h=i.getDimensionInfo(c);!h||h.otherDims.tooltip===!1||(a?l.push(to("nameValue",{markerType:"subItem",markerColor:n,name:h.displayName,value:f,valueType:h.type})):(o.push(f),s.push(h.type)))}return{inlineValues:o,inlineValueTypes:s,blocks:l}}var Hr=ze();function Ol(A,e){return A.getName(e)||A.getId(e)}var sI="__universalTransitionEnabled",JA=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,r,n){this.seriesIndex=this.componentIndex,this.dataTask=ja({count:uI,reset:fI}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Hr(this).sourceManager=new ZU(this);i.prepareSource();var a=this.getInitialData(t,n);zm(a,this),this.dataTask.context.data=a,process.env.NODE_ENV!=="production"&&fe(a,"getInitialData returned invalid data."),Hr(this).dataBeforeProcessed=a,Gm(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,r){var n=Xa(this),i=n?Ri(t):{},a=this.subType;Re.hasClass(a)&&(a+="Series"),Oe(t,r.getTheme().get(this.subType)),Oe(t,this.getDefaultOption()),Jg(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Mr(t,i,n)},e.prototype.mergeOption=function(t,r){t=Oe(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Xa(this);n&&Mr(this.option,t,n);var i=Hr(this).sourceManager;i.dirty(),i.prepareSource();var a=this.getInitialData(t,r);zm(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Hr(this).dataBeforeProcessed=a,Gm(this),this._initSelectedMapFromData(a)},e.prototype.fillDataTextStyle=function(t){if(t&&!Tt(t))for(var r=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Jg(t[n],"label",r)},e.prototype.getInitialData=function(t,r){},e.prototype.appendData=function(t){var r=this.getRawData();r.appendData(t.data)},e.prototype.getData=function(t){var r=rv(this);if(r){var n=r.context.data;return t==null||!n.getLinkedData?n:n.getLinkedData(t)}else return Hr(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var r=rv(this);if(r){var n=r.context;n.outputData=t,r!==this.dataTask&&(n.data=t)}Hr(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return we(t)},e.prototype.getSourceManager=function(){return Hr(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Hr(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.indicesOfNearest=function(t,r,n,i){var a=this.getData(),o=this.coordinateSystem,s=o&&o.getAxis(t);if(!o||!s)return[];var l=s.dataToCoord(n);i==null&&(i=1/0);var u=[],f=1/0,c=-1,h=0;return a.each(r,function(v,d){var g=s.dataToCoord(v),p=l-g,B=Math.abs(p);B<=i&&((B<f||B===f&&p>=0&&c<0)&&(f=B,c=p,h=0),p===c&&(u[h++]=d))}),u.length=h,u},e.prototype.formatTooltip=function(t,r,n){return aI({series:this,dataIndex:t,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(_e.node&&!(t&&t.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,r,n){var i=this.ecModel,a=Kh.prototype.getColorFromPalette.call(this,t,r,n);return a||(a=i.getColorFromPalette(t,r,n)),a},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,r){this._innerSelect(this.getData(r),t)},e.prototype.unselect=function(t,r){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,a=this.getData(r);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var s=t[o],l=Ol(a,s);n[l]=!1,this._selectedDataIndicesMap[l]=-1}}},e.prototype.toggleSelect=function(t,r){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],r)?this.unselect(n,r):this.select(n,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,r=Xe(t),n=[],i=0;i<r.length;i++){var a=t[r[i]];a>=0&&n.push(a)}return n},e.prototype.isSelected=function(t,r){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(r);return(n==="all"||n[Ol(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[sI])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,r){var n,i,a=this.option,o=a.selectedMode,s=r.length;if(!(!o||!s)){if(o==="series")a.selectedMap="all";else if(o==="multiple"){he(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u<s;u++){var f=r[u],c=Ol(t,f);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(f)}}else if(o==="single"||o===!0){var h=r[s-1],c=Ol(t,h);a.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=t.getRawIndex(h),i)}}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var r=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&r.push(n)}),r.length>0&&this._innerSelect(t,r)}},e.registerClass=function(t){return Re.registerClass(t)},e.protoInitialize=(function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"})(),e})(Re);DA(JA,LU),DA(JA,Kh),n0(JA,Re);function Gm(A){var e=A.name;bc(A)||(A.name=lI(A)||e)}function lI(A){var e=A.getRawData(),t=e.mapDimensionsAll("seriesName"),r=[];return b(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&r.push(i.displayName)}),r.join(" ")}function uI(A){return A.model.getRawData().count()}function fI(A){var e=A.model;return e.setData(e.getRawData().cloneShallow()),cI}function cI(A,e){e.outputData&&A.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function zm(A,e){b(fx(A.CHANGABLE_METHODS,A.DOWNSAMPLE_METHODS),function(t){A.wrapMethod(t,nt(hI,e))})}function hI(A,e){var t=rv(A);return t&&t.setOutputEnd((e||this).count()),e}function rv(A){var e=(A.ecModel||{}).scheduler,t=e&&e.getPipeline(A.uid);if(t){var r=t.currentTask;if(r){var n=r.agentStubMap;n&&(r=n.get(A.uid))}return r}}var FA=(function(){function A(){this.group=new lt,this.uid=gl("viewComponent")}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){},A.prototype.updateLayout=function(e,t,r,n){},A.prototype.updateVisual=function(e,t,r,n){},A.prototype.toggleBlurSeries=function(e,t,r){},A.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},A})();Ic(FA),Ms(FA);function nv(){var A=ze();return function(e){var t=A(e),r=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,a=t.large=!!(r&&r.large),o=t.progressiveRender=!!(r&&r.progressiveRender);return(n!==a||i!==o)&&"reset"}}var Wm=ze(),vI=nv(),EA=(function(){function A(){this.group=new lt,this.uid=gl("viewChart"),this.renderTask=ja({plan:dI,reset:pI}),this.renderTask.context={view:this}}return A.prototype.init=function(e,t){},A.prototype.render=function(e,t,r,n){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},A.prototype.highlight=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+n.dataType);return}Xm(i,n,"emphasis")},A.prototype.downplay=function(e,t,r,n){var i=e.getData(n&&n.dataType);if(!i){process.env.NODE_ENV!=="production"&&Ge("Unknown dataType "+n.dataType);return}Xm(i,n,"normal")},A.prototype.remove=function(e,t){this.group.removeAll()},A.prototype.dispose=function(e,t){},A.prototype.updateView=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateLayout=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.updateVisual=function(e,t,r,n){this.render(e,t,r,n)},A.prototype.eachRendered=function(e){cl(this.group,e)},A.markUpdateMethod=function(e,t){Wm(e).updateMethod=t},A.protoInitialize=(function(){var e=A.prototype;e.type="chart"})(),A})();function Ym(A,e,t){A&&bi(A)&&(e==="emphasis"?Zs:Js)(A,t)}function Xm(A,e,t){var r=pn(A,e),n=e&&e.highlightKey!=null?db(e.highlightKey):null;r!=null?b(Lt(r),function(i){Ym(A.getItemGraphicEl(i),t,n)}):A.eachItemGraphicEl(function(i){Ym(i,t,n)})}Ic(EA,["dispose"]),Ms(EA);function dI(A){return vI(A.model)}function pI(A){var e=A.model,t=A.ecModel,r=A.api,n=A.payload,i=e.pipelineContext.progressiveRender,a=A.view,o=n&&Wm(n).updateMethod,s=i?"incrementalPrepareRender":o&&a[o]?o:"render";return s!=="render"&&a[s](e,t,r,n),gI[s]}var gI={incrementalPrepareRender:{progress:function(A,e){e.view.incrementalRender(A,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(A,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Rl="\0__throttleOriginMethod",Zm="\0__throttleRate",Jm="\0__throttleType";function iv(A,e,t){var r,n=0,i=0,a=null,o,s,l,u;e=e||0;function f(){i=new Date().getTime(),a=null,A.apply(s,l||[])}var c=function(){for(var h=[],v=0;v<arguments.length;v++)h[v]=arguments[v];r=new Date().getTime(),s=this,l=h;var d=u||e,g=u||t;u=null,o=r-(g?n:i)-d,clearTimeout(a),g?a=setTimeout(f,d):o>=0?f():a=setTimeout(f,-o),n=r};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.debounceNextCall=function(h){u=h},c}function Nl(A,e,t,r){var n=A[e];if(n){var i=n[Rl]||n,a=n[Jm],o=n[Zm];if(o!==t||a!==r){if(t==null||!r)return A[e]=i;n=A[e]=iv(i,t,r==="debounce"),n[Rl]=i,n[Jm]=r,n[Zm]=t}return n}}function Pl(A,e){var t=A[e];t&&t[Rl]&&(t.clear&&t.clear(),A[e]=t[Rl])}var qm=ze(),$m={itemStyle:Da(TB,!0),lineStyle:Da(IB,!0)},BI={lineStyle:"stroke",itemStyle:"fill"};function jm(A,e){var t=A.visualStyleMapper||$m[e];return t||(console.warn("Unknown style type '"+e+"'."),$m.itemStyle)}function ey(A,e){var t=A.visualDrawType||BI[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var mI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=A.getModel(r),i=jm(A,r),a=i(n),o=n.getShallow("decal");o&&(t.setVisual("decal",o),o.dirty=!0);var s=ey(A,r),l=a[s],u=me(l)?l:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[s]||u||f){var c=A.getColorFromPalette(A.name,null,e.getSeriesCount());a[s]||(a[s]=c,t.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||me(a.fill)?c:a.fill,a.stroke=a.stroke==="auto"||me(a.stroke)?c:a.stroke}if(t.setVisual("style",a),t.setVisual("drawType",s),!e.isSeriesFiltered(A)&&u)return t.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var d=A.getDataParams(v),g=Y({},a);g[s]=u(d),h.setItemVisual(v,"style",g)}}}},Ao=new et,yI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!(A.ignoreStyleOnData||e.isSeriesFiltered(A))){var t=A.getData(),r=A.visualStyleAccessPath||"itemStyle",n=jm(A,r),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(a,o){var s=a.getRawDataItem(o);if(s&&s[r]){Ao.option=s[r];var l=n(Ao),u=a.ensureUniqueItemVisual(o,"style");Y(u,l),Ao.option.decal&&(a.setItemVisual(o,"decal",Ao.option.decal),Ao.option.decal.dirty=!0),i in l&&a.setItemVisual(o,"colorFromPalette",!1)}}:null}}}},wI={performRawSeries:!0,overallReset:function(A){var e=we();A.eachSeries(function(t){var r=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+r,i=e.get(n);i||(i={},e.set(n,i)),qm(t).scope=i}}),A.eachSeries(function(t){if(!(t.isColorBySeries()||A.isSeriesFiltered(t))){var r=t.getRawData(),n={},i=t.getData(),a=qm(t).scope,o=t.visualStyleAccessPath||"itemStyle",s=ey(t,o);i.each(function(l){var u=i.getRawIndex(l);n[u]=l}),r.each(function(l){var u=n[l],f=i.getItemVisual(u,"colorFromPalette");if(f){var c=i.ensureUniqueItemVisual(u,"style"),h=r.getName(l)||l+"",v=r.count();c[s]=t.getColorFromPalette(h,a,v)}})}})}},kl=Math.PI;function CI(A,e){e=e||{},Ne(e,{text:"loading",textColor:oe.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:oe.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var t=new lt,r=new qe({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(r);var n=new Ot({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new qe({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var a;return e.showSpinner&&(a=new nl({shape:{startAngle:-kl/2,endAngle:-kl/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:kl*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:kl*3/2}).delay(300).start("circularInOut"),t.add(a)),t.resize=function(){var o=n.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(A.getWidth()-s*2-(e.showSpinner&&o?10:0)-o)/2-(e.showSpinner&&o?0:5+o/2)+(e.showSpinner?0:o/2)+(o?0:s),u=A.getHeight()/2;e.showSpinner&&a.setShape({cx:l,cy:u}),i.setShape({x:l-s,y:u-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:A.getWidth(),height:A.getHeight()})},t.resize(),t}var ty=(function(){function A(e,t,r,n){this._stageTaskMap=we(),this.ecInstance=e,this.api=t,r=this._dataProcessorHandlers=r.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=r.concat(n)}return A.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(r){var n=r.overallTask;n&&n.dirty()})},A.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),n=r.context,i=!t&&r.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>r.blockIndex,a=i?r.step:null,o=n&&n.modDataCount,s=o!=null?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},A.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},A.prototype.updateStreamModes=function(e,t){var r=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),a=r.progressiveEnabled&&t.incrementalPrepareRender&&i>=r.threshold,o=e.get("large")&&i>=e.get("largeThreshold"),s=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:o}},A.prototype.restorePipelines=function(e){var t=this,r=t._pipelineMap=we();e.eachSeries(function(n){var i=n.getProgressive(),a=n.uid;r.set(a,{id:a,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},A.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),r=this.api;b(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),a="";process.env.NODE_ENV!=="production"&&(a='"reset" and "overallReset" must not be both specified.'),fe(!(n.reset&&n.overallReset),a),n.reset&&this._createSeriesStageTask(n,i,t,r),n.overallReset&&this._createOverallStageTask(n,i,t,r)},this)},A.prototype.prepareView=function(e,t,r,n){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=r,a.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},A.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},A.prototype.performVisualTasks=function(e,t,r){this._performStageTasks(this._visualHandlers,e,t,r)},A.prototype._performStageTasks=function(e,t,r,n){n=n||{};var i=!1,a=this;b(e,function(s,l){if(!(n.visualType&&n.visualType!==s.visualType)){var u=a._stageTaskMap.get(s.uid),f=u.seriesTaskMap,c=u.overallTask;if(c){var h,v=c.agentStubMap;v.each(function(g){o(n,g)&&(g.dirty(),h=!0)}),h&&c.dirty(),a.updatePayload(c,r);var d=a.getPerformArgs(c,n.block);v.each(function(g){g.perform(d)}),c.perform(d)&&(i=!0)}else f&&f.each(function(g,p){o(n,g)&&g.dirty();var B=a.getPerformArgs(g,n.block);B.skip=!s.performRawSeries&&t.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(B)&&(i=!0)})}});function o(s,l){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(l.__pipeline.id))}this.unfinished=i||this.unfinished},A.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(r){t=r.dataTask.perform()||t}),this.unfinished=t||this.unfinished},A.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)})},A.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},A.prototype._createSeriesStageTask=function(e,t,r,n){var i=this,a=t.seriesTaskMap,o=t.seriesTaskMap=we(),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(u):s?r.eachRawSeriesByType(s,u):l&&l(r,n).each(u);function u(f){var c=f.uid,h=o.set(c,a&&a.get(c)||ja({plan:EI,reset:bI,count:UI}));h.context={model:f,ecModel:r,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(f,h)}},A.prototype._createOverallStageTask=function(e,t,r,n){var i=this,a=t.overallTask=t.overallTask||ja({reset:_I});a.context={ecModel:r,api:n,overallReset:e.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=we(),l=e.seriesType,u=e.getTargetSeries,f=!0,c=!1,h="";process.env.NODE_ENV!=="production"&&(h='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),fe(!e.createOnAllSeries,h),l?r.eachRawSeriesByType(l,v):u?u(r,n).each(v):(f=!1,b(r.getSeries(),v));function v(d){var g=d.uid,p=s.set(g,o&&o.get(g)||(c=!0,ja({reset:QI,onDirty:FI})));p.context={model:d,overallProgress:f},p.agent=a,p.__block=f,i._pipe(d,p)}c&&a.dirty()},A.prototype._pipe=function(e,t){var r=e.uid,n=this._pipelineMap.get(r);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},A.wrapStageHandler=function(e,t){return me(e)&&(e={overallReset:e,seriesType:II(e)}),e.uid=gl("stageHandler"),t&&(e.visualType=t),e},A})();function _I(A){A.overallReset(A.ecModel,A.api,A.payload)}function QI(A){return A.overallProgress&&xI}function xI(){this.agent.dirty(),this.getDownstream().dirty()}function FI(){this.agent&&this.agent.dirty()}function EI(A){return A.plan?A.plan(A.model,A.ecModel,A.api,A.payload):null}function bI(A){A.useClearVisual&&A.data.clearAllVisual();var e=A.resetDefines=Lt(A.reset(A.model,A.ecModel,A.api,A.payload));return e.length>1?Be(e,function(t,r){return Ay(r)}):SI}var SI=Ay(0);function Ay(A){return function(e,t){var r=t.data,n=t.resetDefines[A];if(n&&n.dataEach)for(var i=e.start;i<e.end;i++)n.dataEach(r,i);else n&&n.progress&&n.progress(e,r)}}function UI(A){return A.data.count()}function II(A){Vl=null;try{A(ro,ry)}catch{}return Vl}var ro={},ry={},Vl;ny(ro,zh),ny(ry,sm),ro.eachSeriesByType=ro.eachRawSeriesByType=function(A){Vl=A},ro.eachComponent=function(A){A.mainType==="series"&&A.subType&&(Vl=A.subType)};function ny(A,e){for(var t in e.prototype)A[t]=Dt}var $=oe.darkColor,TI=$.background,no=function(){return{axisLine:{lineStyle:{color:$.axisLine}},splitLine:{lineStyle:{color:$.axisSplitLine}},splitArea:{areaStyle:{color:[$.backgroundTint,$.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:$.axisMinorSplitLine}},axisLabel:{color:$.axisLabel},axisName:{}}},iy={label:{color:$.secondary},itemStyle:{borderColor:$.borderTint},dividerLineStyle:{color:$.border}},ay={darkMode:!0,color:$.theme,backgroundColor:TI,axisPointer:{lineStyle:{color:$.border},crossStyle:{color:$.borderShade},label:{color:$.tertiary}},legend:{textStyle:{color:$.secondary},pageTextStyle:{color:$.tertiary}},textStyle:{color:$.secondary},title:{textStyle:{color:$.primary},subtextStyle:{color:$.quaternary}},toolbox:{iconStyle:{borderColor:$.accent50}},tooltip:{backgroundColor:$.neutral20,defaultBorderColor:$.border,textStyle:{color:$.tertiary}},dataZoom:{borderColor:$.accent10,textStyle:{color:$.tertiary},brushStyle:{color:$.backgroundTint},handleStyle:{color:$.neutral00,borderColor:$.accent20},moveHandleStyle:{color:$.accent40},emphasis:{handleStyle:{borderColor:$.accent50}},dataBackground:{lineStyle:{color:$.accent30},areaStyle:{color:$.accent20}},selectedDataBackground:{lineStyle:{color:$.accent50},areaStyle:{color:$.accent30}}},visualMap:{textStyle:{color:$.secondary},handleStyle:{borderColor:$.neutral30}},timeline:{lineStyle:{color:$.accent10},label:{color:$.tertiary},controlStyle:{color:$.accent30,borderColor:$.accent30}},calendar:{itemStyle:{color:$.neutral00,borderColor:$.neutral20},dayLabel:{color:$.tertiary},monthLabel:{color:$.secondary},yearLabel:{color:$.secondary}},matrix:{x:iy,y:iy,backgroundColor:{borderColor:$.axisLine},body:{itemStyle:{borderColor:$.borderTint}}},timeAxis:no(),logAxis:no(),valueAxis:no(),categoryAxis:no(),line:{symbol:"circle"},graph:{color:$.theme},gauge:{title:{color:$.secondary},axisLine:{lineStyle:{color:[[1,$.neutral05]]}},axisLabel:{color:$.axisLabel},detail:{color:$.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:$.background}},radar:(function(){var A=no();return A.axisName={color:$.axisLabel},A.axisLine.lineStyle.color=$.neutral20,A})(),treemap:{breadcrumb:{itemStyle:{color:$.neutral20,textStyle:{color:$.secondary}},emphasis:{itemStyle:{color:$.neutral30}}}},sunburst:{itemStyle:{borderColor:$.background}},map:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},label:{color:$.tertiary},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}}},geo:{itemStyle:{borderColor:$.border,areaColor:$.neutral10},emphasis:{label:{color:$.primary},itemStyle:{areaColor:$.highlight}},select:{label:{color:$.primary},itemStyle:{color:$.highlight}}}};ay.categoryAxis.splitLine.show=!1;var DI=(function(){function A(){}return A.prototype.normalizeQuery=function(e){var t={},r={},n={};if(le(e)){var i=VA(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};b(e,function(s,l){for(var u=!1,f=0;f<a.length;f++){var c=a[f],h=l.lastIndexOf(c);if(h>0&&h===l.length-c.length){var v=l.slice(0,h);v!=="data"&&(t.mainType=v,t[c.toLowerCase()]=s,u=!0)}}o.hasOwnProperty(l)&&(r[l]=s,u=!0),u||(n[l]=s)})}return{cptQuery:t,dataQuery:r,otherQuery:n}},A.prototype.filter=function(e,t){var r=this.eventInfo;if(!r)return!0;var n=r.targetEl,i=r.packedEvent,a=r.model,o=r.view;if(!a||!o)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(e,t.otherQuery,n,i));function u(f,c,h,v){return f[h]==null||c[v||h]===f[h]}},A.prototype.afterTrigger=function(){this.eventInfo=null},A})(),av=["symbol","symbolSize","symbolRotate","symbolOffset"],oy=av.concat(["symbolKeepAspect"]),LI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){var t=A.getData();if(A.legendIcon&&t.setVisual("legendIcon",A.legendIcon),!A.hasSymbolVisual)return;for(var r={},n={},i=!1,a=0;a<av.length;a++){var o=av[a],s=A.get(o);me(s)?(i=!0,n[o]=s):r[o]=s}if(r.symbol=r.symbol||A.defaultSymbol,t.setVisual(Y({legendIcon:A.legendIcon||r.symbol,symbolKeepAspect:A.get("symbolKeepAspect")},r)),e.isSeriesFiltered(A))return;var l=Xe(n);function u(f,c){for(var h=A.getRawValue(c),v=A.getDataParams(c),d=0;d<l.length;d++){var g=l[d];f.setItemVisual(c,g,n[g](h,v))}}return{dataEach:i?u:null}}},MI={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,e){if(!A.hasSymbolVisual||e.isSeriesFiltered(A))return;var t=A.getData();function r(n,i){for(var a=n.getItemModel(i),o=0;o<oy.length;o++){var s=oy[o],l=a.getShallow(s,!0);l!=null&&n.setItemVisual(i,s,l)}}return{dataEach:t.hasItemOption?r:null}}};function HI(A,e,t){switch(t){case"color":var r=A.getItemVisual(e,"style");return r[A.getVisual("drawType")];case"opacity":return A.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getItemVisual(e,t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function OI(A,e){switch(e){case"color":var t=A.getVisual("style");return t[A.getVisual("drawType")];case"opacity":return A.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return A.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Ki(A,e,t,r,n){var i=A+e;t.isSilent(i)||(process.env.NODE_ENV!=="production"&&PA("event "+i+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var o=a.seriesIndex,s=a.option.selectedMap,l=n.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===o){var f=a.getData(),c=pn(f,n.fromActionPayload);t.trigger(i,{type:i,seriesId:a.id,name:ae(c)?f.getName(c[0]):f.getName(c),selected:le(s)?s:Y({},s)})}}))}function RI(A,e,t){A.on("selectchanged",function(r){var n=t.getModel();r.isFromClick?(Ki("map","selectchanged",e,n,r),Ki("pie","selectchanged",e,n,r)):r.fromAction==="select"?(Ki("map","selected",e,n,r),Ki("pie","selected",e,n,r)):r.fromAction==="unselect"&&(Ki("map","unselected",e,n,r),Ki("pie","unselected",e,n,r))})}function io(A,e,t){for(var r;A&&!(e(A)&&(r=A,t));)A=A.__hostTarget||A.parent;return r}var NI=Math.round(Math.random()*9),PI=typeof Object.defineProperty=="function",kI=(function(){function A(){this._id="__ec_inner_"+NI++}return A.prototype.get=function(e){return this._guard(e)[this._id]},A.prototype.set=function(e,t){var r=this._guard(e);return PI?Object.defineProperty(r,this._id,{value:t,enumerable:!1,configurable:!0}):r[this._id]=t,this},A.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},A.prototype.has=function(e){return!!this._guard(e)[this._id]},A.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},A})(),VI=ke.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r+i),A.lineTo(t-n,r+i),A.closePath()}}),KI=ke.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(A,e){var t=e.cx,r=e.cy,n=e.width/2,i=e.height/2;A.moveTo(t,r-i),A.lineTo(t+n,r),A.lineTo(t,r+i),A.lineTo(t-n,r),A.closePath()}}),GI=ke.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.x,r=e.y,n=e.width/5*3,i=Math.max(n,e.height),a=n/2,o=a*a/(i-a),s=r-i+a+o,l=Math.asin(o/a),u=Math.cos(l)*a,f=Math.sin(l),c=Math.cos(l),h=a*.6,v=a*.7;A.moveTo(t-u,s+o),A.arc(t,s,a,Math.PI-l,Math.PI*2+l),A.bezierCurveTo(t+u-f*h,s+o+c*h,t,r-v,t,r),A.bezierCurveTo(t,r-v,t-u+f*h,s+o+c*h,t-u,s+o),A.closePath()}}),zI=ke.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(A,e){var t=e.height,r=e.width,n=e.x,i=e.y,a=r/3*2;A.moveTo(n,i),A.lineTo(n+a,i+t),A.lineTo(n,i+t/4*3),A.lineTo(n-a,i+t),A.lineTo(n,i),A.closePath()}}),WI={line:Tr,rect:qe,roundRect:qe,square:qe,circle:tl,diamond:KI,pin:GI,arrow:zI,triangle:VI},YI={line:function(A,e,t,r,n){n.x1=A,n.y1=e+r/2,n.x2=A+t,n.y2=e+r/2},rect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r},roundRect:function(A,e,t,r,n){n.x=A,n.y=e,n.width=t,n.height=r,n.r=Math.min(t,r)/4},square:function(A,e,t,r,n){var i=Math.min(t,r);n.x=A,n.y=e,n.width=i,n.height=i},circle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.r=Math.min(t,r)/2},diamond:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r},pin:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},arrow:function(A,e,t,r,n){n.x=A+t/2,n.y=e+r/2,n.width=t,n.height=r},triangle:function(A,e,t,r,n){n.cx=A+t/2,n.cy=e+r/2,n.width=t,n.height=r}},Kl={};b(WI,function(A,e){Kl[e]=new A});var XI=ke.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(A,e,t){var r=Es(A,e,t),n=this.shape;return n&&n.symbolType==="pin"&&e.position==="inside"&&(r.y=t.y+t.height*.4),r},buildPath:function(A,e,t){var r=e.symbolType;if(r!=="none"){var n=Kl[r];n||(r="rect",n=Kl[r]),YI[r](e.x,e.y,e.width,e.height,n.shape),n.buildPath(A,n.shape,t)}}});function ZI(A,e){if(this.type!=="image"){var t=this.style;this.__isEmptyBrush?(t.stroke=A,t.fill=e||oe.color.neutral00,t.lineWidth=2):this.shape.symbolType==="line"?t.stroke=A:t.fill=A,this.markRedraw()}}function Or(A,e,t,r,n,i,a){var o=A.indexOf("empty")===0;o&&(A=A.substr(5,1).toLowerCase()+A.substr(6));var s;return A.indexOf("image://")===0?s=vB(A.slice(8),new Fe(e,t,r,n),a?"center":"cover"):A.indexOf("path://")===0?s=dh(A.slice(7),{},new Fe(e,t,r,n),a?"center":"cover"):s=new XI({shape:{symbolType:A,x:e,y:t,width:r,height:n}}),s.__isEmptyBrush=o,s.setColor=ZI,i&&s.setColor(i),s}function JI(A){return ae(A)||(A=[+A,+A]),[A[0]||0,A[1]||0]}function sy(A,e){if(A!=null)return ae(A)||(A=[A,A]),[ht(A[0],e[0])||0,ht(ve(A[1],A[0]),e[1])||0]}function Pn(A){return isFinite(A)}function qI(A,e,t){var r=e.x==null?0:e.x,n=e.x2==null?1:e.x2,i=e.y==null?0:e.y,a=e.y2==null?0:e.y2;e.global||(r=r*t.width+t.x,n=n*t.width+t.x,i=i*t.height+t.y,a=a*t.height+t.y),r=Pn(r)?r:0,n=Pn(n)?n:1,i=Pn(i)?i:0,a=Pn(a)?a:0;var o=A.createLinearGradient(r,i,n,a);return o}function $I(A,e,t){var r=t.width,n=t.height,i=Math.min(r,n),a=e.x==null?.5:e.x,o=e.y==null?.5:e.y,s=e.r==null?.5:e.r;e.global||(a=a*r+t.x,o=o*n+t.y,s=s*i),a=Pn(a)?a:.5,o=Pn(o)?o:.5,s=s>=0&&Pn(s)?s:.5;var l=A.createRadialGradient(a,o,0,a,o,s);return l}function ov(A,e,t){for(var r=e.type==="radial"?$I(A,e,t):qI(A,e,t),n=e.colorStops,i=0;i<n.length;i++)r.addColorStop(n[i].offset,n[i].color);return r}function jI(A,e){if(A===e||!A&&!e)return!1;if(!A||!e||A.length!==e.length)return!0;for(var t=0;t<A.length;t++)if(A[t]!==e[t])return!0;return!1}function Gl(A){return parseInt(A,10)}function zl(A,e,t){var r=["width","height"][e],n=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(t[r]!=null&&t[r]!=="auto")return parseFloat(t[r]);var o=document.defaultView.getComputedStyle(A);return(A[n]||Gl(o[r])||Gl(A.style[r]))-(Gl(o[i])||0)-(Gl(o[a])||0)|0}function eT(A,e){return!A||A==="solid"||!(e>0)?null:A==="dashed"?[4*e,2*e]:A==="dotted"?[e]:Ye(A)?[A]:ae(A)?A:null}function ly(A){var e=A.style,t=e.lineDash&&e.lineWidth>0&&eT(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(t){var n=e.strokeNoScale&&A.getLineScale?A.getLineScale():1;n&&n!==1&&(t=Be(t,function(i){return i/n}),r/=n)}return[t,r]}var tT=new Sr(!0);function Wl(A){var e=A.stroke;return!(e==null||e==="none"||!(A.lineWidth>0))}function uy(A){return typeof A=="string"&&A!=="none"}function Yl(A){var e=A.fill;return e!=null&&e!=="none"}function fy(A,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.fillOpacity*e.opacity,A.fill(),A.globalAlpha=t}else A.fill()}function cy(A,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=A.globalAlpha;A.globalAlpha=e.strokeOpacity*e.opacity,A.stroke(),A.globalAlpha=t}else A.stroke()}function sv(A,e,t){var r=i0(e.image,e.__image,t);if(Hs(r)){var n=A.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*cx),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function AT(A,e,t,r){var n,i=Wl(t),a=Yl(t),o=t.strokePercent,s=o<1,l=!e.path;(!e.silent||s)&&l&&e.createPathProxy();var u=e.path||tT,f=e.__dirty;if(!r){var c=t.fill,h=t.stroke,v=a&&!!c.colorStops,d=i&&!!h.colorStops,g=a&&!!c.image,p=i&&!!h.image,B=void 0,m=void 0,y=void 0,_=void 0,C=void 0;(v||d)&&(C=e.getBoundingRect()),v&&(B=f?ov(A,c,C):e.__canvasFillGradient,e.__canvasFillGradient=B),d&&(m=f?ov(A,h,C):e.__canvasStrokeGradient,e.__canvasStrokeGradient=m),g&&(y=f||!e.__canvasFillPattern?sv(A,c,e):e.__canvasFillPattern,e.__canvasFillPattern=y),p&&(_=f||!e.__canvasStrokePattern?sv(A,h,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),v?A.fillStyle=B:g&&(y?A.fillStyle=y:a=!1),d?A.strokeStyle=m:p&&(_?A.strokeStyle=_:i=!1)}var Q=e.getGlobalScale();u.setScale(Q[0],Q[1],e.segmentIgnoreThreshold);var x,F;A.setLineDash&&t.lineDash&&(n=ly(e),x=n[0],F=n[1]);var S=!0;(l||f&di)&&(u.setDPR(A.dpr),s?u.setContext(null):(u.setContext(A),S=!1),u.reset(),e.buildPath(u,e.shape,r),u.toStatic(),e.pathUpdated()),S&&u.rebuildPath(A,s?o:1),x&&(A.setLineDash(x),A.lineDashOffset=F),r||(t.strokeFirst?(i&&cy(A,t),a&&fy(A,t)):(a&&fy(A,t),i&&cy(A,t))),x&&A.setLineDash([])}function rT(A,e,t){var r=e.__image=i0(t.image,e.__image,e,e.onload);if(!(!r||!Hs(r))){var n=t.x||0,i=t.y||0,a=e.getWidth(),o=e.getHeight(),s=r.width/r.height;if(a==null&&o!=null?a=o*s:o==null&&a!=null?o=a/s:a==null&&o==null&&(a=r.width,o=r.height),t.sWidth&&t.sHeight){var l=t.sx||0,u=t.sy||0;A.drawImage(r,l,u,t.sWidth,t.sHeight,n,i,a,o)}else if(t.sx&&t.sy){var l=t.sx,u=t.sy,f=a-l,c=o-u;A.drawImage(r,l,u,f,c,n,i,a,o)}else A.drawImage(r,n,i,a,o)}}function nT(A,e,t){var r,n=t.text;if(n!=null&&(n+=""),n){A.font=t.font||wr,A.textAlign=t.textAlign,A.textBaseline=t.textBaseline;var i=void 0,a=void 0;A.setLineDash&&t.lineDash&&(r=ly(e),i=r[0],a=r[1]),i&&(A.setLineDash(i),A.lineDashOffset=a),t.strokeFirst?(Wl(t)&&A.strokeText(n,t.x,t.y),Yl(t)&&A.fillText(n,t.x,t.y)):(Yl(t)&&A.fillText(n,t.x,t.y),Wl(t)&&A.strokeText(n,t.x,t.y)),i&&A.setLineDash([])}}var hy=["shadowBlur","shadowOffsetX","shadowOffsetY"],vy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function dy(A,e,t,r,n){var i=!1;if(!r&&(t=t||{},e===t))return!1;if(r||e.opacity!==t.opacity){zt(A,n),i=!0;var a=Math.max(Math.min(e.opacity,1),0);A.globalAlpha=isNaN(a)?Bn.opacity:a}(r||e.blend!==t.blend)&&(i||(zt(A,n),i=!0),A.globalCompositeOperation=e.blend||Bn.blend);for(var o=0;o<hy.length;o++){var s=hy[o];(r||e[s]!==t[s])&&(i||(zt(A,n),i=!0),A[s]=A.dpr*(e[s]||0))}return(r||e.shadowColor!==t.shadowColor)&&(i||(zt(A,n),i=!0),A.shadowColor=e.shadowColor||Bn.shadowColor),i}function py(A,e,t,r,n){var i=ao(e,n.inHover),a=r?null:t&&ao(t,n.inHover)||{};if(i===a)return!1;var o=dy(A,i,a,r,n);if((r||i.fill!==a.fill)&&(o||(zt(A,n),o=!0),uy(i.fill)&&(A.fillStyle=i.fill)),(r||i.stroke!==a.stroke)&&(o||(zt(A,n),o=!0),uy(i.stroke)&&(A.strokeStyle=i.stroke)),(r||i.opacity!==a.opacity)&&(o||(zt(A,n),o=!0),A.globalAlpha=i.opacity==null?1:i.opacity),e.hasStroke()){var s=i.lineWidth,l=s/(i.strokeNoScale&&e.getLineScale?e.getLineScale():1);A.lineWidth!==l&&(o||(zt(A,n),o=!0),A.lineWidth=l)}for(var u=0;u<vy.length;u++){var f=vy[u],c=f[0];(r||i[c]!==a[c])&&(o||(zt(A,n),o=!0),A[c]=i[c]||f[1])}return o}function iT(A,e,t,r,n){return dy(A,ao(e,n.inHover),t&&ao(t,n.inHover),r,n)}function gy(A,e){var t=e.transform,r=A.dpr||1;t?A.setTransform(r*t[0],r*t[1],r*t[2],r*t[3],r*t[4],r*t[5]):A.setTransform(r,0,0,r,0,0)}function aT(A,e,t){for(var r=!1,n=0;n<A.length;n++){var i=A[n];r=r||i.isZeroArea(),gy(e,i),e.beginPath(),i.buildPath(e,i.shape),e.clip()}t.allClipped=r}function oT(A,e){return A&&e?A[0]!==e[0]||A[1]!==e[1]||A[2]!==e[2]||A[3]!==e[3]||A[4]!==e[4]||A[5]!==e[5]:!(!A&&!e)}var By=1,my=2,yy=3,wy=4;function sT(A){var e=Yl(A),t=Wl(A);return!(A.lineDash||!(+e^+t)||e&&typeof A.fill!="string"||t&&typeof A.stroke!="string"||A.strokePercent<1||A.strokeOpacity<1||A.fillOpacity<1)}function zt(A,e){e.batchFill&&A.fill(),e.batchStroke&&A.stroke(),e.batchFill="",e.batchStroke=""}function ao(A,e){return e&&A.__hoverStyle||A.style}function Cy(A,e){kn(A,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function kn(A,e,t,r){var n=e.transform;if(!e.shouldBePainted(t.viewWidth,t.viewHeight,!1,!1)){e.__dirty&=~Zt,e.__isRendered=!1;return}var i=e.__clipPaths,a=t.prevElClipPaths,o=!1,s=!1;if((!a||jI(i,a))&&(a&&a.length&&(zt(A,t),A.restore(),s=o=!0,t.prevElClipPaths=null,t.allClipped=!1,t.prevEl=null),i&&i.length&&(zt(A,t),A.save(),aT(i,A,t),o=!0),t.prevElClipPaths=i),t.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var l=t.prevEl;l||(s=o=!0);var u=e instanceof ke&&e.autoBatch&&sT(e.style);o||oT(n,l.transform)?(zt(A,t),gy(A,e)):u||zt(A,t);var f=ao(e,t.inHover);e instanceof ke?(t.lastDrawType!==By&&(s=!0,t.lastDrawType=By),py(A,e,l,s,t),(!u||!t.batchFill&&!t.batchStroke)&&A.beginPath(),AT(A,e,f,u),u&&(t.batchFill=f.fill||"",t.batchStroke=f.stroke||"")):e instanceof ks?(t.lastDrawType!==yy&&(s=!0,t.lastDrawType=yy),py(A,e,l,s,t),nT(A,e,f)):e instanceof Ir?(t.lastDrawType!==my&&(s=!0,t.lastDrawType=my),iT(A,e,l,s,t),rT(A,e,f)):e.getTemporalDisplayables&&(t.lastDrawType!==wy&&(s=!0,t.lastDrawType=wy),lT(A,e,t)),u&&r&&zt(A,t),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),t.prevEl=e,e.__dirty=0,e.__isRendered=!0}function lT(A,e,t){var r=e.getDisplayables(),n=e.getTemporalDisplayables();A.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:t.viewWidth,viewHeight:t.viewHeight,inHover:t.inHover},a,o;for(a=e.getCursor(),o=r.length;a<o;a++){var s=r[a];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),kn(A,s,i,a===o-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}for(var l=0,u=n.length;l<u;l++){var s=n[l];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),kn(A,s,i,l===u-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}e.clearTemporalDisplayables(),e.notClear=!0,A.restore()}var lv=new kI,_y=new gi(100),Qy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function uv(A,e){if(A==="none")return null;var t=e.getDevicePixelRatio(),r=e.getZr(),n=r.painter.type==="svg";A.dirty&&lv.delete(A);var i=lv.get(A);if(i)return i;var a=Ne(A,{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});a.backgroundColor==="none"&&(a.backgroundColor=null);var o={repeat:"repeat"};return s(o),o.rotation=a.rotation,o.scaleX=o.scaleY=n?1:1/t,lv.set(A,o),A.dirty=!1,o;function s(l){for(var u=[t],f=!0,c=0;c<Qy.length;++c){var h=a[Qy[c]];if(h!=null&&!ae(h)&&!le(h)&&!Ye(h)&&typeof h!="boolean"){f=!1;break}u.push(h)}var v;if(f){v=u.join(",")+(n?"-svg":"");var d=_y.get(v);d&&(n?l.svgElement=d:l.image=d)}var g=Fy(a.dashArrayX),p=uT(a.dashArrayY),B=xy(a.symbol),m=fT(g),y=Ey(p),_=!n&&rr.createCanvas(),C=n&&{tag:"g",attrs:{},key:"dcl",children:[]},Q=F(),x;_&&(_.width=Q.width*t,_.height=Q.height*t,x=_.getContext("2d")),S(),f&&_y.put(v,_||C),l.image=_,l.svgElement=C,l.svgWidth=Q.width,l.svgHeight=Q.height;function F(){for(var E=1,I=0,U=m.length;I<U;++I)E=zg(E,m[I]);for(var T=1,I=0,U=B.length;I<U;++I)T=zg(T,B[I].length);E*=T;var L=y*m.length*B.length;if(process.env.NODE_ENV!=="production"){var P=function(Z){console.warn("Calculated decal size is greater than "+Z+" due to decal option settings so "+Z+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Z+" to be larger to avoid incontinuity.")};E>a.maxTileWidth&&P("maxTileWidth"),L>a.maxTileHeight&&P("maxTileHeight")}return{width:Math.max(1,Math.min(E,a.maxTileWidth)),height:Math.max(1,Math.min(L,a.maxTileHeight))}}function S(){x&&(x.clearRect(0,0,_.width,_.height),a.backgroundColor&&(x.fillStyle=a.backgroundColor,x.fillRect(0,0,_.width,_.height)));for(var E=0,I=0;I<p.length;++I)E+=p[I];if(E<=0)return;for(var U=-y,T=0,L=0,P=0;U<Q.height;){if(T%2===0){for(var Z=L/2%B.length,V=0,X=0,ee=0;V<Q.width*2;){for(var te=0,I=0;I<g[P].length;++I)te+=g[P][I];if(te<=0)break;if(X%2===0){var D=(1-a.symbolSize)*.5,M=V+g[P][X]*D,H=U+p[T]*D,K=g[P][X]*a.symbolSize,N=p[T]*a.symbolSize,ue=ee/2%B[Z].length;ie(M,H,K,N,B[Z][ue])}V+=g[P][X],++ee,++X,X===g[P].length&&(X=0)}++P,P===g.length&&(P=0)}U+=p[T],++L,++T,T===p.length&&(T=0)}function ie(Se,He,G,de,De){var st=n?1:t,tr=Or(De,Se*st,He*st,G*st,de*st,a.color,a.symbolKeepAspect);if(n){var nn=r.painter.renderOneToVNode(tr);nn&&C.children.push(nn)}else Cy(x,tr)}}}}function xy(A){if(!A||A.length===0)return[["rect"]];if(le(A))return[[A]];for(var e=!0,t=0;t<A.length;++t)if(!le(A[t])){e=!1;break}if(e)return xy([A]);for(var r=[],t=0;t<A.length;++t)le(A[t])?r.push([A[t]]):r.push(A[t]);return r}function Fy(A){if(!A||A.length===0)return[[0,0]];if(Ye(A)){var e=Math.ceil(A);return[[e,e]]}for(var t=!0,r=0;r<A.length;++r)if(!Ye(A[r])){t=!1;break}if(t)return Fy([A]);for(var n=[],r=0;r<A.length;++r)if(Ye(A[r])){var e=Math.ceil(A[r]);n.push([e,e])}else{var e=Be(A[r],function(o){return Math.ceil(o)});e.length%2===1?n.push(e.concat(e)):n.push(e)}return n}function uT(A){if(!A||typeof A=="object"&&A.length===0)return[0,0];if(Ye(A)){var e=Math.ceil(A);return[e,e]}var t=Be(A,function(r){return Math.ceil(r)});return A.length%2?t.concat(t):t}function fT(A){return Be(A,function(e){return Ey(e)})}function Ey(A){for(var e=0,t=0;t<A.length;++t)e+=A[t];return A.length%2===1?e*2:e}function cT(A,e){A.eachRawSeries(function(t){if(!A.isSeriesFiltered(t)){var r=t.getData();r.hasItemVisual()&&r.each(function(a){var o=r.getItemVisual(a,"decal");if(o){var s=r.ensureUniqueItemVisual(a,"style");s.decal=uv(o,e)}});var n=r.getVisual("decal");if(n){var i=r.getVisual("style");i.decal=uv(n,e)}}})}var bA=new wA,Xl={};function hT(A,e){process.env.NODE_ENV!=="production"&&Xl[A]&&Ge("Already has an implementation of "+A+"."),Xl[A]=e}function vT(A){return process.env.NODE_ENV!=="production"&&(Xl[A]||Ge("Implementation of "+A+" doesn't exists.")),Xl[A]}var dT=1,pT=800,gT=900,BT=1e3,mT=2e3,yT=5e3,by=1e3,wT=1100,fv=2e3,Sy=3e3,CT=4e3,Zl=4500,_T=4600,QT=5e3,xT=6e3,Uy=7e3,FT={PROCESSOR:{FILTER:BT,SERIES_FILTER:pT,STATISTIC:yT},VISUAL:{LAYOUT:by,PROGRESSIVE_LAYOUT:wT,GLOBAL:fv,CHART:Sy,POST_CHART_LAYOUT:_T,COMPONENT:CT,BRUSH:QT,CHART_ITEM:Zl,ARIA:xT,DECAL:Uy}},ut="__flagInMainProcess",Jl="__mainProcessVersion",Bt="__pendingUpdate",cv="__needsUpdateStatus",Iy=/^[a-zA-Z0-9_]+$/,hv="__connectUpdateStatus",Ty=0,ET=1,bT=2;function Dy(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this.isDisposed()){Wt(this.id);return}return My(this,A,e)}}function Ly(A){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return My(this,A,e)}}function My(A,e,t){return t[0]=t[0]&&t[0].toLowerCase(),wA.prototype[e].apply(A,t)}var Hy=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(wA),Oy=Hy.prototype;Oy.on=Ly("on"),Oy.off=Ly("off");var Vn,vv,ql,hr,$l,dv,pv,Gi,zi,Ry,Ny,gv,Py,jl,ky,Vy,hA,Ky,Wi,Gy=(function(A){J(e,A);function e(t,r,n){var i=A.call(this,new DI)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],n=n||{},i._dom=t;var a="canvas",o="auto",s=!1;if(i[Jl]=1,process.env.NODE_ENV!=="production"){var l=_e.hasGlobalWindow?window:global;l&&(a=ve(l.__ECHARTS__DEFAULT__RENDERER__,a),o=ve(l.__ECHARTS__DEFAULT__COARSE_POINTER,o),s=ve(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,s))}n.ssr;var u=i._zr=Hg(t,{renderer:n.renderer||a,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:ve(n.useDirtyRect,s),useCoarsePointer:ve(n.useCoarsePointer,o),pointerSize:n.pointerSize});i._ssr=n.ssr,i._throttledZrFlush=iv(ye(u.flush,u),17),i._updateTheme(r),i._locale=QS(n.locale||DB),i._coordSysMgr=new Rh;var f=i._api=ky(i);function c(h,v){return h.__prio-v.__prio}return is(Au,c),is(yv,c),i._scheduler=new ty(i,f,yv,Au),i._messageCenter=new Hy,i._initEvents(),i.resize=ye(i.resize,i),u.animation.on("frame",i._onframe,i),Ry(u,i),Ny(u,i),If(i),i}return e.prototype._onframe=function(){if(!this._disposed){Ky(this);var t=this._scheduler;if(this[Bt]){var r=this[Bt].silent;this[ut]=!0,Wi(this);try{Vn(this),hr.update.call(this,null,this[Bt].updateParams)}catch(s){throw this[ut]=!1,this[Bt]=null,s}this._zr.flush(),this[ut]=!1,this[Bt]=null,Gi.call(this,r),zi.call(this,r)}else if(t.unfinished){var n=dT,i=this._model,a=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),dv(this,i),t.performVisualTasks(i),jl(this,this._model,a,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,r,n){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`setOption` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}var i,a,o;if(he(r)&&(n=r.lazyUpdate,i=r.silent,a=r.replaceMerge,o=r.transition,r=r.notMerge),this[ut]=!0,Wi(this),!this._model||r){var s=new cU(this._api),l=this._theme,u=this._model=new zh;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:a},wv);var f={seriesTransition:o,optionChanged:!0};if(n)this[Bt]={silent:i,updateParams:f},this[ut]=!1,this.getZr().wakeUp();else{try{Vn(this),hr.update.call(this,null,f)}catch(c){throw this[Bt]=null,this[ut]=!1,c}this._ssr||this._zr.flush(),this[Bt]=null,this[ut]=!1,Gi.call(this,i),zi.call(this,i)}},e.prototype.setTheme=function(t,r){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`setTheme` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}var n=this._model;if(n){var i=r&&r.silent,a=null;this[Bt]&&(i==null&&(i=this[Bt].silent),a=this[Bt].updateParams,this[Bt]=null),this[ut]=!0,Wi(this);try{this._updateTheme(t),n.setTheme(this._theme),Vn(this),hr.update.call(this,{type:"setTheme"},a)}catch(o){throw this[ut]=!1,o}this[ut]=!1,Gi.call(this,i),zi.call(this,i)}},e.prototype._updateTheme=function(t){le(t)&&(t=zy[t]),t&&(t=Ue(t),t&&dm(t,!0),this._theme=t)},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||_e.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return process.env.NODE_ENV!=="production"&&pt("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){var t=this._zr,r=t.storage.getDisplayList();return b(r,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()},e.prototype.getDataURL=function(t){if(this._disposed){Wt(this.id);return}t=t||{};var r=t.excludeComponents,n=this._model,i=[],a=this;b(r,function(s){n.eachComponent({mainType:s},function(l){var u=a._componentsMap[l.__viewId];u.group.ignore||(i.push(u),u.group.ignore=!0)})});var o=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return b(i,function(s){s.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){Wt(this.id);return}var r=t.type==="svg",n=this.group,i=Math.min,a=Math.max,o=1/0;if(Wy[n]){var s=o,l=o,u=-o,f=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();b(oo,function(m,y){if(m.group===n){var _=r?m.getZr().painter.getSvgDom().innerHTML:m.renderToCanvas(Ue(t)),C=m.getDom().getBoundingClientRect();s=i(C.left,s),l=i(C.top,l),u=a(C.right,u),f=a(C.bottom,f),c.push({dom:_,left:C.left,top:C.top})}}),s*=h,l*=h,u*=h,f*=h;var v=u-s,d=f-l,g=rr.createCanvas(),p=Hg(g,{renderer:r?"svg":"canvas"});if(p.resize({width:v,height:d}),r){var B="";return b(c,function(m){var y=m.left-s,_=m.top-l;B+='<g transform="translate('+y+","+_+')">'+m.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=B,t.connectedBackgroundColor&&p.painter.setBackgroundColor(t.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return t.connectedBackgroundColor&&p.add(new qe({shape:{x:0,y:0,width:v,height:d},style:{fill:t.connectedBackgroundColor}})),b(c,function(m){var y=new Ir({style:{x:m.left*h-s,y:m.top*h-l,image:m.dom}});p.add(y)}),p.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,r,n){return $l(this,"convertToPixel",t,r,n)},e.prototype.convertToLayout=function(t,r,n){return $l(this,"convertToLayout",t,r,n)},e.prototype.convertFromPixel=function(t,r,n){return $l(this,"convertFromPixel",t,r,n)},e.prototype.containPixel=function(t,r){if(this._disposed){Wt(this.id);return}var n=this._model,i,a=Sc(n,t);return b(a,function(o,s){s.indexOf("Models")>=0&&b(o,function(l){var u=l.coordinateSystem;if(u&&u.containPoint)i=i||!!u.containPoint(r);else if(s==="seriesModels"){var f=this._chartsMap[l.__viewId];f&&f.containPoint?i=i||f.containPoint(r,l):process.env.NODE_ENV!=="production"&&xt(s+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&xt(s+": containPoint is not supported")},this)},this),!!i},e.prototype.getVisual=function(t,r){var n=this._model,i=Sc(n,t,{defaultMainType:"series"}),a=i.seriesModel;process.env.NODE_ENV!=="production"&&(a||xt("There is no specified series model"));var o=a.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return s!=null?HI(o,s,r):OI(o,r)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;b(ST,function(n){var i=function(a){var o=t.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&io(s,function(d){var g=Le(d);if(g&&g.dataIndex!=null){var p=g.dataModel||o.getSeriesByIndex(g.seriesIndex);return l=p&&p.getDataParams(g.dataIndex,g.dataType,s)||{},!0}else if(g.eventData)return l=Y({},g.eventData),!0},!0),l){var f=l.componentType,c=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=l.seriesIndex);var h=f&&c!=null&&o.getComponent(f,c),v=h&&t[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];process.env.NODE_ENV!=="production"&&!u&&!(h&&v)&&xt("model or view can not be found by params"),l.event=a,l.type=n,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:v},t.trigger(n,l)}};i.zrEventfulCallAtLast=!0,t._zr.on(n,i,t)});var r=this._messageCenter;b(mv,function(n,i){r.on(i,function(a){t.trigger(i,a)})}),RI(r,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){Wt(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){Wt(this.id);return}this._disposed=!0;var t=this.getDom();t&&t0(this.getDom(),_v,"");var r=this,n=r._api,i=r._model;b(r._componentsViews,function(a){a.dispose(i,n)}),b(r._chartsViews,function(a){a.dispose(i,n)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete oo[r.id]},e.prototype.resize=function(t){if(this[ut]){process.env.NODE_ENV!=="production"&&Ge("`resize` should not be called during main process.");return}if(this._disposed){Wt(this.id);return}this._zr.resize(t);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var n=r.resetOption("media"),i=t&&t.silent;this[Bt]&&(i==null&&(i=this[Bt].silent),n=!0,this[Bt]=null),this[ut]=!0,Wi(this);try{n&&Vn(this),hr.update.call(this,{type:"resize",animation:Y({duration:0},t&&t.animation)})}catch(a){throw this[ut]=!1,a}this[ut]=!1,Gi.call(this,i),zi.call(this,i)}},e.prototype.showLoading=function(t,r){if(this._disposed){Wt(this.id);return}if(he(t)&&(r=t,t=""),t=t||"default",this.hideLoading(),!Cv[t]){process.env.NODE_ENV!=="production"&&xt("Loading effects "+t+" not exists.");return}var n=Cv[t](this._api,r),i=this._zr;this._loadingFX=n,i.add(n)},e.prototype.hideLoading=function(){if(this._disposed){Wt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var r=Y({},t);return r.type=tu[t.type],r},e.prototype.dispatchAction=function(t,r){if(this._disposed){Wt(this.id);return}if(he(r)||(r={silent:!!r}),!!eu[t.type]&&this._model){if(this[ut]){this._pendingActions.push(t);return}var n=r.silent;pv.call(this,t,n);var i=r.flush;i?this._zr.flush():i!==!1&&_e.browser.weChat&&this._throttledZrFlush(),Gi.call(this,n),zi.call(this,n)}},e.prototype.updateLabelLayout=function(){bA.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){Wt(this.id);return}var r=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&fe(t.data&&i),i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=(function(){Vn=function(f){var c=f._scheduler;c.restorePipelines(f._model),c.prepareStageTasks(),vv(f,!0),vv(f,!1),c.plan()},vv=function(f,c){for(var h=f._model,v=f._scheduler,d=c?f._componentsViews:f._chartsViews,g=c?f._componentsMap:f._chartsMap,p=f._zr,B=f._api,m=0;m<d.length;m++)d[m].__alive=!1;c?h.eachComponent(function(C,Q){C!=="series"&&y(Q)}):h.eachSeries(y);function y(C){var Q=C.__requireNewView;C.__requireNewView=!1;var x="_ec_"+C.id+"_"+C.type,F=!Q&&g[x];if(!F){var S=VA(C.type),E=c?FA.getClass(S.main,S.sub):EA.getClass(S.sub);process.env.NODE_ENV!=="production"&&fe(E,S.sub+" does not exist."),F=new E,F.init(h,B),g[x]=F,d.push(F),p.add(F.group)}C.__viewId=F.__id=x,F.__alive=!0,F.__model=C,F.group.__ecComponentInfo={mainType:C.mainType,index:C.componentIndex},!c&&v.prepareView(F,C,h,B)}for(var m=0;m<d.length;){var _=d[m];_.__alive?m++:(!c&&_.renderTask.dispose(),p.remove(_.group),_.dispose(h,B),d.splice(m,1),g[_.__id]===_&&delete g[_.__id],_.__id=_.group.__ecComponentInfo=null)}},ql=function(f,c,h,v,d){var g=f._model;if(g.setUpdatePayload(h),!v){b([].concat(f._componentsViews).concat(f._chartsViews),_);return}var p={};p[v+"Id"]=h[v+"Id"],p[v+"Index"]=h[v+"Index"],p[v+"Name"]=h[v+"Name"];var B={mainType:v,query:p};d&&(B.subType=d);var m=h.excludeSeriesId,y;m!=null&&(y=we(),b(Lt(m),function(C){var Q=kA(C,null);Q!=null&&y.set(Q,!0)})),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;if(!Q)if(q0(h))if(C instanceof JA)h.type===En&&!h.notBlur&&!C.get(["emphasis","disabled"])&&ob(C,h,f._api);else{var x=rh(C.mainType,C.componentIndex,h.name,f._api),F=x.focusSelf,S=x.dispatchers;h.type===En&&F&&!h.notBlur&&Ah(C.mainType,C.componentIndex,f._api),S&&b(S,function(E){h.type===En?Zs(E):Js(E)})}else ih(h)&&C instanceof JA&&(ub(C,h,f._api),X0(C),hA(f))},f),g&&g.eachComponent(B,function(C){var Q=y&&y.get(C.id)!=null;Q||_(f[v==="series"?"_chartsMap":"_componentsMap"][C.__viewId])},f);function _(C){C&&C.__alive&&C[c]&&C[c](C.__model,g,f._api,h)}},hr={prepareAndUpdate:function(f){Vn(this),hr.update.call(this,f,f&&{optionChanged:f.newOption!=null})},update:function(f,c){var h=this._model,v=this._api,d=this._zr,g=this._coordSysMgr,p=this._scheduler;if(h){h.setUpdatePayload(f),p.restoreData(h,f),p.performSeriesTasks(h),g.create(h,v),p.performDataProcessorTasks(h,f),dv(this,h),g.update(h,v),r(h),p.performVisualTasks(h,f);var B=h.get("backgroundColor")||"transparent";d.setBackgroundColor(B);var m=h.get("darkMode");m!=null&&m!=="auto"&&d.setDarkMode(m),gv(this,h,v,f,c),bA.trigger("afterupdate",h,v)}},updateTransform:function(f){var c=this,h=this._model,v=this._api;if(h){h.setUpdatePayload(f);var d=[];h.eachComponent(function(p,B){if(p!=="series"){var m=c.getViewOfComponentModel(B);if(m&&m.__alive)if(m.updateTransform){var y=m.updateTransform(B,h,v,f);y&&y.update&&d.push(m)}else d.push(m)}});var g=we();h.eachSeries(function(p){var B=c._chartsMap[p.__viewId];if(B.updateTransform){var m=B.updateTransform(p,h,v,f);m&&m.update&&g.set(p.uid,1)}else g.set(p.uid,1)}),r(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),jl(this,h,v,f,{},g),bA.trigger("afterupdate",h,v)}},updateView:function(f){var c=this._model;c&&(c.setUpdatePayload(f),EA.markUpdateMethod(f,"updateView"),r(c),this._scheduler.performVisualTasks(c,f,{setDirty:!0}),gv(this,c,this._api,f,{}),bA.trigger("afterupdate",c,this._api))},updateVisual:function(f){var c=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(v){v.getData().clearAllVisual()}),EA.markUpdateMethod(f,"updateVisual"),r(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(v,d){if(v!=="series"){var g=c.getViewOfComponentModel(d);g&&g.__alive&&g.updateVisual(d,h,c._api,f)}}),h.eachSeries(function(v){var d=c._chartsMap[v.__viewId];d.updateVisual(v,h,c._api,f)}),bA.trigger("afterupdate",h,this._api))},updateLayout:function(f){hr.update.call(this,f)}};function t(f,c,h,v,d){if(f._disposed){Wt(f.id);return}for(var g=f._model,p=f._coordSysMgr.getCoordinateSystems(),B,m=Sc(g,h),y=0;y<p.length;y++){var _=p[y];if(_[c]&&(B=_[c](g,m,v,d))!=null)return B}process.env.NODE_ENV!=="production"&&xt("No coordinate system that supports "+c+" found by the given finder.")}$l=t,dv=function(f,c){var h=f._chartsMap,v=f._scheduler;c.eachSeries(function(d){v.updateStreamModes(d,h[d.__viewId])})},pv=function(f,c){var h=this,v=this.getModel(),d=f.type,g=f.escapeConnect,p=eu[d],B=(p.update||"update").split(":"),m=B.pop(),y=B[0]!=null&&VA(B[0]);this[ut]=!0,Wi(this);var _=[f],C=!1;f.batch&&(C=!0,_=Be(f.batch,function(P){return P=Ne(Y({},P),f),P.batch=null,P}));var Q=[],x,F=[],S=p.nonRefinedEventType,E=ih(f),I=q0(f);if(I&&Y0(this._api),b(_,function(P){var Z=p.action(P,v,h._api);if(p.refineEvent?F.push(Z):x=Z,x=x||Y({},P),x.type=S,Q.push(x),I){var V=Uc(f),X=V.queryOptionMap,ee=V.mainTypeSpecified,te=ee?X.keys()[0]:"series";ql(h,m,P,te),hA(h)}else E?(ql(h,m,P,"series"),hA(h)):y&&ql(h,m,P,y.main,y.sub)}),m!=="none"&&!I&&!E&&!y)try{this[Bt]?(Vn(this),hr.update.call(this,f),this[Bt]=null):hr[m].call(this,f)}catch(P){throw this[ut]=!1,P}if(C?x={type:S,escapeConnect:g,batch:Q}:x=Q[0],this[ut]=!1,!c){var U=void 0;if(p.refineEvent){var T=p.refineEvent(F,f,v,this._api).eventContent;fe(he(T)),U=Ne({type:p.refinedEventType},T),U.fromAction=f.type,U.fromActionPayload=f,U.escapeConnect=!0}var L=this._messageCenter;L.trigger(x.type,x),U&&L.trigger(U.type,U)}},Gi=function(f){for(var c=this._pendingActions;c.length;){var h=c.shift();pv.call(this,h,f)}},zi=function(f){!f&&this.trigger("updated")},Ry=function(f,c){f.on("rendered",function(h){c.trigger("rendered",h),f.animation.isFinished()&&!c[Bt]&&!c._scheduler.unfinished&&!c._pendingActions.length&&c.trigger("finished")})},Ny=function(f,c){f.on("mouseover",function(h){var v=h.target,d=io(v,bi);d&&(sb(d,h,c._api),hA(c))}).on("mouseout",function(h){var v=h.target,d=io(v,bi);d&&(lb(d,h,c._api),hA(c))}).on("click",function(h){var v=h.target,d=io(v,function(B){return Le(B).dataIndex!=null},!0);if(d){var g=d.selected?"unselect":"select",p=Le(d);c._api.dispatchAction({type:g,dataType:p.dataType,dataIndexInside:p.dataIndex,seriesIndex:p.seriesIndex,isFromClick:!0})}})};function r(f){f.clearColorPalette(),f.eachSeries(function(c){c.clearColorPalette()})}function n(f){var c=[],h=[],v=!1;if(f.eachComponent(function(B,m){var y=m.get("zlevel")||0,_=m.get("z")||0,C=m.getZLevelKey();v=v||!!C,(B==="series"?h:c).push({zlevel:y,z:_,idx:m.componentIndex,type:B,key:C})}),v){var d=c.concat(h),g,p;is(d,function(B,m){return B.zlevel===m.zlevel?B.z-m.z:B.zlevel-m.zlevel}),b(d,function(B){var m=f.getComponent(B.type,B.idx),y=B.zlevel,_=B.key;g!=null&&(y=Math.max(g,y)),_?(y===g&&_!==p&&y++,p=_):p&&(y===g&&y++,p=""),g=y,m.setZLevel(y)})}}gv=function(f,c,h,v,d){n(c),Py(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive=!1}),jl(f,c,h,v,d),b(f._chartsViews,function(g){g.__alive||g.remove(c,h)})},Py=function(f,c,h,v,d,g){b(g||f._componentsViews,function(p){var B=p.__model;l(B,p),p.render(B,c,h,v),s(B,p),u(B,p)})},jl=function(f,c,h,v,d,g){var p=f._scheduler;d=Y(d||{},{updatedSeries:c.getSeries()}),bA.trigger("series:beforeupdate",c,h,d);var B=!1;c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];y.__alive=!0;var _=y.renderTask;p.updatePayload(_,v),l(m,y),g&&g.get(m.uid)&&_.dirty(),_.perform(p.getPerformArgs(_))&&(B=!0),y.group.silent=!!m.get("silent"),o(m,y),X0(m)}),p.unfinished=B||p.unfinished,bA.trigger("series:layoutlabels",c,h,d),bA.trigger("series:transition",c,h,d),c.eachSeries(function(m){var y=f._chartsMap[m.__viewId];s(m,y),u(m,y)}),a(f,c),bA.trigger("series:afterupdate",c,h,d)},hA=function(f){f[cv]=!0,f.getZr().wakeUp()},Wi=function(f){f[Jl]=(f[Jl]+1)%1e3},Ky=function(f){f[cv]&&(f.getZr().storage.traverse(function(c){Ti(c)||i(c)}),f[cv]=!1)};function i(f){for(var c=[],h=f.currentStates,v=0;v<h.length;v++){var d=h[v];d==="emphasis"||d==="blur"||d==="select"||c.push(d)}f.selected&&f.states.select&&c.push("select"),f.hoverState===Ks&&f.states.emphasis?c.push("emphasis"):f.hoverState===Vs&&f.states.blur&&c.push("blur"),f.useStates(c)}function a(f,c){var h=f._zr,v=h.storage,d=0;v.traverse(function(g){g.isGroup||d++}),d>c.get("hoverLayerThreshold")&&!_e.node&&!_e.worker&&c.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=f._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(B){B.states.emphasis&&(B.states.emphasis.hoverLayer=!0)})}})}function o(f,c){var h=f.get("blendMode")||null;c.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function s(f,c){if(!f.preventAutoZ){var h=Ga(f);c.eachRendered(function(v){return _B(v,h.z,h.zlevel),!0})}}function l(f,c){c.eachRendered(function(h){if(!Ti(h)){var v=h.getTextContent(),d=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function u(f,c){var h=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),d=h.get("duration"),g=d>0?{duration:d,delay:h.get("delay"),easing:h.get("easing")}:null;c.eachRendered(function(p){if(p.states&&p.states.emphasis){if(Ti(p))return;if(p instanceof ke&&pb(p),p.__dirty){var B=p.prevStates;B&&p.useStates(B)}if(v){p.stateTransition=g;var m=p.getTextContent(),y=p.getTextGuideLine();m&&(m.stateTransition=g),y&&(y.stateTransition=g)}p.__dirty&&i(p)}})}ky=function(f){return new((function(c){J(h,c);function h(){return c!==null&&c.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var d=v.__ecComponentInfo;if(d!=null)return f._model.getComponent(d.mainType,d.index);v=v.parent}},h.prototype.enterEmphasis=function(v,d){Zs(v,d),hA(f)},h.prototype.leaveEmphasis=function(v,d){Js(v,d),hA(f)},h.prototype.enterBlur=function(v){ab(v),hA(f)},h.prototype.leaveBlur=function(v){K0(v),hA(f)},h.prototype.enterSelect=function(v){G0(v),hA(f)},h.prototype.leaveSelect=function(v){z0(v),hA(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},h.prototype.getMainProcessVersion=function(){return f[Jl]},h})(sm))(f)},Vy=function(f){function c(h,v){for(var d=0;d<h.length;d++){var g=h[d];g[hv]=v}}b(tu,function(h,v){f._messageCenter.on(v,function(d){if(Wy[f.group]&&f[hv]!==Ty){if(d&&d.escapeConnect)return;var g=f.makeActionFromEvent(d),p=[];b(oo,function(B){B!==f&&B.group===f.group&&p.push(B)}),c(p,Ty),b(p,function(B){B[hv]!==ET&&B.dispatchAction(g)}),c(p,bT)}})})}})(),e})(wA),Bv=Gy.prototype;Bv.on=Dy("on"),Bv.off=Dy("off"),Bv.one=function(A,e,t){var r=this;PA("ECharts#one is deprecated.");function n(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];e&&e.apply&&e.apply(this,i),r.off(A,n)}this.on.call(this,A,n,t)};var ST=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Wt(A){process.env.NODE_ENV!=="production"&&xt("Instance "+A+" has been disposed")}var eu={},tu={},mv={},yv=[],wv=[],Au=[],zy={},Cv={},oo={},Wy={},UT=+new Date-0,_v="_echarts_instance_";function IT(A,e,t){{if(process.env.NODE_ENV!=="production"&&!A)throw new Error("Initialize failed: invalid dom.");var r=TT(A);if(r)return process.env.NODE_ENV!=="production"&&xt("There is a chart instance already initialized on the dom."),r;process.env.NODE_ENV!=="production"&&ni(A)&&A.nodeName.toUpperCase()!=="CANVAS"&&(!A.clientWidth&&!t||!A.clientHeight&&!t)&&xt("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var n=new Gy(A,e,t);return n.id="ec_"+UT++,oo[n.id]=n,t0(A,_v,n.id),Vy(n),bA.trigger("afterinit",n),n}function TT(A){return oo[ZF(A,_v)]}function Yy(A,e){zy[A]=e}function Xy(A){Te(wv,A)<0&&wv.push(A)}function Zy(A,e){xv(yv,A,e,mT)}function DT(A){Qv("afterinit",A)}function LT(A){Qv("afterupdate",A)}function Qv(A,e){bA.on(A,e)}function Kn(A,e,t){var r,n,i,a,o;me(e)&&(t=e,e=""),he(A)?(r=A.type,n=A.event,a=A.update,o=A.publishNonRefinedEvent,t||(t=A.action),i=A.refineEvent):(r=A,n=e);function s(u){return u.toLowerCase()}n=s(n||r);var l=i?s(r):n;eu[r]||(fe(Iy.test(r)&&Iy.test(n)),i&&fe(n!==r),eu[r]={actionType:r,refinedEventType:n,nonRefinedEventType:l,update:a,action:t,refineEvent:i},mv[n]=1,i&&o&&(mv[l]=1),process.env.NODE_ENV!=="production"&&tu[l]&&Ge(l+' must not be shared; use "refineEvent" if you intend to share an event name.'),tu[l]=r)}function MT(A,e){Rh.register(A,e)}function HT(A,e){xv(Au,A,e,by,"layout")}function Gn(A,e){xv(Au,A,e,Sy,"visual")}var Jy=[];function xv(A,e,t,r,n){if((me(e)||he(e))&&(t=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");b(A,function(a){fe(a.__raw!==t)})}if(!(Te(Jy,t)>=0)){Jy.push(t);var i=ty.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,A.push(i)}}function qy(A,e){Cv[A]=e}function OT(A,e,t){var r=vT("registerMap");r&&r(A,e,t)}var RT=KU;Gn(fv,mI),Gn(Zl,yI),Gn(Zl,wI),Gn(fv,LI),Gn(Zl,MI),Gn(Uy,cT),Xy(dm),Zy(gT,QU),qy("default",CI),Kn({type:En,event:En,update:En},Dt),Kn({type:zs,event:zs,update:zs},Dt),Kn({type:Ws,event:$c,update:Ws,action:Dt,refineEvent:Fv,publishNonRefinedEvent:!0}),Kn({type:qc,event:$c,update:qc,action:Dt,refineEvent:Fv,publishNonRefinedEvent:!0}),Kn({type:Ys,event:$c,update:Ys,action:Dt,refineEvent:Fv,publishNonRefinedEvent:!0});function Fv(A,e,t,r){return{eventContent:{selected:fb(t),isFromClick:e.isFromClick||!1}}}Yy("default",{}),Yy("dark",ay);function so(A){return A==null?0:A.length||1}function $y(A){return A}var NT=(function(){function A(e,t,r,n,i,a){this._old=e,this._new=t,this._oldKeyGetter=r||$y,this._newKeyGetter=n||$y,this.context=i,this._diffModeMultiple=a==="multiple"}return A.prototype.add=function(e){return this._add=e,this},A.prototype.update=function(e){return this._update=e,this},A.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},A.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},A.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},A.prototype.remove=function(e){return this._remove=e,this},A.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},A.prototype._executeOneToOne=function(){var e=this._old,t=this._new,r={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,r,i,"_newKeyGetter");for(var a=0;a<e.length;a++){var o=n[a],s=r[o],l=so(s);if(l>1){var u=s.shift();s.length===1&&(r[o]=s[0]),this._update&&this._update(u,a)}else l===1?(r[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,r)},A.prototype._executeMultiple=function(){var e=this._old,t=this._new,r={},n={},i=[],a=[];this._initIndexMap(e,r,i,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o<i.length;o++){var s=i[o],l=r[s],u=n[s],f=so(l),c=so(u);if(f>1&&c===1)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(f===1&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(f===1&&c===1)this._update&&this._update(u,l),n[s]=null;else if(f>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(a,n)},A.prototype._performRestAdd=function(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=t[n],a=so(i);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(i[o]);else a===1&&this._add&&this._add(i);t[n]=null}},A.prototype._initIndexMap=function(e,t,r,n){for(var i=this._diffModeMultiple,a=0;a<e.length;a++){var o="_ec_"+this[n](e[a],a);if(i||(r[a]=o),!!t){var s=t[o],l=so(s);l===0?(t[o]=a,i&&r.push(o)):l===1?t[o]=[s,a]:s.push(a)}}},A})(),PT=(function(){function A(e,t){this._encode=e,this._schema=t}return A.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},A.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},A})();function kT(A,e){var t={},r=t.encode={},n=we(),i=[],a=[],o={};b(A.dimensions,function(c){var h=A.getDimensionInfo(c),v=h.coordDim;if(v){process.env.NODE_ENV!=="production"&&fe(Vh.get(v)==null);var d=h.coordDimIndex;Ev(r,v)[d]=c,h.isExtraCoord||(n.set(v,1),KT(h.type)&&(i[0]=c),Ev(o,v)[d]=A.getDimensionIndex(h.name)),h.defaultTooltip&&a.push(c)}Vh.each(function(g,p){var B=Ev(r,p),m=h.otherDims[p];m!=null&&m!==!1&&(B[m]=h.name)})});var s=[],l={};n.each(function(c,h){var v=r[h];l[h]=v[0],s=s.concat(v)}),t.dataDimsOnCoord=s,t.dataDimIndicesOnCoord=Be(s,function(c){return A.getDimensionInfo(c).storeDimIndex}),t.encodeFirstDimNotExtra=l;var u=r.label;u&&u.length&&(i=u.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=i.slice()),r.defaultedLabel=i,r.defaultedTooltip=a,t.userOutput=new PT(o,e),t}function Ev(A,e){return A.hasOwnProperty(e)||(A[e]=[]),A[e]}function VT(A){return A==="category"?"ordinal":A==="time"?"time":"float"}function KT(A){return!(A==="ordinal"||A==="time")}var ru=(function(){function A(e){this.otherDims={},e!=null&&Y(this,e)}return A})(),GT=ze(),zT={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},jy=(function(){function A(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return A.prototype.isDimensionOmitted=function(){return this._dimOmitted},A.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=Aw(this.source)))},A.prototype.getSourceDimensionIndex=function(e){return ve(this._dimNameMap.get(e),-1)},A.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},A.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=ym(this.source),r=!rw(e),n="",i=[],a=0,o=0;a<e;a++){var s=void 0,l=void 0,u=void 0,f=this.dimensions[o];if(f&&f.storeDimIndex===a)s=t?f.name:null,l=f.type,u=f.ordinalMeta,o++;else{var c=this.getSourceDimension(a);c&&(s=t?c.name:null,l=c.type)}i.push({property:s,type:l,ordinalMeta:u}),t&&s!=null&&(!f||!f.isCalculationCoord)&&(n+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=zT[l]||"f",u&&(n+=u.uid),n+="$"}var h=this.source,v=[h.seriesLayoutBy,h.startIndex,n].join("$$");return{dimensions:i,hash:v}},A.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,r=0;t<this._fullDimCount;t++){var n=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(n=i.name),r++;else{var a=this.getSourceDimension(t);a&&(n=a.name)}e.push(n)}return e},A.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},A})();function ew(A){return A instanceof jy}function tw(A){for(var e=we(),t=0;t<(A||[]).length;t++){var r=A[t],n=he(r)?r.name:r;n!=null&&e.get(n)==null&&e.set(n,t)}return e}function Aw(A){var e=GT(A);return e.dimNameMap||(e.dimNameMap=tw(A.dimensionsDefine))}function rw(A){return A>30}var lo=he,Rr=Be,WT=typeof Int32Array>"u"?Array:Int32Array,YT="e\0\0",nw=-1,XT=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],ZT=["_approximateExtent"],iw,nu,uo,Yi,bv,fo,Sv,JT=(function(){function A(e,t){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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,n=!1;ew(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,r=e),r=r||["x","y"];for(var i={},a=[],o={},s=!1,l={},u=0;u<r.length;u++){var f=r[u],c=le(f)?new ru({name:f}):f instanceof ru?f:new ru(f),h=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=h,c.coordDimIndex=0);var v=c.otherDims=c.otherDims||{};a.push(h),i[h]=c,l[h]!=null&&(s=!0),c.createInvertedIndices&&(o[h]=[]);var d=u;Ye(c.storeDimIndex)&&(d=c.storeDimIndex),v.itemName===0&&(this._nameDimIdx=d),v.itemId===0&&(this._idDimIdx=d),process.env.NODE_ENV!=="production"&&fe(n||c.storeDimIndex>=0),n&&(c.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=o,this._dimOmitted){var g=this._dimIdxToName=we();b(a,function(p){g.set(i[p].storeDimIndex,p)})}}return A.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(t==null)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var r=this._dimIdxToName.get(t);if(r!=null)return r;var n=this._schema.getSourceDimension(t);if(n)return n.name},A.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(t!=null)return t;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},A.prototype._recognizeDimIndex=function(e){if(Ye(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},A.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&t==null)throw new Error("Unknown dimension "+e);return t},A.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},A.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(r){return t.hasOwnProperty(r)?t[r]:void 0}:function(r){return t[r]}},A.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},A.prototype.mapDimension=function(e,t){var r=this._dimSummary;if(t==null)return r.encodeFirstDimNotExtra[e];var n=r.encode[e];return n?n[t]:null},A.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,r=t.encode[e];return(r||[]).slice()},A.prototype.getStore=function(){return this._store},A.prototype.initData=function(e,t,r){var n=this,i;if(e instanceof jh&&(i=e),!i){var a=this.dimensions,o=Xh(e)||kt(e)?new _m(e,a.length):e;i=new jh;var s=Rr(a,function(l){return{type:n._dimInfos[l].type,property:l}});i.initData(o,s,r)}this._store=i,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=kT(this,this._schema),this.userOutput=this._dimSummary.userOutput},A.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},A.prototype.appendValues=function(e,t){var r=this._store.appendValues(e,t&&t.length),n=r.start,i=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var o=n;o<i;o++){var s=o-n;this._nameList[o]=t[s],a&&Sv(this,o)}},A.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,r=0;r<t.length;r++){var n=this._dimInfos[t[r]];n.ordinalMeta&&e.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},A.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==fr&&!e.fillStorage},A.prototype._doInit=function(e,t){if(!(e>=t)){var r=this._store,n=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList,o=n.getSource().sourceFormat,s=o===qt;if(s&&!n.pure)for(var l=[],u=e;u<t;u++){var f=n.getItem(u,l);if(!this.hasItemOption&&OF(f)&&(this.hasItemOption=!0),f){var c=f.name;i[u]==null&&c!=null&&(i[u]=kA(c,null));var h=f.id;a[u]==null&&h!=null&&(a[u]=kA(h,null))}}if(this._shouldMakeIdFromName())for(var u=e;u<t;u++)Sv(this,u);iw(this)}},A.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},A.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},A.prototype.setCalculationInfo=function(e,t){lo(e)?Y(this._calculationInfo,e):this._calculationInfo[e]=t},A.prototype.getName=function(e){var t=this.getRawIndex(e),r=this._nameList[t];return r==null&&this._nameDimIdx!=null&&(r=uo(this,this._nameDimIdx,t)),r==null&&(r=""),r},A.prototype._getCategory=function(e,t){var r=this._store.get(e,t),n=this._store.getOrdinalMeta(e);return n?n.categories[r]:r},A.prototype.getId=function(e){return nu(this,this.getRawIndex(e))},A.prototype.count=function(){return this._store.count()},A.prototype.get=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.get(n.storeDimIndex,t)},A.prototype.getByRawIndex=function(e,t){var r=this._store,n=this._dimInfos[e];if(n)return r.getByRawIndex(n.storeDimIndex,t)},A.prototype.getIndices=function(){return this._store.getIndices()},A.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},A.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},A.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},A.prototype.getValues=function(e,t){var r=this,n=this._store;return ae(e)?n.getValues(Rr(e,function(i){return r._getStoreDimIndex(i)}),t):n.getValues(e)},A.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,r=0,n=t.length;r<n;r++)if(isNaN(this._store.get(t[r],e)))return!1;return!0},A.prototype.indexOfName=function(e){for(var t=0,r=this._store.count();t<r;t++)if(this.getName(t)===e)return t;return-1},A.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},A.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},A.prototype.rawIndexOf=function(e,t){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var n=r&&r[t];return n==null||isNaN(n)?nw:n},A.prototype.each=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Rr(Yi(e),this._getStoreDimIndex,this);this._store.each(i,n?ye(t,n):t)},A.prototype.filterSelf=function(e,t,r){me(e)&&(r=t,t=e,e=[]);var n=r||this,i=Rr(Yi(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,n?ye(t,n):t),this},A.prototype.selectRange=function(e){var t=this,r={},n=Xe(e);return b(n,function(i){var a=t._getStoreDimIndex(i);r[a]=e[i]}),this._store=this._store.selectRange(r),this},A.prototype.mapArray=function(e,t,r){me(e)&&(r=t,t=e,e=[]),r=r||this;var n=[];return this.each(e,function(){n.push(t&&t.apply(this,arguments))},r),n},A.prototype.map=function(e,t,r,n){var i=r||n||this,a=Rr(Yi(e),this._getStoreDimIndex,this),o=fo(this);return o._store=this._store.map(a,i?ye(t,i):t),o},A.prototype.modify=function(e,t,r,n){var i=this,a=r||n||this;process.env.NODE_ENV!=="production"&&b(Yi(e),function(s){var l=i.getDimensionInfo(s);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var o=Rr(Yi(e),this._getStoreDimIndex,this);this._store.modify(o,a?ye(t,a):t)},A.prototype.downSample=function(e,t,r,n){var i=fo(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,r,n),i},A.prototype.minmaxDownSample=function(e,t){var r=fo(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),t),r},A.prototype.lttbDownSample=function(e,t){var r=fo(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),r},A.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},A.prototype.getItemModel=function(e){var t=this.hostModel,r=this.getRawDataItem(e);return new et(r,t,t&&t.ecModel)},A.prototype.diff=function(e){var t=this;return new NT(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return nu(e,r)},function(r){return nu(t,r)})},A.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},A.prototype.setVisual=function(e,t){this._visual=this._visual||{},lo(e)?Y(this._visual,e):this._visual[e]=t},A.prototype.getItemVisual=function(e,t){var r=this._itemVisuals[e],n=r&&r[t];return n??this.getVisual(t)},A.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},A.prototype.ensureUniqueItemVisual=function(e,t){var r=this._itemVisuals,n=r[e];n||(n=r[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),ae(i)?i=i.slice():lo(i)&&(i=Y({},i)),n[t]=i),i},A.prototype.setItemVisual=function(e,t,r){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,lo(t)?Y(n,t):n[t]=r},A.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},A.prototype.setLayout=function(e,t){lo(e)?Y(this._layout,e):this._layout[e]=t},A.prototype.getLayout=function(e){return this._layout[e]},A.prototype.getItemLayout=function(e){return this._itemLayouts[e]},A.prototype.setItemLayout=function(e,t,r){this._itemLayouts[e]=r?Y(this._itemLayouts[e]||{},t):t},A.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},A.prototype.setItemGraphicEl=function(e,t){var r=this.hostModel&&this.hostModel.seriesIndex;JE(r,this.dataType,e,t),this._graphicEls[e]=t},A.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},A.prototype.eachItemGraphicEl=function(e,t){b(this._graphicEls,function(r,n){r&&e&&e.call(t,r,n)})},A.prototype.cloneShallow=function(e){return e||(e=new A(this._schema?this._schema:Rr(this.dimensions,this._getDimInfo,this),this.hostModel)),bv(e,this),e._store=this._store,e},A.prototype.wrapMethod=function(e,t){var r=this[e];me(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=r.apply(this,arguments);return t.apply(this,[n].concat(Sf(arguments)))})},A.internalField=(function(){iw=function(e){var t=e._invertedIndicesMap;b(t,function(r,n){var i=e._dimInfos[n],a=i.ordinalMeta,o=e._store;if(a){r=t[n]=new WT(a.categories.length);for(var s=0;s<r.length;s++)r[s]=nw;for(var s=0;s<o.count();s++)r[o.get(i.storeDimIndex,s)]=s}})},uo=function(e,t,r){return kA(e._getCategory(t,r),null)},nu=function(e,t){var r=e._idList[t];return r==null&&e._idDimIdx!=null&&(r=uo(e,e._idDimIdx,t)),r==null&&(r=YT+t),r},Yi=function(e){return ae(e)||(e=e!=null?[e]:[]),e},fo=function(e){var t=new A(e._schema?e._schema:Rr(e.dimensions,e._getDimInfo,e),e.hostModel);return bv(t,e),t},bv=function(e,t){b(XT.concat(t.__wrappedMethods||[]),function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e.__wrappedMethods=t.__wrappedMethods,b(ZT,function(r){e[r]=Ue(t[r])}),e._calculationInfo=Y({},t._calculationInfo)},Sv=function(e,t){var r=e._nameList,n=e._idList,i=e._nameDimIdx,a=e._idDimIdx,o=r[t],s=n[t];if(o==null&&i!=null&&(r[t]=o=uo(e,i,t)),s==null&&a!=null&&(n[t]=s=uo(e,a,t)),s==null&&o!=null){var l=e._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),n[t]=s}}})(),A})();function qT(A,e){Xh(A)||(A=pm(A)),e=e||{};var t=e.coordDimensions||[],r=e.dimensionsDefine||A.dimensionsDefine||[],n=we(),i=[],a=jT(A,t,r,e.dimensionsCount),o=e.canOmitUnusedDimensions&&rw(a),s=r===A.dimensionsDefine,l=s?Aw(A):tw(r),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(A,a));for(var f=we(u),c=new Tm(a),h=0;h<c.length;h++)c[h]=-1;function v(F){var S=c[F];if(S<0){var E=r[F],I=he(E)?E:{name:E},U=new ru,T=I.name;T!=null&&l.get(T)!=null&&(U.name=U.displayName=T),I.type!=null&&(U.type=I.type),I.displayName!=null&&(U.displayName=I.displayName);var L=i.length;return c[F]=L,U.storeDimIndex=F,i.push(U),U}return i[S]}if(!o)for(var h=0;h<a;h++)v(h);f.each(function(F,S){var E=Lt(F).slice();if(E.length===1&&!le(E[0])&&E[0]<0){f.set(S,!1);return}var I=f.set(S,[]);b(E,function(U,T){var L=le(U)?l.get(U):U;L!=null&&L<a&&(I[T]=L,g(v(L),S,T))})});var d=0;b(t,function(F){var S,E,I,U;if(le(F))S=F,U={};else{U=F,S=U.name;var T=U.ordinalMeta;U.ordinalMeta=null,U=Y({},U),U.ordinalMeta=T,E=U.dimsDef,I=U.otherDims,U.name=U.coordDim=U.coordDimIndex=U.dimsDef=U.otherDims=null}var L=f.get(S);if(L!==!1){if(L=Lt(L),!L.length)for(var P=0;P<(E&&E.length||1);P++){for(;d<a&&v(d).coordDim!=null;)d++;d<a&&L.push(d++)}b(L,function(Z,V){var X=v(Z);if(s&&U.type!=null&&(X.type=U.type),g(Ne(X,U),S,V),X.name==null&&E){var ee=E[V];!he(ee)&&(ee={name:ee}),X.name=X.displayName=ee.name,X.defaultTooltip=ee.defaultTooltip}I&&Ne(X.otherDims,I)})}});function g(F,S,E){Vh.get(S)!=null?F.otherDims[S]=E:(F.coordDim=S,F.coordDimIndex=E,n.set(S,!0))}var p=e.generateCoord,B=e.generateCoordCount,m=B!=null;B=p?B||1:0;var y=p||"value";function _(F){F.name==null&&(F.name=F.coordDim)}if(o)b(i,function(F){_(F)}),i.sort(function(F,S){return F.storeDimIndex-S.storeDimIndex});else for(var C=0;C<a;C++){var Q=v(C),x=Q.coordDim;x==null&&(Q.coordDim=eD(y,n,m),Q.coordDimIndex=0,(!p||B<=0)&&(Q.isExtraCoord=!0),B--),_(Q),Q.type==null&&(tm(A,C)===$t.Must||Q.isExtraCoord&&(Q.otherDims.itemName!=null||Q.otherDims.seriesName!=null))&&(Q.type="ordinal")}return $T(i),new jy({source:A,dimensions:i,fullDimensionCount:a,dimensionOmitted:o})}function $T(A){for(var e=we(),t=0;t<A.length;t++){var r=A[t],n=r.name,i=e.get(n)||0;i>0&&(r.name=n+(i-1)),i++,e.set(n,i)}}function jT(A,e,t,r){var n=Math.max(A.dimensionsDetectedCount||1,e.length,t.length,r||0);return b(e,function(i){var a;he(i)&&(a=i.dimsDef)&&(n=Math.max(n,a.length))}),n}function eD(A,e,t){if(t||e.hasKey(A)){for(var r=0;e.hasKey(A+r);)r++;A+=r}return e.set(A,!0),A}var tD=(function(){function A(e){this.coordSysDims=[],this.axisMap=we(),this.categoryAxisMap=we(),this.coordSysName=e}return A})();function AD(A){var e=A.get("coordinateSystem"),t=new tD(e),r=rD[e];if(r)return r(A,t,t.axisMap,t.categoryAxisMap),t}var rD={cartesian2d:function(A,e,t,r){var n=A.getReferringComponents("xAxis",Mt).models[0],i=A.getReferringComponents("yAxis",Mt).models[0];if(process.env.NODE_ENV!=="production"){if(!n)throw new Error('xAxis "'+ai(A.get("xAxisIndex"),A.get("xAxisId"),0)+'" not found');if(!i)throw new Error('yAxis "'+ai(A.get("xAxisIndex"),A.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),Xi(n)&&(r.set("x",n),e.firstCategoryDimIndex=0),Xi(i)&&(r.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(A,e,t,r){var n=A.getReferringComponents("singleAxis",Mt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],t.set("single",n),Xi(n)&&(r.set("single",n),e.firstCategoryDimIndex=0)},polar:function(A,e,t,r){var n=A.getReferringComponents("polar",Mt).models[0],i=n.findAxisModel("radiusAxis"),a=n.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!a)throw new Error("angleAxis option not found");if(!i)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",a),Xi(i)&&(r.set("radius",i),e.firstCategoryDimIndex=0),Xi(a)&&(r.set("angle",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(A,e,t,r){e.coordSysDims=["lng","lat"]},parallel:function(A,e,t,r){var n=A.ecModel,i=n.getComponent("parallel",A.get("parallelIndex")),a=e.coordSysDims=i.dimensions.slice();b(i.parallelAxisIndex,function(o,s){var l=n.getComponent("parallelAxis",o),u=a[s];t.set(u,l),Xi(l)&&(r.set(u,l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=s))})},matrix:function(A,e,t,r){var n=A.getReferringComponents("matrix",Mt).models[0];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("matrix coordinate system should be specified.");e.coordSysDims=["x","y"];var i=n.getDimensionModel("x"),a=n.getDimensionModel("y");t.set("x",i),t.set("y",a),r.set("x",i),r.set("y",a)}};function Xi(A){return A.get("type")==="category"}function nD(A,e,t){t=t||{};var r=t.byIndex,n=t.stackedCoordDimension,i,a,o;iD(e)?i=e:(a=e.schema,i=a.dimensions,o=e.store);var s=!!(A&&A.get("stack")),l,u,f,c;if(b(i,function(B,m){le(B)&&(i[m]=B={name:B}),s&&!B.isExtraCoord&&(!r&&!l&&B.ordinalMeta&&(l=B),!u&&B.type!=="ordinal"&&B.type!=="time"&&(!n||n===B.coordDim)&&(u=B))}),u&&!r&&!l&&(r=!0),u){f="__\0ecstackresult_"+A.id,c="__\0ecstackedover_"+A.id,l&&(l.createInvertedIndices=!0);var h=u.coordDim,v=u.type,d=0;b(i,function(B){B.coordDim===h&&d++});var g={name:f,coordDim:h,coordDimIndex:d,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},p={name:c,coordDim:c,coordDimIndex:d+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};a?(o&&(g.storeDimIndex=o.ensureCalculationDimension(c,v),p.storeDimIndex=o.ensureCalculationDimension(f,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(p)):(i.push(g),i.push(p))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:r,stackedOverDimension:c,stackResultDimension:f}}function iD(A){return!ew(A.schema)}function Zi(A,e){return!!e&&e===A.getCalculationInfo("stackedDimension")}function aD(A,e){return Zi(A,e)?A.getCalculationInfo("stackResultDimension"):e}function oD(A,e){var t=A.get("coordinateSystem"),r=Rh.get(t),n;return e&&e.coordSysDims&&(n=Be(e.coordSysDims,function(i){var a={name:i},o=e.axisMap.get(i);if(o){var s=o.get("type");a.type=VT(s)}return a})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function sD(A,e,t){var r,n;return t&&b(A,function(i,a){var o=i.coordDim,s=t.categoryAxisMap.get(o);s&&(r==null&&(r=a),i.ordinalMeta=s.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&r!=null&&(A[r].otherDims.itemName=0),r}function Uv(A,e,t){t=t||{};var r=e.getSourceManager(),n,i=!1;n=r.getSource(),i=n.sourceFormat===qt;var a=AD(e),o=oD(e,a),s=t.useEncodeDefaulter,l=me(s)?s:s?nt(qS,o,e):null,u={coordDimensions:o,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!i},f=qT(n,u),c=sD(f.dimensions,t.createInvertedIndices,a),h=i?null:r.getSharedDataStore(f),v=nD(e,{schema:f,store:h}),d=new JT(f,e);d.setCalculationInfo(v);var g=c!=null&&lD(n)?function(p,B,m,y){return y===c?m:this.defaultDimValueGetter(p,B,m,y)}:null;return d.hasItemOption=!1,d.initData(i?n:h,null,g),d}function lD(A){if(A.sourceFormat===qt){var e=uD(A.data||[]);return!ae(Ua(e))}}function uD(A){for(var e=0;e<A.length&&A[e]==null;)e++;return A[e]}function fD(A){var e=Math.pow(10,Is(Math.abs(A))),t=Math.abs(A/e);return t===0||t===1||t===2||t===3||t===5}function Iv(A){return A.type==="interval"||A.type==="log"}function cD(A,e,t,r,n){var i={},a=i.interval=kg(e/t);r!=null&&a<r&&(a=i.interval=r),n!=null&&a>n&&(a=i.interval=n);var o=i.intervalPrecision=co(a),s=i.niceTickExtent=[wt(Math.ceil(A[0]/a)*a,o),wt(Math.floor(A[1]/a)*a,o)];return hD(s,A),i}function Tv(A){var e=Math.pow(10,Is(A)),t=A/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,wt(t*e)}function co(A){return ar(A)+2}function aw(A,e,t){A[e]=Math.max(Math.min(A[e],t[1]),t[0])}function hD(A,e){!isFinite(A[0])&&(A[0]=e[0]),!isFinite(A[1])&&(A[1]=e[1]),aw(A,0,e),aw(A,1,e),A[0]>A[1]&&(A[0]=A[1])}function Dv(A,e){return A>=e[0]&&A<=e[1]}var vD=(function(){function A(){this.normalize=ow,this.scale=sw}return A.prototype.updateMethods=function(e){e.hasBreaks()?(this.normalize=ye(e.normalize,e),this.scale=ye(e.scale,e)):(this.normalize=ow,this.scale=sw)},A})();function ow(A,e){return e[1]===e[0]?.5:(A-e[0])/(e[1]-e[0])}function sw(A,e){return A*(e[1]-e[0])+e[0]}function Lv(A,e,t){var r=Math.log(A);return[Math.log(t?e[0]:Math.max(0,e[0]))/r,Math.log(t?e[1]:Math.max(0,e[1]))/r]}var Nr=(function(){function A(e){this._calculator=new vD,this._setting=e||{},this._extent=[1/0,-1/0]}return A.prototype.getSetting=function(e){return this._setting[e]},A.prototype._innerUnionExtent=function(e){var t=this._extent;this._innerSetExtent(e[0]<t[0]?e[0]:t[0],e[1]>t[1]?e[1]:t[1])},A.prototype.unionExtentFromData=function(e,t){this._innerUnionExtent(e.getApproximateExtent(t))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.setExtent=function(e,t){this._innerSetExtent(e,t)},A.prototype._innerSetExtent=function(e,t){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(t)||(r[1]=t),this._brkCtx&&this._brkCtx.update(r)},A.prototype.setBreaksFromOption=function(e){},A.prototype._innerSetBreak=function(e){this._brkCtx&&(this._brkCtx.setBreaks(e),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},A.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},A.prototype.hasBreaks=function(){return this._brkCtx?this._brkCtx.hasBreaks():!1},A.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},A.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},A.prototype.isBlank=function(){return this._isBlank},A.prototype.setBlank=function(e){this._isBlank=e},A})();Ms(Nr);var dD=0,Mv=(function(){function A(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++dD,this._onCollect=e.onCollect}return A.createByAxisModel=function(e){var t=e.option,r=t.data,n=r&&Be(r,pD);return new A({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},A.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},A.prototype.parseAndCollect=function(e){var t,r=this._needCollect;if(!le(e)&&!r)return e;if(r&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,this._onCollect&&this._onCollect(e,t),t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(r?(t=this.categories.length,this.categories[t]=e,n.set(e,t),this._onCollect&&this._onCollect(e,t)):t=NaN),t},A.prototype._getOrCreateMap=function(){return this._map||(this._map=we(this.categories))},A})();function pD(A){return he(A)&&A.value!=null?A.value:A+""}var lw=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;r.type="ordinal";var n=r.getSetting("ordinalMeta");return n||(n=new Mv({})),ae(n)&&(n=new Mv({categories:Be(n,function(i){return he(i)?i.value:i})})),r._ordinalMeta=n,r._extent=r.getSetting("extent")||[0,n.categories.length-1],r}return e.prototype.parse=function(t){return t==null?NaN:le(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Dv(t,this._extent)&&t>=0&&t<this._ordinalMeta.categories.length},e.prototype.normalize=function(t){return t=this._getTickNumber(t),this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(this._calculator.scale(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],r=this._extent,n=r[0];n<=r[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],a=0,o=this._ordinalMeta.categories.length,s=Math.min(o,r.length);a<s;++a){var l=r[a];n[a]=l,i[l]=a}for(var u=0;a<o;++a){for(;i[u]!=null;)u++;n.push(u),i[u]=a}},e.prototype._getTickNumber=function(t){var r=this._ticksByOrdinalNumber;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getRawOrdinalNumber=function(t){var r=this._ordinalNumbersByTick;return r&&t>=0&&t<r.length?r[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var r=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[r];return n==null?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e})(Nr);Nr.registerClass(lw);var Pr=wt,Ji=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t==null||t===""?NaN:Number(t)},e.prototype.contain=function(t){return Dv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=co(t)},e.prototype.getTicks=function(t){t=t||{};var r=this._interval,n=this._extent,i=this._niceExtent,a=this._intervalPrecision,o=wl(),s=[];if(!r)return s;t.breakTicks;var l=1e4;n[0]<i[0]&&(t.expandToNicedExtent?s.push({value:Pr(i[0]-r,a)}):s.push({value:n[0]}));for(var u=function(v,d){return Math.round((d-v)/r)},f=i[0];f<=i[1];){if(s.push({value:f}),f=Pr(f+r,a),this._brkCtx){var c=this._brkCtx.calcNiceTickMultiple(f,u);c>=0&&(f=Pr(f+c*r,a))}if(s.length>0&&f===s[s.length-1].value)break;if(s.length>l)return[]}var h=s.length?s[s.length-1].value:i[1];return n[1]>h&&(t.expandToNicedExtent?s.push({value:Pr(h+r,a)}):s.push({value:n[1]})),t.breakTicks,s},e.prototype.getMinorTicks=function(t){for(var r=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),a=1;a<r.length;a++){var o=r[a],s=r[a-1];if(!(s.break||o.break)){for(var l=0,u=[],f=o.value-s.value,c=f/t,h=co(c);l<t-1;){var v=Pr(s.value+(l+1)*c,h);v>i[0]&&v<i[1]&&u.push(v),l++}var d=wl();d&&d.pruneTicksByBreak("auto",u,this._getNonTransBreaks(),function(g){return g},this._interval,i),n.push(u)}}return n},e.prototype._getNonTransBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},e.prototype.getLabel=function(t,r){if(t==null)return"";var n=r&&r.precision;n==null?n=ar(t.value)||0:n==="auto"&&(n=this._intervalPrecision);var i=Pr(t.value,n,!0);return GB(i)},e.prototype.calcNiceTicks=function(t,r,n){t=t||5;var i=this._extent.slice(),a=this._getExtentSpanWithBreaks();if(isFinite(a)){a<0&&(a=-a,i.reverse(),this._innerSetExtent(i[0],i[1]),i=this._extent.slice());var o=cD(i,a,t,r,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var r=this._extent.slice();if(r[0]===r[1])if(r[0]!==0){var n=Math.abs(r[0]);t.fixMax||(r[1]+=n/2),r[0]-=n/2}else r[1]=1;var i=r[1]-r[0];isFinite(i)||(r[0]=0,r[1]=1),this._innerSetExtent(r[0],r[1]),r=this._extent.slice(),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var a=this._interval,o=this._intervalPrecision;t.fixMin||(r[0]=Pr(Math.floor(r[0]/a)*a,o)),t.fixMax||(r[1]=Pr(Math.ceil(r[1]/a)*a,o)),this._innerSetExtent(r[0],r[1])},e.prototype.setNiceExtent=function(t,r){this._niceExtent=[t,r]},e.type="interval",e})(Nr);Nr.registerClass(Ji);var uw=typeof Float32Array<"u",gD=uw?Float32Array:Array;function vr(A){return ae(A)?uw?new Float32Array(A):A:new gD(A)}var BD="__ec_stack_";function fw(A){return A.get("stack")||BD+A.seriesIndex}function Hv(A){return A.dim+A.index}function cw(A,e){var t=[];return e.eachSeriesByType(A,function(r){vw(r)&&t.push(r)}),t}function mD(A){var e={};b(A,function(s){var l=s.coordinateSystem,u=l.getBaseAxis();if(!(u.type!=="time"&&u.type!=="value"))for(var f=s.getData(),c=u.dim+"_"+u.index,h=f.getDimensionIndex(f.mapDimension(u.dim)),v=f.getStore(),d=0,g=v.count();d<g;++d){var p=v.get(h,d);e[c]?e[c].push(p):e[c]=[p]}});var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(n){n.sort(function(s,l){return s-l});for(var i=null,a=1;a<n.length;++a){var o=n[a]-n[a-1];o>0&&(i=i===null?o:Math.min(i,o))}t[r]=i}}return t}function hw(A){var e=mD(A),t=[];return b(A,function(r){var n=r.coordinateSystem,i=n.getBaseAxis(),a=i.getExtent(),o;if(i.type==="category")o=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,l=e[s],u=Math.abs(a[1]-a[0]),f=i.scale.getExtent(),c=Math.abs(f[1]-f[0]);o=l?u/c*l:u}else{var h=r.getData();o=Math.abs(a[1]-a[0])/h.count()}var v=ht(r.get("barWidth"),o),d=ht(r.get("barMaxWidth"),o),g=ht(r.get("barMinWidth")||(dw(r)?.5:1),o),p=r.get("barGap"),B=r.get("barCategoryGap"),m=r.get("defaultBarGap");t.push({bandWidth:o,barWidth:v,barMaxWidth:d,barMinWidth:g,barGap:p,barCategoryGap:B,defaultBarGap:m,axisKey:Hv(i),stackId:fw(r)})}),yD(t)}function yD(A){var e={};b(A,function(r,n){var i=r.axisKey,a=r.bandWidth,o=e[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:r.defaultBarGap||0,stacks:{}},s=o.stacks;e[i]=o;var l=r.stackId;s[l]||o.autoWidthCount++,s[l]=s[l]||{width:0,maxWidth:0};var u=r.barWidth;u&&!s[l].width&&(s[l].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var f=r.barMaxWidth;f&&(s[l].maxWidth=f);var c=r.barMinWidth;c&&(s[l].minWidth=c);var h=r.barGap;h!=null&&(o.gap=h);var v=r.barCategoryGap;v!=null&&(o.categoryGap=v)});var t={};return b(e,function(r,n){t[n]={};var i=r.stacks,a=r.bandWidth,o=r.categoryGap;if(o==null){var s=Xe(i).length;o=Math.max(35-s*4,15)+"%"}var l=ht(o,a),u=ht(r.gap,1),f=r.remainedWidth,c=r.autoWidthCount,h=(f-l)/(c+(c-1)*u);h=Math.max(h,0),b(i,function(p){var B=p.maxWidth,m=p.minWidth;if(p.width){var y=p.width;B&&(y=Math.min(y,B)),m&&(y=Math.max(y,m)),p.width=y,f-=y+u*y,c--}else{var y=h;B&&B<y&&(y=Math.min(B,f)),m&&m>y&&(y=m),y!==h&&(p.width=y,f-=y+u*y,c--)}}),h=(f-l)/(c+(c-1)*u),h=Math.max(h,0);var v=0,d;b(i,function(p,B){p.width||(p.width=h),d=p,v+=p.width*(1+u)}),d&&(v-=d.width*u);var g=-v/2;b(i,function(p,B){t[n][B]=t[n][B]||{bandWidth:a,offset:g,width:p.width},g+=p.width*(1+u)})}),t}function wD(A,e,t){if(A&&e){var r=A[Hv(e)];return r}}function CD(A,e){var t=cw(A,e),r=hw(t);b(t,function(n){var i=n.getData(),a=n.coordinateSystem,o=a.getBaseAxis(),s=fw(n),l=r[Hv(o)][s],u=l.offset,f=l.width;i.setLayout({bandWidth:l.bandWidth,offset:u,size:f})})}function _D(A){return{seriesType:A,plan:nv(),reset:function(e){if(vw(e)){var t=e.getData(),r=e.coordinateSystem,n=r.getBaseAxis(),i=r.getOtherAxis(n),a=t.getDimensionIndex(t.mapDimension(i.dim)),o=t.getDimensionIndex(t.mapDimension(n.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),u=t.getCalculationInfo("stackResultDimension"),f=Zi(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),c=i.isHorizontal(),h=QD(n,i),v=dw(e),d=e.get("barMinHeight")||0,g=u&&t.getDimensionIndex(u),p=t.getLayout("size"),B=t.getLayout("offset");return{progress:function(m,y){for(var _=m.count,C=v&&vr(_*3),Q=v&&s&&vr(_*3),x=v&&vr(_),F=r.master.getRect(),S=c?F.width:F.height,E,I=y.getStore(),U=0;(E=m.next())!=null;){var T=I.get(f?g:a,E),L=I.get(o,E),P=h,Z=void 0;f&&(Z=+T-I.get(a,E));var V=void 0,X=void 0,ee=void 0,te=void 0;if(c){var D=r.dataToPoint([T,L]);if(f){var M=r.dataToPoint([Z,L]);P=M[0]}V=P,X=D[1]+B,ee=D[0]-P,te=p,Math.abs(ee)<d&&(ee=(ee<0?-1:1)*d)}else{var D=r.dataToPoint([L,T]);if(f){var M=r.dataToPoint([L,Z]);P=M[1]}V=D[0]+B,X=P,ee=p,te=D[1]-P,Math.abs(te)<d&&(te=(te<=0?-1:1)*d)}v?(C[U]=V,C[U+1]=X,C[U+2]=c?ee:te,Q&&(Q[U]=c?F.x:V,Q[U+1]=c?X:F.y,Q[U+2]=S),x[E]=E):y.setItemLayout(E,{x:V,y:X,width:ee,height:te}),U+=3}v&&y.setLayout({largePoints:C,largeDataIndices:x,largeBackgroundPoints:Q,valueAxisHorizontal:c})}}}}}}function vw(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function dw(A){return A.pipelineContext&&A.pipelineContext.large}function QD(A,e){var t=e.model.get("startValue");return t||(t=0),e.toGlobalCoord(e.dataToCoord(e.type==="log"?t>0?t:1:t))}var xD=function(A,e,t,r){for(;t<r;){var n=t+r>>>1;A[n][1]<e?t=n+1:r=n}return t},pw=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="time",r}return e.prototype.getLabel=function(t){var r=this.getSetting("useUTC");return Ql(t.value,HB[LS(Wa(this._minLevelUnit))]||HB.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,r,n){var i=this.getSetting("useUTC"),a=this.getSetting("locale");return MS(t,r,n,a,i)},e.prototype.getTicks=function(t){var r=this._interval,n=this._extent,i=[];if(!r)return i;var a=this.getSetting("useUTC"),o=xl(n[1],a);i.push({value:n[0],time:{level:0,upperTimeUnit:o,lowerTimeUnit:o}});var s=DD(this._minLevelUnit,this._approxInterval,a,n,this._getExtentSpanWithBreaks(),this._brkCtx);i=i.concat(s);var l=xl(n[1],a);i.push({value:n[1],time:{level:0,upperTimeUnit:l,lowerTimeUnit:l}}),this.getSetting("useUTC");var u=Tn.length-1,f=0;return b(i,function(c){u=Math.min(u,Te(Tn,c.time.upperTimeUnit)),f=Math.max(f,c.time.level)}),i},e.prototype.calcNiceExtent=function(t){var r=this.getExtent();if(r[0]===r[1]&&(r[0]-=uA,r[1]+=uA),r[1]===-1/0&&r[0]===1/0){var n=new Date;r[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),r[0]=r[1]-uA}this._innerSetExtent(r[0],r[1]),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,r,n){t=t||10;var i=this._getExtentSpanWithBreaks();this._approxInterval=i/t,r!=null&&this._approxInterval<r&&(this._approxInterval=r),n!=null&&this._approxInterval>n&&(this._approxInterval=n);var a=iu.length,o=Math.min(xD(iu,this._approxInterval,0,a),a-1);this._interval=iu[o][1],this._intervalPrecision=co(this._interval),this._minLevelUnit=iu[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return Ye(t)?t:+_i(t)},e.prototype.contain=function(t){return Dv(t,this._extent)},e.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},e.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},e.type="time",e})(Ji),iu=[["second",Fh],["minute",Eh],["hour",za],["quarter-day",za*6],["half-day",za*12],["day",uA*1.2],["half-week",uA*3.5],["week",uA*7],["month",uA*31],["quarter",uA*95],["half-year",MB/2],["year",MB]];function FD(A,e,t,r){return bh(new Date(e),A,r).getTime()===bh(new Date(t),A,r).getTime()}function ED(A,e){return A/=uA,A>16?16:A>7.5?7:A>3.5?4:A>1.5?2:1}function bD(A){var e=30*uA;return A/=e,A>6?6:A>3?3:A>2?2:1}function SD(A){return A/=za,A>12?12:A>6?6:A>3.5?4:A>2?2:1}function gw(A,e){return A/=e?Eh:Fh,A>30?30:A>20?20:A>15?15:A>10?10:A>5?5:A>2?2:1}function UD(A){return kg(A)}function ID(A,e,t){var r=Math.max(0,Te(Tn,e)-1);return bh(new Date(A),Tn[r],t).getTime()}function TD(A,e){var t=new Date(0);t[A](1);var r=t.getTime();t[A](1+e);var n=t.getTime()-r;return function(i,a){return Math.max(0,Math.round((a-i)/n))}}function DD(A,e,t,r,n,i){var a=1e4,o=US,s=0;function l(U,T,L,P,Z,V,X){for(var ee=TD(Z,U),te=T,D=new Date(te);te<L&&te<=r[1];){if(X.push({value:te}),s++>a){process.env.NODE_ENV!=="production"&&xt("Exceed safe limit in time scale.");break}if(D[Z](D[P]()+U),te=D.getTime(),i){var M=i.calcNiceTickMultiple(te,ee);M>0&&(D[Z](D[P]()+M*U),te=D.getTime())}}X.push({value:te,notAdd:!0})}function u(U,T,L){var P=[],Z=!T.length;if(!FD(Wa(U),r[0],r[1],t)){Z&&(T=[{value:ID(r[0],U,t)},{value:r[1]}]);for(var V=0;V<T.length-1;V++){var X=T[V].value,ee=T[V+1].value;if(X!==ee){var te=void 0,D=void 0,M=void 0,H=!1;switch(U){case"year":te=Math.max(1,Math.round(e/uA/365)),D=OB(t),M=HS(t);break;case"half-year":case"quarter":case"month":te=bD(e),D=Sh(t),M=RB(t);break;case"week":case"half-week":case"day":te=ED(e),D=Uh(t),M=NB(t),H=!0;break;case"half-day":case"quarter-day":case"hour":te=SD(e),D=Ih(t),M=PB(t);break;case"minute":te=gw(e,!0),D=Th(t),M=kB(t);break;case"second":te=gw(e,!1),D=Dh(t),M=VB(t);break;case"millisecond":te=UD(e),D=Lh(t),M=KB(t);break}ee>=r[0]&&X<=r[1]&&l(te,X,ee,D,M,H,P),U==="year"&&L.length>1&&V===0&&L.unshift({value:L[0].value-te})}}for(var V=0;V<P.length;V++)L.push(P[V])}}for(var f=[],c=[],h=0,v=0,d=0;d<o.length;++d){var g=Wa(o[d]);if(DS(o[d])){u(o[d],f[f.length-1]||[],c);var p=o[d+1]?Wa(o[d+1]):null;if(g!==p){if(c.length){v=h,c.sort(function(U,T){return U.value-T.value});for(var B=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(B.push(c[m]),y>=r[0]&&y<=r[1]&&h++)}var _=n/e;if(h>_*1.5&&v>_/1.5||(f.push(B),h>_||A===o[d]))break}c=[]}}}for(var C=rt(Be(f,function(U){return rt(U,function(T){return T.value>=r[0]&&T.value<=r[1]&&!T.notAdd})}),function(U){return U.length>0}),Q=[],x=C.length-1,d=0;d<C.length;++d)for(var F=C[d],S=0;S<F.length;++S){var E=xl(F[S].value,t);Q.push({value:F[S].value,time:{level:x-d,upperTimeUnit:E,lowerTimeUnit:E}})}Q.sort(function(U,T){return U.value-T.value});for(var I=[],d=0;d<Q.length;++d)(d===0||Q[d].value!==Q[d-1].value)&&I.push(Q[d]);return I}Nr.registerClass(pw);var Ov=wt,LD=Math.floor,MD=Math.ceil,au=Math.pow,ou=Math.log,Bw=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new Ji,t}return e.prototype.getTicks=function(t){t=t||{};var r=this._extent.slice(),n=this._originalScale.getExtent(),i=A.prototype.getTicks.call(this,t),a=this.base;return this._originalScale._innerGetBreaks(),Be(i,function(o){var s=o.value,l=null,u=au(a,s);s===r[0]&&this._fixMin?l=n[0]:s===r[1]&&this._fixMax&&(l=n[1]);var f;return l!=null&&(u=Rv(u,l)),{value:u,break:f}},this)},e.prototype._getNonTransBreaks=function(){return this._originalScale._innerGetBreaks()},e.prototype.setExtent=function(t,r){this._originalScale.setExtent(t,r);var n=Lv(this.base,[t,r]);A.prototype.setExtent.call(this,n[0],n[1])},e.prototype.getExtent=function(){var t=this.base,r=A.prototype.getExtent.call(this);r[0]=au(t,r[0]),r[1]=au(t,r[1]);var n=this._originalScale.getExtent();return this._fixMin&&(r[0]=Rv(r[0],n[0])),this._fixMax&&(r[1]=Rv(r[1],n[1])),r},e.prototype.unionExtentFromData=function(t,r){this._originalScale.unionExtentFromData(t,r);var n=Lv(this.base,t.getApproximateExtent(r),!0);this._innerUnionExtent(n)},e.prototype.calcNiceTicks=function(t){t=t||10;var r=this._extent.slice(),n=this._getExtentSpanWithBreaks();if(!(!isFinite(n)||n<=0)){var i=DF(n),a=t/n*i;for(a<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[Ov(MD(r[0]/i)*i),Ov(LD(r[1]/i)*i)];this._interval=i,this._intervalPrecision=co(i),this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){A.prototype.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.contain=function(t){return t=ou(t)/ou(this.base),A.prototype.contain.call(this,t)},e.prototype.normalize=function(t){return t=ou(t)/ou(this.base),A.prototype.normalize.call(this,t)},e.prototype.scale=function(t){return t=A.prototype.scale.call(this,t),au(this.base,t)},e.prototype.setBreaksFromOption=function(t){},e.type="log",e})(Ji);function Rv(A,e){return Ov(A,ar(e))}Nr.registerClass(Bw);var HD=(function(){function A(e,t,r){this._prepareParams(e,t,r)}return A.prototype._prepareParams=function(e,t,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var n=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=t.get("min",!0);i==null&&(i=t.get("startValue",!0));var a=this._modelMinRaw=i;me(a)?this._modelMinNum=su(e,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=su(e,a));var o=this._modelMaxRaw=t.get("max",!0);if(me(o)?this._modelMaxNum=su(e,o({min:r[0],max:r[1]})):o!=="dataMax"&&(this._modelMaxNum=su(e,o)),n)this._axisDataLen=t.getCategories().length;else{var s=t.get("boundaryGap"),l=ae(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[Fr(l[0],1),Fr(l[1],1)]}},A.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,r=this._dataMax,n=this._axisDataLen,i=this._boundaryGapInner,a=e?null:r-t||Math.abs(t),o=this._modelMinRaw==="dataMin"?t:this._modelMinNum,s=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,l=o!=null,u=s!=null;o==null&&(o=e?n?0:NaN:t-i[0]*a),s==null&&(s=e?n?n-1:NaN:r+i[1]*a),(o==null||!isFinite(o))&&(o=NaN),(s==null||!isFinite(s))&&(s=NaN);var f=ii(o)||ii(s)||e&&!n;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return c!=null&&(o=c,l=!0),h!=null&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:f}},A.prototype.modifyDataMinMax=function(e,t){process.env.NODE_ENV!=="production"&&fe(!this.frozen),this[RD[e]]=t},A.prototype.setDeterminedMinMax=function(e,t){var r=OD[e];process.env.NODE_ENV!=="production"&&fe(!this.frozen&&this[r]==null),this[r]=t},A.prototype.freeze=function(){this.frozen=!0},A})(),OD={min:"_determinedMin",max:"_determinedMax"},RD={min:"_dataMin",max:"_dataMax"};function mw(A,e,t){var r=A.rawExtentInfo;return r||(r=new HD(A,e,t),A.rawExtentInfo=r,r)}function su(A,e){return e==null?null:ii(e)?NaN:A.parse(e)}function yw(A,e){var t=A.type,r=mw(A,e,A.getExtent()).calculate();A.setBlank(r.isBlank);var n=r.min,i=r.max,a=e.ecModel;if(a&&t==="time"){var o=cw("bar",a),s=!1;if(b(o,function(f){s=s||f.getBaseAxis()===e.axis}),s){var l=hw(o),u=ND(n,i,e,l);n=u.min,i=u.max}}return{extent:[n,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function ND(A,e,t,r){var n=t.axis.getExtent(),i=Math.abs(n[1]-n[0]),a=wD(r,t.axis);if(a===void 0)return{min:A,max:e};var o=1/0;b(a,function(h){o=Math.min(h.offset,o)});var s=-1/0;b(a,function(h){s=Math.max(h.offset+h.width,s)}),o=Math.abs(o),s=Math.abs(s);var l=o+s,u=e-A,f=1-(o+s)/i,c=u/f-u;return e+=c*(s/l),A-=c*(o/l),{min:A,max:e}}function ww(A,e){var t=e,r=yw(A,t),n=r.extent,i=t.get("splitNumber");A instanceof Bw&&(A.base=t.get("logBase"));var a=A.type,o=t.get("interval"),s=a==="interval"||a==="time";A.setBreaksFromOption(Qw(t)),A.setExtent(n[0],n[1]),A.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?t.get("minInterval"):null,maxInterval:s?t.get("maxInterval"):null}),o!=null&&A.setInterval&&A.setInterval(o)}function PD(A,e){if(e=e||A.get("type"),e)switch(e){case"category":return new lw({ordinalMeta:A.getOrdinalMeta?A.getOrdinalMeta():A.getCategories(),extent:[1/0,-1/0]});case"time":return new pw({locale:A.ecModel.getLocaleModel(),useUTC:A.ecModel.get("useUTC")});default:return new(Nr.getClass(e)||Ji)}}function kD(A){var e=A.scale.getExtent(),t=e[0],r=e[1];return!(t>0&&r>0||t<0&&r<0)}function ho(A){var e=A.getLabelModel().get("formatter");if(A.type==="time"){var t=IS(e);return function(n,i){return A.scale.getFormattedLabel(n,i,t)}}else{if(le(e))return function(n){var i=A.scale.getLabel(n),a=e.replace("{value}",i??"");return a};if(me(e)){if(A.type==="category")return function(n,i){return e(lu(A,n),n.value-A.scale.getExtent()[0],null)};var r=wl();return function(n,i){var a=null;return r&&(a=r.makeAxisLabelFormatterParamBreak(a,n.break)),e(lu(A,n),i,a)}}else return function(n){return A.scale.getLabel(n)}}}function lu(A,e){return A.type==="category"?A.scale.getLabel(e):e.value}function Nv(A){var e=A.get("interval");return e??"auto"}function Cw(A){return A.type==="category"&&Nv(A.getLabelModel())===0}function _w(A,e){var t={};return b(A.mapDimensionsAll(e),function(r){t[aD(A,r)]=!0}),Xe(t)}function VD(A,e,t){e&&b(_w(e,t),function(r){var n=e.getApproximateExtent(r);n[0]<A[0]&&(A[0]=n[0]),n[1]>A[1]&&(A[1]=n[1])})}function qi(A){return A==="middle"||A==="center"}function vo(A){return A.getShallow("show")}function Qw(A){var e=A.get("breaks",!0);if(e!=null){process.env.NODE_ENV!=="production"&&Ge('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');return}}var KD=(function(){function A(){}return A.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},A.prototype.getCoordSysModel=function(){},A})(),xw=[],GD={registerPreprocessor:Xy,registerProcessor:Zy,registerPostInit:DT,registerPostUpdate:LT,registerUpdateLifecycle:Qv,registerAction:Kn,registerCoordinateSystem:MT,registerLayout:HT,registerVisual:Gn,registerTransform:RT,registerLoading:qy,registerMap:OT,registerImpl:hT,PRIORITY:FT,ComponentModel:Re,ComponentView:FA,SeriesModel:JA,ChartView:EA,registerComponentModel:function(A){Re.registerClass(A)},registerComponentView:function(A){FA.registerClass(A)},registerSeriesModel:function(A){JA.registerClass(A)},registerChartView:function(A){EA.registerClass(A)},registerCustomSeries:function(A,e){},registerSubTypeDefaulter:function(A,e){Re.registerSubTypeDefaulter(A,e)},registerPainter:function(A,e){bF(A,e)}};function qA(A){if(ae(A)){b(A,function(e){qA(e)});return}Te(xw,A)>=0||(xw.push(A),me(A)&&(A={install:A}),A.install(GD))}var zD=ze(),po=ze(),SA={estimate:1,determine:2};function uu(A){return{out:{noPxChangeTryDetermine:[]},kind:A}}function Fw(A,e){var t=Be(e,function(r){return A.scale.parse(r)});return A.type==="time"&&t.length>0&&(t.sort(),t.unshift(t[0]),t.push(t[t.length-1])),t}function WD(A,e){var t=A.getLabelModel().get("customValues");if(t){var r=ho(A),n=A.scale.getExtent(),i=Fw(A,t),a=rt(i,function(o){return o>=n[0]&&o<=n[1]});return{labels:Be(a,function(o){var s={value:o};return{formattedLabel:r(s),rawLabel:A.scale.getLabel(s),tickValue:o,time:void 0,break:void 0}})}}return A.type==="category"?XD(A,e):JD(A)}function YD(A,e,t){var r=A.getTickModel().get("customValues");if(r){var n=A.scale.getExtent(),i=Fw(A,r);return{ticks:rt(i,function(a){return a>=n[0]&&a<=n[1]})}}return A.type==="category"?ZD(A,e):{ticks:Be(A.scale.getTicks(t),function(a){return a.value})}}function XD(A,e){var t=A.getLabelModel(),r=Ew(A,t,e);return!t.get("show")||A.scale.isBlank()?{labels:[]}:r}function Ew(A,e,t){var r=$D(A),n=Nv(e),i=t.kind===SA.estimate;if(!i){var a=Sw(r,n);if(a)return a}var o,s;me(n)?o=Tw(A,n):(s=n==="auto"?jD(A,t):n,o=Iw(A,s));var l={labels:o,labelCategoryInterval:s};return i?t.out.noPxChangeTryDetermine.push(function(){return Pv(r,n,l),!0}):Pv(r,n,l),l}function ZD(A,e){var t=qD(A),r=Nv(e),n=Sw(t,r);if(n)return n;var i,a;if((!e.get("show")||A.scale.isBlank())&&(i=[]),me(r))i=Tw(A,r,!0);else if(r==="auto"){var o=Ew(A,A.getLabelModel(),uu(SA.determine));a=o.labelCategoryInterval,i=Be(o.labels,function(s){return s.tickValue})}else a=r,i=Iw(A,a,!0);return Pv(t,r,{ticks:i,tickCategoryInterval:a})}function JD(A){var e=A.scale.getTicks(),t=ho(A);return{labels:Be(e,function(r,n){return{formattedLabel:t(r,n),rawLabel:A.scale.getLabel(r),tickValue:r.value,time:r.time,break:r.break}})}}var qD=bw("axisTick"),$D=bw("axisLabel");function bw(A){return function(t){return po(t)[A]||(po(t)[A]={list:[]})}}function Sw(A,e){for(var t=0;t<A.list.length;t++)if(A.list[t].key===e)return A.list[t].value}function Pv(A,e,t){return A.list.push({key:e,value:t}),t}function jD(A,e){if(e.kind===SA.estimate){var t=A.calculateCategoryInterval(e);return e.out.noPxChangeTryDetermine.push(function(){return po(A).autoInterval=t,!0}),t}var r=po(A).autoInterval;return r??(po(A).autoInterval=A.calculateCategoryInterval(e))}function eL(A,e){var t=e.kind,r=AL(A),n=ho(A),i=(r.axisRotate-r.labelRotate)/180*Math.PI,a=A.scale,o=a.getExtent(),s=a.count();if(o[1]-o[0]<1)return 0;var l=1,u=40;s>u&&(l=Math.max(1,Math.floor(s/u)));for(var f=o[0],c=A.dataToCoord(f+1)-A.dataToCoord(f),h=Math.abs(c*Math.cos(i)),v=Math.abs(c*Math.sin(i)),d=0,g=0;f<=o[1];f+=l){var p=0,B=0,m=Dg(n({value:f}),r.font,"center","top");p=m.width*1.3,B=m.height*1.3,d=Math.max(d,p,7),g=Math.max(g,B,7)}var y=d/h,_=g/v;isNaN(y)&&(y=1/0),isNaN(_)&&(_=1/0);var C=Math.max(0,Math.floor(Math.min(y,_)));if(t===SA.estimate)return e.out.noPxChangeTryDetermine.push(ye(tL,null,A,C,s)),C;var Q=Uw(A,C,s);return Q??C}function tL(A,e,t){return Uw(A,e,t)==null}function Uw(A,e,t){var r=zD(A.model),n=A.getExtent(),i=r.lastAutoInterval,a=r.lastTickCount;if(i!=null&&a!=null&&Math.abs(i-e)<=1&&Math.abs(a-t)<=1&&i>e&&r.axisExtent0===n[0]&&r.axisExtent1===n[1])return i;r.lastTickCount=t,r.lastAutoInterval=e,r.axisExtent0=n[0],r.axisExtent1=n[1]}function AL(A){var e=A.getLabelModel();return{axisRotate:A.getRotate?A.getRotate():A.isHorizontal&&!A.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function Iw(A,e,t){var r=ho(A),n=A.scale,i=n.getExtent(),a=A.getLabelModel(),o=[],s=Math.max((e||0)+1,1),l=i[0],u=n.count();l!==0&&s>1&&u/s>2&&(l=Math.round(Math.ceil(l/s)*s));var f=Cw(A),c=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;c&&l!==i[0]&&d(i[0]);for(var v=l;v<=i[1];v+=s)d(v);h&&v-s!==i[1]&&d(i[1]);function d(g){var p={value:g};o.push(t?g:{formattedLabel:r(p),rawLabel:n.getLabel(p),tickValue:g,time:void 0,break:void 0})}return o}function Tw(A,e,t){var r=A.scale,n=ho(A),i=[];return b(r.getTicks(),function(a){var o=r.getLabel(a),s=a.value;e(a.value,o)&&i.push(t?s:{formattedLabel:n(a),rawLabel:o,tickValue:s,time:void 0,break:void 0})}),i}var Dw=[0,1],rL=(function(){function A(e,t,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=r||[0,0]}return A.prototype.contain=function(e){var t=this._extent,r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=r&&e<=n},A.prototype.containData=function(e){return this.scale.contain(this.scale.parse(e))},A.prototype.getExtent=function(){return this._extent.slice()},A.prototype.getPixelPrecision=function(e){return Ng(e||this.scale.getExtent(),this._extent)},A.prototype.setExtent=function(e,t){var r=this._extent;r[0]=e,r[1]=t},A.prototype.dataToCoord=function(e,t){var r=this._extent,n=this.scale;return e=n.normalize(n.parse(e)),this.onBand&&n.type==="ordinal"&&(r=r.slice(),Lw(r,n.count())),dt(e,Dw,r,t)},A.prototype.coordToData=function(e,t){var r=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(r=r.slice(),Lw(r,n.count()));var i=dt(e,r,Dw,t);return this.scale.scale(i)},A.prototype.pointToData=function(e,t){},A.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),r=YD(this,t,{breakTicks:e.breakTicks,pruneByBreak:e.pruneByBreak}),n=r.ticks,i=Be(n,function(o){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(o):o),tickValue:o}},this),a=t.get("alignWithLabel");return nL(this,i,a,e.clamp),i},A.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var r=this.scale.getMinorTicks(t),n=Be(r,function(i){return Be(i,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return n},A.prototype.getViewLabels=function(e){return e=e||uu(SA.determine),WD(this,e).labels},A.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},A.prototype.getTickModel=function(){return this.model.getModel("axisTick")},A.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),r=t[1]-t[0]+(this.onBand?1:0);r===0&&(r=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/r},A.prototype.calculateCategoryInterval=function(e){return e=e||uu(SA.determine),eL(this,e)},A})();function Lw(A,e){var t=A[1]-A[0],r=e,n=t/r/2;A[0]+=n,A[1]-=n}function nL(A,e,t,r){var n=e.length;if(!A.onBand||t||!n)return;var i=A.getExtent(),a,o;if(n===1)e[0].coord=i[0],e[0].onBand=!0,a=e[1]={coord:i[1],tickValue:e[0].tickValue,onBand:!0};else{var s=e[n-1].tickValue-e[0].tickValue,l=(e[n-1].coord-e[0].coord)/s;b(e,function(h){h.coord-=l/2,h.onBand=!0});var u=A.scale.getExtent();o=1+u[1]-e[n-1].tickValue,a={coord:e[n-1].coord+l*o,tickValue:u[1]+1,onBand:!0},e.push(a)}var f=i[0]>i[1];c(e[0].coord,i[0])&&(r?e[0].coord=i[0]:e.shift()),r&&c(i[0],e[0].coord)&&e.unshift({coord:i[0],onBand:!0}),c(i[1],a.coord)&&(r?a.coord=i[1]:e.pop()),r&&c(a.coord,i[1])&&e.push({coord:i[1],onBand:!0});function c(h,v){return h=wt(h),v=wt(v),f?h>v:h<v}}var go=Math.PI*2,zn=Sr.CMD,iL=["top","right","bottom","left"];function aL(A,e,t,r,n){var i=t.width,a=t.height;switch(A){case"top":r.set(t.x+i/2,t.y-e),n.set(0,-1);break;case"bottom":r.set(t.x+i/2,t.y+a+e),n.set(0,1);break;case"left":r.set(t.x-e,t.y+a/2),n.set(-1,0);break;case"right":r.set(t.x+i+e,t.y+a/2),n.set(1,0);break}}function oL(A,e,t,r,n,i,a,o,s){a-=A,o-=e;var l=Math.sqrt(a*a+o*o);a/=l,o/=l;var u=a*t+A,f=o*t+e;if(Math.abs(r-n)%go<1e-4)return s[0]=u,s[1]=f,l-t;if(i){var c=r;r=sr(n),n=sr(c)}else r=sr(r),n=sr(n);r>n&&(n+=go);var h=Math.atan2(o,a);if(h<0&&(h+=go),h>=r&&h<=n||h+go>=r&&h+go<=n)return s[0]=u,s[1]=f,l-t;var v=t*Math.cos(r)+A,d=t*Math.sin(r)+e,g=t*Math.cos(n)+A,p=t*Math.sin(n)+e,B=(v-a)*(v-a)+(d-o)*(d-o),m=(g-a)*(g-a)+(p-o)*(p-o);return B<m?(s[0]=v,s[1]=d,Math.sqrt(B)):(s[0]=g,s[1]=p,Math.sqrt(m))}function kv(A,e,t,r,n,i,a,o){var s=n-A,l=i-e,u=t-A,f=r-e,c=Math.sqrt(u*u+f*f);u/=c,f/=c;var h=s*u+l*f,v=h/c;o&&(v=Math.min(Math.max(v,0),1)),v*=c;var d=a[0]=A+v*u,g=a[1]=e+v*f;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function Mw(A,e,t,r,n,i,a){t<0&&(A=A+t,t=-t),r<0&&(e=e+r,r=-r);var o=A+t,s=e+r,l=a[0]=Math.min(Math.max(n,A),o),u=a[1]=Math.min(Math.max(i,e),s);return Math.sqrt((l-n)*(l-n)+(u-i)*(u-i))}var UA=[];function sL(A,e,t){var r=Mw(e.x,e.y,e.width,e.height,A.x,A.y,UA);return t.set(UA[0],UA[1]),r}function lL(A,e,t){for(var r=0,n=0,i=0,a=0,o,s,l=1/0,u=e.data,f=A.x,c=A.y,h=0;h<u.length;){var v=u[h++];h===1&&(r=u[h],n=u[h+1],i=r,a=n);var d=l;switch(v){case zn.M:i=u[h++],a=u[h++],r=i,n=a;break;case zn.L:d=kv(r,n,u[h],u[h+1],f,c,UA,!0),r=u[h++],n=u[h++];break;case zn.C:d=sg(r,n,u[h++],u[h++],u[h++],u[h++],u[h],u[h+1],f,c,UA),r=u[h++],n=u[h++];break;case zn.Q:d=fg(r,n,u[h++],u[h++],u[h],u[h+1],f,c,UA),r=u[h++],n=u[h++];break;case zn.A:var g=u[h++],p=u[h++],B=u[h++],m=u[h++],y=u[h++],_=u[h++];h+=1;var C=!!(1-u[h++]);o=Math.cos(y)*B+g,s=Math.sin(y)*m+p,h<=1&&(i=o,a=s);var Q=(f-g)*m/B+g;d=oL(g,p,m,y,y+_,C,Q,c,UA),r=Math.cos(y+_)*B+g,n=Math.sin(y+_)*m+p;break;case zn.R:i=r=u[h++],a=n=u[h++];var x=u[h++],F=u[h++];d=Mw(i,a,x,F,f,c,UA);break;case zn.Z:d=kv(r,n,i,a,f,c,UA,!0),r=i,n=a;break}d<l&&(l=d,t.set(UA[0],UA[1]))}return l}var Wn=new be,mt=new be,jt=new be,$i=new be,Bo=new be;function Hw(A,e){if(A){var t=A.getTextGuideLine(),r=A.getTextContent();if(r&&t){var n=A.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],a=n.candidates||iL,o=r.getBoundingRect().clone();o.applyTransform(r.getComputedTransform());var s=1/0,l=n.anchor,u=A.getComputedTransform(),f=u&&hi([],u),c=e.get("length2")||0;l&&jt.copy(l);for(var h=0;h<a.length;h++){var v=a[h];aL(v,0,o,Wn,$i),be.scaleAndAdd(mt,Wn,$i,c),mt.transform(f);var d=A.getBoundingRect(),g=l?l.distance(mt):A instanceof ke?lL(mt,A.path,jt):sL(mt,d,jt);g<s&&(s=g,mt.transform(u),jt.transform(u),jt.toArray(i[0]),mt.toArray(i[1]),Wn.toArray(i[2]))}uL(i,e.get("minTurnAngle")),t.setShape({points:i})}}}var Ow=[],Yn=new be;function uL(A,e){if(e<=180&&e>0){e=e/180*Math.PI,Wn.fromArray(A[0]),mt.fromArray(A[1]),jt.fromArray(A[2]),be.sub($i,Wn,mt),be.sub(Bo,jt,mt);var t=$i.len(),r=Bo.len();if(!(t<.001||r<.001)){$i.scale(1/t),Bo.scale(1/r);var n=$i.dot(Bo),i=Math.cos(e);if(i<n){var a=kv(mt.x,mt.y,jt.x,jt.y,Wn.x,Wn.y,Ow,!1);Yn.fromArray(Ow),Yn.scaleAndAdd(Bo,a/Math.tan(Math.PI-e));var o=jt.x!==mt.x?(Yn.x-mt.x)/(jt.x-mt.x):(Yn.y-mt.y)/(jt.y-mt.y);if(isNaN(o))return;o<0?be.copy(Yn,mt):o>1&&be.copy(Yn,jt),Yn.toArray(A[1])}}}}function Vv(A,e,t,r){var n=t==="normal",i=n?A:A.ensureState(t);i.ignore=e;var a=r.get("smooth");a&&a===!0&&(a=.3),i.shape=i.shape||{},a>0&&(i.shape.smooth=a);var o=r.getModel("lineStyle").getLineStyle();n?A.useStyle(o):i.style=o}function fL(A,e){var t=e.smooth,r=e.points;if(r)if(A.moveTo(r[0][0],r[0][1]),t>0&&r.length>=3){var n=Lf(r[0],r[1]),i=Lf(r[1],r[2]);if(!n||!i){A.lineTo(r[1][0],r[1][1]),A.lineTo(r[2][0],r[2][1]);return}var a=Math.min(n,i)*t,o=Mf([],r[1],r[0],a/n),s=Mf([],r[1],r[2],a/i),l=Mf([],o,s,.5);A.bezierCurveTo(o[0],o[1],o[0],o[1],l[0],l[1]),A.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)A.lineTo(r[u][0],r[u][1])}function cL(A,e,t){var r=A.getTextGuideLine(),n=A.getTextContent();if(!n){r&&A.removeTextGuideLine();return}for(var i=e.normal,a=i.get("show"),o=n.ignore,s=0;s<Gs.length;s++){var l=Gs[s],u=e[l],f=l==="normal";if(u){var c=u.get("show"),h=f?o:ve(n.states[l]&&n.states[l].ignore,o);if(h||!ve(c,a)){var v=f?r:r&&r.states[l];v&&(v.ignore=!0),r&&Vv(r,!0,l,u);continue}r||(r=new Pa,A.setTextGuideLine(r),!f&&(o||!a)&&Vv(r,!0,"normal",e.normal),A.stateProxy&&(r.stateProxy=A.stateProxy)),Vv(r,!1,l,u)}}if(r){Ne(r.style,t),r.style.fill=null;var d=i.get("showAbove"),g=A.textGuideLineConfig=A.textGuideLineConfig||{};g.showAbove=d||!1,r.buildPath=fL}}function hL(A,e){e=e||"labelLine";for(var t={normal:A.getModel(e)},r=0;r<sA.length;r++){var n=sA[r];t[n]=A.getModel([n,e])}return t}var Rw=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"],vL=1,fu=2,Nw=vL|fu;function cu(A,e,t){t=t||Nw,e?A.dirty|=t:A.dirty&=~t}function Pw(A,e){return e=e||Nw,A.dirty==null||!!(A.dirty&e)}function kr(A){if(A)return Pw(A)&&dL(A,A.label,A),A}function dL(A,e,t){var r=e.getComputedTransform();A.transform=yh(A.transform,r);var n=A.localRect=Ka(A.localRect,e.getBoundingRect()),i=e.style,a=i.margin,o=t&&t.marginForce,s=t&&t.minMarginForce,l=t&&t.marginDefault,u=i.__marginType;u==null&&l&&(a=l,u=Mi.textMargin);for(var f=0;f<4;f++)Kv[f]=u===Mi.minMargin&&s&&s[f]!=null?s[f]:o&&o[f]!=null?o[f]:a?a[f]:0;u===Mi.textMargin&&ul(n,Kv,!1,!1);var c=A.rect=Ka(A.rect,n);return r&&c.applyTransform(r),u===Mi.minMargin&&ul(c,Kv,!1,!1),A.axisAligned=mh(r),(A.label=A.label||{}).ignore=e.ignore,cu(A,!1),cu(A,!0,fu),A}var Kv=[0,0,0,0];function pL(A,e,t){return A.transform=yh(A.transform,t),A.localRect=Ka(A.localRect,e),A.rect=Ka(A.rect,e),t&&A.rect.applyTransform(t),A.axisAligned=mh(t),A.obb=void 0,(A.label=A.label||{}).ignore=!1,A}function gL(A,e){if(A){A.label.x+=e.x,A.label.y+=e.y,A.label.markRedraw();var t=A.transform;t&&(t[4]+=e.x,t[5]+=e.y);var r=A.rect;r&&(r.x+=e.x,r.y+=e.y);var n=A.obb;n&&n.fromBoundingRect(A.localRect,t)}}function Gv(A,e){for(var t=0;t<Rw.length;t++){var r=Rw[t];A[r]==null&&(A[r]=e[r])}return kr(A)}function kw(A){var e=A.obb;return(!e||Pw(A,fu))&&(A.obb=e=e||new fB,e.fromBoundingRect(A.localRect,A.transform),cu(A,!1,fu)),e}function Vw(A,e,t,r,n){var i=A.length,a=Dr[e],o=Di[e];if(i<2)return!1;A.sort(function(Q,x){return Q.rect[a]-x.rect[a]});for(var s=0,l,u=!1,f=0;f<i;f++){var c=A[f],h=c.rect;l=h[a]-s,l<0&&(h[a]-=l,c.label[a]-=l,u=!0),s=h[a]+h[o]}var v=A[0],d=A[i-1],g,p;B(),g<0&&_(-g,.8),p<0&&_(p,.8),B(),m(g,p,1),m(p,g,-1),B(),g<0&&C(-g),p<0&&C(p);function B(){g=v.rect[a]-t,p=r-d.rect[a]-d.rect[o]}function m(Q,x,F){if(Q<0){var S=Math.min(x,-Q);if(S>0){y(S*F,0,i);var E=S+Q;E<0&&_(-E*F,1)}else _(-Q*F,1)}}function y(Q,x,F){Q!==0&&(u=!0);for(var S=x;S<F;S++){var E=A[S],I=E.rect;I[a]+=Q,E.label[a]+=Q}}function _(Q,x){for(var F=[],S=0,E=1;E<i;E++){var I=A[E-1].rect,U=Math.max(A[E].rect[a]-I[a]-I[o],0);F.push(U),S+=U}if(S){var T=Math.min(Math.abs(Q)/S,x);if(Q>0)for(var E=0;E<i-1;E++){var L=F[E]*T;y(L,0,E+1)}else for(var E=i-1;E>0;E--){var L=F[E-1]*T;y(-L,E,i)}}}function C(Q){var x=Q<0?-1:1;Q=Math.abs(Q);for(var F=Math.ceil(Q/(i-1)),S=0;S<i-1;S++)if(x>0?y(F,0,S+1):y(-F,i-S-1,i),Q-=F,Q<=0)return}return u}function BL(A){for(var e=0;e<A.length;e++){var t=A[e],r=t.defaultAttr,n=t.labelLine;t.label.attr("ignore",r.ignore),n&&n.attr("ignore",r.labelGuideIgnore)}}function Kw(A){var e=[];A.sort(function(l,u){return(u.suggestIgnore?1:0)-(l.suggestIgnore?1:0)||u.priority-l.priority});function t(l){if(!l.ignore){var u=l.ensureState("emphasis");u.ignore==null&&(u.ignore=!1)}l.ignore=!0}for(var r=0;r<A.length;r++){var n=kr(A[r]);if(!n.label.ignore){for(var i=n.label,a=n.labelLine,o=!1,s=0;s<e.length;s++)if(zv(n,e[s],null,{touchThreshold:.05})){o=!0;break}o?(t(i),a&&t(a)):e.push(n)}}}function zv(A,e,t,r){return!A||!e||A.label&&A.label.ignore||e.label&&e.label.ignore||!A.rect.intersect(e.rect,t,r)?!1:A.axisAligned&&e.axisAligned?!0:kw(A).intersect(kw(e),t,r)}function mL(A){if(A){for(var e=[],t=0;t<A.length;t++)e.push(A[t].slice());return e}}function yL(A,e){var t=A.label,r=e&&e.getTextGuideLine();return{dataIndex:A.dataIndex,dataType:A.dataType,seriesIndex:A.seriesModel.seriesIndex,text:A.label.style.text,rect:A.hostRect,labelRect:A.rect,align:t.style.align,verticalAlign:t.style.verticalAlign,labelLinePoints:mL(r&&r.shape.points)}}var Gw=["align","verticalAlign","width","height","fontSize"],Rt=new Qs,Wv=ze(),wL=ze();function hu(A,e,t){for(var r=0;r<t.length;r++){var n=t[r];e[n]!=null&&(A[n]=e[n])}}var vu=["x","y","rotation"],CL=(function(){function A(){this._labelList=[],this._chartViewList=[]}return A.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},A.prototype._addLabel=function(e,t,r,n,i){var a=n.style,o=n.__hostTarget,s=o.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Fe.applyTransform(u,u,l),l?Rt.setLocalTransform(l):(Rt.x=Rt.y=Rt.rotation=Rt.originX=Rt.originY=0,Rt.scaleX=Rt.scaleY=1),Rt.rotation=sr(Rt.rotation);var f=n.__hostTarget,c;if(f){c=f.getBoundingRect().plain();var h=f.getComputedTransform();Fe.applyTransform(c,c,h)}var v=c&&f.getTextGuideLine();this._labelList.push({label:n,labelLine:v,seriesModel:r,dataIndex:e,dataType:t,layoutOptionOrCb:i,layoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:v&&v.ignore,x:Rt.x,y:Rt.y,scaleX:Rt.scaleX,scaleY:Rt.scaleY,rotation:Rt.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},A.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var r=e.__model,n=r.get("labelLayout");(me(n)||Xe(n).length)&&e.group.traverse(function(i){if(i.ignore)return!0;var a=i.getTextContent(),o=Le(i);a&&!a.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,r,a,n)})},A.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),r=e.getHeight();function n(m,y){return function(){Hw(m,y)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;me(a.layoutOptionOrCb)?u=a.layoutOptionOrCb(yL(a,s)):u=a.layoutOptionOrCb,u=u||{},a.layoutOption=u;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:u.x!=null||u.y!=null?null:l.attachedPos,rotation:u.rotate!=null?u.rotate*f:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(u.x!=null?(o.x=ht(u.x,t),o.setStyle("x",0),c=!0):(o.x=l.x,o.setStyle("x",l.style.x)),u.y!=null?(o.y=ht(u.y,r),o.setStyle("y",0),c=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}var v=Wv(o);v.needsUpdateLabelLine=c,o.rotation=u.rotate!=null?u.rotate*f:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var d=0;d<Gw.length;d++){var g=Gw[d];o.setStyle(g,u[g]!=null?u[g]:l.style[g])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var p=a.seriesModel;if(a.dataIndex!=null){var B=a.seriesModel.getData(a.dataType);p=B.getItemModel(a.dataIndex)}o.on("drag",n(s,p.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},A.prototype.layout=function(e){var t=e.getWidth(),r=e.getHeight(),n=[];b(this._labelList,function(s){s.defaultAttr.ignore||n.push(Gv({},s))});var i=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftX"}),a=rt(n,function(s){return s.layoutOption.moveOverlap==="shiftY"});Vw(i,0,0,t),Vw(a,1,0,r);var o=rt(n,function(s){return s.layoutOption.hideOverlap});BL(o),Kw(o)},A.prototype.processLabelsOverall=function(){var e=this;b(this._chartViewList,function(t){var r=t.__model,n=t.ignoreLabelLineUpdate,i=r.isAnimationEnabled();t.group.traverse(function(a){if(a.ignore&&!a.forceLabelAnimation)return!0;var o=!n,s=a.getTextContent();!o&&s&&(o=Wv(s).needsUpdateLabelLine),o&&e._updateLabelLine(a,r),i&&e._animateLabels(a,r)})})},A.prototype._updateLabelLine=function(e,t){var r=e.getTextContent(),n=Le(e),i=n.dataIndex;if(r&&i!=null){var a=t.getData(n.dataType),o=a.getItemModel(i),s={},l=a.getItemVisual(i,"style");if(l){var u=a.getVisual("drawType");s.stroke=l[u]}var f=o.getModel("labelLine");cL(e,hL(o),s),Hw(e,f)}},A.prototype._animateLabels=function(e,t){var r=e.getTextContent(),n=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!Ti(e))){var i=Wv(r),a=i.oldLayout,o=Le(e),s=o.dataIndex,l={x:r.x,y:r.y,rotation:r.rotation},u=t.getData(o.dataType);if(a){r.attr(a);var c=e.prevStates;c&&(Te(c,"select")>=0&&r.attr(i.oldLayoutSelect),Te(c,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),Et(r,l,t,s)}else if(r.attr(l),!Li(r).valueAnimation){var f=ve(r.style.opacity,1);r.style.opacity=0,lA(r,{style:{opacity:f}},t,s)}if(i.oldLayout=l,r.states.select){var h=i.oldLayoutSelect={};hu(h,l,vu),hu(h,r.states.select,vu)}if(r.states.emphasis){var v=i.oldLayoutEmphasis={};hu(v,l,vu),hu(v,r.states.emphasis,vu)}cS(r,s,u,t,t)}if(n&&!n.ignore&&!n.invisible){var i=wL(n),a=i.oldLayout,d={points:n.shape.points};a?(n.attr({shape:a}),Et(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,lA(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},A})(),Yv=ze();function _L(A){A.registerUpdateLifecycle("series:beforeupdate",function(e,t,r){var n=Yv(t).labelManager;n||(n=Yv(t).labelManager=new CL),n.clearLabels()}),A.registerUpdateLifecycle("series:layoutlabels",function(e,t,r){var n=Yv(t).labelManager;r.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}var QL=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t){if(process.env.NODE_ENV!=="production"){var r=t.coordinateSystem;if(r!=="polar"&&r!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Uv(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var r=new lt,n=Or("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);r.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),o=i==="none"?"circle":i,s=t.itemHeight*.8,l=Or(o,(t.itemWidth-s)/2,(t.itemHeight-s)/2,s,s,t.itemStyle.fill);r.add(l),l.setStyle(t.itemStyle);var u=t.iconRotate==="inherit"?a:t.iconRotate||0;return l.rotation=u*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill=oe.color.neutral00,l.style.lineWidth=2),r},e.type="series.line",e.dependencies=["grid","polar"],e.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:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e})(JA);function Xv(A,e){var t=A.mapDimensionsAll("defaultedLabel"),r=t.length;if(r===1){var n=Pi(A,e,t[0]);return n!=null?n+"":null}else if(r){for(var i=[],a=0;a<t.length;a++)i.push(Pi(A,e,t[a]));return i.join(" ")}}function zw(A,e){var t=A.mapDimensionsAll("defaultedLabel");if(!ae(e))return e+"";for(var r=[],n=0;n<t.length;n++){var i=A.getDimensionIndex(t[n]);i>=0&&r.push(e[i])}return r.join(" ")}var Zv=(function(A){J(e,A);function e(t,r,n,i){var a=A.call(this)||this;return a.updateData(t,r,n,i),a}return e.prototype._createSymbol=function(t,r,n,i,a,o){this.removeAll();var s=Or(t,-1,-1,2,2,null,o);s.attr({z2:ve(a,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=xL,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Zs(this.childAt(0))},e.prototype.downplay=function(){Js(this.childAt(0))},e.prototype.setZ=function(t,r){var n=this.childAt(0);n.zlevel=t,n.z=r},e.prototype.setDraggable=function(t,r){var n=this.childAt(0);n.draggable=t,n.cursor=!r&&t?"move":n.cursor},e.prototype.updateData=function(t,r,n,i){this.silent=!1;var a=t.getItemVisual(r,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,r),l=e.getSymbolZ2(t,r),u=a!==this._symbolType,f=i&&i.disableAnimation;if(u){var c=t.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,t,r,s,l,c)}else{var h=this.childAt(0);h.silent=!1;var v={scaleX:s[0]/2,scaleY:s[1]/2};f?h.attr(v):Et(h,v,o,r),hB(h)}if(this._updateCommon(t,r,s,n,i),u){var h=this.childAt(0);if(!f){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,lA(h,v,o,r)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,r,n,i,a){var o=this.childAt(0),s=t.hostModel,l,u,f,c,h,v,d,g,p;if(i&&(l=i.emphasisItemStyle,u=i.blurItemStyle,f=i.selectItemStyle,c=i.focus,h=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,p=i.cursorStyle,v=i.emphasisDisabled),!i||t.hasItemOption){var B=i&&i.itemModel?i.itemModel:t.getItemModel(r),m=B.getModel("emphasis");l=m.getModel("itemStyle").getItemStyle(),f=B.getModel(["select","itemStyle"]).getItemStyle(),u=B.getModel(["blur","itemStyle"]).getItemStyle(),c=m.get("focus"),h=m.get("blurScope"),v=m.get("disabled"),d=pl(B),g=m.getShallow("scale"),p=B.getShallow("cursor")}var y=t.getItemVisual(r,"symbolRotate");o.attr("rotation",(y||0)*Math.PI/180||0);var _=sy(t.getItemVisual(r,"symbolOffset"),n);_&&(o.x=_[0],o.y=_[1]),p&&o.attr("cursor",p);var C=t.getItemVisual(r,"style"),Q=C.fill;if(o instanceof Ir){var x=o.style;o.useStyle(Y({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},C))}else o.__isEmptyBrush?o.useStyle(Y({},C)):o.useStyle(C),o.style.decal=null,o.setColor(Q,a&&a.symbolInnerColor),o.style.strokeNoScale=!0;var F=t.getItemVisual(r,"liftZ"),S=this._z2;F!=null?S==null&&(this._z2=o.z2,o.z2+=F):S!=null&&(o.z2=S,this._z2=null);var E=a&&a.useNameLabel;dl(o,d,{labelFetcher:s,labelDataIndex:r,defaultText:I,inheritColor:Q,defaultOpacity:C.opacity});function I(L){return E?t.getName(L):Xv(t,L)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var U=o.ensureState("emphasis");U.style=l,o.ensureState("select").style=f,o.ensureState("blur").style=u;var T=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;U.scaleX=this._sizeX*T,U.scaleY=this._sizeY*T,this.setSymbolScale(1),$s(this,c,h,v)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,r,n){var i=this.childAt(0),a=Le(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var s=i.getTextContent();s&&sl(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();sl(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:t,removeOpt:o})},e.getSymbolSize=function(t,r){return JI(t.getItemVisual(r,"symbolSize"))},e.getSymbolZ2=function(t,r){return t.getItemVisual(r,"z2")},e})(lt);function xL(A,e){this.parent.drift(A,e)}function Jv(A,e,t,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(t))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&A.getItemVisual(t,"symbol")!=="none"}function Ww(A){return A!=null&&!he(A)&&(A={isIgnore:A}),A||{}}function Yw(A){var e=A.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:pl(e),cursorStyle:e.get("cursor")}}var FL=(function(){function A(e){this.group=new lt,this._SymbolCtor=e||Zv}return A.prototype.updateData=function(e,t){this._progressiveEls=null,t=Ww(t);var r=this.group,n=e.hostModel,i=this._data,a=this._SymbolCtor,o=t.disableAnimation,s=Yw(e),l={disableAnimation:o},u=t.getSymbolPoint||function(f){return e.getItemLayout(f)};i||r.removeAll(),e.diff(i).add(function(f){var c=u(f);if(Jv(e,c,f,t)){var h=new a(e,f,s,l);h.setPosition(c),e.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,c){var h=i.getItemGraphicEl(c),v=u(f);if(!Jv(e,v,f,t)){r.remove(h);return}var d=e.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==d)r.remove(h),h=new a(e,f,s,l),h.setPosition(v);else{h.updateData(e,f,s,l);var p={x:v[0],y:v[1]};o?h.attr(p):Et(h,p,n)}r.add(h),e.setItemGraphicEl(f,h)}).remove(function(f){var c=i.getItemGraphicEl(f);c&&c.fadeOut(function(){r.remove(c)},n)}).execute(),this._getSymbolPoint=u,this._data=e},A.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(r,n){var i=e._getSymbolPoint(n);r.setPosition(i),r.markRedraw()})},A.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Yw(e),this._data=null,this.group.removeAll()},A.prototype.incrementalUpdate=function(e,t,r){this._progressiveEls=[],r=Ww(r);function n(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i<e.end;i++){var a=t.getItemLayout(i);if(Jv(t,a,i,r)){var o=new this._SymbolCtor(t,i,this._seriesScope);o.traverse(n),o.setPosition(a),this.group.add(o),t.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},A.prototype.eachRendered=function(e){cl(this._progressiveEls||this.group,e)},A.prototype.remove=function(e){var t=this.group,r=this._data;r&&e?r.eachItemGraphicEl(function(n){n.fadeOut(function(){t.remove(n)},r.hostModel)}):t.removeAll()},A})();function Xw(A,e,t){var r=A.getBaseAxis(),n=A.getOtherAxis(r),i=EL(n,t),a=r.dim,o=n.dim,s=e.mapDimension(o),l=e.mapDimension(a),u=o==="x"||o==="radius"?1:0,f=Be(A.dimensions,function(v){return e.mapDimension(v)}),c=!1,h=e.getCalculationInfo("stackResultDimension");return Zi(e,f[0])&&(c=!0,f[0]=h),Zi(e,f[1])&&(c=!0,f[1]=h),{dataDimsForPoint:f,valueStart:i,valueAxisDim:o,baseAxisDim:a,stacked:!!c,valueDim:s,baseDim:l,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function EL(A,e){var t=0,r=A.scale.getExtent();return e==="start"?t=r[0]:e==="end"?t=r[1]:Ye(e)&&!isNaN(e)?t=e:r[0]>0?t=r[0]:r[1]<0&&(t=r[1]),t}function Zw(A,e,t,r){var n=NaN;A.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),r)),isNaN(n)&&(n=A.valueStart);var i=A.baseDataOffset,a=[];return a[i]=t.get(A.baseDim,r),a[1-i]=n,e.dataToPoint(a)}function bL(A,e){var t=[];return e.diff(A).add(function(r){t.push({cmd:"+",idx:r})}).update(function(r,n){t.push({cmd:"=",idx:n,idx1:r})}).remove(function(r){t.push({cmd:"-",idx:r})}).execute(),t}function SL(A,e,t,r,n,i,a,o){for(var s=bL(A,e),l=[],u=[],f=[],c=[],h=[],v=[],d=[],g=Xw(n,e,a),p=A.getLayout("points")||[],B=e.getLayout("points")||[],m=0;m<s.length;m++){var y=s[m],_=!0,C=void 0,Q=void 0;switch(y.cmd){case"=":C=y.idx*2,Q=y.idx1*2;var x=p[C],F=p[C+1],S=B[Q],E=B[Q+1];(isNaN(x)||isNaN(F))&&(x=S,F=E),l.push(x,F),u.push(S,E),f.push(t[C],t[C+1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(y.idx1));break;case"+":var I=y.idx,U=g.dataDimsForPoint,T=n.dataToPoint([e.get(U[0],I),e.get(U[1],I)]);Q=I*2,l.push(T[0],T[1]),u.push(B[Q],B[Q+1]);var L=Zw(g,n,e,I);f.push(L[0],L[1]),c.push(r[Q],r[Q+1]),d.push(e.getRawIndex(I));break;case"-":_=!1}_&&(h.push(y),v.push(v.length))}v.sort(function(K,N){return d[K]-d[N]});for(var P=l.length,Z=vr(P),V=vr(P),X=vr(P),ee=vr(P),te=[],m=0;m<v.length;m++){var D=v[m],M=m*2,H=D*2;Z[M]=l[H],Z[M+1]=l[H+1],V[M]=u[H],V[M+1]=u[H+1],X[M]=f[H],X[M+1]=f[H+1],ee[M]=c[H],ee[M+1]=c[H+1],te[m]=h[D]}return{current:Z,next:V,stackedOnCurrent:X,stackedOnNext:ee,status:te}}var Vr=Math.min,Kr=Math.max;function Xn(A,e){return isNaN(A)||isNaN(e)}function qv(A,e,t,r,n,i,a,o,s){for(var l,u,f,c,h,v,d=t,g=0;g<r;g++){var p=e[d*2],B=e[d*2+1];if(d>=n||d<0)break;if(Xn(p,B)){if(s){d+=i;continue}break}if(d===t)A[i>0?"moveTo":"lineTo"](p,B),f=p,c=B;else{var m=p-l,y=B-u;if(m*m+y*y<.5){d+=i;continue}if(a>0){for(var _=d+i,C=e[_*2],Q=e[_*2+1];C===p&&Q===B&&g<r;)g++,_+=i,d+=i,C=e[_*2],Q=e[_*2+1],p=e[d*2],B=e[d*2+1],m=p-l,y=B-u;var x=g+1;if(s)for(;Xn(C,Q)&&x<r;)x++,_+=i,C=e[_*2],Q=e[_*2+1];var F=.5,S=0,E=0,I=void 0,U=void 0;if(x>=r||Xn(C,Q))h=p,v=B;else{S=C-l,E=Q-u;var T=p-l,L=C-p,P=B-u,Z=Q-B,V=void 0,X=void 0;if(o==="x"){V=Math.abs(T),X=Math.abs(L);var ee=S>0?1:-1;h=p-ee*V*a,v=B,I=p+ee*X*a,U=B}else if(o==="y"){V=Math.abs(P),X=Math.abs(Z);var te=E>0?1:-1;h=p,v=B-te*V*a,I=p,U=B+te*X*a}else V=Math.sqrt(T*T+P*P),X=Math.sqrt(L*L+Z*Z),F=X/(X+V),h=p-S*a*(1-F),v=B-E*a*(1-F),I=p+S*a*F,U=B+E*a*F,I=Vr(I,Kr(C,p)),U=Vr(U,Kr(Q,B)),I=Kr(I,Vr(C,p)),U=Kr(U,Vr(Q,B)),S=I-p,E=U-B,h=p-S*V/X,v=B-E*V/X,h=Vr(h,Kr(l,p)),v=Vr(v,Kr(u,B)),h=Kr(h,Vr(l,p)),v=Kr(v,Vr(u,B)),S=p-h,E=B-v,I=p+S*X/V,U=B+E*X/V}A.bezierCurveTo(f,c,h,v,p,B),f=I,c=U}else A.lineTo(p,B)}l=p,u=B,d+=i}return g}var Jw=(function(){function A(){this.smooth=0,this.smoothConstraint=!0}return A})(),UL=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polyline",r}return e.prototype.getDefaultStyle=function(){return{stroke:oe.color.neutral99,fill:null}},e.prototype.getDefaultShape=function(){return new Jw},e.prototype.buildPath=function(t,r){var n=r.points,i=0,a=n.length/2;if(r.connectNulls){for(;a>0&&Xn(n[a*2-2],n[a*2-1]);a--);for(;i<a&&Xn(n[i*2],n[i*2+1]);i++);}for(;i<a;)i+=qv(t,n,i,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},e.prototype.getPointOn=function(t,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n=this.path,i=n.data,a=Sr.CMD,o,s,l=r==="x",u=[],f=0;f<i.length;){var c=i[f++],h=void 0,v=void 0,d=void 0,g=void 0,p=void 0,B=void 0,m=void 0;switch(c){case a.M:o=i[f++],s=i[f++];break;case a.L:if(h=i[f++],v=i[f++],m=l?(t-o)/(h-o):(t-s)/(v-s),m<=1&&m>=0){var y=l?(v-s)*m+s:(h-o)*m+o;return l?[t,y]:[y,t]}o=h,s=v;break;case a.C:h=i[f++],v=i[f++],d=i[f++],g=i[f++],p=i[f++],B=i[f++];var _=l?us(o,h,d,p,t,u):us(s,v,g,B,t,u);if(_>0)for(var C=0;C<_;C++){var Q=u[C];if(Q<=1&&Q>=0){var y=l?ct(s,v,g,B,Q):ct(o,h,d,p,Q);return l?[t,y]:[y,t]}}o=p,s=B;break}}},e})(ke),IL=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e})(Jw),TL=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="ec-polygon",r}return e.prototype.getDefaultShape=function(){return new IL},e.prototype.buildPath=function(t,r){var n=r.points,i=r.stackedOnPoints,a=0,o=n.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;o>0&&Xn(n[o*2-2],n[o*2-1]);o--);for(;a<o&&Xn(n[a*2],n[a*2+1]);a++);}for(;a<o;){var l=qv(t,n,a,o,o,1,r.smooth,s,r.connectNulls);qv(t,i,a+l-1,l,o,-1,r.stackedOnSmooth,s,r.connectNulls),a+=l+1,t.closePath()}},e})(ke);function qw(A,e,t,r,n){var i=A.getArea(),a=i.x,o=i.y,s=i.width,l=i.height,u=t.get(["lineStyle","width"])||0;a-=u/2,o-=u/2,s+=u,l+=u,s=Math.ceil(s),a!==Math.floor(a)&&(a=Math.floor(a),s++);var f=new qe({shape:{x:a,y:o,width:s,height:l}});if(e){var c=A.getBaseAxis(),h=c.isHorizontal(),v=c.inverse;h?(v&&(f.shape.x+=s),f.shape.width=0):(v||(f.shape.y+=l),f.shape.height=0);var d=me(n)?function(g){n(g,f)}:null;lA(f,{shape:{width:s,height:l,x:a,y:o}},t,null,r,d)}return f}function $w(A,e,t){var r=A.getArea(),n=wt(r.r0,1),i=wt(r.r,1),a=new Ii({shape:{cx:wt(A.cx,1),cy:wt(A.cy,1),r0:n,r:i,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var o=A.getBaseAxis().dim==="angle";o?a.shape.endAngle=r.startAngle:a.shape.r=n,lA(a,{shape:{endAngle:r.endAngle,r:i}},t)}return a}function DL(A,e,t,r,n){if(A){if(A.type==="polar")return $w(A,e,t);if(A.type==="cartesian2d")return qw(A,e,t,r,n)}else return null;return null}function $v(A,e){return A.type===e}function jw(A,e){if(A.length===e.length){for(var t=0;t<A.length;t++)if(A[t]!==e[t])return;return!0}}function eC(A){for(var e=1/0,t=1/0,r=-1/0,n=-1/0,i=0;i<A.length;){var a=A[i++],o=A[i++];isNaN(a)||(e=Math.min(a,e),r=Math.max(a,r)),isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n))}return[[e,t],[r,n]]}function tC(A,e){var t=eC(A),r=t[0],n=t[1],i=eC(e),a=i[0],o=i[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]))}function AC(A){return Ye(A)?A:A?.5:0}function LL(A,e,t){if(!t.valueDim)return[];for(var r=e.count(),n=vr(r*2),i=0;i<r;i++){var a=Zw(t,A,e,i);n[i*2]=a[0],n[i*2+1]=a[1]}return n}function Gr(A,e,t,r,n){var i=t.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],f=[],c=[];if(n){for(s=0;s<A.length;s+=2){var h=e||A;!isNaN(h[s])&&!isNaN(h[s+1])&&c.push(A[s],A[s+1])}A=c}for(s=0;s<A.length-2;s+=2)switch(f[0]=A[s+2],f[1]=A[s+3],u[0]=A[s],u[1]=A[s+1],o.push(u[0],u[1]),r){case"end":l[a]=f[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var v=(u[a]+f[a])/2,d=[];l[a]=d[a]=v,l[1-a]=u[1-a],d[1-a]=f[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=f[1-a],o.push(l[0],l[1])}return o.push(A[s++],A[s++]),o}function ML(A,e){var t=[],r=A.length,n,i;function a(u,f,c){var h=u.coord,v=(c-h)/(f.coord-h),d=tF(v,[u.color,f.color]);return{coord:c,color:d}}for(var o=0;o<r;o++){var s=A[o],l=s.coord;if(l<0)n=s;else if(l>e){i?t.push(a(i,s,e)):n&&t.push(a(n,s,0),a(n,s,e));break}else n&&(t.push(a(n,s,0)),n=null),t.push(s),i=s}return t}function HL(A,e,t){var r=A.getVisual("visualMeta");if(!(!r||!r.length||!A.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var n,i,a=r.length-1;a>=0;a--){var o=A.getDimensionInfo(r[a].dimension);if(n=o&&o.coordDim,n==="x"||n==="y"){i=r[a];break}}if(!i){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var s=e.getAxis(n),l=Be(i.stops,function(m){return{coord:s.toGlobalCoord(s.dataToCoord(m.value)),color:m.color}}),u=l.length,f=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),f.reverse());var c=ML(l,n==="x"?t.getWidth():t.getHeight()),h=c.length;if(!h&&u)return l[0].coord<0?f[1]?f[1]:l[u-1].color:f[0]?f[0]:l[0].color;var v=10,d=c[0].coord-v,g=c[h-1].coord+v,p=g-d;if(p<.001)return"transparent";b(c,function(m){m.offset=(m.coord-d)/p}),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var B=new uB(0,0,0,0,c,!0);return B[n]=d,B[n+"2"]=g,B}}function OL(A,e,t){var r=A.get("showAllSymbol"),n=r==="auto";if(!(r&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&RL(i,e))){var a=e.mapDimension(i.dim),o={};return b(i.getViewLabels(),function(s){var l=i.scale.getRawOrdinalNumber(s.tickValue);o[l]=1}),function(s){return!o.hasOwnProperty(e.get(a,s))}}}}function RL(A,e){var t=A.getExtent(),r=Math.abs(t[1]-t[0])/A.scale.count();isNaN(r)&&(r=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),a=0;a<n;a+=i)if(Zv.getSymbolSize(e,a)[A.isHorizontal()?1:0]*1.5>r)return!1;return!0}function NL(A,e){return isNaN(A)||isNaN(e)}function PL(A){for(var e=A.length/2;e>0&&NL(A[e*2-2],A[e*2-1]);e--);return e-1}function rC(A,e){return[A[e*2],A[e*2+1]]}function kL(A,e,t){for(var r=A.length/2,n=t==="x"?0:1,i,a,o=0,s=-1,l=0;l<r;l++)if(a=A[l*2+n],!(isNaN(a)||isNaN(A[l*2+1-n]))){if(l===0){i=a;continue}if(i<=e&&a>=e||i>=e&&a<=e){s=l;break}o=l,i=a}return{range:[o,s],t:(e-i)/(a-i)}}function nC(A){if(A.get(["endLabel","show"]))return!0;for(var e=0;e<sA.length;e++)if(A.get([sA[e],"endLabel","show"]))return!0;return!1}function jv(A,e,t,r){if($v(e,"cartesian2d")){var n=r.getModel("endLabel"),i=n.get("valueAnimation"),a=r.getData(),o={lastFrameIndex:0},s=nC(r)?function(h,v){A._endLabelOnDuring(h,v,a,o,i,n,e)}:null,l=e.getBaseAxis().isHorizontal(),u=qw(e,t,r,function(){var h=A._endLabel;h&&t&&o.originalX!=null&&h.attr({x:o.originalX,y:o.originalY})},s);if(!r.get("clip",!0)){var f=u.shape,c=Math.max(f.width,f.height);l?(f.y-=c,f.height+=c*2):(f.x-=c,f.width+=c*2)}return s&&s(1,u),u}else return process.env.NODE_ENV!=="production"&&r.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),$w(e,t,r)}function VL(A,e){var t=e.getBaseAxis(),r=t.isHorizontal(),n=t.inverse,i=r?n?"right":"left":"center",a=r?"middle":n?"top":"bottom";return{normal:{align:A.get("align")||i,verticalAlign:A.get("verticalAlign")||a}}}var KL=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.init=function(){var t=new lt,r=new FL;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=t,this._changePolyState=ye(this._changePolyState,this)},e.prototype.render=function(t,r,n){var i=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.getLayout("points")||[],f=i.type==="polar",c=this._coordSys,h=this._symbolDraw,v=this._polyline,d=this._polygon,g=this._lineGroup,p=!r.ssr&&t.get("animation"),B=!l.isEmpty(),m=l.get("origin"),y=Xw(i,o,m),_=B&&LL(i,o,y),C=t.get("showSymbol"),Q=t.get("connectNulls"),x=C&&!f&&OL(t,o,i),F=this._data;F&&F.eachItemGraphicEl(function(K,N){K.__temp&&(a.remove(K),F.setItemGraphicEl(N,null))}),C||h.remove(),a.add(g);var S=f?!1:t.get("step"),E;i&&i.getArea&&t.get("clip",!0)&&(E=i.getArea(),E.width!=null?(E.x-=.1,E.y-=.1,E.width+=.2,E.height+=.2):E.r0&&(E.r0-=.5,E.r+=.5)),this._clipShapeForSymbol=E;var I=HL(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(!(v&&c.type===i.type&&S===this._step))C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),p&&this._initSymbolLabelAnimation(o,i,E),S&&(_&&(_=Gr(_,u,i,S,Q)),u=Gr(u,null,i,S,Q)),v=this._newPolyline(u),B?d=this._newPolygon(u,_):d&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Dn(I)),g.setClipPath(jv(this,i,!0,t));else{B&&!d?d=this._newPolygon(u,_):d&&!B&&(g.remove(d),d=this._polygon=null),f||this._initOrUpdateEndLabel(t,i,Dn(I));var U=g.getClipPath();if(U){var T=jv(this,i,!1,t);lA(U,{shape:T.shape},t)}else g.setClipPath(jv(this,i,!0,t));C&&h.updateData(o,{isIgnore:x,clipShape:E,disableAnimation:!0,getSymbolPoint:function(K){return[u[K*2],u[K*2+1]]}}),(!jw(this._stackedOnPoints,_)||!jw(this._points,u))&&(p?this._doUpdateAnimation(o,_,i,n,S,m,Q):(S&&(_&&(_=Gr(_,u,i,S,Q)),u=Gr(u,null,i,S,Q)),v.setShape({points:u}),d&&d.setShape({points:u,stackedOnPoints:_})))}var L=t.getModel("emphasis"),P=L.get("focus"),Z=L.get("blurScope"),V=L.get("disabled");if(v.useStyle(Ne(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),nh(v,t,"lineStyle"),v.style.lineWidth>0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var X=v.getState("emphasis").style;X.lineWidth=+v.style.lineWidth+1}Le(v).seriesIndex=t.seriesIndex,$s(v,P,Z,V);var ee=AC(t.get("smooth")),te=t.get("smoothMonotone");if(v.setShape({smooth:ee,smoothMonotone:te,connectNulls:Q}),d){var D=o.getCalculationInfo("stackedOnSeries"),M=0;d.useStyle(Ne(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),D&&(M=AC(D.get("smooth"))),d.setShape({smooth:ee,stackedOnSmooth:M,smoothMonotone:te,connectNulls:Q}),nh(d,t,"areaStyle"),Le(d).seriesIndex=t.seriesIndex,$s(d,P,Z,V)}var H=this._changePolyState;o.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=H)}),this._polyline.onHoverStateChange=H,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=S,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,v),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,r){Le(r).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,r,n,i){var a=t.getData(),o=pn(a,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&o!=null&&o>=0){var s=a.getLayout("points"),l=a.getItemGraphicEl(o);if(!l){var u=s[o*2],f=s[o*2+1];if(isNaN(u)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,f))return;var c=t.get("zlevel")||0,h=t.get("z")||0;l=new Zv(a,o),l.x=u,l.y=f,l.setZ(c,h);var v=l.getSymbolPath().getTextContent();v&&(v.zlevel=c,v.z=h,v.z2=this._polyline.z2+1),l.__temp=!0,a.setItemGraphicEl(o,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else EA.prototype.highlight.call(this,t,r,n,i)},e.prototype.downplay=function(t,r,n,i){var a=t.getData(),o=pn(a,i);if(this._changePolyState("normal"),o!=null&&o>=0){var s=a.getItemGraphicEl(o);s&&(s.__temp?(a.setItemGraphicEl(o,null),this.group.remove(s)):s.downplay())}else EA.prototype.downplay.call(this,t,r,n,i)},e.prototype._changePolyState=function(t){var r=this._polygon;P0(this._polyline,t),r&&P0(r,t)},e.prototype._newPolyline=function(t){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new UL({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},e.prototype._newPolygon=function(t,r){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new TL({shape:{points:t,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,r,n){var i,a,o=r.getBaseAxis(),s=o.inverse;r.type==="cartesian2d"?(i=o.isHorizontal(),a=!1):r.type==="polar"&&(i=o.dim==="angle",a=!0);var l=t.hostModel,u=l.get("animationDuration");me(u)&&(u=u(null));var f=l.get("animationDelay")||0,c=me(f)?f(null):f;t.eachItemGraphicEl(function(h,v){var d=h;if(d){var g=[h.x,h.y],p=void 0,B=void 0,m=void 0;if(n)if(a){var y=n,_=r.pointToCoord(g);i?(p=y.startAngle,B=y.endAngle,m=-_[1]/180*Math.PI):(p=y.r0,B=y.r,m=_[0])}else{var C=n;i?(p=C.x,B=C.x+C.width,m=h.x):(p=C.y+C.height,B=C.y,m=h.y)}var Q=B===p?0:(m-p)/(B-p);s&&(Q=1-Q);var x=me(f)?f(v):u*Q+c,F=d.getSymbolPath(),S=F.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),S&&S.animateFrom({style:{opacity:0}},{duration:300,delay:x}),F.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,r,n){var i=t.getModel("endLabel");if(nC(t)){var a=t.getData(),o=this._polyline,s=a.getLayout("points");if(!s){o.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new Ot({z2:200}),l.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=PL(s);u>=0&&(dl(o,pl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(f,c,h){return h!=null?zw(a,h):Xv(a,f)},enableTextSetter:!0},VL(i,r)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,r,n,i,a,o,s){var l=this._endLabel,u=this._polyline;if(l){t<1&&i.originalX==null&&(i.originalX=l.x,i.originalY=l.y);var f=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),v=o.get("precision"),d=o.get("distance")||0,g=s.getBaseAxis(),p=g.isHorizontal(),B=g.inverse,m=r.shape,y=B?p?m.x:m.y+m.height:p?m.x+m.width:m.y,_=(p?d:0)*(B?-1:1),C=(p?0:-d)*(B?-1:1),Q=p?"x":"y",x=kL(f,y,Q),F=x.range,S=F[1]-F[0],E=void 0;if(S>=1){if(S>1&&!h){var I=rC(f,F[0]);l.attr({x:I[0]+_,y:I[1]+C}),a&&(E=c.getRawValue(F[0]))}else{var I=u.getPointOn(y,Q);I&&l.attr({x:I[0]+_,y:I[1]+C});var U=c.getRawValue(F[0]),T=c.getRawValue(F[1]);a&&(E=A0(n,v,U,T,x.t))}i.lastFrameIndex=F[0]}else{var L=t===1||i.lastFrameIndex>0?F[0]:0,I=rC(f,L);a&&(E=c.getRawValue(L)),l.attr({x:I[0]+_,y:I[1]+C})}if(a){var P=Li(l);typeof P.setLabelText=="function"&&P.setLabelText(E)}}},e.prototype._doUpdateAnimation=function(t,r,n,i,a,o,s){var l=this._polyline,u=this._polygon,f=t.hostModel,c=SL(this._data,t,this._stackedOnPoints,r,this._coordSys,n,this._valueOrigin),h=c.current,v=c.stackedOnCurrent,d=c.next,g=c.stackedOnNext;if(a&&(v=Gr(c.stackedOnCurrent,c.current,n,a,s),h=Gr(c.current,null,n,a,s),g=Gr(c.stackedOnNext,c.next,n,a,s),d=Gr(c.next,null,n,a,s)),tC(h,d)>3e3||u&&tC(v,g)>3e3){l.stopAnimation(),l.setShape({points:d}),u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:g}));return}l.shape.__points=c.current,l.shape.points=h;var p={shape:{points:d}};c.current!==h&&(p.shape.__points=c.next),l.stopAnimation(),Et(l,p,f),u&&(u.setShape({points:h,stackedOnPoints:v}),u.stopAnimation(),Et(u,{shape:{stackedOnPoints:g}},f),l.shape.points!==u.shape.points&&(u.shape.points=l.shape.points));for(var B=[],m=c.status,y=0;y<m.length;y++){var _=m[y].cmd;if(_==="="){var C=t.getItemGraphicEl(m[y].idx1);C&&B.push({el:C,ptIdx:y})}}l.animators&&l.animators.length&&l.animators[0].during(function(){u&&u.dirtyShape();for(var Q=l.shape.__points,x=0;x<B.length;x++){var F=B[x].el,S=B[x].ptIdx*2;F.x=Q[S],F.y=Q[S+1],F.markRedraw()}})},e.prototype.remove=function(t){var r=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(i,a){i.__temp&&(r.remove(i),n.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e})(EA);function GL(A,e){return{seriesType:A,plan:nv(),reset:function(t){var r=t.getData(),n=t.coordinateSystem;if(t.pipelineContext,!!n){var i=Be(n.dimensions,function(f){return r.mapDimension(f)}).slice(0,2),a=i.length,o=r.getCalculationInfo("stackResultDimension");Zi(r,i[0])&&(i[0]=o),Zi(r,i[1])&&(i[1]=o);var s=r.getStore(),l=r.getDimensionIndex(i[0]),u=r.getDimensionIndex(i[1]);return a&&{progress:function(f,c){for(var h=f.end-f.start,v=vr(h*a),d=[],g=[],p=f.start,B=0;p<f.end;p++){var m=void 0;if(a===1){var y=s.get(l,p);m=n.dataToPoint(y,null,g)}else d[0]=s.get(l,p),d[1]=s.get(u,p),m=n.dataToPoint(d,null,g);v[B++]=m[0],v[B++]=m[1]}c.setLayout("points",v)}}}}}}var zL={average:function(A){for(var e=0,t=0,r=0;r<A.length;r++)isNaN(A[r])||(e+=A[r],t++);return t===0?NaN:e/t},sum:function(A){for(var e=0,t=0;t<A.length;t++)e+=A[t]||0;return e},max:function(A){for(var e=-1/0,t=0;t<A.length;t++)A[t]>e&&(e=A[t]);return isFinite(e)?e:NaN},min:function(A){for(var e=1/0,t=0;t<A.length;t++)A[t]<e&&(e=A[t]);return isFinite(e)?e:NaN},nearest:function(A){return A[0]}},WL=function(A){return Math.round(A.length/2)};function iC(A){return{seriesType:A,reset:function(e,t,r){var n=e.getData(),i=e.get("sampling"),a=e.coordinateSystem,o=n.count();if(o>10&&a.type==="cartesian2d"&&i){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),f=r.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(f||1),h=Math.round(o/c);if(isFinite(h)&&h>1){i==="lttb"?e.setData(n.lttbDownSample(n.mapDimension(l.dim),1/h)):i==="minmax"&&e.setData(n.minmaxDownSample(n.mapDimension(l.dim),1/h));var v=void 0;le(i)?v=zL[i]:me(i)&&(v=i),v&&e.setData(n.downSample(n.mapDimension(l.dim),1/h,v,WL))}}}}}function YL(A){A.registerChartView(KL),A.registerSeriesModel(QL),A.registerLayout(GL("line")),A.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),r=e.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",r)}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,iC("line"))}var ed=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,r){return Uv(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,r,n){var i=this.coordinateSystem;if(i&&i.clampData){var a=i.clampData(t),o=i.dataToPoint(a);if(n)b(i.getAxes(),function(c,h){if(c.type==="category"&&r!=null){var v=c.getTicksCoords(),d=c.getTickModel().get("alignWithLabel"),g=a[h],p=r[h]==="x1"||r[h]==="y1";if(p&&!d&&(g+=1),v.length<2)return;if(v.length===2){o[h]=c.toGlobalCoord(c.getExtent()[p?1:0]);return}for(var B=void 0,m=void 0,y=1,_=0;_<v.length;_++){var C=v[_].coord,Q=_===v.length-1?v[_-1].tickValue+y:v[_].tickValue;if(Q===g){m=C;break}else if(Q<g)B=C;else if(B!=null&&Q>g){m=(C+B)/2;break}_===1&&(y=Q-v[0].tickValue)}m==null&&(B?B&&(m=v[v.length-1].coord):m=v[0].coord),o[h]=c.toGlobalCoord(m)}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;o[f]+=l+u/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},e})(JA);JA.registerClass(ed);var XL=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return Uv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>t&&(t=r),t},e.prototype.brushSelector=function(t,r,n){return n.rect(r.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Bl(ed.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:oe.color.primary,borderWidth:2}},realtimeSort:!1}),e})(ed),ZL=(function(){function A(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return A})(),aC=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new ZL},e.prototype.buildPath=function(t,r){var n=r.cx,i=r.cy,a=Math.max(r.r0||0,0),o=Math.max(r.r,0),s=(o-a)*.5,l=a+s,u=r.startAngle,f=r.endAngle,c=r.clockwise,h=Math.PI*2,v=c?f-u<h:u-f<h;v||(u=f-(c?h:-h));var d=Math.cos(u),g=Math.sin(u),p=Math.cos(f),B=Math.sin(f);v?(t.moveTo(d*a+n,g*a+i),t.arc(d*l+n,g*l+i,s,-Math.PI+u,u,!c)):t.moveTo(d*o+n,g*o+i),t.arc(n,i,o,u,f,!c),t.arc(p*l+n,B*l+i,s,f-Math.PI*2,f-Math.PI,!c),a!==0&&t.arc(n,i,a,f,u,c)},e})(ke);function JL(A,e){e=e||{};var t=e.isRoundCap;return function(r,n,i){var a=n.position;if(!a||a instanceof Array)return Es(r,n,i);var o=A(a),s=n.distance!=null?n.distance:5,l=this.shape,u=l.cx,f=l.cy,c=l.r,h=l.r0,v=(c+h)/2,d=l.startAngle,g=l.endAngle,p=(d+g)/2,B=t?Math.abs(c-h)/2:0,m=Math.cos,y=Math.sin,_=u+c*m(d),C=f+c*y(d),Q="left",x="top";switch(o){case"startArc":_=u+(h-s)*m(p),C=f+(h-s)*y(p),Q="center",x="top";break;case"insideStartArc":_=u+(h+s)*m(p),C=f+(h+s)*y(p),Q="center",x="bottom";break;case"startAngle":_=u+v*m(d)+du(d,s+B,!1),C=f+v*y(d)+pu(d,s+B,!1),Q="right",x="middle";break;case"insideStartAngle":_=u+v*m(d)+du(d,-s+B,!1),C=f+v*y(d)+pu(d,-s+B,!1),Q="left",x="middle";break;case"middle":_=u+v*m(p),C=f+v*y(p),Q="center",x="middle";break;case"endArc":_=u+(c+s)*m(p),C=f+(c+s)*y(p),Q="center",x="bottom";break;case"insideEndArc":_=u+(c-s)*m(p),C=f+(c-s)*y(p),Q="center",x="top";break;case"endAngle":_=u+v*m(g)+du(g,s+B,!0),C=f+v*y(g)+pu(g,s+B,!0),Q="left",x="middle";break;case"insideEndAngle":_=u+v*m(g)+du(g,-s+B,!0),C=f+v*y(g)+pu(g,-s+B,!0),Q="right",x="middle";break;default:return Es(r,n,i)}return r=r||{},r.x=_,r.y=C,r.align=Q,r.verticalAlign=x,r}}function qL(A,e,t,r){if(Ye(r)){A.setTextConfig({rotation:r});return}else if(ae(e)){A.setTextConfig({rotation:0});return}var n=A.shape,i=n.clockwise?n.startAngle:n.endAngle,a=n.clockwise?n.endAngle:n.startAngle,o=(i+a)/2,s,l=t(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":s=o;break;case"startAngle":case"insideStartAngle":s=i;break;case"endAngle":case"insideEndAngle":s=a;break;default:A.setTextConfig({rotation:0});return}var u=Math.PI*1.5-s;l==="middle"&&u>Math.PI/2&&u<Math.PI*1.5&&(u-=Math.PI),A.setTextConfig({rotation:u})}function du(A,e,t){return e*Math.sin(A)*(t?-1:1)}function pu(A,e,t){return e*Math.cos(A)*(t?1:-1)}function $L(A,e,t){var r=A.get("borderRadius");if(r==null)return{cornerRadius:0};ae(r)||(r=[r,r,r,r]);var n=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Be(r,function(i){return Fr(i,n)})}}var td=Math.max,Ad=Math.min;function jL(A,e){var t=A.getArea&&A.getArea();if($v(A,"cartesian2d")){var r=A.getBaseAxis();if(r.type!=="category"||!r.onBand){var n=e.getLayout("bandWidth");r.isHorizontal()?(t.x-=n,t.width+=n*2):(t.y-=n,t.height+=n*2)}}return t}var eM=(function(A){J(e,A);function e(){var t=A.call(this)||this;return t.type=e.type,t._isFirstFrame=!0,t}return e.prototype.render=function(t,r,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var a=t.get("coordinateSystem");a==="cartesian2d"||a==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,r,n):this._renderNormal(t,r,n,i)):process.env.NODE_ENV!=="production"&&xt("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,r){this._progressiveEls=[],this._incrementalRenderLarge(t,r)},e.prototype.eachRendered=function(t){cl(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var r=t.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(t,r,n,i){var a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f;l.type==="cartesian2d"?f=u.isHorizontal():l.type==="polar"&&(f=u.dim==="angle");var c=t.isAnimationEnabled()?t:null,h=tM(t,l);h&&this._enableRealtimeSort(h,o,n);var v=t.get("clip",!0)||h,d=jL(l,o);a.removeClipPath();var g=t.get("roundCap",!0),p=t.get("showBackground",!0),B=t.getModel("backgroundStyle"),m=B.get("borderRadius")||0,y=[],_=this._backgroundEls,C=i&&i.isInitSort,Q=i&&i.type==="changeAxisOrder";function x(E){var I=gu[l.type](o,E);if(!I)return null;var U=sM(l,f,I);return U.useStyle(B.getItemStyle()),l.type==="cartesian2d"?U.setShape("r",m):U.setShape("cornerRadius",m),y[E]=U,U}o.diff(s).add(function(E){var I=o.getItemModel(E),U=gu[l.type](o,E,I);if(U&&(p&&x(E),!(!o.hasValue(E)||!fC[l.type](U)))){var T=!1;v&&(T=oC[l.type](d,U));var L=sC[l.type](t,o,E,U,f,c,u.model,!1,g);h&&(L.forceLabelAnimation=!0),hC(L,o,E,I,U,t,f,l.type==="polar"),C?L.attr({shape:U}):h?lC(h,c,L,U,E,f,!1,!1):lA(L,{shape:U},t,E),o.setItemGraphicEl(E,L),a.add(L),L.ignore=T}}).update(function(E,I){var U=o.getItemModel(E),T=gu[l.type](o,E,U);if(T){if(p){var L=void 0;_.length===0?L=x(I):(L=_[I],L.useStyle(B.getItemStyle()),l.type==="cartesian2d"?L.setShape("r",m):L.setShape("cornerRadius",m),y[E]=L);var P=gu[l.type](o,E),Z=gC(f,P,l);Et(L,{shape:Z},c,E)}var V=s.getItemGraphicEl(I);if(!o.hasValue(E)||!fC[l.type](T)){a.remove(V);return}var X=!1;v&&(X=oC[l.type](d,T),X&&a.remove(V));var ee=V&&(V.type==="sector"&&g||V.type==="sausage"&&!g);if(ee&&(V&&ll(V,t,I),V=null),V?hB(V):V=sC[l.type](t,o,E,T,f,c,u.model,!0,g),h&&(V.forceLabelAnimation=!0),Q){var te=V.getTextContent();if(te){var D=Li(te);D.prevValue!=null&&(D.prevValue=D.value)}}else hC(V,o,E,U,T,t,f,l.type==="polar");C?V.attr({shape:T}):h?lC(h,c,V,T,E,f,!0,Q):Et(V,{shape:T},t,E,null),o.setItemGraphicEl(E,V),V.ignore=X,a.add(V)}}).remove(function(E){var I=s.getItemGraphicEl(E);I&&ll(I,t,E)}).execute();var F=this._backgroundGroup||(this._backgroundGroup=new lt);F.removeAll();for(var S=0;S<y.length;++S)F.add(y[S]);a.add(F),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,r,n){this._clear(),dC(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,r){this._removeBackground(),dC(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var r=t.get("clip",!0)&&DL(t.coordinateSystem,!1,t),n=this.group;r?n.setClipPath(r):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,r,n){var i=this;if(r.count()){var a=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,t,n),this._isFirstFrame=!1;else{var o=function(s){var l=r.getItemGraphicEl(s),u=l&&l.shape;return u&&Math.abs(a.isHorizontal()?u.height:u.width)||0};this._onRendered=function(){i._updateSortWithinSameData(r,o,a,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,r,n){var i=[];return t.each(t.mapDimension(r.dim),function(a,o){var s=n(o);s=s??NaN,i.push({dataIndex:o,mappedValue:s,ordinalNumber:a})}),i.sort(function(a,o){return o.mappedValue-a.mappedValue}),{ordinalNumbers:Be(i,function(a){return a.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,r,n){for(var i=n.scale,a=t.mapDimension(n.dim),o=Number.MAX_VALUE,s=0,l=i.getOrdinalMeta().categories.length;s<l;++s){var u=t.rawIndexOf(a,i.getRawOrdinalNumber(s)),f=u<0?Number.MIN_VALUE:r(t.indexOfRawIndex(u));if(f>o)return!0;o=f}return!1},e.prototype._isOrderDifferentInView=function(t,r){for(var n=r.scale,i=n.getExtent(),a=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);a<=o;++a)if(t.ordinalNumbers[a]!==n.getRawOrdinalNumber(a))return!0},e.prototype._updateSortWithinSameData=function(t,r,n,i){if(this._isOrderChangedWithinSameData(t,r,n)){var a=this._dataSort(t,n,r);this._isOrderDifferentInView(a,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:a}))}},e.prototype._dispatchInitSort=function(t,r,n){var i=r.baseAxis,a=this._dataSort(t,i,function(o){return t.get(t.mapDimension(r.otherAxis.dim),o)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:a})},e.prototype.remove=function(t,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(t,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var r=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){ll(i,t,Le(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e})(EA),oC={cartesian2d:function(A,e){var t=e.width<0?-1:1,r=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var n=A.x+A.width,i=A.y+A.height,a=td(e.x,A.x),o=Ad(e.x+e.width,n),s=td(e.y,A.y),l=Ad(e.y+e.height,i),u=o<a,f=l<s;return e.x=u&&a>n?o:a,e.y=f&&s>i?l:s,e.width=u?0:o-a,e.height=f?0:l-s,t<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),u||f},polar:function(A,e){var t=e.r0<=e.r?1:-1;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}var n=Ad(e.r,A.r),i=td(e.r0,A.r0);e.r=n,e.r0=i;var a=n-i<0;if(t<0){var r=e.r;e.r=e.r0,e.r0=r}return a}},sC={cartesian2d:function(A,e,t,r,n,i,a,o,s){var l=new qe({shape:Y({},r),z2:1});if(l.__dataIndex=t,l.name="item",i){var u=l.shape,f=n?"height":"width";u[f]=0}return l},polar:function(A,e,t,r,n,i,a,o,s){var l=!n&&s?aC:Ii,u=new l({shape:r,z2:1});u.name="item";var f=cC(n);if(u.calculateTextPosition=JL(f,{isRoundCap:l===aC}),i){var c=u.shape,h=n?"r":"endAngle",v={};c[h]=n?r.r0:r.startAngle,v[h]=r[h],(o?Et:lA)(u,{shape:v},i)}return u}};function tM(A,e){var t=A.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&t&&(r.type!=="category"&&xt("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&xt("`realtimeSort` will not work because this bar series is not on cartesian2d.")),t&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function lC(A,e,t,r,n,i,a,o){var s,l;i?(l={x:r.x,width:r.width},s={y:r.y,height:r.height}):(l={y:r.y,height:r.height},s={x:r.x,width:r.width}),o||(a?Et:lA)(t,{shape:s},e,n,null);var u=e?A.baseAxis.model:null;(a?Et:lA)(t,{shape:l},u,n)}function uC(A,e){for(var t=0;t<e.length;t++)if(!isFinite(A[e[t]]))return!0;return!1}var AM=["x","y","width","height"],rM=["cx","cy","r","startAngle","endAngle"],fC={cartesian2d:function(A){return!uC(A,AM)},polar:function(A){return!uC(A,rM)}},gu={cartesian2d:function(A,e,t){var r=A.getItemLayout(e);if(!r)return null;var n=t?iM(t,r):0,i=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+i*n/2,y:r.y+a*n/2,width:r.width-i*n,height:r.height-a*n}},polar:function(A,e,t){var r=A.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function nM(A){return A.startAngle!=null&&A.endAngle!=null&&A.startAngle===A.endAngle}function cC(A){return(function(e){var t=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+t;default:return r}}})(A)}function hC(A,e,t,r,n,i,a,o){var s=e.getItemVisual(t,"style");if(o){if(!i.get("roundCap")){var u=A.shape,f=$L(r.getModel("itemStyle"),u);Y(u,f),A.setShape(u)}}else{var l=r.get(["itemStyle","borderRadius"])||0;A.setShape("r",l)}A.useStyle(s);var c=r.getShallow("cursor");c&&A.attr("cursor",c);var h=o?a?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":a?n.height>=0?"bottom":"top":n.width>=0?"right":"left",v=pl(r);dl(A,v,{labelFetcher:i,labelDataIndex:t,defaultText:Xv(i.getData(),t),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var d=A.getTextContent();if(o&&d){var g=r.get(["label","position"]);A.textConfig.inside=g==="middle"?!0:null,qL(A,g==="outside"?h:g,cC(a),r.get(["label","rotate"]))}fS(d,v,i.getRawValue(t),function(B){return zw(e,B)});var p=r.getModel(["emphasis"]);$s(A,p.get("focus"),p.get("blurScope"),p.get("disabled")),nh(A,r),nM(n)&&(A.style.fill="none",A.style.stroke="none",b(A.states,function(B){B.style&&(B.style.fill=B.style.stroke="none")}))}function iM(A,e){var t=A.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var r=A.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,n,i)}var aM=(function(){function A(){}return A})(),vC=(function(A){J(e,A);function e(t){var r=A.call(this,t)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new aM},e.prototype.buildPath=function(t,r){for(var n=r.points,i=this.baseDimIdx,a=1-this.baseDimIdx,o=[],s=[],l=this.barWidth,u=0;u<n.length;u+=3)s[i]=l,s[a]=n[u+2],o[i]=n[u+i],o[a]=n[u+a],t.rect(o[0],o[1],s[0],s[1])},e})(ke);function dC(A,e,t,r){var n=A.getData(),i=n.getLayout("valueAxisHorizontal")?1:0,a=n.getLayout("largeDataIndices"),o=n.getLayout("size"),s=A.getModel("backgroundStyle"),l=n.getLayout("largeBackgroundPoints");if(l){var u=new vC({shape:{points:l},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=i,u.largeDataIndices=a,u.barWidth=o,u.useStyle(s.getItemStyle()),e.add(u),t&&t.push(u)}var f=new vC({shape:{points:n.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=a,f.barWidth=o,e.add(f),f.useStyle(n.getVisual("style")),f.style.stroke=null,Le(f).seriesIndex=A.seriesIndex,A.get("silent")||(f.on("mousedown",pC),f.on("mousemove",pC)),t&&t.push(f)}var pC=iv(function(A){var e=this,t=oM(e,A.offsetX,A.offsetY);Le(e).dataIndex=t>=0?t:null},30,!1);function oM(A,e,t){for(var r=A.baseDimIdx,n=1-r,i=A.shape.points,a=A.largeDataIndices,o=[],s=[],l=A.barWidth,u=0,f=i.length/3;u<f;u++){var c=u*3;if(s[r]=l,s[n]=i[c+2],o[r]=i[c+r],o[n]=i[c+n],s[n]<0&&(o[n]+=s[n],s[n]=-s[n]),e>=o[0]&&e<=o[0]+s[0]&&t>=o[1]&&t<=o[1]+s[1])return a[u]}return-1}function gC(A,e,t){if($v(t,"cartesian2d")){var r=e,n=t.getArea();return{x:A?r.x:n.x,y:A?n.y:r.y,width:A?r.width:n.width,height:A?n.height:r.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:A?n.r0:i.r0,r:A?n.r:i.r,startAngle:A?i.startAngle:0,endAngle:A?i.endAngle:Math.PI*2}}}function sM(A,e,t){var r=A.type==="polar"?Ii:qe;return new r({shape:gC(e,t,A),silent:!0,z2:0})}function lM(A){A.registerChartView(eM),A.registerSeriesModel(XL),A.registerLayout(A.PRIORITY.VISUAL.LAYOUT,nt(CD,"bar")),A.registerLayout(A.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,_D("bar")),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,iC("bar")),A.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var BC={left:0,right:0,top:0,bottom:0},Bu=["25%","25%"],uM=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.mergeDefaultAndTheme=function(t,r){var n=Ri(t.outerBounds);A.prototype.mergeDefaultAndTheme.apply(this,arguments),n&&t.outerBounds&&Mr(t.outerBounds,n)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&t.outerBounds&&Mr(this.option.outerBounds,t.outerBounds)},e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:BC,outerBoundsContain:"all",outerBoundsClampWidth:Bu[0],outerBoundsClampHeight:Bu[1],backgroundColor:oe.color.transparent,borderWidth:1,borderColor:oe.color.neutral30},e})(Re),rd=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Mt).models[0]},e.type="cartesian2dAxis",e})(Re);DA(rd,KD);var mC={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:oe.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:oe.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:oe.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[oe.color.backgroundTint,oe.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:oe.color.neutral00,borderColor:oe.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},fM=Oe({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},mC),nd=Oe({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:oe.color.axisMinorSplitLine,width:1}}},mC),cM=Oe({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},nd),hM=Ne({logBase:10},nd);const vM={category:fM,value:nd,time:cM,log:hM};var dM={value:1,category:1,time:1,log:1},pM=null;function gM(){return pM}function yC(A,e,t,r){b(dM,function(n,i){var a=Oe(Oe({},vM[i],!0),r,!0),o=(function(s){J(l,s);function l(){var u=s!==null&&s.apply(this,arguments)||this;return u.type=e+"Axis."+i,u}return l.prototype.mergeDefaultAndTheme=function(u,f){var c=Xa(this),h=c?Ri(u):{},v=f.getTheme();Oe(u,v.get(i+"Axis")),Oe(u,this.getDefaultOption()),u.type=wC(u),c&&Mr(u,h,c)},l.prototype.optionUpdated=function(){var u=this.option;u.type==="category"&&(this.__ordinalMeta=Mv.createByAxisModel(this))},l.prototype.getCategories=function(u){var f=this.option;if(f.type==="category")return u?f.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.prototype.updateAxisBreaks=function(u){return{breaks:[]}},l.type=e+"Axis."+i,l.defaultOption=a,l})(t);A.registerComponentModel(o)}),A.registerSubTypeDefaulter(e+"Axis",wC)}function wC(A){return A.type||(A.data?"category":"value")}var BM=(function(){function A(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return A.prototype.getAxis=function(e){return this._axes[e]},A.prototype.getAxes=function(){return Be(this._dimList,function(e){return this._axes[e]},this)},A.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),rt(this.getAxes(),function(t){return t.scale.type===e})},A.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},A})(),id=["x","y"];function CC(A){return(A.type==="interval"||A.type==="time")&&!A.hasBreaks()}var mM=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=id,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!CC(t)||!CC(r))){var n=t.getExtent(),i=r.getExtent(),a=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),s=n[1]-n[0],l=i[1]-i[0];if(!(!s||!l)){var u=(o[0]-a[0])/s,f=(o[1]-a[1])/l,c=a[0]-n[0]*u,h=a[1]-i[0]*f,v=this._transform=[u,0,0,f,c,h];this._invTransform=hi([],v)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var r=this.getAxis("x"),n=this.getAxis("y");return r.contain(r.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,r){var n=this.dataToPoint(t),i=this.dataToPoint(r),a=this.getArea(),o=new Fe(n[0],n[1],i[0]-n[0],i[1]-n[1]);return a.intersect(o)},e.prototype.dataToPoint=function(t,r,n){n=n||[];var i=t[0],a=t[1];if(this._transform&&i!=null&&isFinite(i)&&a!=null&&isFinite(a))return tA(n,t,this._transform);var o=this.getAxis("x"),s=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,r)),n[1]=s.toGlobalCoord(s.dataToCoord(a,r)),n},e.prototype.clampData=function(t,r){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,a=n.getExtent(),o=i.getExtent(),s=n.parse(t[0]),l=i.parse(t[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),r},e.prototype.pointToData=function(t,r,n){if(n=n||[],this._invTransform)return tA(n,t,this._invTransform);var i=this.getAxis("x"),a=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),r),n[1]=a.coordToData(a.toLocalCoord(t[1]),r),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-t,a=Math.min(n[0],n[1])-t,o=Math.max(r[0],r[1])-i+t,s=Math.max(n[0],n[1])-a+t;return new Fe(i,a,o,s)},e})(BM),yM=(function(A){J(e,A);function e(t,r,n,i,a){var o=A.call(this,t,r,n)||this;return o.index=0,o.type=i||"value",o.position=a||"bottom",o}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),t&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(t,r){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e})(rL),wM="expandAxisBreak",zr=Math.PI,CM=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],_M=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],mo=ze(),_C=ze(),QC=(function(){function A(e){this.recordMap={},this.resolveAxisNameOverlap=e}return A.prototype.ensureRecord=function(e){var t=e.axis.dim,r=e.componentIndex,n=this.recordMap,i=n[t]||(n[t]=[]);return i[r]||(i[r]={ready:{}})},A})();function QM(A,e,t,r){var n=t.axis,i=e.ensureRecord(t),a=[],o,s=od(A.axisName)&&qi(A.nameLocation);b(r,function(v){var d=kr(v);if(!(!d||d.label.ignore)){a.push(d);var g=i.transGroup;s&&(g.transform?hi(yo,g.transform):Kf(yo),d.transform&&pa(yo,yo,d.transform),Fe.copy(mu,d.localRect),mu.applyTransform(yo),o?o.union(mu):Fe.copy(o=new Fe(0,0,0,0),mu))}});var l=Math.abs(i.dirVec.x)>.1?"x":"y",u=i.transGroup[l];if(a.sort(function(v,d){return Math.abs(v.label[l]-u)-Math.abs(d.label[l]-u)}),s&&o){var f=n.getExtent(),c=Math.min(f[0],f[1]),h=Math.max(f[0],f[1])-c;o.union(new Fe(c,0,h,1))}i.stOccupiedRect=o,i.labelInfoList=a}var yo=nr(),mu=new Fe(0,0,0,0),xC=function(A,e,t,r,n,i){if(qi(A.nameLocation)){var a=i.stOccupiedRect;a&&FC(pL({},a,i.transGroup.transform),r,n)}else EC(i.labelInfoList,i.dirVec,r,n)};function FC(A,e,t){var r=new be;zv(A,e,r,{direction:Math.atan2(t.y,t.x),bidirectional:!1,touchThreshold:.05})&&gL(e,r)}function EC(A,e,t,r){for(var n=be.dot(r,e)>=0,i=0,a=A.length;i<a;i++){var o=A[n?i:a-1-i];o.label.ignore||FC(o,t,r)}}var Wr=(function(){function A(e,t,r,n){this.group=new lt,this._axisModel=e,this._api=t,this._local={},this._shared=n||new QC(xC),this._resetCfgDetermined(r)}return A.prototype.updateCfg=function(e){if(process.env.NODE_ENV!=="production"){var t=this._shared.ensureRecord(this._axisModel).ready;fe(!t.axisLine&&!t.axisTickLabelDetermine),t.axisName=t.axisTickLabelEstimate=!1}var r=this._cfg.raw;r.position=e.position,r.labelOffset=e.labelOffset,this._resetCfgDetermined(r)},A.prototype.__getRawCfg=function(){return this._cfg.raw},A.prototype._resetCfgDetermined=function(e){var t=this._axisModel,r=t.getDefaultOption?t.getDefaultOption():{},n=ve(e.axisName,t.get("name")),i=t.get("nameMoveOverlap");(i==null||i==="auto")&&(i=ve(e.defaultNameMoveOverlap,!0));var a={raw:e,position:e.position,rotation:e.rotation,nameDirection:ve(e.nameDirection,1),tickDirection:ve(e.tickDirection,1),labelDirection:ve(e.labelDirection,1),labelOffset:ve(e.labelOffset,0),silent:ve(e.silent,!0),axisName:n,nameLocation:Cr(t.get("nameLocation"),r.nameLocation,"end"),shouldNameMoveOverlap:od(n)&&i,optionHideOverlap:t.get(["axisLabel","hideOverlap"]),showMinorTicks:t.get(["minorTick","show"])};process.env.NODE_ENV!=="production"&&(fe(a.position!=null),fe(a.rotation!=null)),this._cfg=a;var o=new lt({x:a.position[0],y:a.position[1],rotation:a.rotation});o.updateTransform(),this._transformGroup=o;var s=this._shared.ensureRecord(t);s.transGroup=this._transformGroup,s.dirVec=new be(Math.cos(-a.rotation),Math.sin(-a.rotation))},A.prototype.build=function(e,t){var r=this;return e||(e={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),b(xM,function(n){e[n]&&FM[n](r._cfg,r._local,r._shared,r._axisModel,r.group,r._transformGroup,r._api,t||{})}),this},A.innerTextLayout=function(e,t,r){var n=Pg(t-e),i,a;return Us(n)?(a=r>0?"top":"bottom",i="center"):Us(n-zr)?(a=r>0?"bottom":"top",i="center"):(a="middle",n>0&&n<zr?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:a}},A.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},A.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},A})(),xM=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],FM={axisLine:function(A,e,t,r,n,i,a){if(process.env.NODE_ENV!=="production"){var o=t.ensureRecord(r).ready;fe(!o.axisLine),o.axisLine=!0}var s=r.get(["axisLine","show"]);if(s==="auto"&&(s=!0,A.raw.axisLineAutoShow!=null&&(s=!!A.raw.axisLineAutoShow)),!!s){var l=r.axis.getExtent(),u=i.transform,f=[l[0],0],c=[l[1],0],h=f[0]>c[0];u&&(tA(f,f,u),tA(c,c,u));var v=Y({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:A.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(r.get(["axisLine","breakLine"])&&r.axis.scale.hasBreaks())gM().buildAxisBreakLine(r,n,i,d);else{var g=new Tr(Y({shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]}},d));ka(g.shape,g.style.lineWidth),g.anid="line",n.add(g)}var p=r.get(["axisLine","symbol"]);if(p!=null){var B=r.get(["axisLine","symbolSize"]);le(p)&&(p=[p,p]),(le(B)||Ye(B))&&(B=[B,B]);var m=sy(r.get(["axisLine","symbolOffset"])||0,B),y=B[0],_=B[1];b([{rotate:A.rotation+Math.PI/2,offset:m[0],r:0},{rotate:A.rotation-Math.PI/2,offset:m[1],r:Math.sqrt((f[0]-c[0])*(f[0]-c[0])+(f[1]-c[1])*(f[1]-c[1]))}],function(C,Q){if(p[Q]!=="none"&&p[Q]!=null){var x=Or(p[Q],-y/2,-_/2,y,_,v.stroke,!0),F=C.r+C.offset,S=h?c:f;x.attr({rotation:C.rotate,x:S[0]+F*Math.cos(A.rotation),y:S[1]-F*Math.sin(A.rotation),silent:!0,z2:11}),n.add(x)}})}}},axisTickLabelEstimate:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;fe(!s.axisTickLabelDetermine),s.axisTickLabelEstimate=!0}var l=UC(e,n,o);l&&bC(A,e,t,r,n,i,a,SA.estimate)},axisTickLabelDetermine:function(A,e,t,r,n,i,a,o){if(process.env.NODE_ENV!=="production"){var s=t.ensureRecord(r).ready;s.axisTickLabelDetermine=!0}var l=UC(e,n,o);l&&bC(A,e,t,r,n,i,a,SA.determine);var u=UM(A,n,i,r);SM(A,e.labelLayoutList,u),IM(A,n,i,r,A.tickDirection)},axisName:function(A,e,t,r,n,i,a,o){var s=t.ensureRecord(r);if(process.env.NODE_ENV!=="production"){var l=s.ready;fe(l.axisTickLabelEstimate||l.axisTickLabelDetermine),l.axisName=!0}e.nameEl&&(n.remove(e.nameEl),e.nameEl=s.nameLayout=s.nameLocation=null);var u=A.axisName;if(od(u)){var f=A.nameLocation,c=A.nameDirection,h=r.getModel("nameTextStyle"),v=r.get("nameGap")||0,d=r.axis.getExtent(),g=r.axis.inverse?-1:1,p=new be(0,0),B=new be(0,0);f==="start"?(p.x=d[0]-g*v,B.x=-g):f==="end"?(p.x=d[1]+g*v,B.x=g):(p.x=(d[0]+d[1])/2,p.y=A.labelOffset+c*v,B.y=c);var m=nr();B.transform(zf(m,m,A.rotation));var y=r.get("nameRotate");y!=null&&(y=y*zr/180);var _,C;qi(f)?_=Wr.innerTextLayout(A.rotation,y??A.rotation,c):(_=EM(A.rotation,f,y||0,d),C=A.raw.axisNameAvailableWidth,C!=null&&(C=Math.abs(C/Math.sin(_.rotation)),!isFinite(C)&&(C=null)));var Q=h.getFont(),x=r.get("nameTruncate",!0)||{},F=x.ellipsis,S=ai(A.raw.nameTruncateMaxWidth,x.maxWidth,C),E=o.nameMarginLevel||0,I=new Ot({x:p.x,y:p.y,rotation:_.rotation,silent:Wr.isLabelSilent(r),style:In(h,{text:u,font:Q,overflow:"truncate",width:S,ellipsis:F,fill:h.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:h.get("align")||_.textAlign,verticalAlign:h.get("verticalAlign")||_.textVerticalAlign}),z2:1});if(fl({el:I,componentModel:r,itemName:u}),I.__fullText=u,I.anid="name",r.get("triggerEvent")){var U=Wr.makeAxisEventDataBase(r);U.targetType="axisName",U.name=u,Le(I).eventData=U}i.add(I),I.updateTransform(),e.nameEl=I;var T=s.nameLayout=kr({label:I,priority:I.z2,defaultAttr:{ignore:I.ignore},marginDefault:qi(f)?CM[E]:_M[E]});if(s.nameLocation=f,n.add(I),I.decomposeTransform(),A.shouldNameMoveOverlap&&T){var L=t.ensureRecord(r);process.env.NODE_ENV!=="production"&&fe(L.labelInfoList),t.resolveAxisNameOverlap(A,t,r,T,B,L)}}}};function bC(A,e,t,r,n,i,a,o){IC(e)||TM(A,e,n,o,r,a);var s=e.labelLayoutList;DM(A,r,s,i),A.rotation;var l=A.optionHideOverlap;bM(r,s,l),l&&Kw(rt(s,function(u){return u&&!u.label.ignore})),QM(A,t,r,s)}function EM(A,e,t,r){var n=Pg(t-A),i,a,o=r[0]>r[1],s=e==="start"&&!o||e!=="start"&&o;return Us(n-zr/2)?(a=s?"bottom":"top",i="center"):Us(n-zr*1.5)?(a=s?"top":"bottom",i="center"):(a="middle",n<zr*1.5&&n>zr/2?i=s?"left":"right":i=s?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:a}}function bM(A,e,t){if(Cw(A.axis))return;function r(o,s,l){var u=kr(e[s]),f=kr(e[l]);if(!(!u||!f)){if(o===!1||u.suggestIgnore){wo(u.label);return}if(f.suggestIgnore){wo(f.label);return}var c=.1;if(!t){var h=[0,0,0,0];u=Gv({marginForce:h},u),f=Gv({marginForce:h},f)}zv(u,f,null,{touchThreshold:c})&&wo(o?f.label:u.label)}}var n=A.get(["axisLabel","showMinLabel"]),i=A.get(["axisLabel","showMaxLabel"]),a=e.length;r(n,0,1),r(i,a-1,a-2)}function SM(A,e,t){A.showMinorTicks||b(e,function(r){if(r&&r.label.ignore)for(var n=0;n<t.length;n++){var i=t[n],a=_C(i),o=mo(r.label);if(a.tickValue!=null&&!a.onBand&&a.tickValue===o.tickValue){wo(i);return}}})}function wo(A){A&&(A.ignore=!0)}function SC(A,e,t,r,n){for(var i=[],a=[],o=[],s=0;s<A.length;s++){var l=A[s].coord;a[0]=l,a[1]=0,o[0]=l,o[1]=t,e&&(tA(a,a,e),tA(o,o,e));var u=new Tr({shape:{x1:a[0],y1:a[1],x2:o[0],y2:o[1]},style:r,z2:2,autoBatch:!0,silent:!0});ka(u.shape,u.style.lineWidth),u.anid=n+"_"+A[s].tickValue,i.push(u);var f=_C(u);f.onBand=!!A[s].onBand,f.tickValue=A[s].tickValue}return i}function UM(A,e,t,r){var n=r.axis,i=r.getModel("axisTick"),a=i.get("show");if(a==="auto"&&(a=!0,A.raw.axisTickAutoShow!=null&&(a=!!A.raw.axisTickAutoShow)),!a||n.scale.isBlank())return[];for(var o=i.getModel("lineStyle"),s=A.tickDirection*i.get("length"),l=n.getTicksCoords(),u=SC(l,t.transform,s,Ne(o.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<u.length;f++)e.add(u[f]);return u}function IM(A,e,t,r,n){var i=r.axis,a=r.getModel("minorTick");if(!(!A.showMinorTicks||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=n*a.get("length"),u=Ne(s.getLineStyle(),Ne(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),f=0;f<o.length;f++)for(var c=SC(o[f],t.transform,l,u,"minorticks_"+f),h=0;h<c.length;h++)e.add(c[h])}}function UC(A,e,t){if(IC(A)){var r=A.axisLabelsCreationContext;process.env.NODE_ENV!=="production"&&fe(A.labelGroup&&r);var n=r.out.noPxChangeTryDetermine;if(t.noPxChange){for(var i=!0,a=0;a<n.length;a++)i=i&&n[a]();if(i)return!1}n.length&&(e.remove(A.labelGroup),ad(A,null,null,null))}return!0}function TM(A,e,t,r,n,i){var a=n.axis,o=ai(A.raw.axisLabelShow,n.get(["axisLabel","show"])),s=new lt;t.add(s);var l=uu(r);if(!o||a.scale.isBlank()){ad(e,[],s,l);return}var u=n.getModel("axisLabel"),f=a.getViewLabels(l),c=(ai(A.raw.labelRotate,u.get("rotate"))||0)*zr/180,h=Wr.innerTextLayout(A.rotation,c,A.labelDirection),v=n.getCategories&&n.getCategories(!0),d=[],g=n.get("triggerEvent"),p=1/0,B=-1/0;b(f,function(y,_){var C,Q=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(y.tickValue):y.tickValue,x=y.formattedLabel,F=y.rawLabel,S=u;if(v&&v[Q]){var E=v[Q];he(E)&&E.textStyle&&(S=new et(E.textStyle,u,n.ecModel))}var I=S.getTextColor()||n.get(["axisLine","lineStyle","color"]),U=S.getShallow("align",!0)||h.textAlign,T=ve(S.getShallow("alignMinLabel",!0),U),L=ve(S.getShallow("alignMaxLabel",!0),U),P=S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||h.textVerticalAlign,Z=ve(S.getShallow("verticalAlignMinLabel",!0),P),V=ve(S.getShallow("verticalAlignMaxLabel",!0),P),X=10+(((C=y.time)===null||C===void 0?void 0:C.level)||0);p=Math.min(p,X),B=Math.max(B,X);var ee=new Ot({x:0,y:0,rotation:0,silent:Wr.isLabelSilent(n),z2:X,style:In(S,{text:x,align:_===0?T:_===f.length-1?L:U,verticalAlign:_===0?Z:_===f.length-1?V:P,fill:me(I)?I(a.type==="category"?F:a.type==="value"?Q+"":Q,_):I})});ee.anid="label_"+Q;var te=mo(ee);if(te.break=y.break,te.tickValue=Q,te.layoutRotation=h.rotation,fl({el:ee,componentModel:n,itemName:x,formatterParamsExtra:{isTruncated:function(){return ee.isTruncated},value:F,tickIndex:_}}),g){var D=Wr.makeAxisEventDataBase(n);D.targetType="axisLabel",D.value=F,D.tickIndex=_,y.break&&(D.break={start:y.break.parsedBreak.vmin,end:y.break.parsedBreak.vmax}),a.type==="category"&&(D.dataIndex=Q),Le(ee).eventData=D,y.break&&MM(n,i,ee,y.break)}d.push(ee),s.add(ee)});var m=Be(d,function(y){return{label:y,priority:mo(y).break?y.z2+(B-p+1):y.z2,defaultAttr:{ignore:y.ignore}}});ad(e,m,s,l)}function IC(A){return!!A.labelLayoutList}function ad(A,e,t,r){A.labelLayoutList=e,A.labelGroup=t,A.axisLabelsCreationContext=r}function DM(A,e,t,r){var n=e.get(["axisLabel","margin"]);b(t,function(i,a){var o=kr(i);if(o){var s=o.label,l=mo(s);o.suggestIgnore=s.ignore,s.ignore=!1,yc(dr,LM),dr.x=e.axis.dataToCoord(l.tickValue),dr.y=A.labelOffset+A.labelDirection*n,dr.rotation=l.layoutRotation,r.add(dr),dr.updateTransform(),r.remove(dr),dr.decomposeTransform(),yc(s,dr),s.markRedraw(),cu(o,!0),kr(o)}})}var dr=new qe,LM=new qe;function od(A){return!!A}function MM(A,e,t,r){t.on("click",function(n){var i={type:wM,breaks:[{start:r.parsedBreak.breakOption.start,end:r.parsedBreak.breakOption.end}]};i[A.axis.dim+"AxisIndex"]=A.componentIndex,e.dispatchAction(i)})}function Lk(A,e,t){}function yu(A,e,t){t=t||{};var r=e.axis,n={},i=r.getAxesOnZeroOf()[0],a=r.position,o=i?"onZero":a,s=r.dim,l=[A.x,A.x+A.width,A.y,A.y+A.height],u={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,c=s==="x"?[l[2]-f,l[3]+f]:[l[0]-f,l[1]+f];if(i){var h=i.toGlobalCoord(i.dataToCoord(0));c[u.onZero]=Math.max(Math.min(h,c[1]),c[0])}n.position=[s==="y"?c[u[o]]:l[0],s==="x"?c[u[o]]:l[3]],n.rotation=Math.PI/2*(s==="x"?0:1);var v={top:-1,bottom:1,left:-1,right:1};n.labelDirection=n.tickDirection=n.nameDirection=v[a],n.labelOffset=i?c[u[a]]-c[u.onZero]:0,e.get(["axisTick","inside"])&&(n.tickDirection=-n.tickDirection),ai(t.labelInside,e.get(["axisLabel","inside"]))&&(n.labelDirection=-n.labelDirection);var d=e.get(["axisLabel","rotate"]);return n.labelRotate=o==="top"?-d:d,n.z2=1,n}function HM(A){return A.coordinateSystem&&A.coordinateSystem.type==="cartesian2d"}function TC(A){var e={xAxisModel:null,yAxisModel:null};return b(e,function(t,r){var n=r.replace(/Model$/,""),i=A.getReferringComponents(n,Mt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error(n+' "'+Cr(A.get(n+"Index"),A.get(n+"Id"),0)+'" not found');e[r]=i}),e}function OM(A,e,t,r,n,i){for(var a=yu(A,t),o=!1,s=!1,l=0;l<e.length;l++)Iv(e[l].getOtherAxis(t.axis).scale)&&(o=s=!0,t.axis.type==="category"&&t.axis.onBand&&(s=!1));return a.axisLineAutoShow=o,a.axisTickAutoShow=s,a.defaultNameMoveOverlap=i,new Wr(t,r,a,n)}function RM(A,e,t){var r=yu(e,t);if(process.env.NODE_ENV!=="production"){var n=A.__getRawCfg();b(Xe(r),function(i){i!=="position"&&i!=="labelOffset"&&fe(r[i]===n[i])})}A.updateCfg(r)}function NM(A,e,t){var r,n=Ji.prototype,i=n.getTicks.call(t),a=n.getTicks.call(t,{expandToNicedExtent:!0}),o=i.length-1,s=n.getInterval.call(t),l=yw(A,e),u=l.extent,f=l.fixMin,c=l.fixMax;A.type==="log"&&(u=Lv(A.base,u,!0)),A.setBreaksFromOption(Qw(e)),A.setExtent(u[0],u[1]),A.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:c});var h=n.getExtent.call(A);f&&(u[0]=h[0]),c&&(u[1]=h[1]);var v=n.getInterval.call(A),d=u[0],g=u[1];if(f&&c)v=(g-d)/o;else if(f)for(g=u[0]+v*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)v=Tv(v),g=u[0]+v*o;else if(c)for(d=u[1]-v*o;d>u[0]&&isFinite(d)&&isFinite(u[0]);)v=Tv(v),d=u[1]-v*o;else{var p=A.getTicks().length-1;p>o&&(v=Tv(v));var B=v*o;g=Math.ceil(u[1]/v)*v,d=wt(g-B),d<0&&u[0]>=0?(d=0,g=wt(B)):g>0&&u[1]<=0&&(g=0,d=-wt(B))}var m=(i[0].value-a[0].value)/s,y=(i[o].value-a[o].value)/s;if(n.setExtent.call(A,d+v*m,g+v*y),n.setInterval.call(A,v),(m||y)&&n.setNiceExtent.call(A,d+v,g-v),process.env.NODE_ENV!=="production"){var _=n.getTicks.call(A);_[1]&&(!fD(v)||Ec(_[1].value)>Ec(v))&&xt("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+(" and alignTicks: true. ("+((r=e.axis)===null||r===void 0?void 0:r.dim)+"AxisIndex: "+e.componentIndex+")"),!0)}}var DC=[[3,1],[0,2]],PM=(function(){function A(e,t,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=id,this._initCartesian(e,t,r),this.model=e}return A.prototype.getRect=function(){return this._rect},A.prototype.update=function(e,t){var r=this._axesMap;this._updateScale(e,this.model);function n(a){var o,s=Xe(a),l=s.length;if(l){for(var u=[],f=l-1;f>=0;f--){var c=+s[f],h=a[c],v=h.model,d=h.scale;Iv(d)&&v.get("alignTicks")&&v.get("interval")==null?u.push(h):(ww(d,v),Iv(d)&&(o=h))}u.length&&(o||(o=u.pop(),ww(o.scale,o.model)),b(u,function(g){NM(g.scale,g.model,o.scale)}))}}n(r.x),n(r.y);var i={};b(r.x,function(a){LC(r,"y",a,i)}),b(r.y,function(a){LC(r,"x",a,i)}),this.resize(this.model,t)},A.prototype.resize=function(e,t,r){var n=kh(e,t),i=this._rect=Oi(e.getBoxLayoutParams(),n.refContainer),a=this._axesMap,o=this._coordsList,s=e.get("containLabel");if(HC(a,i),!r){var l=VM(i,o,a,s,t),u=void 0;if(s)process.env.NODE_ENV!=="production"&&Yg("Specified `grid.containLabel` but no `use(LegacyGridContainLabel)`;use `grid.outerBounds` instead.",!0),u=RC(i.clone(),"axisLabel",null,i,a,l,n);else{var f=KM(e,i,n),c=f.outerBoundsRect,h=f.parsedOuterBoundsContain,v=f.outerBoundsClamp;c&&(u=RC(c,h,v,i,a,l,n))}NC(i,a,SA.determine,null,u,n)}b(this._coordsList,function(d){d.calcAffineTransform()})},A.prototype.getAxis=function(e,t){var r=this._axesMap[e];if(r!=null)return r[t||0]},A.prototype.getAxes=function(){return this._axesList.slice()},A.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var r="x"+e+"y"+t;return this._coordsMap[r]}he(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===e||i[n].getAxis("y").index===t)return i[n]},A.prototype.getCartesians=function(){return this._coordsList.slice()},A.prototype.convertToPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.dataToPoint(r):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(r)):null},A.prototype.convertFromPixel=function(e,t,r){var n=this._findConvertTarget(t);return n.cartesian?n.cartesian.pointToData(r):n.axis?n.axis.coordToData(n.axis.toLocalCoord(r)):null},A.prototype._findConvertTarget=function(e){var t=e.seriesModel,r=e.xAxisModel||t&&t.getReferringComponents("xAxis",Mt).models[0],n=e.yAxisModel||t&&t.getReferringComponents("yAxis",Mt).models[0],i=e.gridModel,a=this._coordsList,o,s;if(t)o=t.coordinateSystem,Te(a,o)<0&&(o=null);else if(r&&n)o=this.getCartesian(r.componentIndex,n.componentIndex);else if(r)s=this.getAxis("x",r.componentIndex);else if(n)s=this.getAxis("y",n.componentIndex);else if(i){var l=i.coordinateSystem;l===this&&(o=this._coordsList[0])}return{cartesian:o,axis:s}},A.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},A.prototype._initCartesian=function(e,t,r){var n=this,i=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}this._axesMap=o,b(o.x,function(u,f){b(o.y,function(c,h){var v="x"+f+"y"+h,d=new mM(v);d.master=n,d.model=e,n._coordsMap[v]=d,n._coordsList.push(d),d.addAxis(u),d.addAxis(c)})});function l(u){return function(f,c){if(sd(f,e)){var h=f.get("position");u==="x"?h!=="top"&&h!=="bottom"&&(h=a.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=a.left?"right":"left"),a[h]=!0;var v=new yM(u,PD(f),[0,0],f.get("type"),h),d=v.type==="category";v.onBand=d&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=c,i._axesList.push(v),o[u][c]=v,s[u]++}}}},A.prototype._updateScale=function(e,t){b(this._axesList,function(n){if(n.scale.setExtent(1/0,-1/0),n.type==="category"){var i=n.model.get("categorySortInfo");n.scale.setSortInfo(i)}}),e.eachSeries(function(n){if(HM(n)){var i=TC(n),a=i.xAxisModel,o=i.yAxisModel;if(!sd(a,t)||!sd(o,t))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=n.getData(),u=s.getAxis("x"),f=s.getAxis("y");r(l,u),r(l,f)}},this);function r(n,i){b(_w(n,i.dim),function(a){i.scale.unionExtentFromData(n,a)})}},A.prototype.getTooltipAxes=function(e){var t=[],r=[];return b(this.getCartesians(),function(n){var i=e!=null&&e!=="auto"?n.getAxis(e):n.getBaseAxis(),a=n.getOtherAxis(i);Te(t,i)<0&&t.push(i),Te(r,a)<0&&r.push(a)}),{baseAxes:t,otherAxes:r}},A.create=function(e,t){var r=[];return e.eachComponent("grid",function(n,i){var a=new A(n,e,t);a.name="grid_"+i,a.resize(n,t,!0),n.coordinateSystem=a,r.push(a)}),e.eachSeries(function(n){VS({targetModel:n,coordSysType:"cartesian2d",coordSysProvider:i});function i(){var a=TC(n),o=a.xAxisModel,s=a.yAxisModel,l=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!l)throw new Error('Grid "'+Cr(o.get("gridIndex"),o.get("gridId"),0)+'" not found');if(o.getCoordSysModel()!==s.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var u=l.coordinateSystem;return u.getCartesian(o.componentIndex,s.componentIndex)}}),r},A.dimensions=id,A})();function sd(A,e){return A.getCoordSysModel()===e}function LC(A,e,t,r){t.getAxesOnZeroOf=function(){return i?[i]:[]};var n=A[e],i,a=t.model,o=a.get(["axisLine","onZero"]),s=a.get(["axisLine","onZeroAxisIndex"]);if(!o)return;if(s!=null)MC(n[s])&&(i=n[s]);else for(var l in n)if(n.hasOwnProperty(l)&&MC(n[l])&&!r[u(n[l])]){i=n[l];break}i&&(r[u(i)]=!0);function u(f){return f.dim+"_"+f.index}}function MC(A){return A&&A.type!=="category"&&A.type!=="time"&&kD(A)}function kM(A,e){var t=A.getExtent(),r=t[0]+t[1];A.toGlobalCoord=A.dim==="x"?function(n){return n+e}:function(n){return r-n+e},A.toLocalCoord=A.dim==="x"?function(n){return n-e}:function(n){return r-n+e}}function HC(A,e){b(A.x,function(t){return OC(t,e.x,e.width)}),b(A.y,function(t){return OC(t,e.y,e.height)})}function OC(A,e,t){var r=[0,t],n=A.inverse?1:0;A.setExtent(r[n],r[1-n]),kM(A,e)}function RC(A,e,t,r,n,i,a){process.env.NODE_ENV!=="production"&&fe(e==="all"||e==="axisLabel"),NC(r,n,SA.estimate,e,!1,a);var o=[0,0,0,0];l(0),l(1),u(r,0,NaN),u(r,1,NaN);var s=nx(o,function(c){return c>0})==null;return ul(r,o,!0,!0,t),HC(n,r),s;function l(c){b(n[Dr[c]],function(h){if(vo(h.model)){var v=i.ensureRecord(h.model),d=v.labelInfoList;if(d)for(var g=0;g<d.length;g++){var p=d[g],B=h.scale.normalize(mo(p.label).tickValue);B=c===1?1-B:B,u(p.rect,c,B),u(p.rect,1-c,NaN)}var m=v.nameLayout;if(m){var B=qi(v.nameLocation)?.5:NaN;u(m.rect,c,B),u(m.rect,1-c,NaN)}}})}function u(c,h,v){var d=A[Dr[h]]-c[Dr[h]],g=c[Di[h]]+c[Dr[h]]-(A[Di[h]]+A[Dr[h]]);d=f(d,1-v),g=f(g,v);var p=DC[h][0],B=DC[h][1];o[p]=Jt(o[p],d),o[B]=Jt(o[B],g)}function f(c,h){return c>0&&!ii(h)&&h>1e-4&&(c/=h),c}}function VM(A,e,t,r,n){var i=new QC(GM);return b(t,function(a){return b(a,function(o){if(vo(o.model)){var s=!r;o.axisBuilder=OM(A,e,o.model,n,i,s)}})}),i}function NC(A,e,t,r,n,i){var a=t===SA.determine;b(e,function(l){return b(l,function(u){vo(u.model)&&(RM(u.axisBuilder,A,u.model),u.axisBuilder.build(a?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:n}))})});var o={x:0,y:0};s(0),s(1);function s(l){o[Dr[1-l]]=A[Di[l]]<=i.refContainer[Di[l]]*.5?0:1-l===1?2:1}b(e,function(l,u){return b(l,function(f){vo(f.model)&&((r==="all"||a)&&f.axisBuilder.build({axisName:!0},{nameMarginLevel:o[u]}),a&&f.axisBuilder.build({axisLine:!0}))})})}function KM(A,e,t){var r,n=A.get("outerBoundsMode",!0);n==="same"?r=e.clone():n==null||n==="auto"?r=Oi(A.get("outerBounds",!0)||BC,t.refContainer):n!=="none"&&process.env.NODE_ENV!=="production"&&Ge("Invalid grid["+A.componentIndex+"].outerBoundsMode.");var i=A.get("outerBoundsContain",!0),a;i==null||i==="auto"?a="all":Te(["all","axisLabel"],i)<0?(process.env.NODE_ENV!=="production"&&Ge("Invalid grid["+A.componentIndex+"].outerBoundsContain."),a="all"):a=i;var o=[Fc(ve(A.get("outerBoundsClampWidth",!0),Bu[0]),e.width),Fc(ve(A.get("outerBoundsClampHeight",!0),Bu[1]),e.height)];return{outerBoundsRect:r,parsedOuterBoundsContain:a,outerBoundsClamp:o}}var GM=function(A,e,t,r,n,i){var a=t.axis.dim==="x"?"y":"x";xC(A,e,t,r,n,i),qi(A.nameLocation)||b(e.recordMap[a],function(o){o&&o.labelInfoList&&o.dirVec&&EC(o.labelInfoList,o.dirVec,r,n)})};function zM(A,e){var t={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return WM(t,A,e),t.seriesInvolved&&XM(t,A),t}function WM(A,e,t){var r=e.getComponent("tooltip"),n=e.getComponent("axisPointer"),i=n.get("link",!0)||[],a=[];b(t.getCoordinateSystems(),function(o){if(!o.axisPointerEnabled)return;var s=Co(o.model),l=A.coordSysAxesInfo[s]={};A.coordSysMap[s]=o;var u=o.model,f=u.getModel("tooltip",r);if(b(o.getAxes(),nt(d,!1,null)),o.getTooltipAxes&&r&&f.get("show")){var c=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",v=o.getTooltipAxes(f.get(["axisPointer","axis"]));(c||h)&&b(v.baseAxes,nt(d,h?"cross":!0,c)),h&&b(v.otherAxes,nt(d,"cross",!1))}function d(g,p,B){var m=B.model.getModel("axisPointer",n),y=m.get("show");if(!(!y||y==="auto"&&!g&&!fd(m))){p==null&&(p=m.get("triggerTooltip")),m=g?YM(B,f,n,e,g,p):m;var _=m.get("snap"),C=m.get("triggerEmphasis"),Q=Co(B.model),x=p||_||B.type==="category",F=A.axesInfo[Q]={key:Q,axis:B,coordSys:o,axisPointerModel:m,triggerTooltip:p,triggerEmphasis:C,involveSeries:x,snap:_,useHandle:fd(m),seriesModels:[],linkGroup:null};l[Q]=F,A.seriesInvolved=A.seriesInvolved||x;var S=ZM(i,B);if(S!=null){var E=a[S]||(a[S]={axesInfo:{}});E.axesInfo[Q]=F,E.mapper=i[S].mapper,F.linkGroup=E}}}})}function YM(A,e,t,r,n,i){var a=e.getModel("axisPointer"),o=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};b(o,function(c){s[c]=Ue(a.get(c))}),s.snap=A.type!=="category"&&!!i,a.get("type")==="cross"&&(s.type="line");var l=s.label||(s.label={});if(l.show==null&&(l.show=!1),n==="cross"){var u=a.get(["label","show"]);if(l.show=u??!0,!i){var f=s.lineStyle=a.get("crossStyle");f&&Ne(l,f.textStyle)}}return A.model.getModel("axisPointer",new et(s,t,r))}function XM(A,e){e.eachSeries(function(t){var r=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);!r||!r.model||n==="none"||n===!1||n==="item"||i===!1||t.get(["axisPointer","show"],!0)===!1||b(A.coordSysAxesInfo[Co(r.model)],function(a){var o=a.axis;r.getAxis(o.dim)===o&&(a.seriesModels.push(t),a.seriesDataCount==null&&(a.seriesDataCount=0),a.seriesDataCount+=t.getData().count())})})}function ZM(A,e){for(var t=e.model,r=e.dim,n=0;n<A.length;n++){var i=A[n]||{};if(ld(i[r+"AxisId"],t.id)||ld(i[r+"AxisIndex"],t.componentIndex)||ld(i[r+"AxisName"],t.name))return n}}function ld(A,e){return A==="all"||ae(A)&&Te(A,e)>=0||A===e}function JM(A){var e=ud(A);if(e){var t=e.axisPointerModel,r=e.axis.scale,n=t.option,i=t.get("status"),a=t.get("value");a!=null&&(a=r.parse(a));var o=fd(t);i==null&&(n.status=o?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a<s[0]&&(a=s[0]),n.value=a,o&&(n.status=e.axis.scale.isBlank()?"hide":"show")}}function ud(A){var e=(A.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Co(A)]}function qM(A){var e=ud(A);return e&&e.axisPointerModel}function fd(A){return!!A.get(["handle","show"])}function Co(A){return A.type+"||"+A.id}var cd={},PC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.axisPointerClass&&JM(t),A.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,n,!0)},e.prototype.updateAxisPointer=function(t,r,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,r){var n=this._axisPointer;n&&n.remove(r)},e.prototype.dispose=function(t,r){this._disposeAxisPointer(r),A.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,r,n){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var a=qM(t);a?(this._axisPointer||(this._axisPointer=new i)).render(t,a,r,n):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,r){if(process.env.NODE_ENV!=="production"&&cd[t])throw new Error("axisPointer "+t+" exists");cd[t]=r},e.getAxisPointerClass=function(t){return t&&cd[t]},e.type="axis",e})(FA),hd=ze();function $M(A,e,t,r){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitArea"),a=i.getModel("areaStyle"),o=a.get("color"),s=r.coordinateSystem.getRect(),l=n.getTicksCoords({tickModel:i,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(l.length){var u=o.length,f=hd(A).splitAreaColors,c=we(),h=0;if(f)for(var v=0;v<l.length;v++){var d=f.get(l[v].tickValue);if(d!=null){h=(d+(u-1)*v)%u;break}}var g=n.toGlobalCoord(l[0].coord),p=a.getAreaStyle();o=ae(o)?o:[o];for(var v=1;v<l.length;v++){var B=n.toGlobalCoord(l[v].coord),m=void 0,y=void 0,_=void 0,C=void 0;n.isHorizontal()?(m=g,y=s.y,_=B-m,C=s.height,g=m+_):(m=s.x,y=g,_=s.width,C=B-y,g=y+C);var Q=l[v-1].tickValue;Q!=null&&c.set(Q,h),e.add(new qe({anid:Q!=null?"area_"+Q:null,shape:{x:m,y,width:_,height:C},style:Ne({fill:o[h]},p),autoBatch:!0,silent:!0})),h=(h+1)%u}hd(A).splitAreaColors=c}}}function jM(A){hd(A).splitAreaColors=null}var eH=["splitArea","splitLine","minorSplitLine","breakArea"],kC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="CartesianAxisPointer",t}return e.prototype.render=function(t,r,n,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new lt,this.group.add(this._axisGroup),!!vo(t)){this._axisGroup.add(t.axis.axisBuilder.group),b(eH,function(s){t.get([s,"show"])&&tH[s](this,this._axisGroup,t,t.getCoordSysModel(),n)},this);var o=i&&i.type==="changeAxisOrder"&&i.isInitSort;o||yB(a,this._axisGroup,t),A.prototype.render.call(this,t,r,n,i)}},e.prototype.remove=function(){jM(this)},e.type="cartesianAxis",e})(PC),tH={splitLine:function(A,e,t,r,n){var i=t.axis;if(!i.scale.isBlank()){var a=t.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color"),l=a.get("showMinLine")!==!1,u=a.get("showMaxLine")!==!1;s=ae(s)?s:[s];for(var f=r.coordinateSystem.getRect(),c=i.isHorizontal(),h=0,v=i.getTicksCoords({tickModel:a,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),d=[],g=[],p=o.getLineStyle(),B=0;B<v.length;B++){var m=i.toGlobalCoord(v[B].coord);if(!(B===0&&!l||B===v.length-1&&!u)){var y=v[B].tickValue;c?(d[0]=m,d[1]=f.y,g[0]=m,g[1]=f.y+f.height):(d[0]=f.x,d[1]=m,g[0]=f.x+f.width,g[1]=m);var _=h++%s.length,C=new Tr({anid:y!=null?"line_"+y:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},style:Ne({stroke:s[_]},p),silent:!0});ka(C.shape,p.lineWidth),e.add(C)}}}},minorSplitLine:function(A,e,t,r,n){var i=t.axis,a=t.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var f=[],c=[],h=o.getLineStyle(),v=0;v<u.length;v++)for(var d=0;d<u[v].length;d++){var g=i.toGlobalCoord(u[v][d].coord);l?(f[0]=g,f[1]=s.y,c[0]=g,c[1]=s.y+s.height):(f[0]=s.x,f[1]=g,c[0]=s.x+s.width,c[1]=g);var p=new Tr({anid:"minor_line_"+u[v][d].tickValue,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:c[0],y2:c[1]},style:h,silent:!0});ka(p.shape,h.lineWidth),e.add(p)}},splitArea:function(A,e,t,r,n){$M(A,e,t,r)},breakArea:function(A,e,t,r,n){t.axis.scale}},VC=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="xAxis",e})(kC),AH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=VC.type,t}return e.type="yAxis",e})(kC),rH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="grid",t}return e.prototype.render=function(t,r){this.group.removeAll(),t.get("show")&&this.group.add(new qe({shape:t.coordinateSystem.getRect(),style:Ne({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e})(FA),KC={offset:0};function nH(A){A.registerComponentView(rH),A.registerComponentModel(uM),A.registerCoordinateSystem("cartesian2d",PM),yC(A,"x",rd,KC),yC(A,"y",rd,KC),A.registerComponentView(VC),A.registerComponentView(AH),A.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var iH=ze();function GC(A,e){return!!iH(A)[e]}Kn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Dt);var aH={axisPointer:1,tooltip:1,brush:1};function oH(A,e,t){var r=e.getComponentByElement(A.topTarget);if(!r||r===t||aH.hasOwnProperty(r.mainType))return!1;var n=r.coordinateSystem;if(!n||n.model===t)return!1;var i=Ga(r),a=Ga(t);return!((i.zlevel-a.zlevel||i.z-a.z)<=0)}var sH=(function(A){J(e,A);function e(t){var r=A.call(this)||this;r._zr=t;var n=ye(r._mousedownHandler,r),i=ye(r._mousemoveHandler,r),a=ye(r._mouseupHandler,r),o=ye(r._mousewheelHandler,r),s=ye(r._pinchHandler,r);return r.enable=function(l,u){var f=u.zInfo,c=Ga(f.component),h=c.z,v=c.zlevel,d={component:f.component,z:h,zlevel:v,z2:ve(f.z2,-1/0)},g=Y({},u.triggerInfo);this._opt=Ne(Y({},u),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:d,triggerInfo:g}),l==null&&(l=!0),(!this._enabled||this._controlType!==l)&&(this._enabled=!0,this.disable(),(l===!0||l==="move"||l==="pan")&&(Qo(t,"mousedown",n,d),Qo(t,"mousemove",i,d),Qo(t,"mouseup",a,d)),(l===!0||l==="scale"||l==="zoom")&&(Qo(t,"mousewheel",o,d),Qo(t,"pinch",s,d)))},r.disable=function(){this._enabled=!1,xo(t,"mousedown",n),xo(t,"mousemove",i),xo(t,"mouseup",a),xo(t,"mousewheel",o),xo(t,"pinch",s)},r}return e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype._checkPointer=function(t,r,n){var i=this._opt,a=i.zInfoParsed;if(oH(t,i.api,a.component))return!1;var o=i.triggerInfo,s=o.roamTrigger,l=!1;return s==="global"&&(l=!0),l||(l=o.isInSelf(t,r,n)),l&&o.isInClip&&!o.isInClip(t,r,n)&&(l=!1),l},e.prototype._decideCursorStyle=function(t,r,n,i){var a=t.target;if(!a&&this._checkPointer(t,r,n))return"grab";if(i)return a&&a.cursor||"default"},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(Vp(t)||_o(t))){for(var r=t.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var n=t.offsetX,i=t.offsetY;this._checkPointer(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){var r=this._zr;if(!(t.gestureEvent==="pinch"||GC(r,"globalPan")||_o(t))){var n=t.offsetX,i=t.offsetY;if(!this._dragging||!Cu("moveOnMouseMove",t,this._opt)){var a=this._decideCursorStyle(t,n,i,!1);a&&r.setCursorStyle(a);return}r.setCursorStyle("grabbing");var o=this._x,s=this._y,l=n-o,u=i-s;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&ci(t.event),t.__ecRoamConsumed=!0,zC(this,"pan","moveOnMouseMove",t,{dx:l,dy:u,oldX:o,oldY:s,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){if(!_o(t)){var r=this._zr;if(!Vp(t)){this._dragging=!1;var n=this._decideCursorStyle(t,t.offsetX,t.offsetY,!0);n&&r.setCursorStyle(n)}}},e.prototype._mousewheelHandler=function(t){if(!_o(t)){var r=Cu("zoomOnMouseWheel",t,this._opt),n=Cu("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,a=Math.abs(i),o=t.offsetX,s=t.offsetY;if(!(i===0||!r&&!n)){if(r){var l=a>3?1.4:a>1?1.2:1.1,u=i>0?l:1/l;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",t,{scale:u,originX:o,originY:s,isAvailableBehavior:null})}if(n){var f=Math.abs(i),c=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:s,isAvailableBehavior:null})}}}},e.prototype._pinchHandler=function(t){if(!(GC(this._zr,"globalPan")||_o(t))){var r=t.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,t,{scale:r,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e.prototype._checkTriggerMoveZoom=function(t,r,n,i,a){t._checkPointer(i,a.originX,a.originY)&&(ci(i.event),i.__ecRoamConsumed=!0,zC(t,r,n,i,a))},e})(wA);function _o(A){return A.__ecRoamConsumed}var lH=ze();function wu(A){var e=lH(A);return e.roam=e.roam||{},e.uniform=e.uniform||{},e}function Qo(A,e,t,r){for(var n=wu(A),i=n.roam,a=i[e]=i[e]||[],o=0;o<a.length;o++){var s=a[o].zInfoParsed;if((s.zlevel-r.zlevel||s.z-r.z||s.z2-r.z2)<=0)break}a.splice(o,0,{listener:t,zInfoParsed:r}),uH(A,e)}function xo(A,e,t){for(var r=wu(A),n=r.roam[e]||[],i=0;i<n.length;i++)if(n[i].listener===t){n.splice(i,1),n.length||fH(A,e);return}}function uH(A,e){var t=wu(A);t.uniform[e]||A.on(e,t.uniform[e]=function(r){var n=t.roam[e];if(n)for(var i=0;i<n.length;i++)n[i].listener(r)})}function fH(A,e){var t=wu(A),r=t.uniform;r[e]&&(A.off(e,r[e]),r[e]=null)}function zC(A,e,t,r,n){n.isAvailableBehavior=ye(Cu,null,t,r),A.trigger(e,n)}function Cu(A,e,t){var r=t[A];return!A||r&&(!le(r)||e.event[r+"Key"])}function Fo(A,e,t,r,n,i){A=A||0;var a=t[1]-t[0];if(n!=null&&(n=ji(n,[0,a])),i!=null&&(i=Math.max(i,n??0)),r==="all"){var o=Math.abs(e[1]-e[0]);o=ji(o,[0,a]),n=i=ji(o,[n,i]),r=0}e[0]=ji(e[0],t),e[1]=ji(e[1],t);var s=vd(e,r);e[r]+=A;var l=n||0,u=t.slice();s.sign<0?u[0]+=l:u[1]-=l,e[r]=ji(e[r],u);var f;return f=vd(e,r),n!=null&&(f.sign!==s.sign||f.span<n)&&(e[1-r]=e[r]+s.sign*n),f=vd(e,r),i!=null&&f.span>i&&(e[1-r]=e[r]+f.sign*i),e}function vd(A,e){var t=A[e]-A[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function ji(A,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,A))}var Zn=ze(),WC=Ue,dd=ye,cH=(function(){function A(){this._dragging=!1,this.animationThreshold=15}return A.prototype.render=function(e,t,r,n){var i=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=r,!(!n&&this._lastValue===i&&this._lastStatus===a)){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||a==="hide"){o&&o.hide(),s&&s.hide();return}o&&o.show(),s&&s.show();var l={};this.makeElOption(l,i,e,t,r);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=u;var f=this._moveAnimation=this.determineAnimation(e,t);if(!o)o=this._group=new lt,this.createPointerEl(o,l,e,t),this.createLabelEl(o,l,e,t),r.getZr().add(o);else{var c=nt(YC,t,f);this.updatePointerEl(o,l,c),this.updateLabelEl(o,l,c,t)}JC(o,t,!0),this._renderHandle(i)}},A.prototype.remove=function(e){this.clear(e)},A.prototype.dispose=function(e){this.clear(e)},A.prototype.determineAnimation=function(e,t){var r=t.get("animation"),n=e.axis,i=n.type==="category",a=t.get("snap");if(!a&&!i)return!1;if(r==="auto"||r==null){var o=this.animationThreshold;if(i&&n.getBandWidth()>o)return!0;if(a){var s=ud(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return r===!0},A.prototype.makeElOption=function(e,t,r,n,i){},A.prototype.createPointerEl=function(e,t,r,n){var i=t.pointer;if(i){var a=Zn(e).pointerEl=new oS[i.type](WC(t.pointer));e.add(a)}},A.prototype.createLabelEl=function(e,t,r,n){if(t.label){var i=Zn(e).labelEl=new Ot(WC(t.label));e.add(i),ZC(i,n)}},A.prototype.updatePointerEl=function(e,t,r){var n=Zn(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),r(n,{shape:t.pointer.shape}))},A.prototype.updateLabelEl=function(e,t,r,n){var i=Zn(e).labelEl;i&&(i.setStyle(t.label.style),r(i,{x:t.label.x,y:t.label.y}),ZC(i,n))},A.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,r=this._api.getZr(),n=this._handle,i=t.getModel("handle"),a=t.get("status");if(!i.get("show")||!a||a==="hide"){n&&r.remove(n),this._handle=null;return}var o;this._handle||(o=!0,n=this._handle=ph(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){ci(l.event)},onmousedown:dd(this._onHandleDragMove,this,0,0),drift:dd(this._onHandleDragMove,this),ondragend:dd(this._onHandleDragEnd,this)}),r.add(n)),JC(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");ae(s)||(s=[s,s]),n.scaleX=s[0]/2,n.scaleY=s[1]/2,Nl(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)}},A.prototype._moveHandleToValue=function(e,t){YC(this._axisPointerModel,!t&&this._moveAnimation,this._handle,pd(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},A.prototype._onHandleDragMove=function(e,t){var r=this._handle;if(r){this._dragging=!0;var n=this.updateHandleTransform(pd(r),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,r.stopAnimation(),r.attr(pd(n)),Zn(r).lastProp=null,this._doDispatchAxisPointer()}},A.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},A.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"})}},A.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),r=this._group,n=this._handle;t&&r&&(this._lastGraphicKey=null,r&&t.remove(r),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Pl(this,"_doDispatchAxisPointer")},A.prototype.doClear=function(){},A.prototype.buildLabel=function(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}},A})();function YC(A,e,t,r){XC(Zn(t).lastProp,r)||(Zn(t).lastProp=r,e?Et(t,r,A):(t.stopAnimation(),t.attr(r)))}function XC(A,e){if(he(A)&&he(e)){var t=!0;return b(e,function(r,n){t=t&&XC(A[n],r)}),!!t}else return A===e}function ZC(A,e){A[e.get(["label","show"])?"show":"hide"]()}function pd(A){return{x:A.x||0,y:A.y||0,rotation:A.rotation||0}}function JC(A,e,t){var r=e.get("z"),n=e.get("zlevel");A&&A.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),n!=null&&(i.zlevel=n),i.silent=t)})}function hH(A){var e=A.get("type"),t=A.getModel(e+"Style"),r;return e==="line"?(r=t.getLineStyle(),r.fill=null):e==="shadow"&&(r=t.getAreaStyle(),r.stroke=null),r}function vH(A,e,t,r,n){var i=t.get("value"),a=qC(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),o=t.getModel("label"),s=Fl(o.get("padding")||0),l=o.getFont(),u=Dg(a,l),f=n.position,c=u.width+s[1]+s[3],h=u.height+s[0]+s[2],v=n.align;v==="right"&&(f[0]-=c),v==="center"&&(f[0]-=c/2);var d=n.verticalAlign;d==="bottom"&&(f[1]-=h),d==="middle"&&(f[1]-=h/2),dH(f,c,h,r);var g=o.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),A.label={x:f[0],y:f[1],style:In(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function dH(A,e,t,r){var n=r.getWidth(),i=r.getHeight();A[0]=Math.min(A[0]+e,n)-e,A[1]=Math.min(A[1]+t,i)-t,A[0]=Math.max(A[0],0),A[1]=Math.max(A[1],0)}function qC(A,e,t,r,n){A=e.scale.parse(A);var i=e.scale.getLabel({value:A},{precision:n.precision}),a=n.formatter;if(a){var o={value:lu(e,{value:A}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};b(r,function(s){var l=t.getSeriesByIndex(s.seriesIndex),u=s.dataIndexInside,f=l&&l.getDataParams(u);f&&o.seriesData.push(f)}),le(a)?i=a.replace("{value}",i):me(a)&&(i=a(o))}return i}function $C(A,e,t){var r=nr();return zf(r,r,t.rotation),Gf(r,r,t.position),Va([A.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],r)}function pH(A,e,t,r,n,i){var a=Wr.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),vH(e,r,n,i,{position:$C(r.axis,A,t),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function gH(A,e,t){return t=t||0,{x1:A[t],y1:A[1-t],x2:e[t],y2:e[1-t]}}function BH(A,e,t){return t=t||0,{x:A[t],y:A[1-t],width:e[t],height:e[1-t]}}var mH=(function(A){J(e,A);function e(){return A!==null&&A.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,r,n,i,a){var o=n.axis,s=o.grid,l=i.get("type"),u=jC(s,o).getOtherAxis(o).getGlobalExtent(),f=o.toGlobalCoord(o.dataToCoord(r,!0));if(l&&l!=="none"){var c=hH(i),h=yH[l](o,f,u);h.style=c,t.graphicKey=h.type,t.pointer=h}var v=yu(s.getRect(),n);pH(r,t,v,n,i,a)},e.prototype.getHandleTransform=function(t,r,n){var i=yu(r.axis.grid.getRect(),r,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var a=$C(r.axis,t,i);return{x:a[0],y:a[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,r,n,i){var a=n.axis,o=a.grid,s=a.getGlobalExtent(!0),l=jC(o,a).getOtherAxis(a).getGlobalExtent(),u=a.dim==="x"?0:1,f=[t.x,t.y];f[u]+=r[u],f[u]=Math.min(s[1],f[u]),f[u]=Math.max(s[0],f[u]);var c=(l[1]+l[0])/2,h=[c,c];h[u]=f[u];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:h,tooltipOption:v[u]}},e})(cH);function jC(A,e){var t={};return t[e.dim+"AxisIndex"]=e.index,A.getCartesian(t)}var yH={line:function(A,e,t){var r=gH([e,t[0]],[e,t[1]],e_(A));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(A,e,t){var r=Math.max(1,A.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:BH([e-r/2,t[0]],[r,n],e_(A))}}};function e_(A){return A.dim==="x"?0:1}var wH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:oe.color.border,width:1,type:"dashed"},shadowStyle:{color:oe.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:oe.color.neutral00,padding:[5,7,5,7],backgroundColor:oe.color.accent60,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:oe.color.accent40,throttle:40}},e})(Re),pr=ze(),CH=b;function t_(A,e,t){if(!_e.node){var r=e.getZr();pr(r).records||(pr(r).records={}),_H(r,e);var n=pr(r).records[A]||(pr(r).records[A]={});n.handler=t}}function _H(A,e){if(pr(A).initialized)return;pr(A).initialized=!0,t("click",nt(A_,"click")),t("mousemove",nt(A_,"mousemove")),t("globalout",xH);function t(r,n){A.on(r,function(i){var a=FH(e);CH(pr(A).records,function(o){o&&n(o,i,a.dispatchAction)}),QH(a.pendings,e)})}}function QH(A,e){var t=A.showTip.length,r=A.hideTip.length,n;t?n=A.showTip[t-1]:r&&(n=A.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function xH(A,e,t){A.handler("leave",null,t)}function A_(A,e,t,r){e.handler(A,t,r)}function FH(A){var e={showTip:[],hideTip:[]},t=function(r){var n=e[r.type];n?n.push(r):(r.dispatchAction=t,A.dispatchAction(r))};return{dispatchAction:t,pendings:e}}function gd(A,e){if(!_e.node){var t=e.getZr(),r=(pr(t).records||{})[A];r&&(pr(t).records[A]=null)}}var EH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n){var i=r.getComponent("tooltip"),a=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";t_("axisPointer",n,function(o,s,l){a!=="none"&&(o==="leave"||a.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},e.prototype.remove=function(t,r){gd("axisPointer",r)},e.prototype.dispose=function(t,r){gd("axisPointer",r)},e.type="axisPointer",e})(FA);function r_(A,e){var t=[],r=A.seriesIndex,n;if(r==null||!(n=e.getSeriesByIndex(r)))return{point:[]};var i=n.getData(),a=pn(i,A);if(a==null||a<0||ae(a))return{point:[]};var o=i.getItemGraphicEl(a),s=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(A.isStacked){var l=s.getBaseAxis(),u=s.getOtherAxis(l),f=u.dim,c=l.dim,h=f==="x"||f==="radius"?1:0,v=i.mapDimension(c),d=[];d[h]=i.get(v,a),d[1-h]=i.get(i.getCalculationInfo("stackResultDimension"),a),t=s.dataToPoint(d)||[]}else t=s.dataToPoint(i.getValues(Be(s.dimensions,function(p){return i.mapDimension(p)}),a))||[];else if(o){var g=o.getBoundingRect().clone();g.applyTransform(o.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:o}}var n_=ze();function bH(A,e,t){var r=A.currTrigger,n=[A.x,A.y],i=A,a=A.dispatchAction||ye(t.dispatchAction,t),o=e.getComponent("axisPointer").coordSysAxesInfo;if(o){_u(n)&&(n=r_({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var s=_u(n),l=i.axesInfo,u=o.axesInfo,f=r==="leave"||_u(n),c={},h={},v={list:[],map:{}},d={showPointer:nt(UH,h),showTooltip:nt(IH,v)};b(o.coordSysMap,function(p,B){var m=s||p.containPoint(n);b(o.coordSysAxesInfo[B],function(y,_){var C=y.axis,Q=MH(l,y);if(!f&&m&&(!l||Q)){var x=Q&&Q.value;x==null&&!s&&(x=C.pointToData(n)),x!=null&&i_(y,x,d,!1,c)}})});var g={};return b(u,function(p,B){var m=p.linkGroup;m&&!h[B]&&b(m.axesInfo,function(y,_){var C=h[_];if(y!==p&&C){var Q=C.value;m.mapper&&(Q=p.axis.scale.parse(m.mapper(Q,a_(y),a_(p)))),g[p.key]=Q}})}),b(g,function(p,B){i_(u[B],p,d,!0,c)}),TH(h,u,c),DH(v,n,A,a),LH(u,a,t),c}}function i_(A,e,t,r,n){var i=A.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!A.involveSeries){t.showPointer(A,e);return}var a=SH(e,A),o=a.payloadBatch,s=a.snapToValue;o[0]&&n.seriesIndex==null&&Y(n,o[0]),!r&&A.snap&&i.containData(s)&&s!=null&&(e=s),t.showPointer(A,e,o),t.showTooltip(A,a,s)}}function SH(A,e){var t=e.axis,r=t.dim,n=A,i=[],a=Number.MAX_VALUE,o=-1;return b(e.seriesModels,function(s,l){var u=s.getData().mapDimensionsAll(r),f,c;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(u,A,t);c=h.dataIndices,f=h.nestestValue}else{if(c=s.indicesOfNearest(r,u[0],A,t.type==="category"?.5:null),!c.length)return;f=s.getData().get(u[0],c[0])}if(!(f==null||!isFinite(f))){var v=A-f,d=Math.abs(v);d<=a&&((d<a||v>=0&&o<0)&&(a=d,o=v,n=f,i.length=0),b(c,function(g){i.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function UH(A,e,t,r){A[e.key]={value:t,payloadBatch:r}}function IH(A,e,t,r){var n=t.payloadBatch,i=e.axis,a=i.model,o=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var s=e.coordSys.model,l=Co(s),u=A.map[l];u||(u=A.map[l]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},A.list.push(u)),u.dataByAxis.push({axisDim:i.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:o.get(["label","precision"]),formatter:o.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function TH(A,e,t){var r=t.axesInfo=[];b(e,function(n,i){var a=n.axisPointerModel.option,o=A[i];o?(!n.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!n.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:a.value})})}function DH(A,e,t,r){if(_u(e)||!A.list.length){r({type:"hideTip"});return}var n=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:A.list})}function LH(A,e,t){var r=t.getZr(),n="axisPointerLastHighlights",i=n_(r)[n]||{},a=n_(r)[n]={};b(A,function(l,u){var f=l.axisPointerModel.option;f.status==="show"&&l.triggerEmphasis&&b(f.seriesDataIndices,function(c){var h=c.seriesIndex+" | "+c.dataIndex;a[h]=c})});var o=[],s=[];b(i,function(l,u){!a[u]&&s.push(l)}),b(a,function(l,u){!i[u]&&o.push(l)}),s.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}function MH(A,e){for(var t=0;t<(A||[]).length;t++){var r=A[t];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function a_(A){var e=A.axis.model,t={},r=t.axisDim=A.axis.dim;return t.axisIndex=t[r+"AxisIndex"]=e.componentIndex,t.axisName=t[r+"AxisName"]=e.name,t.axisId=t[r+"AxisId"]=e.id,t}function _u(A){return!A||A[0]==null||isNaN(A[0])||A[1]==null||isNaN(A[1])}function o_(A){PC.registerAxisPointerClass("CartesianAxisPointer",mH),A.registerComponentModel(wH),A.registerComponentView(EH),A.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!ae(t)&&(e.axisPointer.link=[t])}}),A.registerProcessor(A.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=zM(e,t)}),A.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},bH)}function HH(A){qA(nH),qA(o_)}var s_=["x","y","radius","angle","single"],OH=["cartesian2d","polar","singleAxis"];function RH(A){var e=A.get("coordinateSystem");return Te(OH,e)>=0}function Yr(A){return process.env.NODE_ENV!=="production"&&fe(A),A+"Axis"}function NH(A,e){var t=we(),r=[],n=we();A.eachComponent({mainType:"dataZoom",query:e},function(u){n.get(u.uid)||o(u)});var i;do i=!1,A.eachComponent("dataZoom",a);while(i);function a(u){!n.get(u.uid)&&s(u)&&(o(u),i=!0)}function o(u){n.set(u.uid,!0),r.push(u),l(u)}function s(u){var f=!1;return u.eachTargetAxis(function(c,h){var v=t.get(c);v&&v[h]&&(f=!0)}),f}function l(u){u.eachTargetAxis(function(f,c){(t.get(f)||t.set(f,[]))[c]=!0})}return r}function l_(A){var e=A.ecModel,t={infoList:[],infoMap:we()};return A.eachTargetAxis(function(r,n){var i=e.getComponent(Yr(r),n);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=t.infoMap.get(o);s||(s={model:a,axisModels:[]},t.infoList.push(s),t.infoMap.set(o,s)),s.axisModels.push(i)}}}),t}var Bd=(function(){function A(){this.indexList=[],this.indexMap=[]}return A.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},A})(),Qu=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,r,n){var i=u_(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var r=u_(t);Oe(this.option,t,!0),Oe(this.settledOption,r,!0),this._doInit(r)},e.prototype._doInit=function(t){var r=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i,a){this._rangePropMode[a]==="value"&&(r[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),r=this._targetAxisInfoMap=we(),n=this._fillSpecifiedTargetAxis(r);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var r=!1;return b(s_,function(n){var i=this.getReferringComponents(Yr(n),XF);if(i.specified){r=!0;var a=new Bd;b(i.models,function(o){a.add(o.componentIndex)}),t.set(n,a)}},this),r},e.prototype._fillAutoTargetAxisByOrient=function(t,r){var n=this.ecModel,i=!0;if(i){var a=r==="vertical"?"y":"x",o=n.findComponents({mainType:a+"Axis"});s(o,a)}if(i){var o=n.findComponents({mainType:"singleAxis",filter:function(u){return u.get("orient",!0)===r}});s(o,"single")}function s(l,u){var f=l[0];if(f){var c=new Bd;if(c.add(f.componentIndex),t.set(u,c),i=!1,u==="x"||u==="y"){var h=f.getReferringComponents("grid",Mt).models[0];h&&b(l,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",Mt).models[0]&&c.add(v.componentIndex)})}}}i&&b(s_,function(l){if(i){var u=n.findComponents({mainType:Yr(l),filter:function(c){return c.get("type",!0)==="category"}});if(u[0]){var f=new Bd;f.add(u[0].componentIndex),t.set(l,f),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(r){!t&&(t=r)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var r=this._rangePropMode,n=this.get("rangeMode");b([["start","startValue"],["end","endValue"]],function(i,a){var o=t[i[0]]!=null,s=t[i[1]]!=null;o&&!s?r[a]="percent":!o&&s?r[a]="value":n?r[a]=n[a]:o&&(r[a]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(r,n){t==null&&(t=this.ecModel.getComponent(Yr(r),n))},this),t},e.prototype.eachTargetAxis=function(t,r){this._targetAxisInfoMap.each(function(n,i){b(n.indexList,function(a){t.call(r,i,a)})})},e.prototype.getAxisProxy=function(t,r){var n=this.getAxisModel(t,r);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,r){process.env.NODE_ENV!=="production"&&fe(t&&r!=null);var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[r])return this.ecModel.getComponent(Yr(t),r)},e.prototype.setRawRange=function(t){var r=this.option,n=this.settledOption;b([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(r[i[0]]=n[i[0]]=t[i[0]],r[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var r=this.option;b(["start","startValue","end","endValue"],function(n){r[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,r){if(t==null&&r==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,r).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var r,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var a=n[i],o=this._targetAxisInfoMap.get(a),s=0;s<o.indexList.length;s++){var l=this.getAxisProxy(a,o.indexList[s]);if(l.hostedBy(this))return l;r||(r=l)}return r},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&fe(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e})(Re);function u_(A){var e={};return b(["start","end","startValue","endValue","throttle"],function(t){A.hasOwnProperty(t)&&(e[t]=A[t])}),e}var f_=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,r,n,i){this.dataZoomModel=t,this.ecModel=r,this.api=n},e.type="dataZoom",e})(FA),ea=b,c_=Sa,PH=(function(){function A(e,t,r,n){this._dimName=e,this._axisIndex=t,this.ecModel=n,this._dataZoomModel=r}return A.prototype.hostedBy=function(e){return this._dataZoomModel===e},A.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},A.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},A.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(RH(t)){var r=Yr(this._dimName),n=t.getReferringComponents(r,Mt).models[0];n&&this._axisIndex===n.componentIndex&&e.push(t)}},this),e},A.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},A.prototype.getMinMaxSpan=function(){return Ue(this._minMaxSpan)},A.prototype.calculateDataWindow=function(e){var t=this._dataExtent,r=this.getAxisModel(),n=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[],l;ea(["start","end"],function(c,h){var v=e[c],d=e[c+"Value"];i[h]==="percent"?(v==null&&(v=a[h]),d=n.parse(dt(v,a,t))):(l=!0,d=d==null?t[h]:n.parse(d),v=dt(d,t,a)),s[h]=d==null||isNaN(d)?t[h]:d,o[h]=v==null||isNaN(v)?a[h]:v}),c_(s),c_(o);var u=this._minMaxSpan;l?f(s,o,t,a,!1):f(o,s,a,t,!0);function f(c,h,v,d,g){var p=g?"Span":"ValueSpan";Fo(0,c,v,"all",u["min"+p],u["max"+p]);for(var B=0;B<2;B++)h[B]=dt(c[B],v,d,!0),g&&(h[B]=n.parse(h[B]))}return{valueWindow:s,percentWindow:o}},A.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=kH(this,this._dimName,t),this._updateMinMaxSpan();var r=this.calculateDataWindow(e.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},A.prototype.filterData=function(e,t){if(e!==this._dataZoomModel)return;var r=this._dimName,n=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;if(i==="none")return;ea(n,function(s){var l=s.getData(),u=l.mapDimensionsAll(r);if(u.length){if(i==="weakFilter"){var f=l.getStore(),c=Be(u,function(h){return l.getDimensionIndex(h)},l);l.filterSelf(function(h){for(var v,d,g,p=0;p<u.length;p++){var B=f.get(c[p],h),m=!isNaN(B),y=B<a[0],_=B>a[1];if(m&&!y&&!_)return!0;m&&(g=!0),y&&(v=!0),_&&(d=!0)}return g&&v&&d})}else ea(u,function(h){if(i==="empty")s.setData(l=l.map(h,function(d){return o(d)?d:NaN}));else{var v={};v[h]=a,l.selectRange(v)}});ea(u,function(h){l.setApproximateExtent(a,h)})}});function o(s){return s>=a[0]&&s<=a[1]}},A.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,r=this._dataExtent;ea(["min","max"],function(n){var i=t.get(n+"Span"),a=t.get(n+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?i=dt(r[0]+a,r,[0,100],!0):i!=null&&(a=dt(i,[0,100],r,!0)-r[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=a},this)},A.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,r=this._valueWindow;if(t){var n=Ng(r,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(n)),i.freeze()}},A})();function kH(A,e,t){var r=[1/0,-1/0];ea(t,function(a){VD(r,a.getData(),e)});var n=A.getAxisModel(),i=mw(n.axis.scale,n,r).calculate();return[i.min,i.max]}var VH={getTargetSeries:function(A){function e(n){A.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(a,o){var s=A.getComponent(Yr(a),o);n(a,o,s,i)})})}e(function(n,i,a,o){a.__dzAxisProxy=null});var t=[];e(function(n,i,a,o){a.__dzAxisProxy||(a.__dzAxisProxy=new PH(n,i,o,A),t.push(a.__dzAxisProxy))});var r=we();return b(t,function(n){b(n.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(A,e){A.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).reset(t)}),t.eachTargetAxis(function(r,n){t.getAxisProxy(r,n).filterData(t,e)})}),A.eachComponent("dataZoom",function(t){var r=t.findRepresentativeAxisProxy();if(r){var n=r.getDataPercentWindow(),i=r.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};function KH(A){A.registerAction("dataZoom",function(e,t){var r=NH(t,e);b(r,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var h_=!1;function v_(A){h_||(h_=!0,A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,VH),KH(A),A.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function GH(A,e){var t=Fl(e.get("padding")),r=e.getItemStyle(["color","opacity"]);r.fill=e.get("backgroundColor");var n=new qe({shape:{x:A.x-t[3],y:A.y-t[0],width:A.width+t[1]+t[3],height:A.height+t[0]+t[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1});return n}var zH=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:oe.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:oe.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:oe.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:oe.color.tertiary,fontSize:14}},e})(Re);function d_(A){var e=A.get("confine");return e!=null?!!e:A.get("renderMode")==="richText"}function p_(A){if(_e.domSupported){for(var e=document.documentElement.style,t=0,r=A.length;t<r;t++)if(A[t]in e)return A[t]}}var g_=p_(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),WH=p_(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function B_(A,e){if(!A)return e;e=zB(e,!0);var t=A.indexOf(e);return A=t===-1?e:"-"+A.slice(0,t)+"-"+e,A.toLowerCase()}function YH(A,e){var t=A.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(A);return t?t[e]:null}var XH=B_(WH,"transition"),md=B_(g_,"transform"),ZH="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_e.transform3dSupported?"will-change:transform;":"");function JH(A){return A=A==="left"?"right":A==="right"?"left":A==="top"?"bottom":"top",A}function qH(A,e,t){if(!le(t)||t==="inside")return"";var r=A.get("backgroundColor"),n=A.get("borderWidth");e=Dn(e);var i=JH(t),a=Math.max(Math.round(n)*1.5,6),o="",s=md+":",l;Te(["left","right"],i)>-1?(o+="top:50%",s+="translateY(-50%) rotate("+(l=i==="left"?-225:-45)+"deg)"):(o+="left:50%",s+="translateX(-50%) rotate("+(l=i==="top"?225:45)+"deg)");var u=l*Math.PI/180,f=a+n,c=f*Math.abs(Math.cos(u))+f*Math.abs(Math.sin(u)),h=Math.round(((c-Math.SQRT2*n)/2+Math.SQRT2*n-(c-f)/2)*100)/100;o+=";"+i+":-"+h+"px";var v=e+" solid "+n+"px;",d=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",o+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+d.join("")+'"></div>'}function $H(A,e,t){var r="cubic-bezier(0.23,1,0.32,1)",n="",i="";return t&&(n=" "+A/2+"s "+r,i="opacity"+n+",visibility"+n),e||(n=" "+A+"s "+r,i+=(i.length?",":"")+(_e.transformSupported?""+md+n:",left"+n+",top"+n)),XH+":"+i}function m_(A,e,t){var r=A.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!_e.transformSupported)return t?"top:"+n+";left:"+r+";":[["top",n],["left",r]];var i=_e.transform3dSupported,a="translate"+(i?"3d":"")+"("+r+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+md+":"+a+";":[["top",0],["left",0],[g_,a]]}function jH(A){var e=[],t=A.get("fontSize"),r=A.getTextColor();r&&e.push("color:"+r),e.push("font:"+A.getFont());var n=ve(A.get("lineHeight"),Math.round(t*3/2));t&&e.push("line-height:"+n+"px");var i=A.get("textShadowColor"),a=A.get("textShadowBlur")||0,o=A.get("textShadowOffsetX")||0,s=A.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),b(["decoration","align"],function(l){var u=A.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function e2(A,e,t,r){var n=[],i=A.get("transitionDuration"),a=A.get("backgroundColor"),o=A.get("shadowBlur"),s=A.get("shadowColor"),l=A.get("shadowOffsetX"),u=A.get("shadowOffsetY"),f=A.getModel("textStyle"),c=Km(A,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i>0&&n.push($H(i,t,r)),a&&n.push("background-color:"+a),b(["width","color","radius"],function(v){var d="border-"+v,g=zB(d),p=A.get(g);p!=null&&n.push(d+":"+p+(v==="color"?"":"px"))}),n.push(jH(f)),c!=null&&n.push("padding:"+Fl(c).join("px ")+"px"),n.join(";")+";"}function y_(A,e,t,r,n){var i=e&&e.painter;if(t){var a=i&&i.getViewportRoot();a&&Cx(A,a,t,r,n)}else{A[0]=r,A[1]=n;var o=i&&i.getViewportRootOffset();o&&(A[0]+=o.offsetLeft,A[1]+=o.offsetTop)}A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var t2=(function(){function A(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,_e.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var n=this._zr=e.getZr(),i=t.appendTo,a=i&&(le(i)?document.querySelector(i):ni(i)?i:me(i)&&i(e.getDom()));y_(this._styleCoord,n,a,e.getWidth()/2,e.getHeight()/2),(a||e.getDom()).appendChild(r),this._api=e,this._container=a;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!o._enterable){var l=n.handler,u=n.painter.getViewportRoot();AA(u,s,!0),l.dispatch("mousemove",s)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return A.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),r=YH(t,"position"),n=t.style;n.position!=="absolute"&&r!=="absolute"&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=e.get("displayTransition")&&e.get("transitionDuration")>0,this.el.className=e.get("className")||""},A.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,n=r.style,i=this._styleCoord;r.innerHTML?n.cssText=ZH+e2(e,!this._firstShow,this._longHide,this._enableDisplayTransition)+m_(i[0],i[1],!0)+("border-color:"+Dn(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},A.prototype.setContent=function(e,t,r,n,i){var a=this.el;if(e==null){a.innerHTML="";return}var o="";if(le(i)&&r.get("trigger")==="item"&&!d_(r)&&(o=qH(r,n,i)),le(e))a.innerHTML=e+o;else if(e){a.innerHTML="",ae(e)||(e=[e]);for(var s=0;s<e.length;s++)ni(e[s])&&e[s].parentNode!==a&&a.appendChild(e[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},A.prototype.moveTo=function(e,t){if(this.el){var r=this._styleCoord;if(y_(r,this._zr,this._container,e,t),r[0]!=null&&r[1]!=null){var n=this.el.style,i=m_(r[0],r[1]);b(i,function(a){n[a[0]]=a[1]})}}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){var e=this,t=this.el.style;this._enableDisplayTransition?(t.visibility="hidden",t.opacity="0"):t.display="none",_e.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this._zr;_x(e&&e.painter&&e.painter.getViewportRoot(),this._container);var t=this.el;if(t){t.onmouseenter=t.onmousemove=t.onmouseleave=null;var r=t.parentNode;r&&r.removeChild(t)}this.el=this._container=null},A})(),A2=(function(){function A(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),C_(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return A.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},A.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},A.prototype.setContent=function(e,t,r,n,i){var a=this;he(e)&&Kt(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var o=r.getModel("textStyle");this.el=new Ot({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:o.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:Km(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),b(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(l){a.el.style[l]=r.get(l)}),b(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(l){a.el.style[l]=o.get(l)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},A.prototype.setEnterable=function(e){this._enterable=e},A.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),r=w_(e.style);return[t.width+r.left+r.right,t.height+r.top+r.bottom]},A.prototype.moveTo=function(e,t){var r=this.el;if(r){var n=this._styleCoord;C_(n,this._zr,e,t),e=n[0],t=n[1];var i=r.style,a=Xr(i.borderWidth||0),o=w_(i);r.x=e+a+o.left,r.y=t+a+o.top,r.markRedraw()}},A.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},A.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},A.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(ye(this.hide,this),e)):this.hide())},A.prototype.isShow=function(){return this._show},A.prototype.dispose=function(){this._zr.remove(this.el)},A})();function Xr(A){return Math.max(0,A)}function w_(A){var e=Xr(A.shadowBlur||0),t=Xr(A.shadowOffsetX||0),r=Xr(A.shadowOffsetY||0);return{left:Xr(e-t),right:Xr(e+t),top:Xr(e-r),bottom:Xr(e+r)}}function C_(A,e,t,r){A[0]=t,A[1]=r,A[2]=A[0]/e.getWidth(),A[3]=A[1]/e.getHeight()}var r2=new qe({shape:{x:-1,y:-1,width:2,height:2}}),n2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,r){if(!(_e.node||!r.getDom())){var n=t.getComponent("tooltip"),i=this._renderMode=JF(n.get("renderMode"));this._tooltipContent=i==="richText"?new A2(r):new t2(r,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,r,n){if(!(_e.node||!n.getDom())){this.group.removeAll(),this._tooltipModel=t,this._ecModel=r,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&t.get("transitionDuration")?Nl(this,"_updatePosition",50,"fixRate"):Pl(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,r=t.get("triggerOn");t_("itemTooltip",this._api,ye(function(n,i,a){r!=="none"&&(r.indexOf(n)>=0?this._tryShow(i,a):n==="leave"&&this._hide(a))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,r=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&a.manuallyShowTip(t,r,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,r,n,i){if(!(i.from===this.uid||_e.node||!n.getDom())){var a=__(i,n);this._ticket="";var o=i.dataByCoordSys,s=s2(i,r,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},a)}else if(i.tooltip&&i.x!=null&&i.y!=null){var u=r2;u.x=i.x,u.y=i.y,u.update(),Le(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},a)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},a);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,r,n,i))return;var f=r_(i,r),c=f.point[0],h=f.point[1];c!=null&&h!=null&&this._tryShow({offsetX:c,offsetY:h,target:f.el,position:i.position,positionDefault:"bottom"},a)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},a))}},e.prototype.manuallyHideTip=function(t,r,n,i){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(__(i,n))},e.prototype._manuallyAxisShowTip=function(t,r,n,i){var a=i.seriesIndex,o=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||o==null||s==null)){var l=r.getSeriesByIndex(a);if(l){var u=l.getData(),f=Eo([u.getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,r){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var o=Le(n);if(o.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,l;io(n,function(u){if(u.tooltipDisabled)return s=l=null,!0;s||l||(Le(u).dataIndex!=null?s=u:Le(u).tooltipConfig!=null&&(l=u))},!0),s?this._showSeriesItemTooltip(t,s,r):l?this._showComponentItemTooltip(t,l,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(t,r){var n=t.get("showDelay");r=ye(r,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(r,n):r()},e.prototype._showAxisTooltip=function(t,r){var n=this._ecModel,i=this._tooltipModel,a=[r.offsetX,r.offsetY],o=Eo([r.tooltipOption],i),s=this._renderMode,l=[],u=to("section",{blocks:[],noHeader:!0}),f=[],c=new Av;b(t,function(B){b(B.dataByAxis,function(m){var y=n.getComponent(m.axisDim+"Axis",m.axisIndex),_=m.value;if(!(!y||_==null)){var C=qC(_,y.axis,n,m.seriesDataIndices,m.valueLabelOpt),Q=to("section",{header:C,noHeader:!LA(C),sortBlocks:!0,blocks:[]});u.blocks.push(Q),b(m.seriesDataIndices,function(x){var F=n.getSeriesByIndex(x.seriesIndex),S=x.dataIndexInside,E=F.getDataParams(S);if(!(E.dataIndex<0)){E.axisDim=m.axisDim,E.axisIndex=m.axisIndex,E.axisType=m.axisType,E.axisId=m.axisId,E.axisValue=lu(y.axis,{value:_}),E.axisValueLabel=C,E.marker=c.makeTooltipMarker("item",Dn(E.color),s);var I=Sm(F.formatTooltip(S,!0,null)),U=I.frag;if(U){var T=Eo([F],i).get("valueFormatter");Q.blocks.push(T?Y({valueFormatter:T},U):U)}I.text&&f.push(I.text),l.push(E)}})}})}),u.blocks.reverse(),f.reverse();var h=r.position,v=o.get("order"),d=km(u,c,s,v,n.get("useUTC"),o.get("textStyle"));d&&f.unshift(d);var g=s==="richText"?`
42
42
 
43
- `:"<br/>",p=f.join(g);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,h,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(o,p,l,Math.random()+"",a[0],a[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,r,n){var i=this._ecModel,a=Le(r),o=a.seriesIndex,s=i.getSeriesByIndex(o),l=a.dataModel||s,u=a.dataIndex,f=a.dataType,c=l.getData(f),h=this._renderMode,v=t.positionDefault,d=bo([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var p=l.getDataParams(u,f),B=new rv;p.marker=B.makeTooltipMarker("item",Dn(p.color),h);var m=Sm(l.formatTooltip(u,!1,f)),y=d.get("order"),_=d.get("valueFormatter"),C=m.frag,Q=C?km(_?Y({valueFormatter:_},C):C,B,h,y,i.get("useUTC"),d.get("textStyle")):m.text,x="item_"+l.name+"_"+u;this._showOrMove(d,function(){this._showTooltipContent(d,Q,p,x,t.offsetX,t.offsetY,t.position,t.target,B)}),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,r,n){var i=this._renderMode==="html",a=Le(r),o=a.tooltipConfig,s=o.option||{},l=s.encodeHTMLContent;if(le(s)){var u=s;s={content:u,formatter:u},l=!0}l&&i&&s.content&&(s=Ue(s),s.content=Vt(s.content));var f=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&f.push(c),f.push({formatter:s.content});var h=t.positionDefault,v=bo(f,this._tooltipModel,h?{position:h}:null),d=v.get("content"),g=Math.random()+"",p=new rv;this._showOrMove(v,function(){var B=Ue(v.get("formatterParams")||{});this._showTooltipContent(v,d,B,g,t.offsetX,t.offsetY,t.position,r,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,r,n,i,a,o,s,l,u){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var f=this._tooltipContent;f.setEnterable(t.get("enterable"));var c=t.get("formatter");s=s||t.get("position");var h=r,v=this._getNearestPoint([a,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)),d=v.color;if(c)if(le(c)){var g=t.ecModel.get("useUTC"),p=ae(n)?n[0]:n,B=p&&p.axisType&&p.axisType.indexOf("time")>=0;h=c,B&&(h=xl(p.axisValue,h,g)),h=YB(h,n,!0)}else if(me(c)){var m=ye(function(y,_){y===this._ticket&&(f.setContent(_,u,t,d,s),this._updatePosition(t,s,a,o,f,n,l))},this);this._ticket=i,h=c(n,i,m)}else h=c;f.setContent(h,u,t,d,s),f.show(t,d),this._updatePosition(t,s,a,o,f,n,l)}},e.prototype._getNearestPoint=function(t,r,n,i,a){if(n==="axis"||ae(r))return{color:i||a};if(!ae(r))return{color:i||r.color||r.borderColor}},e.prototype._updatePosition=function(t,r,n,i,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();r=r||t.get("position");var f=a.getSize(),c=t.get("align"),h=t.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),me(r)&&(r=r([n,i],o,a.el,v,{viewSize:[l,u],contentSize:f.slice()})),ae(r))n=ht(r[0],l),i=ht(r[1],u);else if(he(r)){var d=r;d.width=f[0],d.height=f[1];var g=Ri(d,{width:l,height:u});n=g.x,i=g.y,c=null,h=null}else if(le(r)&&s){var p=o2(r,v,f,t.get("borderWidth"));n=p[0],i=p[1]}else{var p=i2(n,i,a,l,u,c?null:20,h?null:20);n=p[0],i=p[1]}if(c&&(n-=Q_(c)?f[0]/2:c==="right"?f[0]:0),h&&(i-=Q_(h)?f[1]/2:h==="bottom"?f[1]:0),d_(t)){var p=a2(n,i,a,l,u);n=p[0],i=p[1]}a.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,r){var n=this._lastDataByCoordSys,i=this._cbParamsList,a=!!n&&n.length===t.length;return a&&b(n,function(o,s){var l=o.dataByAxis||[],u=t[s]||{},f=u.dataByAxis||[];a=a&&l.length===f.length,a&&b(l,function(c,h){var v=f[h]||{},d=c.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&c.value===v.value&&c.axisType===v.axisType&&c.axisId===v.axisId&&d.length===g.length,a&&b(d,function(p,B){var m=g[B];a=a&&p.seriesIndex===m.seriesIndex&&p.dataIndex===m.dataIndex}),i&&b(c.seriesDataIndices,function(p){var B=p.seriesIndex,m=r[B],y=i[B];m&&y&&y.data!==m.data&&(a=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=r,!!a},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,r){_e.node||!r.getDom()||(kl(this,"_updatePosition"),this._tooltipContent.dispose(),Bd("itemTooltip",r))},e.type="tooltip",e})(xA);function bo(A,e,t){var r=e.ecModel,n;t?(n=new et(t,r,r),n=new et(e.option,n,r)):n=e;for(var i=A.length-1;i>=0;i--){var a=A[i];a&&(a instanceof et&&(a=a.get("tooltip",!0)),le(a)&&(a={formatter:a}),a&&(n=new et(a,n,r)))}return n}function __(A,e){return A.dispatchAction||ye(e.dispatchAction,e)}function i2(A,e,t,r,n,i,a){var o=t.getSize(),s=o[0],l=o[1];return i!=null&&(A+s+i+2>r?A-=s+i:A+=i),a!=null&&(e+l+a>n?e-=l+a:e+=a),[A,e]}function a2(A,e,t,r,n){var i=t.getSize(),a=i[0],o=i[1];return A=Math.min(A+a,r)-a,e=Math.min(e+o,n)-o,A=Math.max(A,0),e=Math.max(e,0),[A,e]}function o2(A,e,t,r){var n=t[0],i=t[1],a=Math.ceil(Math.SQRT2*r)+8,o=0,s=0,l=e.width,u=e.height;switch(A){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-i/2;break;case"top":o=e.x+l/2-n/2,s=e.y-i-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-i/2;break;case"right":o=e.x+l+a,s=e.y+u/2-i/2}return[o,s]}function Q_(A){return A==="center"||A==="middle"}function s2(A,e,t){var r=Ic(A).queryOptionMap,n=r.keys()[0];if(!(!n||n==="series")){var i=Da(e,n,r.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),a=i.models[0];if(a){var o=t.getViewOfComponentModel(a),s;if(o.group.traverse(function(l){var u=Le(l).tooltipConfig;if(u&&u.name===A.name)return s=l,!0}),s)return{componentMainType:n,componentIndex:a.componentIndex,el:s}}}}function l2(A){qA(o_),A.registerComponentModel(zH),A.registerComponentView(n2),A.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Dt),A.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Dt)}var u2=function(A,e){if(e==="all")return{type:"all",title:A.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:A.getLocaleModel().get(["legend","selector","inverse"])}},wd=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),this._updateSelector(t)},e.prototype._updateSelector=function(t){var r=t.selector,n=this.ecModel;r===!0&&(r=t.selector=["all","inverse"]),ae(r)&&b(r,function(i,a){le(i)&&(i={type:i}),r[a]=Oe(i,u2(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var r=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),r=!0;break}}!r&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var r=[],n=[];t.eachRawSeries(function(s){var l=s.name;n.push(l);var u;if(s.legendVisualProvider){var f=s.legendVisualProvider,c=f.getAllNames();t.isSeriesFiltered(s)||(n=n.concat(c)),c.length?r=r.concat(c):u=!0}else u=!0;u&&Sc(s)&&r.push(s.name)}),this._availableNames=n;var i=this.get("data")||r,a=we(),o=Be(i,function(s){return(le(s)||Ye(s))&&(s={name:s}),a.get(s.name)?null:(a.set(s.name,!0),new et(s,this,this.ecModel))},this);this._data=rt(o,function(s){return!!s})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var r=this.option.selected,n=this.get("selectedMode");if(n==="single"){var i=this._data;b(i,function(a){r[a.get("name")]=!1})}r[t]=!0},e.prototype.unSelect=function(t){this.get("selectedMode")!=="single"&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var r=this.option.selected;r.hasOwnProperty(t)||(r[t]=!0),this[r[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){r[n.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){var i=n.get("name",!0);r.hasOwnProperty(i)||(r[i]=!0),r[i]=!r[i]})},e.prototype.isSelected=function(t){var r=this.option.selected;return!(r.hasOwnProperty(t)&&!r[t])&&Te(this._availableNames,t)>=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:oe.size.m,align:"auto",backgroundColor:oe.color.transparent,borderColor:oe.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:oe.color.disabled,inactiveBorderColor:oe.color.disabled,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:oe.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:oe.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:oe.color.tertiary,borderWidth:1,borderColor:oe.color.border},emphasis:{selectorLabel:{show:!0,color:oe.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},e})(Re),Aa=nt,Cd=b,Fu=lt,x_=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Fu),this.group.add(this._selectorGroup=new Fu),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,r,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var a=t.get("align"),o=t.get("orient");(!a||a==="auto")&&(a=t.get("left")==="right"&&o==="vertical"?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);s&&(!l||l==="auto")&&(l=o==="horizontal"?"end":"start"),this.renderInner(a,t,r,n,s,o,l);var u=Vh(t,n).refContainer,f=t.getBoxLayoutParams(),c=t.get("padding"),h=Ri(f,u,c),v=this.layoutInner(t,a,h,i,s,l),d=Ri(Ne({width:v.width,height:v.height},f),u,c);this.group.x=d.x-v.x,this.group.y=d.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=GH(v,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this.getContentGroup(),u=we(),f=r.get("selectedMode"),c=r.get("triggerEvent"),h=[];n.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),Cd(r.getData(),function(v,d){var g=this,p=v.get("name");if(!this.newlineDisabled&&(p===""||p===`
44
- `)){var B=new Fu;B.newline=!0,l.add(B);return}var m=n.getSeriesByName(p)[0];if(!u.get(p)){if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},C=y.getVisual("legendIcon"),Q=y.getVisual("style"),x=this._createItem(m,p,d,v,r,t,_,Q,C,f,i);x.on("click",Aa(F_,p,null,i,h)).on("mouseover",Aa(_d,m.name,null,i,h)).on("mouseout",Aa(Qd,m.name,null,i,h)),n.ssr&&x.eachChild(function(F){var S=Le(F);S.seriesIndex=m.seriesIndex,S.dataIndex=d,S.ssrType="legend"}),c&&x.eachChild(function(F){g.packEventData(F,r,m,d,p)}),u.set(p,!0)}else n.eachRawSeries(function(F){var S=this;if(!u.get(p)&&F.legendVisualProvider){var E=F.legendVisualProvider;if(!E.containName(p))return;var I=E.indexOfName(p),U=E.getItemVisual(I,"style"),T=E.getItemVisual(I,"legendIcon"),L=HA(U.fill);L&&L[3]===0&&(L[3]=.2,U=Y(Y({},U),{fill:Qa(L,"rgba")}));var P=this._createItem(F,p,d,v,r,t,{},U,T,f,i);P.on("click",Aa(F_,null,p,i,h)).on("mouseover",Aa(_d,null,p,i,h)).on("mouseout",Aa(Qd,null,p,i,h)),n.ssr&&P.eachChild(function(Z){var V=Le(Z);V.seriesIndex=F.seriesIndex,V.dataIndex=d,V.ssrType="legend"}),c&&P.eachChild(function(Z){S.packEventData(Z,r,F,d,p)}),u.set(p,!0)}},this);process.env.NODE_ENV!=="production"&&(u.get(p)||console.warn(p+" series not exists. Legend data should be same with series name or data name."))}},this),a&&this._createSelector(a,r,i,o,s)},e.prototype.packEventData=function(t,r,n,i,a){var o={componentType:"legend",componentIndex:r.componentIndex,dataIndex:i,value:a,seriesIndex:n.seriesIndex};Le(t).eventData=o},e.prototype._createSelector=function(t,r,n,i,a){var o=this.getSelectorGroup();Cd(t,function(l){var u=l.type,f=new Ot({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:u==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});o.add(f);var c=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);pl(f,{normal:c,emphasis:h},{defaultText:l.title}),$s(f)})},e.prototype._createItem=function(t,r,n,i,a,o,s,l,u,f,c){var h=t.visualDrawType,v=a.get("itemWidth"),d=a.get("itemHeight"),g=a.isSelected(r),p=i.get("symbolRotate"),B=i.get("symbolKeepAspect"),m=i.get("icon");u=m||u||"roundRect";var y=f2(u,i,s,l,h,g,c),_=new Fu,C=i.getModel("textStyle");if(me(t.getLegendIcon)&&(!m||m==="inherit"))_.add(t.getLegendIcon({itemWidth:v,itemHeight:d,icon:u,iconRotate:p,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:B}));else{var Q=m==="inherit"&&t.getData().getVisual("symbol")?p==="inherit"?t.getData().getVisual("symbolRotate"):p:0;_.add(c2({itemWidth:v,itemHeight:d,icon:u,iconRotate:Q,itemStyle:y.itemStyle,symbolKeepAspect:B}))}var x=o==="left"?v+5:-5,F=o,S=a.get("formatter"),E=r;le(S)&&S?E=S.replace("{name}",r??""):me(S)&&(E=S(r));var I=g?C.getTextColor():i.get("inactiveColor");_.add(new Ot({style:In(C,{text:E,x,y:d/2,fill:I,align:F,verticalAlign:"middle"},{inheritColor:I})}));var U=new qe({shape:_.getBoundingRect(),style:{fill:"transparent"}}),T=i.getModel("tooltip");return T.get("show")&&cl({el:U,componentModel:a,itemName:r,itemTooltipOption:T.option}),_.add(U),_.eachChild(function(L){L.silent=!0}),U.silent=!f,this.getContentGroup().add(_),$s(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getContentGroup(),l=this.getSelectorGroup();Xa(t.get("orient"),s,t.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),f=[-u.x,-u.y];if(l.markRedraw(),s.markRedraw(),a){Xa("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),h=[-c.x,-c.y],v=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",p=d===0?"height":"width",B=d===0?"y":"x";o==="end"?h[d]+=u[g]+v:f[d]+=c[g]+v,h[1-d]+=u[p]/2-c[p]/2,l.x=h[0],l.y=h[1],s.x=f[0],s.y=f[1];var m={x:0,y:0};return m[g]=u[g]+v+c[g],m[p]=Math.max(u[p],c[p]),m[B]=Math.min(0,c[B]+h[1-d]),m}else return s.x=f[0],s.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e})(xA);function f2(A,e,t,r,n,i,a){function o(g,p){g.lineWidth==="auto"&&(g.lineWidth=p.lineWidth>0?2:0),Cd(g,function(B,m){g[m]==="inherit"&&(g[m]=p[m])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=A.lastIndexOf("empty",0)===0?"fill":"stroke",f=s.getShallow("decal");l.decal=!f||f==="inherit"?r.decal:fv(f,a),l.fill==="inherit"&&(l.fill=r[n]),l.stroke==="inherit"&&(l.stroke=r[u]),l.opacity==="inherit"&&(l.opacity=(n==="fill"?r:t).opacity),o(l,r);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(o(h,t),l.fill==="auto"&&(l.fill=r.fill),l.stroke==="auto"&&(l.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!i){var v=e.get("inactiveBorderWidth"),d=l[u];l.lineWidth=v==="auto"?r.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:h}}function c2(A){var e=A.icon||"roundRect",t=Or(e,0,0,A.itemWidth,A.itemHeight,A.itemStyle.fill,A.symbolKeepAspect);return t.setStyle(A.itemStyle),t.rotation=(A.iconRotate||0)*Math.PI/180,t.setOrigin([A.itemWidth/2,A.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill=oe.color.neutral00,t.style.lineWidth=2),t}function F_(A,e,t,r){Qd(A,e,t,r),t.dispatchAction({type:"legendToggleSelect",name:A??e}),_d(A,e,t,r)}function E_(A){for(var e=A.getZr().storage.getDisplayList(),t,r=0,n=e.length;r<n&&!(t=e[r].states.emphasis);)r++;return t&&t.hoverLayer}function _d(A,e,t,r){E_(t)||t.dispatchAction({type:"highlight",seriesName:A,name:e,excludeSeriesId:r})}function Qd(A,e,t,r){E_(t)||t.dispatchAction({type:"downplay",seriesName:A,name:e,excludeSeriesId:r})}function h2(A){var e=A.findComponents({mainType:"legend"});e&&e.length&&A.filterSeries(function(t){for(var r=0;r<e.length;r++)if(!e[r].isSelected(t.name))return!1;return!0})}function So(A,e,t){var r=A==="allSelect"||A==="inverseSelect",n={},i=[];t.eachComponent({mainType:"legend",query:e},function(o){r?o[A]():o[A](e.name),b_(o,n),i.push(o.componentIndex)});var a={};return t.eachComponent("legend",function(o){b(n,function(s,l){o[s?"select":"unSelect"](l)}),b_(o,a)}),r?{selected:a,legendIndex:i}:{name:e.name,selected:a}}function b_(A,e){var t=e||{};return b(A.getData(),function(r){var n=r.get("name");if(!(n===`
45
- `||n==="")){var i=A.isSelected(n);mA(t,n)?t[n]=t[n]&&i:t[n]=i}}),t}function v2(A){A.registerAction("legendToggleSelect","legendselectchanged",nt(So,"toggleSelected")),A.registerAction("legendAllSelect","legendselectall",nt(So,"allSelect")),A.registerAction("legendInverseSelect","legendinverseselect",nt(So,"inverseSelect")),A.registerAction("legendSelect","legendselected",nt(So,"select")),A.registerAction("legendUnSelect","legendunselected",nt(So,"unSelect"))}function S_(A){A.registerComponentModel(wd),A.registerComponentView(x_),A.registerProcessor(A.PRIORITY.PROCESSOR.SERIES_FILTER,h2),A.registerSubTypeDefaulter("legend",function(){return"plain"}),v2(A)}var d2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,r,n){var i=Ni(t);A.prototype.init.call(this,t,r,n),U_(this,t,i)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),U_(this,this.option,t)},e.type="legend.scroll",e.defaultOption=ml(wd.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:oe.color.accent50,pageIconInactiveColor:oe.color.accent10,pageIconSize:15,pageTextStyle:{color:oe.color.tertiary},animationDurationUpdate:800}),e})(wd);function U_(A,e,t){var r=A.getOrient(),n=[1,1];n[r.index]=0,Mr(e,t,{type:"box",ignoreSize:!!n})}var I_=lt,xd=["width","height"],Fd=["x","y"],p2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){A.prototype.init.call(this),this.group.add(this._containerGroup=new I_),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new I_)},e.prototype.resetInner=function(){A.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this;A.prototype.renderInner.call(this,t,r,n,i,a,o,s);var u=this._controllerGroup,f=r.get("pageIconSize",!0),c=ae(f)?f:[f,f];v("pagePrev",0);var h=r.getModel("pageTextStyle");u.add(new Ot({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(d,g){var p=d+"DataIndex",B=gh(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:ye(l._pageGo,l,p,r,i)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});B.name=d,u.add(B)}},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getSelectorGroup(),l=t.getOrient().index,u=xd[l],f=Fd[l],c=xd[1-l],h=Fd[1-l];a&&Xa("horizontal",s,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],p=Ue(n);a&&(p[u]=n[u]-d[u]-v);var B=this._layoutContentAndController(t,i,p,l,u,c,h,f);if(a){if(o==="end")g[l]+=B[u]+v;else{var m=d[u]+v;g[l]-=m,B[f]-=m}B[u]+=d[u]+v,g[1-l]+=B[h]+B[c]/2-d[c]/2,B[c]=Math.max(B[c],d[c]),B[h]=Math.min(B[h],d[h]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return B},e.prototype._layoutContentAndController=function(t,r,n,i,a,o,s,l){var u=this.getContentGroup(),f=this._containerGroup,c=this._controllerGroup;Xa(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),Xa("horizontal",c,t.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),v=c.getBoundingRect(),d=this._showController=h[a]>n[a],g=[-h.x,-h.y];r||(g[i]=u[l]);var p=[0,0],B=[-v.x,-v.y],m=ve(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var y=t.get("pageButtonPosition",!0);y==="end"?B[i]+=n[a]-v[a]:p[i]+=v[a]+m}B[1-i]+=h[o]/2-v[o]/2,u.setPosition(g),f.setPosition(p),c.setPosition(B);var _={x:0,y:0};if(_[a]=d?n[a]:h[a],_[o]=Math.max(h[o],v[o]),_[s]=Math.min(0,v[s]+B[1-i]),f.__rectSize=n[a],d){var C={x:0,y:0};C[a]=Math.max(n[a]-v[a]-m,0),C[o]=_[o],f.setClipPath(new qe({shape:C})),f.__rectSize=C[a]}else c.eachChild(function(x){x.attr({invisible:!0,silent:!0})});var Q=this._getPageInfo(t);return Q.pageIndex!=null&&Et(u,{x:Q.contentPosition[0],y:Q.contentPosition[1]},d?t:null),this._updatePageInfoView(t,Q),_},e.prototype._pageGo=function(t,r,n){var i=this._getPageInfo(r)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},e.prototype._updatePageInfoView=function(t,r){var n=this._controllerGroup;b(["pagePrev","pageNext"],function(u){var f=u+"DataIndex",c=r[f]!=null,h=n.childOfName(u);h&&(h.setStyle("fill",c?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),h.cursor=c?"pointer":"default")});var i=n.childOfName("pageText"),a=t.get("pageFormatter"),o=r.pageIndex,s=o!=null?o+1:0,l=r.pageCount;i&&a&&i.setStyle("text",le(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",l==null?"":l+""):a({current:s,total:l}))},e.prototype._getPageInfo=function(t){var r=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,a=t.getOrient().index,o=xd[a],s=Fd[a],l=this._findTargetItemIndex(r),u=n.children(),f=u[l],c=u.length,h=c?1:0,v={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var d=y(f);v.contentPosition[a]=-d.s;for(var g=l+1,p=d,B=d,m=null;g<=c;++g)m=y(u[g]),(!m&&B.e>p.s+i||m&&!_(m,p.s))&&(B.i>p.i?p=B:p=m,p&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=p.i),++v.pageCount)),B=m;for(var g=l-1,p=d,B=d,m=null;g>=-1;--g)m=y(u[g]),(!m||!_(B,m.s))&&p.i<B.i&&(B=p,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=p.i),++v.pageCount,++v.pageIndex),p=m;return v;function y(C){if(C){var Q=C.getBoundingRect(),x=Q[s]+C[s];return{s:x,e:x+Q[o],i:C.__legendDataIndex}}}function _(C,Q){return C.e>=Q&&C.s<=Q+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var r,n=this.getContentGroup(),i;return n.eachChild(function(a,o){var s=a.__legendDataIndex;i==null&&s!=null&&(i=o),s===t&&(r=o)}),r??i},e.type="legend.scroll",e})(x_);function g2(A){A.registerAction("legendScroll","legendscroll",function(e,t){var r=e.scrollDataIndex;r!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(r)})})}function B2(A){qA(S_),A.registerComponentModel(d2),A.registerComponentView(p2),g2(A)}function m2(A){qA(S_),qA(B2)}var y2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=ml(xu.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e})(xu),Ed=ze();function w2(A,e,t){Ed(A).coordSysRecordMap.each(function(r){var n=r.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function C2(A,e){for(var t=Ed(A).coordSysRecordMap,r=t.keys(),n=0;n<r.length;n++){var i=r[n],a=t.get(i),o=a.dataZoomInfoMap;if(o){var s=e.uid,l=o.get(s);l&&(o.removeKey(s),o.keys().length||T_(t,a))}}}function T_(A,e){if(e){A.removeKey(e.model.uid);var t=e.controller;t&&t.dispose()}}function _2(A,e){var t={model:e,containsPoint:nt(x2,e),dispatchAction:nt(Q2,A),dataZoomInfoMap:null,controller:null},r=t.controller=new sH(A.getZr());return b(["pan","zoom","scrollMove"],function(n){r.on(n,function(i){var a=[];t.dataZoomInfoMap.each(function(o){if(i.isAvailableBehavior(o.model.option)){var s=(o.getRange||{})[n],l=s&&s(o.dzReferCoordSysInfo,t.model.mainType,t.controller,i);!o.model.get("disabled",!0)&&l&&a.push({dataZoomId:o.model.id,start:l[0],end:l[1]})}}),a.length&&t.dispatchAction(a)})}),t}function Q2(A,e){A.isDisposed()||A.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function x2(A,e,t,r){return A.coordinateSystem.containPoint([t,r])}function F2(A,e,t){var r,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return A.each(function(o){var s=o.model,l=s.get("disabled",!0)?!1:s.get("zoomLock",!0)?"move":!0;i[n+l]>i[n+r]&&(r=l),a=a&&s.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a,api:t,zInfo:{component:e.model},triggerInfo:{roamTrigger:null,isInSelf:e.containsPoint}}}}function E2(A){A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,function(e,t){var r=Ed(t),n=r.coordSysRecordMap||(r.coordSysRecordMap=we());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var a=l_(i);b(a.infoList,function(o){var s=o.model.uid,l=n.get(s)||n.set(s,_2(t,o.model)),u=l.dataZoomInfoMap||(l.dataZoomInfoMap=we());u.set(i.uid,{dzReferCoordSysInfo:o,model:i,getRange:null})})}),n.each(function(i){var a=i.controller,o,s=i.dataZoomInfoMap;if(s){var l=s.keys()[0];l!=null&&(o=s.get(l))}if(!o){T_(n,i);return}var u=F2(s,i,t);a.enable(u.controlType,u.opt),Pl(i,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var b2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,r,n){if(A.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),w2(n,t,{pan:ye(bd.pan,this),zoom:ye(bd.zoom,this),scrollMove:ye(bd.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){C2(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e})(f_),bd={zoom:function(A,e,t,r){var n=this.range,i=n.slice(),a=A.axisModels[0];if(a){var o=Sd[e](null,[r.originX,r.originY],a,t,A),s=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(i[1]-i[0])+i[0],l=Math.max(1/r.scale,0);i[0]=(i[0]-s)*l+s,i[1]=(i[1]-s)*l+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Eo(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:D_(function(A,e,t,r,n,i){var a=Sd[r]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return a.signal*(A[1]-A[0])*a.pixel/a.pixelLength}),scrollMove:D_(function(A,e,t,r,n,i){var a=Sd[r]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return a.signal*(A[1]-A[0])*i.scrollDelta})};function D_(A){return function(e,t,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=A(a,o,e,t,r,n);if(Eo(s,a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}}}var Sd={grid:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem.getRect();return A=A||[0,0],i.dim==="x"?(a.pixel=e[0]-A[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=i.inverse?-1:1),a},polar:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem,s=o.getRadiusAxis().getExtent(),l=o.getAngleAxis().getExtent();return A=A?o.pointToCoord(A):[0,0],e=o.pointToCoord(e),t.mainType==="radiusAxis"?(a.pixel=e[0]-A[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=i.inverse?-1:1),a},singleAxis:function(A,e,t,r,n){var i=t.axis,a=n.model.coordinateSystem.getRect(),o={};return A=A||[0,0],i.orient==="horizontal"?(o.pixel=e[0]-A[0],o.pixelLength=a.width,o.pixelStart=a.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-A[1],o.pixelLength=a.height,o.pixelStart=a.y,o.signal=i.inverse?-1:1),o}};function S2(A){v_(A),A.registerComponentModel(y2),A.registerComponentView(b2),E2(A)}var U2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ml(xu.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:oe.color.accent10,borderRadius:0,backgroundColor:oe.color.transparent,dataBackground:{lineStyle:{color:oe.color.accent30,width:.5},areaStyle:{color:oe.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:oe.color.accent40,width:.5},areaStyle:{color:oe.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:oe.color.neutral00,borderColor:oe.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:oe.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:oe.color.tertiary},brushSelect:!0,brushStyle:{color:oe.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:oe.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e})(xu),Uo=qe,I2=1,Ud=30,T2=7,Io="horizontal",L_="vertical",D2=5,L2=["line","bar","candlestick","scatter"],M2={easing:"cubicOut",duration:100,delay:0},H2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,r){this.api=r,this._onBrush=ye(this._onBrush,this),this._onBrushEnd=ye(this._onBrushEnd,this)},e.prototype.render=function(t,r,n,i){if(A.prototype.render.apply(this,arguments),Pl(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){kl(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new lt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(r),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,r=this.api,n=t.get("brushSelect"),i=n?T2:0,a=Vh(t,r).refContainer,o=this._findCoordRect(),s=t.get("defaultLocationEdgeGap",!0)||0,l=this._orient===Io?{right:a.width-o.x-o.width,top:a.height-Ud-s-i,width:o.width,height:Ud}:{right:s,top:o.y,width:Ud,height:o.height},u=Ni(t.option);b(["right","top","width","height"],function(c){u[c]==="ph"&&(u[c]=l[c])});var f=Ri(u,a);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===L_&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,r=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),o=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===Io&&!a?{scaleY:s?1:-1,scaleX:1}:n===Io&&a?{scaleY:s?1:-1,scaleX:-1}:n===L_&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var l=t.getBoundingRect([o]);t.x=r.x-l.x,t.y=r.y-l.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,r=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new Uo({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var a=new Uo({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:ye(this._onClickPanel,this)}),o=this.api.getZr();i?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(a)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var r=this._size,n=this._shadowSize||[],i=t.series,a=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),s=o&&a.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(s==null)return;var l=this._shadowPolygonPts,u=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==n[0]||r[1]!==n[1]){var f=a.getDataExtent(t.thisDim),c=a.getDataExtent(s),h=(c[1]-c[0])*.3;c=[c[0]-h,c[1]+h];var v=[0,r[1]],d=[0,r[0]],g=[[r[0],0],[0,0]],p=[],B=d[1]/Math.max(1,a.count()-1),m=r[0]/(f[1]-f[0]),y=t.thisAxis.type==="time",_=-B,C=Math.round(a.count()/r[0]),Q;a.each([t.thisDim,s],function(I,U,T){if(C>0&&T%C){y||(_+=B);return}_=y?(+I-f[0])*m:_+B;var L=U==null||isNaN(U)||U==="",P=L?0:dt(U,c,v,!0);L&&!Q&&T?(g.push([g[g.length-1][0],0]),p.push([p[p.length-1][0],0])):!L&&Q&&(g.push([_,0]),p.push([_,0])),L||(g.push([_,P]),p.push([_,P])),Q=L}),l=this._shadowPolygonPts=g,u=this._shadowPolylinePts=p}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function F(I){var U=x.getModel(I?"selectedDataBackground":"dataBackground"),T=new lt,L=new nl({shape:{points:l},segmentIgnoreThreshold:1,style:U.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),P=new ka({shape:{points:u},segmentIgnoreThreshold:1,style:U.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return T.add(L),T.add(P),T}for(var S=0;S<3;S++){var E=F(S===1);this._displayables.sliderGroup.add(E),this._displayables.dataShadowSegs.push(E)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,r=t.get("showDataShadow");if(r!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(a,o){var s=t.getAxisProxy(a,o).getTargetSeriesModels();b(s,function(l){if(!n&&!(r!==!0&&Te(L2,l.get("type"))<0)){var u=i.getComponent(Yr(a),o).axis,f=O2(a),c,h=l.coordinateSystem;f!=null&&h.getOtherAxis&&(c=h.getOtherAxis(u).inverse),f=l.getData().mapDimension(f);var v=l.getData().mapDimension(a);n={thisAxis:u,series:l,thisDim:v,otherDim:f,otherAxisInverse:c}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,r=this._displayables,n=r.handles=[null,null],i=r.handleLabels=[null,null],a=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,f=s.get("brushSelect"),c=r.filler=new Uo({silent:f,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(c),a.add(new Uo({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:I2,fill:oe.color.transparent}})),b([0,1],function(m){var y=s.get("handleIcon");!Gl[y]&&y.indexOf("path://")<0&&y.indexOf("image://")<0&&(y="path://"+y,process.env.NODE_ENV!=="production"&&PA("handleIcon now needs 'path://' prefix when using a path string"));var _=Or(y,-1,0,2,2,null,!0);_.attr({cursor:R2(this._orient),draggable:!0,drift:ye(this._onDragMove,this,m),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1),z2:5});var C=_.getBoundingRect(),Q=s.get("handleSize");this._handleHeight=ht(Q,this._size[1]),this._handleWidth=C.width/C.height*this._handleHeight,_.setStyle(s.getModel("handleStyle").getItemStyle()),_.style.strokeNoScale=!0,_.rectHover=!0,_.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),$s(_);var x=s.get("handleColor");x!=null&&(_.style.fill=x),a.add(n[m]=_);var F=s.getModel("textStyle"),S=s.get("handleLabel")||{},E=S.show||!1;t.add(i[m]=new Ot({silent:!0,invisible:!E,style:In(F,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:F.getTextColor(),font:F.getFont()}),z2:10}))},this);var h=c;if(f){var v=ht(s.get("moveHandleSize"),o[1]),d=r.moveHandle=new qe({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:v}}),g=v*.8,p=r.moveHandleIcon=Or(s.get("moveHandleIcon"),-g/2,-g/2,g,g,oe.color.neutral00,!0);p.silent=!0,p.y=o[1]+v/2-.5,d.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var B=Math.min(o[1]/2,Math.max(v,10));h=r.moveZone=new qe({invisible:!0,shape:{y:o[1]-B,height:v+B}}),h.on("mouseover",function(){l.enterEmphasis(d)}).on("mouseout",function(){l.leaveEmphasis(d)}),a.add(d),a.add(p),a.add(h)}h.attr({draggable:!0,cursor:"default",drift:ye(this._onDragMove,this,"all"),ondragstart:ye(this._showDataInfo,this,!0),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[dt(t[0],[0,100],r,!0),dt(t[1],[0,100],r,!0)]},e.prototype._updateInterval=function(t,r){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];Eo(r,i,a,n.get("zoomLock")?"all":t,o.minSpan!=null?dt(o.minSpan,s,a,!0):null,o.maxSpan!=null?dt(o.maxSpan,s,a,!0):null);var l=this._range,u=this._range=Ua([dt(i[0],a,s,!0),dt(i[1],a,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(t){var r=this._displayables,n=this._handleEnds,i=Ua(n.slice()),a=this._size;b([0,1],function(h){var v=r.handles[h],d=this._handleHeight;v.attr({scaleX:d/2,scaleY:d/2,x:n[h]+(h?-1:1),y:a[1]/2-d/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]});var o={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(o),r.moveZone.setShape(o),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",o.x+o.width/2));for(var s=r.dataShadowSegs,l=[0,i[0],i[1],a[0]],u=0;u<s.length;u++){var f=s[u],c=f.getClipPath();c||(c=new qe,f.setClipPath(c)),c.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:a[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var r=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(r.get("showDetail")){var s=r.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,f=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(f[0],l),this._formatLabel(f[1],l)]}}var c=Ua(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(v){var d=gB(n.handles[v].parent,this.group),g=BB(v===0?"right":"left",d),p=this._handleWidth/2+D2,B=Ka([c[v]+(v===0?-p:p),this._size[1]/2],d);i[v].setStyle({x:B[0],y:B[1],verticalAlign:a===Io?"middle":g,align:a===Io?g:"center",text:o[v]})}},e.prototype._formatLabel=function(t,r){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");(a==null||a==="auto")&&(a=r.getPixelPrecision());var o=t==null||isNaN(t)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(a,20));return me(i)?i(t,o):le(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var r=this.dataZoomModel.get("handleLabel")||{},n=r.show||!1,i=this.dataZoomModel.getModel(["emphasis","handleLabel"]),a=i.get("show")||!1,o=t||this._dragging?a:n,s=this._displayables,l=s.handleLabels;l[0].attr("invisible",!o),l[1].attr("invisible",!o),s.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](s.moveHandle,1)},e.prototype._onDragMove=function(t,r,n,i){this._dragging=!0,hi(i.event);var a=this._displayables.sliderGroup.getLocalTransform(),o=Ka([r,n],a,!0),s=this._updateInterval(t,o[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),s&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var r=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>r[0]||n[1]<0||n[1]>r[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var r=t.offsetX,n=t.offsetY;this._brushStart=new be(r,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var n=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var a=this._getViewExtent(),o=[0,100],s=this._handleEnds=[n.x,n.x+n.width],l=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();Eo(0,s,a,0,l.minSpan!=null?dt(l.minSpan,o,a,!0):null,l.maxSpan!=null?dt(l.maxSpan,o,a,!0):null),this._range=Ua([dt(s[0],a,o,!0),dt(s[1],a,o,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(hi(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,r){var n=this._displayables,i=this.dataZoomModel,a=n.brushRect;a||(a=n.brushRect=new Uo({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(a)),a.attr("ignore",!1);var o=this._brushStart,s=this._displayables.sliderGroup,l=s.transformCoordToLocal(t,r),u=s.transformCoordToLocal(o.x,o.y),f=this._size;l[0]=Math.max(Math.min(f[0],l[0]),0),a.setShape({x:u[0],y:0,width:l[0]-u[0],height:f[1]})},e.prototype._dispatchZoomAction=function(t){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?M2:null,start:r[0],end:r[1]})},e.prototype._findCoordRect=function(){var t,r=l_(this.dataZoomModel).infoList;if(!t&&r.length){var n=r[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),a=this.api.getHeight();t={x:i*.2,y:a*.2,width:i*.6,height:a*.6}}return t},e.type="dataZoom.slider",e})(f_);function O2(A){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[A]}function R2(A){return A==="vertical"?"ns-resize":"ew-resize"}function N2(A){A.registerComponentModel(U2),A.registerComponentView(H2),v_(A)}function P2(A){qA(S2),qA(N2)}function M_(A,e,t){var r=rr.createCanvas(),n=e.getWidth(),i=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=i+"px",r.setAttribute("data-zr-dom-id",A)),r.width=n*t,r.height=i*t,r}var Id=(function(A){J(e,A);function e(t,r,n){var i=A.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var a;n=n||Qs,typeof t=="string"?a=M_(t,r,n):he(t)&&(a=t,t=a.id),i.id=t,i.dom=a;var o=a.style;return o&&(Op(a),a.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),i.painter=r,i.dpr=n,i}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=M_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),t!==1&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,r,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a=[],o=this.maxRepaintRectCount,s=!1,l=new Fe(0,0,0,0);function u(B){if(!(!B.isFinite()||B.isZero()))if(a.length===0){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}else{for(var y=!1,_=1/0,C=0,Q=0;Q<a.length;++Q){var x=a[Q];if(x.intersect(B)){var F=new Fe(0,0,0,0);F.copy(x),F.union(B),a[Q]=F,y=!0;break}else if(s){l.copy(B),l.union(x);var S=B.width*B.height,E=x.width*x.height,I=l.width*l.height,U=I-S-E;U<_&&(_=U,C=Q)}}if(s&&(a[C].union(B),y=!0),!y){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}s||(s=a.length>=o)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var c=t[f];if(c){var h=c.shouldBePainted(n,i,!0,!0),v=c.__isRendered&&(c.__dirty&Zt||!h)?c.getPrevPaintRect():null;v&&u(v);var d=h&&(c.__dirty&Zt||!c.__isRendered)?c.getPaintRect():null;d&&u(d)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var c=r[f],h=c&&c.shouldBePainted(n,i,!0,!0);if(c&&(!h||!c.__zr)&&c.__isRendered){var v=c.getPrevPaintRect();v&&u(v)}}var g;do{g=!1;for(var f=0;f<a.length;){if(a[f].isZero()){a.splice(f,1);continue}for(var p=f+1;p<a.length;)a[f].intersect(a[p])?(g=!0,a[f].union(a[p]),a.splice(p,1)):p++;f++}}while(g);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,r){var n=this.dpr,i=this.dom,a=i.style,o=this.domBack;a&&(a.width=t+"px",a.height=r+"px"),i.width=t*n,i.height=r*n,o&&(o.width=t*n,o.height=r*n,n!==1&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,r,n){var i=this.dom,a=this.ctx,o=i.width,s=i.height;r=r||this.clearColor;var l=this.motionBlur&&!t,u=this.lastFrameAlpha,f=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/f,s/f));var h=this.domBack;function v(d,g,p,B){if(a.clearRect(d,g,p,B),r&&r!=="transparent"){var m=void 0;if(rs(r)){var y=r.global||r.__width===p&&r.__height===B;m=y&&r.__canvasGradient||sv(a,r,{x:0,y:0,width:p,height:B}),r.__canvasGradient=m,r.__width=p,r.__height=B}else ax(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,m=lv(a,r,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));a.save(),a.fillStyle=m||r,a.fillRect(d,g,p,B),a.restore()}l&&(a.save(),a.globalAlpha=u,a.drawImage(h,d,g,p,B),a.restore())}!n||l?v(0,0,o,s):n.length&&b(n,function(d){v(d.x*f,d.y*f,d.width*f,d.height*f)})},e})(yA),H_=1e5,Jn=314159,Eu=.01,k2=.001;function V2(A){return A?A.__builtin__?!0:!(typeof A.resize!="function"||typeof A.refresh!="function"):!1}function K2(A,e){var t=document.createElement("div");return t.style.cssText=["position:relative","width:"+A+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",t}var G2=(function(){function A(e,t,r,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=Y({},r||{}),this.dpr=r.devicePixelRatio||Qs,this._singleCanvas=i,this.root=e;var a=e.style;a&&(Op(e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,f=u.width,c=u.height;r.width!=null&&(f=r.width),r.height!=null&&(c=r.height),this.dpr=r.devicePixelRatio||1,u.width=f*this.dpr,u.height=c*this.dpr,this._width=f,this._height=c;var h=new Id(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Jn]=h,h.zlevel=Jn,o.push(Jn),this._domRoot=e}else{this._width=Wl(e,0,r),this._height=Wl(e,1,r);var l=this._domRoot=K2(this._width,this._height);e.appendChild(l)}}return A.prototype.getType=function(){return"canvas"},A.prototype.isSingleCanvas=function(){return this._singleCanvas},A.prototype.getViewportRoot=function(){return this._domRoot},A.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},A.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,r,e,this._redrawId);for(var i=0;i<n.length;i++){var a=n[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=i===0?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},A.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},A.prototype._paintHoverList=function(e){var t=e.length,r=this._hoverlayer;if(r&&r.clear(),!!t){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,a=0;a<t;a++){var o=e[a];o.__inHover&&(r||(r=this._hoverlayer=this.getLayer(H_)),i||(i=r.ctx,i.save()),kn(i,o,n,a===t-1))}i&&i.restore()}},A.prototype.getHoverLayer=function(){return this.getLayer(H_)},A.prototype.paintOne=function(e,t){Cy(e,t)},A.prototype._paintList=function(e,t,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,r),a=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),a)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var s=this;os(function(){s._paintList(e,t,r,n)})}}},A.prototype._compositeManually=function(){var e=this.getLayer(Jn).ctx,t=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,t,r),this.eachBuiltinLayer(function(n){n.virtual&&e.drawImage(n.dom,0,0,t,r)})},A.prototype._doPaintList=function(e,t,r){for(var n=this,i=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||r)&&i.push(l)}for(var u=!0,f=!1,c=function(d){var g=i[d],p=g.ctx,B=a&&g.createRepaintRects(e,t,h._width,h._height),m=r?g.__startIndex:g.__drawIndex,y=!r&&g.incremental&&Date.now,_=y&&Date.now(),C=g.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,C,B);else if(m===g.__startIndex){var Q=e[m];(!Q.incremental||!Q.notClear||r)&&g.clear(!1,C,B)}m===-1&&(console.error("For some unknown reason. drawIndex is -1"),m=g.__startIndex);var x,F=function(U){var T={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(x=m;x<g.__endIndex;x++){var L=e[x];if(L.__inHover&&(f=!0),n._doPaintEl(L,g,a,U,T,x===g.__endIndex-1),y){var P=Date.now()-_;if(P>15)break}}T.prevElClipPaths&&p.restore()};if(B)if(B.length===0)x=g.__endIndex;else for(var S=h.dpr,E=0;E<B.length;++E){var I=B[E];p.save(),p.beginPath(),p.rect(I.x*S,I.y*S,I.width*S,I.height*S),p.clip(),F(I),p.restore()}else p.save(),F(),p.restore();g.__drawIndex=x,g.__drawIndex<g.__endIndex&&(u=!1)},h=this,v=0;v<i.length;v++)c(v);return _e.wxa&&b(this._layers,function(d){d&&d.ctx&&d.ctx.draw&&d.ctx.draw()}),{finished:u,needsRefreshHover:f}},A.prototype._doPaintEl=function(e,t,r,n,i,a){var o=t.ctx;if(r){var s=e.getPaintRect();(!n||s&&s.intersect(n))&&(kn(o,e,i,a),e.setPrevPaintRect(s))}else kn(o,e,i,a)},A.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Jn);var r=this._layers[e];return r||(r=new Id("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?Oe(r,this._layerConfig[e],!0):this._layerConfig[e-Eu]&&Oe(r,this._layerConfig[e-Eu],!0),t&&(r.virtual=t),this.insertLayer(e,r),r.initContext()),r},A.prototype.insertLayer=function(e,t){var r=this._layers,n=this._zlevelList,i=n.length,a=this._domRoot,o=null,s=-1;if(r[e]){process.env.NODE_ENV!=="production"&&an("ZLevel "+e+" has been used already");return}if(!V2(t)){process.env.NODE_ENV!=="production"&&an("Layer of zlevel "+e+" is not valid");return}if(i>0&&e>n[0]){for(s=0;s<i-1&&!(n[s]<e&&n[s+1]>e);s++);o=r[n[s]]}if(n.splice(s+1,0,e),r[e]=t,!t.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(t.dom,l.nextSibling):a.appendChild(t.dom)}else a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom);t.painter||(t.painter=this)},A.prototype.eachLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];e.call(t,this._layers[i],i)}},A.prototype.eachBuiltinLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__&&e.call(t,a,i)}},A.prototype.eachOtherLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__||e.call(t,a,i)}},A.prototype.getLayers=function(){return this._layers},A.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(f,c){f.__dirty=f.__used=!1});function t(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var n=e[r];if(n.zlevel!==e[r-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var i=null,a=0,o,s;for(s=0;s<e.length;s++){var n=e[s],l=n.zlevel,u=void 0;o!==l&&(o=l,a=0),n.incremental?(u=this.getLayer(l+k2,this._needsManuallyCompositing),u.incremental=!0,a=1):u=this.getLayer(l+(a>0?Eu:0),this._needsManuallyCompositing),u.__builtin__||an("ZLevel "+l+" has been used by unkown layer "+u.id),u!==i&&(u.__used=!0,u.__startIndex!==s&&(u.__dirty=!0),u.__startIndex=s,u.incremental?u.__drawIndex=-1:u.__drawIndex=s,t(s),i=u),n.__dirty&Zt&&!n.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=s))}t(s),this.eachBuiltinLayer(function(f,c){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},A.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},A.prototype._clearLayer=function(e){e.clear()},A.prototype.setBackgroundColor=function(e){this._backgroundColor=e,b(this._layers,function(t){t.setUnpainted()})},A.prototype.configLayer=function(e,t){if(t){var r=this._layerConfig;r[e]?Oe(r[e],t,!0):r[e]=t;for(var n=0;n<this._zlevelList.length;n++){var i=this._zlevelList[n];if(i===e||i===e+Eu){var a=this._layers[i];Oe(a,r[e],!0)}}}},A.prototype.delLayer=function(e){var t=this._layers,r=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],r.splice(Te(r,e),1))},A.prototype.resize=function(e,t){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(e!=null&&(n.width=e),t!=null&&(n.height=t),e=Wl(i,0,n),t=Wl(i,1,n),r.style.display="",this._width!==e||t!==this._height){r.style.width=e+"px",r.style.height=t+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(e==null||t==null)return;this._width=e,this._height=t,this.getLayer(Jn).resize(e,t)}return this},A.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},A.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},A.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Jn].dom;var t=new Id("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var r=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,n,i):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];kn(r,u,a,s===l-1)}return t.dom},A.prototype.getWidth=function(){return this._width},A.prototype.getHeight=function(){return this._height},A})();function z2(A){A.registerPainter("canvas",G2)}function W2(){let A=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(A+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const r=(A+Math.random()*16)%16|0;return A=Math.floor(A/16),(t=="x"?r:r&3|8).toString(16)})}const O_=["#E3A8F7","#5C2D91","#8AE2C2","#FF6B8B","#3A7BD5","#F9D423","#7B4397","#40E0D0","#FF416C","#11998E","#C94B4B","#4CA1AF","#FF8008","#8A2387","#8EC5FC","#E0C3FC","#74EBD5","#FFD89B","#FD6585","#A3CB38","#6A11CB","#FF5E62","#3494E6","#EC6EAD","#FFE000","#799F0C","#00416A","#834D9B","#0052D4","#43C6AC","#8E2DE2","#4A00E0","#FF4B1F","#1CB5E0","#FF7E5F","#FBD3E9","#BB377D","#FF5F6D","#FFC371","#159957","#155799","#3CA55C","#D66D75","#F3904F","#B3FFAB","#12FFF7","#AA076B","#61045F","#FF7A00","#FFD200","#00B4DB","#0083B0"];function bu(A){let e=/^(\d{4})-(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,t=/^(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,r=/^(\d{4})-(\d{2})-(\d{2})$/;return e.test(A)||t.test(A)||r.test(A)}function Me(A,e,t){let r="";return e-A<=1?r=.1:e-A<=5?r=.5:e-A<=10?r=1:e-A<=25?r=2.5:e-A<=50?r=5:e-A<=100?r=10:e-A<=250?r=25:e-A<=500?r=50:e-A<=1e3?r=100:e-A<=2500?r=250:e-A<=5e3?r=500:e-A<=1e4?r=1e3:e-A<=2e4?r=2e3:e-A<=3e4?r=3e3:e-A<=4e4?r=4e3:e-A<=5e4?r=5e3:e-A<=6e4?r=6e3:e-A<=7e4?r=7e3:e-A<=8e4?r=8e3:e-A<=9e4?r=9e3:e-A<=1e5?r=1e4:e-A<=11e4?r=11e3:e-A<=12e4?r=12e3:e-A<=13e4?r=13e3:e-A<=14e4?r=14e3:e-A<=15e4?r=15e3:e-A<=16e4?r=16e3:e-A<=17e4?r=17e3:e-A<=18e4?r=18e3:e-A<=19e4?r=19e3:e-A<=2e5&&(r=2e4),t==1&&(r=r*2),r}function ra(A){if(isNaN(A))return"";var e=parseFloat(A);if(e>1){for(var t=0,r=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],n=0;n<r.length;n++)e>=r[n]&&e<r[n+1]&&(t=r[n]);if(t==0)return e.toString();var i=Math.round(e/t*100)/100;return i=i*t,i>=100?i.toFixed(0):i>=10?i.toFixed(1):i.toFixed(2)}else{if(e>=0)return e.toFixed(3);if(e<0)return"-"+ra(Math.abs(e))}}function R_(A,e,t){const r=[];let n=new Date(A);for(;n<=e;){const i=n.getMinutes();i%t===0&&r.push(xe(new Date(n)).format("YYYY-MM-DD HH:mm")),n.setMinutes(i+1)}return r}function Y2(A,e){A=A.sort((n,i)=>Date.parse(n)-Date.parse(i));let t,r=[];for(let n=0;n<A.length;n++){n==0&&(t=A[n]);let i=xe(A[n]).add(e,"minute").format("YYYY-MM-DD HH:mm");A.includes(i)||(r.push({startTm:t,endTm:A[n]}),n+1<A.length&&(t=A[n+1]))}return r}const X2=A=>new Promise(e=>{setTimeout(()=>{e({statusCode:200,data:A.rzw*1e3})},100)});/*!
43
+ `:"<br/>",p=f.join(g);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,h,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(o,p,l,Math.random()+"",a[0],a[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,r,n){var i=this._ecModel,a=Le(r),o=a.seriesIndex,s=i.getSeriesByIndex(o),l=a.dataModel||s,u=a.dataIndex,f=a.dataType,c=l.getData(f),h=this._renderMode,v=t.positionDefault,d=Eo([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var p=l.getDataParams(u,f),B=new Av;p.marker=B.makeTooltipMarker("item",Dn(p.color),h);var m=Sm(l.formatTooltip(u,!1,f)),y=d.get("order"),_=d.get("valueFormatter"),C=m.frag,Q=C?km(_?Y({valueFormatter:_},C):C,B,h,y,i.get("useUTC"),d.get("textStyle")):m.text,x="item_"+l.name+"_"+u;this._showOrMove(d,function(){this._showTooltipContent(d,Q,p,x,t.offsetX,t.offsetY,t.position,t.target,B)}),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,r,n){var i=this._renderMode==="html",a=Le(r),o=a.tooltipConfig,s=o.option||{},l=s.encodeHTMLContent;if(le(s)){var u=s;s={content:u,formatter:u},l=!0}l&&i&&s.content&&(s=Ue(s),s.content=Vt(s.content));var f=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&f.push(c),f.push({formatter:s.content});var h=t.positionDefault,v=Eo(f,this._tooltipModel,h?{position:h}:null),d=v.get("content"),g=Math.random()+"",p=new Av;this._showOrMove(v,function(){var B=Ue(v.get("formatterParams")||{});this._showTooltipContent(v,d,B,g,t.offsetX,t.offsetY,t.position,r,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,r,n,i,a,o,s,l,u){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var f=this._tooltipContent;f.setEnterable(t.get("enterable"));var c=t.get("formatter");s=s||t.get("position");var h=r,v=this._getNearestPoint([a,o],n,t.get("trigger"),t.get("borderColor"),t.get("defaultBorderColor",!0)),d=v.color;if(c)if(le(c)){var g=t.ecModel.get("useUTC"),p=ae(n)?n[0]:n,B=p&&p.axisType&&p.axisType.indexOf("time")>=0;h=c,B&&(h=Ql(p.axisValue,h,g)),h=YB(h,n,!0)}else if(me(c)){var m=ye(function(y,_){y===this._ticket&&(f.setContent(_,u,t,d,s),this._updatePosition(t,s,a,o,f,n,l))},this);this._ticket=i,h=c(n,i,m)}else h=c;f.setContent(h,u,t,d,s),f.show(t,d),this._updatePosition(t,s,a,o,f,n,l)}},e.prototype._getNearestPoint=function(t,r,n,i,a){if(n==="axis"||ae(r))return{color:i||a};if(!ae(r))return{color:i||r.color||r.borderColor}},e.prototype._updatePosition=function(t,r,n,i,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();r=r||t.get("position");var f=a.getSize(),c=t.get("align"),h=t.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),me(r)&&(r=r([n,i],o,a.el,v,{viewSize:[l,u],contentSize:f.slice()})),ae(r))n=ht(r[0],l),i=ht(r[1],u);else if(he(r)){var d=r;d.width=f[0],d.height=f[1];var g=Oi(d,{width:l,height:u});n=g.x,i=g.y,c=null,h=null}else if(le(r)&&s){var p=o2(r,v,f,t.get("borderWidth"));n=p[0],i=p[1]}else{var p=i2(n,i,a,l,u,c?null:20,h?null:20);n=p[0],i=p[1]}if(c&&(n-=Q_(c)?f[0]/2:c==="right"?f[0]:0),h&&(i-=Q_(h)?f[1]/2:h==="bottom"?f[1]:0),d_(t)){var p=a2(n,i,a,l,u);n=p[0],i=p[1]}a.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,r){var n=this._lastDataByCoordSys,i=this._cbParamsList,a=!!n&&n.length===t.length;return a&&b(n,function(o,s){var l=o.dataByAxis||[],u=t[s]||{},f=u.dataByAxis||[];a=a&&l.length===f.length,a&&b(l,function(c,h){var v=f[h]||{},d=c.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&c.value===v.value&&c.axisType===v.axisType&&c.axisId===v.axisId&&d.length===g.length,a&&b(d,function(p,B){var m=g[B];a=a&&p.seriesIndex===m.seriesIndex&&p.dataIndex===m.dataIndex}),i&&b(c.seriesDataIndices,function(p){var B=p.seriesIndex,m=r[B],y=i[B];m&&y&&y.data!==m.data&&(a=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=r,!!a},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,r){_e.node||!r.getDom()||(Pl(this,"_updatePosition"),this._tooltipContent.dispose(),gd("itemTooltip",r))},e.type="tooltip",e})(FA);function Eo(A,e,t){var r=e.ecModel,n;t?(n=new et(t,r,r),n=new et(e.option,n,r)):n=e;for(var i=A.length-1;i>=0;i--){var a=A[i];a&&(a instanceof et&&(a=a.get("tooltip",!0)),le(a)&&(a={formatter:a}),a&&(n=new et(a,n,r)))}return n}function __(A,e){return A.dispatchAction||ye(e.dispatchAction,e)}function i2(A,e,t,r,n,i,a){var o=t.getSize(),s=o[0],l=o[1];return i!=null&&(A+s+i+2>r?A-=s+i:A+=i),a!=null&&(e+l+a>n?e-=l+a:e+=a),[A,e]}function a2(A,e,t,r,n){var i=t.getSize(),a=i[0],o=i[1];return A=Math.min(A+a,r)-a,e=Math.min(e+o,n)-o,A=Math.max(A,0),e=Math.max(e,0),[A,e]}function o2(A,e,t,r){var n=t[0],i=t[1],a=Math.ceil(Math.SQRT2*r)+8,o=0,s=0,l=e.width,u=e.height;switch(A){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-i/2;break;case"top":o=e.x+l/2-n/2,s=e.y-i-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-i/2;break;case"right":o=e.x+l+a,s=e.y+u/2-i/2}return[o,s]}function Q_(A){return A==="center"||A==="middle"}function s2(A,e,t){var r=Uc(A).queryOptionMap,n=r.keys()[0];if(!(!n||n==="series")){var i=Ta(e,n,r.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),a=i.models[0];if(a){var o=t.getViewOfComponentModel(a),s;if(o.group.traverse(function(l){var u=Le(l).tooltipConfig;if(u&&u.name===A.name)return s=l,!0}),s)return{componentMainType:n,componentIndex:a.componentIndex,el:s}}}}function l2(A){qA(o_),A.registerComponentModel(zH),A.registerComponentView(n2),A.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Dt),A.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Dt)}var u2=function(A,e){if(e==="all")return{type:"all",title:A.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:A.getLocaleModel().get(["legend","selector","inverse"])}},yd=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,r,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),this._updateSelector(t)},e.prototype._updateSelector=function(t){var r=t.selector,n=this.ecModel;r===!0&&(r=t.selector=["all","inverse"]),ae(r)&&b(r,function(i,a){le(i)&&(i={type:i}),r[a]=Oe(i,u2(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var r=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),r=!0;break}}!r&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var r=[],n=[];t.eachRawSeries(function(s){var l=s.name;n.push(l);var u;if(s.legendVisualProvider){var f=s.legendVisualProvider,c=f.getAllNames();t.isSeriesFiltered(s)||(n=n.concat(c)),c.length?r=r.concat(c):u=!0}else u=!0;u&&bc(s)&&r.push(s.name)}),this._availableNames=n;var i=this.get("data")||r,a=we(),o=Be(i,function(s){return(le(s)||Ye(s))&&(s={name:s}),a.get(s.name)?null:(a.set(s.name,!0),new et(s,this,this.ecModel))},this);this._data=rt(o,function(s){return!!s})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var r=this.option.selected,n=this.get("selectedMode");if(n==="single"){var i=this._data;b(i,function(a){r[a.get("name")]=!1})}r[t]=!0},e.prototype.unSelect=function(t){this.get("selectedMode")!=="single"&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var r=this.option.selected;r.hasOwnProperty(t)||(r[t]=!0),this[r[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){r[n.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,r=this.option.selected;b(t,function(n){var i=n.get("name",!0);r.hasOwnProperty(i)||(r[i]=!0),r[i]=!r[i]})},e.prototype.isSelected=function(t){var r=this.option.selected;return!(r.hasOwnProperty(t)&&!r[t])&&Te(this._availableNames,t)>=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:oe.size.m,align:"auto",backgroundColor:oe.color.transparent,borderColor:oe.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:oe.color.disabled,inactiveBorderColor:oe.color.disabled,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:oe.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:oe.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:oe.color.tertiary,borderWidth:1,borderColor:oe.color.border},emphasis:{selectorLabel:{show:!0,color:oe.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},e})(Re),ta=nt,wd=b,xu=lt,x_=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new xu),this.group.add(this._selectorGroup=new xu),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,r,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var a=t.get("align"),o=t.get("orient");(!a||a==="auto")&&(a=t.get("left")==="right"&&o==="vertical"?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);s&&(!l||l==="auto")&&(l=o==="horizontal"?"end":"start"),this.renderInner(a,t,r,n,s,o,l);var u=kh(t,n).refContainer,f=t.getBoxLayoutParams(),c=t.get("padding"),h=Oi(f,u,c),v=this.layoutInner(t,a,h,i,s,l),d=Oi(Ne({width:v.width,height:v.height},f),u,c);this.group.x=d.x-v.x,this.group.y=d.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=GH(v,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this.getContentGroup(),u=we(),f=r.get("selectedMode"),c=r.get("triggerEvent"),h=[];n.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),wd(r.getData(),function(v,d){var g=this,p=v.get("name");if(!this.newlineDisabled&&(p===""||p===`
44
+ `)){var B=new xu;B.newline=!0,l.add(B);return}var m=n.getSeriesByName(p)[0];if(!u.get(p)){if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},C=y.getVisual("legendIcon"),Q=y.getVisual("style"),x=this._createItem(m,p,d,v,r,t,_,Q,C,f,i);x.on("click",ta(F_,p,null,i,h)).on("mouseover",ta(Cd,m.name,null,i,h)).on("mouseout",ta(_d,m.name,null,i,h)),n.ssr&&x.eachChild(function(F){var S=Le(F);S.seriesIndex=m.seriesIndex,S.dataIndex=d,S.ssrType="legend"}),c&&x.eachChild(function(F){g.packEventData(F,r,m,d,p)}),u.set(p,!0)}else n.eachRawSeries(function(F){var S=this;if(!u.get(p)&&F.legendVisualProvider){var E=F.legendVisualProvider;if(!E.containName(p))return;var I=E.indexOfName(p),U=E.getItemVisual(I,"style"),T=E.getItemVisual(I,"legendIcon"),L=HA(U.fill);L&&L[3]===0&&(L[3]=.2,U=Y(Y({},U),{fill:_a(L,"rgba")}));var P=this._createItem(F,p,d,v,r,t,{},U,T,f,i);P.on("click",ta(F_,null,p,i,h)).on("mouseover",ta(Cd,null,p,i,h)).on("mouseout",ta(_d,null,p,i,h)),n.ssr&&P.eachChild(function(Z){var V=Le(Z);V.seriesIndex=F.seriesIndex,V.dataIndex=d,V.ssrType="legend"}),c&&P.eachChild(function(Z){S.packEventData(Z,r,F,d,p)}),u.set(p,!0)}},this);process.env.NODE_ENV!=="production"&&(u.get(p)||console.warn(p+" series not exists. Legend data should be same with series name or data name."))}},this),a&&this._createSelector(a,r,i,o,s)},e.prototype.packEventData=function(t,r,n,i,a){var o={componentType:"legend",componentIndex:r.componentIndex,dataIndex:i,value:a,seriesIndex:n.seriesIndex};Le(t).eventData=o},e.prototype._createSelector=function(t,r,n,i,a){var o=this.getSelectorGroup();wd(t,function(l){var u=l.type,f=new Ot({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:u==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});o.add(f);var c=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);dl(f,{normal:c,emphasis:h},{defaultText:l.title}),qs(f)})},e.prototype._createItem=function(t,r,n,i,a,o,s,l,u,f,c){var h=t.visualDrawType,v=a.get("itemWidth"),d=a.get("itemHeight"),g=a.isSelected(r),p=i.get("symbolRotate"),B=i.get("symbolKeepAspect"),m=i.get("icon");u=m||u||"roundRect";var y=f2(u,i,s,l,h,g,c),_=new xu,C=i.getModel("textStyle");if(me(t.getLegendIcon)&&(!m||m==="inherit"))_.add(t.getLegendIcon({itemWidth:v,itemHeight:d,icon:u,iconRotate:p,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:B}));else{var Q=m==="inherit"&&t.getData().getVisual("symbol")?p==="inherit"?t.getData().getVisual("symbolRotate"):p:0;_.add(c2({itemWidth:v,itemHeight:d,icon:u,iconRotate:Q,itemStyle:y.itemStyle,symbolKeepAspect:B}))}var x=o==="left"?v+5:-5,F=o,S=a.get("formatter"),E=r;le(S)&&S?E=S.replace("{name}",r??""):me(S)&&(E=S(r));var I=g?C.getTextColor():i.get("inactiveColor");_.add(new Ot({style:In(C,{text:E,x,y:d/2,fill:I,align:F,verticalAlign:"middle"},{inheritColor:I})}));var U=new qe({shape:_.getBoundingRect(),style:{fill:"transparent"}}),T=i.getModel("tooltip");return T.get("show")&&fl({el:U,componentModel:a,itemName:r,itemTooltipOption:T.option}),_.add(U),_.eachChild(function(L){L.silent=!0}),U.silent=!f,this.getContentGroup().add(_),qs(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getContentGroup(),l=this.getSelectorGroup();Ya(t.get("orient"),s,t.get("itemGap"),n.width,n.height);var u=s.getBoundingRect(),f=[-u.x,-u.y];if(l.markRedraw(),s.markRedraw(),a){Ya("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),h=[-c.x,-c.y],v=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",p=d===0?"height":"width",B=d===0?"y":"x";o==="end"?h[d]+=u[g]+v:f[d]+=c[g]+v,h[1-d]+=u[p]/2-c[p]/2,l.x=h[0],l.y=h[1],s.x=f[0],s.y=f[1];var m={x:0,y:0};return m[g]=u[g]+v+c[g],m[p]=Math.max(u[p],c[p]),m[B]=Math.min(0,c[B]+h[1-d]),m}else return s.x=f[0],s.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e})(FA);function f2(A,e,t,r,n,i,a){function o(g,p){g.lineWidth==="auto"&&(g.lineWidth=p.lineWidth>0?2:0),wd(g,function(B,m){g[m]==="inherit"&&(g[m]=p[m])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=A.lastIndexOf("empty",0)===0?"fill":"stroke",f=s.getShallow("decal");l.decal=!f||f==="inherit"?r.decal:uv(f,a),l.fill==="inherit"&&(l.fill=r[n]),l.stroke==="inherit"&&(l.stroke=r[u]),l.opacity==="inherit"&&(l.opacity=(n==="fill"?r:t).opacity),o(l,r);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(o(h,t),l.fill==="auto"&&(l.fill=r.fill),l.stroke==="auto"&&(l.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!i){var v=e.get("inactiveBorderWidth"),d=l[u];l.lineWidth=v==="auto"?r.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:h}}function c2(A){var e=A.icon||"roundRect",t=Or(e,0,0,A.itemWidth,A.itemHeight,A.itemStyle.fill,A.symbolKeepAspect);return t.setStyle(A.itemStyle),t.rotation=(A.iconRotate||0)*Math.PI/180,t.setOrigin([A.itemWidth/2,A.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill=oe.color.neutral00,t.style.lineWidth=2),t}function F_(A,e,t,r){_d(A,e,t,r),t.dispatchAction({type:"legendToggleSelect",name:A??e}),Cd(A,e,t,r)}function E_(A){for(var e=A.getZr().storage.getDisplayList(),t,r=0,n=e.length;r<n&&!(t=e[r].states.emphasis);)r++;return t&&t.hoverLayer}function Cd(A,e,t,r){E_(t)||t.dispatchAction({type:"highlight",seriesName:A,name:e,excludeSeriesId:r})}function _d(A,e,t,r){E_(t)||t.dispatchAction({type:"downplay",seriesName:A,name:e,excludeSeriesId:r})}function h2(A){var e=A.findComponents({mainType:"legend"});e&&e.length&&A.filterSeries(function(t){for(var r=0;r<e.length;r++)if(!e[r].isSelected(t.name))return!1;return!0})}function bo(A,e,t){var r=A==="allSelect"||A==="inverseSelect",n={},i=[];t.eachComponent({mainType:"legend",query:e},function(o){r?o[A]():o[A](e.name),b_(o,n),i.push(o.componentIndex)});var a={};return t.eachComponent("legend",function(o){b(n,function(s,l){o[s?"select":"unSelect"](l)}),b_(o,a)}),r?{selected:a,legendIndex:i}:{name:e.name,selected:a}}function b_(A,e){var t=e||{};return b(A.getData(),function(r){var n=r.get("name");if(!(n===`
45
+ `||n==="")){var i=A.isSelected(n);yA(t,n)?t[n]=t[n]&&i:t[n]=i}}),t}function v2(A){A.registerAction("legendToggleSelect","legendselectchanged",nt(bo,"toggleSelected")),A.registerAction("legendAllSelect","legendselectall",nt(bo,"allSelect")),A.registerAction("legendInverseSelect","legendinverseselect",nt(bo,"inverseSelect")),A.registerAction("legendSelect","legendselected",nt(bo,"select")),A.registerAction("legendUnSelect","legendunselected",nt(bo,"unSelect"))}function S_(A){A.registerComponentModel(yd),A.registerComponentView(x_),A.registerProcessor(A.PRIORITY.PROCESSOR.SERIES_FILTER,h2),A.registerSubTypeDefaulter("legend",function(){return"plain"}),v2(A)}var d2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,r,n){var i=Ri(t);A.prototype.init.call(this,t,r,n),U_(this,t,i)},e.prototype.mergeOption=function(t,r){A.prototype.mergeOption.call(this,t,r),U_(this,this.option,t)},e.type="legend.scroll",e.defaultOption=Bl(yd.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:oe.color.accent50,pageIconInactiveColor:oe.color.accent10,pageIconSize:15,pageTextStyle:{color:oe.color.tertiary},animationDurationUpdate:800}),e})(yd);function U_(A,e,t){var r=A.getOrient(),n=[1,1];n[r.index]=0,Mr(e,t,{type:"box",ignoreSize:!!n})}var I_=lt,Qd=["width","height"],xd=["x","y"],p2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){A.prototype.init.call(this),this.group.add(this._containerGroup=new I_),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new I_)},e.prototype.resetInner=function(){A.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,r,n,i,a,o,s){var l=this;A.prototype.renderInner.call(this,t,r,n,i,a,o,s);var u=this._controllerGroup,f=r.get("pageIconSize",!0),c=ae(f)?f:[f,f];v("pagePrev",0);var h=r.getModel("pageTextStyle");u.add(new Ot({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(d,g){var p=d+"DataIndex",B=ph(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:ye(l._pageGo,l,p,r,i)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});B.name=d,u.add(B)}},e.prototype.layoutInner=function(t,r,n,i,a,o){var s=this.getSelectorGroup(),l=t.getOrient().index,u=Qd[l],f=xd[l],c=Qd[1-l],h=xd[1-l];a&&Ya("horizontal",s,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],p=Ue(n);a&&(p[u]=n[u]-d[u]-v);var B=this._layoutContentAndController(t,i,p,l,u,c,h,f);if(a){if(o==="end")g[l]+=B[u]+v;else{var m=d[u]+v;g[l]-=m,B[f]-=m}B[u]+=d[u]+v,g[1-l]+=B[h]+B[c]/2-d[c]/2,B[c]=Math.max(B[c],d[c]),B[h]=Math.min(B[h],d[h]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return B},e.prototype._layoutContentAndController=function(t,r,n,i,a,o,s,l){var u=this.getContentGroup(),f=this._containerGroup,c=this._controllerGroup;Ya(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),Ya("horizontal",c,t.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),v=c.getBoundingRect(),d=this._showController=h[a]>n[a],g=[-h.x,-h.y];r||(g[i]=u[l]);var p=[0,0],B=[-v.x,-v.y],m=ve(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var y=t.get("pageButtonPosition",!0);y==="end"?B[i]+=n[a]-v[a]:p[i]+=v[a]+m}B[1-i]+=h[o]/2-v[o]/2,u.setPosition(g),f.setPosition(p),c.setPosition(B);var _={x:0,y:0};if(_[a]=d?n[a]:h[a],_[o]=Math.max(h[o],v[o]),_[s]=Math.min(0,v[s]+B[1-i]),f.__rectSize=n[a],d){var C={x:0,y:0};C[a]=Math.max(n[a]-v[a]-m,0),C[o]=_[o],f.setClipPath(new qe({shape:C})),f.__rectSize=C[a]}else c.eachChild(function(x){x.attr({invisible:!0,silent:!0})});var Q=this._getPageInfo(t);return Q.pageIndex!=null&&Et(u,{x:Q.contentPosition[0],y:Q.contentPosition[1]},d?t:null),this._updatePageInfoView(t,Q),_},e.prototype._pageGo=function(t,r,n){var i=this._getPageInfo(r)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},e.prototype._updatePageInfoView=function(t,r){var n=this._controllerGroup;b(["pagePrev","pageNext"],function(u){var f=u+"DataIndex",c=r[f]!=null,h=n.childOfName(u);h&&(h.setStyle("fill",c?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),h.cursor=c?"pointer":"default")});var i=n.childOfName("pageText"),a=t.get("pageFormatter"),o=r.pageIndex,s=o!=null?o+1:0,l=r.pageCount;i&&a&&i.setStyle("text",le(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",l==null?"":l+""):a({current:s,total:l}))},e.prototype._getPageInfo=function(t){var r=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,a=t.getOrient().index,o=Qd[a],s=xd[a],l=this._findTargetItemIndex(r),u=n.children(),f=u[l],c=u.length,h=c?1:0,v={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var d=y(f);v.contentPosition[a]=-d.s;for(var g=l+1,p=d,B=d,m=null;g<=c;++g)m=y(u[g]),(!m&&B.e>p.s+i||m&&!_(m,p.s))&&(B.i>p.i?p=B:p=m,p&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=p.i),++v.pageCount)),B=m;for(var g=l-1,p=d,B=d,m=null;g>=-1;--g)m=y(u[g]),(!m||!_(B,m.s))&&p.i<B.i&&(B=p,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=p.i),++v.pageCount,++v.pageIndex),p=m;return v;function y(C){if(C){var Q=C.getBoundingRect(),x=Q[s]+C[s];return{s:x,e:x+Q[o],i:C.__legendDataIndex}}}function _(C,Q){return C.e>=Q&&C.s<=Q+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var r,n=this.getContentGroup(),i;return n.eachChild(function(a,o){var s=a.__legendDataIndex;i==null&&s!=null&&(i=o),s===t&&(r=o)}),r??i},e.type="legend.scroll",e})(x_);function g2(A){A.registerAction("legendScroll","legendscroll",function(e,t){var r=e.scrollDataIndex;r!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(r)})})}function B2(A){qA(S_),A.registerComponentModel(d2),A.registerComponentView(p2),g2(A)}function m2(A){qA(S_),qA(B2)}var y2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=Bl(Qu.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e})(Qu),Fd=ze();function w2(A,e,t){Fd(A).coordSysRecordMap.each(function(r){var n=r.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function C2(A,e){for(var t=Fd(A).coordSysRecordMap,r=t.keys(),n=0;n<r.length;n++){var i=r[n],a=t.get(i),o=a.dataZoomInfoMap;if(o){var s=e.uid,l=o.get(s);l&&(o.removeKey(s),o.keys().length||T_(t,a))}}}function T_(A,e){if(e){A.removeKey(e.model.uid);var t=e.controller;t&&t.dispose()}}function _2(A,e){var t={model:e,containsPoint:nt(x2,e),dispatchAction:nt(Q2,A),dataZoomInfoMap:null,controller:null},r=t.controller=new sH(A.getZr());return b(["pan","zoom","scrollMove"],function(n){r.on(n,function(i){var a=[];t.dataZoomInfoMap.each(function(o){if(i.isAvailableBehavior(o.model.option)){var s=(o.getRange||{})[n],l=s&&s(o.dzReferCoordSysInfo,t.model.mainType,t.controller,i);!o.model.get("disabled",!0)&&l&&a.push({dataZoomId:o.model.id,start:l[0],end:l[1]})}}),a.length&&t.dispatchAction(a)})}),t}function Q2(A,e){A.isDisposed()||A.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function x2(A,e,t,r){return A.coordinateSystem.containPoint([t,r])}function F2(A,e,t){var r,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return A.each(function(o){var s=o.model,l=s.get("disabled",!0)?!1:s.get("zoomLock",!0)?"move":!0;i[n+l]>i[n+r]&&(r=l),a=a&&s.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a,api:t,zInfo:{component:e.model},triggerInfo:{roamTrigger:null,isInSelf:e.containsPoint}}}}function E2(A){A.registerProcessor(A.PRIORITY.PROCESSOR.FILTER,function(e,t){var r=Fd(t),n=r.coordSysRecordMap||(r.coordSysRecordMap=we());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var a=l_(i);b(a.infoList,function(o){var s=o.model.uid,l=n.get(s)||n.set(s,_2(t,o.model)),u=l.dataZoomInfoMap||(l.dataZoomInfoMap=we());u.set(i.uid,{dzReferCoordSysInfo:o,model:i,getRange:null})})}),n.each(function(i){var a=i.controller,o,s=i.dataZoomInfoMap;if(s){var l=s.keys()[0];l!=null&&(o=s.get(l))}if(!o){T_(n,i);return}var u=F2(s,i,t);a.enable(u.controlType,u.opt),Nl(i,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var b2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,r,n){if(A.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),w2(n,t,{pan:ye(Ed.pan,this),zoom:ye(Ed.zoom,this),scrollMove:ye(Ed.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){C2(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e})(f_),Ed={zoom:function(A,e,t,r){var n=this.range,i=n.slice(),a=A.axisModels[0];if(a){var o=bd[e](null,[r.originX,r.originY],a,t,A),s=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(i[1]-i[0])+i[0],l=Math.max(1/r.scale,0);i[0]=(i[0]-s)*l+s,i[1]=(i[1]-s)*l+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Fo(0,i,[0,100],0,u.minSpan,u.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:D_(function(A,e,t,r,n,i){var a=bd[r]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return a.signal*(A[1]-A[0])*a.pixel/a.pixelLength}),scrollMove:D_(function(A,e,t,r,n,i){var a=bd[r]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return a.signal*(A[1]-A[0])*i.scrollDelta})};function D_(A){return function(e,t,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=A(a,o,e,t,r,n);if(Fo(s,a,[0,100],"all"),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}}}var bd={grid:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem.getRect();return A=A||[0,0],i.dim==="x"?(a.pixel=e[0]-A[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=i.inverse?-1:1),a},polar:function(A,e,t,r,n){var i=t.axis,a={},o=n.model.coordinateSystem,s=o.getRadiusAxis().getExtent(),l=o.getAngleAxis().getExtent();return A=A?o.pointToCoord(A):[0,0],e=o.pointToCoord(e),t.mainType==="radiusAxis"?(a.pixel=e[0]-A[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=i.inverse?1:-1):(a.pixel=e[1]-A[1],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=i.inverse?-1:1),a},singleAxis:function(A,e,t,r,n){var i=t.axis,a=n.model.coordinateSystem.getRect(),o={};return A=A||[0,0],i.orient==="horizontal"?(o.pixel=e[0]-A[0],o.pixelLength=a.width,o.pixelStart=a.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-A[1],o.pixelLength=a.height,o.pixelStart=a.y,o.signal=i.inverse?-1:1),o}};function S2(A){v_(A),A.registerComponentModel(y2),A.registerComponentView(b2),E2(A)}var U2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Bl(Qu.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:oe.color.accent10,borderRadius:0,backgroundColor:oe.color.transparent,dataBackground:{lineStyle:{color:oe.color.accent30,width:.5},areaStyle:{color:oe.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:oe.color.accent40,width:.5},areaStyle:{color:oe.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:oe.color.neutral00,borderColor:oe.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:oe.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:oe.color.tertiary},brushSelect:!0,brushStyle:{color:oe.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:oe.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),e})(Qu),So=qe,I2=1,Sd=30,T2=7,Uo="horizontal",L_="vertical",D2=5,L2=["line","bar","candlestick","scatter"],M2={easing:"cubicOut",duration:100,delay:0},H2=(function(A){J(e,A);function e(){var t=A!==null&&A.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,r){this.api=r,this._onBrush=ye(this._onBrush,this),this._onBrushEnd=ye(this._onBrushEnd,this)},e.prototype.render=function(t,r,n,i){if(A.prototype.render.apply(this,arguments),Nl(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),A.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Pl(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new lt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(r),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,r=this.api,n=t.get("brushSelect"),i=n?T2:0,a=kh(t,r).refContainer,o=this._findCoordRect(),s=t.get("defaultLocationEdgeGap",!0)||0,l=this._orient===Uo?{right:a.width-o.x-o.width,top:a.height-Sd-s-i,width:o.width,height:Sd}:{right:s,top:o.y,width:Sd,height:o.height},u=Ri(t.option);b(["right","top","width","height"],function(c){u[c]==="ph"&&(u[c]=l[c])});var f=Oi(u,a);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===L_&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,r=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),a=i&&i.get("inverse"),o=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===Uo&&!a?{scaleY:s?1:-1,scaleX:1}:n===Uo&&a?{scaleY:s?1:-1,scaleX:-1}:n===L_&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var l=t.getBoundingRect([o]);t.x=r.x-l.x,t.y=r.y-l.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,r=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new So({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var a=new So({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:ye(this._onClickPanel,this)}),o=this.api.getZr();i?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(a)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var r=this._size,n=this._shadowSize||[],i=t.series,a=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),s=o&&a.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(s==null)return;var l=this._shadowPolygonPts,u=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==n[0]||r[1]!==n[1]){var f=a.getDataExtent(t.thisDim),c=a.getDataExtent(s),h=(c[1]-c[0])*.3;c=[c[0]-h,c[1]+h];var v=[0,r[1]],d=[0,r[0]],g=[[r[0],0],[0,0]],p=[],B=d[1]/Math.max(1,a.count()-1),m=r[0]/(f[1]-f[0]),y=t.thisAxis.type==="time",_=-B,C=Math.round(a.count()/r[0]),Q;a.each([t.thisDim,s],function(I,U,T){if(C>0&&T%C){y||(_+=B);return}_=y?(+I-f[0])*m:_+B;var L=U==null||isNaN(U)||U==="",P=L?0:dt(U,c,v,!0);L&&!Q&&T?(g.push([g[g.length-1][0],0]),p.push([p[p.length-1][0],0])):!L&&Q&&(g.push([_,0]),p.push([_,0])),L||(g.push([_,P]),p.push([_,P])),Q=L}),l=this._shadowPolygonPts=g,u=this._shadowPolylinePts=p}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function F(I){var U=x.getModel(I?"selectedDataBackground":"dataBackground"),T=new lt,L=new rl({shape:{points:l},segmentIgnoreThreshold:1,style:U.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),P=new Pa({shape:{points:u},segmentIgnoreThreshold:1,style:U.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return T.add(L),T.add(P),T}for(var S=0;S<3;S++){var E=F(S===1);this._displayables.sliderGroup.add(E),this._displayables.dataShadowSegs.push(E)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,r=t.get("showDataShadow");if(r!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(a,o){var s=t.getAxisProxy(a,o).getTargetSeriesModels();b(s,function(l){if(!n&&!(r!==!0&&Te(L2,l.get("type"))<0)){var u=i.getComponent(Yr(a),o).axis,f=O2(a),c,h=l.coordinateSystem;f!=null&&h.getOtherAxis&&(c=h.getOtherAxis(u).inverse),f=l.getData().mapDimension(f);var v=l.getData().mapDimension(a);n={thisAxis:u,series:l,thisDim:v,otherDim:f,otherAxisInverse:c}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,r=this._displayables,n=r.handles=[null,null],i=r.handleLabels=[null,null],a=this._displayables.sliderGroup,o=this._size,s=this.dataZoomModel,l=this.api,u=s.get("borderRadius")||0,f=s.get("brushSelect"),c=r.filler=new So({silent:f,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(c),a.add(new So({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:I2,fill:oe.color.transparent}})),b([0,1],function(m){var y=s.get("handleIcon");!Kl[y]&&y.indexOf("path://")<0&&y.indexOf("image://")<0&&(y="path://"+y,process.env.NODE_ENV!=="production"&&PA("handleIcon now needs 'path://' prefix when using a path string"));var _=Or(y,-1,0,2,2,null,!0);_.attr({cursor:R2(this._orient),draggable:!0,drift:ye(this._onDragMove,this,m),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1),z2:5});var C=_.getBoundingRect(),Q=s.get("handleSize");this._handleHeight=ht(Q,this._size[1]),this._handleWidth=C.width/C.height*this._handleHeight,_.setStyle(s.getModel("handleStyle").getItemStyle()),_.style.strokeNoScale=!0,_.rectHover=!0,_.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),qs(_);var x=s.get("handleColor");x!=null&&(_.style.fill=x),a.add(n[m]=_);var F=s.getModel("textStyle"),S=s.get("handleLabel")||{},E=S.show||!1;t.add(i[m]=new Ot({silent:!0,invisible:!E,style:In(F,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:F.getTextColor(),font:F.getFont()}),z2:10}))},this);var h=c;if(f){var v=ht(s.get("moveHandleSize"),o[1]),d=r.moveHandle=new qe({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:v}}),g=v*.8,p=r.moveHandleIcon=Or(s.get("moveHandleIcon"),-g/2,-g/2,g,g,oe.color.neutral00,!0);p.silent=!0,p.y=o[1]+v/2-.5,d.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var B=Math.min(o[1]/2,Math.max(v,10));h=r.moveZone=new qe({invisible:!0,shape:{y:o[1]-B,height:v+B}}),h.on("mouseover",function(){l.enterEmphasis(d)}).on("mouseout",function(){l.leaveEmphasis(d)}),a.add(d),a.add(p),a.add(h)}h.attr({draggable:!0,cursor:"default",drift:ye(this._onDragMove,this,"all"),ondragstart:ye(this._showDataInfo,this,!0),ondragend:ye(this._onDragEnd,this),onmouseover:ye(this._showDataInfo,this,!0),onmouseout:ye(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[dt(t[0],[0,100],r,!0),dt(t[1],[0,100],r,!0)]},e.prototype._updateInterval=function(t,r){var n=this.dataZoomModel,i=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];Fo(r,i,a,n.get("zoomLock")?"all":t,o.minSpan!=null?dt(o.minSpan,s,a,!0):null,o.maxSpan!=null?dt(o.maxSpan,s,a,!0):null);var l=this._range,u=this._range=Sa([dt(i[0],a,s,!0),dt(i[1],a,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(t){var r=this._displayables,n=this._handleEnds,i=Sa(n.slice()),a=this._size;b([0,1],function(h){var v=r.handles[h],d=this._handleHeight;v.attr({scaleX:d/2,scaleY:d/2,x:n[h]+(h?-1:1),y:a[1]/2-d/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:a[1]});var o={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(o),r.moveZone.setShape(o),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",o.x+o.width/2));for(var s=r.dataShadowSegs,l=[0,i[0],i[1],a[0]],u=0;u<s.length;u++){var f=s[u],c=f.getClipPath();c||(c=new qe,f.setClipPath(c)),c.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:a[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var r=this.dataZoomModel,n=this._displayables,i=n.handleLabels,a=this._orient,o=["",""];if(r.get("showDetail")){var s=r.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,f=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(f[0],l),this._formatLabel(f[1],l)]}}var c=Sa(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(v){var d=gB(n.handles[v].parent,this.group),g=BB(v===0?"right":"left",d),p=this._handleWidth/2+D2,B=Va([c[v]+(v===0?-p:p),this._size[1]/2],d);i[v].setStyle({x:B[0],y:B[1],verticalAlign:a===Uo?"middle":g,align:a===Uo?g:"center",text:o[v]})}},e.prototype._formatLabel=function(t,r){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");(a==null||a==="auto")&&(a=r.getPixelPrecision());var o=t==null||isNaN(t)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(a,20));return me(i)?i(t,o):le(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var r=this.dataZoomModel.get("handleLabel")||{},n=r.show||!1,i=this.dataZoomModel.getModel(["emphasis","handleLabel"]),a=i.get("show")||!1,o=t||this._dragging?a:n,s=this._displayables,l=s.handleLabels;l[0].attr("invisible",!o),l[1].attr("invisible",!o),s.moveHandle&&this.api[o?"enterEmphasis":"leaveEmphasis"](s.moveHandle,1)},e.prototype._onDragMove=function(t,r,n,i){this._dragging=!0,ci(i.event);var a=this._displayables.sliderGroup.getLocalTransform(),o=Va([r,n],a,!0),s=this._updateInterval(t,o[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),s&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var r=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>r[0]||n[1]<0||n[1]>r[1])){var i=this._handleEnds,a=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-a);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var r=t.offsetX,n=t.offsetY;this._brushStart=new be(r,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var n=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var a=this._getViewExtent(),o=[0,100],s=this._handleEnds=[n.x,n.x+n.width],l=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();Fo(0,s,a,0,l.minSpan!=null?dt(l.minSpan,o,a,!0):null,l.maxSpan!=null?dt(l.maxSpan,o,a,!0):null),this._range=Sa([dt(s[0],a,o,!0),dt(s[1],a,o,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ci(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,r){var n=this._displayables,i=this.dataZoomModel,a=n.brushRect;a||(a=n.brushRect=new So({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(a)),a.attr("ignore",!1);var o=this._brushStart,s=this._displayables.sliderGroup,l=s.transformCoordToLocal(t,r),u=s.transformCoordToLocal(o.x,o.y),f=this._size;l[0]=Math.max(Math.min(f[0],l[0]),0),a.setShape({x:u[0],y:0,width:l[0]-u[0],height:f[1]})},e.prototype._dispatchZoomAction=function(t){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?M2:null,start:r[0],end:r[1]})},e.prototype._findCoordRect=function(){var t,r=l_(this.dataZoomModel).infoList;if(!t&&r.length){var n=r[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),a=this.api.getHeight();t={x:i*.2,y:a*.2,width:i*.6,height:a*.6}}return t},e.type="dataZoom.slider",e})(f_);function O2(A){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[A]}function R2(A){return A==="vertical"?"ns-resize":"ew-resize"}function N2(A){A.registerComponentModel(U2),A.registerComponentView(H2),v_(A)}function P2(A){qA(S2),qA(N2)}function M_(A,e,t){var r=rr.createCanvas(),n=e.getWidth(),i=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=i+"px",r.setAttribute("data-zr-dom-id",A)),r.width=n*t,r.height=i*t,r}var Ud=(function(A){J(e,A);function e(t,r,n){var i=A.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var a;n=n||_s,typeof t=="string"?a=M_(t,r,n):he(t)&&(a=t,t=a.id),i.id=t,i.dom=a;var o=a.style;return o&&(Op(a),a.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),i.painter=r,i.dpr=n,i}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=M_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),t!==1&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,r,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a=[],o=this.maxRepaintRectCount,s=!1,l=new Fe(0,0,0,0);function u(B){if(!(!B.isFinite()||B.isZero()))if(a.length===0){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}else{for(var y=!1,_=1/0,C=0,Q=0;Q<a.length;++Q){var x=a[Q];if(x.intersect(B)){var F=new Fe(0,0,0,0);F.copy(x),F.union(B),a[Q]=F,y=!0;break}else if(s){l.copy(B),l.union(x);var S=B.width*B.height,E=x.width*x.height,I=l.width*l.height,U=I-S-E;U<_&&(_=U,C=Q)}}if(s&&(a[C].union(B),y=!0),!y){var m=new Fe(0,0,0,0);m.copy(B),a.push(m)}s||(s=a.length>=o)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var c=t[f];if(c){var h=c.shouldBePainted(n,i,!0,!0),v=c.__isRendered&&(c.__dirty&Zt||!h)?c.getPrevPaintRect():null;v&&u(v);var d=h&&(c.__dirty&Zt||!c.__isRendered)?c.getPaintRect():null;d&&u(d)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var c=r[f],h=c&&c.shouldBePainted(n,i,!0,!0);if(c&&(!h||!c.__zr)&&c.__isRendered){var v=c.getPrevPaintRect();v&&u(v)}}var g;do{g=!1;for(var f=0;f<a.length;){if(a[f].isZero()){a.splice(f,1);continue}for(var p=f+1;p<a.length;)a[f].intersect(a[p])?(g=!0,a[f].union(a[p]),a.splice(p,1)):p++;f++}}while(g);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,r){var n=this.dpr,i=this.dom,a=i.style,o=this.domBack;a&&(a.width=t+"px",a.height=r+"px"),i.width=t*n,i.height=r*n,o&&(o.width=t*n,o.height=r*n,n!==1&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,r,n){var i=this.dom,a=this.ctx,o=i.width,s=i.height;r=r||this.clearColor;var l=this.motionBlur&&!t,u=this.lastFrameAlpha,f=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/f,s/f));var h=this.domBack;function v(d,g,p,B){if(a.clearRect(d,g,p,B),r&&r!=="transparent"){var m=void 0;if(As(r)){var y=r.global||r.__width===p&&r.__height===B;m=y&&r.__canvasGradient||ov(a,r,{x:0,y:0,width:p,height:B}),r.__canvasGradient=m,r.__width=p,r.__height=B}else ax(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,m=sv(a,r,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));a.save(),a.fillStyle=m||r,a.fillRect(d,g,p,B),a.restore()}l&&(a.save(),a.globalAlpha=u,a.drawImage(h,d,g,p,B),a.restore())}!n||l?v(0,0,o,s):n.length&&b(n,function(d){v(d.x*f,d.y*f,d.width*f,d.height*f)})},e})(wA),H_=1e5,Jn=314159,Fu=.01,k2=.001;function V2(A){return A?A.__builtin__?!0:!(typeof A.resize!="function"||typeof A.refresh!="function"):!1}function K2(A,e){var t=document.createElement("div");return t.style.cssText=["position:relative","width:"+A+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",t}var G2=(function(){function A(e,t,r,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=Y({},r||{}),this.dpr=r.devicePixelRatio||_s,this._singleCanvas=i,this.root=e;var a=e.style;a&&(Op(e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var u=e,f=u.width,c=u.height;r.width!=null&&(f=r.width),r.height!=null&&(c=r.height),this.dpr=r.devicePixelRatio||1,u.width=f*this.dpr,u.height=c*this.dpr,this._width=f,this._height=c;var h=new Ud(u,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Jn]=h,h.zlevel=Jn,o.push(Jn),this._domRoot=e}else{this._width=zl(e,0,r),this._height=zl(e,1,r);var l=this._domRoot=K2(this._width,this._height);e.appendChild(l)}}return A.prototype.getType=function(){return"canvas"},A.prototype.isSingleCanvas=function(){return this._singleCanvas},A.prototype.getViewportRoot=function(){return this._domRoot},A.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},A.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),r=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,r,e,this._redrawId);for(var i=0;i<n.length;i++){var a=n[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=i===0?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},A.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},A.prototype._paintHoverList=function(e){var t=e.length,r=this._hoverlayer;if(r&&r.clear(),!!t){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,a=0;a<t;a++){var o=e[a];o.__inHover&&(r||(r=this._hoverlayer=this.getLayer(H_)),i||(i=r.ctx,i.save()),kn(i,o,n,a===t-1))}i&&i.restore()}},A.prototype.getHoverLayer=function(){return this.getLayer(H_)},A.prototype.paintOne=function(e,t){Cy(e,t)},A.prototype._paintList=function(e,t,r,n){if(this._redrawId===n){r=r||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,r),a=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),a)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var s=this;as(function(){s._paintList(e,t,r,n)})}}},A.prototype._compositeManually=function(){var e=this.getLayer(Jn).ctx,t=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,t,r),this.eachBuiltinLayer(function(n){n.virtual&&e.drawImage(n.dom,0,0,t,r)})},A.prototype._doPaintList=function(e,t,r){for(var n=this,i=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||r)&&i.push(l)}for(var u=!0,f=!1,c=function(d){var g=i[d],p=g.ctx,B=a&&g.createRepaintRects(e,t,h._width,h._height),m=r?g.__startIndex:g.__drawIndex,y=!r&&g.incremental&&Date.now,_=y&&Date.now(),C=g.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,C,B);else if(m===g.__startIndex){var Q=e[m];(!Q.incremental||!Q.notClear||r)&&g.clear(!1,C,B)}m===-1&&(console.error("For some unknown reason. drawIndex is -1"),m=g.__startIndex);var x,F=function(U){var T={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(x=m;x<g.__endIndex;x++){var L=e[x];if(L.__inHover&&(f=!0),n._doPaintEl(L,g,a,U,T,x===g.__endIndex-1),y){var P=Date.now()-_;if(P>15)break}}T.prevElClipPaths&&p.restore()};if(B)if(B.length===0)x=g.__endIndex;else for(var S=h.dpr,E=0;E<B.length;++E){var I=B[E];p.save(),p.beginPath(),p.rect(I.x*S,I.y*S,I.width*S,I.height*S),p.clip(),F(I),p.restore()}else p.save(),F(),p.restore();g.__drawIndex=x,g.__drawIndex<g.__endIndex&&(u=!1)},h=this,v=0;v<i.length;v++)c(v);return _e.wxa&&b(this._layers,function(d){d&&d.ctx&&d.ctx.draw&&d.ctx.draw()}),{finished:u,needsRefreshHover:f}},A.prototype._doPaintEl=function(e,t,r,n,i,a){var o=t.ctx;if(r){var s=e.getPaintRect();(!n||s&&s.intersect(n))&&(kn(o,e,i,a),e.setPrevPaintRect(s))}else kn(o,e,i,a)},A.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=Jn);var r=this._layers[e];return r||(r=new Ud("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?Oe(r,this._layerConfig[e],!0):this._layerConfig[e-Fu]&&Oe(r,this._layerConfig[e-Fu],!0),t&&(r.virtual=t),this.insertLayer(e,r),r.initContext()),r},A.prototype.insertLayer=function(e,t){var r=this._layers,n=this._zlevelList,i=n.length,a=this._domRoot,o=null,s=-1;if(r[e]){process.env.NODE_ENV!=="production"&&an("ZLevel "+e+" has been used already");return}if(!V2(t)){process.env.NODE_ENV!=="production"&&an("Layer of zlevel "+e+" is not valid");return}if(i>0&&e>n[0]){for(s=0;s<i-1&&!(n[s]<e&&n[s+1]>e);s++);o=r[n[s]]}if(n.splice(s+1,0,e),r[e]=t,!t.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(t.dom,l.nextSibling):a.appendChild(t.dom)}else a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom);t.painter||(t.painter=this)},A.prototype.eachLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n];e.call(t,this._layers[i],i)}},A.prototype.eachBuiltinLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__&&e.call(t,a,i)}},A.prototype.eachOtherLayer=function(e,t){for(var r=this._zlevelList,n=0;n<r.length;n++){var i=r[n],a=this._layers[i];a.__builtin__||e.call(t,a,i)}},A.prototype.getLayers=function(){return this._layers},A.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(f,c){f.__dirty=f.__used=!1});function t(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var n=e[r];if(n.zlevel!==e[r-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var i=null,a=0,o,s;for(s=0;s<e.length;s++){var n=e[s],l=n.zlevel,u=void 0;o!==l&&(o=l,a=0),n.incremental?(u=this.getLayer(l+k2,this._needsManuallyCompositing),u.incremental=!0,a=1):u=this.getLayer(l+(a>0?Fu:0),this._needsManuallyCompositing),u.__builtin__||an("ZLevel "+l+" has been used by unkown layer "+u.id),u!==i&&(u.__used=!0,u.__startIndex!==s&&(u.__dirty=!0),u.__startIndex=s,u.incremental?u.__drawIndex=-1:u.__drawIndex=s,t(s),i=u),n.__dirty&Zt&&!n.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=s))}t(s),this.eachBuiltinLayer(function(f,c){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},A.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},A.prototype._clearLayer=function(e){e.clear()},A.prototype.setBackgroundColor=function(e){this._backgroundColor=e,b(this._layers,function(t){t.setUnpainted()})},A.prototype.configLayer=function(e,t){if(t){var r=this._layerConfig;r[e]?Oe(r[e],t,!0):r[e]=t;for(var n=0;n<this._zlevelList.length;n++){var i=this._zlevelList[n];if(i===e||i===e+Fu){var a=this._layers[i];Oe(a,r[e],!0)}}}},A.prototype.delLayer=function(e){var t=this._layers,r=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],r.splice(Te(r,e),1))},A.prototype.resize=function(e,t){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var n=this._opts,i=this.root;if(e!=null&&(n.width=e),t!=null&&(n.height=t),e=zl(i,0,n),t=zl(i,1,n),r.style.display="",this._width!==e||t!==this._height){r.style.width=e+"px",r.style.height=t+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(e==null||t==null)return;this._width=e,this._height=t,this.getLayer(Jn).resize(e,t)}return this},A.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},A.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},A.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[Jn].dom;var t=new Ud("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var r=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,n,i):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];kn(r,u,a,s===l-1)}return t.dom},A.prototype.getWidth=function(){return this._width},A.prototype.getHeight=function(){return this._height},A})();function z2(A){A.registerPainter("canvas",G2)}function W2(){let A=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(A+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const r=(A+Math.random()*16)%16|0;return A=Math.floor(A/16),(t=="x"?r:r&3|8).toString(16)})}const O_=["#E3A8F7","#5C2D91","#8AE2C2","#FF6B8B","#3A7BD5","#F9D423","#7B4397","#40E0D0","#FF416C","#11998E","#C94B4B","#4CA1AF","#FF8008","#8A2387","#8EC5FC","#E0C3FC","#74EBD5","#FFD89B","#FD6585","#A3CB38","#6A11CB","#FF5E62","#3494E6","#EC6EAD","#FFE000","#799F0C","#00416A","#834D9B","#0052D4","#43C6AC","#8E2DE2","#4A00E0","#FF4B1F","#1CB5E0","#FF7E5F","#FBD3E9","#BB377D","#FF5F6D","#FFC371","#159957","#155799","#3CA55C","#D66D75","#F3904F","#B3FFAB","#12FFF7","#AA076B","#61045F","#FF7A00","#FFD200","#00B4DB","#0083B0"];function Eu(A){let e=/^(\d{4})-(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,t=/^(\d{2})-(\d{2}) ([01]\d|2[0-3]):[0-5]\d$/,r=/^(\d{4})-(\d{2})-(\d{2})$/;return e.test(A)||t.test(A)||r.test(A)}function Me(A,e,t){let r="";return e-A<=1?r=.1:e-A<=5?r=.5:e-A<=10?r=1:e-A<=25?r=2.5:e-A<=50?r=5:e-A<=100?r=10:e-A<=250?r=25:e-A<=500?r=50:e-A<=1e3?r=100:e-A<=2500?r=250:e-A<=5e3?r=500:e-A<=1e4?r=1e3:e-A<=2e4?r=2e3:e-A<=3e4?r=3e3:e-A<=4e4?r=4e3:e-A<=5e4?r=5e3:e-A<=6e4?r=6e3:e-A<=7e4?r=7e3:e-A<=8e4?r=8e3:e-A<=9e4?r=9e3:e-A<=1e5?r=1e4:e-A<=11e4?r=11e3:e-A<=12e4?r=12e3:e-A<=13e4?r=13e3:e-A<=14e4?r=14e3:e-A<=15e4?r=15e3:e-A<=16e4?r=16e3:e-A<=17e4?r=17e3:e-A<=18e4?r=18e3:e-A<=19e4?r=19e3:e-A<=2e5&&(r=2e4),t==1&&(r=r*2),r}function Aa(A){if(isNaN(A))return"";var e=parseFloat(A);if(e>1){for(var t=0,r=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],n=0;n<r.length;n++)e>=r[n]&&e<r[n+1]&&(t=r[n]);if(t==0)return e.toString();var i=Math.round(e/t*100)/100;return i=i*t,i>=100?i.toFixed(0):i>=10?i.toFixed(1):i.toFixed(2)}else{if(e>=0)return e.toFixed(3);if(e<0)return"-"+Aa(Math.abs(e))}}function R_(A,e,t){const r=[];let n=new Date(A);for(;n<=e;){const i=n.getMinutes();i%t===0&&r.push(xe(new Date(n)).format("YYYY-MM-DD HH:mm")),n.setMinutes(i+1)}return r}function Y2(A,e){A=A.sort((n,i)=>Date.parse(n)-Date.parse(i));let t,r=[];for(let n=0;n<A.length;n++){n==0&&(t=A[n]);let i=xe(A[n]).add(e,"minute").format("YYYY-MM-DD HH:mm");A.includes(i)||(r.push({startTm:t,endTm:A[n]}),n+1<A.length&&(t=A[n+1]))}return r}const X2=A=>new Promise(e=>{setTimeout(()=>{e({statusCode:200,data:A.rzw*1e3})},100)});/*!
46
46
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
47
47
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
48
48
  * Released under MIT License
@@ -59,14 +59,14 @@ echarts.use([`+I+"]);":"Unknown series "+E))}return}if(f==="tooltip"){if(m){proc
59
59
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
60
60
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
61
61
  PERFORMANCE OF THIS SOFTWARE.
62
- ***************************************************************************** */var Td=function(A,e){return Td=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Td(A,e)};function UA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Td(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Dd=function(){return Dd=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Dd.apply(this,arguments)};function Nt(A,e,t,r){function n(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function o(u){try{l(r.next(u))}catch(f){a(f)}}function s(u){try{l(r.throw(u))}catch(f){a(f)}}function l(u){u.done?i(u.value):n(u.value).then(o,s)}l((r=r.apply(A,[])).next())})}function Ut(A,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(l){return function(u){return s([l,u])}}function s(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1],i=l;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(l);break}i[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(u){l=[6,u],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Su(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,i;r<n;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return A.concat(i||e)}for(var gr=(function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),Uu=function(A,e){return gr.fromClientRect(A,e.getBoundingClientRect())},Z2=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new gr(0,0,r,n)},Iu=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},at=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},N_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",J2=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tu=0;Tu<N_.length;Tu++)J2[N_.charCodeAt(Tu)]=Tu;for(var P_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",To=typeof Uint8Array>"u"?[]:new Uint8Array(256),Du=0;Du<P_.length;Du++)To[P_.charCodeAt(Du)]=Du;for(var q2=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=To[A.charCodeAt(r)],a=To[A.charCodeAt(r+1)],o=To[A.charCodeAt(r+2)],s=To[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},$2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},j2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},qn=5,Ld=11,Md=2,eO=Ld-qn,k_=65536>>qn,tO=1<<qn,Hd=tO-1,AO=1024>>qn,rO=k_+AO,nO=rO,iO=32,aO=nO+iO,oO=65536>>Ld,sO=1<<eO,lO=sO-1,V_=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},uO=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},fO=function(A,e){var t=q2(A),r=Array.isArray(t)?j2(t):new Uint32Array(t),n=Array.isArray(t)?$2(t):new Uint16Array(t),i=24,a=V_(n,i/2,r[4]/2),o=r[5]===2?V_(n,(i+r[4])/2):uO(r,Math.ceil((i+r[4])/4));return new cO(r[0],r[1],r[2],r[3],a,o)},cO=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>qn],t=(t<<Md)+(e&Hd),this.data[t];if(e<=65535)return t=this.index[k_+(e-55296>>qn)],t=(t<<Md)+(e&Hd),this.data[t];if(e<this.highStart)return t=aO-oO+(e>>Ld),t=this.index[t],t+=e>>qn&lO,t=this.index[t],t=(t<<Md)+(e&Hd),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),K_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hO=typeof Uint8Array>"u"?[]:new Uint8Array(256),Lu=0;Lu<K_.length;Lu++)hO[K_.charCodeAt(Lu)]=Lu;var vO="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",G_=50,dO=1,z_=2,W_=3,pO=4,gO=5,Y_=7,X_=8,Z_=9,Zr=10,Od=11,J_=12,Rd=13,BO=14,Do=15,Nd=16,Mu=17,Lo=18,mO=19,q_=20,Pd=21,Mo=22,kd=23,na=24,eA=25,Ho=26,Oo=27,ia=28,yO=29,$n=30,wO=31,Hu=32,Ou=33,Vd=34,Kd=35,Gd=36,Ro=37,zd=38,Ru=39,Nu=40,Wd=41,$_=42,CO=43,_O=[9001,65288],j_="!",Ie="×",Pu="÷",Yd=fO(vO),Br=[$n,Gd],Xd=[dO,z_,W_,gO],eQ=[Zr,X_],tQ=[Oo,Ho],QO=Xd.concat(eQ),AQ=[zd,Ru,Nu,Vd,Kd],xO=[Do,Rd],FO=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(i,a){var o=Yd.get(i);if(o>G_?(n.push(!0),o-=G_):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),t.push(Nd);if(o===pO||o===Od){if(a===0)return r.push(a),t.push($n);var s=t[a-1];return QO.indexOf(s)===-1?(r.push(r[a-1]),t.push(s)):(r.push(a),t.push($n))}if(r.push(a),o===wO)return t.push(e==="strict"?Pd:Ro);if(o===$_||o===yO)return t.push($n);if(o===CO)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Ro):t.push($n);t.push(o)}),[r,t,n]},Zd=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var a=r[i];if(a===e)return!0;if(a!==Zr)break}if(n===Zr)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var s=t;s<=r.length;){s++;var a=r[s];if(a===e)return!0;if(a!==Zr)break}if(o!==Zr)break}return!1},rQ=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Zr)t--;else return r}return 0},EO=function(A,e,t,r,n){if(t[r]===0)return Ie;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ie;var a=i-1,o=i+1,s=e[i],l=a>=0?e[a]:0,u=e[o];if(s===z_&&u===W_)return Ie;if(Xd.indexOf(s)!==-1)return j_;if(Xd.indexOf(u)!==-1||eQ.indexOf(u)!==-1)return Ie;if(rQ(i,e)===X_)return Pu;if(Yd.get(A[i])===Od||(s===Hu||s===Ou)&&Yd.get(A[o])===Od||s===Y_||u===Y_||s===Z_||[Zr,Rd,Do].indexOf(s)===-1&&u===Z_||[Mu,Lo,mO,na,ia].indexOf(u)!==-1||rQ(i,e)===Mo||Zd(kd,Mo,i,e)||Zd([Mu,Lo],Pd,i,e)||Zd(J_,J_,i,e))return Ie;if(s===Zr)return Pu;if(s===kd||u===kd)return Ie;if(u===Nd||s===Nd)return Pu;if([Rd,Do,Pd].indexOf(u)!==-1||s===BO||l===Gd&&xO.indexOf(s)!==-1||s===ia&&u===Gd||u===q_||Br.indexOf(u)!==-1&&s===eA||Br.indexOf(s)!==-1&&u===eA||s===Oo&&[Ro,Hu,Ou].indexOf(u)!==-1||[Ro,Hu,Ou].indexOf(s)!==-1&&u===Ho||Br.indexOf(s)!==-1&&tQ.indexOf(u)!==-1||tQ.indexOf(s)!==-1&&Br.indexOf(u)!==-1||[Oo,Ho].indexOf(s)!==-1&&(u===eA||[Mo,Do].indexOf(u)!==-1&&e[o+1]===eA)||[Mo,Do].indexOf(s)!==-1&&u===eA||s===eA&&[eA,ia,na].indexOf(u)!==-1)return Ie;if([eA,ia,na,Mu,Lo].indexOf(u)!==-1)for(var f=i;f>=0;){var c=e[f];if(c===eA)return Ie;if([ia,na].indexOf(c)!==-1)f--;else break}if([Oo,Ho].indexOf(u)!==-1)for(var f=[Mu,Lo].indexOf(s)!==-1?a:i;f>=0;){var c=e[f];if(c===eA)return Ie;if([ia,na].indexOf(c)!==-1)f--;else break}if(zd===s&&[zd,Ru,Vd,Kd].indexOf(u)!==-1||[Ru,Vd].indexOf(s)!==-1&&[Ru,Nu].indexOf(u)!==-1||[Nu,Kd].indexOf(s)!==-1&&u===Nu||AQ.indexOf(s)!==-1&&[q_,Ho].indexOf(u)!==-1||AQ.indexOf(u)!==-1&&s===Oo||Br.indexOf(s)!==-1&&Br.indexOf(u)!==-1||s===na&&Br.indexOf(u)!==-1||Br.concat(eA).indexOf(s)!==-1&&u===Mo&&_O.indexOf(A[o])===-1||Br.concat(eA).indexOf(u)!==-1&&s===Lo)return Ie;if(s===Wd&&u===Wd){for(var h=t[i],v=1;h>0&&(h--,e[h]===Wd);)v++;if(v%2!==0)return Ie}return s===Hu&&u===Ou?Ie:Pu},bO=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=FO(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[eA,$n,$_].indexOf(o)!==-1?Ro:o}));var a=e.wordBreak==="keep-all"?i.map(function(o,s){return o&&A[s]>=19968&&A[s]<=40959}):void 0;return[r,n,a]},SO=(function(){function A(e,t,r,n){this.codePoints=e,this.required=t===j_,this.start=r,this.end=n}return A.prototype.slice=function(){return at.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),UO=function(A,e){var t=Iu(A),r=bO(t,e),n=r[0],i=r[1],a=r[2],o=t.length,s=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=Ie;l<o&&(u=EO(t,i,n,++l,a))===Ie;);if(u!==Ie||l===o){var f=new SO(t,u,s,l);return s=l,{value:f,done:!1}}return{done:!0,value:null}}}},IO=1,TO=2,No=4,nQ=8,ku=10,iQ=47,Po=92,DO=9,LO=32,Vu=34,ko=61,MO=35,HO=36,OO=37,Ku=39,Gu=40,Vo=41,RO=95,Yt=45,NO=33,PO=60,kO=62,VO=64,KO=91,GO=93,zO=61,WO=123,zu=63,YO=125,aQ=124,XO=126,ZO=128,oQ=65533,Jd=42,jn=43,JO=44,qO=58,$O=59,Ko=46,jO=0,eR=8,tR=11,AR=14,rR=31,nR=127,$A=-1,sQ=48,lQ=97,uQ=101,iR=102,aR=117,oR=122,fQ=65,cQ=69,hQ=70,sR=85,lR=90,It=function(A){return A>=sQ&&A<=57},uR=function(A){return A>=55296&&A<=57343},aa=function(A){return It(A)||A>=fQ&&A<=hQ||A>=lQ&&A<=iR},fR=function(A){return A>=lQ&&A<=oR},cR=function(A){return A>=fQ&&A<=lR},hR=function(A){return fR(A)||cR(A)},vR=function(A){return A>=ZO},Wu=function(A){return A===ku||A===DO||A===LO},Yu=function(A){return hR(A)||vR(A)||A===RO},vQ=function(A){return Yu(A)||It(A)||A===Yt},dR=function(A){return A>=jO&&A<=eR||A===tR||A>=AR&&A<=rR||A===nR},Jr=function(A,e){return A!==Po?!1:e!==ku},Xu=function(A,e,t){return A===Yt?Yu(e)||Jr(e,t):Yu(A)?!0:!!(A===Po&&Jr(A,e))},qd=function(A,e,t){return A===jn||A===Yt?It(e)?!0:e===Ko&&It(t):It(A===Ko?e:A)},pR=function(A){var e=0,t=1;(A[e]===jn||A[e]===Yt)&&(A[e]===Yt&&(t=-1),e++);for(var r=[];It(A[e]);)r.push(A[e++]);var n=r.length?parseInt(at.apply(void 0,r),10):0;A[e]===Ko&&e++;for(var i=[];It(A[e]);)i.push(A[e++]);var a=i.length,o=a?parseInt(at.apply(void 0,i),10):0;(A[e]===cQ||A[e]===uQ)&&e++;var s=1;(A[e]===jn||A[e]===Yt)&&(A[e]===Yt&&(s=-1),e++);for(var l=[];It(A[e]);)l.push(A[e++]);var u=l.length?parseInt(at.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-a))*Math.pow(10,s*u)},gR={type:2},BR={type:3},mR={type:4},yR={type:13},wR={type:8},CR={type:21},_R={type:9},QR={type:10},xR={type:11},FR={type:12},ER={type:14},Zu={type:23},bR={type:1},SR={type:25},UR={type:24},IR={type:26},TR={type:27},DR={type:28},LR={type:29},MR={type:31},$d={type:32},dQ=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Iu(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==$d;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Vu:return this.consumeStringToken(Vu);case MO:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(vQ(t)||Jr(r,n)){var i=Xu(t,r,n)?TO:IO,a=this.consumeName();return{type:5,value:a,flags:i}}break;case HO:if(this.peekCodePoint(0)===ko)return this.consumeCodePoint(),yR;break;case Ku:return this.consumeStringToken(Ku);case Gu:return gR;case Vo:return BR;case Jd:if(this.peekCodePoint(0)===ko)return this.consumeCodePoint(),ER;break;case jn:if(qd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case JO:return mR;case Yt:var o=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(qd(o,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Xu(o,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===Yt&&l===kO)return this.consumeCodePoint(),this.consumeCodePoint(),UR;break;case Ko:if(qd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case iQ:if(this.peekCodePoint(0)===Jd)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===Jd&&(u=this.consumeCodePoint(),u===iQ))return this.consumeToken();if(u===$A)return this.consumeToken()}break;case qO:return IR;case $O:return TR;case PO:if(this.peekCodePoint(0)===NO&&this.peekCodePoint(1)===Yt&&this.peekCodePoint(2)===Yt)return this.consumeCodePoint(),this.consumeCodePoint(),SR;break;case VO:var f=this.peekCodePoint(0),c=this.peekCodePoint(1),h=this.peekCodePoint(2);if(Xu(f,c,h)){var a=this.consumeName();return{type:7,value:a}}break;case KO:return DR;case Po:if(Jr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case GO:return LR;case zO:if(this.peekCodePoint(0)===ko)return this.consumeCodePoint(),wR;break;case WO:return xR;case YO:return FR;case aR:case sR:var v=this.peekCodePoint(0),d=this.peekCodePoint(1);return v===jn&&(aa(d)||d===zu)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case aQ:if(this.peekCodePoint(0)===ko)return this.consumeCodePoint(),_R;if(this.peekCodePoint(0)===aQ)return this.consumeCodePoint(),CR;break;case XO:if(this.peekCodePoint(0)===ko)return this.consumeCodePoint(),QR;break;case $A:return $d}return Wu(e)?(this.consumeWhiteSpace(),MR):It(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Yu(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:at(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();aa(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===zu&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(at.apply(void 0,e.map(function(s){return s===zu?sQ:s})),16),i=parseInt(at.apply(void 0,e.map(function(s){return s===zu?hQ:s})),16);return{type:30,start:n,end:i}}var a=parseInt(at.apply(void 0,e),16);if(this.peekCodePoint(0)===Yt&&aa(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];aa(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(at.apply(void 0,o),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Gu?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Gu?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ku||t===Vu){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Vo)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Zu)}for(;;){var n=this.consumeCodePoint();if(n===$A||n===Vo)return{type:22,value:at.apply(void 0,e)};if(Wu(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===Vo?(this.consumeCodePoint(),{type:22,value:at.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Zu);if(n===Vu||n===Ku||n===Gu||dR(n))return this.consumeBadUrlRemnants(),Zu;if(n===Po)if(Jr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Zu;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Wu(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Vo||e===$A)return;Jr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=at.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===$A||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===ku)return this._value.splice(0,r),bR;if(n===Po){var i=this._value[r+1];i!==$A&&i!==void 0&&(i===ku?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Jr(n,i)&&(t+=this.consumeStringSlice(r),t+=at(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=No,r=this.peekCodePoint(0);for((r===jn||r===Yt)&&e.push(this.consumeCodePoint());It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Ko&&It(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=nQ;It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===cQ||r===uQ)&&((n===jn||n===Yt)&&It(i)||It(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=nQ;It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[pR(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(Xu(n,i,a)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===OO?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(aa(e)){for(var t=at(e);aa(this.peekCodePoint(0))&&t.length<6;)t+=at(this.consumeCodePoint());Wu(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||uR(r)||r>1114111?oQ:r}return e===$A?oQ:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(vQ(t))e+=at(t);else if(Jr(t,this.peekCodePoint(0)))e+=at(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),pQ=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new dQ;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||OR(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?$d:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),Go=function(A){return A.type===15},oa=function(A){return A.type===17},We=function(A){return A.type===20},HR=function(A){return A.type===0},jd=function(A,e){return We(A)&&A.value===e},gQ=function(A){return A.type!==31},sa=function(A){return A.type!==31&&A.type!==4},jA=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},OR=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},qr=function(A){return A.type===17||A.type===15},ft=function(A){return A.type===16||qr(A)},BQ=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ct={type:17,number:0,flags:No},ep={type:16,number:50,flags:No},$r={type:16,number:100,flags:No},zo=function(A,e,t){var r=A[0],n=A[1];return[Je(r,e),Je(typeof n<"u"?n:r,t)]},Je=function(A,e){if(A.type===16)return A.number/100*e;if(Go(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},mQ="deg",yQ="grad",wQ="rad",CQ="turn",Ju={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case mQ:return Math.PI*e.number/180;case yQ:return Math.PI/200*e.number;case wQ:return e.number;case CQ:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},_Q=function(A){return A.type===15&&(A.unit===mQ||A.unit===yQ||A.unit===wQ||A.unit===CQ)},QQ=function(A){var e=A.filter(We).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ct,Ct];case"to top":case"bottom":return vA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ct,$r];case"to right":case"left":return vA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$r,$r];case"to bottom":case"top":return vA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$r,Ct];case"to left":case"right":return vA(270)}return 0},vA=function(A){return Math.PI*A/180},jr={name:"color",parse:function(A,e){if(e.type===18){var t=RR[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),a=e.value.substring(3,4);return tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),a=e.value.substring(6,8);return tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(e.type===20){var o=mr[e.value.toUpperCase()];if(typeof o<"u")return o}return mr.TRANSPARENT}},en=function(A){return(255&A)===0},yt=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},tn=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},xQ=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},FQ=function(A,e){var t=e.filter(sa);if(t.length===3){var r=t.map(xQ),n=r[0],i=r[1],a=r[2];return tn(n,i,a,1)}if(t.length===4){var o=t.map(xQ),n=o[0],i=o[1],a=o[2],s=o[3];return tn(n,i,a,s)}return 0};function tp(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var EQ=function(A,e){var t=e.filter(sa),r=t[0],n=t[1],i=t[2],a=t[3],o=(r.type===17?vA(r.number):Ju.parse(A,r))/(Math.PI*2),s=ft(n)?n.number/100:0,l=ft(i)?i.number/100:0,u=typeof a<"u"&&ft(a)?Je(a,1):1;if(s===0)return tn(l*255,l*255,l*255,1);var f=l<=.5?l*(s+1):l+s-l*s,c=l*2-f,h=tp(c,f,o+1/3),v=tp(c,f,o),d=tp(c,f,o-1/3);return tn(h*255,v*255,d*255,u)},RR={hsl:EQ,hsla:EQ,rgb:FQ,rgba:FQ},Wo=function(A,e){return jr.parse(A,pQ.create(e).parseComponentValue())},mr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},NR={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(We(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},PR={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},qu=function(A,e){var t=jr.parse(A,e[0]),r=e[1];return r&&ft(r)?{color:t,stop:r}:{color:t,stop:null}},bQ=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=Ct),r.stop===null&&(r.stop=$r);for(var n=[],i=0,a=0;a<A.length;a++){var o=A[a].stop;if(o!==null){var s=Je(o,e);s>i?n.push(s):n.push(i),i=s}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var u=n[a];if(u===null)l===null&&(l=a);else if(l!==null){for(var f=a-l,c=n[l-1],h=(u-c)/(f+1),v=1;v<=f;v++)n[l+v-1]=h*v;l=null}}return A.map(function(d,g){var p=d.color;return{color:p,stop:Math.max(Math.min(1,n[g]/e),0)}})},kR=function(A,e,t){var r=e/2,n=t/2,i=Je(A[0],e)-r,a=n-Je(A[1],t);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},VR=function(A,e,t){var r=typeof A=="number"?A:kR(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),i=e/2,a=t/2,o=n/2,s=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,i-l,i+l,a-s,a+s]},IA=function(A,e){return Math.sqrt(A*A+e*e)},SQ=function(A,e,t,r,n){var i=[[0,0],[0,e],[A,0],[A,e]];return i.reduce(function(a,o){var s=o[0],l=o[1],u=IA(t-s,r-l);return(n?u<a.optimumDistance:u>a.optimumDistance)?{optimumCorner:o,optimumDistance:u}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},KR=function(A,e,t,r,n){var i=0,a=0;switch(A.size){case 0:A.shape===0?i=a=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),a=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=a=Math.min(IA(e,t),IA(e,t-n),IA(e-r,t),IA(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),s=SQ(r,n,e,t,!0),l=s[0],u=s[1];i=IA(l-e,(u-t)/o),a=o*i}break;case 1:A.shape===0?i=a=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),a=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=a=Math.max(IA(e,t),IA(e,t-n),IA(e-r,t),IA(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=SQ(r,n,e,t,!1),l=f[0],u=f[1];i=IA(l-e,(u-t)/o),a=o*i}break}return Array.isArray(A.size)&&(i=Je(A.size[0],r),a=A.size.length===2?Je(A.size[1],n):i),[i,a]},GR=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){t=QQ(n);return}else if(_Q(a)){t=Ju.parse(A,a);return}}var o=qu(A,n);r.push(o)}),{angle:t,stops:r,type:1}},$u=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){t=QQ(n);return}else if(_Q(a)){t=(Ju.parse(A,a)+vA(270))%vA(360);return}}var o=qu(A,n);r.push(o)}),{angle:t,stops:r,type:1}},zR=function(A,e){var t=vA(180),r=[],n=1,i=0,a=3,o=[];return jA(e).forEach(function(s,l){var u=s[0];if(l===0){if(We(u)&&u.value==="linear"){n=1;return}else if(We(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var f=jr.parse(A,u.values[0]);r.push({stop:Ct,color:f})}else if(u.name==="to"){var f=jr.parse(A,u.values[0]);r.push({stop:$r,color:f})}else if(u.name==="color-stop"){var c=u.values.filter(sa);if(c.length===2){var f=jr.parse(A,c[1]),h=c[0];oa(h)&&r.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),n===1?{angle:(t+vA(180))%vA(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:o,type:n}},UQ="closest-side",IQ="farthest-side",TQ="closest-corner",DQ="farthest-corner",LQ="circle",MQ="ellipse",HQ="cover",OQ="contain",WR=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0){var l=!1;s=a.reduce(function(f,c){if(l)if(We(c))switch(c.value){case"center":return i.push(ep),f;case"top":case"left":return i.push(Ct),f;case"right":case"bottom":return i.push($r),f}else(ft(c)||qr(c))&&i.push(c);else if(We(c))switch(c.value){case LQ:return t=0,!1;case MQ:return t=1,!1;case"at":return l=!0,!1;case UQ:return r=0,!1;case HQ:case IQ:return r=1,!1;case OQ:case TQ:return r=2,!1;case DQ:return r=3,!1}else if(qr(c)||ft(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return f},s)}if(s){var u=qu(A,a);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},ju=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0?s=a.reduce(function(u,f){if(We(f))switch(f.value){case"center":return i.push(ep),!1;case"top":case"left":return i.push(Ct),!1;case"right":case"bottom":return i.push($r),!1}else if(ft(f)||qr(f))return i.push(f),!1;return u},s):o===1&&(s=a.reduce(function(u,f){if(We(f))switch(f.value){case LQ:return t=0,!1;case MQ:return t=1,!1;case OQ:case UQ:return r=0,!1;case IQ:return r=1,!1;case TQ:return r=2,!1;case HQ:case DQ:return r=3,!1}else if(qr(f)||ft(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},s)),s){var l=qu(A,a);n.push(l)}}),{size:r,shape:t,stops:n,position:i,type:2}},YR=function(A){return A.type===1},XR=function(A){return A.type===2},Ap={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=RQ[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function ZR(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!RQ[A.name])}var RQ={"linear-gradient":GR,"-moz-linear-gradient":$u,"-ms-linear-gradient":$u,"-o-linear-gradient":$u,"-webkit-linear-gradient":$u,"radial-gradient":WR,"-moz-radial-gradient":ju,"-ms-radial-gradient":ju,"-o-radial-gradient":ju,"-webkit-radial-gradient":ju,"-webkit-gradient":zR},JR={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return sa(r)&&ZR(r)}).map(function(r){return Ap.parse(A,r)})}},qR={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(We(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},$R={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return jA(e).map(function(t){return t.filter(ft)}).map(BQ)}},jR={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(We).map(function(r){return r.value}).join(" ")}).map(eN)}},eN=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},la;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(la||(la={}));var tN={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(AN)})}},AN=function(A){return We(A)||ft(A)},ef=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rN=ef("top"),nN=ef("right"),iN=ef("bottom"),aN=ef("left"),tf=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return BQ(t.filter(ft))}}},oN=tf("top-left"),sN=tf("top-right"),lN=tf("bottom-right"),uN=tf("bottom-left"),Af=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},fN=Af("top"),cN=Af("right"),hN=Af("bottom"),vN=Af("left"),rf=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Go(t)?t.number:0}}},dN=rf("top"),pN=rf("right"),gN=rf("bottom"),BN=rf("left"),mN={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yN={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},wN={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(We).reduce(function(t,r){return t|CN(r.value)},0)}},CN=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},_N={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},QN={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},nf;(function(A){A.NORMAL="normal",A.STRICT="strict"})(nf||(nf={}));var xN={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return nf.STRICT;case"normal":default:return nf.NORMAL}}},FN={name:"line-height",initialValue:"normal",prefix:!1,type:4},NQ=function(A,e){return We(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:ft(A)?Je(A,e):e},EN={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Ap.parse(A,e)}},bN={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},rp={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},af=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},SN=af("top"),UN=af("right"),IN=af("bottom"),TN=af("left"),DN={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(We).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},LN={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},of=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},MN=of("top"),HN=of("right"),ON=of("bottom"),RN=of("left"),NN={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},PN={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},kN={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&jd(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:mr.TRANSPARENT,offsetX:Ct,offsetY:Ct,blur:Ct},n=0,i=0;i<t.length;i++){var a=t[i];qr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=jr.parse(A,a)}return r})}},VN={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},KN={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=WN[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},GN=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},zN=function(A){var e=A.filter(function(s){return s.type===17}).map(function(s){return s.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,i,a,o]:null},WN={matrix:GN,matrix3d:zN},PQ={type:16,number:50,flags:No},YN=[PQ,PQ],XN={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(ft);return t.length!==2?YN:[t[0],t[1]]}},ZN={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Yo;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Yo||(Yo={}));for(var JN={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Yo.BREAK_ALL;case"keep-all":return Yo.KEEP_ALL;case"normal":default:return Yo.NORMAL}}},qN={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(oa(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},kQ={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},$N={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return oa(e)?e.number:1}},jN={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eP={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(We).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},tP={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},AP={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},rP={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(oa(e))return e.number;if(We(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},nP={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(We).map(function(t){return t.value})}},iP={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},vt=function(A,e){return(A&e)!==0},aP={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},oP={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(gQ),i=0;i<n.length;i++){var a=n[i],o=n[i+1];if(a.type===20){var s=o&&oa(o)?o.number:1;r.push({counter:a.value,increment:s})}}return r}},sP={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(gQ),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(We(i)&&i.value!=="none"){var o=a&&oa(a)?a.number:0;t.push({counter:i.value,reset:o})}}return t}},lP={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Go).map(function(t){return kQ.parse(A,t)})}},uP={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(HR);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,o=n[i+1].value;r.push({open:a,close:o})}return r}},VQ=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},fP={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&jd(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:255,offsetX:Ct,offsetY:Ct,blur:Ct,spread:Ct,inset:!1},n=0,i=0;i<t.length;i++){var a=t[i];jd(a,"inset")?r.inset=!0:qr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=jr.parse(A,a)}return r})}},cP={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(We).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},hP={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},vP={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Go(e)?e.number:0}},dP=(function(){function A(e,t){var r,n;this.animationDuration=Ae(e,lP,t.animationDuration),this.backgroundClip=Ae(e,NR,t.backgroundClip),this.backgroundColor=Ae(e,PR,t.backgroundColor),this.backgroundImage=Ae(e,JR,t.backgroundImage),this.backgroundOrigin=Ae(e,qR,t.backgroundOrigin),this.backgroundPosition=Ae(e,$R,t.backgroundPosition),this.backgroundRepeat=Ae(e,jR,t.backgroundRepeat),this.backgroundSize=Ae(e,tN,t.backgroundSize),this.borderTopColor=Ae(e,rN,t.borderTopColor),this.borderRightColor=Ae(e,nN,t.borderRightColor),this.borderBottomColor=Ae(e,iN,t.borderBottomColor),this.borderLeftColor=Ae(e,aN,t.borderLeftColor),this.borderTopLeftRadius=Ae(e,oN,t.borderTopLeftRadius),this.borderTopRightRadius=Ae(e,sN,t.borderTopRightRadius),this.borderBottomRightRadius=Ae(e,lN,t.borderBottomRightRadius),this.borderBottomLeftRadius=Ae(e,uN,t.borderBottomLeftRadius),this.borderTopStyle=Ae(e,fN,t.borderTopStyle),this.borderRightStyle=Ae(e,cN,t.borderRightStyle),this.borderBottomStyle=Ae(e,hN,t.borderBottomStyle),this.borderLeftStyle=Ae(e,vN,t.borderLeftStyle),this.borderTopWidth=Ae(e,dN,t.borderTopWidth),this.borderRightWidth=Ae(e,pN,t.borderRightWidth),this.borderBottomWidth=Ae(e,gN,t.borderBottomWidth),this.borderLeftWidth=Ae(e,BN,t.borderLeftWidth),this.boxShadow=Ae(e,fP,t.boxShadow),this.color=Ae(e,mN,t.color),this.direction=Ae(e,yN,t.direction),this.display=Ae(e,wN,t.display),this.float=Ae(e,_N,t.cssFloat),this.fontFamily=Ae(e,tP,t.fontFamily),this.fontSize=Ae(e,AP,t.fontSize),this.fontStyle=Ae(e,iP,t.fontStyle),this.fontVariant=Ae(e,nP,t.fontVariant),this.fontWeight=Ae(e,rP,t.fontWeight),this.letterSpacing=Ae(e,QN,t.letterSpacing),this.lineBreak=Ae(e,xN,t.lineBreak),this.lineHeight=Ae(e,FN,t.lineHeight),this.listStyleImage=Ae(e,EN,t.listStyleImage),this.listStylePosition=Ae(e,bN,t.listStylePosition),this.listStyleType=Ae(e,rp,t.listStyleType),this.marginTop=Ae(e,SN,t.marginTop),this.marginRight=Ae(e,UN,t.marginRight),this.marginBottom=Ae(e,IN,t.marginBottom),this.marginLeft=Ae(e,TN,t.marginLeft),this.opacity=Ae(e,$N,t.opacity);var i=Ae(e,DN,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Ae(e,LN,t.overflowWrap),this.paddingTop=Ae(e,MN,t.paddingTop),this.paddingRight=Ae(e,HN,t.paddingRight),this.paddingBottom=Ae(e,ON,t.paddingBottom),this.paddingLeft=Ae(e,RN,t.paddingLeft),this.paintOrder=Ae(e,cP,t.paintOrder),this.position=Ae(e,PN,t.position),this.textAlign=Ae(e,NN,t.textAlign),this.textDecorationColor=Ae(e,jN,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=Ae(e,eP,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=Ae(e,kN,t.textShadow),this.textTransform=Ae(e,VN,t.textTransform),this.transform=Ae(e,KN,t.transform),this.transformOrigin=Ae(e,XN,t.transformOrigin),this.visibility=Ae(e,ZN,t.visibility),this.webkitTextStrokeColor=Ae(e,hP,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ae(e,vP,t.webkitTextStrokeWidth),this.wordBreak=Ae(e,JN,t.wordBreak),this.zIndex=Ae(e,qN,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return en(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return vt(this.display,4)||vt(this.display,33554432)||vt(this.display,268435456)||vt(this.display,536870912)||vt(this.display,67108864)||vt(this.display,134217728)},A})(),pP=(function(){function A(e,t){this.content=Ae(e,aP,t.content),this.quotes=Ae(e,uP,t.quotes)}return A})(),KQ=(function(){function A(e,t){this.counterIncrement=Ae(e,oP,t.counterIncrement),this.counterReset=Ae(e,sP,t.counterReset)}return A})(),Ae=function(A,e,t){var r=new dQ,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new pQ(r.read());switch(e.type){case 2:var a=i.parseComponentValue();return e.parse(A,We(a)?a.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return Ju.parse(A,i.parseComponentValue());case"color":return jr.parse(A,i.parseComponentValue());case"image":return Ap.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return qr(o)?o:Ct;case"length-percentage":var s=i.parseComponentValue();return ft(s)?s:Ct;case"time":return kQ.parse(A,i.parseComponentValue())}break}},gP="data-html2canvas-debug",BP=function(A){var e=A.getAttribute(gP);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},np=function(A,e){var t=BP(A);return t===1||e===t},er=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,np(t,3))debugger;this.styles=new dP(e,window.getComputedStyle(t,null)),Bp(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Uu(this.context,t),np(t,4)&&(this.flags|=16)}return A})(),mP="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",GQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xo=typeof Uint8Array>"u"?[]:new Uint8Array(256),sf=0;sf<GQ.length;sf++)Xo[GQ.charCodeAt(sf)]=sf;for(var yP=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=Xo[A.charCodeAt(r)],a=Xo[A.charCodeAt(r+1)],o=Xo[A.charCodeAt(r+2)],s=Xo[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},wP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},CP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ei=5,ip=11,ap=2,_P=ip-ei,zQ=65536>>ei,QP=1<<ei,op=QP-1,xP=1024>>ei,FP=zQ+xP,EP=FP,bP=32,SP=EP+bP,UP=65536>>ip,IP=1<<_P,TP=IP-1,WQ=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},DP=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},LP=function(A,e){var t=yP(A),r=Array.isArray(t)?CP(t):new Uint32Array(t),n=Array.isArray(t)?wP(t):new Uint16Array(t),i=24,a=WQ(n,i/2,r[4]/2),o=r[5]===2?WQ(n,(i+r[4])/2):DP(r,Math.ceil((i+r[4])/4));return new MP(r[0],r[1],r[2],r[3],a,o)},MP=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ei],t=(t<<ap)+(e&op),this.data[t];if(e<=65535)return t=this.index[zQ+(e-55296>>ei)],t=(t<<ap)+(e&op),this.data[t];if(e<this.highStart)return t=SP-UP+(e>>ip),t=this.index[t],t+=e>>ei&TP,t=this.index[t],t=(t<<ap)+(e&op),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),YQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",HP=typeof Uint8Array>"u"?[]:new Uint8Array(256),lf=0;lf<YQ.length;lf++)HP[YQ.charCodeAt(lf)]=lf;var OP=1,sp=2,lp=3,XQ=4,ZQ=5,RP=7,JQ=8,up=9,fp=10,qQ=11,$Q=12,jQ=13,e1=14,cp=15,NP=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},PP=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},kP=LP(mP),dA="×",hp="÷",VP=function(A){return kP.get(A)},KP=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],a=e[t];if(i===sp&&a===lp)return dA;if(i===sp||i===lp||i===XQ||a===sp||a===lp||a===XQ)return hp;if(i===JQ&&[JQ,up,qQ,$Q].indexOf(a)!==-1||(i===qQ||i===up)&&(a===up||a===fp)||(i===$Q||i===fp)&&a===fp||a===jQ||a===ZQ||a===RP||i===OP)return dA;if(i===jQ&&a===e1){for(;n===ZQ;)n=e[--r];if(n===e1)return dA}if(i===cp&&a===cp){for(var o=0;n===cp;)o++,n=e[--r];if(o%2===0)return dA}return hp},GP=function(A){var e=NP(A),t=e.length,r=0,n=0,i=e.map(VP);return{next:function(){if(r>=t)return{done:!0,value:null};for(var a=dA;r<t&&(a=KP(e,i,++r))===dA;);if(a!==dA||r===t){var o=PP.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},zP=function(A){for(var e=GP(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},WP=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),i=Math.round(n.height);if(A.body.removeChild(r),i===e)return!0}}return!1},YP=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Iu(r.data).map(function(s){return at(s)}),i=0,a={},o=n.every(function(s,l){t.setStart(r,i),t.setEnd(r,i+s.length);var u=t.getBoundingClientRect();i+=s.length;var f=u.x>a.x||u.y>a.y;return a=u,l===0?!0:f});return A.body.removeChild(e),o},XP=function(){return typeof new Image().crossOrigin<"u"},ZP=function(){return typeof new XMLHttpRequest().responseType=="string"},JP=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},t1=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},qP=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var a=vp(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),A1(a).then(function(o){r.drawImage(o,0,0);var s=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=t+"px",t1(s)?A1(vp(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),t1(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},vp=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(o),o.appendChild(n),a},A1=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},_t={get SUPPORT_RANGE_BOUNDS(){var A=WP(document);return Object.defineProperty(_t,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=_t.SUPPORT_RANGE_BOUNDS&&YP(document);return Object.defineProperty(_t,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=JP(document);return Object.defineProperty(_t,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?qP(document):Promise.resolve(!1);return Object.defineProperty(_t,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=XP();return Object.defineProperty(_t,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=ZP();return Object.defineProperty(_t,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(_t,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(_t,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Zo=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),$P=function(A,e,t,r){var n=t4(e,t),i=[],a=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(_t.SUPPORT_RANGE_BOUNDS){var s=r1(r,a,o.length).getClientRects();if(s.length>1){var l=dp(o),u=0;l.forEach(function(c){i.push(new Zo(c,gr.fromDOMRectList(A,r1(r,u+a,c.length).getClientRects()))),u+=c.length})}else i.push(new Zo(o,gr.fromDOMRectList(A,s)))}else{var f=r.splitText(o.length);i.push(new Zo(o,jP(A,r))),r=f}else _t.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));a+=o.length}),i},jP=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=Uu(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return gr.EMPTY},r1=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},dp=function(A){if(_t.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return zP(A)},e4=function(A,e){if(_t.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return r4(A,e)},t4=function(A,e){return e.letterSpacing!==0?dp(A):e4(A,e)},A4=[32,160,4961,65792,65793,4153,4241],r4=function(A,e){for(var t=UO(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),o=Iu(a),s="";o.forEach(function(l){A4.indexOf(l)===-1?s+=at(l):(s.length&&r.push(s),r.push(at(l)),s="")}),s.length&&r.push(s)}};!(n=t.next()).done;)i();return r},n4=(function(){function A(e,t,r){this.text=i4(t.data,r.textTransform),this.textBounds=$P(e,this.text,r,t)}return A})(),i4=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(a4,o4);case 2:return A.toUpperCase();default:return A}},a4=/(^|\s|:|-|\(|\))([a-z])/g,o4=function(A,e,t){return A.length>0?e+t.toUpperCase():A},n1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e})(er),i1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e})(er),a1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,a=Uu(t,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e})(er),o1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),pp=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e})(er),s4=[{type:15,flags:0,unit:"px",number:3}],l4=[{type:16,flags:0,number:50}],u4=function(A){return A.width>A.height?new gr(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new gr(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},f4=function(A){var e=A.type===c4?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},uf="checkbox",ff="radio",c4="password",s1=707406591,gp=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=f4(r),(n.type===uf||n.type===ff)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=u4(n.bounds)),n.type){case uf:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=s4;break;case ff:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=l4;break}return n}return e})(er),l1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return e})(er),u1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),f1=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=h1(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Wo(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):mr.TRANSPARENT,a=r.contentWindow.document.body?Wo(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):mr.TRANSPARENT;n.backgroundColor=en(i)?en(a)?n.styles.backgroundColor:a:i}}catch{}return n}return e})(er),h4=["OL","UL","MENU"],cf=function(A,e,t,r){for(var n=e.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,v1(n)&&n.data.trim().length>0)t.textNodes.push(new n4(A,n,t.styles));else if(ua(n))if(y1(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return cf(A,o,t,r)});else{var a=c1(A,n);a.styles.isVisible()&&(v4(n,a,r)?a.flags|=4:d4(a.styles)&&(a.flags|=2),h4.indexOf(n.tagName)!==-1&&(a.flags|=8),t.elements.push(a),n.slot,n.shadowRoot?cf(A,n.shadowRoot,a,r):!vf(n)&&!d1(n)&&!df(n)&&cf(A,n,a,r))}},c1=function(A,e){return yp(e)?new n1(A,e):p1(e)?new i1(A,e):d1(e)?new a1(A,e):p4(e)?new o1(A,e):g4(e)?new pp(A,e):B4(e)?new gp(A,e):df(e)?new l1(A,e):vf(e)?new u1(A,e):B1(e)?new f1(A,e):new er(A,e)},h1=function(A,e){var t=c1(A,e);return t.flags|=4,cf(A,e,t,t),t},v4=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||mp(A)&&t.styles.isTransparent()},d4=function(A){return A.isPositioned()||A.isFloating()},v1=function(A){return A.nodeType===Node.TEXT_NODE},ua=function(A){return A.nodeType===Node.ELEMENT_NODE},Bp=function(A){return ua(A)&&typeof A.style<"u"&&!hf(A)},hf=function(A){return typeof A.className=="object"},p4=function(A){return A.tagName==="LI"},g4=function(A){return A.tagName==="OL"},B4=function(A){return A.tagName==="INPUT"},m4=function(A){return A.tagName==="HTML"},d1=function(A){return A.tagName==="svg"},mp=function(A){return A.tagName==="BODY"},p1=function(A){return A.tagName==="CANVAS"},g1=function(A){return A.tagName==="VIDEO"},yp=function(A){return A.tagName==="IMG"},B1=function(A){return A.tagName==="IFRAME"},m1=function(A){return A.tagName==="STYLE"},y4=function(A){return A.tagName==="SCRIPT"},vf=function(A){return A.tagName==="TEXTAREA"},df=function(A){return A.tagName==="SELECT"},y1=function(A){return A.tagName==="SLOT"},w1=function(A){return A.tagName.indexOf("-")>0},w4=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var s=t.counters[o.counter];s&&o.increment!==0&&(i=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=o.increment)});var a=[];return i&&n.forEach(function(o){var s=t.counters[o.counter];a.push(o.counter),s||(s=t.counters[o.counter]=[]),s.push(o.reset)}),a},A})(),C1={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_1={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},C4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},_4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},fa=function(A,e,t,r,n,i){return A<e||A>t?qo(A,n,i.length>0):r.integers.reduce(function(a,o,s){for(;A>=o;)A-=o,a+=r.values[s];return a},"")+i},Q1=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},ot=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+(Q1(Math.abs(A),i,r,function(a){return at(Math.floor(a%i)+e)})+n)},ti=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Q1(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},ca=1,An=2,rn=4,Jo=8,yr=function(A,e,t,r,n,i){if(A<-9999||A>9999)return qo(A,4,n.length>0);var a=Math.abs(A),o=n;if(a===0)return e[0]+o;for(var s=0;a>0&&s<=4;s++){var l=a%10;l===0&&vt(i,ca)&&o!==""?o=e[l]+o:l>1||l===1&&s===0||l===1&&s===1&&vt(i,An)||l===1&&s===1&&vt(i,rn)&&A>100||l===1&&s>1&&vt(i,Jo)?o=e[l]+(s>0?t[s-1]:"")+o:l===1&&s>0&&(o=t[s-1]+o),a=Math.floor(a/10)}return(A<0?r:"")+o},x1="十百千萬",F1="拾佰仟萬",E1="マイナス",wp="마이너스",qo=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",a=t?" ":"";switch(e){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var o=ot(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return ti(A,"〇一二三四五六七八九",n);case 6:return fa(A,1,3999,C1,3,r).toLowerCase();case 7:return fa(A,1,3999,C1,3,r);case 8:return ot(A,945,969,!1,r);case 9:return ot(A,97,122,!1,r);case 10:return ot(A,65,90,!1,r);case 11:return ot(A,1632,1641,!0,r);case 12:case 49:return fa(A,1,9999,_1,3,r);case 35:return fa(A,1,9999,_1,3,r).toLowerCase();case 13:return ot(A,2534,2543,!0,r);case 14:case 30:return ot(A,6112,6121,!0,r);case 15:return ti(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ti(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return yr(A,"零一二三四五六七八九",x1,"負",n,An|rn|Jo);case 47:return yr(A,"零壹貳參肆伍陸柒捌玖",F1,"負",n,ca|An|rn|Jo);case 42:return yr(A,"零一二三四五六七八九",x1,"负",n,An|rn|Jo);case 41:return yr(A,"零壹贰叁肆伍陆柒捌玖",F1,"负",n,ca|An|rn|Jo);case 26:return yr(A,"〇一二三四五六七八九","十百千万",E1,n,0);case 25:return yr(A,"零壱弐参四伍六七八九","拾百千万",E1,n,ca|An|rn);case 31:return yr(A,"영일이삼사오육칠팔구","십백천만",wp,i,ca|An|rn);case 33:return yr(A,"零一二三四五六七八九","十百千萬",wp,i,0);case 32:return yr(A,"零壹貳參四五六七八九","拾百千",wp,i,ca|An|rn);case 18:return ot(A,2406,2415,!0,r);case 20:return fa(A,1,19999,_4,3,r);case 21:return ot(A,2790,2799,!0,r);case 22:return ot(A,2662,2671,!0,r);case 22:return fa(A,1,10999,C4,3,r);case 23:return ti(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ti(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ot(A,3302,3311,!0,r);case 28:return ti(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ti(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ot(A,3792,3801,!0,r);case 37:return ot(A,6160,6169,!0,r);case 38:return ot(A,4160,4169,!0,r);case 39:return ot(A,2918,2927,!0,r);case 40:return ot(A,1776,1785,!0,r);case 43:return ot(A,3046,3055,!0,r);case 44:return ot(A,3174,3183,!0,r);case 45:return ot(A,3664,3673,!0,r);case 46:return ot(A,3872,3881,!0,r);case 3:default:return ot(A,48,57,!0,r)}},b1="data-html2canvas-ignore",S1=(function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new w4,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=Q4(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,o=n.contentWindow,s=o.document,l=E4(n).then(function(){return Nt(r,void 0,void 0,function(){var u,f;return Ut(this,function(c){switch(c.label){case 0:return this.scrolledElements.forEach(I4),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),u=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:c.sent(),c.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,F4(s)]:[3,4];case 3:c.sent(),c.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(s,f)}).then(function(){return n})]:[2,n]}})})});return s.open(),s.write(S4(document.doctype)+"<html></html>"),U4(this.referenceElement.ownerDocument,i,a),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),l},A.prototype.createElementClone=function(e){if(np(e,2))debugger;if(p1(e))return this.createCanvasClone(e);if(g1(e))return this.createVideoClone(e);if(m1(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return yp(t)&&(yp(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),w1(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Cp(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var s=o.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!ua(t)||!y4(t)&&!t.hasAttribute(b1)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!ua(t)||!m1(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(ua(i)&&y1(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(v1(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&ua(e)&&(Bp(e)||hf(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&Bp(n)&&(this.clonedReferenceElement=n),mp(n)&&L4(n);var s=this.counters.parse(new KQ(this.context,i)),l=this.resolvePseudoContent(e,n,a,$o.BEFORE);w1(e)&&(t=!0),g1(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,$o.AFTER);return u&&n.appendChild(u),this.counters.pop(s),(i&&(this.options.copyStyles||hf(e))&&!B1(e)||t)&&Cp(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(vf(e)||df(e))&&(vf(n)||df(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var a=r.content,o=t.ownerDocument;if(!(!o||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new KQ(this.context,r));var s=new pP(this.context,r),l=o.createElement("html2canvaspseudoelement");Cp(r,l),s.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var c=o.createElement("img");c.src=f.value,c.style.opacity="1",l.appendChild(c)}else if(f.type===18){if(f.name==="attr"){var h=f.values.filter(We);h.length&&l.appendChild(o.createTextNode(e.getAttribute(h[0].value)||""))}else if(f.name==="counter"){var v=f.values.filter(sa),d=v[0],g=v[1];if(d&&We(d)){var p=i.counters.getCounterValue(d.value),B=g&&We(g)?rp.parse(i.context,g.value):3;l.appendChild(o.createTextNode(qo(p,B,!1)))}}else if(f.name==="counters"){var m=f.values.filter(sa),d=m[0],y=m[1],g=m[2];if(d&&We(d)){var _=i.counters.getCounterValues(d.value),C=g&&We(g)?rp.parse(i.context,g.value):3,Q=y&&y.type===0?y.value:"",x=_.map(function(E){return qo(E,C,!1)}).join(Q);l.appendChild(o.createTextNode(x))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(VQ(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(VQ(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=_p+" "+Qp;var u=n===$o.BEFORE?" "+_p:" "+Qp;return hf(t)?t.className.baseValue+=u:t.className+=u,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),$o;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})($o||($o={}));var Q4=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(b1,"true"),A.body.appendChild(t),t},x4=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},F4=function(A){return Promise.all([].slice.call(A.images,0).map(x4))},E4=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},b4=["all","d","content"],Cp=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);b4.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},S4=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},U4=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},I4=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},T4=":before",D4=":after",_p="___html2canvas___pseudoelement_before",Qp="___html2canvas___pseudoelement_after",U1=`{
62
+ ***************************************************************************** */var Id=function(A,e){return Id=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Id(A,e)};function IA(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Id(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Td=function(){return Td=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Td.apply(this,arguments)};function Nt(A,e,t,r){function n(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function o(u){try{l(r.next(u))}catch(f){a(f)}}function s(u){try{l(r.throw(u))}catch(f){a(f)}}function l(u){u.done?i(u.value):n(u.value).then(o,s)}l((r=r.apply(A,[])).next())})}function Ut(A,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(l){return function(u){return s([l,u])}}function s(l){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,n=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1],i=l;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(l);break}i[2]&&t.ops.pop(),t.trys.pop();continue}l=e.call(A,t)}catch(u){l=[6,u],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function bu(A,e,t){if(arguments.length===2)for(var r=0,n=e.length,i;r<n;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return A.concat(i||e)}for(var gr=(function(){function A(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A})(),Su=function(A,e){return gr.fromClientRect(A,e.getBoundingClientRect())},Z2=function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new gr(0,0,r,n)},Uu=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},at=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},N_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",J2=typeof Uint8Array>"u"?[]:new Uint8Array(256),Iu=0;Iu<N_.length;Iu++)J2[N_.charCodeAt(Iu)]=Iu;for(var P_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Io=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tu=0;Tu<P_.length;Tu++)Io[P_.charCodeAt(Tu)]=Tu;for(var q2=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=Io[A.charCodeAt(r)],a=Io[A.charCodeAt(r+1)],o=Io[A.charCodeAt(r+2)],s=Io[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},$2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},j2=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},qn=5,Dd=11,Ld=2,eO=Dd-qn,k_=65536>>qn,tO=1<<qn,Md=tO-1,AO=1024>>qn,rO=k_+AO,nO=rO,iO=32,aO=nO+iO,oO=65536>>Dd,sO=1<<eO,lO=sO-1,V_=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},uO=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},fO=function(A,e){var t=q2(A),r=Array.isArray(t)?j2(t):new Uint32Array(t),n=Array.isArray(t)?$2(t):new Uint16Array(t),i=24,a=V_(n,i/2,r[4]/2),o=r[5]===2?V_(n,(i+r[4])/2):uO(r,Math.ceil((i+r[4])/4));return new cO(r[0],r[1],r[2],r[3],a,o)},cO=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>qn],t=(t<<Ld)+(e&Md),this.data[t];if(e<=65535)return t=this.index[k_+(e-55296>>qn)],t=(t<<Ld)+(e&Md),this.data[t];if(e<this.highStart)return t=aO-oO+(e>>Dd),t=this.index[t],t+=e>>qn&lO,t=this.index[t],t=(t<<Ld)+(e&Md),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),K_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hO=typeof Uint8Array>"u"?[]:new Uint8Array(256),Du=0;Du<K_.length;Du++)hO[K_.charCodeAt(Du)]=Du;var vO="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",G_=50,dO=1,z_=2,W_=3,pO=4,gO=5,Y_=7,X_=8,Z_=9,Zr=10,Hd=11,J_=12,Od=13,BO=14,To=15,Rd=16,Lu=17,Do=18,mO=19,q_=20,Nd=21,Lo=22,Pd=23,ra=24,eA=25,Mo=26,Ho=27,na=28,yO=29,$n=30,wO=31,Mu=32,Hu=33,kd=34,Vd=35,Kd=36,Oo=37,Gd=38,Ou=39,Ru=40,zd=41,$_=42,CO=43,_O=[9001,65288],j_="!",Ie="×",Nu="÷",Wd=fO(vO),Br=[$n,Kd],Yd=[dO,z_,W_,gO],eQ=[Zr,X_],tQ=[Ho,Mo],QO=Yd.concat(eQ),AQ=[Gd,Ou,Ru,kd,Vd],xO=[To,Od],FO=function(A,e){e===void 0&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(i,a){var o=Wd.get(i);if(o>G_?(n.push(!0),o-=G_):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(a),t.push(Rd);if(o===pO||o===Hd){if(a===0)return r.push(a),t.push($n);var s=t[a-1];return QO.indexOf(s)===-1?(r.push(r[a-1]),t.push(s)):(r.push(a),t.push($n))}if(r.push(a),o===wO)return t.push(e==="strict"?Nd:Oo);if(o===$_||o===yO)return t.push($n);if(o===CO)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Oo):t.push($n);t.push(o)}),[r,t,n]},Xd=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var a=r[i];if(a===e)return!0;if(a!==Zr)break}if(n===Zr)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var s=t;s<=r.length;){s++;var a=r[s];if(a===e)return!0;if(a!==Zr)break}if(o!==Zr)break}return!1},rQ=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===Zr)t--;else return r}return 0},EO=function(A,e,t,r,n){if(t[r]===0)return Ie;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return Ie;var a=i-1,o=i+1,s=e[i],l=a>=0?e[a]:0,u=e[o];if(s===z_&&u===W_)return Ie;if(Yd.indexOf(s)!==-1)return j_;if(Yd.indexOf(u)!==-1||eQ.indexOf(u)!==-1)return Ie;if(rQ(i,e)===X_)return Nu;if(Wd.get(A[i])===Hd||(s===Mu||s===Hu)&&Wd.get(A[o])===Hd||s===Y_||u===Y_||s===Z_||[Zr,Od,To].indexOf(s)===-1&&u===Z_||[Lu,Do,mO,ra,na].indexOf(u)!==-1||rQ(i,e)===Lo||Xd(Pd,Lo,i,e)||Xd([Lu,Do],Nd,i,e)||Xd(J_,J_,i,e))return Ie;if(s===Zr)return Nu;if(s===Pd||u===Pd)return Ie;if(u===Rd||s===Rd)return Nu;if([Od,To,Nd].indexOf(u)!==-1||s===BO||l===Kd&&xO.indexOf(s)!==-1||s===na&&u===Kd||u===q_||Br.indexOf(u)!==-1&&s===eA||Br.indexOf(s)!==-1&&u===eA||s===Ho&&[Oo,Mu,Hu].indexOf(u)!==-1||[Oo,Mu,Hu].indexOf(s)!==-1&&u===Mo||Br.indexOf(s)!==-1&&tQ.indexOf(u)!==-1||tQ.indexOf(s)!==-1&&Br.indexOf(u)!==-1||[Ho,Mo].indexOf(s)!==-1&&(u===eA||[Lo,To].indexOf(u)!==-1&&e[o+1]===eA)||[Lo,To].indexOf(s)!==-1&&u===eA||s===eA&&[eA,na,ra].indexOf(u)!==-1)return Ie;if([eA,na,ra,Lu,Do].indexOf(u)!==-1)for(var f=i;f>=0;){var c=e[f];if(c===eA)return Ie;if([na,ra].indexOf(c)!==-1)f--;else break}if([Ho,Mo].indexOf(u)!==-1)for(var f=[Lu,Do].indexOf(s)!==-1?a:i;f>=0;){var c=e[f];if(c===eA)return Ie;if([na,ra].indexOf(c)!==-1)f--;else break}if(Gd===s&&[Gd,Ou,kd,Vd].indexOf(u)!==-1||[Ou,kd].indexOf(s)!==-1&&[Ou,Ru].indexOf(u)!==-1||[Ru,Vd].indexOf(s)!==-1&&u===Ru||AQ.indexOf(s)!==-1&&[q_,Mo].indexOf(u)!==-1||AQ.indexOf(u)!==-1&&s===Ho||Br.indexOf(s)!==-1&&Br.indexOf(u)!==-1||s===ra&&Br.indexOf(u)!==-1||Br.concat(eA).indexOf(s)!==-1&&u===Lo&&_O.indexOf(A[o])===-1||Br.concat(eA).indexOf(u)!==-1&&s===Do)return Ie;if(s===zd&&u===zd){for(var h=t[i],v=1;h>0&&(h--,e[h]===zd);)v++;if(v%2!==0)return Ie}return s===Mu&&u===Hu?Ie:Nu},bO=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=FO(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[eA,$n,$_].indexOf(o)!==-1?Oo:o}));var a=e.wordBreak==="keep-all"?i.map(function(o,s){return o&&A[s]>=19968&&A[s]<=40959}):void 0;return[r,n,a]},SO=(function(){function A(e,t,r,n){this.codePoints=e,this.required=t===j_,this.start=r,this.end=n}return A.prototype.slice=function(){return at.apply(void 0,this.codePoints.slice(this.start,this.end))},A})(),UO=function(A,e){var t=Uu(A),r=bO(t,e),n=r[0],i=r[1],a=r[2],o=t.length,s=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=Ie;l<o&&(u=EO(t,i,n,++l,a))===Ie;);if(u!==Ie||l===o){var f=new SO(t,u,s,l);return s=l,{value:f,done:!1}}return{done:!0,value:null}}}},IO=1,TO=2,Ro=4,nQ=8,Pu=10,iQ=47,No=92,DO=9,LO=32,ku=34,Po=61,MO=35,HO=36,OO=37,Vu=39,Ku=40,ko=41,RO=95,Yt=45,NO=33,PO=60,kO=62,VO=64,KO=91,GO=93,zO=61,WO=123,Gu=63,YO=125,aQ=124,XO=126,ZO=128,oQ=65533,Zd=42,jn=43,JO=44,qO=58,$O=59,Vo=46,jO=0,eR=8,tR=11,AR=14,rR=31,nR=127,$A=-1,sQ=48,lQ=97,uQ=101,iR=102,aR=117,oR=122,fQ=65,cQ=69,hQ=70,sR=85,lR=90,It=function(A){return A>=sQ&&A<=57},uR=function(A){return A>=55296&&A<=57343},ia=function(A){return It(A)||A>=fQ&&A<=hQ||A>=lQ&&A<=iR},fR=function(A){return A>=lQ&&A<=oR},cR=function(A){return A>=fQ&&A<=lR},hR=function(A){return fR(A)||cR(A)},vR=function(A){return A>=ZO},zu=function(A){return A===Pu||A===DO||A===LO},Wu=function(A){return hR(A)||vR(A)||A===RO},vQ=function(A){return Wu(A)||It(A)||A===Yt},dR=function(A){return A>=jO&&A<=eR||A===tR||A>=AR&&A<=rR||A===nR},Jr=function(A,e){return A!==No?!1:e!==Pu},Yu=function(A,e,t){return A===Yt?Wu(e)||Jr(e,t):Wu(A)?!0:!!(A===No&&Jr(A,e))},Jd=function(A,e,t){return A===jn||A===Yt?It(e)?!0:e===Vo&&It(t):It(A===Vo?e:A)},pR=function(A){var e=0,t=1;(A[e]===jn||A[e]===Yt)&&(A[e]===Yt&&(t=-1),e++);for(var r=[];It(A[e]);)r.push(A[e++]);var n=r.length?parseInt(at.apply(void 0,r),10):0;A[e]===Vo&&e++;for(var i=[];It(A[e]);)i.push(A[e++]);var a=i.length,o=a?parseInt(at.apply(void 0,i),10):0;(A[e]===cQ||A[e]===uQ)&&e++;var s=1;(A[e]===jn||A[e]===Yt)&&(A[e]===Yt&&(s=-1),e++);for(var l=[];It(A[e]);)l.push(A[e++]);var u=l.length?parseInt(at.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-a))*Math.pow(10,s*u)},gR={type:2},BR={type:3},mR={type:4},yR={type:13},wR={type:8},CR={type:21},_R={type:9},QR={type:10},xR={type:11},FR={type:12},ER={type:14},Xu={type:23},bR={type:1},SR={type:25},UR={type:24},IR={type:26},TR={type:27},DR={type:28},LR={type:29},MR={type:31},qd={type:32},dQ=(function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Uu(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==qd;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case ku:return this.consumeStringToken(ku);case MO:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(vQ(t)||Jr(r,n)){var i=Yu(t,r,n)?TO:IO,a=this.consumeName();return{type:5,value:a,flags:i}}break;case HO:if(this.peekCodePoint(0)===Po)return this.consumeCodePoint(),yR;break;case Vu:return this.consumeStringToken(Vu);case Ku:return gR;case ko:return BR;case Zd:if(this.peekCodePoint(0)===Po)return this.consumeCodePoint(),ER;break;case jn:if(Jd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case JO:return mR;case Yt:var o=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(Jd(o,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Yu(o,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===Yt&&l===kO)return this.consumeCodePoint(),this.consumeCodePoint(),UR;break;case Vo:if(Jd(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case iQ:if(this.peekCodePoint(0)===Zd)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===Zd&&(u=this.consumeCodePoint(),u===iQ))return this.consumeToken();if(u===$A)return this.consumeToken()}break;case qO:return IR;case $O:return TR;case PO:if(this.peekCodePoint(0)===NO&&this.peekCodePoint(1)===Yt&&this.peekCodePoint(2)===Yt)return this.consumeCodePoint(),this.consumeCodePoint(),SR;break;case VO:var f=this.peekCodePoint(0),c=this.peekCodePoint(1),h=this.peekCodePoint(2);if(Yu(f,c,h)){var a=this.consumeName();return{type:7,value:a}}break;case KO:return DR;case No:if(Jr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case GO:return LR;case zO:if(this.peekCodePoint(0)===Po)return this.consumeCodePoint(),wR;break;case WO:return xR;case YO:return FR;case aR:case sR:var v=this.peekCodePoint(0),d=this.peekCodePoint(1);return v===jn&&(ia(d)||d===Gu)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case aQ:if(this.peekCodePoint(0)===Po)return this.consumeCodePoint(),_R;if(this.peekCodePoint(0)===aQ)return this.consumeCodePoint(),CR;break;case XO:if(this.peekCodePoint(0)===Po)return this.consumeCodePoint(),QR;break;case $A:return qd}return zu(e)?(this.consumeWhiteSpace(),MR):It(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Wu(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:at(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();ia(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Gu&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(at.apply(void 0,e.map(function(s){return s===Gu?sQ:s})),16),i=parseInt(at.apply(void 0,e.map(function(s){return s===Gu?hQ:s})),16);return{type:30,start:n,end:i}}var a=parseInt(at.apply(void 0,e),16);if(this.peekCodePoint(0)===Yt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];ia(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(at.apply(void 0,o),16);return{type:30,start:a,end:i}}else return{type:30,start:a,end:a}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Ku?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ku?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Vu||t===ku){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===ko)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Xu)}for(;;){var n=this.consumeCodePoint();if(n===$A||n===ko)return{type:22,value:at.apply(void 0,e)};if(zu(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===$A||this.peekCodePoint(0)===ko?(this.consumeCodePoint(),{type:22,value:at.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Xu);if(n===ku||n===Vu||n===Ku||dR(n))return this.consumeBadUrlRemnants(),Xu;if(n===No)if(Jr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Xu;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;zu(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===ko||e===$A)return;Jr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=at.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===$A||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Pu)return this._value.splice(0,r),bR;if(n===No){var i=this._value[r+1];i!==$A&&i!==void 0&&(i===Pu?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):Jr(n,i)&&(t+=this.consumeStringSlice(r),t+=at(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Ro,r=this.peekCodePoint(0);for((r===jn||r===Yt)&&e.push(this.consumeCodePoint());It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Vo&&It(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=nQ;It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===cQ||r===uQ)&&((n===jn||n===Yt)&&It(i)||It(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=nQ;It(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[pR(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(Yu(n,i,a)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===OO?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ia(e)){for(var t=at(e);ia(this.peekCodePoint(0))&&t.length<6;)t+=at(this.consumeCodePoint());zu(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||uR(r)||r>1114111?oQ:r}return e===$A?oQ:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(vQ(t))e+=at(t);else if(Jr(t,this.peekCodePoint(0)))e+=at(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A})(),pQ=(function(){function A(e){this._tokens=e}return A.create=function(e){var t=new dQ;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||OR(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?qd:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A})(),Ko=function(A){return A.type===15},aa=function(A){return A.type===17},We=function(A){return A.type===20},HR=function(A){return A.type===0},$d=function(A,e){return We(A)&&A.value===e},gQ=function(A){return A.type!==31},oa=function(A){return A.type!==31&&A.type!==4},jA=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},OR=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},qr=function(A){return A.type===17||A.type===15},ft=function(A){return A.type===16||qr(A)},BQ=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Ct={type:17,number:0,flags:Ro},jd={type:16,number:50,flags:Ro},$r={type:16,number:100,flags:Ro},Go=function(A,e,t){var r=A[0],n=A[1];return[Je(r,e),Je(typeof n<"u"?n:r,t)]},Je=function(A,e){if(A.type===16)return A.number/100*e;if(Ko(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},mQ="deg",yQ="grad",wQ="rad",CQ="turn",Zu={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case mQ:return Math.PI*e.number/180;case yQ:return Math.PI/200*e.number;case wQ:return e.number;case CQ:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},_Q=function(A){return A.type===15&&(A.unit===mQ||A.unit===yQ||A.unit===wQ||A.unit===CQ)},QQ=function(A){var e=A.filter(We).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ct,Ct];case"to top":case"bottom":return vA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ct,$r];case"to right":case"left":return vA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$r,$r];case"to bottom":case"top":return vA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$r,Ct];case"to left":case"right":return vA(270)}return 0},vA=function(A){return Math.PI*A/180},jr={name:"color",parse:function(A,e){if(e.type===18){var t=RR[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),a=e.value.substring(3,4);return tn(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),a=e.value.substring(6,8);return tn(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(a,16)/255)}}if(e.type===20){var o=mr[e.value.toUpperCase()];if(typeof o<"u")return o}return mr.TRANSPARENT}},en=function(A){return(255&A)===0},yt=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},tn=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},xQ=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},FQ=function(A,e){var t=e.filter(oa);if(t.length===3){var r=t.map(xQ),n=r[0],i=r[1],a=r[2];return tn(n,i,a,1)}if(t.length===4){var o=t.map(xQ),n=o[0],i=o[1],a=o[2],s=o[3];return tn(n,i,a,s)}return 0};function ep(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var EQ=function(A,e){var t=e.filter(oa),r=t[0],n=t[1],i=t[2],a=t[3],o=(r.type===17?vA(r.number):Zu.parse(A,r))/(Math.PI*2),s=ft(n)?n.number/100:0,l=ft(i)?i.number/100:0,u=typeof a<"u"&&ft(a)?Je(a,1):1;if(s===0)return tn(l*255,l*255,l*255,1);var f=l<=.5?l*(s+1):l+s-l*s,c=l*2-f,h=ep(c,f,o+1/3),v=ep(c,f,o),d=ep(c,f,o-1/3);return tn(h*255,v*255,d*255,u)},RR={hsl:EQ,hsla:EQ,rgb:FQ,rgba:FQ},zo=function(A,e){return jr.parse(A,pQ.create(e).parseComponentValue())},mr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},NR={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(We(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},PR={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ju=function(A,e){var t=jr.parse(A,e[0]),r=e[1];return r&&ft(r)?{color:t,stop:r}:{color:t,stop:null}},bQ=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=Ct),r.stop===null&&(r.stop=$r);for(var n=[],i=0,a=0;a<A.length;a++){var o=A[a].stop;if(o!==null){var s=Je(o,e);s>i?n.push(s):n.push(i),i=s}else n.push(null)}for(var l=null,a=0;a<n.length;a++){var u=n[a];if(u===null)l===null&&(l=a);else if(l!==null){for(var f=a-l,c=n[l-1],h=(u-c)/(f+1),v=1;v<=f;v++)n[l+v-1]=h*v;l=null}}return A.map(function(d,g){var p=d.color;return{color:p,stop:Math.max(Math.min(1,n[g]/e),0)}})},kR=function(A,e,t){var r=e/2,n=t/2,i=Je(A[0],e)-r,a=n-Je(A[1],t);return(Math.atan2(a,i)+Math.PI*2)%(Math.PI*2)},VR=function(A,e,t){var r=typeof A=="number"?A:kR(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),i=e/2,a=t/2,o=n/2,s=Math.sin(r-Math.PI/2)*o,l=Math.cos(r-Math.PI/2)*o;return[n,i-l,i+l,a-s,a+s]},TA=function(A,e){return Math.sqrt(A*A+e*e)},SQ=function(A,e,t,r,n){var i=[[0,0],[0,e],[A,0],[A,e]];return i.reduce(function(a,o){var s=o[0],l=o[1],u=TA(t-s,r-l);return(n?u<a.optimumDistance:u>a.optimumDistance)?{optimumCorner:o,optimumDistance:u}:a},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},KR=function(A,e,t,r,n){var i=0,a=0;switch(A.size){case 0:A.shape===0?i=a=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),a=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=a=Math.min(TA(e,t),TA(e,t-n),TA(e-r,t),TA(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),s=SQ(r,n,e,t,!0),l=s[0],u=s[1];i=TA(l-e,(u-t)/o),a=o*i}break;case 1:A.shape===0?i=a=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),a=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=a=Math.max(TA(e,t),TA(e,t-n),TA(e-r,t),TA(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),f=SQ(r,n,e,t,!1),l=f[0],u=f[1];i=TA(l-e,(u-t)/o),a=o*i}break}return Array.isArray(A.size)&&(i=Je(A.size[0],r),a=A.size.length===2?Je(A.size[1],n):i),[i,a]},GR=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&a.value==="to"){t=QQ(n);return}else if(_Q(a)){t=Zu.parse(A,a);return}}var o=Ju(A,n);r.push(o)}),{angle:t,stops:r,type:1}},qu=function(A,e){var t=vA(180),r=[];return jA(e).forEach(function(n,i){if(i===0){var a=n[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){t=QQ(n);return}else if(_Q(a)){t=(Zu.parse(A,a)+vA(270))%vA(360);return}}var o=Ju(A,n);r.push(o)}),{angle:t,stops:r,type:1}},zR=function(A,e){var t=vA(180),r=[],n=1,i=0,a=3,o=[];return jA(e).forEach(function(s,l){var u=s[0];if(l===0){if(We(u)&&u.value==="linear"){n=1;return}else if(We(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var f=jr.parse(A,u.values[0]);r.push({stop:Ct,color:f})}else if(u.name==="to"){var f=jr.parse(A,u.values[0]);r.push({stop:$r,color:f})}else if(u.name==="color-stop"){var c=u.values.filter(oa);if(c.length===2){var f=jr.parse(A,c[1]),h=c[0];aa(h)&&r.push({stop:{type:16,number:h.number*100,flags:h.flags},color:f})}}}}),n===1?{angle:(t+vA(180))%vA(360),stops:r,type:n}:{size:a,shape:i,stops:r,position:o,type:n}},UQ="closest-side",IQ="farthest-side",TQ="closest-corner",DQ="farthest-corner",LQ="circle",MQ="ellipse",HQ="cover",OQ="contain",WR=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0){var l=!1;s=a.reduce(function(f,c){if(l)if(We(c))switch(c.value){case"center":return i.push(jd),f;case"top":case"left":return i.push(Ct),f;case"right":case"bottom":return i.push($r),f}else(ft(c)||qr(c))&&i.push(c);else if(We(c))switch(c.value){case LQ:return t=0,!1;case MQ:return t=1,!1;case"at":return l=!0,!1;case UQ:return r=0,!1;case HQ:case IQ:return r=1,!1;case OQ:case TQ:return r=2,!1;case DQ:return r=3,!1}else if(qr(c)||ft(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return f},s)}if(s){var u=Ju(A,a);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},$u=function(A,e){var t=0,r=3,n=[],i=[];return jA(e).forEach(function(a,o){var s=!0;if(o===0?s=a.reduce(function(u,f){if(We(f))switch(f.value){case"center":return i.push(jd),!1;case"top":case"left":return i.push(Ct),!1;case"right":case"bottom":return i.push($r),!1}else if(ft(f)||qr(f))return i.push(f),!1;return u},s):o===1&&(s=a.reduce(function(u,f){if(We(f))switch(f.value){case LQ:return t=0,!1;case MQ:return t=1,!1;case OQ:case UQ:return r=0,!1;case IQ:return r=1,!1;case TQ:return r=2,!1;case HQ:case DQ:return r=3,!1}else if(qr(f)||ft(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return u},s)),s){var l=Ju(A,a);n.push(l)}}),{size:r,shape:t,stops:n,position:i,type:2}},YR=function(A){return A.type===1},XR=function(A){return A.type===2},tp={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=RQ[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function ZR(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!RQ[A.name])}var RQ={"linear-gradient":GR,"-moz-linear-gradient":qu,"-ms-linear-gradient":qu,"-o-linear-gradient":qu,"-webkit-linear-gradient":qu,"radial-gradient":WR,"-moz-radial-gradient":$u,"-ms-radial-gradient":$u,"-o-radial-gradient":$u,"-webkit-radial-gradient":$u,"-webkit-gradient":zR},JR={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return oa(r)&&ZR(r)}).map(function(r){return tp.parse(A,r)})}},qR={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(We(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},$R={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return jA(e).map(function(t){return t.filter(ft)}).map(BQ)}},jR={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(We).map(function(r){return r.value}).join(" ")}).map(eN)}},eN=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},sa;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(sa||(sa={}));var tN={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return jA(e).map(function(t){return t.filter(AN)})}},AN=function(A){return We(A)||ft(A)},ju=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rN=ju("top"),nN=ju("right"),iN=ju("bottom"),aN=ju("left"),ef=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return BQ(t.filter(ft))}}},oN=ef("top-left"),sN=ef("top-right"),lN=ef("bottom-right"),uN=ef("bottom-left"),tf=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},fN=tf("top"),cN=tf("right"),hN=tf("bottom"),vN=tf("left"),Af=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ko(t)?t.number:0}}},dN=Af("top"),pN=Af("right"),gN=Af("bottom"),BN=Af("left"),mN={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},yN={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},wN={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(We).reduce(function(t,r){return t|CN(r.value)},0)}},CN=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},_N={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},QN={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},rf;(function(A){A.NORMAL="normal",A.STRICT="strict"})(rf||(rf={}));var xN={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return rf.STRICT;case"normal":default:return rf.NORMAL}}},FN={name:"line-height",initialValue:"normal",prefix:!1,type:4},NQ=function(A,e){return We(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:ft(A)?Je(A,e):e},EN={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:tp.parse(A,e)}},bN={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Ap={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},nf=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},SN=nf("top"),UN=nf("right"),IN=nf("bottom"),TN=nf("left"),DN={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(We).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},LN={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},af=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},MN=af("top"),HN=af("right"),ON=af("bottom"),RN=af("left"),NN={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},PN={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},kN={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&$d(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:mr.TRANSPARENT,offsetX:Ct,offsetY:Ct,blur:Ct},n=0,i=0;i<t.length;i++){var a=t[i];qr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:r.blur=a,n++):r.color=jr.parse(A,a)}return r})}},VN={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},KN={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var t=WN[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},GN=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},zN=function(A){var e=A.filter(function(s){return s.type===17}).map(function(s){return s.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,i,a,o]:null},WN={matrix:GN,matrix3d:zN},PQ={type:16,number:50,flags:Ro},YN=[PQ,PQ],XN={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(ft);return t.length!==2?YN:[t[0],t[1]]}},ZN={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Wo;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Wo||(Wo={}));for(var JN={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Wo.BREAK_ALL;case"keep-all":return Wo.KEEP_ALL;case"normal":default:return Wo.NORMAL}}},qN={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(aa(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},kQ={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},$N={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return aa(e)?e.number:1}},jN={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eP={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(We).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},tP={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},AP={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},rP={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(aa(e))return e.number;if(We(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},nP={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(We).map(function(t){return t.value})}},iP={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},vt=function(A,e){return(A&e)!==0},aP={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},oP={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(gQ),i=0;i<n.length;i++){var a=n[i],o=n[i+1];if(a.type===20){var s=o&&aa(o)?o.number:1;r.push({counter:a.value,increment:s})}}return r}},sP={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return[];for(var t=[],r=e.filter(gQ),n=0;n<r.length;n++){var i=r[n],a=r[n+1];if(We(i)&&i.value!=="none"){var o=a&&aa(a)?a.number:0;t.push({counter:i.value,reset:o})}}return t}},lP={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Ko).map(function(t){return kQ.parse(A,t)})}},uP={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;var r=[],n=e.filter(HR);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var a=n[i].value,o=n[i+1].value;r.push({open:a,close:o})}return r}},VQ=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},fP={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&$d(e[0],"none")?[]:jA(e).map(function(t){for(var r={color:255,offsetX:Ct,offsetY:Ct,blur:Ct,spread:Ct,inset:!1},n=0,i=0;i<t.length;i++){var a=t[i];$d(a,"inset")?r.inset=!0:qr(a)?(n===0?r.offsetX=a:n===1?r.offsetY=a:n===2?r.blur=a:r.spread=a,n++):r.color=jr.parse(A,a)}return r})}},cP={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[0,1,2],r=[];return e.filter(We).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},hP={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},vP={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Ko(e)?e.number:0}},dP=(function(){function A(e,t){var r,n;this.animationDuration=Ae(e,lP,t.animationDuration),this.backgroundClip=Ae(e,NR,t.backgroundClip),this.backgroundColor=Ae(e,PR,t.backgroundColor),this.backgroundImage=Ae(e,JR,t.backgroundImage),this.backgroundOrigin=Ae(e,qR,t.backgroundOrigin),this.backgroundPosition=Ae(e,$R,t.backgroundPosition),this.backgroundRepeat=Ae(e,jR,t.backgroundRepeat),this.backgroundSize=Ae(e,tN,t.backgroundSize),this.borderTopColor=Ae(e,rN,t.borderTopColor),this.borderRightColor=Ae(e,nN,t.borderRightColor),this.borderBottomColor=Ae(e,iN,t.borderBottomColor),this.borderLeftColor=Ae(e,aN,t.borderLeftColor),this.borderTopLeftRadius=Ae(e,oN,t.borderTopLeftRadius),this.borderTopRightRadius=Ae(e,sN,t.borderTopRightRadius),this.borderBottomRightRadius=Ae(e,lN,t.borderBottomRightRadius),this.borderBottomLeftRadius=Ae(e,uN,t.borderBottomLeftRadius),this.borderTopStyle=Ae(e,fN,t.borderTopStyle),this.borderRightStyle=Ae(e,cN,t.borderRightStyle),this.borderBottomStyle=Ae(e,hN,t.borderBottomStyle),this.borderLeftStyle=Ae(e,vN,t.borderLeftStyle),this.borderTopWidth=Ae(e,dN,t.borderTopWidth),this.borderRightWidth=Ae(e,pN,t.borderRightWidth),this.borderBottomWidth=Ae(e,gN,t.borderBottomWidth),this.borderLeftWidth=Ae(e,BN,t.borderLeftWidth),this.boxShadow=Ae(e,fP,t.boxShadow),this.color=Ae(e,mN,t.color),this.direction=Ae(e,yN,t.direction),this.display=Ae(e,wN,t.display),this.float=Ae(e,_N,t.cssFloat),this.fontFamily=Ae(e,tP,t.fontFamily),this.fontSize=Ae(e,AP,t.fontSize),this.fontStyle=Ae(e,iP,t.fontStyle),this.fontVariant=Ae(e,nP,t.fontVariant),this.fontWeight=Ae(e,rP,t.fontWeight),this.letterSpacing=Ae(e,QN,t.letterSpacing),this.lineBreak=Ae(e,xN,t.lineBreak),this.lineHeight=Ae(e,FN,t.lineHeight),this.listStyleImage=Ae(e,EN,t.listStyleImage),this.listStylePosition=Ae(e,bN,t.listStylePosition),this.listStyleType=Ae(e,Ap,t.listStyleType),this.marginTop=Ae(e,SN,t.marginTop),this.marginRight=Ae(e,UN,t.marginRight),this.marginBottom=Ae(e,IN,t.marginBottom),this.marginLeft=Ae(e,TN,t.marginLeft),this.opacity=Ae(e,$N,t.opacity);var i=Ae(e,DN,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Ae(e,LN,t.overflowWrap),this.paddingTop=Ae(e,MN,t.paddingTop),this.paddingRight=Ae(e,HN,t.paddingRight),this.paddingBottom=Ae(e,ON,t.paddingBottom),this.paddingLeft=Ae(e,RN,t.paddingLeft),this.paintOrder=Ae(e,cP,t.paintOrder),this.position=Ae(e,PN,t.position),this.textAlign=Ae(e,NN,t.textAlign),this.textDecorationColor=Ae(e,jN,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=Ae(e,eP,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=Ae(e,kN,t.textShadow),this.textTransform=Ae(e,VN,t.textTransform),this.transform=Ae(e,KN,t.transform),this.transformOrigin=Ae(e,XN,t.transformOrigin),this.visibility=Ae(e,ZN,t.visibility),this.webkitTextStrokeColor=Ae(e,hP,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ae(e,vP,t.webkitTextStrokeWidth),this.wordBreak=Ae(e,JN,t.wordBreak),this.zIndex=Ae(e,qN,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return en(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return vt(this.display,4)||vt(this.display,33554432)||vt(this.display,268435456)||vt(this.display,536870912)||vt(this.display,67108864)||vt(this.display,134217728)},A})(),pP=(function(){function A(e,t){this.content=Ae(e,aP,t.content),this.quotes=Ae(e,uP,t.quotes)}return A})(),KQ=(function(){function A(e,t){this.counterIncrement=Ae(e,oP,t.counterIncrement),this.counterReset=Ae(e,sP,t.counterReset)}return A})(),Ae=function(A,e,t){var r=new dQ,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new pQ(r.read());switch(e.type){case 2:var a=i.parseComponentValue();return e.parse(A,We(a)?a.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return Zu.parse(A,i.parseComponentValue());case"color":return jr.parse(A,i.parseComponentValue());case"image":return tp.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return qr(o)?o:Ct;case"length-percentage":var s=i.parseComponentValue();return ft(s)?s:Ct;case"time":return kQ.parse(A,i.parseComponentValue())}break}},gP="data-html2canvas-debug",BP=function(A){var e=A.getAttribute(gP);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},rp=function(A,e){var t=BP(A);return t===1||e===t},er=(function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,rp(t,3))debugger;this.styles=new dP(e,window.getComputedStyle(t,null)),gp(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Su(this.context,t),rp(t,4)&&(this.flags|=16)}return A})(),mP="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",GQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yo=typeof Uint8Array>"u"?[]:new Uint8Array(256),of=0;of<GQ.length;of++)Yo[GQ.charCodeAt(of)]=of;for(var yP=function(A){var e=A.length*.75,t=A.length,r,n=0,i,a,o,s;A[A.length-1]==="="&&(e--,A[A.length-2]==="="&&e--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<t;r+=4)i=Yo[A.charCodeAt(r)],a=Yo[A.charCodeAt(r+1)],o=Yo[A.charCodeAt(r+2)],s=Yo[A.charCodeAt(r+3)],u[n++]=i<<2|a>>4,u[n++]=(a&15)<<4|o>>2,u[n++]=(o&3)<<6|s&63;return l},wP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t},CP=function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t},ei=5,np=11,ip=2,_P=np-ei,zQ=65536>>ei,QP=1<<ei,ap=QP-1,xP=1024>>ei,FP=zQ+xP,EP=FP,bP=32,SP=EP+bP,UP=65536>>np,IP=1<<_P,TP=IP-1,WQ=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},DP=function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))},LP=function(A,e){var t=yP(A),r=Array.isArray(t)?CP(t):new Uint32Array(t),n=Array.isArray(t)?wP(t):new Uint16Array(t),i=24,a=WQ(n,i/2,r[4]/2),o=r[5]===2?WQ(n,(i+r[4])/2):DP(r,Math.ceil((i+r[4])/4));return new MP(r[0],r[1],r[2],r[3],a,o)},MP=(function(){function A(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return A.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>ei],t=(t<<ip)+(e&ap),this.data[t];if(e<=65535)return t=this.index[zQ+(e-55296>>ei)],t=(t<<ip)+(e&ap),this.data[t];if(e<this.highStart)return t=SP-UP+(e>>np),t=this.index[t],t+=e>>ei&TP,t=this.index[t],t=(t<<ip)+(e&ap),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A})(),YQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",HP=typeof Uint8Array>"u"?[]:new Uint8Array(256),sf=0;sf<YQ.length;sf++)HP[YQ.charCodeAt(sf)]=sf;var OP=1,op=2,sp=3,XQ=4,ZQ=5,RP=7,JQ=8,lp=9,up=10,qQ=11,$Q=12,jQ=13,e1=14,fp=15,NP=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=A.charCodeAt(t++);(i&64512)===56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),t--)}else e.push(n)}return e},PP=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var a=A[n];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},kP=LP(mP),dA="×",cp="÷",VP=function(A){return kP.get(A)},KP=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],a=e[t];if(i===op&&a===sp)return dA;if(i===op||i===sp||i===XQ||a===op||a===sp||a===XQ)return cp;if(i===JQ&&[JQ,lp,qQ,$Q].indexOf(a)!==-1||(i===qQ||i===lp)&&(a===lp||a===up)||(i===$Q||i===up)&&a===up||a===jQ||a===ZQ||a===RP||i===OP)return dA;if(i===jQ&&a===e1){for(;n===ZQ;)n=e[--r];if(n===e1)return dA}if(i===fp&&a===fp){for(var o=0;n===fp;)o++,n=e[--r];if(o%2===0)return dA}return cp},GP=function(A){var e=NP(A),t=e.length,r=0,n=0,i=e.map(VP);return{next:function(){if(r>=t)return{done:!0,value:null};for(var a=dA;r<t&&(a=KP(e,i,++r))===dA;);if(a!==dA||r===t){var o=PP.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},zP=function(A){for(var e=GP(A),t=[],r;!(r=e.next()).done;)r.value&&t.push(r.value.slice());return t},WP=function(A){var e=123;if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=e+"px",r.style.display="block",A.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),i=Math.round(n.height);if(A.body.removeChild(r),i===e)return!0}}return!1},YP=function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var r=e.firstChild,n=Uu(r.data).map(function(s){return at(s)}),i=0,a={},o=n.every(function(s,l){t.setStart(r,i),t.setEnd(r,i+s.length);var u=t.getBoundingClientRect();i+=s.length;var f=u.x>a.x||u.y>a.y;return a=u,l===0?!0:f});return A.body.removeChild(e),o},XP=function(){return typeof new Image().crossOrigin<"u"},ZP=function(){return typeof new XMLHttpRequest().responseType=="string"},JP=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},t1=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},qP=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var a=hp(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),A1(a).then(function(o){r.drawImage(o,0,0);var s=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=t+"px",t1(s)?A1(hp(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),t1(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},hp=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(o),o.appendChild(n),a},A1=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},_t={get SUPPORT_RANGE_BOUNDS(){var A=WP(document);return Object.defineProperty(_t,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=_t.SUPPORT_RANGE_BOUNDS&&YP(document);return Object.defineProperty(_t,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=JP(document);return Object.defineProperty(_t,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?qP(document):Promise.resolve(!1);return Object.defineProperty(_t,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=XP();return Object.defineProperty(_t,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=ZP();return Object.defineProperty(_t,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(_t,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(_t,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Xo=(function(){function A(e,t){this.text=e,this.bounds=t}return A})(),$P=function(A,e,t,r){var n=t4(e,t),i=[],a=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(_t.SUPPORT_RANGE_BOUNDS){var s=r1(r,a,o.length).getClientRects();if(s.length>1){var l=vp(o),u=0;l.forEach(function(c){i.push(new Xo(c,gr.fromDOMRectList(A,r1(r,u+a,c.length).getClientRects()))),u+=c.length})}else i.push(new Xo(o,gr.fromDOMRectList(A,s)))}else{var f=r.splitText(o.length);i.push(new Xo(o,jP(A,r))),r=f}else _t.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));a+=o.length}),i},jP=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=Su(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return gr.EMPTY},r1=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},vp=function(A){if(_t.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return zP(A)},e4=function(A,e){if(_t.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return r4(A,e)},t4=function(A,e){return e.letterSpacing!==0?vp(A):e4(A,e)},A4=[32,160,4961,65792,65793,4153,4241],r4=function(A,e){for(var t=UO(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var a=n.value.slice(),o=Uu(a),s="";o.forEach(function(l){A4.indexOf(l)===-1?s+=at(l):(s.length&&r.push(s),r.push(at(l)),s="")}),s.length&&r.push(s)}};!(n=t.next()).done;)i();return r},n4=(function(){function A(e,t,r){this.text=i4(t.data,r.textTransform),this.textBounds=$P(e,this.text,r,t)}return A})(),i4=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(a4,o4);case 2:return A.toUpperCase();default:return A}},a4=/(^|\s|:|-|\(|\))([a-z])/g,o4=function(A,e,t){return A.length>0?e+t.toUpperCase():A},n1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e})(er),i1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e})(er),a1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,a=Su(t,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e})(er),o1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),dp=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e})(er),s4=[{type:15,flags:0,unit:"px",number:3}],l4=[{type:16,flags:0,number:50}],u4=function(A){return A.width>A.height?new gr(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new gr(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},f4=function(A){var e=A.type===c4?new Array(A.value.length+1).join("•"):A.value;return e.length===0?A.placeholder||"":e},lf="checkbox",uf="radio",c4="password",s1=707406591,pp=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=f4(r),(n.type===lf||n.type===uf)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=u4(n.bounds)),n.type){case lf:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=s4;break;case uf:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=l4;break}return n}return e})(er),l1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return e})(er),u1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e})(er),f1=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=h1(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?zo(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):mr.TRANSPARENT,a=r.contentWindow.document.body?zo(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):mr.TRANSPARENT;n.backgroundColor=en(i)?en(a)?n.styles.backgroundColor:a:i}}catch{}return n}return e})(er),h4=["OL","UL","MENU"],ff=function(A,e,t,r){for(var n=e.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,v1(n)&&n.data.trim().length>0)t.textNodes.push(new n4(A,n,t.styles));else if(la(n))if(y1(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return ff(A,o,t,r)});else{var a=c1(A,n);a.styles.isVisible()&&(v4(n,a,r)?a.flags|=4:d4(a.styles)&&(a.flags|=2),h4.indexOf(n.tagName)!==-1&&(a.flags|=8),t.elements.push(a),n.slot,n.shadowRoot?ff(A,n.shadowRoot,a,r):!hf(n)&&!d1(n)&&!vf(n)&&ff(A,n,a,r))}},c1=function(A,e){return mp(e)?new n1(A,e):p1(e)?new i1(A,e):d1(e)?new a1(A,e):p4(e)?new o1(A,e):g4(e)?new dp(A,e):B4(e)?new pp(A,e):vf(e)?new l1(A,e):hf(e)?new u1(A,e):B1(e)?new f1(A,e):new er(A,e)},h1=function(A,e){var t=c1(A,e);return t.flags|=4,ff(A,e,t,t),t},v4=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Bp(A)&&t.styles.isTransparent()},d4=function(A){return A.isPositioned()||A.isFloating()},v1=function(A){return A.nodeType===Node.TEXT_NODE},la=function(A){return A.nodeType===Node.ELEMENT_NODE},gp=function(A){return la(A)&&typeof A.style<"u"&&!cf(A)},cf=function(A){return typeof A.className=="object"},p4=function(A){return A.tagName==="LI"},g4=function(A){return A.tagName==="OL"},B4=function(A){return A.tagName==="INPUT"},m4=function(A){return A.tagName==="HTML"},d1=function(A){return A.tagName==="svg"},Bp=function(A){return A.tagName==="BODY"},p1=function(A){return A.tagName==="CANVAS"},g1=function(A){return A.tagName==="VIDEO"},mp=function(A){return A.tagName==="IMG"},B1=function(A){return A.tagName==="IFRAME"},m1=function(A){return A.tagName==="STYLE"},y4=function(A){return A.tagName==="SCRIPT"},hf=function(A){return A.tagName==="TEXTAREA"},vf=function(A){return A.tagName==="SELECT"},y1=function(A){return A.tagName==="SLOT"},w1=function(A){return A.tagName.indexOf("-")>0},w4=(function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var s=t.counters[o.counter];s&&o.increment!==0&&(i=!1,s.length||s.push(1),s[Math.max(0,s.length-1)]+=o.increment)});var a=[];return i&&n.forEach(function(o){var s=t.counters[o.counter];a.push(o.counter),s||(s=t.counters[o.counter]=[]),s.push(o.reset)}),a},A})(),C1={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_1={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},C4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},_4={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ua=function(A,e,t,r,n,i){return A<e||A>t?Jo(A,n,i.length>0):r.integers.reduce(function(a,o,s){for(;A>=o;)A-=o,a+=r.values[s];return a},"")+i},Q1=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},ot=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+(Q1(Math.abs(A),i,r,function(a){return at(Math.floor(a%i)+e)})+n)},ti=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return Q1(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},fa=1,An=2,rn=4,Zo=8,yr=function(A,e,t,r,n,i){if(A<-9999||A>9999)return Jo(A,4,n.length>0);var a=Math.abs(A),o=n;if(a===0)return e[0]+o;for(var s=0;a>0&&s<=4;s++){var l=a%10;l===0&&vt(i,fa)&&o!==""?o=e[l]+o:l>1||l===1&&s===0||l===1&&s===1&&vt(i,An)||l===1&&s===1&&vt(i,rn)&&A>100||l===1&&s>1&&vt(i,Zo)?o=e[l]+(s>0?t[s-1]:"")+o:l===1&&s>0&&(o=t[s-1]+o),a=Math.floor(a/10)}return(A<0?r:"")+o},x1="十百千萬",F1="拾佰仟萬",E1="マイナス",yp="마이너스",Jo=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",a=t?" ":"";switch(e){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var o=ot(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return ti(A,"〇一二三四五六七八九",n);case 6:return ua(A,1,3999,C1,3,r).toLowerCase();case 7:return ua(A,1,3999,C1,3,r);case 8:return ot(A,945,969,!1,r);case 9:return ot(A,97,122,!1,r);case 10:return ot(A,65,90,!1,r);case 11:return ot(A,1632,1641,!0,r);case 12:case 49:return ua(A,1,9999,_1,3,r);case 35:return ua(A,1,9999,_1,3,r).toLowerCase();case 13:return ot(A,2534,2543,!0,r);case 14:case 30:return ot(A,6112,6121,!0,r);case 15:return ti(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ti(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return yr(A,"零一二三四五六七八九",x1,"負",n,An|rn|Zo);case 47:return yr(A,"零壹貳參肆伍陸柒捌玖",F1,"負",n,fa|An|rn|Zo);case 42:return yr(A,"零一二三四五六七八九",x1,"负",n,An|rn|Zo);case 41:return yr(A,"零壹贰叁肆伍陆柒捌玖",F1,"负",n,fa|An|rn|Zo);case 26:return yr(A,"〇一二三四五六七八九","十百千万",E1,n,0);case 25:return yr(A,"零壱弐参四伍六七八九","拾百千万",E1,n,fa|An|rn);case 31:return yr(A,"영일이삼사오육칠팔구","십백천만",yp,i,fa|An|rn);case 33:return yr(A,"零一二三四五六七八九","十百千萬",yp,i,0);case 32:return yr(A,"零壹貳參四五六七八九","拾百千",yp,i,fa|An|rn);case 18:return ot(A,2406,2415,!0,r);case 20:return ua(A,1,19999,_4,3,r);case 21:return ot(A,2790,2799,!0,r);case 22:return ot(A,2662,2671,!0,r);case 22:return ua(A,1,10999,C4,3,r);case 23:return ti(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ti(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ot(A,3302,3311,!0,r);case 28:return ti(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ti(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ot(A,3792,3801,!0,r);case 37:return ot(A,6160,6169,!0,r);case 38:return ot(A,4160,4169,!0,r);case 39:return ot(A,2918,2927,!0,r);case 40:return ot(A,1776,1785,!0,r);case 43:return ot(A,3046,3055,!0,r);case 44:return ot(A,3174,3183,!0,r);case 45:return ot(A,3664,3673,!0,r);case 46:return ot(A,3872,3881,!0,r);case 3:default:return ot(A,48,57,!0,r)}},b1="data-html2canvas-ignore",S1=(function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new w4,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=Q4(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,o=n.contentWindow,s=o.document,l=E4(n).then(function(){return Nt(r,void 0,void 0,function(){var u,f;return Ut(this,function(c){switch(c.label){case 0:return this.scrolledElements.forEach(I4),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),u=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:s.fonts&&s.fonts.ready?[4,s.fonts.ready]:[3,2];case 1:c.sent(),c.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,F4(s)]:[3,4];case 3:c.sent(),c.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(s,f)}).then(function(){return n})]:[2,n]}})})});return s.open(),s.write(S4(document.doctype)+"<html></html>"),U4(this.referenceElement.ownerDocument,i,a),s.replaceChild(s.adoptNode(this.documentElement),s.documentElement),s.close(),l},A.prototype.createElementClone=function(e){if(rp(e,2))debugger;if(p1(e))return this.createCanvasClone(e);if(g1(e))return this.createVideoClone(e);if(m1(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return mp(t)&&(mp(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),w1(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return wp(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,a){return a&&typeof a.cssText=="string"?i+a.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var s=o.getContextAttributes();(s==null?void 0:s.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!la(t)||!y4(t)&&!t.hasAttribute(b1)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!la(t)||!m1(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(la(i)&&y1(i)&&typeof i.assignedNodes=="function"){var a=i.assignedNodes();a.length&&a.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(v1(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&la(e)&&(gp(e)||cf(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&gp(n)&&(this.clonedReferenceElement=n),Bp(n)&&L4(n);var s=this.counters.parse(new KQ(this.context,i)),l=this.resolvePseudoContent(e,n,a,qo.BEFORE);w1(e)&&(t=!0),g1(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,qo.AFTER);return u&&n.appendChild(u),this.counters.pop(s),(i&&(this.options.copyStyles||cf(e))&&!B1(e)||t)&&wp(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(hf(e)||vf(e))&&(hf(n)||vf(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var a=r.content,o=t.ownerDocument;if(!(!o||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new KQ(this.context,r));var s=new pP(this.context,r),l=o.createElement("html2canvaspseudoelement");wp(r,l),s.content.forEach(function(f){if(f.type===0)l.appendChild(o.createTextNode(f.value));else if(f.type===22){var c=o.createElement("img");c.src=f.value,c.style.opacity="1",l.appendChild(c)}else if(f.type===18){if(f.name==="attr"){var h=f.values.filter(We);h.length&&l.appendChild(o.createTextNode(e.getAttribute(h[0].value)||""))}else if(f.name==="counter"){var v=f.values.filter(oa),d=v[0],g=v[1];if(d&&We(d)){var p=i.counters.getCounterValue(d.value),B=g&&We(g)?Ap.parse(i.context,g.value):3;l.appendChild(o.createTextNode(Jo(p,B,!1)))}}else if(f.name==="counters"){var m=f.values.filter(oa),d=m[0],y=m[1],g=m[2];if(d&&We(d)){var _=i.counters.getCounterValues(d.value),C=g&&We(g)?Ap.parse(i.context,g.value):3,Q=y&&y.type===0?y.value:"",x=_.map(function(E){return Jo(E,C,!1)}).join(Q);l.appendChild(o.createTextNode(x))}}}else if(f.type===20)switch(f.value){case"open-quote":l.appendChild(o.createTextNode(VQ(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(VQ(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(f.value))}}),l.className=Cp+" "+_p;var u=n===qo.BEFORE?" "+Cp:" "+_p;return cf(t)?t.className.baseValue+=u:t.className+=u,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A})(),qo;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(qo||(qo={}));var Q4=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(b1,"true"),A.body.appendChild(t),t},x4=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},F4=function(A){return Promise.all([].slice.call(A.images,0).map(x4))},E4=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},b4=["all","d","content"],wp=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);b4.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},S4=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},U4=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},I4=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},T4=":before",D4=":after",Cp="___html2canvas___pseudoelement_before",_p="___html2canvas___pseudoelement_after",U1=`{
63
63
  content: "" !important;
64
64
  display: none !important;
65
- }`,L4=function(A){M4(A,"."+_p+T4+U1+`
66
- .`+Qp+D4+U1)},M4=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},I1=(function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A})(),H4=(function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(Fp(e)||P4(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return Nt(this,void 0,void 0,function(){var t,r,n,i,a=this;return Ut(this,function(o){switch(o.label){case 0:return t=I1.isSameOrigin(e),r=!xp(e)&&this._options.useCORS===!0&&_t.SUPPORT_CORS_IMAGES&&!t,n=!xp(e)&&!t&&!Fp(e)&&typeof this._options.proxy=="string"&&_t.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!xp(e)&&!Fp(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(s,l){var u=new Image;u.onload=function(){return s(u)},u.onerror=l,(k4(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return s(u)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,a){var o=_t.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(o==="text")i(s.response);else{var f=new FileReader;f.addEventListener("load",function(){return i(f.result)},!1),f.addEventListener("error",function(c){return a(c)},!1),f.readAsDataURL(s.response)}else a("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=o),t._options.imageTimeout){var u=t._options.imageTimeout;s.timeout=u,s.ontimeout=function(){return a("Timed out ("+u+"ms) proxying "+n)}}s.send()})},A})(),O4=/^data:image\/svg\+xml/i,R4=/^data:image\/.*;base64,/i,N4=/^data:image\/.*/i,P4=function(A){return _t.SUPPORT_SVG_DRAWING||!V4(A)},xp=function(A){return N4.test(A)},k4=function(A){return R4.test(A)},Fp=function(A){return A.substr(0,4)==="blob"},V4=function(A){return A.substr(-3).toLowerCase()==="svg"||O4.test(A)},j=(function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A})(),ha=function(A,e,t){return new j(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},pf=(function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=ha(this.start,this.startControl,e),n=ha(this.startControl,this.endControl,e),i=ha(this.endControl,this.end,e),a=ha(r,n,e),o=ha(n,i,e),s=ha(a,o,e);return t?new A(this.start,r,a,s):new A(s,o,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A})(),pA=function(A){return A.type===1},K4=(function(){function A(e){var t=e.styles,r=e.bounds,n=zo(t.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],o=zo(t.borderTopRightRadius,r.width,r.height),s=o[0],l=o[1],u=zo(t.borderBottomRightRadius,r.width,r.height),f=u[0],c=u[1],h=zo(t.borderBottomLeftRadius,r.width,r.height),v=h[0],d=h[1],g=[];g.push((i+s)/r.width),g.push((v+f)/r.width),g.push((a+d)/r.height),g.push((l+c)/r.height);var p=Math.max.apply(Math,g);p>1&&(i/=p,a/=p,s/=p,l/=p,f/=p,c/=p,v/=p,d/=p);var B=r.width-s,m=r.height-c,y=r.width-f,_=r.height-d,C=t.borderTopWidth,Q=t.borderRightWidth,x=t.borderBottomWidth,F=t.borderLeftWidth,S=Je(t.paddingTop,e.bounds.width),E=Je(t.paddingRight,e.bounds.width),I=Je(t.paddingBottom,e.bounds.width),U=Je(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?je(r.left+F/3,r.top+C/3,i-F/3,a-C/3,Ve.TOP_LEFT):new j(r.left+F/3,r.top+C/3),this.topRightBorderDoubleOuterBox=i>0||a>0?je(r.left+B,r.top+C/3,s-Q/3,l-C/3,Ve.TOP_RIGHT):new j(r.left+r.width-Q/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=f>0||c>0?je(r.left+y,r.top+m,f-Q/3,c-x/3,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q/3,r.top+r.height-x/3),this.bottomLeftBorderDoubleOuterBox=v>0||d>0?je(r.left+F/3,r.top+_,v-F/3,d-x/3,Ve.BOTTOM_LEFT):new j(r.left+F/3,r.top+r.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?je(r.left+F*2/3,r.top+C*2/3,i-F*2/3,a-C*2/3,Ve.TOP_LEFT):new j(r.left+F*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?je(r.left+B,r.top+C*2/3,s-Q*2/3,l-C*2/3,Ve.TOP_RIGHT):new j(r.left+r.width-Q*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=f>0||c>0?je(r.left+y,r.top+m,f-Q*2/3,c-x*2/3,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q*2/3,r.top+r.height-x*2/3),this.bottomLeftBorderDoubleInnerBox=v>0||d>0?je(r.left+F*2/3,r.top+_,v-F*2/3,d-x*2/3,Ve.BOTTOM_LEFT):new j(r.left+F*2/3,r.top+r.height-x*2/3),this.topLeftBorderStroke=i>0||a>0?je(r.left+F/2,r.top+C/2,i-F/2,a-C/2,Ve.TOP_LEFT):new j(r.left+F/2,r.top+C/2),this.topRightBorderStroke=i>0||a>0?je(r.left+B,r.top+C/2,s-Q/2,l-C/2,Ve.TOP_RIGHT):new j(r.left+r.width-Q/2,r.top+C/2),this.bottomRightBorderStroke=f>0||c>0?je(r.left+y,r.top+m,f-Q/2,c-x/2,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q/2,r.top+r.height-x/2),this.bottomLeftBorderStroke=v>0||d>0?je(r.left+F/2,r.top+_,v-F/2,d-x/2,Ve.BOTTOM_LEFT):new j(r.left+F/2,r.top+r.height-x/2),this.topLeftBorderBox=i>0||a>0?je(r.left,r.top,i,a,Ve.TOP_LEFT):new j(r.left,r.top),this.topRightBorderBox=s>0||l>0?je(r.left+B,r.top,s,l,Ve.TOP_RIGHT):new j(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||c>0?je(r.left+y,r.top+m,f,c,Ve.BOTTOM_RIGHT):new j(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=v>0||d>0?je(r.left,r.top+_,v,d,Ve.BOTTOM_LEFT):new j(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?je(r.left+F,r.top+C,Math.max(0,i-F),Math.max(0,a-C),Ve.TOP_LEFT):new j(r.left+F,r.top+C),this.topRightPaddingBox=s>0||l>0?je(r.left+Math.min(B,r.width-Q),r.top+C,B>r.width+Q?0:Math.max(0,s-Q),Math.max(0,l-C),Ve.TOP_RIGHT):new j(r.left+r.width-Q,r.top+C),this.bottomRightPaddingBox=f>0||c>0?je(r.left+Math.min(y,r.width-F),r.top+Math.min(m,r.height-x),Math.max(0,f-Q),Math.max(0,c-x),Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q,r.top+r.height-x),this.bottomLeftPaddingBox=v>0||d>0?je(r.left+F,r.top+Math.min(_,r.height-x),Math.max(0,v-F),Math.max(0,d-x),Ve.BOTTOM_LEFT):new j(r.left+F,r.top+r.height-x),this.topLeftContentBox=i>0||a>0?je(r.left+F+U,r.top+C+S,Math.max(0,i-(F+U)),Math.max(0,a-(C+S)),Ve.TOP_LEFT):new j(r.left+F+U,r.top+C+S),this.topRightContentBox=s>0||l>0?je(r.left+Math.min(B,r.width+F+U),r.top+C+S,B>r.width+F+U?0:s-F+U,l-(C+S),Ve.TOP_RIGHT):new j(r.left+r.width-(Q+E),r.top+C+S),this.bottomRightContentBox=f>0||c>0?je(r.left+Math.min(y,r.width-(F+U)),r.top+Math.min(m,r.height+C+S),Math.max(0,f-(Q+E)),c-(x+I),Ve.BOTTOM_RIGHT):new j(r.left+r.width-(Q+E),r.top+r.height-(x+I)),this.bottomLeftContentBox=v>0||d>0?je(r.left+F+U,r.top+_,Math.max(0,v-(F+U)),d-(x+I),Ve.BOTTOM_LEFT):new j(r.left+F+U,r.top+r.height-(x+I))}return A})(),Ve;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ve||(Ve={}));var je=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),a=t*i,o=r*i,s=A+t,l=e+r;switch(n){case Ve.TOP_LEFT:return new pf(new j(A,l),new j(A,l-o),new j(s-a,e),new j(s,e));case Ve.TOP_RIGHT:return new pf(new j(A,e),new j(A+a,e),new j(s,l-o),new j(s,l));case Ve.BOTTOM_RIGHT:return new pf(new j(s,e),new j(s,e+o),new j(A+a,l),new j(A,l));case Ve.BOTTOM_LEFT:default:return new pf(new j(s,l),new j(s-a,l),new j(A,e+o),new j(A,e))}},gf=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},G4=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Bf=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},z4=(function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A})(),mf=(function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A})(),W4=(function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A})(),Y4=function(A){return A.type===0},T1=function(A){return A.type===1},X4=function(A){return A.type===2},D1=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},Z4=function(A,e,t,r,n){return A.map(function(i,a){switch(a){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},L1=(function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A})(),M1=(function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new K4(this.container),this.container.styles.opacity<1&&this.effects.push(new W4(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new z4(r,n,i))}if(this.container.styles.overflowX!==0){var a=gf(this.curves),o=Bf(this.curves);D1(a,o)?this.effects.push(new mf(a,6)):(this.effects.push(new mf(a,2)),this.effects.push(new mf(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(s){return!T1(s)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=gf(r.curves),o=Bf(r.curves);D1(a,o)||n.unshift(new mf(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(s){return vt(s.target,e)})},A})(),Ep=function(A,e,t,r){A.container.elements.forEach(function(n){var i=vt(n.flags,4),a=vt(n.flags,2),o=new M1(n,A);vt(n.styles.display,2048)&&r.push(o);var s=vt(n.flags,8)?[]:r;if(i||a){var l=i||n.styles.isPositioned()?t:e,u=new L1(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var c=0;l.negativeZIndex.some(function(v,d){return f>v.element.container.styles.zIndex.order?(c=d,!1):c>0}),l.negativeZIndex.splice(c,0,u)}else if(f>0){var h=0;l.positiveZIndex.some(function(v,d){return f>=v.element.container.styles.zIndex.order?(h=d+1,!1):h>0}),l.positiveZIndex.splice(h,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Ep(o,u,i?u:t,s)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Ep(o,e,t,s);vt(n.flags,8)&&H1(n,s)})},H1=function(A,e){for(var t=A instanceof pp?A.start:1,r=A instanceof pp?A.reversed:!1,n=0;n<e.length;n++){var i=e[n];i.container instanceof o1&&typeof i.container.value=="number"&&i.container.value!==0&&(t=i.container.value),i.listValue=qo(t,i.container.styles.listStyleType,!0),t+=r?-1:1}},J4=function(A){var e=new M1(A,null),t=new L1(e),r=[];return Ep(e,t,t,r),H1(e.container,r),t},O1=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},q4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return gA(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},$4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},j4=function(A,e){switch(e){case 0:return yf(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return yf(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return yf(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return yf(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},yf=function(A,e){var t=[];return pA(A)?t.push(A.subdivide(.5,!1)):t.push(A),pA(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},gA=function(A,e,t,r){var n=[];return pA(A)?n.push(A.subdivide(.5,!1)):n.push(A),pA(t)?n.push(t.subdivide(.5,!0)):n.push(t),pA(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),pA(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},R1=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},wf=function(A){var e=A.styles,t=A.bounds,r=Je(e.paddingLeft,t.width),n=Je(e.paddingRight,t.width),i=Je(e.paddingTop,t.width),a=Je(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+i+a))},ek=function(A,e){return A===0?e.bounds:A===2?wf(e):R1(e)},tk=function(A,e){return A===0?e.bounds:A===2?wf(e):R1(e)},bp=function(A,e,t){var r=ek(da(A.styles.backgroundOrigin,e),A),n=tk(da(A.styles.backgroundClip,e),A),i=Ak(da(A.styles.backgroundSize,e),t,r),a=i[0],o=i[1],s=zo(da(A.styles.backgroundPosition,e),r.width-a,r.height-o),l=rk(da(A.styles.backgroundRepeat,e),s,i,r,n),u=Math.round(r.left+s[0]),f=Math.round(r.top+s[1]);return[l,u,f,a,o]},va=function(A){return We(A)&&A.value===la.AUTO},Cf=function(A){return typeof A=="number"},Ak=function(A,e,t){var r=e[0],n=e[1],i=e[2],a=A[0],o=A[1];if(!a)return[0,0];if(ft(a)&&o&&ft(o))return[Je(a,t.width),Je(o,t.height)];var s=Cf(i);if(We(a)&&(a.value===la.CONTAIN||a.value===la.COVER)){if(Cf(i)){var l=t.width/t.height;return l<i!=(a.value===la.COVER)?[t.width,t.width/i]:[t.height*i,t.height]}return[t.width,t.height]}var u=Cf(r),f=Cf(n),c=u||f;if(va(a)&&(!o||va(o))){if(u&&f)return[r,n];if(!s&&!c)return[t.width,t.height];if(c&&s){var h=u?r:n*i,v=f?n:r/i;return[h,v]}var d=u?r:t.width,g=f?n:t.height;return[d,g]}if(s){var p=0,B=0;return ft(a)?p=Je(a,t.width):ft(o)&&(B=Je(o,t.height)),va(a)?p=B*i:(!o||va(o))&&(B=p/i),[p,B]}var m=null,y=null;if(ft(a)?m=Je(a,t.width):o&&ft(o)&&(y=Je(o,t.height)),m!==null&&(!o||va(o))&&(y=u&&f?m/r*n:t.height),y!==null&&va(a)&&(m=u&&f?y/n*r:t.width),m!==null&&y!==null)return[m,y];throw new Error("Unable to calculate background-size for element")},da=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},rk=function(A,e,t,r,n){var i=e[0],a=e[1],o=t[0],s=t[1];switch(A){case 2:return[new j(Math.round(r.left),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(s+r.top+a)),new j(Math.round(r.left),Math.round(s+r.top+a))];case 3:return[new j(Math.round(r.left+i),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.height+r.top)),new j(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new j(Math.round(r.left+i),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a+s)),new j(Math.round(r.left+i),Math.round(r.top+a+s))];default:return[new j(Math.round(n.left),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.height+n.top)),new j(Math.round(n.left),Math.round(n.height+n.top))]}},nk="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",N1="Hidden Text",ik=(function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=nk,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(N1)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(N1)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:o,middle:s}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A})(),P1=(function(){function A(e,t){this.context=e,this.options=t}return A})(),ak=1e4,ok=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new ik(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),X4(t)&&(this.ctx.globalAlpha=t.opacity),Y4(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),T1(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return Nt(this,void 0,void 0,function(){var r;return Ut(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return Nt(this,void 0,void 0,function(){return Ut(this,function(r){switch(r.label){case 0:if(vt(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var a=dp(t.text);a.reduce(function(o,s){return i.ctx.fillText(s,o,t.bounds.top+n),o+i.ctx.measureText(s).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=ck(t.fontFamily).join(", "),i=Go(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return Nt(this,void 0,void 0,function(){var n,i,a,o,s,l,u,f,c=this;return Ut(this,function(h){return n=this.createFontStyle(r),i=n[0],a=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),l=s.baseline,u=s.middle,f=r.paintOrder,t.textBounds.forEach(function(v){f.forEach(function(d){switch(d){case 0:c.ctx.fillStyle=yt(r.color),c.renderTextWithLetterSpacing(v,r.letterSpacing,l);var g=r.textShadow;g.length&&v.text.trim().length&&(g.slice(0).reverse().forEach(function(p){c.ctx.shadowColor=yt(p.color),c.ctx.shadowOffsetX=p.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=p.offsetY.number*c.options.scale,c.ctx.shadowBlur=p.blur.number,c.renderTextWithLetterSpacing(v,r.letterSpacing,l)}),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),r.textDecorationLine.length&&(c.ctx.fillStyle=yt(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top+l),v.bounds.width,1);break;case 2:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top),v.bounds.width,1);break;case 3:c.ctx.fillRect(v.bounds.left,Math.ceil(v.bounds.top+u),v.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&v.text.trim().length&&(c.ctx.strokeStyle=yt(r.webkitTextStrokeColor),c.ctx.lineWidth=r.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(v.text,v.bounds.left,v.bounds.top+l)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=wf(t),a=Bf(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s,B,B,l,u,f,c,y,h,v,_,d,g,p,B,m,y,_;return Ut(this,function(C){switch(C.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,a=0,o=r.textNodes,C.label=1;case 1:return a<o.length?(s=o[a],[4,this.renderTextNode(s,i)]):[3,4];case 2:C.sent(),C.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof n1))return[3,8];C.label=5;case 5:return C.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,8];case 7:return C.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof i1&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof a1))return[3,12];C.label=9;case 9:return C.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,12];case 11:return C.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof f1&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:u=C.sent(),r.width&&r.height&&this.ctx.drawImage(u,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),C.label=14;case 14:if(r instanceof gp&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===uf?r.checked&&(this.ctx.save(),this.path([new j(r.bounds.left+f*.39363,r.bounds.top+f*.79),new j(r.bounds.left+f*.16,r.bounds.top+f*.5549),new j(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new j(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new j(r.bounds.left+f*.72983,r.bounds.top+f*.23),new j(r.bounds.left+f*.84,r.bounds.top+f*.34085),new j(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=yt(s1),this.ctx.fill(),this.ctx.restore()):r.type===ff&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=yt(s1),this.ctx.fill(),this.ctx.restore())),sk(r)&&r.value.length){switch(c=this.createFontStyle(i),y=c[0],h=c[1],v=this.fontMetrics.getMetrics(y,h).baseline,this.ctx.font=y,this.ctx.fillStyle=yt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=uk(r.styles.textAlign),_=wf(r),d=0,r.styles.textAlign){case 1:d+=_.width/2;break;case 2:d+=_.width;break}g=_.add(d,0,0,-_.height/2+1),this.ctx.save(),this.path([new j(_.left,_.top),new j(_.left+_.width,_.top),new j(_.left+_.width,_.top+_.height),new j(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Zo(r.value,g),i.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!vt(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(p=r.styles.listStyleImage,p.type!==0)return[3,18];B=void 0,m=p.url,C.label=15;case 15:return C.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return B=C.sent(),this.ctx.drawImage(B,r.bounds.left-(B.width+10),r.bounds.top),[3,18];case 17:return C.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(y=this.createFontStyle(i)[0],this.ctx.font=y,this.ctx.fillStyle=yt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new gr(r.bounds.left,r.bounds.top+Je(r.styles.paddingTop,r.bounds.width),r.bounds.width,NQ(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Zo(t.listValue,_),i.letterSpacing,NQ(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),C.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return Nt(this,void 0,void 0,function(){var r,n,p,i,a,p,o,s,p,l,u,p,f,c,p,h,v,p,d,g,p;return Ut(this,function(B){switch(B.label){case 0:if(vt(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:B.sent(),r=0,n=t.negativeZIndex,B.label=2;case 2:return r<n.length?(p=n[r],[4,this.renderStack(p)]):[3,5];case 3:B.sent(),B.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:B.sent(),i=0,a=t.nonInlineLevel,B.label=7;case 7:return i<a.length?(p=a[i],[4,this.renderNode(p)]):[3,10];case 8:B.sent(),B.label=9;case 9:return i++,[3,7];case 10:o=0,s=t.nonPositionedFloats,B.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:B.sent(),B.label=13;case 13:return o++,[3,11];case 14:l=0,u=t.nonPositionedInlineLevel,B.label=15;case 15:return l<u.length?(p=u[l],[4,this.renderStack(p)]):[3,18];case 16:B.sent(),B.label=17;case 17:return l++,[3,15];case 18:f=0,c=t.inlineLevel,B.label=19;case 19:return f<c.length?(p=c[f],[4,this.renderNode(p)]):[3,22];case 20:B.sent(),B.label=21;case 21:return f++,[3,19];case 22:h=0,v=t.zeroOrAutoZIndexOrTransformedOrOpacity,B.label=23;case 23:return h<v.length?(p=v[h],[4,this.renderStack(p)]):[3,26];case 24:B.sent(),B.label=25;case 25:return h++,[3,23];case 26:d=0,g=t.positiveZIndex,B.label=27;case 27:return d<g.length?(p=g[d],[4,this.renderStack(p)]):[3,30];case 28:B.sent(),B.label=29;case 29:return d++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,i){var a=pA(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),pA(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,i){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},e.prototype.resizeImage=function(t,r,n){var i;if(t.width===r&&t.height===n)return t;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=a.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var s=o.getContext("2d");return s.drawImage(t,0,0,t.width,t.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s;return Ut(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(u){var f,c,h,S,P,Z,U,T,x,v,S,P,Z,U,T,d,g,p,B,m,y,_,C,Q,x,F,S,E,I,U,T,L,P,Z,V,X,ee,te,D,M,H,K;return Ut(this,function(N){switch(N.label){case 0:if(u.type!==0)return[3,5];f=void 0,c=u.url,N.label=1;case 1:return N.trys.push([1,3,,4]),[4,i.context.cache.match(c)];case 2:return f=N.sent(),[3,4];case 3:return N.sent(),i.context.logger.error("Error loading background-image "+c),[3,4];case 4:return f&&(h=bp(t,r,[f.width,f.height,f.width/f.height]),S=h[0],P=h[1],Z=h[2],U=h[3],T=h[4],x=i.ctx.createPattern(i.resizeImage(f,U,T),"repeat"),i.renderRepeat(S,x,P,Z)),[3,6];case 5:YR(u)?(v=bp(t,r,[null,null,null]),S=v[0],P=v[1],Z=v[2],U=v[3],T=v[4],d=VR(u.angle,U,T),g=d[0],p=d[1],B=d[2],m=d[3],y=d[4],_=document.createElement("canvas"),_.width=U,_.height=T,C=_.getContext("2d"),Q=C.createLinearGradient(p,m,B,y),bQ(u.stops,g).forEach(function(ue){return Q.addColorStop(ue.stop,yt(ue.color))}),C.fillStyle=Q,C.fillRect(0,0,U,T),U>0&&T>0&&(x=i.ctx.createPattern(_,"repeat"),i.renderRepeat(S,x,P,Z))):XR(u)&&(F=bp(t,r,[null,null,null]),S=F[0],E=F[1],I=F[2],U=F[3],T=F[4],L=u.position.length===0?[ep]:u.position,P=Je(L[0],U),Z=Je(L[L.length-1],T),V=KR(u,P,Z,U,T),X=V[0],ee=V[1],X>0&&ee>0&&(te=i.ctx.createRadialGradient(E+P,I+Z,0,E+P,I+Z,X),bQ(u.stops,X*2).forEach(function(ue){return te.addColorStop(ue.stop,yt(ue.color))}),i.path(S),i.ctx.fillStyle=te,X!==ee?(D=t.bounds.left+.5*t.bounds.width,M=t.bounds.top+.5*t.bounds.height,H=ee/X,K=1/H,i.ctx.save(),i.ctx.translate(D,M),i.ctx.transform(1,0,0,H,0,0),i.ctx.translate(-D,-M),i.ctx.fillRect(E,K*(I-M)+M,U,T*K),i.ctx.restore()):i.ctx.fill())),N.label=6;case 6:return r--,[2]}})},i=this,a=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<o.length?(s=o[a],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return Nt(this,void 0,void 0,function(){return Ut(this,function(i){return this.path(O1(n,r)),this.ctx.fillStyle=yt(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,i){return Nt(this,void 0,void 0,function(){var a,o;return Ut(this,function(s){switch(s.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,i)]:[3,2];case 1:return s.sent(),[2];case 2:return a=q4(i,n),this.path(a),this.ctx.fillStyle=yt(t),this.ctx.fill(),o=$4(i,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s,l,u,f=this;return Ut(this,function(c){switch(c.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!en(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=lk(da(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),en(r.backgroundColor)||(this.ctx.fillStyle=yt(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(h){f.ctx.save();var v=gf(t.curves),d=h.inset?0:ak,g=Z4(v,-d+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(f.path(v),f.ctx.clip(),f.mask(g)):(f.mask(v),f.ctx.clip(),f.path(g)),f.ctx.shadowOffsetX=h.offsetX.number+d,f.ctx.shadowOffsetY=h.offsetY.number,f.ctx.shadowColor=yt(h.color),f.ctx.shadowBlur=h.blur.number,f.ctx.fillStyle=h.inset?yt(h.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),c.label=2;case 2:o=0,s=0,l=i,c.label=3;case 3:return s<l.length?(u=l[s],u.style!==0&&!en(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return c.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,3)];case 6:return c.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,t.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,t.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,a){return Nt(this,void 0,void 0,function(){var o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,C,_,C;return Ut(this,function(Q){return this.ctx.save(),o=j4(i,n),s=O1(i,n),a===2&&(this.path(s),this.ctx.clip()),pA(s[0])?(l=s[0].start.x,u=s[0].start.y):(l=s[0].x,u=s[0].y),pA(s[1])?(f=s[1].end.x,c=s[1].end.y):(f=s[1].x,c=s[1].y),n===0||n===2?h=Math.abs(l-f):h=Math.abs(u-c),this.ctx.beginPath(),a===3?this.formatPath(o):this.formatPath(s.slice(0,2)),v=r<3?r*3:r*2,d=r<3?r*2:r,a===3&&(v=r,d=r),g=!0,h<=v*2?g=!1:h<=v*2+d?(p=h/(2*v+d),v*=p,d*=p):(B=Math.floor((h+d)/(v+d)),m=(h-B*v)/(B-1),y=(h-(B+1)*v)/B,d=y<=0||Math.abs(d-m)<Math.abs(d-y)?m:y),g&&(a===3?this.ctx.setLineDash([0,v+d]):this.ctx.setLineDash([v,d])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=yt(t),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(pA(s[0])&&(_=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke()),pA(s[1])&&(_=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return Nt(this,void 0,void 0,function(){var r;return Ut(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=yt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=J4(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e})(P1),sk=function(A){return A instanceof u1||A instanceof l1?!0:A instanceof gp&&A.type!==ff&&A.type!==uf},lk=function(A,e){switch(A){case 0:return gf(e);case 2:return G4(e);case 1:default:return Bf(e)}},uk=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},fk=["-apple-system","system-ui"],ck=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return fk.indexOf(e)===-1}):A},hk=(function(A){UA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return Nt(this,void 0,void 0,function(){var r,n;return Ut(this,function(i){switch(i.label){case 0:return r=vp(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,vk(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=yt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e})(P1),vk=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},dk=(function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Su([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Su([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Su([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Su([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A})(),pk=(function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new dk({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new H4(this,e)}return A.instanceCount=1,A})(),k1=function(A,e){return e===void 0&&(e={}),gk(A,e)};typeof window<"u"&&I1.setContext(window);var gk=function(A,e){return Nt(void 0,void 0,void 0,function(){var t,r,n,i,a,o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,Q,C,Q,x,F,S,E,I,U,T,L,P,Z,V,X,ee,te,D,M,H;return Ut(this,function(K){switch(K.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(x=e.allowTaint)!==null&&x!==void 0?x:!1,imageTimeout:(F=e.imageTimeout)!==null&&F!==void 0?F:15e3,proxy:e.proxy,useCORS:(S=e.useCORS)!==null&&S!==void 0?S:!1},i=Dd({logging:(E=e.logging)!==null&&E!==void 0?E:!0,cache:e.cache},n),a={windowWidth:(I=e.windowWidth)!==null&&I!==void 0?I:r.innerWidth,windowHeight:(U=e.windowHeight)!==null&&U!==void 0?U:r.innerHeight,scrollX:(T=e.scrollX)!==null&&T!==void 0?T:r.pageXOffset,scrollY:(L=e.scrollY)!==null&&L!==void 0?L:r.pageYOffset},o=new gr(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),s=new pk(i,o),l=(P=e.foreignObjectRendering)!==null&&P!==void 0?P:!1,u={allowTaint:(Z=e.allowTaint)!==null&&Z!==void 0?Z:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},s.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new S1(s,A,u),c=f.clonedReferenceElement,c?[4,f.toIFrame(t,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=K.sent(),v=mp(c)||m4(c)?Z2(c.ownerDocument):Uu(s,c),d=v.width,g=v.height,p=v.left,B=v.top,m=Bk(s,c,e.backgroundColor),y={canvas:e.canvas,backgroundColor:m,scale:(X=(V=e.scale)!==null&&V!==void 0?V:r.devicePixelRatio)!==null&&X!==void 0?X:1,x:((ee=e.x)!==null&&ee!==void 0?ee:0)+p,y:((te=e.y)!==null&&te!==void 0?te:0)+B,width:(D=e.width)!==null&&D!==void 0?D:Math.ceil(d),height:(M=e.height)!==null&&M!==void 0?M:Math.ceil(g)},l?(s.logger.debug("Document cloned, using foreign object rendering"),Q=new hk(s,y),[4,Q.render(c)]):[3,3];case 2:return _=K.sent(),[3,5];case 3:return s.logger.debug("Document cloned, element located at "+p+","+B+" with size "+d+"x"+g+" using computed rendering"),s.logger.debug("Starting DOM parsing"),C=h1(s,c),m===C.styles.backgroundColor&&(C.styles.backgroundColor=mr.TRANSPARENT),s.logger.debug("Starting renderer for element at "+y.x+","+y.y+" with size "+y.width+"x"+y.height),Q=new ok(s,y),[4,Q.render(C)];case 4:_=K.sent(),K.label=5;case 5:return(!((H=e.removeContainer)!==null&&H!==void 0)||H)&&(S1.destroy(h)||s.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),s.logger.debug("Finished rendering"),[2,_]}})})},Bk=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?Wo(A,getComputedStyle(r.documentElement).backgroundColor):mr.TRANSPARENT,i=r.body?Wo(A,getComputedStyle(r.body).backgroundColor):mr.TRANSPARENT,a=typeof t=="string"?Wo(A,t):t===null?mr.TRANSPARENT:4294967295;return e===r.documentElement?en(n)?en(i)?a:i:n:a};/*! Element Plus Icons Vue v2.3.2 */var mk=O.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(A){return(e,t)=>(O.openBlock(),O.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[O.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),V1=mk;const yk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAk1BMVEUAAAAyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzM3NzcyMjIzMzMyMjIzMzMzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzM0NDQzMzMzMzMzMzMzMzMzMzMzMzM0NDQzMzMzMzMzMzMyMjI6OjozMzMnMcQ8AAAAMHRSTlMAgprMx7VSMqV6CWbkjtXRv5RiD/hEOe91cSng21w/Lq6piBwX6mtXTUkg9J68JAbdlNjNAAAFP0lEQVR42u3d13biMBAG4N/gDqabYnrokIR5/6fbmrMe7LCAJWFx9N3tDRtF1sxopBgYhmEYhmEYhmEYhmEYhmEYhmEYhmEY9wvn8X7X2Y6CYLTt7PbxPIRuju6w0qpTRr1VGbor6OHYeZ/QVY32rvSDiaMq3cSOYpTWcWjTHezhEWXk+j26U893UTLrYZMeUq2hRLxoQz/pPpT9kn7RfSifFSrOfv5aGW1ICN/DM8UfJErP6uJp3uiaU9OJglFt6saxO62Ngshpnq4m/CmeY/39Iu99DPtr5Fj3R8736eYNz9Cvflt9uCGuCA9vNuVzEig3HVCeSTTDDWbRhPKMXShmUR7fPeNGZ9enPBZUyl/mFQ938Sq5nwKFoivDKDwUB8o4lLH08BBvSRlNKDLOVks7PKyT/bgNlOhlMp8VooBVO5uHoECmuHI8FOQ2MlEc0jVkxMuVn8mqkMwmrrGHEKMecUtI5RDnryDIrKlyJG3iIohztIlrQ5qO3HLig7gOJJlvJJdFPjGbOeRwJDxXnJVXrGj5v7QVlMJ7YlqQwidmD/FsXl2FkOL8ITsvBryESCDJJ986BhBsPpA95fmP8GAORvCzO4REQ147QKgdpb1DqndK20GkKluBXUjVtVlYgUA1SoshWUxpU1kTUoF0rCfxIWlCBgmkS1iMPMiZkAAKBFJ2JjUVKZ0L2e+uL6M4qUGJmoQtVv+OYCgnvtS74vu8NShSE79XbLIJUaYqeu8Tq5+Q7JR4KC7iD6sy3brgreJEbVLPT+8NwTHrAIUOlDJDUSN2cKFUU2g9sXje+Z4lNG4NHikVxGfik8gPm0CxscBFErCYpZgv8LFusd2zYh2BDcF0VlpDsVU6F6OQ8FnBNxuAQxQxv7sJJG2RzFGES/+MoBjPJC7u5XWsWTen6xdDuU6R7uZbj4jGs2zhtoZycYHgX2E7gFb2XkWYJFDlyOLvg73wFX6qZj5oVCdqdKDI40clW/rSW/MiYYGf1gu15ePm4ei/TW1musCA9/e9qqp2Y/bCyOTxeLs4gy+2Q131hdDWw6n9OGA/O+uSddKDhBLLVM+5yAFx+h9vAalP8+3H73B1W5SvfcehhZTUjjt9Noi571JreWYE6A+Iue8iaGnWCItczI3VQkmi1m/bcjxXmTxSaI1lbXFdOTI7Kx2Z2/cFpai1eF8uq9fH/5Sj+mXHE1njFW5Qiv1Ipjv2wMFbOXaIX7q9h9NHSfbsXxJi7qivytZFiZ/+p1yi+lpTem43aM06jWJa2Kcd1JuK6/3OJn/DbgzleFq2RBTSm2iOZ2gIPURce0mIp0jYiZXGhiyFacxmp7r6mvFzdn1F7OaDvi7uoujr4naQvuwXiVlTfoNOXx/8mpi2XH7LVF8Ov/erLbZCFtBW2KSU57+PR8zVeBvaSga8Rastn/UE9Y29AaUNoSuX0lrQVcJ7tQfoyrk4HNNVhdLq5XyV421t65cIvdZl21xTFjG2rinEJ+aka9X7ay/1AvvCo01cBC31m0T0AruQzoA4R78XaOe+026iZcD6XNCl0r80O09tTJc+oR/v73To3nsPTvSb5p3eWpUyxvo9V3nDIHsNvSSjKuVY6JU/vKBF/2h6Vnjlfb9NbXbooXftDczvZV8e5+7qc97fWYsJXbEp+b52uqzTLd4TlNqSblIte8u9Qbc4BWeUm0W3qJS/Jqm8xjAA5zWG8d+lXrX0GAa7GJPReNNo27Gnb9iRNtXIH76m32OVNdX2m8UuzUe+47et7fSg4Xe9GYZhGIZhGIZhGIZhvJIfLCr2GzAyoncAAAAASUVORK5CYII=",wk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAaVBMVEUAAAAQFBgQExcQEhYLFRcQExcQExYPExcQEhcOFBUQEhcQExcPEhcPExcQEhcQExYQERcPExYPEhcQExYQEhcTExMUFBQQExcQExcQExcQFBcPEhcPExcPFBYSEhgcHBwRExcOExgQExdmmIFTAAAAInRSTlMAQL+AFuzVxbEj3KOWdF9OR7qnnmgZDPrkyY5WQzIqCXs2T8mN8gAAAeVJREFUeNrt3dlqwzAQRmFFdpx9X7omaf/3f8iSrSW0FqFy0Micc+2bDxsGI9A4IiIiIqJHNJuMFz5hxWzQiGOs9PU30Yzdk0y0jnSUstI+DtKTlXpRjkJ2KmIgK9mp344vS+rGQLo65V3KOjoXM01kCdIBAgQIECChgAABEg4IECDhgAABEg4IkLZBNrPipul7lpB1pV+95AcpF/qrIjfIVmoHxLcEstajIV6XHgsZqaZ5ZpCqxrF0eUFKnfO3rQqXGaT2CSBAgAABAgQIECBAgAABAgQIEFsQr38HBAgQIECAOF+bLvm6bEFaM9mBAAECBAgQIECAAAECBAgQIECAADlBruUO+Q4IECA/AQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCGYQ8XyCdpOncJgKykJ2Gd7wz0xuTri1jIFPZaRoDcUtZaeyiIK4rIx0iIe5VFqoGLhbi5r3ky8Wqj2aubd12JkXC5uX9IzPzgFgLiLWANN1h1w7IvlLvrQWQgY695Q/p69gwf8hQp/KHCAiQU0CAAAkHBAiQcAYhgyskbQ0s+36WnV7i/gTsNGKz/7GhrDRyUb3LSlt3V9bP1rqfLrZypPS9uiaaTVY+Yf3JvHRERERERA/oC7GKf5yH1bdrAAAAAElFTkSuQmCC",Ck="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAsVBMVEUAAAAEAAAEAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAADAAAEAAAFAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAAEAAADAAAGAAAAAAAAAAAEAAAEAAAEAAAAAAADAAAEAAAFAAAEAAAEAAAEAAADAAADAAAFAAAHAAAFAAAAAAAFAAAEAAAAAAAEAAAFAAADAAADAAAEAAAEAAADAAAEAAAFAAADAAAEAAAAAAADAAADAAAEAADKKhWhAAAAOnRSTlMAQIC/qMxgiXfrmPcyx2s677H74nJVKRQS0LmFCd22LtjUrJ2RNiUgGaNEDXxmW0nz5k6OZFK9Flfau44tfQAAB5tJREFUeNrs29lu2lAUheFlMGAwEAhDCXEgATOEMDQUMqz3f7CqalVtN8DGDLZP5e8J+C8W8jmykUqlUqlUKpVKpVKpVGJYS2c7humm8wf+Uu/AZK0e/3qHqfr+dwo2jORVc/xHHuaZPfOrOgwzyTS4Ux8m+ehynwyMUfZr3O8JZvCqdzxsCwOsbO5k1j/w732r3AkSbfnGIzlIrlGpxqPlkFAvzRxDWSGJVgMqvvtl2BRKSJzx/QMV3Q8AsCgUPSRLXt13Yz7FbxUKVSTIzVDd9/MMfzkU3pAUHX3fuaoHYXybwCfHtbrvmt9HUHDuPxC/cUHdd6+Fr1qB7SBuG3Xfn/Mpdvqk8IE43QyLPOz22cI+hYQcFN8ddd+VhYf9RpQ6iMd2cMvDXn/0cdhb7AfFtr7v+haqaswHxUWXiifnHdB1ahRuECmrpO3bHVo40jCug+JU33d2g+OtKLiISsvW9t0otBHKHYUFotAvfFIxWCOsecQHRU/fd875hvDGlCa4rpm671rpBqepU/BxRROnQkU3j5MtKRQREO2+PzNjnKMRwSVE+f5RfSRc40w+hS6E6PZdqXZwthElD0DE+y76I1xEYIJO1PuuL3Ep1WsdFFu2qz0Szse4nG8uhX5k+3aHM1zWM4UhLuBl06Miu3jBpa0oXWLfr+ojYRnX8Ehheea+m+q+B5mroVDJ7LUZedr523ZphAdL2bc5Rtits+nRLG3sYPmvNE0F/3rR9/3A5HE9BN08aU+29jrLBCojoKqdXJtTIJEhFqQZDymWLABGhJS4X2/jAaaE3HGPx/s+AHNCatzFfd4CMCqky6+yzQlgWkiB/2j4FoBDIXUH8WhnavtDLAY5L4ASYiE2vQO/o0LpA9BC7hCf/IEQh5Klh2QRH+vAbx27/0kIbAoFg0NaFIoGhwTfO1gbHFKgMDA4ZESpY25I8DGlaXBI8L0Dg0PeaxRG5oZgSKFkcMiKwu1pIZ384Kn2/TG77ECIOCR4TlyeEDLNvPKP18wUQrQhcwpv4UPaT8rFbFQhbUqTsCGWcjEbXQjqFDIhQyzlYjbKkDyFRsiQnPL9RJQhaFCYhQpZcIcFjla+aIhPwQ4VUjnzk5Z6+/QQba+dECEj5bJGM6d9coh6UVINEXLPne5xHMsly5cMaVLIhQgZcqchjuJlSfZODdHfOygfH9LlTl0o5KnOOjFEf+/APz7EPufjyO3P9s5tKZUYiKI9owKDIBdHFJWLHEUQlYsoVP//h52qI3U0FWB3JzOUY8169sGl1clOdwIwiOpF3vkbM7nIGxuo3oGM2uCiGRLB9w4uxCIL3sqaBJTNovQXsZefrljkts5bmE10HdALVxGcHIEIGHqVCdPqgBO2g4i9/jyLRSpw5GpjLxOFZETs0NTZI4LLPSRMbM5lEhShyEiOYhE6ctkNaxHzjjQxrXmKlI1fRipiz726BLE30jp9UikdcVEhgpPjRC5C4Zz/Mw9JQLj1Mfvo821s30PEPiK9KERoFG72tras9zA9tUfJtKzyhp5GBDUhqlDEpHcRx+uARFyBezyxp8iluYQCEQ/u0XMBTxEaGOOr1EReGTHUioDxVToij23ew7xxU6hdeYpQx0iOKYn82XM37KUy8d0Q7V26kY7I2e5XTUO3nR0nxzREKp0dd8OeCLKcS0TsuFFKSgQfKe8fSURcF4jY46sUREq8hUZAUlY3TZEIzYzkmLhIELFFu0AaemNLBD9+SFrktssW4cTpvxpoMn9z4iuC23mvpGfaxyJ0ZyTHZEXerazYrJELV8ccqAL2UaIiI+sIdj4iR+IAytrJUS+yKN1KsmKV3Al0F+6KTiLBKXenOCv2KUHwB67oRSoRM8+KKzJotdnknFJmbiRHvciws8lOhb1ZMbqk5MBNiIFaZPV1Yh4Pd2fFWY0SBSdHpcjt958+j2nDQ4cNmgvS4f9sVinSYIPryvasWCAV4YP3iaGtExlb3ZFwW1Yckw6OXsmBpnGCASKwpX0S0FPEBvOhVoQ59D0zlBUiRd7KW5dNzkgvwseXflcMZhOxyDPLGJCLCJ+AhQ41IZZSkTOWUe+5iXAdLBEgOX4IRQospEhqwPxemBwNEZjRMT1nEX2hfKhFniIWckyOIqhQcHIEIsbOjVl4ifBMVyh1NgAiRrQFVMlDRF8oZSBinf3ExN4iPFAUSksjMumymPrKX4TbikJpK0SOWc41uWAluII+OWKRMiu4IRd8NiMsYrfw9WtWLxDBNg1poQyEIiFriFbgjyDnTlgogUwkZhVdMmAfmsJCOZeILFlH6C2iL5RQILIOlSy8RfSFcgVF/GFf+jXCHGVARFQoF1kQERXKaSZEBIVSzoYIvtzZ+i0i1M+EiGANPsuCSJEE/HwRYU4Z/HSRvlNy9KdK6UQUTMSJUp+kExoxISdL5RAxHidHf9Z0gIMVTo7+PNMBjro4OfozppSaDxhOlDs6RDsIJ0d/WpROgw4z5EQp0QFapjg5+lOlQzSxcXL0p0IpjRUw6S7A+kGPM0GyEPmN3jLNV3lknE3kzOLXIW+/MJB5fkN5/CNb34QMrjn9CsIHysnJycnJycnJycnJycnB/AUiHJaNu/P1RgAAAABJRU5ErkJggg==",K1=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},_k={class:"title"},Qk={class:"subTitle"},xk={style:{width:"20px",display:"flex","justify-content":"center"}},Fk={class:"mychart"},Ek=["id"],_f=K1({__name:"HydroGraph",props:{id:{type:String,default(){return W2()}},chartOption:{type:Object,default(){return{}}},legendList:{type:Array,default(){return[]}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"100%"}},backgroundColor:{type:String,default(){return"#fff"}}},setup(A,{expose:e,emit:t}){qA([l2,HH,m2,P2,YL,lM,_L,z2]);const r=O.ref(),n=A;n.chartOption.series||(n.chartOption.series=[]);let i={};const a=t;let o={};O.watch(()=>n.chartOption,()=>{O.nextTick(()=>{let D=setInterval(()=>{document.getElementById(n.id)&&document.getElementById(n.id).offsetHeight>100&&document.getElementById(n.id).offsetWidth>100&&(y&&y.getOption()&&!n.chartOption.restoreZoom&&(o={...y.getOption().dataZoom[0],moveOnMouseMove:n.chartOption.series.some(M=>M.openBarDrag&&(M.type=="line"||M.type=="markLine"))?"ctrl":!0}),Q(),clearInterval(D))},100)})},{deep:!0,immediate:!0});let s={};O.watch(()=>n.legendList,()=>{y&&(s=y.getOption().legend[0].selected);let D=n.legendList.map(H=>{let K=u.find(N=>N.code==H.name);return K?{...H,...K}:{...H}}),M=JSON.parse(JSON.stringify(c.value));i={},c.value=D.map(H=>{const K=M.find(ue=>ue.name==H.name);i[H.name]=H,H.children&&(H.children=H.children.map(ue=>{i[ue.name]=ue;let ie="";return n.chartOption.isDefaultElement===!1?ie=s[ue.name]!=null?s[ue.name]:ue.isSelected:K&&K.children&&K.children.find(Se=>Se.name==ue.name)?ie=K.children.find(Se=>Se.name==ue.name).isSelected:ie=ue.isSelected,{...ue,isSelected:ie,id:Math.random()}}));let N="";return n.chartOption.isDefaultElement===!1?N=s[H.name]!=null?s[H.name]:H.isSelected:H.compel?N=H.isSelected:K?N=K.isSelected:N=H.isSelected,{...H,isSelected:N,id:Math.random()}})},{deep:!0});const l=[{name:"实况雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"实测水位",type:"line",color:"#304755",unit:"m"},{name:"库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"5分钟水位",type:"line",color:"#304755",unit:"m"},{name:"5分钟库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"校核洪水位",type:"markLine",color:"#ffa500",unit:"m"},{name:"设计洪水位",type:"markLine",color:"#a52a2a",unit:"m"},{name:"正常高水位",type:"markLine",color:"#008000",unit:"m"},{name:"死水位",type:"markLine",color:"#000000",unit:"m"},{name:"坝顶高程",type:"markLine",color:"#cf0ce1",unit:"m"},{name:"梅汛期",code:"MXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"台汛期",code:"TXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"累计降雨",type:"line",color:"red",unit:"mm"},{name:"可纳雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"作业预报时间",type:"markLine",color:"#ff0000"}],u=[{name:"实况雨量",code:"P",color:"#0000ff",icon:"histogram"},{name:"实测水位",code:"RZ",color:"#304755",icon:"straightLine",iconWidth:"30",iconHeight:"30"},{name:"库容",code:"W",color:"#197e2b",icon:"straightLine",iconWidth:"30",iconHeight:"30"}],f=["校核洪水位","设计洪水位","正常高水位","坝顶高程","死水位","主汛期"],c=O.ref(n.legendList.map((D,M)=>{let H=u.find(K=>K.code==D.name);return D.color||(D.color=O_[M]),H?{...D,...H}:{...D}}));c.value.forEach(D=>{i[D.name]=D,D.children&&D.children.forEach(M=>{i[M.name]=M})});const h=O.ref(!0);let v=null;const d=D=>{var H;let M=[];h.value=D,c.value.forEach(K=>{K.isSelected=D,M.push(K.name),K.children&&K.children.forEach(N=>{N.isSelected=D,M.push(N.name)})}),M.forEach(K=>{m[K]=D,F(K,D)}),o={...(H=y.getOption())==null?void 0:H.dataZoom[0]},Q()},g=(D,M)=>{var K;let H=[];c.value.forEach(N=>{N.name==M?(N.isSelected=D,N.children?N.children.forEach(ue=>{ue.isSelected=D,H.push(ue.name)}):H.push(N.name)):N.children&&N.children.forEach(ue=>{ue.name==M&&(ue.isSelected=D,H.push(ue.name),N.children.filter(ie=>ie.isSelected).length==N.children.length?N.isSelected=!0:N.isSelected=!1)})}),H.forEach(N=>{Array.isArray(N)?(m[N[0]]=D,m[N[1]]=D,F(N[0],D),F(N[1],D)):(m[N]=D,F(N,D))}),v=c.value.some(N=>N.isSelected==!1),v?h.value=!1:h.value=!0,o={...(K=y.getOption())==null?void 0:K.dataZoom[0]},Q()};O.onMounted(()=>{window.addEventListener("keydown",B)});let p={};const B=D=>{if(D.key==="i"){let M=JSON.parse(JSON.stringify(y.getOption()));M.series.forEach(H=>{H.markPoint&&H.markPoint.data.length!=0?H.markPoint.data=[]:H.markPoint&&H.markPoint.data==0&&(H.markPoint=p[H.name])}),y.setOption(M)}};let m={},y,_;const C=O.ref({}),Q=async()=>{let D=n.chartOption.series.map(w=>{let q="";return w.code?q=l.find(R=>R.code==w.code):q=l.find(R=>R.name==w.name),q?{...q,...w}:{...w}});c.value.forEach(w=>{m[w.name]=w.isSelected,w.children&&w.children.forEach(q=>{m[q.name]=q.isSelected})}),_=document.getElementById(n.id),y||(y=IT(_));let M=D.filter(w=>Array.isArray(w.data));const H=M.every(w=>Array.isArray(w.data)&&w.data.length===0),K=R_(new Date(xe().subtract(5,"day").format("YYYY-MM-DD 08:00")),new Date(xe().format("YYYY-MM-DD HH:00")),60).map(w=>[w,""]);let N=[];M.forEach(w=>{N=N.concat(w.data)}),N=[...new Set(N.map(w=>w[0]))],N.sort((w,q)=>Date.parse(w)-Date.parse(q)),N.some(w=>bu(w))&&(N=N.filter(w=>bu(w)));let ue=N[0];n.chartOption.series.forEach(w=>{w.name=="开始"&&w.sectionStartTime&&(ue=w.sectionStartTime)});let ie=JSON.parse(JSON.stringify(n.chartOption.grid)),Se=n.chartOption.xAxis.map((w,q)=>{let R="";w.show==!1||ie.length>1&&q==0?R=!1:R=!0;let se={type:w.type,logBase:w.logBase||10,gridIndex:w.gridIndex,name:R&&w.type=="time"?"时间":w.name,nameLocation:R&&w.type=="time"?"end":"middle",nameTextStyle:{color:"#333",verticalAlign:R&&w.type=="time"?"top":""},position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,nameGap:R&&w.type=="time"?45:w.nameGap?w.nameGap:w.name?25:0,axisLabel:{show:R,rotate:w.rotate,formatter:function(ge){return w.type=="time"?S(xe(xe(ge).format("YYYY-MM-DD HH:mm")))?n.chartOption.xTimeType?`{a|${n.chartOption.xTimeType}}`:"{a|{yyyy}-{MM}-{dd} {HH}:{mm}}":n.chartOption.xTimeType?n.chartOption.xTimeType:"{MM}-{dd} {HH}:{mm}":w.name?w.name.includes("m³/s")?ra(ge):w.name.includes("万m³")?ge.toFixed(2):w.name.includes("mm")?ge.toFixed(1):w.name.includes("m")?ge.toFixed(2):(ge||ge==0)&&w.toFixed?Number(ge).toFixed(w.toFixed):ge:ge},rich:{a:{fontWeight:"bold"}},color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333",hideOverlap:!0},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},splitLine:{show:w.splitLineHide?!1:w.gridIndex!=2,lineStyle:{color:"#e0e6f1"}},axisTick:{show:w.show==!1?!1:!(ie.length>1&&q==0),alignWithLabel:n.chartOption.alignWithLabel!=null?n.chartOption.alignWithLabel:!0},boundaryGap:w.boundaryGap?w.boundaryGap:["1%","1%"]};if(w.data&&(se.data=w.data),w.type=="value"||w.type=="log"){let ge=0,Ee=100,re=10;w.name.includes("m³/s")?(Ee=1e3,re=100):w.name.includes("万m³")&&(Ee=1e4,re=1e3);let k=n.chartOption.series.filter(ne=>ne.yAxisIndex==q),ce=[],z=[],W=0,Qe=100;k.forEach(ne=>{ne.data instanceof Array&&(ce=ce.concat(ne.data))}),ce[0]instanceof Array&&(z=ce.filter(ne=>ne[0]!=""&&ne[0]!=null&&ne[0]!=null&&!isNaN(ne[0])).map(ne=>Number(ne[0]))),z.length>0&&(W=Math.min(...z),Qe=Math.max(...z),k.some(ne=>ne.type=="bar")||w.name.includes("雨")?(ge=0,(W!==0||Qe!==0)&&(Ee=Math.ceil(Qe/Me(0,Qe))*Me(0,Qe),re=Me(0,Qe))):w.min||w.min==0?(ge=w.min,(W!==0||Qe!==0)&&(Ee=Math.ceil(Qe/Me(w.min,Qe))*Me(w.min,Qe),re=Me(w.min,Qe))):(W!==0||Qe!==0)&&(ge=Math.floor(W/Me(W,Qe))*Me(W,Qe),Ee=Math.ceil(Qe/Me(W,Qe))*Me(W,Qe),re=Me(W,Qe))),se.min=w.min!=""&&w.min!=null?w.min:ge,se.max=w.max!=""&&w.max!=null?w.max:Ee,se.interval=w.interval&&w.max&&(w.min||w.min==0)?w.interval:re,w.interval&&w.max&&(w.min||w.min==0)&&w.interval,se.minorTick={show:!!w.isMinorSplitLineShow}}return se}),He=n.chartOption.yAxis.map((w,q)=>{let R=0,se=100,ge=10;if(w.name.includes("m³/s")?(se=1e3,ge=100):w.name.includes("万m³")&&(se=1e4,ge=1e3),w.name=="可纳雨量(mm)")return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:"#333"},nameGap:w.nameGap,type:"value",position:w.position,offset:w.offset,min:w.min,max:w.max,interval:w.interval,axisLabel:{formatter:Ee=>Ee.toFixed(1),color:"#333"},axisLine:{show:!0,lineStyle:{color:"#8a949c"}},splitLine:{show:!1},minorTick:{show:!0},axisTick:{show:!0}};{let Ee=n.chartOption.series.filter(ne=>ne.yAxisIndex==q&&(m[ne.name]||!Object.keys(m).includes(ne.name))),re=[],k=[],ce=[],z=0,W=100,Qe=null;if(Ee.forEach(ne=>{ne.data instanceof Array?((ne.data2?ne.data2:ne.data).forEach(Ce=>{if(Ce instanceof Array&&Ce.length>=2){const Ke=Ce[1];if(Ke!=""&&Ke!=null&&Ke!=null&&!isNaN(Ke)){const $e=Number(Ke);Qe===null&&(Qe=$e)}}}),re=ne.data2?re.concat(ne.data2):re.concat(ne.data)):ne.data.name=="yAxis"&&ne.data.value&&ce.push(Number(ne.data.value))}),re[0]instanceof Array?k=re.filter(ne=>ne[1]!=""&&ne[1]!=null&&ne[1]!=null&&!isNaN(ne[1])).map(ne=>Number(ne[1])):re[0]instanceof Object&&re[0].value?k=re.map(pe=>pe.value).filter(pe=>pe!=""&&pe!=null&&pe!=null&&!isNaN(pe)).map(pe=>Number(pe)):k=re.filter(ne=>ne!=""&&ne!=null&&ne!=null&&!isNaN(ne)).map(ne=>Number(ne)),k.length>0||ce.length>0){if(z=Math.min(...k,...ce),W=Math.max(...k,...ce),Ee.some(ne=>ne.type=="bar")||w.name.includes("雨"))R=0,n.chartOption.xAxis.length>1&&w.inverse?(z!==0||W!==0)&&(se=Math.ceil(W/Me(0,W,1))*Me(0,W,1)+Me(0,W,1)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(0,W,1)):(z!==0||W!==0)&&(se=Math.ceil(W/Me(0,W))*Me(0,W)+Me(0,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(0,W));else if(w.min||w.min==0)R=w.min,(z!==0||W!==0)&&(se=Math.ceil(W/Me(w.min,W))*Me(w.min,W)+Me(w.min,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(w.min,W));else if(z!==0||W!==0)if(n.chartOption.xAxis.some(pe=>pe.type==="value")&&Qe!==null){R=Qe;const pe=Me(R,W);se=Math.ceil((W-R)/pe)*pe+R+pe*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=pe}else R=Math.floor(z/Me(z,W))*Me(z,W)-Me(z,W)*(w.downIntervalNumber!=null?w.downIntervalNumber:1),se=Math.ceil(W/Me(z,W))*Me(z,W)+Me(z,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(z,W)}if(w.rangeType==1){let ne="",pe="";Math.abs(W)>Math.abs(z)?pe=Math.abs(W):pe=Math.abs(z),ne=Math.ceil(pe/Me(0,pe))*Me(0,pe),se=ne,R=0-ne,ge=Me(0,Math.abs(ne))}return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},nameGap:w.nameGap,type:w.type||"value",logBase:w.logBase||10,position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,min:w.min!=""&&w.min!=null?w.min:R,max:w.max!=""&&w.max!=null?w.max:se,interval:w.interval&&w.max&&(w.min||w.min==0)?w.interval:ge,axisLabel:{formatter:ne=>w.name.includes("m³/s")?ra(ne):w.name.includes("万m³")?ne.toFixed(2):w.name.includes("mm")?ne.toFixed(1):w.name.includes("m")?ne.toFixed(2):ne,color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},axisTick:{show:!0},splitLine:{show:!(ie.length>1&&w.index==1&&w.position=="right"||ie.length==1&&w.index==0&&w.position=="right"||w.splitLineHide),lineStyle:{color:"#e0e6f1"}},minorTick:{show:!0},minorSplitLine:{show:ie.length>1&&w.index==1&&w.position=="right"||ie.length==1&&w.index==0&&w.position=="right"||w.splitLineHide?!1:!w.minorSplitLineHide,lineStyle:{color:"#f4f7fd"}},axisTick:{show:!0}}}}),G=D.some(w=>w.openBarDrag),de=D.map((w,q)=>{var se,ge,Ee;let R={};if(w.type=="bar")w.name=="可纳雨量"?R={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,barWidth:w.barWidth,data:H?K:w.data,label:{show:!0,position:"top",color:"black",fontFamily:"Times New Roman"},itemStyle:{color:function(re){if(w.barColor=="1"){if(re.dataIndex===0)return"#ff0000";if(re.dataIndex===1)return"#a52a2a";if(re.dataIndex===2)return"#ffa500";if(re.dataIndex===3)return"#cf0ce1"}else return"#00a651"}},zlevel:9,z:9}:R={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,label:{show:w.isLabelShow?w.isLabelShow:!1,position:"top",fontFamily:"Times New Roman",formatter:function(re){return"{a0|"+(Array.isArray(re.value)?re.value[1]:re.value)+"}"},rich:{a0:{color:i[w.name]?i[w.name].color:w.color,fontSize:12}}},stack:w.stack?w.stack:"",tooltip:{show:w.isTooltipShow!=!1,trigger:"axis",type:"none"},itemStyle:w.itemStyle?w.itemStyle:{color:function(re){let k=i[w.name]?i[w.name].color:w.color?w.color:O_[q];return w.color2&&re.value[1]<0?w.color2:k},decal:{symbol:w.pattern?w.pattern:"none"}},barCategoryGap:w.barCategoryGap?w.barCategoryGap:He[w.yAxisIndex].inverse?"0%":"20%",barGap:w.barGap?w.barGap:"0%",data:H?K:w.data,zlevel:9,z:9},w.barWidth&&(R.barWidth=w.barWidth,w.barGap?R.barGap=w.barGap:R.barGap="20%"),w.barMaxWidth&&(R.barMaxWidth=w.barMaxWidth,w.barGap?R.barGap=w.barGap:R.barGap="20%");else if(w.type=="line"){let re="rgba(0, 0, 0, 0)";n.chartOption.isFace&&(n.chartOption.faceNames?n.chartOption.faceNames.includes(w.name)&&(i[w.name]?re=i[w.name].color:re=w.color):i[w.name]?re=i[w.name].color:re=w.color);let k="",ce=!1;if(w.showSymbol||((se=i[w.name])==null?void 0:se.icon)=="dottedLine"?w.symbolSize?k=w.symbolSize:k=5:n.chartOption.isTooltipItem?(k=10,ce=!0):k=0,R={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,opacity:w.showSymbol||((ge=i[w.name])==null?void 0:ge.icon)=="dottedLine"?1:0},lineStyle:w.lineStyle?w.lineStyle:{type:((Ee=i[w.name])==null?void 0:Ee.icon)=="dotted"?"dotted":"solid"},areaStyle:{color:re,opacity:.5},smooth:w.smooth!=null?w.smooth:!1,showSymbol:!0,symbol:w.symbol?w.symbol:"circle",connectNulls:!0,symbolSize:k,data:H?K:w.data,silent:G?w.openBarDrag!==!0:!1,triggerLineEvent:ce,zlevel:9,z:9},w.isMaxMinShow&&w.data.length>0){let z=w.data.filter(Ce=>!Ce[2]).filter(Ce=>Ce[1]),W=z.reduce((Ce,Ke)=>parseFloat(Ke[1])>parseFloat(Ce[1])?Ke:Ce,z[0]),Qe=W?W[0]:"",ne=W?W[1]:"",pe;N.forEach((Ce,Ke)=>{xe(Ce).isValid()&&Ce==Qe&&(Ce.markPointOffset||(Ke>=N.length/5*4?pe=[-200,0]:Ke>=N.length/5*3?pe=[-150,0]:Ke>=N.length/5*2?pe=[-100,0]:Ke>=N.length/5*1?pe=[-50,0]:Ke>=0&&(pe=[0,0])))}),R.markPoint={symbol:"pin",symbolSize:20,label:{show:w.isMarkPointLabelShow!==!1,position:"top",align:"left",fontSize:16,backgroundColor:w.backgroundColor?w.backgroundColor:i[w.name]?i[w.name].color:w.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:w.markPointColor?w.markPointColor:"#fff",formatter:Ce=>{let Ke="";if(Ce.data&&Ce.data.coord&&Ce.data.coord[0]){let Ar=w.tmType?w.tmType:"YYYY-MM-DD HH:mm";Ke=xe(Ce.data.coord[0]).format(Ar)}let $e="",BA="";if(Ce.name=="Max")return $e=w.maxText?w.maxText:"最大值",w.unit.includes("m³")?BA=Ce.value?ra(Ce.value):"--":w.unit.includes("mm")?BA=Ce.value?Number(Ce.value).toFixed(1):"--":w.unit.includes("m")?BA=Ce.value?Number(Ce.value).toFixed(2):"--":BA=Ce.value,w.tmText?`${$e}: {a0|${BA}} ${w.unit}
65
+ }`,L4=function(A){M4(A,"."+Cp+T4+U1+`
66
+ .`+_p+D4+U1)},M4=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},I1=(function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A})(),H4=(function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(xp(e)||P4(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return Nt(this,void 0,void 0,function(){var t,r,n,i,a=this;return Ut(this,function(o){switch(o.label){case 0:return t=I1.isSameOrigin(e),r=!Qp(e)&&this._options.useCORS===!0&&_t.SUPPORT_CORS_IMAGES&&!t,n=!Qp(e)&&!t&&!xp(e)&&typeof this._options.proxy=="string"&&_t.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Qp(e)&&!xp(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(s,l){var u=new Image;u.onload=function(){return s(u)},u.onerror=l,(k4(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return s(u)},500),a._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,a){var o=_t.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(s.status===200)if(o==="text")i(s.response);else{var f=new FileReader;f.addEventListener("load",function(){return i(f.result)},!1),f.addEventListener("error",function(c){return a(c)},!1),f.readAsDataURL(s.response)}else a("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&s instanceof XMLHttpRequest&&(s.responseType=o),t._options.imageTimeout){var u=t._options.imageTimeout;s.timeout=u,s.ontimeout=function(){return a("Timed out ("+u+"ms) proxying "+n)}}s.send()})},A})(),O4=/^data:image\/svg\+xml/i,R4=/^data:image\/.*;base64,/i,N4=/^data:image\/.*/i,P4=function(A){return _t.SUPPORT_SVG_DRAWING||!V4(A)},Qp=function(A){return N4.test(A)},k4=function(A){return R4.test(A)},xp=function(A){return A.substr(0,4)==="blob"},V4=function(A){return A.substr(-3).toLowerCase()==="svg"||O4.test(A)},j=(function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A})(),ca=function(A,e,t){return new j(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},df=(function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=ca(this.start,this.startControl,e),n=ca(this.startControl,this.endControl,e),i=ca(this.endControl,this.end,e),a=ca(r,n,e),o=ca(n,i,e),s=ca(a,o,e);return t?new A(this.start,r,a,s):new A(s,o,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A})(),pA=function(A){return A.type===1},K4=(function(){function A(e){var t=e.styles,r=e.bounds,n=Go(t.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],o=Go(t.borderTopRightRadius,r.width,r.height),s=o[0],l=o[1],u=Go(t.borderBottomRightRadius,r.width,r.height),f=u[0],c=u[1],h=Go(t.borderBottomLeftRadius,r.width,r.height),v=h[0],d=h[1],g=[];g.push((i+s)/r.width),g.push((v+f)/r.width),g.push((a+d)/r.height),g.push((l+c)/r.height);var p=Math.max.apply(Math,g);p>1&&(i/=p,a/=p,s/=p,l/=p,f/=p,c/=p,v/=p,d/=p);var B=r.width-s,m=r.height-c,y=r.width-f,_=r.height-d,C=t.borderTopWidth,Q=t.borderRightWidth,x=t.borderBottomWidth,F=t.borderLeftWidth,S=Je(t.paddingTop,e.bounds.width),E=Je(t.paddingRight,e.bounds.width),I=Je(t.paddingBottom,e.bounds.width),U=Je(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?je(r.left+F/3,r.top+C/3,i-F/3,a-C/3,Ve.TOP_LEFT):new j(r.left+F/3,r.top+C/3),this.topRightBorderDoubleOuterBox=i>0||a>0?je(r.left+B,r.top+C/3,s-Q/3,l-C/3,Ve.TOP_RIGHT):new j(r.left+r.width-Q/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=f>0||c>0?je(r.left+y,r.top+m,f-Q/3,c-x/3,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q/3,r.top+r.height-x/3),this.bottomLeftBorderDoubleOuterBox=v>0||d>0?je(r.left+F/3,r.top+_,v-F/3,d-x/3,Ve.BOTTOM_LEFT):new j(r.left+F/3,r.top+r.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?je(r.left+F*2/3,r.top+C*2/3,i-F*2/3,a-C*2/3,Ve.TOP_LEFT):new j(r.left+F*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=i>0||a>0?je(r.left+B,r.top+C*2/3,s-Q*2/3,l-C*2/3,Ve.TOP_RIGHT):new j(r.left+r.width-Q*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=f>0||c>0?je(r.left+y,r.top+m,f-Q*2/3,c-x*2/3,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q*2/3,r.top+r.height-x*2/3),this.bottomLeftBorderDoubleInnerBox=v>0||d>0?je(r.left+F*2/3,r.top+_,v-F*2/3,d-x*2/3,Ve.BOTTOM_LEFT):new j(r.left+F*2/3,r.top+r.height-x*2/3),this.topLeftBorderStroke=i>0||a>0?je(r.left+F/2,r.top+C/2,i-F/2,a-C/2,Ve.TOP_LEFT):new j(r.left+F/2,r.top+C/2),this.topRightBorderStroke=i>0||a>0?je(r.left+B,r.top+C/2,s-Q/2,l-C/2,Ve.TOP_RIGHT):new j(r.left+r.width-Q/2,r.top+C/2),this.bottomRightBorderStroke=f>0||c>0?je(r.left+y,r.top+m,f-Q/2,c-x/2,Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q/2,r.top+r.height-x/2),this.bottomLeftBorderStroke=v>0||d>0?je(r.left+F/2,r.top+_,v-F/2,d-x/2,Ve.BOTTOM_LEFT):new j(r.left+F/2,r.top+r.height-x/2),this.topLeftBorderBox=i>0||a>0?je(r.left,r.top,i,a,Ve.TOP_LEFT):new j(r.left,r.top),this.topRightBorderBox=s>0||l>0?je(r.left+B,r.top,s,l,Ve.TOP_RIGHT):new j(r.left+r.width,r.top),this.bottomRightBorderBox=f>0||c>0?je(r.left+y,r.top+m,f,c,Ve.BOTTOM_RIGHT):new j(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=v>0||d>0?je(r.left,r.top+_,v,d,Ve.BOTTOM_LEFT):new j(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?je(r.left+F,r.top+C,Math.max(0,i-F),Math.max(0,a-C),Ve.TOP_LEFT):new j(r.left+F,r.top+C),this.topRightPaddingBox=s>0||l>0?je(r.left+Math.min(B,r.width-Q),r.top+C,B>r.width+Q?0:Math.max(0,s-Q),Math.max(0,l-C),Ve.TOP_RIGHT):new j(r.left+r.width-Q,r.top+C),this.bottomRightPaddingBox=f>0||c>0?je(r.left+Math.min(y,r.width-F),r.top+Math.min(m,r.height-x),Math.max(0,f-Q),Math.max(0,c-x),Ve.BOTTOM_RIGHT):new j(r.left+r.width-Q,r.top+r.height-x),this.bottomLeftPaddingBox=v>0||d>0?je(r.left+F,r.top+Math.min(_,r.height-x),Math.max(0,v-F),Math.max(0,d-x),Ve.BOTTOM_LEFT):new j(r.left+F,r.top+r.height-x),this.topLeftContentBox=i>0||a>0?je(r.left+F+U,r.top+C+S,Math.max(0,i-(F+U)),Math.max(0,a-(C+S)),Ve.TOP_LEFT):new j(r.left+F+U,r.top+C+S),this.topRightContentBox=s>0||l>0?je(r.left+Math.min(B,r.width+F+U),r.top+C+S,B>r.width+F+U?0:s-F+U,l-(C+S),Ve.TOP_RIGHT):new j(r.left+r.width-(Q+E),r.top+C+S),this.bottomRightContentBox=f>0||c>0?je(r.left+Math.min(y,r.width-(F+U)),r.top+Math.min(m,r.height+C+S),Math.max(0,f-(Q+E)),c-(x+I),Ve.BOTTOM_RIGHT):new j(r.left+r.width-(Q+E),r.top+r.height-(x+I)),this.bottomLeftContentBox=v>0||d>0?je(r.left+F+U,r.top+_,Math.max(0,v-(F+U)),d-(x+I),Ve.BOTTOM_LEFT):new j(r.left+F+U,r.top+r.height-(x+I))}return A})(),Ve;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ve||(Ve={}));var je=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),a=t*i,o=r*i,s=A+t,l=e+r;switch(n){case Ve.TOP_LEFT:return new df(new j(A,l),new j(A,l-o),new j(s-a,e),new j(s,e));case Ve.TOP_RIGHT:return new df(new j(A,e),new j(A+a,e),new j(s,l-o),new j(s,l));case Ve.BOTTOM_RIGHT:return new df(new j(s,e),new j(s,e+o),new j(A+a,l),new j(A,l));case Ve.BOTTOM_LEFT:default:return new df(new j(s,l),new j(s-a,l),new j(A,e+o),new j(A,e))}},pf=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},G4=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},gf=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},z4=(function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A})(),Bf=(function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A})(),W4=(function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A})(),Y4=function(A){return A.type===0},T1=function(A){return A.type===1},X4=function(A){return A.type===2},D1=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},Z4=function(A,e,t,r,n){return A.map(function(i,a){switch(a){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},L1=(function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A})(),M1=(function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new K4(this.container),this.container.styles.opacity<1&&this.effects.push(new W4(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new z4(r,n,i))}if(this.container.styles.overflowX!==0){var a=pf(this.curves),o=gf(this.curves);D1(a,o)?this.effects.push(new Bf(a,6)):(this.effects.push(new Bf(a,2)),this.effects.push(new Bf(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(s){return!T1(s)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=pf(r.curves),o=gf(r.curves);D1(a,o)||n.unshift(new Bf(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(s){return vt(s.target,e)})},A})(),Fp=function(A,e,t,r){A.container.elements.forEach(function(n){var i=vt(n.flags,4),a=vt(n.flags,2),o=new M1(n,A);vt(n.styles.display,2048)&&r.push(o);var s=vt(n.flags,8)?[]:r;if(i||a){var l=i||n.styles.isPositioned()?t:e,u=new L1(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var f=n.styles.zIndex.order;if(f<0){var c=0;l.negativeZIndex.some(function(v,d){return f>v.element.container.styles.zIndex.order?(c=d,!1):c>0}),l.negativeZIndex.splice(c,0,u)}else if(f>0){var h=0;l.positiveZIndex.some(function(v,d){return f>=v.element.container.styles.zIndex.order?(h=d+1,!1):h>0}),l.positiveZIndex.splice(h,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Fp(o,u,i?u:t,s)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Fp(o,e,t,s);vt(n.flags,8)&&H1(n,s)})},H1=function(A,e){for(var t=A instanceof dp?A.start:1,r=A instanceof dp?A.reversed:!1,n=0;n<e.length;n++){var i=e[n];i.container instanceof o1&&typeof i.container.value=="number"&&i.container.value!==0&&(t=i.container.value),i.listValue=Jo(t,i.container.styles.listStyleType,!0),t+=r?-1:1}},J4=function(A){var e=new M1(A,null),t=new L1(e),r=[];return Fp(e,t,t,r),H1(e.container,r),t},O1=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},q4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return gA(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return gA(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return gA(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},$4=function(A,e){switch(e){case 0:return gA(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return gA(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return gA(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return gA(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},j4=function(A,e){switch(e){case 0:return mf(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return mf(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return mf(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return mf(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},mf=function(A,e){var t=[];return pA(A)?t.push(A.subdivide(.5,!1)):t.push(A),pA(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},gA=function(A,e,t,r){var n=[];return pA(A)?n.push(A.subdivide(.5,!1)):n.push(A),pA(t)?n.push(t.subdivide(.5,!0)):n.push(t),pA(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),pA(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},R1=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},yf=function(A){var e=A.styles,t=A.bounds,r=Je(e.paddingLeft,t.width),n=Je(e.paddingRight,t.width),i=Je(e.paddingTop,t.width),a=Je(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+i+a))},ek=function(A,e){return A===0?e.bounds:A===2?yf(e):R1(e)},tk=function(A,e){return A===0?e.bounds:A===2?yf(e):R1(e)},Ep=function(A,e,t){var r=ek(va(A.styles.backgroundOrigin,e),A),n=tk(va(A.styles.backgroundClip,e),A),i=Ak(va(A.styles.backgroundSize,e),t,r),a=i[0],o=i[1],s=Go(va(A.styles.backgroundPosition,e),r.width-a,r.height-o),l=rk(va(A.styles.backgroundRepeat,e),s,i,r,n),u=Math.round(r.left+s[0]),f=Math.round(r.top+s[1]);return[l,u,f,a,o]},ha=function(A){return We(A)&&A.value===sa.AUTO},wf=function(A){return typeof A=="number"},Ak=function(A,e,t){var r=e[0],n=e[1],i=e[2],a=A[0],o=A[1];if(!a)return[0,0];if(ft(a)&&o&&ft(o))return[Je(a,t.width),Je(o,t.height)];var s=wf(i);if(We(a)&&(a.value===sa.CONTAIN||a.value===sa.COVER)){if(wf(i)){var l=t.width/t.height;return l<i!=(a.value===sa.COVER)?[t.width,t.width/i]:[t.height*i,t.height]}return[t.width,t.height]}var u=wf(r),f=wf(n),c=u||f;if(ha(a)&&(!o||ha(o))){if(u&&f)return[r,n];if(!s&&!c)return[t.width,t.height];if(c&&s){var h=u?r:n*i,v=f?n:r/i;return[h,v]}var d=u?r:t.width,g=f?n:t.height;return[d,g]}if(s){var p=0,B=0;return ft(a)?p=Je(a,t.width):ft(o)&&(B=Je(o,t.height)),ha(a)?p=B*i:(!o||ha(o))&&(B=p/i),[p,B]}var m=null,y=null;if(ft(a)?m=Je(a,t.width):o&&ft(o)&&(y=Je(o,t.height)),m!==null&&(!o||ha(o))&&(y=u&&f?m/r*n:t.height),y!==null&&ha(a)&&(m=u&&f?y/n*r:t.width),m!==null&&y!==null)return[m,y];throw new Error("Unable to calculate background-size for element")},va=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},rk=function(A,e,t,r,n){var i=e[0],a=e[1],o=t[0],s=t[1];switch(A){case 2:return[new j(Math.round(r.left),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(r.top+a)),new j(Math.round(r.left+r.width),Math.round(s+r.top+a)),new j(Math.round(r.left),Math.round(s+r.top+a))];case 3:return[new j(Math.round(r.left+i),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.height+r.top)),new j(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new j(Math.round(r.left+i),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a)),new j(Math.round(r.left+i+o),Math.round(r.top+a+s)),new j(Math.round(r.left+i),Math.round(r.top+a+s))];default:return[new j(Math.round(n.left),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.height+n.top)),new j(Math.round(n.left),Math.round(n.height+n.top))]}},nk="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",N1="Hidden Text",ik=(function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=nk,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(N1)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(N1)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:o,middle:s}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A})(),P1=(function(){function A(e,t){this.context=e,this.options=t}return A})(),ak=1e4,ok=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new ik(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),X4(t)&&(this.ctx.globalAlpha=t.opacity),Y4(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),T1(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return Nt(this,void 0,void 0,function(){var r;return Ut(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return Nt(this,void 0,void 0,function(){return Ut(this,function(r){switch(r.label){case 0:if(vt(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var a=vp(t.text);a.reduce(function(o,s){return i.ctx.fillText(s,o,t.bounds.top+n),o+i.ctx.measureText(s).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),n=ck(t.fontFamily).join(", "),i=Ko(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return Nt(this,void 0,void 0,function(){var n,i,a,o,s,l,u,f,c=this;return Ut(this,function(h){return n=this.createFontStyle(r),i=n[0],a=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),l=s.baseline,u=s.middle,f=r.paintOrder,t.textBounds.forEach(function(v){f.forEach(function(d){switch(d){case 0:c.ctx.fillStyle=yt(r.color),c.renderTextWithLetterSpacing(v,r.letterSpacing,l);var g=r.textShadow;g.length&&v.text.trim().length&&(g.slice(0).reverse().forEach(function(p){c.ctx.shadowColor=yt(p.color),c.ctx.shadowOffsetX=p.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=p.offsetY.number*c.options.scale,c.ctx.shadowBlur=p.blur.number,c.renderTextWithLetterSpacing(v,r.letterSpacing,l)}),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),r.textDecorationLine.length&&(c.ctx.fillStyle=yt(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top+l),v.bounds.width,1);break;case 2:c.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top),v.bounds.width,1);break;case 3:c.ctx.fillRect(v.bounds.left,Math.ceil(v.bounds.top+u),v.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&v.text.trim().length&&(c.ctx.strokeStyle=yt(r.webkitTextStrokeColor),c.ctx.lineWidth=r.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(v.text,v.bounds.left,v.bounds.top+l)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=yf(t),a=gf(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s,B,B,l,u,f,c,y,h,v,_,d,g,p,B,m,y,_;return Ut(this,function(C){switch(C.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,a=0,o=r.textNodes,C.label=1;case 1:return a<o.length?(s=o[a],[4,this.renderTextNode(s,i)]):[3,4];case 2:C.sent(),C.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof n1))return[3,8];C.label=5;case 5:return C.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,8];case 7:return C.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof i1&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof a1))return[3,12];C.label=9;case 9:return C.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return B=C.sent(),this.renderReplacedElement(r,n,B),[3,12];case 11:return C.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof f1&&r.tree?(l=new e(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,l.render(r.tree)]):[3,14];case 13:u=C.sent(),r.width&&r.height&&this.ctx.drawImage(u,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),C.label=14;case 14:if(r instanceof pp&&(f=Math.min(r.bounds.width,r.bounds.height),r.type===lf?r.checked&&(this.ctx.save(),this.path([new j(r.bounds.left+f*.39363,r.bounds.top+f*.79),new j(r.bounds.left+f*.16,r.bounds.top+f*.5549),new j(r.bounds.left+f*.27347,r.bounds.top+f*.44071),new j(r.bounds.left+f*.39694,r.bounds.top+f*.5649),new j(r.bounds.left+f*.72983,r.bounds.top+f*.23),new j(r.bounds.left+f*.84,r.bounds.top+f*.34085),new j(r.bounds.left+f*.39363,r.bounds.top+f*.79)]),this.ctx.fillStyle=yt(s1),this.ctx.fill(),this.ctx.restore()):r.type===uf&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+f/2,r.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=yt(s1),this.ctx.fill(),this.ctx.restore())),sk(r)&&r.value.length){switch(c=this.createFontStyle(i),y=c[0],h=c[1],v=this.fontMetrics.getMetrics(y,h).baseline,this.ctx.font=y,this.ctx.fillStyle=yt(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=uk(r.styles.textAlign),_=yf(r),d=0,r.styles.textAlign){case 1:d+=_.width/2;break;case 2:d+=_.width;break}g=_.add(d,0,0,-_.height/2+1),this.ctx.save(),this.path([new j(_.left,_.top),new j(_.left+_.width,_.top),new j(_.left+_.width,_.top+_.height),new j(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Xo(r.value,g),i.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!vt(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(p=r.styles.listStyleImage,p.type!==0)return[3,18];B=void 0,m=p.url,C.label=15;case 15:return C.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return B=C.sent(),this.ctx.drawImage(B,r.bounds.left-(B.width+10),r.bounds.top),[3,18];case 17:return C.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(y=this.createFontStyle(i)[0],this.ctx.font=y,this.ctx.fillStyle=yt(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new gr(r.bounds.left,r.bounds.top+Je(r.styles.paddingTop,r.bounds.width),r.bounds.width,NQ(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Xo(t.listValue,_),i.letterSpacing,NQ(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),C.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(t){return Nt(this,void 0,void 0,function(){var r,n,p,i,a,p,o,s,p,l,u,p,f,c,p,h,v,p,d,g,p;return Ut(this,function(B){switch(B.label){case 0:if(vt(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:B.sent(),r=0,n=t.negativeZIndex,B.label=2;case 2:return r<n.length?(p=n[r],[4,this.renderStack(p)]):[3,5];case 3:B.sent(),B.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:B.sent(),i=0,a=t.nonInlineLevel,B.label=7;case 7:return i<a.length?(p=a[i],[4,this.renderNode(p)]):[3,10];case 8:B.sent(),B.label=9;case 9:return i++,[3,7];case 10:o=0,s=t.nonPositionedFloats,B.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:B.sent(),B.label=13;case 13:return o++,[3,11];case 14:l=0,u=t.nonPositionedInlineLevel,B.label=15;case 15:return l<u.length?(p=u[l],[4,this.renderStack(p)]):[3,18];case 16:B.sent(),B.label=17;case 17:return l++,[3,15];case 18:f=0,c=t.inlineLevel,B.label=19;case 19:return f<c.length?(p=c[f],[4,this.renderNode(p)]):[3,22];case 20:B.sent(),B.label=21;case 21:return f++,[3,19];case 22:h=0,v=t.zeroOrAutoZIndexOrTransformedOrOpacity,B.label=23;case 23:return h<v.length?(p=v[h],[4,this.renderStack(p)]):[3,26];case 24:B.sent(),B.label=25;case 25:return h++,[3,23];case 26:d=0,g=t.positiveZIndex,B.label=27;case 27:return d<g.length?(p=g[d],[4,this.renderStack(p)]):[3,30];case 28:B.sent(),B.label=29;case 29:return d++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},e.prototype.formatPath=function(t){var r=this;t.forEach(function(n,i){var a=pA(n)?n.start:n;i===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),pA(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},e.prototype.renderRepeat=function(t,r,n,i){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},e.prototype.resizeImage=function(t,r,n){var i;if(t.width===r&&t.height===n)return t;var a=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,o=a.createElement("canvas");o.width=Math.max(1,r),o.height=Math.max(1,n);var s=o.getContext("2d");return s.drawImage(t,0,0,t.width,t.height,0,0,r,n),o},e.prototype.renderBackgroundImage=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s;return Ut(this,function(l){switch(l.label){case 0:r=t.styles.backgroundImage.length-1,n=function(u){var f,c,h,S,P,Z,U,T,x,v,S,P,Z,U,T,d,g,p,B,m,y,_,C,Q,x,F,S,E,I,U,T,L,P,Z,V,X,ee,te,D,M,H,K;return Ut(this,function(N){switch(N.label){case 0:if(u.type!==0)return[3,5];f=void 0,c=u.url,N.label=1;case 1:return N.trys.push([1,3,,4]),[4,i.context.cache.match(c)];case 2:return f=N.sent(),[3,4];case 3:return N.sent(),i.context.logger.error("Error loading background-image "+c),[3,4];case 4:return f&&(h=Ep(t,r,[f.width,f.height,f.width/f.height]),S=h[0],P=h[1],Z=h[2],U=h[3],T=h[4],x=i.ctx.createPattern(i.resizeImage(f,U,T),"repeat"),i.renderRepeat(S,x,P,Z)),[3,6];case 5:YR(u)?(v=Ep(t,r,[null,null,null]),S=v[0],P=v[1],Z=v[2],U=v[3],T=v[4],d=VR(u.angle,U,T),g=d[0],p=d[1],B=d[2],m=d[3],y=d[4],_=document.createElement("canvas"),_.width=U,_.height=T,C=_.getContext("2d"),Q=C.createLinearGradient(p,m,B,y),bQ(u.stops,g).forEach(function(ue){return Q.addColorStop(ue.stop,yt(ue.color))}),C.fillStyle=Q,C.fillRect(0,0,U,T),U>0&&T>0&&(x=i.ctx.createPattern(_,"repeat"),i.renderRepeat(S,x,P,Z))):XR(u)&&(F=Ep(t,r,[null,null,null]),S=F[0],E=F[1],I=F[2],U=F[3],T=F[4],L=u.position.length===0?[jd]:u.position,P=Je(L[0],U),Z=Je(L[L.length-1],T),V=KR(u,P,Z,U,T),X=V[0],ee=V[1],X>0&&ee>0&&(te=i.ctx.createRadialGradient(E+P,I+Z,0,E+P,I+Z,X),bQ(u.stops,X*2).forEach(function(ue){return te.addColorStop(ue.stop,yt(ue.color))}),i.path(S),i.ctx.fillStyle=te,X!==ee?(D=t.bounds.left+.5*t.bounds.width,M=t.bounds.top+.5*t.bounds.height,H=ee/X,K=1/H,i.ctx.save(),i.ctx.translate(D,M),i.ctx.transform(1,0,0,H,0,0),i.ctx.translate(-D,-M),i.ctx.fillRect(E,K*(I-M)+M,U,T*K),i.ctx.restore()):i.ctx.fill())),N.label=6;case 6:return r--,[2]}})},i=this,a=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<o.length?(s=o[a],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(t,r,n){return Nt(this,void 0,void 0,function(){return Ut(this,function(i){return this.path(O1(n,r)),this.ctx.fillStyle=yt(t),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(t,r,n,i){return Nt(this,void 0,void 0,function(){var a,o;return Ut(this,function(s){switch(s.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,i)]:[3,2];case 1:return s.sent(),[2];case 2:return a=q4(i,n),this.path(a),this.ctx.fillStyle=yt(t),this.ctx.fill(),o=$4(i,n),this.path(o),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(t){return Nt(this,void 0,void 0,function(){var r,n,i,a,o,s,l,u,f=this;return Ut(this,function(c){switch(c.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!en(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=lk(va(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),en(r.backgroundColor)||(this.ctx.fillStyle=yt(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(h){f.ctx.save();var v=pf(t.curves),d=h.inset?0:ak,g=Z4(v,-d+(h.inset?1:-1)*h.spread.number,(h.inset?1:-1)*h.spread.number,h.spread.number*(h.inset?-2:2),h.spread.number*(h.inset?-2:2));h.inset?(f.path(v),f.ctx.clip(),f.mask(g)):(f.mask(v),f.ctx.clip(),f.path(g)),f.ctx.shadowOffsetX=h.offsetX.number+d,f.ctx.shadowOffsetY=h.offsetY.number,f.ctx.shadowColor=yt(h.color),f.ctx.shadowBlur=h.blur.number,f.ctx.fillStyle=h.inset?yt(h.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),c.label=2;case 2:o=0,s=0,l=i,c.label=3;case 3:return s<l.length?(u=l[s],u.style!==0&&!en(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return c.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,3)];case 6:return c.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,t.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,t.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,a){return Nt(this,void 0,void 0,function(){var o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,C,_,C;return Ut(this,function(Q){return this.ctx.save(),o=j4(i,n),s=O1(i,n),a===2&&(this.path(s),this.ctx.clip()),pA(s[0])?(l=s[0].start.x,u=s[0].start.y):(l=s[0].x,u=s[0].y),pA(s[1])?(f=s[1].end.x,c=s[1].end.y):(f=s[1].x,c=s[1].y),n===0||n===2?h=Math.abs(l-f):h=Math.abs(u-c),this.ctx.beginPath(),a===3?this.formatPath(o):this.formatPath(s.slice(0,2)),v=r<3?r*3:r*2,d=r<3?r*2:r,a===3&&(v=r,d=r),g=!0,h<=v*2?g=!1:h<=v*2+d?(p=h/(2*v+d),v*=p,d*=p):(B=Math.floor((h+d)/(v+d)),m=(h-B*v)/(B-1),y=(h-(B+1)*v)/B,d=y<=0||Math.abs(d-m)<Math.abs(d-y)?m:y),g&&(a===3?this.ctx.setLineDash([0,v+d]):this.ctx.setLineDash([v,d])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=yt(t),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(pA(s[0])&&(_=s[3],C=s[0],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke()),pA(s[1])&&(_=s[1],C=s[2],this.ctx.beginPath(),this.formatPath([new j(_.end.x,_.end.y),new j(C.start.x,C.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(t){return Nt(this,void 0,void 0,function(){var r;return Ut(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=yt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=J4(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},e})(P1),sk=function(A){return A instanceof u1||A instanceof l1?!0:A instanceof pp&&A.type!==uf&&A.type!==lf},lk=function(A,e){switch(A){case 0:return pf(e);case 2:return G4(e);case 1:default:return gf(e)}},uk=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},fk=["-apple-system","system-ui"],ck=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(e){return fk.indexOf(e)===-1}):A},hk=(function(A){IA(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return e.prototype.render=function(t){return Nt(this,void 0,void 0,function(){var r,n;return Ut(this,function(i){switch(i.label){case 0:return r=hp(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,vk(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=yt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e})(P1),vk=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},dk=(function(){function A(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return A.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,bu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,bu([this.id,this.getTime()+"ms"],e))},A.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,bu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,bu([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},A.instances={},A})(),pk=(function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new dk({id:this.instanceName,enabled:e.logging}),this.cache=(r=e.cache)!==null&&r!==void 0?r:new H4(this,e)}return A.instanceCount=1,A})(),k1=function(A,e){return e===void 0&&(e={}),gk(A,e)};typeof window<"u"&&I1.setContext(window);var gk=function(A,e){return Nt(void 0,void 0,void 0,function(){var t,r,n,i,a,o,s,l,u,f,c,h,v,d,g,p,B,m,y,_,Q,C,Q,x,F,S,E,I,U,T,L,P,Z,V,X,ee,te,D,M,H;return Ut(this,function(K){switch(K.label){case 0:if(!A||typeof A!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=A.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(x=e.allowTaint)!==null&&x!==void 0?x:!1,imageTimeout:(F=e.imageTimeout)!==null&&F!==void 0?F:15e3,proxy:e.proxy,useCORS:(S=e.useCORS)!==null&&S!==void 0?S:!1},i=Td({logging:(E=e.logging)!==null&&E!==void 0?E:!0,cache:e.cache},n),a={windowWidth:(I=e.windowWidth)!==null&&I!==void 0?I:r.innerWidth,windowHeight:(U=e.windowHeight)!==null&&U!==void 0?U:r.innerHeight,scrollX:(T=e.scrollX)!==null&&T!==void 0?T:r.pageXOffset,scrollY:(L=e.scrollY)!==null&&L!==void 0?L:r.pageYOffset},o=new gr(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),s=new pk(i,o),l=(P=e.foreignObjectRendering)!==null&&P!==void 0?P:!1,u={allowTaint:(Z=e.allowTaint)!==null&&Z!==void 0?Z:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},s.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),f=new S1(s,A,u),c=f.clonedReferenceElement,c?[4,f.toIFrame(t,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return h=K.sent(),v=Bp(c)||m4(c)?Z2(c.ownerDocument):Su(s,c),d=v.width,g=v.height,p=v.left,B=v.top,m=Bk(s,c,e.backgroundColor),y={canvas:e.canvas,backgroundColor:m,scale:(X=(V=e.scale)!==null&&V!==void 0?V:r.devicePixelRatio)!==null&&X!==void 0?X:1,x:((ee=e.x)!==null&&ee!==void 0?ee:0)+p,y:((te=e.y)!==null&&te!==void 0?te:0)+B,width:(D=e.width)!==null&&D!==void 0?D:Math.ceil(d),height:(M=e.height)!==null&&M!==void 0?M:Math.ceil(g)},l?(s.logger.debug("Document cloned, using foreign object rendering"),Q=new hk(s,y),[4,Q.render(c)]):[3,3];case 2:return _=K.sent(),[3,5];case 3:return s.logger.debug("Document cloned, element located at "+p+","+B+" with size "+d+"x"+g+" using computed rendering"),s.logger.debug("Starting DOM parsing"),C=h1(s,c),m===C.styles.backgroundColor&&(C.styles.backgroundColor=mr.TRANSPARENT),s.logger.debug("Starting renderer for element at "+y.x+","+y.y+" with size "+y.width+"x"+y.height),Q=new ok(s,y),[4,Q.render(C)];case 4:_=K.sent(),K.label=5;case 5:return(!((H=e.removeContainer)!==null&&H!==void 0)||H)&&(S1.destroy(h)||s.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),s.logger.debug("Finished rendering"),[2,_]}})})},Bk=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?zo(A,getComputedStyle(r.documentElement).backgroundColor):mr.TRANSPARENT,i=r.body?zo(A,getComputedStyle(r.body).backgroundColor):mr.TRANSPARENT,a=typeof t=="string"?zo(A,t):t===null?mr.TRANSPARENT:4294967295;return e===r.documentElement?en(n)?en(i)?a:i:n:a};const mk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAk1BMVEUAAAAyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzM3NzcyMjIzMzMyMjIzMzMzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMzMzMzMzMzMzMyMjIzMzMyMjIzMzM0NDQzMzMzMzMzMzMzMzMzMzMzMzM0NDQzMzMzMzMzMzMyMjI6OjozMzMnMcQ8AAAAMHRSTlMAgprMx7VSMqV6CWbkjtXRv5RiD/hEOe91cSng21w/Lq6piBwX6mtXTUkg9J68JAbdlNjNAAAFP0lEQVR42u3d13biMBAG4N/gDqabYnrokIR5/6fbmrMe7LCAJWFx9N3tDRtF1sxopBgYhmEYhmEYhmEYhmEYhmEYhmEYhmEY9wvn8X7X2Y6CYLTt7PbxPIRuju6w0qpTRr1VGbor6OHYeZ/QVY32rvSDiaMq3cSOYpTWcWjTHezhEWXk+j26U893UTLrYZMeUq2hRLxoQz/pPpT9kn7RfSifFSrOfv5aGW1ICN/DM8UfJErP6uJp3uiaU9OJglFt6saxO62Ngshpnq4m/CmeY/39Iu99DPtr5Fj3R8736eYNz9Cvflt9uCGuCA9vNuVzEig3HVCeSTTDDWbRhPKMXShmUR7fPeNGZ9enPBZUyl/mFQ938Sq5nwKFoivDKDwUB8o4lLH08BBvSRlNKDLOVks7PKyT/bgNlOhlMp8VooBVO5uHoECmuHI8FOQ2MlEc0jVkxMuVn8mqkMwmrrGHEKMecUtI5RDnryDIrKlyJG3iIohztIlrQ5qO3HLig7gOJJlvJJdFPjGbOeRwJDxXnJVXrGj5v7QVlMJ7YlqQwidmD/FsXl2FkOL8ITsvBryESCDJJ986BhBsPpA95fmP8GAORvCzO4REQ147QKgdpb1DqndK20GkKluBXUjVtVlYgUA1SoshWUxpU1kTUoF0rCfxIWlCBgmkS1iMPMiZkAAKBFJ2JjUVKZ0L2e+uL6M4qUGJmoQtVv+OYCgnvtS74vu8NShSE79XbLIJUaYqeu8Tq5+Q7JR4KC7iD6sy3brgreJEbVLPT+8NwTHrAIUOlDJDUSN2cKFUU2g9sXje+Z4lNG4NHikVxGfik8gPm0CxscBFErCYpZgv8LFusd2zYh2BDcF0VlpDsVU6F6OQ8FnBNxuAQxQxv7sJJG2RzFGES/+MoBjPJC7u5XWsWTen6xdDuU6R7uZbj4jGs2zhtoZycYHgX2E7gFb2XkWYJFDlyOLvg73wFX6qZj5oVCdqdKDI40clW/rSW/MiYYGf1gu15ePm4ei/TW1musCA9/e9qqp2Y/bCyOTxeLs4gy+2Q131hdDWw6n9OGA/O+uSddKDhBLLVM+5yAFx+h9vAalP8+3H73B1W5SvfcehhZTUjjt9Noi571JreWYE6A+Iue8iaGnWCItczI3VQkmi1m/bcjxXmTxSaI1lbXFdOTI7Kx2Z2/cFpai1eF8uq9fH/5Sj+mXHE1njFW5Qiv1Ipjv2wMFbOXaIX7q9h9NHSfbsXxJi7qivytZFiZ/+p1yi+lpTem43aM06jWJa2Kcd1JuK6/3OJn/DbgzleFq2RBTSm2iOZ2gIPURce0mIp0jYiZXGhiyFacxmp7r6mvFzdn1F7OaDvi7uoujr4naQvuwXiVlTfoNOXx/8mpi2XH7LVF8Ov/erLbZCFtBW2KSU57+PR8zVeBvaSga8Rastn/UE9Y29AaUNoSuX0lrQVcJ7tQfoyrk4HNNVhdLq5XyV421t65cIvdZl21xTFjG2rinEJ+aka9X7ay/1AvvCo01cBC31m0T0AruQzoA4R78XaOe+026iZcD6XNCl0r80O09tTJc+oR/v73To3nsPTvSb5p3eWpUyxvo9V3nDIHsNvSSjKuVY6JU/vKBF/2h6Vnjlfb9NbXbooXftDczvZV8e5+7qc97fWYsJXbEp+b52uqzTLd4TlNqSblIte8u9Qbc4BWeUm0W3qJS/Jqm8xjAA5zWG8d+lXrX0GAa7GJPReNNo27Gnb9iRNtXIH76m32OVNdX2m8UuzUe+47et7fSg4Xe9GYZhGIZhGIZhGIZhvJIfLCr2GzAyoncAAAAASUVORK5CYII=",yk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAaVBMVEUAAAAQFBgQExcQEhYLFRcQExcQExYPExcQEhcOFBUQEhcQExcPEhcPExcQEhcQExYQERcPExYPEhcQExYQEhcTExMUFBQQExcQExcQExcQFBcPEhcPExcPFBYSEhgcHBwRExcOExgQExdmmIFTAAAAInRSTlMAQL+AFuzVxbEj3KOWdF9OR7qnnmgZDPrkyY5WQzIqCXs2T8mN8gAAAeVJREFUeNrt3dlqwzAQRmFFdpx9X7omaf/3f8iSrSW0FqFy0Micc+2bDxsGI9A4IiIiIqJHNJuMFz5hxWzQiGOs9PU30Yzdk0y0jnSUstI+DtKTlXpRjkJ2KmIgK9mp344vS+rGQLo65V3KOjoXM01kCdIBAgQIECChgAABEg4IECDhgAABEg4IkLZBNrPipul7lpB1pV+95AcpF/qrIjfIVmoHxLcEstajIV6XHgsZqaZ5ZpCqxrF0eUFKnfO3rQqXGaT2CSBAgAABAgQIECBAgAABAgQIEFsQr38HBAgQIECAOF+bLvm6bEFaM9mBAAECBAgQIECAAAECBAgQIECAADlBruUO+Q4IECA/AQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCAQECJBwQIEDCGYQ8XyCdpOncJgKykJ2Gd7wz0xuTri1jIFPZaRoDcUtZaeyiIK4rIx0iIe5VFqoGLhbi5r3ky8Wqj2aubd12JkXC5uX9IzPzgFgLiLWANN1h1w7IvlLvrQWQgY695Q/p69gwf8hQp/KHCAiQU0CAAAkHBAiQcAYhgyskbQ0s+36WnV7i/gTsNGKz/7GhrDRyUb3LSlt3V9bP1rqfLrZypPS9uiaaTVY+Yf3JvHRERERERA/oC7GKf5yH1bdrAAAAAElFTkSuQmCC",wk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAsVBMVEUAAAAEAAAEAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAADAAAEAAAFAAAEAAAFAAAEAAAEAAAEAAAEAAAEAAAEAAADAAAGAAAAAAAAAAAEAAAEAAAEAAAAAAADAAAEAAAFAAAEAAAEAAAEAAADAAADAAAFAAAHAAAFAAAAAAAFAAAEAAAAAAAEAAAFAAADAAADAAAEAAAEAAADAAAEAAAFAAADAAAEAAAAAAADAAADAAAEAADKKhWhAAAAOnRSTlMAQIC/qMxgiXfrmPcyx2s677H74nJVKRQS0LmFCd22LtjUrJ2RNiUgGaNEDXxmW0nz5k6OZFK9Flfau44tfQAAB5tJREFUeNrs29lu2lAUheFlMGAwEAhDCXEgATOEMDQUMqz3f7CqalVtN8DGDLZP5e8J+C8W8jmykUqlUqlUKpVKpVKpVGJYS2c7humm8wf+Uu/AZK0e/3qHqfr+dwo2jORVc/xHHuaZPfOrOgwzyTS4Ux8m+ehynwyMUfZr3O8JZvCqdzxsCwOsbO5k1j/w732r3AkSbfnGIzlIrlGpxqPlkFAvzRxDWSGJVgMqvvtl2BRKSJzx/QMV3Q8AsCgUPSRLXt13Yz7FbxUKVSTIzVDd9/MMfzkU3pAUHX3fuaoHYXybwCfHtbrvmt9HUHDuPxC/cUHdd6+Fr1qB7SBuG3Xfn/Mpdvqk8IE43QyLPOz22cI+hYQcFN8ddd+VhYf9RpQ6iMd2cMvDXn/0cdhb7AfFtr7v+haqaswHxUWXiifnHdB1ahRuECmrpO3bHVo40jCug+JU33d2g+OtKLiISsvW9t0otBHKHYUFotAvfFIxWCOsecQHRU/fd875hvDGlCa4rpm671rpBqepU/BxRROnQkU3j5MtKRQREO2+PzNjnKMRwSVE+f5RfSRc40w+hS6E6PZdqXZwthElD0DE+y76I1xEYIJO1PuuL3Ep1WsdFFu2qz0Szse4nG8uhX5k+3aHM1zWM4UhLuBl06Miu3jBpa0oXWLfr+ojYRnX8Ehheea+m+q+B5mroVDJ7LUZedr523ZphAdL2bc5Rtits+nRLG3sYPmvNE0F/3rR9/3A5HE9BN08aU+29jrLBCojoKqdXJtTIJEhFqQZDymWLABGhJS4X2/jAaaE3HGPx/s+AHNCatzFfd4CMCqky6+yzQlgWkiB/2j4FoBDIXUH8WhnavtDLAY5L4ASYiE2vQO/o0LpA9BC7hCf/IEQh5Klh2QRH+vAbx27/0kIbAoFg0NaFIoGhwTfO1gbHFKgMDA4ZESpY25I8DGlaXBI8L0Dg0PeaxRG5oZgSKFkcMiKwu1pIZ384Kn2/TG77ECIOCR4TlyeEDLNvPKP18wUQrQhcwpv4UPaT8rFbFQhbUqTsCGWcjEbXQjqFDIhQyzlYjbKkDyFRsiQnPL9RJQhaFCYhQpZcIcFjla+aIhPwQ4VUjnzk5Z6+/QQba+dECEj5bJGM6d9coh6UVINEXLPne5xHMsly5cMaVLIhQgZcqchjuJlSfZODdHfOygfH9LlTl0o5KnOOjFEf+/APz7EPufjyO3P9s5tKZUYiKI9owKDIBdHFJWLHEUQlYsoVP//h52qI3U0FWB3JzOUY8169sGl1clOdwIwiOpF3vkbM7nIGxuo3oGM2uCiGRLB9w4uxCIL3sqaBJTNovQXsZefrljkts5bmE10HdALVxGcHIEIGHqVCdPqgBO2g4i9/jyLRSpw5GpjLxOFZETs0NTZI4LLPSRMbM5lEhShyEiOYhE6ctkNaxHzjjQxrXmKlI1fRipiz726BLE30jp9UikdcVEhgpPjRC5C4Zz/Mw9JQLj1Mfvo821s30PEPiK9KERoFG72tras9zA9tUfJtKzyhp5GBDUhqlDEpHcRx+uARFyBezyxp8iluYQCEQ/u0XMBTxEaGOOr1EReGTHUioDxVToij23ew7xxU6hdeYpQx0iOKYn82XM37KUy8d0Q7V26kY7I2e5XTUO3nR0nxzREKp0dd8OeCLKcS0TsuFFKSgQfKe8fSURcF4jY46sUREq8hUZAUlY3TZEIzYzkmLhIELFFu0AaemNLBD9+SFrktssW4cTpvxpoMn9z4iuC23mvpGfaxyJ0ZyTHZEXerazYrJELV8ccqAL2UaIiI+sIdj4iR+IAytrJUS+yKN1KsmKV3Al0F+6KTiLBKXenOCv2KUHwB67oRSoRM8+KKzJotdnknFJmbiRHvciws8lOhb1ZMbqk5MBNiIFaZPV1Yh4Pd2fFWY0SBSdHpcjt958+j2nDQ4cNmgvS4f9sVinSYIPryvasWCAV4YP3iaGtExlb3ZFwW1Yckw6OXsmBpnGCASKwpX0S0FPEBvOhVoQ59D0zlBUiRd7KW5dNzkgvwseXflcMZhOxyDPLGJCLCJ+AhQ41IZZSkTOWUe+5iXAdLBEgOX4IRQospEhqwPxemBwNEZjRMT1nEX2hfKhFniIWckyOIqhQcHIEIsbOjVl4ifBMVyh1NgAiRrQFVMlDRF8oZSBinf3ExN4iPFAUSksjMumymPrKX4TbikJpK0SOWc41uWAluII+OWKRMiu4IRd8NiMsYrfw9WtWLxDBNg1poQyEIiFriFbgjyDnTlgogUwkZhVdMmAfmsJCOZeILFlH6C2iL5RQILIOlSy8RfSFcgVF/GFf+jXCHGVARFQoF1kQERXKaSZEBIVSzoYIvtzZ+i0i1M+EiGANPsuCSJEE/HwRYU4Z/HSRvlNy9KdK6UQUTMSJUp+kExoxISdL5RAxHidHf9Z0gIMVTo7+PNMBjro4OfozppSaDxhOlDs6RDsIJ0d/WpROgw4z5EQp0QFapjg5+lOlQzSxcXL0p0IpjRUw6S7A+kGPM0GyEPmN3jLNV3lknE3kzOLXIW+/MJB5fkN5/CNb34QMrjn9CsIHysnJycnJycnJycnJycnB/AUiHJaNu/P1RgAAAABJRU5ErkJggg==",V1=(A,e)=>{const t=A.__vccOpts||A;for(const[r,n]of e)t[r]=n;return t},Ck={class:"title"},_k={class:"subTitle"},Qk={style:{width:"20px",display:"flex","justify-content":"center"}},xk={class:"mychart"},Fk=["id"],Cf=V1({__name:"HydroGraph",props:{id:{type:String,default(){return W2()}},chartOption:{type:Object,default(){return{}}},legendList:{type:Array,default(){return[]}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"100%"}},backgroundColor:{type:String,default(){return"#fff"}}},setup(A,{expose:e,emit:t}){qA([l2,HH,m2,P2,YL,lM,_L,z2]);const r=R.ref(),n=A;n.chartOption.series||(n.chartOption.series=[]);let i={};const a=t;let o={};R.watch(()=>n.chartOption,()=>{R.nextTick(()=>{let D=setInterval(()=>{document.getElementById(n.id)&&document.getElementById(n.id).offsetHeight>100&&document.getElementById(n.id).offsetWidth>100&&(y&&y.getOption()&&!n.chartOption.restoreZoom&&(o={...y.getOption().dataZoom[0],moveOnMouseMove:n.chartOption.series.some(M=>M.openBarDrag&&(M.type=="line"||M.type=="markLine"))?"ctrl":!0}),Q(),clearInterval(D))},100)})},{deep:!0,immediate:!0});let s={};R.watch(()=>n.legendList,()=>{y&&(s=y.getOption().legend[0].selected);let D=n.legendList.map(H=>{let K=u.find(N=>N.code==H.name);return K?{...H,...K}:{...H}}),M=JSON.parse(JSON.stringify(c.value));i={},c.value=D.map(H=>{const K=M.find(ue=>ue.name==H.name);i[H.name]=H,H.children&&(H.children=H.children.map(ue=>{i[ue.name]=ue;let ie="";return n.chartOption.isDefaultElement===!1?ie=s[ue.name]!=null?s[ue.name]:ue.isSelected:K&&K.children&&K.children.find(Se=>Se.name==ue.name)?ie=K.children.find(Se=>Se.name==ue.name).isSelected:ie=ue.isSelected,{...ue,isSelected:ie,id:Math.random()}}));let N="";return n.chartOption.isDefaultElement===!1?N=s[H.name]!=null?s[H.name]:H.isSelected:H.compel?N=H.isSelected:K?N=K.isSelected:N=H.isSelected,{...H,isSelected:N,id:Math.random()}})},{deep:!0});const l=[{name:"实况雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"实测水位",type:"line",color:"#304755",unit:"m"},{name:"库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"5分钟水位",type:"line",color:"#304755",unit:"m"},{name:"5分钟库容",type:"line",color:"#197e2b",unit:"万m³"},{name:"校核洪水位",type:"markLine",color:"#ffa500",unit:"m"},{name:"设计洪水位",type:"markLine",color:"#a52a2a",unit:"m"},{name:"正常高水位",type:"markLine",color:"#008000",unit:"m"},{name:"死水位",type:"markLine",color:"#000000",unit:"m"},{name:"坝顶高程",type:"markLine",color:"#cf0ce1",unit:"m"},{name:"梅汛期",code:"MXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"台汛期",code:"TXQ",type:"markLine",color:"#ff0000",unit:"m"},{name:"累计降雨",type:"line",color:"red",unit:"mm"},{name:"可纳雨量",type:"bar",color:"#0000ff",unit:"mm"},{name:"作业预报时间",type:"markLine",color:"#ff0000"}],u=[{name:"实况雨量",code:"P",color:"#0000ff",icon:"histogram"},{name:"实测水位",code:"RZ",color:"#304755",icon:"straightLine",iconWidth:"30",iconHeight:"30"},{name:"库容",code:"W",color:"#197e2b",icon:"straightLine",iconWidth:"30",iconHeight:"30"}],f=["校核洪水位","设计洪水位","正常高水位","坝顶高程","死水位","主汛期"],c=R.ref(n.legendList.map((D,M)=>{let H=u.find(K=>K.code==D.name);return D.color||(D.color=O_[M]),H?{...D,...H}:{...D}}));c.value.forEach(D=>{i[D.name]=D,D.children&&D.children.forEach(M=>{i[M.name]=M})});const h=R.ref(!0);let v=null;const d=D=>{var H;let M=[];h.value=D,c.value.forEach(K=>{K.isSelected=D,M.push(K.name),K.children&&K.children.forEach(N=>{N.isSelected=D,M.push(N.name)})}),M.forEach(K=>{m[K]=D,F(K,D)}),o={...(H=y.getOption())==null?void 0:H.dataZoom[0]},Q()},g=(D,M)=>{var K;let H=[];c.value.forEach(N=>{N.name==M?(N.isSelected=D,N.children?N.children.forEach(ue=>{ue.isSelected=D,H.push(ue.name)}):H.push(N.name)):N.children&&N.children.forEach(ue=>{ue.name==M&&(ue.isSelected=D,H.push(ue.name),N.children.filter(ie=>ie.isSelected).length==N.children.length?N.isSelected=!0:N.isSelected=!1)})}),H.forEach(N=>{Array.isArray(N)?(m[N[0]]=D,m[N[1]]=D,F(N[0],D),F(N[1],D)):(m[N]=D,F(N,D))}),v=c.value.some(N=>N.isSelected==!1),v?h.value=!1:h.value=!0,o={...(K=y.getOption())==null?void 0:K.dataZoom[0]},Q()};R.onMounted(()=>{window.addEventListener("keydown",B)});let p={};const B=D=>{if(D.key==="i"){let M=JSON.parse(JSON.stringify(y.getOption()));M.series.forEach(H=>{H.markPoint&&H.markPoint.data.length!=0?H.markPoint.data=[]:H.markPoint&&H.markPoint.data==0&&(H.markPoint=p[H.name])}),y.setOption(M)}};let m={},y,_;const C=R.ref({}),Q=async()=>{let D=n.chartOption.series.map(w=>{let q="";return w.code?q=l.find(O=>O.code==w.code):q=l.find(O=>O.name==w.name),q?{...q,...w}:{...w}});c.value.forEach(w=>{m[w.name]=w.isSelected,w.children&&w.children.forEach(q=>{m[q.name]=q.isSelected})}),_=document.getElementById(n.id),y||(y=IT(_));let M=D.filter(w=>Array.isArray(w.data));const H=M.every(w=>Array.isArray(w.data)&&w.data.length===0),K=R_(new Date(xe().subtract(5,"day").format("YYYY-MM-DD 08:00")),new Date(xe().format("YYYY-MM-DD HH:00")),60).map(w=>[w,""]);let N=[];M.forEach(w=>{N=N.concat(w.data)}),N=[...new Set(N.map(w=>w[0]))],N.sort((w,q)=>Date.parse(w)-Date.parse(q)),N.some(w=>Eu(w))&&(N=N.filter(w=>Eu(w)));let ue=N[0];n.chartOption.series.forEach(w=>{w.name=="开始"&&w.sectionStartTime&&(ue=w.sectionStartTime)});let ie=JSON.parse(JSON.stringify(n.chartOption.grid)),Se=n.chartOption.xAxis.map((w,q)=>{let O="";w.show==!1||ie.length>1&&q==0?O=!1:O=!0;let se={type:w.type,logBase:w.logBase||10,gridIndex:w.gridIndex,name:O&&w.type=="time"?"时间":w.name,nameLocation:O&&w.type=="time"?"end":"middle",nameTextStyle:{color:"#333",verticalAlign:O&&w.type=="time"?"top":""},position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,nameGap:O&&w.type=="time"?45:w.nameGap?w.nameGap:w.name?25:0,axisLabel:{show:O,rotate:w.rotate,formatter:function(ge){return w.type=="time"?S(xe(xe(ge).format("YYYY-MM-DD HH:mm")))?n.chartOption.xTimeType?`{a|${n.chartOption.xTimeType}}`:"{a|{yyyy}-{MM}-{dd} {HH}:{mm}}":n.chartOption.xTimeType?n.chartOption.xTimeType:"{MM}-{dd} {HH}:{mm}":w.name?w.name.includes("m³/s")?Aa(ge):w.name.includes("万m³")?ge.toFixed(2):w.name.includes("mm")?ge.toFixed(1):w.name.includes("m")?ge.toFixed(2):(ge||ge==0)&&w.toFixed?Number(ge).toFixed(w.toFixed):ge:ge},rich:{a:{fontWeight:"bold"}},color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333",hideOverlap:!0},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},splitLine:{show:w.splitLineHide?!1:w.gridIndex!=2,lineStyle:{color:"#e0e6f1"}},axisTick:{show:w.show==!1?!1:!(ie.length>1&&q==0),alignWithLabel:n.chartOption.alignWithLabel!=null?n.chartOption.alignWithLabel:!0},boundaryGap:w.boundaryGap?w.boundaryGap:["1%","1%"]};if(w.data&&(se.data=w.data),w.type=="value"||w.type=="log"){let ge=0,Ee=100,re=10;w.name.includes("m³/s")?(Ee=1e3,re=100):w.name.includes("万m³")&&(Ee=1e4,re=1e3);let k=n.chartOption.series.filter(ne=>ne.yAxisIndex==q),ce=[],z=[],W=0,Qe=100;k.forEach(ne=>{ne.data instanceof Array&&(ce=ce.concat(ne.data))}),ce[0]instanceof Array&&(z=ce.filter(ne=>ne[0]!=""&&ne[0]!=null&&ne[0]!=null&&!isNaN(ne[0])).map(ne=>Number(ne[0]))),z.length>0&&(W=Math.min(...z),Qe=Math.max(...z),k.some(ne=>ne.type=="bar")||w.name.includes("雨")?(ge=0,(W!==0||Qe!==0)&&(Ee=Math.ceil(Qe/Me(0,Qe))*Me(0,Qe),re=Me(0,Qe))):w.min||w.min==0?(ge=w.min,(W!==0||Qe!==0)&&(Ee=Math.ceil(Qe/Me(w.min,Qe))*Me(w.min,Qe),re=Me(w.min,Qe))):(W!==0||Qe!==0)&&(ge=Math.floor(W/Me(W,Qe))*Me(W,Qe),Ee=Math.ceil(Qe/Me(W,Qe))*Me(W,Qe),re=Me(W,Qe))),se.min=w.min!=""&&w.min!=null?w.min:ge,se.max=w.max!=""&&w.max!=null?w.max:Ee,se.interval=w.interval&&w.max&&(w.min||w.min==0)?w.interval:re,w.interval&&w.max&&(w.min||w.min==0)&&w.interval,se.minorTick={show:!!w.isMinorSplitLineShow}}return se}),He=n.chartOption.yAxis.map((w,q)=>{let O=0,se=100,ge=10;if(w.name.includes("m³/s")?(se=1e3,ge=100):w.name.includes("万m³")&&(se=1e4,ge=1e3),w.name=="可纳雨量(mm)")return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:"#333"},nameGap:w.nameGap,type:"value",position:w.position,offset:w.offset,min:w.min,max:w.max,interval:w.interval,axisLabel:{formatter:Ee=>Ee.toFixed(1),color:"#333"},axisLine:{show:!0,lineStyle:{color:"#8a949c"}},splitLine:{show:!1},minorTick:{show:!0},axisTick:{show:!0}};{let Ee=n.chartOption.series.filter(ne=>ne.yAxisIndex==q&&(m[ne.name]||!Object.keys(m).includes(ne.name))),re=[],k=[],ce=[],z=0,W=100,Qe=null;if(Ee.forEach(ne=>{ne.data instanceof Array?((ne.data2?ne.data2:ne.data).forEach(Ce=>{if(Ce instanceof Array&&Ce.length>=2){const Ke=Ce[1];if(Ke!=""&&Ke!=null&&Ke!=null&&!isNaN(Ke)){const $e=Number(Ke);Qe===null&&(Qe=$e)}}}),re=ne.data2?re.concat(ne.data2):re.concat(ne.data)):ne.data.name=="yAxis"&&ne.data.value&&ce.push(Number(ne.data.value))}),re[0]instanceof Array?k=re.filter(ne=>ne[1]!=""&&ne[1]!=null&&ne[1]!=null&&!isNaN(ne[1])).map(ne=>Number(ne[1])):re[0]instanceof Object&&re[0].value?k=re.map(pe=>pe.value).filter(pe=>pe!=""&&pe!=null&&pe!=null&&!isNaN(pe)).map(pe=>Number(pe)):k=re.filter(ne=>ne!=""&&ne!=null&&ne!=null&&!isNaN(ne)).map(ne=>Number(ne)),k.length>0||ce.length>0){if(z=Math.min(...k,...ce),W=Math.max(...k,...ce),Ee.some(ne=>ne.type=="bar")||w.name.includes("雨"))O=0,n.chartOption.xAxis.length>1&&w.inverse?(z!==0||W!==0)&&(se=Math.ceil(W/Me(0,W,1))*Me(0,W,1)+Me(0,W,1)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(0,W,1)):(z!==0||W!==0)&&(se=Math.ceil(W/Me(0,W))*Me(0,W)+Me(0,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(0,W));else if(w.min||w.min==0)O=w.min,(z!==0||W!==0)&&(se=Math.ceil(W/Me(w.min,W))*Me(w.min,W)+Me(w.min,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(w.min,W));else if(z!==0||W!==0)if(n.chartOption.xAxis.some(pe=>pe.type==="value")&&Qe!==null){O=Qe;const pe=Me(O,W);se=Math.ceil((W-O)/pe)*pe+O+pe*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=pe}else O=Math.floor(z/Me(z,W))*Me(z,W)-Me(z,W)*(w.downIntervalNumber!=null?w.downIntervalNumber:1),se=Math.ceil(W/Me(z,W))*Me(z,W)+Me(z,W)*(w.upIntervalNumber!=null?w.upIntervalNumber:1),ge=Me(z,W)}if(w.rangeType==1){let ne="",pe="";Math.abs(W)>Math.abs(z)?pe=Math.abs(W):pe=Math.abs(z),ne=Math.ceil(pe/Me(0,pe))*Me(0,pe),se=ne,O=0-ne,ge=Me(0,Math.abs(ne))}return{gridIndex:w.index,name:w.name,nameLocation:"middle",nameTextStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},nameGap:w.nameGap,type:w.type||"value",logBase:w.logBase||10,position:w.position,offset:w.offset?w.offset:0,inverse:w.inverse?w.inverse:!1,min:w.min!=""&&w.min!=null?w.min:O,max:w.max!=""&&w.max!=null?w.max:se,interval:w.interval&&w.max&&(w.min||w.min==0)?w.interval:ge,axisLabel:{formatter:ne=>w.name.includes("m³/s")?Aa(ne):w.name.includes("万m³")?ne.toFixed(2):w.name.includes("mm")?ne.toFixed(1):w.name.includes("m")?ne.toFixed(2):ne,color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#333"},axisLine:{show:!0,lineStyle:{color:n.chartOption.yAxisColor?n.chartOption.yAxisColor:"#8a949c"}},axisTick:{show:!0},splitLine:{show:!(ie.length>1&&w.index==1&&w.position=="right"||ie.length==1&&w.index==0&&w.position=="right"||w.splitLineHide),lineStyle:{color:"#e0e6f1"}},minorTick:{show:!0},minorSplitLine:{show:ie.length>1&&w.index==1&&w.position=="right"||ie.length==1&&w.index==0&&w.position=="right"||w.splitLineHide?!1:!w.minorSplitLineHide,lineStyle:{color:"#f4f7fd"}},axisTick:{show:!0}}}}),G=D.some(w=>w.openBarDrag),de=D.map((w,q)=>{var se,ge,Ee;let O={};if(w.type=="bar")w.name=="可纳雨量"?O={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,barWidth:w.barWidth,data:H?K:w.data,label:{show:!0,position:"top",color:"black",fontFamily:"Times New Roman"},itemStyle:{color:function(re){if(w.barColor=="1"){if(re.dataIndex===0)return"#ff0000";if(re.dataIndex===1)return"#a52a2a";if(re.dataIndex===2)return"#ffa500";if(re.dataIndex===3)return"#cf0ce1"}else return"#00a651"}},zlevel:9,z:9}:O={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,label:{show:w.isLabelShow?w.isLabelShow:!1,position:"top",fontFamily:"Times New Roman",formatter:function(re){return"{a0|"+(Array.isArray(re.value)?re.value[1]:re.value)+"}"},rich:{a0:{color:i[w.name]?i[w.name].color:w.color,fontSize:12}}},stack:w.stack?w.stack:"",tooltip:{show:w.isTooltipShow!=!1,trigger:"axis",type:"none"},itemStyle:w.itemStyle?w.itemStyle:{color:function(re){let k=i[w.name]?i[w.name].color:w.color?w.color:O_[q];return w.color2&&re.value[1]<0?w.color2:k},decal:{symbol:w.pattern?w.pattern:"none"}},barCategoryGap:w.barCategoryGap?w.barCategoryGap:He[w.yAxisIndex].inverse?"0%":"20%",barGap:w.barGap?w.barGap:"0%",data:H?K:w.data,zlevel:9,z:9},w.barWidth&&(O.barWidth=w.barWidth,w.barGap?O.barGap=w.barGap:O.barGap="20%"),w.barMaxWidth&&(O.barMaxWidth=w.barMaxWidth,w.barGap?O.barGap=w.barGap:O.barGap="20%");else if(w.type=="line"){let re="rgba(0, 0, 0, 0)";n.chartOption.isFace&&(n.chartOption.faceNames?n.chartOption.faceNames.includes(w.name)&&(i[w.name]?re=i[w.name].color:re=w.color):i[w.name]?re=i[w.name].color:re=w.color);let k="",ce=!1;if(w.showSymbol||((se=i[w.name])==null?void 0:se.icon)=="dottedLine"?w.symbolSize?k=w.symbolSize:k=5:n.chartOption.isTooltipItem?(k=10,ce=!0):k=0,O={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,opacity:w.showSymbol||((ge=i[w.name])==null?void 0:ge.icon)=="dottedLine"?1:0},lineStyle:w.lineStyle?w.lineStyle:{type:((Ee=i[w.name])==null?void 0:Ee.icon)=="dotted"?"dotted":"solid"},areaStyle:{color:re,opacity:.5},smooth:w.smooth!=null?w.smooth:!1,showSymbol:!0,symbol:w.symbol?w.symbol:"circle",connectNulls:!0,symbolSize:k,data:H?K:w.data,silent:G?w.openBarDrag!==!0:!1,triggerLineEvent:ce,zlevel:9,z:9},w.isMaxMinShow&&w.data.length>0){let z=w.data.filter(Ce=>!Ce[2]).filter(Ce=>Ce[1]),W=z.reduce((Ce,Ke)=>parseFloat(Ke[1])>parseFloat(Ce[1])?Ke:Ce,z[0]),Qe=W?W[0]:"",ne=W?W[1]:"",pe;N.forEach((Ce,Ke)=>{xe(Ce).isValid()&&Ce==Qe&&(Ce.markPointOffset||(Ke>=N.length/5*4?pe=[-200,0]:Ke>=N.length/5*3?pe=[-150,0]:Ke>=N.length/5*2?pe=[-100,0]:Ke>=N.length/5*1?pe=[-50,0]:Ke>=0&&(pe=[0,0])))}),O.markPoint={symbol:"pin",symbolSize:20,label:{show:w.isMarkPointLabelShow!==!1,position:"top",align:"left",fontSize:16,backgroundColor:w.backgroundColor?w.backgroundColor:i[w.name]?i[w.name].color:w.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:w.markPointColor?w.markPointColor:"#fff",formatter:Ce=>{let Ke="";if(Ce.data&&Ce.data.coord&&Ce.data.coord[0]){let Ar=w.tmType?w.tmType:"YYYY-MM-DD HH:mm";Ke=xe(Ce.data.coord[0]).format(Ar)}let $e="",BA="";if(Ce.name=="Max")return $e=w.maxText?w.maxText:"最大值",w.unit.includes("m³")?BA=Ce.value?Aa(Ce.value):"--":w.unit.includes("mm")?BA=Ce.value?Number(Ce.value).toFixed(1):"--":w.unit.includes("m")?BA=Ce.value?Number(Ce.value).toFixed(2):"--":BA=Ce.value,w.tmText?`${$e}: {a0|${BA}} ${w.unit}
67
67
  ${w.tmText}: {a1|${Ke}}`:`${w.tmText2?w.tmText2:"相应时间"}: {a1|${Ke}}
68
- ${$e}: {a0|${BA}} ${w.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:[{name:"Max",label:{offset:w.markPointOffset?w.markPointOffset:pe||[-120,0]},xAxis:Qe,yAxis:ne,value:ne}]}}}else if(w.type=="markLine"){let re={},k=[];w.labelType==2?(w.name=="开始"?k=[0,0,-80,180]:w.name=="结束"&&(k=[0,180,-120,0]),re={show:!w.labelHide,position:"end",fontWeight:"bold",padding:k,fontFamily:"Times New Roman",lineHeight:20,fontSize:15}):re={show:!w.labelHide,position:"insideStartTop",fontFamily:"Times New Roman",lineHeight:20,fontSize:15},R={name:w.name,type:"line",xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,markLine:{symbol:"none",label:re,data:[{lineStyle:{type:w.markLineStyle?w.markLineStyle:w.name=="开始"||w.name=="结束"?"dashed":[5,2],dashOffset:0,color:i[w.name]?i[w.name].color:w.color,width:w.name=="开始"||w.name=="结束"?5:1},[w.data.name]:String(w.data.value),label:{color:i[w.name]?i[w.name].color:w.color,fontFamily:"Times New Roman, serif",distance:-2,position:w.position?w.position:"insideStartTop",formatter:function(ce){if(w.labelType==2){let z="";return w.name=="开始"?z=`${w.name}: ${ce.value}`:w.name=="结束"&&(z=`${w.name}: ${te(ce.value)}`),w.labelArr&&w.labelArr.forEach(W=>{z+=`{a1|
69
- ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w.name.includes("梅汛期")||w.name.includes("台汛期"))&&(z="{a0|▽}"),w.data.name=="xAxis"?w.name:` ${z}${w.name}: ${w.data.value} ${w.unit} `}},rich:{a0:{fontSize:15},a1:{color:"red",fontSize:16,fontFamily:"黑体"}}},emphasis:{lineStyle:{width:w.name=="开始"||w.name=="结束"?6:3}}}]}}}else w.type=="scatter"?R={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,symbolSize:w.symbolSize,itemStyle:{color:i[w.name]?i[w.name].color:w.color},data:H?K:w.data,zlevel:9,z:9}:w.type=="boxplot"&&(R={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,borderWidth:2,borderColor:"black"},boxWidth:w.boxWidth?w.boxWidth:30,emphasis:{itemStyle:{borderWidth:2}},data:H?K:w.data,zlevel:9,z:9});return w.markArea&&(w.markArea.data?R.markArea={silent:w.markArea.silent?w.markArea.silent:!1,label:w.markArea.label?w.markArea.label:{},itemStyle:w.markArea.itemStyle?w.markArea.itemStyle:{},data:w.markArea.data}:R.markArea={silent:!0,itemStyle:{opacity:w.markArea.opacity?w.markArea.opacity:.3,color:w.markArea.color?w.markArea.color:"#BEE6E6",borderColor:w.markArea.borderColor?w.markArea.borderColor:"red",borderWidth:w.markArea.borderWidth?w.markArea.borderWidth:2},data:[[{xAxis:w.markArea.start},{xAxis:w.markArea.end}]]}),R}),De=He.map(w=>w.name),st={},tr={};if(De.includes("水位(m)")&&De.includes("库容(万m³)")&&n.chartOption.stationCode){let w=He.find(k=>k.name=="水位(m)"),q=[];for(let k=w.min;k<=w.max;k+=w.interval)q.push(k);let R=[];for(let k=0;k<q.length;k++)if(w.max==100)R.push(k*1e3);else if(q[k]==0)R.push(0);else{let ce=await X(q[k],k);R.push(ce)}He.forEach(k=>{k.name=="水位(m)"?k.offset=80:k.name=="库容(万m³)"&&(k.offset=80,k.nameGap=-70,k.splitLine.show=!1,k.minorSplitLine.show=!1,k.axisLabel.inside=!0,k.axisTick.inside=!0,ie.length>1?k.gridIndex==0?(ie[k.gridIndex].left=150,ie[k.gridIndex].right=20,ie[1].left=150,ie[1].right=20):k.gridIndex==1&&(ie[0].left=150,ie[0].right=70,ie[k.gridIndex].left=150,ie[k.gridIndex].right=70):ie.length==1&&(ie[k.gridIndex].left=150,ie[k.gridIndex].right=20),k.position="left",k.max=w.max,k.min=w.min,k.interval=w.interval,k.axisLabel.formatter=(ce,z)=>R[z]||R[z]==0?Number(R[z]).toFixed(2):"")});let se=de.find(k=>k.name=="库容"),ge=de.find(k=>k.name=="5分钟库容"),Ee=de.find(k=>k.name=="实测水位"||k.name=="水位"),re=de.find(k=>k.name=="5分钟水位");se&&se.data&&se.data.forEach(k=>{st[k[0]]=k[1]}),ge&&ge.data&&ge.data.forEach(k=>{tr[k[0]]=k[1]}),de.forEach(k=>{k.name=="库容"?k.data=Ee.data:k.name=="5分钟库容"&&(k.data=re.data)})}let nn=[...N];if(N.some(w=>bu(w))&&(nn=nn.filter(w=>{let q=xe(w);if(bu(w)&&q.minute()===0&&q.second()===0)return w})),ie.length==1?de.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}):de.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9},{name:"b",xAxisIndex:1,yAxisIndex:He.findIndex(w=>w.gridIndex==1),data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}),ie.length==1?ie.forEach((w,q)=>{w.top=w.newTop?w.newTop:10,w.bottom=w.newBottom?w.newBottom:n.chartOption.xAxis[q].name?40:20}):ie.length==2?ie.forEach((w,q)=>{q==0?(w.top=10,w.height=n.chartOption.isTwoXAxis?"48%":"26%"):q==1&&(w.top=n.chartOption.isTwoXAxis?"52%":"30%",w.bottom=n.chartOption.xAxis[q].name?40:20)}):ie.length==3&&ie.forEach((w,q)=>{q==0?(w.top=10,w.height="26%"):(q==1||q==2)&&(w.top="30%",w.bottom=40)}),C.value={animation:!0,tooltip:{show:!(n.chartOption.isTooltipItem||n.chartOption.tooltipShow==!1),hideDelay:0,triggerOn:"mousemove",trigger:n.chartOption.tooltipType=="1"?"item":"axis",axisPointer:{animation:!1,animationDuration:1e3,animationDurationUpdate:200},formatter:function(w){if(n.chartOption.tooltipType=="1"){if(w.componentSubType=="boxplot"){let q=M[0]?M[0].unit:"",R=w.name+"<br/>";return R+=`<div style='padding-right:8px'>
68
+ ${$e}: {a0|${BA}} ${w.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:[{name:"Max",label:{offset:w.markPointOffset?w.markPointOffset:pe||[-120,0]},xAxis:Qe,yAxis:ne,value:ne}]}}}else if(w.type=="markLine"){let re={},k=[];w.labelType==2?(w.name=="开始"?k=[0,0,-80,180]:w.name=="结束"&&(k=[0,180,-120,0]),re={show:!w.labelHide,position:"end",fontWeight:"bold",padding:k,fontFamily:"Times New Roman",lineHeight:20,fontSize:15}):re={show:!w.labelHide,position:"insideStartTop",fontFamily:"Times New Roman",lineHeight:20,fontSize:15},O={name:w.name,type:"line",xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,markLine:{symbol:"none",label:re,data:[{lineStyle:{type:w.markLineStyle?w.markLineStyle:w.name=="开始"||w.name=="结束"?"dashed":[5,2],dashOffset:0,color:i[w.name]?i[w.name].color:w.color,width:w.name=="开始"||w.name=="结束"?5:1},[w.data.name]:String(w.data.value),label:{color:i[w.name]?i[w.name].color:w.color,fontFamily:"Times New Roman, serif",distance:-2,position:w.position?w.position:"insideStartTop",formatter:function(ce){if(w.labelType==2){let z="";return w.name=="开始"?z=`${w.name}: ${ce.value}`:w.name=="结束"&&(z=`${w.name}: ${te(ce.value)}`),w.labelArr&&w.labelArr.forEach(W=>{z+=`{a1|
69
+ ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w.name.includes("梅汛期")||w.name.includes("台汛期"))&&(z="{a0|▽}"),w.data.name=="xAxis"?w.name:` ${z}${w.name}: ${w.data.value} ${w.unit} `}},rich:{a0:{fontSize:15},a1:{color:"red",fontSize:16,fontFamily:"黑体"}}},emphasis:{lineStyle:{width:w.name=="开始"||w.name=="结束"?6:3}}}]}}}else w.type=="scatter"?O={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,symbolSize:w.symbolSize,itemStyle:{color:i[w.name]?i[w.name].color:w.color},data:H?K:w.data,zlevel:9,z:9}:w.type=="boxplot"&&(O={name:w.name,type:w.type,xAxisIndex:w.xAxisIndex,yAxisIndex:w.yAxisIndex,itemStyle:{color:i[w.name]?i[w.name].color:w.color,borderWidth:2,borderColor:"black"},boxWidth:w.boxWidth?w.boxWidth:30,emphasis:{itemStyle:{borderWidth:2}},data:H?K:w.data,zlevel:9,z:9});return w.markArea&&(w.markArea.data?O.markArea={silent:w.markArea.silent?w.markArea.silent:!1,label:w.markArea.label?w.markArea.label:{},itemStyle:w.markArea.itemStyle?w.markArea.itemStyle:{},data:w.markArea.data}:O.markArea={silent:!0,itemStyle:{opacity:w.markArea.opacity?w.markArea.opacity:.3,color:w.markArea.color?w.markArea.color:"#BEE6E6",borderColor:w.markArea.borderColor?w.markArea.borderColor:"red",borderWidth:w.markArea.borderWidth?w.markArea.borderWidth:2},data:[[{xAxis:w.markArea.start},{xAxis:w.markArea.end}]]}),O}),De=He.map(w=>w.name),st={},tr={};if(De.includes("水位(m)")&&De.includes("库容(万m³)")&&n.chartOption.stationCode){let w=He.find(k=>k.name=="水位(m)"),q=[];for(let k=w.min;k<=w.max;k+=w.interval)q.push(k);let O=[];for(let k=0;k<q.length;k++)if(w.max==100)O.push(k*1e3);else if(q[k]==0)O.push(0);else{let ce=await X(q[k],k);O.push(ce)}He.forEach(k=>{k.name=="水位(m)"?k.offset=80:k.name=="库容(万m³)"&&(k.offset=80,k.nameGap=-70,k.splitLine.show=!1,k.minorSplitLine.show=!1,k.axisLabel.inside=!0,k.axisTick.inside=!0,ie.length>1?k.gridIndex==0?(ie[k.gridIndex].left=150,ie[k.gridIndex].right=20,ie[1].left=150,ie[1].right=20):k.gridIndex==1&&(ie[0].left=150,ie[0].right=70,ie[k.gridIndex].left=150,ie[k.gridIndex].right=70):ie.length==1&&(ie[k.gridIndex].left=150,ie[k.gridIndex].right=20),k.position="left",k.max=w.max,k.min=w.min,k.interval=w.interval,k.axisLabel.formatter=(ce,z)=>O[z]||O[z]==0?Number(O[z]).toFixed(2):"")});let se=de.find(k=>k.name=="库容"),ge=de.find(k=>k.name=="5分钟库容"),Ee=de.find(k=>k.name=="实测水位"||k.name=="水位"),re=de.find(k=>k.name=="5分钟水位");se&&se.data&&se.data.forEach(k=>{st[k[0]]=k[1]}),ge&&ge.data&&ge.data.forEach(k=>{tr[k[0]]=k[1]}),de.forEach(k=>{k.name=="库容"?k.data=Ee.data:k.name=="5分钟库容"&&(k.data=re.data)})}let nn=[...N];if(N.some(w=>Eu(w))&&(nn=nn.filter(w=>{let q=xe(w);if(Eu(w)&&q.minute()===0&&q.second()===0)return w})),ie.length==1?de.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}):de.push({name:"a",xAxisIndex:0,yAxisIndex:0,data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9},{name:"b",xAxisIndex:1,yAxisIndex:He.findIndex(w=>w.gridIndex==1),data:n.chartOption.series.length==0?K:nn.map(w=>[w,void 0]),type:"line",z:9,zlevel:9}),ie.length==1?ie.forEach((w,q)=>{w.top=w.newTop?w.newTop:10,w.bottom=w.newBottom?w.newBottom:n.chartOption.xAxis[q].name?40:20}):ie.length==2?ie.forEach((w,q)=>{q==0?(w.top=10,w.height=n.chartOption.isTwoXAxis?"48%":"26%"):q==1&&(w.top=n.chartOption.isTwoXAxis?"52%":"30%",w.bottom=n.chartOption.xAxis[q].name?40:20)}):ie.length==3&&ie.forEach((w,q)=>{q==0?(w.top=10,w.height="26%"):(q==1||q==2)&&(w.top="30%",w.bottom=40)}),C.value={animation:!0,tooltip:{show:!(n.chartOption.isTooltipItem||n.chartOption.tooltipShow==!1),hideDelay:0,triggerOn:"mousemove",trigger:n.chartOption.tooltipType=="1"?"item":"axis",axisPointer:{animation:!1,animationDuration:1e3,animationDurationUpdate:200},formatter:function(w){if(n.chartOption.tooltipType=="1"){if(w.componentSubType=="boxplot"){let q=M[0]?M[0].unit:"",O=w.name+"<br/>";return O+=`<div style='padding-right:8px'>
70
70
  <div style='display:flex;flex-direction: column;'>
71
71
  <div>${w.marker} ${w.seriesName}</div>
72
72
  <div style='display:flex;align-items: center;margin-left: 18px'>
@@ -82,7 +82,7 @@ ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w
82
82
  <div style='width:30px'>${q}</div>
83
83
  </div>
84
84
  </div>
85
- </div>`,R}}else if(n.chartOption.tooltipType=="2"||n.chartOption.tooltipType=="4"){let q="";return M.forEach(R=>{let se=w.find(ge=>ge.seriesName==R.name);if(se){let ge=se.axisId,Ee=/[\u4e00-\u9fa5]+|\([^)]+\)/g,re=ge.match(Ee),k=re[0],ce=re[1]?re[1].replace(/[\(\)]/g,""):re[0],z=n.chartOption.yAxis[0].name.match(Ee),W=z[0],Qe=z[1]?z[1].replace(/[\(\)]/g,""):z[0];n.chartOption.tooltipType=="4"&&(q+=`<div style='font-weight: bold;color: ${R.color};'>${se.seriesName}</div>`),q+=`<div style='padding-right:8px'>
85
+ </div>`,O}}else if(n.chartOption.tooltipType=="2"||n.chartOption.tooltipType=="4"){let q="";return M.forEach(O=>{let se=w.find(ge=>ge.seriesName==O.name);if(se){let ge=se.axisId,Ee=/[\u4e00-\u9fa5]+|\([^)]+\)/g,re=ge.match(Ee),k=re[0],ce=re[1]?re[1].replace(/[\(\)]/g,""):re[0],z=n.chartOption.yAxis[0].name.match(Ee),W=z[0],Qe=z[1]?z[1].replace(/[\(\)]/g,""):z[0];n.chartOption.tooltipType=="4"&&(q+=`<div style='font-weight: bold;color: ${O.color};'>${se.seriesName}</div>`),q+=`<div style='padding-right:8px'>
86
86
  <div style='display:flex;align-items: center;justify-content: space-between'>
87
87
  <div style='margin-right:8px;'>${W}</div>
88
88
  <div style='display:flex;align-items: center;'>
@@ -97,7 +97,7 @@ ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w
97
97
  <div style='width:30px'>${ce||""}</div>
98
98
  </div>
99
99
  </div>
100
- </div>`}}),q}else if(n.chartOption.tooltipType=="3"){let q=[];w.forEach(re=>{q.push(re.seriesName.replace(/\d+/g,""))});let R="预报潮位",se=w[0].value[0]+"<br/>",ge=0,Ee="";return M.forEach((re,k)=>{let ce=w.find(W=>W.seriesName==re.name),z="";if(re.name.includes(R)?(z=n.chartOption.plan[ge],ge++,M.find(W=>W.name=="预报潮位1")&&(Ee=`<div>${z}</div>`)):Ee="",ce){let W="";ce.value[1]&&(W=`<div style='padding-right:8px'>
100
+ </div>`}}),q}else if(n.chartOption.tooltipType=="3"){let q=[];w.forEach(re=>{q.push(re.seriesName.replace(/\d+/g,""))});let O="预报潮位",se=w[0].value[0]+"<br/>",ge=0,Ee="";return M.forEach((re,k)=>{let ce=w.find(W=>W.seriesName==re.name),z="";if(re.name.includes(O)?(z=n.chartOption.plan[ge],ge++,M.find(W=>W.name=="预报潮位1")&&(Ee=`<div>${z}</div>`)):Ee="",ce){let W="";ce.value[1]&&(W=`<div style='padding-right:8px'>
101
101
  ${Ee}
102
102
  <div style='display:flex;align-items: center;justify-content: space-between'>
103
103
  <div style='margin-right:8px;'>${ce.marker} ${ce.seriesName.replace(/\d+/g,"")}</div>
@@ -106,16 +106,16 @@ ${W.name}: ${W.value} ${W.unit}}`}),z}else{let z="";return(f.includes(w.name)||w
106
106
  <div style='width:30px'>${re.unit?re.unit:""}</div>
107
107
  </div>
108
108
  </div>
109
- </div>`),se+=W}}),se}else{let q="";return n.chartOption.tooltipNameTimeType?Array.isArray(w[0].value)?q=xe(w[0].value[0]).format(n.chartOption.tooltipNameTimeType)+"<br/>":q=xe(w[0].name).format(n.chartOption.tooltipNameTimeType)+"<br/>":Array.isArray(w[0].value)?q=String(w[0].value[0]).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")+"<br/>":q=w[0].name+"<br/>",M.forEach(R=>{var ge;let se=w.find(Ee=>Ee.seriesName==R.name);if(se&&!(Array.isArray(se.value)&&se.value[2]===!0)){let Ee="";R.key?Ee=R.key:c.value.forEach(ce=>{ce.name==se.seriesName?Ee=ce.key?ce.key:R.name:ce.children&&ce.children.forEach(z=>{z.name==se.seriesName&&(Ee=z.key)})});let re="",k="";if(se.marker=='<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:transparent;"></span>'?k=`<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:${(ge=i[R.name])==null?void 0:ge.color};"></span>`:k=se.marker,se.value){let ce="";R.data2?ce=R.data2.find(W=>W[0]==se.value[0])[1]:Array.isArray(se.value)?ce=se.value[1]:ce=se.value,JSON.stringify(st)!="{}"&&se.seriesName=="库容"?ce=st[w[0].value[0]]:JSON.stringify(tr)!="{}"&&se.seriesName=="5分钟库容"&&(ce=tr[w[0].value[0]]),re=`<div style='padding-right:8px'>
109
+ </div>`),se+=W}}),se}else{let q="";return n.chartOption.tooltipNameTimeType?Array.isArray(w[0].value)?q=xe(w[0].value[0]).format(n.chartOption.tooltipNameTimeType)+"<br/>":q=xe(w[0].name).format(n.chartOption.tooltipNameTimeType)+"<br/>":Array.isArray(w[0].value)?q=String(w[0].value[0]).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")+"<br/>":q=w[0].name+"<br/>",M.forEach(O=>{var ge;let se=w.find(Ee=>Ee.seriesName==O.name);if(se&&!(Array.isArray(se.value)&&se.value[2]===!0)){let Ee="";O.key?Ee=O.key:c.value.forEach(ce=>{ce.name==se.seriesName?Ee=ce.key?ce.key:O.name:ce.children&&ce.children.forEach(z=>{z.name==se.seriesName&&(Ee=z.key)})});let re="",k="";if(se.marker=='<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:transparent;"></span>'?k=`<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:${(ge=i[O.name])==null?void 0:ge.color};"></span>`:k=se.marker,se.value){let ce="";O.data2?ce=O.data2.find(W=>W[0]==se.value[0])[1]:Array.isArray(se.value)?ce=se.value[1]:ce=se.value,JSON.stringify(st)!="{}"&&se.seriesName=="库容"?ce=st[w[0].value[0]]:JSON.stringify(tr)!="{}"&&se.seriesName=="5分钟库容"&&(ce=tr[w[0].value[0]]),re=`<div style='padding-right:8px'>
110
110
  <div style='display:flex;align-items: center;justify-content: space-between'>
111
111
  <div style='margin-right:8px;'>${k} ${Ee||se.seriesName}</div>
112
112
  <div style='display:flex;align-items: center;'>
113
113
  <div style='margin-right:5px;'>${ce||ce===0?ce:"--"}</div>
114
- <div style='width:30px'>${R.unit?R.unit:""}</div>
114
+ <div style='width:30px'>${O.unit?O.unit:""}</div>
115
115
  </div>
116
116
  </div>
117
- </div>`}q+=re}}),q}}},legend:{show:!1,selected:m},grid:ie,axisPointer:{link:{xAxisIndex:"all"}},xAxis:Se,yAxis:He,dataZoom:[{type:"inside",xAxisIndex:[0,1],zoomLock:!!n.chartOption.zoomLock,start:n.chartOption.viewDataRange?n.chartOption.viewDataRange[0]:0,end:n.chartOption.viewDataRange?n.chartOption.viewDataRange[1]:100,moveOnMouseMove:n.chartOption.series.some(w=>w.openBarDrag&&(w.type=="line"||w.type=="markLine"))?"ctrl":!0}],series:de},n.chartOption.visualMap&&(C.value.visualMap=n.chartOption.visualMap.map(w=>{let q=de[w.seriesIndex],R=[],se=[];return w.step?se=Y2(w.pieces,w.step):se=w.pieces,se.forEach((ge,Ee)=>{let re=new Date(ge.startTm).getTime(),k=new Date(ge.endTm).getTime();Ee==0?R.push({lt:re,color:q.itemStyle.color},{gte:re,lte:k,color:w.color?w.color:"red"}):R.push({gt:R[R.length-1].lte,lt:re,color:q.itemStyle.color},{gte:re,lte:k,color:w.color?w.color:"red"})}),R.push({gt:R[R.length-1].lte,color:q.itemStyle.color}),{show:!1,dimension:w.dimension?w.dimension:0,seriesIndex:w.seriesIndex,pieces:R}})),JSON.stringify(o)!="{}"&&(C.value.dataZoom[0]=o),console.log(C.value),y.setOption(C.value,!0),y.getOption().series.map(w=>{w.markPoint&&(p[w.name]=w.markPoint)}),n.chartOption.isTooltipItem){let w=document.createElement("div");w.className="line-name-tooltip-style",_.appendChild(w),y.on("mouseover",function(q){q.componentType==="series"&&q.seriesType==="line"?(w.innerText=`${q.seriesName}`,w.style.left=`${q.event.offsetX}px`,w.style.top=`${q.event.offsetY}px`,w.style.opacity="1"):w&&(w.style.opacity="0")}),y.on("mouseout",function(q){w&&(w.style.opacity="0")})}else{const w=_.querySelectorAll(".line-name-tooltip-style");w.length>0&&w.forEach(q=>{q.remove()})}y.off("click"),y.on("click",w=>{var q;if(M.find(R=>R.name==w.seriesName)){let R=M.find(se=>se.name==w.seriesName);if(w.seriesType==="line"){const se=w.data,ge=w.seriesIndex;let Ee=y.getOption().series[ge].markPoint?y.getOption().series[ge].markPoint.data:[],re=Ee.filter(z=>z.name!="Max"&&z.name!="Min").map(z=>z.coord[0]),k=[],ce;N.forEach((z,W)=>{xe(z).isValid()&&z==se[0]&&(W>=N.length/5*4?ce=[-200,0]:W>=N.length/5*3?ce=[-150,0]:W>=N.length/5*2?ce=[-100,0]:W>=N.length/5*1?ce=[-50,0]:W>=0&&(ce=[0,0]))}),re.includes(w.value[0])?k=Ee.filter(z=>z.name=="Max"||z.name=="Min"||z.coord[0]!=w.value[0]):k=[...Ee,{coord:se,name:`${se[0]}
118
- ${w.seriesName}: ${se[1]} ${R.unit}`,label:{offset:ce||[-120,0]}}],C.value.series[ge].markPoint={symbol:"pin",symbolSize:20,label:{show:!0,position:"top",align:"left",fontSize:16,backgroundColor:R.backgroundColor?R.backgroundColor:i[R.name]?i[R.name].color:R.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:R.markPointColor?R.markPointColor:"#fff",formatter:z=>{let W="",Qe=R.tmType?R.tmType:"YYYY-MM-DD HH:mm";z.data&&z.data.coord&&z.data.coord[0]&&(W=xe(z.data.coord[0]).format(Qe));let ne="",pe="";if(z.name=="Max"||z.name=="Min"){if(z.name=="Max")return ne=R.maxText?R.maxText:"最大值",R.unit.includes("m³")?pe=z.value?ra(z.value):"--":R.unit.includes("mm")?pe=z.value?Number(z.value).toFixed(1):"--":R.unit.includes("m")?pe=z.value?Number(z.value).toFixed(2):"--":pe=z.value,R.tmText?`${ne}: {a0|${pe}} ${R.unit}
119
- ${R.tmText}: {a1|${W}}`:`${R.tmText2?R.tmText2:"相应时间"}: {a1|${W}}
120
- ${ne}: {a0|${pe}} ${R.unit}`}else return`相应时间: {a1|${xe(z.data.coord[0]).format(Qe)}}
121
- ${R.name}: {a0|${z.data.coord[1]}} ${R.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:k},C.value.dataZoom[0]={...(q=y.getOption())==null?void 0:q.dataZoom[0]},y.setOption(C.value,!0),y.getOption().series.map(z=>{z.markPoint&&(p[z.name]=z.markPoint)})}}}),y.on("mousedown",function(w){y.setOption({tooltip:{show:!1}}),y.dispatchAction({type:"hideTip"});let q=w.seriesIndex,R=n.chartOption.series[q],se=R.stepTM?R.stepTM:60,ge="",Ee="",re="";if(R.openBarDrag){let k={},ce={},z=n.chartOption.yAxis[R.yAxisIndex],W=[];w.componentType=="markLine"&&R.data.name=="xAxis"?W=C.value.series.map((Ce,Ke)=>Ce.name=="开始"||Ce.name=="结束"?JSON.parse(JSON.stringify(Ce)):{}):W=C.value.series.map((Ce,Ke)=>Ke==q?{data:JSON.parse(JSON.stringify(Ce.data))}:{});let Qe,ne,pe;n.chartOption.fixedTimePeriod&&(ge=n.chartOption.series.find(Ce=>Ce.name=="开始").data.value,Ee=n.chartOption.series.find(Ce=>Ce.name=="结束").data.value,re=xe(Ee).diff(xe(ge),"hour")),y.getZr().off("mousemove"),y.getZr().off("mouseup"),y.getZr().on("mousemove",function(Ce){if(w.componentType=="markLine"&&R.data.name=="xAxis"){let Ke=y.convertFromPixel({xAxisIndex:R.xAxisIndex},Ce.offsetX),$e=xe(Ke).format("YYYY-MM-DD HH:00");if($e!==Qe){const BA=xe($e),Ar=xe(N[N.length-1]),Qf=ue?xe(ue):"";if(BA.isAfter(Ar)||BA.isBefore(Qf))return;if(n.chartOption.fixedTimePeriod){if(R.name=="开始"?pe=xe($e).add(re,"hours").format("YYYY-MM-DD HH:00"):R.name=="结束"&&(pe=xe($e).add(-re,"hours").format("YYYY-MM-DD HH:00")),R.name=="开始"&&xe(pe).isAfter(Ar))return;if(R.name=="结束"&&xe(pe).isBefore(Qf))return;W.forEach(At=>{R.name=="开始"?At.name=="开始"?(At.markLine.data[0].xAxis=$e,At.markArea.data[0][0].xAxis=$e,At.markArea.data[0][1].xAxis=pe):At.name=="结束"&&(At.markLine.data[0].xAxis=pe):R.name=="结束"&&(At.name=="开始"?(At.markLine.data[0].xAxis=pe,At.markArea.data[0][0].xAxis=pe,At.markArea.data[0][1].xAxis=$e):At.name=="结束"&&(At.markLine.data[0].xAxis=$e))})}else W.forEach(At=>{R.name=="开始"?At.name=="开始"&&(At.markLine.data[0].xAxis=$e,At.markArea.data[0][0].xAxis=$e):R.name=="结束"&&(At.name=="开始"?At.markArea.data[0][1].xAxis=$e:At.name=="结束"&&(At.markLine.data[0].xAxis=$e))});y.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),Qe=$e}}else{let[Ke,$e]=y.convertFromPixel({seriesIndex:q},[Ce.offsetX,Ce.offsetY]);if(xe(Ke).format("YYYY-MM-DD HH:00")!==Qe||!ne||Math.abs($e-ne)>=.5){const BA=xe(Ke).format("YYYY-MM-DD HH:00");ce[BA]=$e;let Ar=Object.keys(ce),Qf=new Set(Ar);W[q].data.forEach(Pt=>{Qf.has(Pt[0])&&(Pt[1]=ce[Pt[0]])});let At=R_(new Date(Ar[0]),new Date(Ar[Ar.length-1]),se),Sp=Object.entries(ce),Tk=new Set(Ar);At.forEach(Pt=>{Tk.has(Pt)||Sp.push(ee(Sp,Pt))});let jo={};Sp.forEach(Pt=>{jo[Pt[0]]=Pt[1]});let Dk=Object.keys(jo),Lk=new Set(Dk);W[q].data.forEach(Pt=>{if(Lk.has(Pt[0])){let xf="";z.name.includes("m³")?xf=ra(jo[Pt[0]]):z.name.includes("mm")?xf=jo[Pt[0]].toFixed(1):z.name.includes("m")&&(xf=jo[Pt[0]].toFixed(2)),Pt[1]=xf}}),y.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),Qe=BA,ne=$e}}}),y.getZr().on("mouseup",function(){if(y.getZr().off("mousemove"),y.getZr().off("mouseup"),w.componentType=="markLine"&&R.data.name=="xAxis"){if(Qe)if(pe){const Ce=xe(N[N.length-1]),Ke=ue?xe(ue):"";R.name=="开始"&&xe(pe).isAfter(Ce)?pe=xe(Qe).add(re,"hours").format("YYYY-MM-DD HH:00"):R.name=="结束"&&xe(pe).isBefore(Ke)&&(pe=xe(Qe).add(-re,"hours").format("YYYY-MM-DD HH:00")),k={name:"开始/结束",value:R.name=="开始"?`${Qe}/${pe}`:`${pe}/${Qe}`}}else k={name:R.name,value:Qe}}else k={name:w.seriesName,data:W[q].data};k.name&&a("getNewSeriesData",k),y.getZr().on("mousemove",function(Ce){let Ke=Ce.offsetX,$e=Ce.offsetY;y.dispatchAction({type:"showTip",x:Ke,y:$e})})})}}),window.onresize=function(){y.resize()}},x=D=>{O.nextTick(()=>{y&&y.resize()})},F=(D,M)=>{y.dispatchAction({type:M?"legendSelect":"legendUnSelect",name:D})};function S(D){return D.month()===0&&D.date()===1&&D.hour()===0&&D.minute()===0}function E(D){D.preventDefault();let M=document.querySelector("body .chartMenu");M&&M.remove();let H=D.pageX,K=D.pageY,N=document.createElement("ul");N.style.position="absolute",N.style.left=H+"px",N.style.top=K+"px",N.className="chartMenu";let ue=document.createElement("li");ue.style.cursor="pointer",ue.innerHTML=`<div><img src='${yk}'><span>还原缩放</span></div>`,N.appendChild(ue);let ie=document.createElement("li");ie.style.cursor="pointer",ie.innerHTML=`<div><img src='${wk}'><span>复制图片</span></div>`,N.appendChild(ie);let Se=document.createElement("li");Se.style.cursor="pointer",Se.innerHTML=`<div><img src='${Ck}'><span>导出图片</span></div>`,N.appendChild(Se),ue.addEventListener("click",()=>{y.dispatchAction({type:"dataZoom",dataZoomIndex:0,start:0,end:100})}),ie.addEventListener("click",()=>{k1(r.value,{useCORS:!0,scale:2,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(He=>{const G=He.toDataURL("image/png"),de=I(G,"图片");U(de),Ai.ElMessage.success("复制成功")})}),Se.addEventListener("click",()=>{P()}),document.body.appendChild(N),document.addEventListener("click",()=>{N.parentNode&&document.body.removeChild(N)})}const I=(D,M="file")=>{const H=D.split(","),K=H[0].match(/:(.*?);/)[1],N=K.split("/")[1],ue=window.atob(H[1]);let ie=ue.length;const Se=new Uint8Array(ie);for(;ie--;)Se[ie]=ue.charCodeAt(ie);return new File([Se],`${M}.${N}`,{type:K})},U=D=>{const M=new FileReader;M.onload=H=>{const K=H.target.result.toString(),N=new Image;N.src=K,N.onload=()=>{let ue=T(N),ie=L(ue.replace("data:image/png;base64,",""),"image/png",512);navigator.clipboard.write([new ClipboardItem({"image/png":ie})])}},M.readAsDataURL(D)},T=D=>{let M=document.createElement("canvas");return M.width=D.width,M.height=D.height,M.getContext("2d").drawImage(D,0,0,D.width,D.height),M.toDataURL("image/png")},L=(D,M,H)=>{M=M||"",H=H||512;let K=window.atob(D),N=[];for(let ie=0;ie<K.length;ie+=H){let Se=K.slice(ie,ie+H),He=new Array(Se.length);for(let de=0;de<Se.length;de++)He[de]=Se.charCodeAt(de);let G=new Uint8Array(He);N.push(G)}return new Blob(N,{type:M})},P=()=>{k1(r.value,{useCORS:!0,scale:1,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(D=>{const M=D.toDataURL("image/png"),H=document.createElement("a");H.href=M,H.download=n.chartOption.title,H.click()})},Z=O.ref();function V(){return Z.value?Z.value.offsetHeight:0}function X(D,M){return new Promise(H=>{X2({STCD:n.chartOption.stationCode,rzw:D}).then(K=>{K.statusCode==200&&K.data?H(K.data):H(M*1e3)})})}function ee(D,M){if(D.length>0){let H=D.filter(N=>xe(N[0]).isBefore(xe(M))),K=D.filter(N=>xe(N[0]).isAfter(xe(M)));if(H.length==0)return[M,K[0][1]];if(K.length==0)return[M,H[H.length-1][1]];{let N=xe(M).diff(xe(H[H.length-1][0]),"seconds"),ue=K[0][1]-H[H.length-1][1],ie=xe(K[0][0]).diff(xe(H[H.length-1][0]),"seconds"),Se=N*ue/ie+H[H.length-1][1];return[M,Number(Se)]}}}function te(D){var ie;let M=(ie=n.chartOption.series.find(Se=>Se.name=="开始"))==null?void 0:ie.data.value;const H=xe(M),K=xe(D),N=H.year()===K.year();return N&&H.month()===K.month()?K.format("DD HH:mm"):N?K.format("MM-DD HH:mm"):K.format("YYYY-MM-DD HH:mm")}return e({getLegendBoxHeight:V,onChange:g}),(D,M)=>{const H=O.resolveComponent("el-checkbox"),K=O.resolveComponent("svg-icon"),N=O.resolveComponent("el-icon"),ue=O.resolveComponent("el-dropdown-item"),ie=O.resolveComponent("el-dropdown-menu"),Se=O.resolveComponent("el-dropdown"),He=O.resolveDirective("resize");return O.withDirectives((O.openBlock(),O.createElementBlock("div",{class:"box",ref_key:"chartBox",ref:r,onContextmenu:M[1]||(M[1]=G=>E(G))},[O.withDirectives((O.openBlock(),O.createElementBlock("div",_k,[O.createTextVNode(O.toDisplayString(A.chartOption.title),1)])),[[O.vShow,A.chartOption.title],[He,x]]),O.withDirectives((O.openBlock(),O.createElementBlock("div",Qk,[O.createTextVNode(O.toDisplayString(A.chartOption.subTitle),1)])),[[O.vShow,A.chartOption.subTitle],[He,x]]),O.withDirectives((O.openBlock(),O.createElementBlock("div",{class:"legend-box",ref_key:"myLegend",ref:Z},[c.value.length>1?(O.openBlock(),O.createBlock(H,{key:0,modelValue:h.value,"onUpdate:modelValue":M[0]||(M[0]=G=>h.value=G),label:"全选",onChange:d,style:{"--fill-color":"#409EFF"}},null,8,["modelValue"])):O.createCommentVNode("",!0),(O.openBlock(!0),O.createElementBlock(O.Fragment,null,O.renderList(c.value,(G,de)=>(O.openBlock(),O.createElementBlock(O.Fragment,{key:de},[G.children?O.createCommentVNode("",!0):(O.openBlock(),O.createBlock(H,{key:0,modelValue:G.isSelected,"onUpdate:modelValue":De=>G.isSelected=De,onChange:De=>g(De,G.name),style:O.normalizeStyle({"--fill-color":G.color?G.color:"#409EFF"})},{default:O.withCtx(()=>[G.icon?(O.openBlock(),O.createBlock(K,{key:0,"icon-class":G.icon,style:O.normalizeStyle({width:G.iconWidth?G.iconWidth+"px":"20px",height:G.iconHeight?G.iconHeight+"px":"20px"}),color:G.color},null,8,["icon-class","style","color"])):O.createCommentVNode("",!0),O.createElementVNode("span",{style:O.normalizeStyle({color:G.color,marginLeft:"3px"})},O.toDisplayString(G.key?G.key:G.name),5),G.children&&G.children.length>0?(O.openBlock(),O.createBlock(N,{key:1,class:"el-icon--right"},{default:O.withCtx(()=>[O.createVNode(O.unref(V1))]),_:1})):O.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])),G.children&&G.children.length>0?(O.openBlock(),O.createBlock(Se,{key:1,"hide-on-click":!1},{dropdown:O.withCtx(()=>[O.createVNode(ie,null,{default:O.withCtx(()=>[(O.openBlock(!0),O.createElementBlock(O.Fragment,null,O.renderList(G.children,(De,st)=>(O.openBlock(),O.createBlock(ue,{key:st},{default:O.withCtx(()=>[O.createVNode(H,{modelValue:De.isSelected,"onUpdate:modelValue":tr=>De.isSelected=tr,onChange:tr=>g(tr,De.name),style:O.normalizeStyle({"--fill-color":De.color?De.color:"#409EFF"})},{default:O.withCtx(()=>[O.createElementVNode("div",xk,[De.icon?(O.openBlock(),O.createBlock(K,{key:0,"icon-class":De.icon,style:O.normalizeStyle({width:De.iconWidth?De.iconWidth+"px":"20px",height:De.iconHeight?De.iconHeight+"px":"20px"}),color:De.color},null,8,["icon-class","style","color"])):O.createCommentVNode("",!0)]),O.createElementVNode("span",{style:O.normalizeStyle({color:De.color,marginLeft:"3px"})},O.toDisplayString(De.key?De.key:De.name),5)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024))),128))]),_:2},1024)]),default:O.withCtx(()=>[O.createVNode(H,{modelValue:G.isSelected,"onUpdate:modelValue":De=>G.isSelected=De,onChange:De=>g(De,G.name),style:O.normalizeStyle({"--fill-color":G.color?G.color:"#409EFF"})},{default:O.withCtx(()=>[G.icon?(O.openBlock(),O.createBlock(K,{key:0,"icon-class":G.icon,style:O.normalizeStyle({width:G.iconWidth?G.iconWidth+"px":"20px",height:G.iconHeight?G.iconHeight+"px":"20px"}),color:G.color},null,8,["icon-class","style","color"])):O.createCommentVNode("",!0),O.createElementVNode("span",{style:O.normalizeStyle({color:G.color,marginLeft:"3px"})},O.toDisplayString(G.key?G.key:G.name),5),G.children&&G.children.length>0?(O.openBlock(),O.createBlock(N,{key:1,class:"el-icon--right"},{default:O.withCtx(()=>[O.createVNode(O.unref(V1))]),_:1})):O.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024)):O.createCommentVNode("",!0)],64))),128))])),[[He,x]]),O.createElementVNode("div",Fk,[O.createElementVNode("div",{id:A.id,style:O.normalizeStyle({width:A.width,height:A.height})},null,12,Ek)])],32)),[[He,x]])}}},[["__scopeId","data-v-4880a23b"]]),bk=O.defineComponent({props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(A){return{iconName:O.computed(()=>`#icon-${A.iconClass}`),svgClass:O.computed(()=>A.className?`svg-icon ${A.className}`:"svg-icon")}}}),Sk=["xlink:href","fill"];function Uk(A,e,t,r,n,i){return O.openBlock(),O.createElementBlock("svg",{class:O.normalizeClass(A.svgClass),"aria-hidden":"true"},[O.createElementVNode("use",{"xlink:href":A.iconName,fill:A.color},null,8,Sk)],2)}const Ik=K1(bk,[["render",Uk]]);_f.install=A=>{A.component("SvgIcon",Ik),A.component("ElCheckbox",Ai.ElCheckbox),A.component("ElIcon",Ai.ElIcon),A.component("ElDropdown",Ai.ElDropdown),A.component("ElDropdownMenu",Ai.ElDropdownMenu),A.component("ElDropdownItem",Ai.ElDropdownItem),A.component("HydroGraph",_f)},TA.HydroGraph=_f,TA.default=_f,Object.defineProperties(TA,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
117
+ </div>`}q+=re}}),q}}},legend:{show:!1,selected:m},grid:ie,axisPointer:{link:{xAxisIndex:"all"}},xAxis:Se,yAxis:He,dataZoom:[{type:"inside",xAxisIndex:[0,1],zoomLock:!!n.chartOption.zoomLock,start:n.chartOption.viewDataRange?n.chartOption.viewDataRange[0]:0,end:n.chartOption.viewDataRange?n.chartOption.viewDataRange[1]:100,moveOnMouseMove:n.chartOption.series.some(w=>w.openBarDrag&&(w.type=="line"||w.type=="markLine"))?"ctrl":!0}],series:de},n.chartOption.visualMap&&(C.value.visualMap=n.chartOption.visualMap.map(w=>{let q=de[w.seriesIndex],O=[],se=[];return w.step?se=Y2(w.pieces,w.step):se=w.pieces,se.forEach((ge,Ee)=>{let re=new Date(ge.startTm).getTime(),k=new Date(ge.endTm).getTime();Ee==0?O.push({lt:re,color:q.itemStyle.color},{gte:re,lte:k,color:w.color?w.color:"red"}):O.push({gt:O[O.length-1].lte,lt:re,color:q.itemStyle.color},{gte:re,lte:k,color:w.color?w.color:"red"})}),O.push({gt:O[O.length-1].lte,color:q.itemStyle.color}),{show:!1,dimension:w.dimension?w.dimension:0,seriesIndex:w.seriesIndex,pieces:O}})),JSON.stringify(o)!="{}"&&(C.value.dataZoom[0]=o),console.log(C.value),y.setOption(C.value,!0),y.getOption().series.map(w=>{w.markPoint&&(p[w.name]=w.markPoint)}),n.chartOption.isTooltipItem){let w=document.createElement("div");w.className="line-name-tooltip-style",_.appendChild(w),y.on("mouseover",function(q){q.componentType==="series"&&q.seriesType==="line"?(w.innerText=`${q.seriesName}`,w.style.left=`${q.event.offsetX}px`,w.style.top=`${q.event.offsetY}px`,w.style.opacity="1"):w&&(w.style.opacity="0")}),y.on("mouseout",function(q){w&&(w.style.opacity="0")})}else{const w=_.querySelectorAll(".line-name-tooltip-style");w.length>0&&w.forEach(q=>{q.remove()})}y.off("click"),y.on("click",w=>{var q;if(M.find(O=>O.name==w.seriesName)){let O=M.find(se=>se.name==w.seriesName);if(w.seriesType==="line"){const se=w.data,ge=w.seriesIndex;let Ee=y.getOption().series[ge].markPoint?y.getOption().series[ge].markPoint.data:[],re=Ee.filter(z=>z.name!="Max"&&z.name!="Min").map(z=>z.coord[0]),k=[],ce;N.forEach((z,W)=>{xe(z).isValid()&&z==se[0]&&(W>=N.length/5*4?ce=[-200,0]:W>=N.length/5*3?ce=[-150,0]:W>=N.length/5*2?ce=[-100,0]:W>=N.length/5*1?ce=[-50,0]:W>=0&&(ce=[0,0]))}),re.includes(w.value[0])?k=Ee.filter(z=>z.name=="Max"||z.name=="Min"||z.coord[0]!=w.value[0]):k=[...Ee,{coord:se,name:`${se[0]}
118
+ ${w.seriesName}: ${se[1]} ${O.unit}`,label:{offset:ce||[-120,0]}}],C.value.series[ge].markPoint={symbol:"pin",symbolSize:20,label:{show:!0,position:"top",align:"left",fontSize:16,backgroundColor:O.backgroundColor?O.backgroundColor:i[O.name]?i[O.name].color:O.color,borderRadius:6,shadowColor:"#666666",shadowBlur:5,shadowOffsetX:3,shadowOffsetY:3,fontWeight:"bold",padding:[4,4,4,4],lineHeight:30,color:O.markPointColor?O.markPointColor:"#fff",formatter:z=>{let W="",Qe=O.tmType?O.tmType:"YYYY-MM-DD HH:mm";z.data&&z.data.coord&&z.data.coord[0]&&(W=xe(z.data.coord[0]).format(Qe));let ne="",pe="";if(z.name=="Max"||z.name=="Min"){if(z.name=="Max")return ne=O.maxText?O.maxText:"最大值",O.unit.includes("m³")?pe=z.value?Aa(z.value):"--":O.unit.includes("mm")?pe=z.value?Number(z.value).toFixed(1):"--":O.unit.includes("m")?pe=z.value?Number(z.value).toFixed(2):"--":pe=z.value,O.tmText?`${ne}: {a0|${pe}} ${O.unit}
119
+ ${O.tmText}: {a1|${W}}`:`${O.tmText2?O.tmText2:"相应时间"}: {a1|${W}}
120
+ ${ne}: {a0|${pe}} ${O.unit}`}else return`相应时间: {a1|${xe(z.data.coord[0]).format(Qe)}}
121
+ ${O.name}: {a0|${z.data.coord[1]}} ${O.unit}`},rich:{a0:{fontSize:25,fontFamily:"Times New Roman"},a1:{fontSize:20,fontFamily:"Times New Roman"}}},data:k},C.value.dataZoom[0]={...(q=y.getOption())==null?void 0:q.dataZoom[0]},y.setOption(C.value,!0),y.getOption().series.map(z=>{z.markPoint&&(p[z.name]=z.markPoint)})}}}),y.on("mousedown",function(w){y.setOption({tooltip:{show:!1}}),y.dispatchAction({type:"hideTip"});let q=w.seriesIndex,O=n.chartOption.series[q],se=O.stepTM?O.stepTM:60,ge="",Ee="",re="";if(O.openBarDrag){let k={},ce={},z=n.chartOption.yAxis[O.yAxisIndex],W=[];w.componentType=="markLine"&&O.data.name=="xAxis"?W=C.value.series.map((Ce,Ke)=>Ce.name=="开始"||Ce.name=="结束"?JSON.parse(JSON.stringify(Ce)):{}):W=C.value.series.map((Ce,Ke)=>Ke==q?{data:JSON.parse(JSON.stringify(Ce.data))}:{});let Qe,ne,pe;n.chartOption.fixedTimePeriod&&(ge=n.chartOption.series.find(Ce=>Ce.name=="开始").data.value,Ee=n.chartOption.series.find(Ce=>Ce.name=="结束").data.value,re=xe(Ee).diff(xe(ge),"hour")),y.getZr().off("mousemove"),y.getZr().off("mouseup"),y.getZr().on("mousemove",function(Ce){if(w.componentType=="markLine"&&O.data.name=="xAxis"){let Ke=y.convertFromPixel({xAxisIndex:O.xAxisIndex},Ce.offsetX),$e=xe(Ke).format("YYYY-MM-DD HH:00");if($e!==Qe){const BA=xe($e),Ar=xe(N[N.length-1]),_f=ue?xe(ue):"";if(BA.isAfter(Ar)||BA.isBefore(_f))return;if(n.chartOption.fixedTimePeriod){if(O.name=="开始"?pe=xe($e).add(re,"hours").format("YYYY-MM-DD HH:00"):O.name=="结束"&&(pe=xe($e).add(-re,"hours").format("YYYY-MM-DD HH:00")),O.name=="开始"&&xe(pe).isAfter(Ar))return;if(O.name=="结束"&&xe(pe).isBefore(_f))return;W.forEach(At=>{O.name=="开始"?At.name=="开始"?(At.markLine.data[0].xAxis=$e,At.markArea.data[0][0].xAxis=$e,At.markArea.data[0][1].xAxis=pe):At.name=="结束"&&(At.markLine.data[0].xAxis=pe):O.name=="结束"&&(At.name=="开始"?(At.markLine.data[0].xAxis=pe,At.markArea.data[0][0].xAxis=pe,At.markArea.data[0][1].xAxis=$e):At.name=="结束"&&(At.markLine.data[0].xAxis=$e))})}else W.forEach(At=>{O.name=="开始"?At.name=="开始"&&(At.markLine.data[0].xAxis=$e,At.markArea.data[0][0].xAxis=$e):O.name=="结束"&&(At.name=="开始"?At.markArea.data[0][1].xAxis=$e:At.name=="结束"&&(At.markLine.data[0].xAxis=$e))});y.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),Qe=$e}}else{let[Ke,$e]=y.convertFromPixel({seriesIndex:q},[Ce.offsetX,Ce.offsetY]);if(xe(Ke).format("YYYY-MM-DD HH:00")!==Qe||!ne||Math.abs($e-ne)>=.5){const BA=xe(Ke).format("YYYY-MM-DD HH:00");ce[BA]=$e;let Ar=Object.keys(ce),_f=new Set(Ar);W[q].data.forEach(Pt=>{_f.has(Pt[0])&&(Pt[1]=ce[Pt[0]])});let At=R_(new Date(Ar[0]),new Date(Ar[Ar.length-1]),se),bp=Object.entries(ce),Ik=new Set(Ar);At.forEach(Pt=>{Ik.has(Pt)||bp.push(ee(bp,Pt))});let $o={};bp.forEach(Pt=>{$o[Pt[0]]=Pt[1]});let Tk=Object.keys($o),Dk=new Set(Tk);W[q].data.forEach(Pt=>{if(Dk.has(Pt[0])){let Qf="";z.name.includes("m³")?Qf=Aa($o[Pt[0]]):z.name.includes("mm")?Qf=$o[Pt[0]].toFixed(1):z.name.includes("m")&&(Qf=$o[Pt[0]].toFixed(2)),Pt[1]=Qf}}),y.setOption({series:W},{notMerge:!1,lazyUpdate:!0}),Qe=BA,ne=$e}}}),y.getZr().on("mouseup",function(){if(y.getZr().off("mousemove"),y.getZr().off("mouseup"),w.componentType=="markLine"&&O.data.name=="xAxis"){if(Qe)if(pe){const Ce=xe(N[N.length-1]),Ke=ue?xe(ue):"";O.name=="开始"&&xe(pe).isAfter(Ce)?pe=xe(Qe).add(re,"hours").format("YYYY-MM-DD HH:00"):O.name=="结束"&&xe(pe).isBefore(Ke)&&(pe=xe(Qe).add(-re,"hours").format("YYYY-MM-DD HH:00")),k={name:"开始/结束",value:O.name=="开始"?`${Qe}/${pe}`:`${pe}/${Qe}`}}else k={name:O.name,value:Qe}}else k={name:w.seriesName,data:W[q].data};k.name&&a("getNewSeriesData",k),y.getZr().on("mousemove",function(Ce){let Ke=Ce.offsetX,$e=Ce.offsetY;y.dispatchAction({type:"showTip",x:Ke,y:$e})})})}}),window.onresize=function(){y.resize()}},x=D=>{R.nextTick(()=>{y&&y.resize()})},F=(D,M)=>{y.dispatchAction({type:M?"legendSelect":"legendUnSelect",name:D})};function S(D){return D.month()===0&&D.date()===1&&D.hour()===0&&D.minute()===0}function E(D){D.preventDefault();let M=document.querySelector("body .chartMenu");M&&M.remove();let H=D.pageX,K=D.pageY,N=document.createElement("ul");N.style.position="absolute",N.style.left=H+"px",N.style.top=K+"px",N.className="chartMenu";let ue=document.createElement("li");ue.style.cursor="pointer",ue.innerHTML=`<div><img src='${mk}'><span>还原缩放</span></div>`,N.appendChild(ue);let ie=document.createElement("li");ie.style.cursor="pointer",ie.innerHTML=`<div><img src='${yk}'><span>复制图片</span></div>`,N.appendChild(ie);let Se=document.createElement("li");Se.style.cursor="pointer",Se.innerHTML=`<div><img src='${wk}'><span>导出图片</span></div>`,N.appendChild(Se),ue.addEventListener("click",()=>{y.dispatchAction({type:"dataZoom",dataZoomIndex:0,start:0,end:100})}),ie.addEventListener("click",()=>{k1(r.value,{useCORS:!0,scale:2,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(He=>{const G=He.toDataURL("image/png"),de=I(G,"图片");U(de),K1.ElMessage.success("复制成功")})}),Se.addEventListener("click",()=>{P()}),document.body.appendChild(N),document.addEventListener("click",()=>{N.parentNode&&document.body.removeChild(N)})}const I=(D,M="file")=>{const H=D.split(","),K=H[0].match(/:(.*?);/)[1],N=K.split("/")[1],ue=window.atob(H[1]);let ie=ue.length;const Se=new Uint8Array(ie);for(;ie--;)Se[ie]=ue.charCodeAt(ie);return new File([Se],`${M}.${N}`,{type:K})},U=D=>{const M=new FileReader;M.onload=H=>{const K=H.target.result.toString(),N=new Image;N.src=K,N.onload=()=>{let ue=T(N),ie=L(ue.replace("data:image/png;base64,",""),"image/png",512);navigator.clipboard.write([new ClipboardItem({"image/png":ie})])}},M.readAsDataURL(D)},T=D=>{let M=document.createElement("canvas");return M.width=D.width,M.height=D.height,M.getContext("2d").drawImage(D,0,0,D.width,D.height),M.toDataURL("image/png")},L=(D,M,H)=>{M=M||"",H=H||512;let K=window.atob(D),N=[];for(let ie=0;ie<K.length;ie+=H){let Se=K.slice(ie,ie+H),He=new Array(Se.length);for(let de=0;de<Se.length;de++)He[de]=Se.charCodeAt(de);let G=new Uint8Array(He);N.push(G)}return new Blob(N,{type:M})},P=()=>{k1(r.value,{useCORS:!0,scale:1,width:r.value.offsetWidth,height:r.value.offsetHeight+50,backgroundColor:"#fff",allowTaint:!0,removeContainer:!0}).then(D=>{const M=D.toDataURL("image/png"),H=document.createElement("a");H.href=M,H.download=n.chartOption.title,H.click()})},Z=R.ref();function V(){return Z.value?Z.value.offsetHeight:0}function X(D,M){return new Promise(H=>{X2({STCD:n.chartOption.stationCode,rzw:D}).then(K=>{K.statusCode==200&&K.data?H(K.data):H(M*1e3)})})}function ee(D,M){if(D.length>0){let H=D.filter(N=>xe(N[0]).isBefore(xe(M))),K=D.filter(N=>xe(N[0]).isAfter(xe(M)));if(H.length==0)return[M,K[0][1]];if(K.length==0)return[M,H[H.length-1][1]];{let N=xe(M).diff(xe(H[H.length-1][0]),"seconds"),ue=K[0][1]-H[H.length-1][1],ie=xe(K[0][0]).diff(xe(H[H.length-1][0]),"seconds"),Se=N*ue/ie+H[H.length-1][1];return[M,Number(Se)]}}}function te(D){var ie;let M=(ie=n.chartOption.series.find(Se=>Se.name=="开始"))==null?void 0:ie.data.value;const H=xe(M),K=xe(D),N=H.year()===K.year();return N&&H.month()===K.month()?K.format("DD HH:mm"):N?K.format("MM-DD HH:mm"):K.format("YYYY-MM-DD HH:mm")}return e({getLegendBoxHeight:V,onChange:g}),(D,M)=>{const H=R.resolveComponent("el-checkbox"),K=R.resolveComponent("svg-icon"),N=R.resolveComponent("el-icon"),ue=R.resolveComponent("el-dropdown-item"),ie=R.resolveComponent("el-dropdown-menu"),Se=R.resolveComponent("el-dropdown"),He=R.resolveDirective("resize");return R.withDirectives((R.openBlock(),R.createElementBlock("div",{class:"box",ref_key:"chartBox",ref:r,onContextmenu:M[1]||(M[1]=G=>E(G))},[R.withDirectives((R.openBlock(),R.createElementBlock("div",Ck,[R.createTextVNode(R.toDisplayString(A.chartOption.title),1)])),[[R.vShow,A.chartOption.title],[He,x]]),R.withDirectives((R.openBlock(),R.createElementBlock("div",_k,[R.createTextVNode(R.toDisplayString(A.chartOption.subTitle),1)])),[[R.vShow,A.chartOption.subTitle],[He,x]]),R.withDirectives((R.openBlock(),R.createElementBlock("div",{class:"legend-box",ref_key:"myLegend",ref:Z},[c.value.length>1?(R.openBlock(),R.createBlock(H,{key:0,modelValue:h.value,"onUpdate:modelValue":M[0]||(M[0]=G=>h.value=G),label:"全选",onChange:d,style:{"--fill-color":"#409EFF"}},null,8,["modelValue"])):R.createCommentVNode("",!0),(R.openBlock(!0),R.createElementBlock(R.Fragment,null,R.renderList(c.value,(G,de)=>(R.openBlock(),R.createElementBlock(R.Fragment,{key:de},[G.children?R.createCommentVNode("",!0):(R.openBlock(),R.createBlock(H,{key:0,modelValue:G.isSelected,"onUpdate:modelValue":De=>G.isSelected=De,onChange:De=>g(De,G.name),style:R.normalizeStyle({"--fill-color":G.color?G.color:"#409EFF"})},{default:R.withCtx(()=>[G.icon?(R.openBlock(),R.createBlock(K,{key:0,"icon-class":G.icon,style:R.normalizeStyle({width:G.iconWidth?G.iconWidth+"px":"20px",height:G.iconHeight?G.iconHeight+"px":"20px"}),color:G.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0),R.createElementVNode("span",{style:R.normalizeStyle({color:G.color,marginLeft:"3px"})},R.toDisplayString(G.key?G.key:G.name),5),G.children&&G.children.length>0?(R.openBlock(),R.createBlock(N,{key:1,class:"el-icon--right"},{default:R.withCtx(()=>[R.createVNode(R.unref(Sp.ArrowDown))]),_:1})):R.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])),G.children&&G.children.length>0?(R.openBlock(),R.createBlock(Se,{key:1,"hide-on-click":!1},{dropdown:R.withCtx(()=>[R.createVNode(ie,null,{default:R.withCtx(()=>[(R.openBlock(!0),R.createElementBlock(R.Fragment,null,R.renderList(G.children,(De,st)=>(R.openBlock(),R.createBlock(ue,{key:st},{default:R.withCtx(()=>[R.createVNode(H,{modelValue:De.isSelected,"onUpdate:modelValue":tr=>De.isSelected=tr,onChange:tr=>g(tr,De.name),style:R.normalizeStyle({"--fill-color":De.color?De.color:"#409EFF"})},{default:R.withCtx(()=>[R.createElementVNode("div",Qk,[De.icon?(R.openBlock(),R.createBlock(K,{key:0,"icon-class":De.icon,style:R.normalizeStyle({width:De.iconWidth?De.iconWidth+"px":"20px",height:De.iconHeight?De.iconHeight+"px":"20px"}),color:De.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0)]),R.createElementVNode("span",{style:R.normalizeStyle({color:De.color,marginLeft:"3px"})},R.toDisplayString(De.key?De.key:De.name),5)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024))),128))]),_:2},1024)]),default:R.withCtx(()=>[R.createVNode(H,{modelValue:G.isSelected,"onUpdate:modelValue":De=>G.isSelected=De,onChange:De=>g(De,G.name),style:R.normalizeStyle({"--fill-color":G.color?G.color:"#409EFF"})},{default:R.withCtx(()=>[G.icon?(R.openBlock(),R.createBlock(K,{key:0,"icon-class":G.icon,style:R.normalizeStyle({width:G.iconWidth?G.iconWidth+"px":"20px",height:G.iconHeight?G.iconHeight+"px":"20px"}),color:G.color},null,8,["icon-class","style","color"])):R.createCommentVNode("",!0),R.createElementVNode("span",{style:R.normalizeStyle({color:G.color,marginLeft:"3px"})},R.toDisplayString(G.key?G.key:G.name),5),G.children&&G.children.length>0?(R.openBlock(),R.createBlock(N,{key:1,class:"el-icon--right"},{default:R.withCtx(()=>[R.createVNode(R.unref(Sp.ArrowDown))]),_:1})):R.createCommentVNode("",!0)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange","style"])]),_:2},1024)):R.createCommentVNode("",!0)],64))),128))])),[[He,x]]),R.createElementVNode("div",xk,[R.createElementVNode("div",{id:A.id,style:R.normalizeStyle({width:A.width,height:A.height})},null,12,Fk)])],32)),[[He,x]])}}},[["__scopeId","data-v-4880a23b"]]),Ek=R.defineComponent({props:{iconClass:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""}},setup(A){return{iconName:R.computed(()=>`#icon-${A.iconClass}`),svgClass:R.computed(()=>A.className?`svg-icon ${A.className}`:"svg-icon")}}}),bk=["xlink:href","fill"];function Sk(A,e,t,r,n,i){return R.openBlock(),R.createElementBlock("svg",{class:R.normalizeClass(A.svgClass),"aria-hidden":"true"},[R.createElementVNode("use",{"xlink:href":A.iconName,fill:A.color},null,8,bk)],2)}const Uk=V1(Ek,[["render",Sk]]);Cf.install=A=>{A.component("SvgIcon",Uk),A.component("HydroGraph",Cf)},mA.HydroGraph=Cf,mA.default=Cf,Object.defineProperties(mA,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));