Files
YG_FT/frontend/dist/assets/install-DD1EflGB.js

42 lines
489 KiB
JavaScript
Raw Normal View History

var p_=Object.defineProperty;var g_=(e,t,r)=>t in e?p_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var cc=(e,t,r)=>g_(e,typeof t!="symbol"?t+"":t,r);import{d as m_,aV as y_,D as yo,a1 as tg,G as eg,H as __,I as _l,aQ as Sl,j as Pi,P as S_,bz as T_,ah as w_,B as _o,c_ as Ks,bg as x_,bW as So}from"./index-Dd84m4NL.js";/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Tl=function(e,t){return Tl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Tl(e,t)};function z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Tl(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var b_=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),C_=(function(){function e(){this.browser=new b_,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e})(),K=new C_;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(K.wxa=!0,K.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?K.worker=!0:!K.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(K.node=!0,K.svgSupported=!0):M_(navigator.userAgent,K);function M_(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11);var s=t.domSupported=typeof document<"u";if(s){var u=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in u||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}}var Gf=12,D_="sans-serif",Sr=Gf+"px "+D_,A_=20,L_=100,I_="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function P_(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-A_)/L_;t[n]=i}return t}var E_=P_(I_),ee={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var e,t;return function(r,n){if(!e){var i=ee.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||Sr),e.measureText(r);r=r||"",n=n||Sr;var a=/((?:\d+)?\.?\d*)px/.exec(n),o=a&&+a[1]||Gf,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u<r.length;u++){var l=E_[r[u]];s+=l==null?o:l*o}return{width:s}}})(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n},getTime:function(){return Date.now?Date.now():+new Date}},rg=Tr(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),ng=Tr(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ga=Object.prototype.toString,Ss=Array.prototype,R_=Ss.forEach,O_=Ss.filter,Uf=Ss.slice,k_=Ss.map,vc=(function(){}).constructor,Aa=vc?vc.prototype:null,Wf="__proto__",Qs=2311,B_=Math.pow(2,53)-1;function ig(){return Qs>=B_&&(Qs=0),Qs++}function Yf(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function rt(e){if(e==null||typeof e!="object")return e;var t=e,r=ga.call(e);if(r==="[object Array]"){if(!Hi(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=rt(e[n])}}else if(ng[r]){if(!Hi(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!rg[r]&&!Hi(e)&&!ta(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Wf&&(t[o]=rt(e[o]))}return t}function lt(
`),a=i.length;if(a===1)return Uc(i[0],t,r,n);for(var o=new Z(0,0,0,0),s=0;s<i.length;s++){var u=Uc(i[s],t,r,n);s===0?o.copy(u):o.union(u)}return o}function Kn(e,t,r,n){return r==="right"?n?e+=t:e-=t:r==="center"&&(n?e+=t/2:e-=t/2),e}function nn(e,t,r,n){return r==="middle"?n?e+=t/2:e-=t/2:r==="bottom"&&(n?e+=t:e-=t),e}function bs(e){return Fe(e).stWideCharWidth}function Qn(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Ag(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,f="left",h="top";if(n instanceof Array)u+=Qn(n[0],r.width),l+=Qn(n[1],r.height),f=null,h=null;else switch(n){case"left":u-=i,l+=s,f="right",h="middle";break;case"right":u+=i+o,l+=s,h="middle";break;case"top":u+=o/2,l-=i,f="center",h="bottom";break;case"bottom":u+=o/2,l+=a+i,f="center";break;case"inside":u+=o/2,l+=s,f="center",h="middle";break;case"insideLeft":u+=i,l+=s,h="middle";break;case"insideRight":u+=o-i,l+=s,f="right",h="middle";break;case"insideTop":u+=o/2,l+=i,f="center";break;case"insideBottom":u+=o/2,l+=a-i,f="center",h="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=o-i,l+=i,f="right";break;case"insideBottomLeft":u+=i,l+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,l+=a-i,f="right",h="bottom";break}return e=e||{},e.x=u,e.y=l,e.align=f,e.verticalAlign=h,e}var _u="__zr_normal__",Su=xs.concat(["ignore"]),rS=Tr(xs,function(e,t){return e[t]=!0,e},{ignore:!1}),Tn={},nS=new Z(0,0,0,0),Na=[],Mo=0,Cs=1,Ms=(function(){function e(t){this.id=ig(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=i?this:null;var l=!1;a.copyTransform(r);var f=n.position!=null,h=n.autoOverflowArea,c=void 0;if((h||f)&&(c=nS,n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform)),f){this.calculateTextPosition?this.calculateTextPosition(Tn,n,c):Ag(Tn,n,c),a.x=Tn.x,a.y=Tn.y,o=Tn.align,s=Tn.verticalAlign;var v=n.origin;if(v&&n.rotation!=null){var d=void 0,g=void 0;v==="center"?(d=c.width*.5,g=c.height*.5):(d=Qn(v[0],c.width),g=Qn(v[1],c.height)),l=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+g+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var p=n.offset;p&&(a.x+=p[0],a.y+=p[1],l||(a.originX=-p[0],a.originY=-p[1]));var m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(h){var y=m.overflowRect=m.overflowRect||new Z(0,0,0,0);a.getLocalTransform(Na),ya(Na,Na),Z.copy(y,c),y.applyTransform(Na)}else m.overflowRect=null;var _=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,S=void 0,T=void 0,w=void 0;_&&this.canBeInsideText()?(S=n.insideFill,T=n.insideStroke,(S==null||S==="auto")&&(S=this.getInsideTextFill()),(T==null||T==="auto")&&(T=this.getInsideTextStroke(S),w=!0)):(S=n.outsideFill,T=n.outsideStroke,(S==null||S==="auto")&&(S=this.getOutsideFill()),(T==null||T==="auto")&&(T=this.getOutsideStroke(S),w=!0)),S=S||"#000",(S!==m.fill||T!==m.stroke||w!==m.autoStroke||o!==m.align||s!==m.verticalAlign)&&(u=!0,m.fill=S,m.stroke=T,m.autoStroke=w,m.align=o,m.verticalAlign=s,r.setDefaultTextStyle(m)),r.__dirty|=$t,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Gl:Vl},e.prototype.ge
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE
*/var Do={},Ig={};function uS(e){delete Ig[e]}function lS(e){if(!e)return!1;if(typeof e=="string")return Zo(e,1)<Hl;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=Zo(t[i].color,1);return r/=n,r<Hl}return!1}var fS=(function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new A1,o=n.renderer||"canvas";Do[o]||(o=gt(Do)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new Do[o](r,a,n,t),u=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!K.node&&!K.worker&&!u?new j1(s.getViewportRoot(),s.root):null,f=n.useCoarsePointer,h=f==null||f==="auto"?K.touchEventsSupported:!!f,c=44,v;h&&(v=G(n.pointerSize,c)),this.handler=new cg(a,s,l,s.root,v),this.animation=new Y1({stage:{update:u?null:function(){return i._flush(!1)}}}),u||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=lS(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},e.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!0)},e.prototype._flush=function(t){var r,n=zn(),i=this._needsRefresh,a=this._needsRefreshHover;(i||a)&&(r=!0,this._refresh({animUpdate:t,refresh:i,refreshHover:a}));var o=zn();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof re&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.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,uS(this.id))},e})
`);a=Xg(r,n,i,a);for(var s=!1,u={},l=0,f=o.length;l<f;l++)Zg(u,o[l],a),o[l]=u.textLine,s=s||u.isTruncated;e.text=o.join(`
`),e.isTruncated=s}function Xg(e,t,r,n){n=n||{};var i=k({},n);r=G(r,"..."),i.maxIterations=G(n.maxIterations,2);var a=i.minChar=G(n.minChar,0),o=i.fontMeasureInfo=Fe(t),s=o.asciiCharWidth;i.placeholder=G(n.placeholder,"");for(var u=e=Math.max(0,e-1),l=0;l<a&&u>=s;l++)u-=s;var f=ze(o,r);return f>u&&(r="",f=0),u=e-f,i.ellipsis=r,i.ellipsisWidth=f,i.contentWidth=u,i.containerWidth=e,i}function Zg(e,t,r){var n=r.containerWidth,i=r.contentWidth,a=r.fontMeasureInfo;if(!n){e.textLine="",e.isTruncated=!1;return}var o=ze(a,t);if(o<=n){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=r.maxIterations){t+=r.ellipsis;break}var u=s===0?lT(t,i,a):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,u),o=ze(a,t)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function lT(e,t,r){for(var n=0,i=0,a=e.length;i<a&&n<t;i++)n+=Mg(r,e.charCodeAt(i));return i}function fT(e,t,r,n){var i=oh(e),a=t.overflow,o=t.padding,s=o?o[1]+o[3]:0,u=o?o[0]+o[2]:0,l=t.font,f=a==="truncate",h=bs(l),c=G(t.lineHeight,h),v=t.lineOverflow==="truncate",d=!1,g=t.width;g==null&&r!=null&&(g=r-s);var p=t.height;p==null&&n!=null&&(p=n-u);var m;g!=null&&(a==="break"||a==="breakAll")?m=i?$g(i,t.font,g,a==="breakAll",0).lines:[]:m=i?i.split(`
`):[];var y=m.length*c;if(p==null&&(p=y),y>p&&v){var _=Math.floor(p/c);d=d||m.length>_,m=m.slice(0,_),y=m.length*c}if(i&&f&&g!=null)for(var S=Xg(g,l,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),T={},w=0;w<m.length;w++)Zg(T,m[w],S),m[w]=T.textLine,d=d||T.isTruncated;for(var x=p,D=0,M=Fe(l),w=0;w<m.length;w++)D=Math.max(ze(M,m[w]),D);g==null&&(g=D);var C=g;return x+=u,C+=s,{lines:m,height:p,outerWidth:C,outerHeight:x,lineHeight:c,calculatedLineHeight:h,contentWidth:D,contentHeight:y,width:g,isTruncated:d}}var hT=(function(){function e(){}return e})(),rv=(function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e})(),cT=(function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e})();function vT(e,t,r,n,i){var a=new cT,o=oh(e);if(!o)return a;var s=t.padding,u=s?s[1]+s[3]:0,l=s?s[0]+s[2]:0,f=t.width;f==null&&r!=null&&(f=r-u);var h=t.height;h==null&&n!=null&&(h=n-l);for(var c=t.overflow,v=(c==="break"||c==="breakAll")&&f!=null?{width:f,accumWidth:0,breakAll:c==="breakAll"}:null,d=bu.lastIndex=0,g;(g=bu.exec(o))!=null;){var p=g.index;p>d&&Cu(a,o.substring(d,p),t,v),Cu(a,g[2],t,v,g[1]),d=bu.lastIndex}d<o.length&&Cu(a,o.substring(d,o.length),t,v);var m=[],y=0,_=0,S=c==="truncate",T=t.lineOverflow==="truncate",w={};function x(ut,jt,Ze){ut.width=jt,ut.lineHeight=Ze,y+=Ze,_=Math.max(_,jt)}t:for(var D=0;D<a.lines.length;D++){for(var M=a.lines[D],C=0,A=0,I=0;I<M.tokens.length;I++){var L=M.tokens[I],P=L.styleName&&t.rich[L.styleName]||{},E=L.textPadding=P.padding,R=E?E[1]+E[3]:0,N=L.font=P.font||t.font;L.contentHeight=bs(N);var X=G(P.height,L.contentHeight);if(L.innerHeight=X,E&&(X+=E[0]+E[2]),L.height=X,L.lineHeight=Gn(P.lineHeight,t.lineHeight,X),L.align=P&&P.align||i,L.verticalAlign=P&&P.verticalAlign||"middle",T&&h!=null&&y+L.lineHeight>h){var $=a.lines.length;I>0?(M.tokens=M.tokens.slice(0,I),x(M,A,C),a.lines=a.lines.slice(0,D+1)):a.lines=a.lines.slice(0,D),a.isTruncated=a.isTruncated||a.lines.length<$;break t}var J=P.width,q=J==null||J==="auto";if(typeof J=="string"&&J.charAt(J.length-1)==="%")L.percentWidth=J,m.push(L),L.contentWidth=ze(Fe(N),L.text);else{if(q){var tt=P.backgroundColor,et=tt&&tt.image;et&&(et=sT(et),As(et)&&(L.width=Math.max(L.width,et.width*X/et.height)))}var V=S&&f!=null?f-A:null;V!=null&&V<L.width?!q||V<R?(L.text="",L.width=L.contentWidth=0):(uT(w,L.text,V-R,N,t.ellipsis,{minChar:t.truncateMinChar}),L.text=w.text,a.isTruncated=a.isTruncated||w.isTruncated,L.width=L.contentWidth=ze(Fe(N),L.text)):L.contentWidth=ze(Fe(N),L.text)}L.width+=R,A+=L.width,P&&(C=Math.max(C,L.lineHeight))}x(M,A,C)}a.outerWidth=a.width=G(f,_),a.outerHeight=a.height=G(h,y),a.contentHeight=y,a.contentWidth=_,a.outerWidth+=u,a.outerHeight+=l;for(var D=0;D<m.length;D++){var L=m[D],it=L.percentWidth;L.width=parseInt(it,10)/100*a.width}return a}function Cu(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,u=o.font||r.font,l=!1,f,h;if(n){var c=o.padding,v=c?c[1]+c[3]:0;if(o.width!=null&&o.width!=="auto"){var d=Qn(o.width,n.width)+v;s.length>0&&d+n.accumWidth>n.width&&(f=t.split(`
`),l=!0),n.accumWidth=d}else{var g=$g(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=g.accumWidth+v,h=g.linesWidths,f=g.lines}}f||(f=t.split(`
`));for(var p=Fe(u),m=0;m<f.length;m++){var y=f[m],_=new hT;if(_.styleName=i,_.text=y,_.isLineHolder=!y&&!a,typeof o.width=="number"?_.width=o.width:_.width=h?h[m]:ze(p,y),!m&&!l){var S=(s[s.length-1]||(s[0]=new rv)).tokens,T=S.length;T===1&&S[0].isLineHolder?S[0]=_:(y||!T||a)&&S.push(_)}else s.push(new rv([_]))}}function dT(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var pT=Tr(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function gT(e){return dT(e)?!!pT[e]:!0}function $g(e,t,r,n,i){for(var a=[],o=[],s="",u="",l=0,f=0,h=Fe(t),c=0;c<e.length;c++){var v=e.charAt(c);if(v===`
`){u&&(s+=u,f+=l),a.push(s),o.push(f),s="",u="",l=0,f=0;continue}var d=Mg(h,v.charCodeAt(0)),g=n?!1:!gT(v);if(a.length?f+d>r:i+f+d>r){f?(s||u)&&(g?(s||(s=u,u="",l=0,f=l),a.push(s),o.push(f-l),u+=v,l+=d,s="",f=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(f),s=v,f=d)):g?(a.push(u),o.push(l),u=v,l=d):(a.push(v),o.push(d));continue}f+=d,g?(u+=v,l+=d):(u&&(s+=u,u="",l=0),s+=v)}return u&&(s+=u),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}function nv(e,t,r,n,i,a){if(e.baseX=r,e.baseY=n,e.outerWidth=e.outerHeight=null,!!t){var o=t.width*2,s=t.height*2;Z.set(iv,Kn(r,o,i),nn(n,s,a),o,s),Z.intersect(t,iv,null,av);var u=av.outIntersectRect;e.outerWidth=u.width,e.outerHeight=u.height,e.baseX=Kn(u.x,u.width,i,!0),e.baseY=nn(u.y,u.height,a,!0)}}var iv=new Z(0,0,0,0),av={outIntersectRect:{},clamp:!0};function oh(e){return e!=null?e+="":e=""}function mT(e){var t=oh(e.text),r=e.font,n=ze(Fe(r),t),i=bs(r);return Xl(e,n,i,null)}function Xl(e,t,r,n){var i=new Z(Kn(e.x||0,t,e.textAlign),nn(e.y||0,r,e.textBaseline),t,r),a=n??(qg(e)?e.lineWidth:0);return a>0&&(i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a),i}function qg(e){var t=e.stroke;return t!=null&&t!=="none"&&e.lineWidth>0}var Zl="__zr_style_"+Math.round(Math.random()*10),an={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ls={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};an[Zl]=!0;var ov=["z","z2","invisible"],yT=["invisible"],Ca=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=gt(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(r){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&_T(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths&&this.__clipPaths.length){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,u=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new Z(0,0,0,0)),n?Z.applyTransform(r,i,n):r.copy(i),(o||s||u)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(u),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+u-o));var l=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-l),r.y=Math.floor(r.y-l),r.width=Math.ceil(r.width+1+l*2),r.height=Math.ceil(r.height+1+l*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new Z(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:k(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=Ri,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Ri)},t.prototype.styleUpdated=function(){this.__dirty&=~Ri},t.prototype.createStyle=function(r){return ws(an,r)},t.prototype.useS
`,`
`,`
`];function fa(e,t){return t.type=e,t}function cf(e){return e.type==="section"}function Sy(e){return cf(e)?lC:fC}function Ty(e){if(cf(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return b(e.blocks,function(i){var a=Ty(i);a>=t&&(t=a+ +(n&&(!a||cf(i)&&!i.noHeader)))}),t}return 0}function lC(e,t,r,n){var i=t.noHeader,a=hC(Ty(t)),o=[],s=t.blocks||[];tr(!s||B(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(qt(l,u)){var f=new Wb(l[u],null);s.sort(function(g,p){return f.evaluate(g.sortParam,p.sortParam)})}else u==="seriesDesc"&&s.reverse()}b(s,function(g,p){var m=t.valueFormatter,y=Sy(g)(m?k(k({},e),{valueFormatter:m}):e,g,p>0?a.html:0,n);y!=null&&o.push(y)});var h=e.renderMode==="richText"?o.join(a.richText):vf(n,o.join(""),i?r:a.html);if(i)return h;var c=lf(t.header,"ordinal",e.useUTC),v=_y(n,e.renderMode).nameStyle,d=yy(n);return e.renderMode==="richText"?wy(e,c,v)+a.richText+h:vf(n,'<div style="'+v+";"+d+';">'+Yt(c)+"</div>"+h,r)}function fC(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(S){return S=B(S)?S:[S],Y(S,function(T,w){return lf(T,B(v)?v[w]:v,l)})};if(!(a&&o)){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||U.color.secondary,i),c=a?"":lf(u,"ordinal",l),v=t.valueType,d=o?[]:f(t.value,t.rawDataIndex),g=!s||!a,p=!s&&a,m=_y(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":h)+(a?"":wy(e,c,y))+(o?"":dC(e,d,g,p,_)):vf(n,(s?"":h)+(a?"":cC(c,!s,y))+(o?"":vC(d,g,p,_)),r)}}function pd(e,t,r,n,i,a){if(e){var o=Sy(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function hC(e){return{html:sC[e],richText:uC[e]}}function vf(e,t,r){var n='<div style="clear:both"></div>',i="margin: "+r+"px 0 0",a=yy(e);return'<div style="'+i+";"+a+';">'+t+n+"</div>"}function cC(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Yt(e)+"</span>"}function vC(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=B(e)?e:[e],'<span style="'+a+";"+n+'">'+Y(e,function(o){return Yt(o)}).join("&nbsp;&nbsp;")+"</span>"}function wy(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function dC(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(B(t)?t.join(" "):t,a)}function pC(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return sa(n)}function xy(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var qu=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=th()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=qx({color:r,type:t,renderMode:n,markerId:i});return F(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};B(r)?b(r,function(a){return k(n,a)}):k(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e})();function gC(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=B(s),l=pC(t,r),f,h,c,v;if(o>1||u&&!o){var d=mC(s,t,r,a,l);f=d.inlineValues,h=d.inlineValueTypes,c=d.blocks,v=d.inlineValues[0]}else if(o){var g=i.getDimensionInfo(a[0]);v=f=ri(i,r,a[0]),h=g.type}else v=f=u?s[0]:s;var p=eh(t),m=p&&t.name||"",y=i.getName(r),_=n?m:y;return fa("section",{header:m,noHeader:n||!p,sortParam:v,blocks:[fa("nameValue",{markerType:"item",markerColor:l,name:_,noName:!Oe(_),value:f,valueType:h,rawDataIndex:i.getRawIndex(r)})].concat(c||[])})}function mC(e,t,r,n,i){var a=t.getData(),o=Tr(e,function(h,c,v){var d=a.getDimensionInfo(v);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],u=[],l=[];n.length?b(n,function(h){f(ri(a,r,h),h)}):b(e,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?l.push(fa("n
x-vue-echarts>:first-child,x-vue-echarts>:first-child>canvas{border-radius:inherit;}
`;if(typeof document<"u")if(Array.isArray(document.adoptedStyleSheets)&&"replaceSync"in CSSStyleSheet.prototype){const e=new CSSStyleSheet;e.replaceSync(mp),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}else{const e=document.createElement("style");e.textContent=mp,document.head.appendChild(e)}const lL=aL(),fL=Symbol(),hL=Symbol(),cL=Symbol();var vL=m_({name:"Echarts",inheritAttrs:!1,props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...qA,...jA},emits:{},slots:Object,setup(e,{attrs:t,expose:r,slots:n}){const i=Sl(),a=Sl(),o=_o(fL,null),s=_o(hL,null),u=_o(cL,null),{autoresize:l,manualUpdate:f,loading:h,loadingOptions:c}=y_(e),v=Pi(()=>e.theme||So(o)),d=Pi(()=>e.initOptions||So(s)||void 0),g=Pi(()=>e.updateOptions||So(u)),p=Pi(()=>tL(t)),m={},y=new Map,{teleportedSlots:_,patchOption:S}=iL(n,()=>{!f.value&&e.option&&a.value&&x(a.value,e.option)});let T;function w(I){const L={},P=((I==null?void 0:I.replaceMerge)??[]).filter(E=>E!=null);return P.length>0&&(L.replaceMerge=[...new Set(P)]),(I==null?void 0:I.notMerge)!==void 0&&(L.notMerge=I.notMerge),L}function x(I,L,P,E=!1){const R=S(L);if(E){I.setOption(R,P??{}),T=void 0;return}if(g.value){const $=P??g.value;I.setOption(R,$),T=void 0;return}const N=uL(T,R),X=w(N.plan);I.setOption(N.option,X),T=N.signature}Object.keys(t).filter(I=>N0(I)).forEach(I=>{if(I.indexOf("Native:")===2){const R=`on${I.charAt(9).toUpperCase()}${I.slice(10)}`;m[R]=t[I];return}let L=I.charAt(2).toLowerCase()+I.slice(3),P;L.indexOf("zr:")===0&&(P=!0,L=L.substring(3));let E;L.substring(L.length-4)==="Once"&&(E=!0,L=L.substring(0,L.length-4)),y.set({event:L,zr:P,once:E},t[I])});function D(){if(!i.value)return;const I=a.value=YM(i.value,v.value,d.value);e.group&&(I.group=e.group),y.forEach((E,{zr:R,once:N,event:X})=>{if(!E)return;const $=R?I.getZr():I;if(N){const J=E;let q=!1;E=(...tt)=>{q||(q=!0,J(...tt),$.off(X,E))}}$.on(X,E)});function L(){I&&!I.isDisposed()&&I.resize()}function P(){const{option:E}=e;if(f.value){E&&x(I,E,void 0,!0);return}E&&x(I,E)}l.value?S_(()=>{L(),P()}):P()}const M=(I,L,P)=>{if(!e.manualUpdate)return;const E=typeof L=="boolean"?{notMerge:L,lazyUpdate:P}:L;a.value&&x(a.value,I,E??void 0,!0)};function C(){a.value&&(a.value.dispose(),a.value=void 0),T=void 0}yo(()=>e.option,I=>{if(!I){T=void 0;return}f.value||a.value&&x(a.value,I)},{deep:!0}),yo([f,d],()=>{C(),D()},{deep:!0}),yo(v,I=>{var L;(L=a.value)==null||L.setTheme(I||{})},{deep:!0}),tg(()=>{e.group&&a.value&&(a.value.group=e.group)});const A=ZA(a);return QA(a,h,c),$A(a,l,i),eg(()=>{D()}),__(()=>{lL&&i.value?i.value.__dispose=C:C()}),r({setOption:M,root:i,chart:a,...A}),(()=>_l(Pf,{...p.value,...m,ref:i,class:["echarts",p.value.class]},_()))}}),tP=vL;function yp(e,t,r){var n=ee.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}function ll(e){return!e.__cursors.get(Tm)}function _p(e){var t=e.__cursors.get(Tm);return{startIdx:t?t.startIdx:0,endIdx:t?t.endIdx:0}}var H0=(function(e){z(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.zlevel=0,a.zlevel2=Lo,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__prevIdx={startIdx:0,endIdx:0};var o;i=i||$o,typeof r=="string"?o=yp(r,n,i):H(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(sg(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.afterBrush=function(){this.__prevIdx=_p(this)},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=yp("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return t
`:"<br/>",m=h.join(p);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,l)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(s,m,l,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=yt(n),s=o.seriesIndex,u=a.getSeriesByIndex(s),l=o.dataModel||u,f=o.dataIndex,h=o.dataType,c=l.getData(h),v=this._renderMode,d=r.positionDefault,g=Li([c.getItemModel(f),l,u&&(u.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=g.get("trigger");if(!(p!=null&&p!=="item")){var m=l.getDataParams(f,h),y=new qu;m.marker=y.makeTooltipMarker("item",sa(m.color),v);var _=fd(l.formatTooltip(f,!1,h)),S=g.get("order"),T=g.get("valueFormatter"),w=_.frag,x=w?pd(T?k({valueFormatter:T},w):w,y,v,S,a.get("useUTC"),g.get("textStyle")):_.text,D="item_"+l.name+"_"+f;this._showOrMove(g,function(){this._showTooltipContent(g,x,m,D,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=this._renderMode==="html",o=yt(n),s=o.tooltipConfig,u=s.option||{},l=u.encodeHTMLContent;if(F(u)){var f=u;u={content:f,formatter:f},l=!0}l&&a&&u.content&&(u=rt(u),u.content=Yt(u.content));var h=[u],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:u.content});var v=r.positionDefault,d=Li(h,this._tooltipModel,v?{position:v}:null),g=d.get("content"),p=Math.random()+"",m=new qu;this._showOrMove(d,function(){var y=rt(d.get("formatterParams")||{});this._showTooltipContent(d,g,y,p,r.offsetX,r.offsetY,r.position,n,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,u,l,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var h=this._tooltipContent;h.setEnterable(r.get("enterable"));var c=r.get("formatter");u=u||r.get("position");var v=n,d=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor"),r.get("defaultBorderColor",!0)),g=d.color;if(c)if(F(c)){var p=r.ecModel.get("useUTC"),m=B(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;v=c,y&&(v=Vs(m.axisValue,v,p)),v=Km(v,i,!0)}else if(j(c)){var _=_t(function(S,T){S===this._ticket&&(h.setContent(T,f,r,g,u),this._updatePosition(r,u,o,s,h,i,l))},this);this._ticket=a,v=c(i,a,_)}else v=c;h.setContent(v,f,r,g,u),h.show(r,g),this._updatePosition(r,u,o,s,h,i,l)}},t.prototype._getNearestPoint=function(r,n,i,a,o){if(i==="axis"||B(n))return{color:a||o};if(!B(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,u){var l=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var h=o.getSize(),c=r.get("align"),v=r.get("verticalAlign"),d=u&&u.getBoundingRect().clone();if(u&&d.applyTransform(u.transform),j(n)&&(n=n([i,a],s,o.el,d,{viewSize:[l,f],contentSize:h.slice()})),B(n))i=Bt(n[0],l),a=Bt(n[1],f);else if(H(n)){var g=n;g.width=h[0],g.height=h[1];var p=fn(g,{width:l,height:f});i=p.x,a=p.y,c=null,v=null}else if(F(n)&&u){var m=h2(n,d,h,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=l2(i,a,o,l,f,c?null:20,v?null:20);i=m[0],a=m[1]}if(c&&(i-=qp(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=qp(v)?h[1]/2:v==="bottom"?h[1]:0),l_(r)){var m=f2(i,a,o,l,f);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&b(i,function(s,u){var l=s.dataByAxis||[],f=r[u]||{},h=f.dataByAxis||[];o=o&&l.length===h.length,o&&b(l,function(c,v){var d=h[v]||{},g=c.seriesDataIndices||[],p=d.seriesDataIndices||[];o=o&&c.value===d.value&&c.axisType===d.axisType&&c.axisId===d.axisId&&g.length===p.length,o&&b(g,function(m,y){var _=p[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&b(c.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],S=a[y];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,this._cbParamsList=null,r({type
`)){var y=new mo;y.newline=!0,l.add(y);return}var _=i.getSeriesByName(m)[0];if(!f.get(m))if(_){var S=_.getData(),T=S.getVisual("legendLineStyle")||{},w=S.getVisual("legendIcon"),x=S.getVisual("style"),D=this._createItem(_,m,g,d,n,r,T,x,w,h,a);D.on("click",Rn(Kp,m,null,a,v)).on("mouseover",Rn(Hf,_.name,null,a,v)).on("mouseout",Rn(Vf,_.name,null,a,v)),i.ssr&&D.eachChild(function(M){var C=yt(M);C.seriesIndex=_.seriesIndex,C.dataIndex=g,C.ssrType="legend"}),c&&D.eachChild(function(M){p.packEventData(M,n,_,g,m)}),f.set(m,!0)}else i.eachRawSeries(function(M){var C=this;if(!f.get(m)&&M.legendVisualProvider){var A=M.legendVisualProvider;if(!A.containName(m))return;var I=A.indexOfName(m),L=A.getItemVisual(I,"style"),P=A.getItemVisual(I,"legendIcon"),E=Ne(L.fill);E&&E[3]===0&&(E[3]=.2,L=k(k({},L),{fill:_a(E,"rgba")}));var R=this._createItem(M,m,g,d,n,r,{},L,P,h,a);R.on("click",Rn(Kp,null,m,a,v)).on("mouseover",Rn(Hf,null,m,a,v)).on("mouseout",Rn(Vf,null,m,a,v)),i.ssr&&R.eachChild(function(N){var X=yt(N);X.seriesIndex=M.seriesIndex,X.dataIndex=g,X.ssrType="legend"}),c&&R.eachChild(function(N){C.packEventData(N,n,M,g,m)}),f.set(m,!0)}},this)},this),o&&this._createSelector(o,n,a,s,u)},t.prototype.packEventData=function(r,n,i,a,o){var s={componentType:"legend",componentIndex:n.componentIndex,dataIndex:a,value:o,seriesIndex:i.seriesIndex};yt(r).eventData=s},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();zf(r,function(l){var f=l.type,h=new ie({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(h);var c=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);_x(h,{normal:c,emphasis:v},{defaultText:l.title}),tf(h)})},t.prototype._createItem=function(r,n,i,a,o,s,u,l,f,h,c){var v=r.visualDrawType,d=o.get("itemWidth"),g=o.get("itemHeight"),p=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var S=d2(f,a,u,l,v,p,c),T=new mo,w=a.getModel("textStyle");if(j(r.getLegendIcon)&&(!_||_==="inherit"))T.add(r.getLegendIcon({itemWidth:d,itemHeight:g,icon:f,iconRotate:m,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var x=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;T.add(p2({itemWidth:d,itemHeight:g,icon:f,iconRotate:x,itemStyle:S.itemStyle,symbolKeepAspect:y}))}var D=s==="left"?d+5:-5,M=s,C=o.get("formatter"),A=n;F(C)&&C?A=C.replace("{name}",n??""):j(C)&&(A=C(n));var I=p?w.getTextColor():a.get("inactiveColor");T.add(new ie({style:ei(w,{text:A,x:D,y:g/2,fill:I,align:M,verticalAlign:"middle"},{inheritColor:I})}));var L=new Mt({shape:T.getBoundingRect(),style:{fill:"transparent"}}),P=a.getModel("tooltip");return P.get("show")&&Ns({el:L,componentModel:o,itemName:n,itemTooltipOption:P.option}),T.add(L),T.eachChild(function(E){E.silent=!0}),L.silent=!h,this.getContentGroup().add(T),tf(T),T.__legendDataIndex=i,T},t.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getContentGroup(),l=this.getSelectorGroup();qi(r.get("orient"),u,r.get("itemGap"),i.width,i.height);var f=u.getBoundingRect(),h=[-f.x,-f.y];if(l.markRedraw(),u.markRedraw(),o){qi("horizontal",l,r.get("selectorItemGap",!0));var c=l.getBoundingRect(),v=[-c.x,-c.y],d=r.get("selectorButtonGap",!0),g=r.getOrient().index,p=g===0?"width":"height",m=g===0?"height":"width",y=g===0?"y":"x";s==="end"?v[g]+=f[p]+d:h[g]+=c[p]+d,v[1-g]+=f[m]/2-c[m]/2,l.x=v[0],l.y=v[1],u.x=h[0],u.y=h[1];var _={x:0,y:0};return _[p]=f[p]+d+c[p],_[m]=Math.max(f[m],c[m]),_[y]=Math.min(0,c[y]+v[1-g]),_}else return u.x=h[0],u.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(Ue);function d2(e,t,r,n,i,a,o){function s(p,m){p.lineWidth==="auto"&&(p.lineWidth=m.lineWidth>0?2:0),zf(p,function(y,_){p[_]==="inherit"&&(p[_]=m[_])})}var u=t.getModel("itemStyle"),l=u.getItemStyle(),f=e.lastIndexOf("empty",0)===0?"fill":"stroke",h=u.getShallow("
`||i==="")){var a=e.isSelected(i);qt(r,i)?r[i]=r[i]&&a:r[i]=a}}),r}function g2(e){e.registerAction("legendToggleSelect","legendselectchanged",Ct(Ii,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Ct(Ii,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Ct(Ii,"inverseSelect")),e.registerAction("legendSelect","legendselected",Ct(Ii,"select")),e.registerAction("legendUnSelect","legendunselected",Ct(Ii,"unSelect"))}var m2=ih(y2);function y2(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(r){for(var n=0;n<t.length;n++)if(!t[n].isSelected(r.name))return!1;return!0})}function d_(e){e.registerComponentModel(Ff),e.registerComponentView(v_),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,m2),e.registerSubTypeDefaulter("legend",function(){return"plain"}),g2(e)}var _2=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=Da(r);e.prototype.init.call(this,r,n,i),jp(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),jp(this,this.option,r)},t.type="legend.scroll",t.defaultOption=Rx(Ff.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:U.color.accent50,pageIconInactiveColor:U.color.accent10,pageIconSize:15,pageTextStyle:{color:U.color.tertiary},animationDurationUpdate:800}),t})(Ff);function jp(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,br(t,r,{type:"box",ignoreSize:!!i})}var Jp=re,ml=["width","height"],yl=["x","y"],S2=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new Jp),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Jp)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,u){var l=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,u);var f=this._controllerGroup,h=n.get("pageIconSize",!0),c=B(h)?h:[h,h];d("pagePrev",0);var v=n.getModel("pageTextStyle");f.add(new ie({name:"pageText",style:{text:"xx/xx",fill:v.getTextColor(),font:v.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),d("pageNext",1);function d(g,p){var m=g+"DataIndex",y=Sh(n.get("pageIcons",!0)[n.getOrient().name][p],{onclick:_t(l._pageGo,l,m,n,a)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});y.name=g,f.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getSelectorGroup(),l=r.getOrient().index,f=ml[l],h=yl[l],c=ml[1-l],v=yl[1-l];o&&qi("horizontal",u,r.get("selectorItemGap",!0));var d=r.get("selectorButtonGap",!0),g=u.getBoundingRect(),p=[-g.x,-g.y],m=rt(i);o&&(m[f]=i[f]-g[f]-d);var y=this._layoutContentAndController(r,a,m,l,f,c,v,h);if(o){if(s==="end")p[l]+=y[f]+d;else{var _=g[f]+d;p[l]-=_,y[h]-=_}y[f]+=g[f]+d,p[1-l]+=y[v]+y[c]/2-g[c]/2,y[c]=Math.max(y[c],g[c]),y[v]=Math.min(y[v],g[v]+p[1-l]),u.x=p[0],u.y=p[1],u.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,u,l){var f=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;qi(r.get("orient"),f,r.get("itemGap"),a?i.width:null,a?null:i.height),qi("horizontal",c,r.get("pageButtonItemGap",!0));var v=f.getBoundingRect(),d=c.getBoundingRect(),g=this._showController=v[o]>i[o],p=[-v.x,-v.y];n||(p[a]=f[l]);var m=[0,0],y=[-d.x,-d.y],_=G(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(g){var S=r.get("pageButtonPosition",!0);S==="end"?y[a]+=i[o]-d[o]:m[a]+=d[o]+_}y[1-a]+=v[s]/2-d[s]/2,f.setPosition(p),h.setPosition(m),c.setPosition(y);var T={x:0,y:0};i