k-line/dist8/assets/index-BO9WyeNZ.js

131 lines
1.9 MiB
JavaScript
Raw Normal View History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./TheNewView-t8sYt_UC.js","./usethemestore-BOyyPoG1.js","./_plugin-vue_export-helper-DlAUqK2U.js","./TheNewView-CjunXQlI.css","./NewDesign-C0ftKVUD.js","./computedInfo-DRxOaYt6.js","./NewDesign-BdJVEl3m.css","./NewStyleDesign-DVG2STix.js","./NewStyleDesign-Kjg7QDOS.css","./NodataView-CGYG3DOf.js","./NodataView-CxQRl4IY.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function VM(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Nn={},sd=[],nn=()=>{},Vj=()=>!1,_1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),FM=e=>e.startsWith("onUpdate:"),gr=Object.assign,zM=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fj=Object.prototype.hasOwnProperty,Gt=(e,t)=>Fj.call(e,t),Me=Array.isArray,ld=e=>Ag(e)==="[object Map]",w1=e=>Ag(e)==="[object Set]",zl=e=>Ag(e)==="[object Date]",Ke=e=>typeof e=="function",We=e=>typeof e=="string",Ji=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",wp=e=>(pt(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),vF=Object.prototype.toString,Ag=e=>vF.call(e),zj=e=>Ag(e).slice(8,-1),Sp=e=>Ag(e)==="[object Object]",HM=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zh=VM(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hj=/-(\w)/g,_a=S1(e=>e.replace(Hj,(t,n)=>n?n.toUpperCase():"")),Wj=/\B([A-Z])/g,Bs=S1(e=>e.replace(Wj,"-$1").toLowerCase()),Eg=S1(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hh=S1(e=>e?`on${Eg(e)}`:""),Il=(e,t)=>!Object.is(e,t),qy=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hF=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},bx=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gj=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let hD;const C1=()=>hD||(hD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ye(e){if(Me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=We(r)?jj(r):Ye(r);if(a)for(const i in a)t[i]=a[i]}return t}else if(We(e)||pt(e))return e}const Kj=/;(?![^(]*\))/g,Uj=/:([^]+)/,Yj=/\/\*[^]*?\*\//g;function jj(e){const t={};return e.replace(Yj,"").split(Kj).forEach(n=>{if(n){const r=n.split(Uj);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function B(e){let t="";if(We(e))t=e;else if(Me(e))for(let n=0;n<e.length;n++){const r=B(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function zi(e){if(!e)return null;let{class:t,style:n}=e;return t&&!We(t)&&(e.class=B(t)),n&&(e.style=Ye(n)),e}const qj="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xj=VM(qj);function pF(e){return!!e||e===""}function Zj(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Td(e[r],t[r]);return n}function Td(e,t){if(e===t)return!0;let n=zl(e),r=zl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ji(e),r=Ji(t),n||r)return e===t;if(n=Me(e),r=Me(t),n||r)return n&&r?Zj(e,t):!1;if(n=pt(e),r=pt(t),n||r){if(!n||!r)return!1;const a=Object.keys(e).length,i=Object.keys(t).length;if(a!==i)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Td(e[o],t[o]))return!1}}return String(e)===String(t)}function gF(e,t){return e.findIndex(n=>Td(n,t))}const mF=e=>!!(e&&e.__v_isRef===!0),Ie=e=>We(e)?e:e==null?"":Me(e)||pt(e)&&(e.toString===vF||!Ke(e.toString))?mF(e)?Ie(e.value):JSON.stringify(e,yF,2):String(e),yF=(e,t)=>mF(t)?yF(e,t.value):ld(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],i)=>(n[sw(r,i)+" =>"]=a,n),{})}:w1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>sw(n))}:Ji(t)?sw(t):pt(t)&&!Me(t)&&!Sp(t)?String(t):t,sw=(e,t="")=>{var n;return Ji(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ca;class bF{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ca,!t&&ca&&(this.index=(ca.scopes||(ca.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ca;try{return ca=this,t()}finally{ca=n}}}on(){ca=this}off(){ca=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function WM(e){return new bF(e)}function GM(){return ca}function KM(e,t=!1){ca&&ca.cleanups.push(e)}let Bn;const lw=new WeakSet;class _F{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ca&&ca.active&&ca.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,lw.has(this)&&(lw.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||SF(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,pD(this),CF(this);const t=Bn,n=Ui;Bn=this,Ui=!0;try{return this.fn()}finally{xF(this),Bn=t,Ui=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)jM(t);this.deps=this.depsTail=void 0,pD(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?lw.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_x(this)&&this.run()}get dirty(){return _x(this)}}let wF=0,Wh,Gh;function SF(e,t=!1){if(e.flags|=8,t){e.next=Gh,Gh=e;return}e.next=Wh,Wh=e}function UM(){wF++}function YM(){if(--wF>0)return;if(Gh){let t=Gh;for(Gh=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Wh;){let t=Wh;for(Wh=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function CF(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xF(e){let t,n=e.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),jM(r),Jj(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=t,e.depsTail=n}function _x(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(TF(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function TF(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cp))return;e.globalVersion=Cp;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!_x(e)){e.flags&=-3;return}const n=Bn,r=Ui;Bn=e,Ui=!0;try{CF(e);const a=e.fn(e._value);(t.version===0||Il(a,e._value))&&(e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Bn=n,Ui=r,xF(e),e.flags&=-3}}function jM(e,t=!1){const{dep:n,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)jM(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Jj(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ui=!0;const MF=[];function ru(){MF.push(Ui),Ui=!1}function au(){const e=MF.pop();Ui=e===void 0?!0:e}function pD(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Bn;Bn=void 0;try{t()}finally{Bn=n}}}let Cp=0,Qj=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=th
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ig(e,t,n,r){try{return r?e(...r):e()}catch(a){M1(a,t,n)}}function Qi(e,t,n,r){if(Ke(e)){const a=Ig(e,t,n,r);return a&&wp(a)&&a.catch(i=>{M1(i,t,n)}),a}if(Me(e)){const a=[];for(let i=0;i<e.length;i++)a.push(Qi(e[i],t,n,r));return a}}function M1(e,t,n,r=!0){const a=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Nn;if(t){let s=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}s=s.parent}if(i){ru(),Ig(i,null,10,[e,l,u]),au();return}}kq(e,n,a,r,o)}function kq(e,t,n,r=!0,a=!1){if(a)throw e;console.error(e)}const ha=[];let Co=-1;const ud=[];let hl=null,Wf=0;const $F=Promise.resolve();let U0=null;function je(e){const t=U0||$F;return e?t.then(this?e.bind(this):e):t}function Aq(e){let t=Co+1,n=ha.length;for(;t<n;){const r=t+n>>>1,a=ha[r],i=Tp(a);i<e||i===e&&a.flags&2?t=r+1:n=r}return t}function QM(e){if(!(e.flags&1)){const t=Tp(e),n=ha[ha.length-1];!n||!(e.flags&2)&&t>=Tp(n)?ha.push(e):ha.splice(Aq(t),0,e),e.flags|=1,BF()}}function BF(){U0||(U0=$F.then(FF))}function Eq(e){Me(e)?ud.push(...e):hl&&e.id===-1?hl.splice(Wf+1,0,e):e.flags&1||(ud.push(e),e.flags|=1),BF()}function mD(e,t,n=Co+1){for(;n<ha.length;n++){const r=ha[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ha.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function VF(e){if(ud.length){const t=[...new Set(ud)].sort((n,r)=>Tp(n)-Tp(r));if(ud.length=0,hl){hl.push(...t);return}for(hl=t,Wf=0;Wf<hl.length;Wf++){const n=hl[Wf];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}hl=null,Wf=0}}const Tp=e=>e.id==null?e.flags&2?-1:1/0:e.id;function FF(e){try{for(Co=0;Co<ha.length;Co++){const t=ha[Co];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ig(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Co<ha.length;Co++){const t=ha[Co];t&&(t.flags&=-2)}Co=-1,ha.length=0,VF(),U0=null,(ha.length||ud.length)&&FF()}}let fr=null,zF=null;function Y0(e){const t=fr;return fr=e,zF=e&&e.type.__scopeId||null,t}function re(e,t=fr,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&DD(-1);const i=Y0(t);let o;try{o=e(...a)}finally{Y0(i),r._d&&DD(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function lt(e,t){if(fr===null)return e;const n=L1(fr),r=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[i,o,s,l=Nn]=t[a];i&&(Ke(i)&&(i={mounted:i,updated:i}),i.deep&&hs(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:s,modifiers:l}))}return e}function mu(e,t,n,r){const a=e.dirs,i=t&&t.dirs;for(let o=0;o<a.length;o++){const s=a[o];i&&(s.oldValue=i[o].value);let l=s.dir[r];l&&(ru(),Qi(l,n,8,[e.el,s,e,t]),au())}}const HF=Symbol("_vte"),WF=e=>e.__isTeleport,Kh=e=>e&&(e.disabled||e.disabled===""),yD=e=>e&&(e.defer||e.defer===""),bD=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_D=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tx=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},GF={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,i,o,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:v,querySelector:h,createText:p,createComment:g}}=u,m=Kh(t.props);let{shapeFlag:_,children:b,dynamicChildren:w}=t;if(e==null){const S=t.el=p(""),C=t.anchor=p("");v(S,n,r),v(C,n,r);const x=(T,k)=>{_&16&&(a&&a.isCE&&(a.ce._teleportTarget=T),c(b,T,k,a,i,o,s,l))},M=()=>{const T=t.target=Tx(t.props,h),k=KF(T,t,p,v);T&&(o!=="svg"&&bD(T)?o="svg":o!=="mathml"&&_D(T)&&(o="mathml"),m||(x(T,k),Xy(t,!1)))};m&&(x(n,C),Xy(t,!0)),yD(t.props)?ua(()=>{M(),t.el.__isMounted=!0},i):M()}else{if(yD(t.props)&&!e.el.__isMounted){ua(()=>{GF.process(e,t,n,r,a,i,o,s,l,u),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,C=t.target=e.target,x=t.targetAnchor=e.targetAnchor,M=Kh(e.props),T=M?n:C,k=M?S:x;if(o==="svg"||bD(C)?o="svg":(o==="mathml"||_D(C))&&(o="mathml"),w?(d(e.dynamicChildren,w,T,a,i,o,s),ik(e,t,!0)):l||f(e,t,T,k,a,i,o,s,!1),m)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Mm(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=Tx(t.props,h);A&&Mm(t
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Dx;const RD=typeof window<"u"&&window.trustedTypes;if(RD)try{Dx=RD.createPolicy("vue",{createHTML:e=>e})}catch{}const Tz=Dx?e=>Dx.createHTML(e):e=>e,AX="http://www.w3.org/2000/svg",EX="http://www.w3.org/1998/Math/MathML",us=typeof document<"u"?document:null,OD=us&&us.createElement("template"),IX={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a=t==="svg"?us.createElementNS(AX,e):t==="mathml"?us.createElementNS(EX,e):n?us.createElement(e,{is:n}):us.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>us.createTextNode(e),createComment:e=>us.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>us.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,i){const o=n?n.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{OD.innerHTML=Tz(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=OD.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qs="transition",Hv="animation",Md=Symbol("_vtc"),Mz={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kz=gr({},YF,Mz),DX=e=>(e.displayName="Transition",e.props=kz,e),mr=DX((e,{slots:t})=>Xe(Pq,Az(e),t)),bu=(e,t=[])=>{Me(e)?e.forEach(n=>n(...t)):e&&e(...t)},ND=e=>e?Me(e)?e.some(t=>t.length>1):e.length>1:!1;function Az(e){const t={};for(const E in e)E in Mz||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,h=LX(a),p=h&&h[0],g=h&&h[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:b,onLeave:w,onLeaveCancelled:S,onBeforeAppear:C=m,onAppear:x=_,onAppearCancelled:M=b}=t,T=(E,L,$,P)=>{E._enterCancelled=P,sl(E,L?c:s),sl(E,L?u:o),$&&$()},k=(E,L)=>{E._isLeaving=!1,sl(E,f),sl(E,v),sl(E,d),L&&L()},A=E=>(L,$)=>{const P=E?x:_,D=()=>T(L,E,$);bu(P,[L,D]),$D(()=>{sl(L,E?l:i),_o(L,E?c:s),ND(P)||BD(L,r,p,D)})};return gr(t,{onBeforeEnter(E){bu(m,[E]),_o(E,i),_o(E,o)},onBeforeAppear(E){bu(C,[E]),_o(E,l),_o(E,u)},onEnter:A(!1),onAppear:A(!0),onLeave(E,L){E._isLeaving=!0;const $=()=>k(E,L);_o(E,f),E._enterCancelled?(_o(E,d),Lx()):(Lx(),_o(E,d)),$D(()=>{E._isLeaving&&(sl(E,f),_o(E,v),ND(w)||BD(E,r,g,$))}),bu(w,[E,$])},onEnterCancelled(E){T(E,!1,void 0,!0),bu(b,[E])},onAppearCancelled(E){T(E,!0,void 0,!0),bu(M,[E])},onLeaveCancelled(E){k(E),bu(S,[E])}})}function LX(e){if(e==null)return null;if(pt(e))return[pw(e.enter),pw(e.leave)];{const t=pw(e);return[t,t]}}function pw(e){return Gj(e)}function _o(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Md]||(e[Md]=new Set)).add(t)}function sl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Md];n&&(n.delete(t),n.size||(e[Md]=void 0))}function $D(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let PX=0;function BD(e,t,n,r){const a=e._endId=++PX,i=()=>{a===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:s,propCount:l}=Ez(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=v=>{v.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},s+1),e.addEventListener(u,d)}function Ez(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),a=r(`${qs}Delay`),i=r(`${qs}Duration`),o=VD(a,i),s=r(`${Hv}Delay`),l=r(`${Hv}Duration`
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Gf=typeof document<"u";function Vz(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sZ(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Vz(e.default)}const Mn=Object.assign;function yw(e,t){const n={};for(const r in t){const a=t[r];n[r]=eo(a)?a.map(e):e(a)}return n}const jh=()=>{},eo=Array.isArray,Fz=/#/g,lZ=/&/g,uZ=/\//g,cZ=/=/g,fZ=/\?/g,zz=/\+/g,dZ=/%5B/g,vZ=/%5D/g,Hz=/%5E/g,hZ=/%60/g,Wz=/%7B/g,pZ=/%7C/g,Gz=/%7D/g,gZ=/%20/g;function lk(e){return encodeURI(""+e).replace(pZ,"|").replace(dZ,"[").replace(vZ,"]")}function mZ(e){return lk(e).replace(Wz,"{").replace(Gz,"}").replace(Hz,"^")}function Px(e){return lk(e).replace(zz,"%2B").replace(gZ,"+").replace(Fz,"%23").replace(lZ,"%26").replace(hZ,"`").replace(Wz,"{").replace(Gz,"}").replace(Hz,"^")}function yZ(e){return Px(e).replace(cZ,"%3D")}function bZ(e){return lk(e).replace(Fz,"%23").replace(fZ,"%3F")}function _Z(e){return e==null?"":bZ(e).replace(uZ,"%2F")}function Ep(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const wZ=/\/$/,SZ=e=>e.replace(wZ,"");function bw(e,t,n="/"){let r,a={},i="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),a=e(i)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=MZ(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:a,hash:Ep(o)}}function CZ(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function QD(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xZ(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&Ad(t.matched[r],n.matched[a])&&Kz(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ad(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Kz(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TZ(e[n],t[n]))return!1;return!0}function TZ(e,t){return eo(e)?eL(e,t):eo(t)?eL(t,e):e===t}function eL(e,t){return eo(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function MZ(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let i=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const Xs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ip;(function(e){e.pop="pop",e.push="push"})(Ip||(Ip={}));var qh;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qh||(qh={}));function kZ(e){if(!e)if(Gf){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),SZ(e)}const AZ=/^[^#]+#/;function EZ(e,t){return e.replace(AZ,"#")+t}function IZ(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const R1=()=>({left:window.scrollX,top:window.scrollY});function DZ(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=IZ(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function tL(e,t){return(history.state?history.state.position-t:-1)+e}const Rx=new Map;function LZ(e,t){Rx.set(e,t)}function PZ(e){const t=Rx.get(e);return Rx.delete(e),t}let RZ=()=>location.protocol+"//"+location.host;function Uz(e,t){const{pathname:n,search:r,hash:a}=t,i=e.indexOf("#");if(i>-1){let s=a.includes(e.slice(i))?e.slice(i).length:1,l=a.slice(s);return l[0]!=="/"&&(l="/"+l),QD(l,"")}return QD(n,e)+r+a}function OZ(e,t,n,r){let a=[],i=[],o=null;const s=({state:d})=>{const v=Uz(e,location),h=n.value,p=t.value;let g=0;if(d){if(n.value=v,t.value=d,o&&o===h){o=null;return}g=p?d.position
height:0 !important;
visibility:hidden !important;
${q1()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,foe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function doe(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:foe.map(o=>`${o}:${t.getPropertyValue(o)}`).join(";"),paddingSize:r,borderSize:a,boxSizing:n}}function vP(e,t=1,n){var r;Di||(Di=document.createElement("textarea"),document.body.appendChild(Di));const{paddingSize:a,borderSize:i,boxSizing:o,contextStyle:s}=doe(e);Di.setAttribute("style",`${s};${coe}`),Di.value=e.value||e.placeholder||"";let l=Di.scrollHeight;const u={};o==="border-box"?l=l+i:o==="content-box"&&(l=l-a),Di.value="";const c=Di.scrollHeight-a;if(Ze(t)){let f=c*t;o==="border-box"&&(f=f+a+i),l=Math.max(f,l),u.minHeight=`${f}px`}if(Ze(n)){let f=c*n;o==="border-box"&&(f=f+a+i),l=Math.min(f,l)}return u.height=`${l}px`,(r=Di.parentNode)==null||r.removeChild(Di),Di=void 0,u}const Pn=e=>e,voe=Ae({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),kr=e=>Hi(voe,e),Nk=Ae({id:{type:String,default:void 0},size:Xn,disabled:Boolean,modelValue:{type:ae([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ae([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:fn},prefixIcon:{type:fn},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ae([Object,Array,String]),default:()=>Pn({})},autofocus:Boolean,rows:{type:Number,default:2},...kr(["ariaLabel"])}),hoe={[ut]:e=>We(e),input:e=>We(e),change:e=>We(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},poe=["class","style"],goe=/^on[A-Z]/,Bg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=I(()=>((n==null?void 0:n.value)||[]).concat(poe)),a=yt();return I(a?()=>{var i;return Np(Object.entries((i=a.proxy)==null?void 0:i.$attrs).filter(([o])=>!r.value.includes(o)&&!(t&&goe.test(o))))}:()=>({}))},tf=Symbol("formContextKey"),zo=Symbol("formItemContextKey"),hP={prefix:Math.floor(Math.random()*1e4),current:0},moe=Symbol("elIdInjection"),$k=()=>yt()?Be(moe,hP):hP,Mr=e=>{const t=$k(),n=uk();return Hx(()=>y(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},Nr=()=>{const e=Be(tf,void 0),t=Be(zo,void 0);return{form:e,formItem:t}},Ti=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=F(!1)),r||(r=F(!1));const a=F();let i;const o=I(()=>{var s;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((s=t.inputIds)==null?void 0:s.length)<=1)});return dt(()=>{i=_e([Jt(e,"id"),n],([s,l])=>{const u=s??(l?void 0:Mr().value);u!==a.value&&(t!=null&&t.removeInputId&&(a.value&&t.removeInputId(a.value),!(r!=null&&r.value)&&!l&&u&&t.addInputId(u)),a.value=u)},{immediate:!0})}),iu(()=>{i&&i(),t!=null&&t.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:o,inputId:a}},f8=e=>{const t=yt();return I(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},Yn=(e,t={})=>{const n=F(void 0),r=t.prop?n:f8("size"),a=t.global?n:J5(),i=t.form?{size:void 0}:Be(tf,void 0),o=t.formItem?{size:voi
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),q("span")]),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(N(),fe(u,{key:2,class:B(e.ns.e("prefix"))},{default:re(()=>[J(l)]),_:1},8,["class"])):ue("v-if",!0),ue(" content "),J(c),ue(" postfix "),e.isLeaf?ue("v-if",!0):(N(),K(Ue,{key:3},[e.node.loading?(N(),fe(u,{key:0,class:B([e.ns.is("loading"),e.ns.e("postfix")])},{default:re(()=>[J(f)]),_:1},8,["class"])):(N(),fe(u,{key:1,class:B(["arrow-right",e.ns.e("postfix")])},{default:re(()=>[J(d)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var Cfe=Ee(wfe,[["render",Sfe],["__file","node.vue"]]);const xfe=Z({name:"ElCascaderMenu",components:{Loading:Fo,ElIcon:He,ElScrollbar:qo,ElCascaderNode:Cfe},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=yt(),n=Se("cascader-menu"),{t:r}=Vt(),a=Mr();let i=null,o=null;const s=Be(Jk),l=F(null),u=I(()=>!e.nodes.length),c=I(()=>!s.initialLoaded),f=I(()=>`${a.value}-${e.index}`),d=g=>{i=g.target},v=g=>{if(!(!s.isHoverMenu||!i||!l.value))if(i.contains(g.target)){h();const m=t.vnode.el,{left:_}=m.getBoundingClientRect(),{offsetWidth:b,offsetHeight:w}=m,S=g.clientX-_,C=i.offsetTop,x=C+i.offsetHeight;l.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${S} ${C} L${b} 0 V${C} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${S} ${x} L${b} ${w} V${x} Z" />
`}else o||(o=window.setTimeout(p,s.config.hoverThreshold))},h=()=>{o&&(clearTimeout(o),o=null)},p=()=>{l.value&&(l.value.innerHTML="",h())};return{ns:n,panel:s,hoverZone:l,isEmpty:u,isLoading:c,menuId:f,t:r,handleExpand:d,handleMouseMove:v,clearHoverZone:p}}});function Tfe(e,t,n,r,a,i){const o=bt("el-cascader-node"),s=bt("loading"),l=bt("el-icon"),u=bt("el-scrollbar");return N(),fe(u,{key:e.menuId,tag:"ul",role:"menu",class:B(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:re(()=>{var c;return[(N(!0),K(Ue,null,Et(e.nodes,f=>(N(),fe(o,{key:f.uid,node:f,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(N(),K("div",{key:0,class:B(e.ns.e("empty-text"))},[J(l,{size:"14",class:B(e.ns.is("loading"))},{default:re(()=>[J(s)]),_:1},8,["class"]),At(" "+Ie(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(N(),K("div",{key:1,class:B(e.ns.e("empty-text"))},[se(e.$slots,"empty",{},()=>[At(Ie(e.t("el.cascader.noData")),1)])],2)):(c=e.panel)!=null&&c.isHoverMenu?(N(),K("svg",{key:2,ref:"hoverZone",class:B(e.ns.e("hover-zone"))},null,2)):ue("v-if",!0)]}),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var Mfe=Ee(xfe,[["render",Tfe],["__file","menu.vue"]]);const Qk=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Mo=e=>Eg(e);let kfe=0;const Afe=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let Jx=class Qx{constructor(t,n,r,a=!1){this.data=t,this.config=n,this.parent=r,this.root=a,this.uid=kfe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:o,children:s}=n,l=t[s],u=Afe(this);this.level=a?0:r?r.level+1:1,this.value=t[i],this.label=t[o],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=l,this.children=(l||[]).map(c=>new Qx(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!Va(l)}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:a,checkStrictly:i}=r;return(Ke(a)?a(t,this):!!t[a])||!i&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:r,loaded:a}=this,{lazy:i,leaf:o}=n,s=Ke(o)?o(t,this):t[o];return on(s)?i&&!a?!1:!(Me(r)&&r.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:r}=this,a=new Qx(t,this.config,this);return Me(n)?n.push(t):this.childrenData=[t],r.push(a),a}calcText(t,n){const r=t?this.pathLabels.join(n):this.label;return this.text=r,r}broadcast(t,...n){const r=`onParent${Mo(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[r]&&a[r](...n))})}emit(t,...n){const{parent:r}=this,a=`onChild${Mo(t)}`;r&&(r[a]&&r[a](...n),r.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),r=n.length?n.every(a=>a.checked):!1;this.setCheckState(r)}setCheckState(t){const n=this.children.length,r=this.children.reduce((a,i)=>{const o=i.checked?1:i.indeterminate?.5:0;return a+o},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&r!==n&&r>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:r}=this.config;n||!r?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const eT=(e,t)=>e.reduce((n,r)=>(r.isLeaf?n.push(r):(!t&&n.push(r),n=n.concat(eT(r.children,t))),n),[]);class qP{constructor(t,n){this.config=n;const r=(t||[]).map(a=>new Jx(a,this.config));this.nodes=r,this.allNodes=eT(r,!1),this.leafNodes=eT(r,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const r=n?n.appendChild(t):new Jx(t,this.config);n||this.nodes.push(r),this.allNodes.push(r),r.isLeaf&&this.leafNodes.push(r)}appendNodes(t,n){t.forEach(r=>this.appendNode(r,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(a=>xr(a.value,t)||xr(a.pathValues,t))||null}getS
(?:
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),o=new RegExp("^"+n+"$"),s=new RegExp("^"+a+"$"),l=function(w){return w&&w.exact?i:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+a+t(w)+")","g")};l.v4=function(b){return b&&b.exact?o:new RegExp(""+t(b)+n+t(b),"g")},l.v6=function(b){return b&&b.exact?s:new RegExp(""+t(b)+a+t(b),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',_="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+h+p+")"+g+m;return zm=new RegExp("(?:^"+_+"$)","i"),zm},_R={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Mh={integer:function(t){return Mh.number(t)&&parseInt(t,10)===t},float:function(t){return Mh.number(t)&&!Mh.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Mh.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(_R.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Rge())},hex:function(t){return typeof t=="string"&&!!t.match(_R.hex)}},Oge=function(t,n,r,a,i){if(t.required&&n===void 0){j6(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Mh[s](n)||a.push(Wa(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&a.push(Wa(i.messages.types[s],t.fullField,t.type))},Nge=function(t,n,r,a,i){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",v=typeof n=="string",h=Array.isArray(n);if(d?f="number":v?f="string":h&&(f="array"),!f)return!1;h&&(c=n.length),v&&(c=n.replace(u,"_").length),o?c!==t.len&&a.push(Wa(i.messages[f].len,t.fullField,t.len)):s&&!l&&c<t.min?a.push(Wa(i.messages[f].min,t.fullField,t.min)):l&&!s&&c>t.max?a.push(Wa(i.messages[f].max,t.fullField,t.max)):s&&l&&(c<t.min||c>t.max)&&a.push(Wa(i.messages[f].range,t.fullField,t.min,t.max))},gf="enum",$ge=function(t,n,r,a,i){t[gf]=Array.isArray(t[gf])?t[gf]:[],t[gf].indexOf(n)===-1&&a.push(Wa(i.messages[gf],t.fullField,t[gf].join(", ")))},Bge=function(t,n,r,a,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(Wa(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||a.push(Wa(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},yn={required:j6,whitespace:Pge,type:Oge,range:Nge,enum:$ge,pattern:Bge},Vge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(yr(n,"string")&&!t.required)return r();yn.required(t,n,a,o,i,"string"),yr(n,"string")||(yn.type(t,n,a,o,i),yn.range(t,n,a,o,i),yn.pattern(t,n,a,o,i),t.whitespace===!0&&yn.whitespace(t,n,a,o,i))}r(o)},Fge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(yr(n)&&!t.required)return r();yn.required(t,n,a,o,i),n!==void 0&&yn.type(t,n,a,o,i)}r(o)},zge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),yr(n)&&!t.required)return r();yn.required(t,n,a,o,i),n!==void 0&&(yn.type(t,n,a,o,i),yn.range(t,n,a,o,i))}r(o)},Hge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(yr
M 50 50
m 0 ${w?"":"-"}${b}
a ${b} ${b} 0 1 1 0 ${w?"-":""}${b*2}
a ${b} ${b} 0 1 1 0 ${w?"":"-"}${b*2}
`}),l=I(()=>2*Math.PI*o.value),u=I(()=>t.type==="dashboard"?.75:1),c=I(()=>`${-1*l.value*(1-u.value)/2}px`),f=I(()=>({strokeDasharray:`${l.value*u.value}px, ${l.value}px`,strokeDashoffset:c.value})),d=I(()=>({strokeDasharray:`${l.value*u.value*(t.percentage/100)}px, ${l.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),v=I(()=>{let b;return t.color?b=_(t.percentage):b=n[t.status]||n.default,b}),h=I(()=>t.status==="warning"?Y1:t.type==="line"?t.status==="success"?Dk:Ws:t.status==="success"?$g:to),p=I(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=I(()=>t.format(t.percentage));function m(b){const w=100/b.length;return b.map((C,x)=>We(C)?{color:C,percentage:(x+1)*w}:C).sort((C,x)=>C.percentage-x.percentage)}const _=b=>{var w;const{color:S}=t;if(Ke(S))return S(b);if(We(S))return S;{const C=m(S);for(const x of C)if(x.percentage>b)return x.color;return(w=C[C.length-1])==null?void 0:w.color}};return(b,w)=>(N(),K("div",{class:B([y(r).b(),y(r).m(b.type),y(r).is(b.status),{[y(r).m("without-text")]:!b.showText,[y(r).m("text-inside")]:b.textInside}]),role:"progressbar","aria-valuenow":b.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[b.type==="line"?(N(),K("div",{key:0,class:B(y(r).b("bar"))},[q("div",{class:B(y(r).be("bar","outer")),style:Ye({height:`${b.strokeWidth}px`})},[q("div",{class:B([y(r).be("bar","inner"),{[y(r).bem("bar","inner","indeterminate")]:b.indeterminate},{[y(r).bem("bar","inner","striped")]:b.striped},{[y(r).bem("bar","inner","striped-flow")]:b.stripedFlow}]),style:Ye(y(a))},[(b.showText||b.$slots.default)&&b.textInside?(N(),K("div",{key:0,class:B(y(r).be("bar","innerText"))},[se(b.$slots,"default",{percentage:b.percentage},()=>[q("span",null,Ie(y(g)),1)])],2)):ue("v-if",!0)],6)],6)],2)):(N(),K("div",{key:1,class:B(y(r).b("circle")),style:Ye({height:`${b.width}px`,width:`${b.width}px`})},[(N(),K("svg",{viewBox:"0 0 100 100"},[q("path",{class:B(y(r).be("circle","track")),d:y(s),stroke:`var(${y(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":b.strokeLinecap,"stroke-width":y(i),fill:"none",style:Ye(y(f))},null,14,["d","stroke","stroke-linecap","stroke-width"]),q("path",{class:B(y(r).be("circle","path")),d:y(s),stroke:y(v),fill:"none",opacity:b.percentage?1:0,"stroke-linecap":b.strokeLinecap,"stroke-width":y(i),style:Ye(y(d))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(b.showText||b.$slots.default)&&!b.textInside?(N(),K("div",{key:2,class:B(y(r).e("text")),style:Ye({fontSize:`${y(p)}px`})},[se(b.$slots,"default",{percentage:b.percentage},()=>[b.status?(N(),fe(y(He),{key:1},{default:re(()=>[(N(),fe(_t(y(h))))]),_:1})):(N(),K("span",{key:0},Ie(y(g)),1))])],6)):ue("v-if",!0)],10,["aria-valuenow"]))}});var x0e=Ee(C0e,[["__file","progress.vue"]]);const oH=ot(x0e),T0e=Ae({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ae([Array,Object]),default:()=>Pn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ae([Array,Object]),default:()=>[Im,Im,Im]},voidIcon:{type:fn,default:()=>qie},disabledVoidIcon:{type:fn,default:()=>Im},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ae(Array),default:()=>Pn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Xn,clearable:Boolean,...kr(["ariaLabel"])}),M0e={[cn]:e=>Ze(e),[ut]:e=>Ze(e)},k0e=Z({name:"ElRate"}),A0e=Z({...k0e,props:T0e,emits:M0e,setup(e,{expose:t,emit:n}){const r=e;function a(D,V){const R=W=>pt(W),O=Object.keys(V).map(W=>+W).filter(W=>{const Y=V[W];return(R(Y)?Y.excluded:!1)?D<W:D<=W}).sort((W,Y)=>W-Y),H=V[O[0]];return R(H)&&H.value||H}const i=Be(tf,void 0),o=Be(zo,void 0),s=Yn(),l=Se("rate"),{inputId:u,isLabeledByFormItem:c}=Ti(r,{formItemContext:o}),f=F(r.modelValue),d=F(-1),v=F(!0),h=I(()=>[l.b(),l.m(s.value)]),p=I(
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const __e=function(e,t){if(e&&e.addEventListener){const n=function(r){const a=b_e(r);t&&Reflect.apply(t,this,[r,a])};e.addEventListener("wheel",n,{passive:!0})}},w_e={beforeMount(e,t){__e(e,t.value)}};let S_e=1;const C_e=Z({name:"ElTable",directives:{Mousewheel:w_e},components:{TableHeader:J1e,TableBody:o_e,TableFooter:u_e,ElScrollbar:qo,hColgroup:LH},props:v_e,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=Vt(),n=Se("table"),r=yt();Tt(Xo,r);const a=H1e(r,e);r.store=a;const i=new G1e({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=i;const o=I(()=>(a.states.data.value||[]).length===0),{setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:v,clearSort:h,sort:p,updateKeyChildren:g}=c_e(a),{isHidden:m,renderExpanded:_,setDragVisible:b,isGroup:w,handleMouseLeave:S,handleHeaderFooterMousewheel:C,tableSize:x,emptyBlockStyle:M,handleFixedMousewheel:T,resizeProxyVisible:k,bodyWidth:A,resizeState:E,doLayout:L,tableBodyStyles:$,tableLayout:P,scrollbarViewStyle:D,scrollbarStyle:V}=f_e(e,i,a,r),{scrollBarRef:R,scrollTo:O,setScrollLeft:H,setScrollTop:W}=h_e(),Y=Oa(L,50),U=`${n.namespace.value}-table_${S_e++}`;r.tableId=U,r.state={isGroup:w,resizeState:E,doLayout:L,debouncedUpdateLayout:Y};const te=I(()=>{var j;return(j=e.sumText)!=null?j:t("el.table.sumText")}),ie=I(()=>{var j;return(j=e.emptyText)!=null?j:t("el.table.emptyText")}),de=I(()=>DH(a.states.originColumns.value)[0]);return d_e(r),hn(()=>{Y.cancel()}),{ns:n,layout:i,store:a,columns:de,handleHeaderFooterMousewheel:C,handleMouseLeave:S,tableId:U,tableSize:x,isHidden:m,isEmpty:o,renderExpanded:_,resizeProxyVisible:k,resizeState:E,isGroup:w,bodyWidth:A,tableBodyStyles:$,emptyBlockStyle:M,debouncedUpdateLayout:Y,handleFixedMousewheel:T,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:v,clearSort:h,doLayout:L,sort:p,updateKeyChildren:g,t,setDragVisible:b,context:r,computedSumText:te,computedEmptyText:ie,tableLayout:P,scrollbarViewStyle:D,scrollbarStyle:V,scrollBarRef:R,scrollTo:O,setScrollLeft:H,setScrollTop:W}}});function x_e(e,t,n,r,a,i){const o=bt("hColgroup"),s=bt("table-header"),l=bt("table-body"),u=bt("table-footer"),c=bt("el-scrollbar"),f=I1("mousewheel");return N(),K("div",{ref:"tableWrapper",class:B([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Ye(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[q("div",{class:B(e.ns.e("inner-wrapper"))},[q("div",{ref:"hiddenColumns",class:"hidden-columns"},[se(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?lt((N(),K("div",{key:0,ref:"headerWrapper",class:B(e.ns.e("header-wrapper"))},[q("table",{ref:"tableHeader",class:B(e.ns.e("header")),style:Ye(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[J(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),J(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):ue("v-if",!0),q("div",{
`||u==="\r"){o=l;continue}if(i.includes(u)){const c=o===-1?r:o;s={pattern:a.slice(l+1,c),start:l+1,end:c,prefix:u,prefixIndex:l,splitIndex:o,selectionEnd:r};break}}return s},QTe=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,r=e.selectionEnd!==null?e.selectionEnd:0,a=t.useSelectionEnd?r:n,i=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const d=document.querySelector("#input-textarea-caret-position-mirror-div");d!=null&&d.parentNode&&d.parentNode.removeChild(d)}const o=document.createElement("div");o.id="input-textarea-caret-position-mirror-div",document.body.appendChild(o);const s=o.style,l=window.getComputedStyle(e),u=e.nodeName==="INPUT";s.whiteSpace=u?"nowrap":"pre-wrap",u||(s.wordWrap="break-word"),s.position="absolute",t.debug||(s.visibility="hidden"),i.forEach(d=>{if(u&&d==="lineHeight")if(l.boxSizing==="border-box"){const v=Number.parseInt(l.height),h=Number.parseInt(l.paddingTop)+Number.parseInt(l.paddingBottom)+Number.parseInt(l.borderTopWidth)+Number.parseInt(l.borderBottomWidth),p=h+Number.parseInt(l.lineHeight);v>p?s.lineHeight=`${v-h}px`:v===p?s.lineHeight=l.lineHeight:s.lineHeight="0"}else s.lineHeight=l.height;else s[d]=l[d]}),q1()?e.scrollHeight>Number.parseInt(l.height)&&(s.overflowY="scroll"):s.overflow="hidden",o.textContent=e.value.slice(0,Math.max(0,a)),u&&o.textContent&&(o.textContent=o.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,a))||".",c.style.position="relative",c.style.left=`${-e.scrollLeft}px`,c.style.top=`${-e.scrollTop}px`,o.appendChild(c);const f={top:c.offsetTop+Number.parseInt(l.borderTopWidth),left:c.offsetLeft+Number.parseInt(l.borderLeftWidth),height:Number.parseInt(l.fontSize)*1.5};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(o),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},e2e=Ae({...Nk,options:{type:ae(Array),default:()=>[]},prefix:{type:ae([String,Array]),default:"@",validator:e=>We(e)?e.length===1:e.every(t=>We(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:ae([Boolean,Function]),default:()=>ZTe,validator:e=>e===!1?!0:Ke(e)},placement:{type:ae(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:ae(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ae(Object),default:()=>({})}}),t2e={[ut]:e=>We(e),search:(e,t)=>We(e)&&We(t),select:(e,t)=>We(e.value)&&We(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},n2e=Ae({options:{type:ae(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),r2e={select:e=>We(e.value)},a2e=Z({name:"ElMentionDropdown"}),i2e=Z({...a2e,props:n2e,emits:r2e,setup(e,{expose:t,emit:n}){const r=e,a=Se("mention"),{t:i}=Vt(),o=F(-1),s=F(),l=F(),u=F(),c=(b,w)=>[a.be("dropdown","item"),a.is("hovering",o.value===w),a.is("disabled",b.disabled||r.disabled)],f=b=>{b.disabled||r.disabled||n("select",b)},d=b=>{o.value=b},v=I(()=>r.disabled||r.options.every(b=>b.disabled)),h=I(()=>r.options[o.value]),p=()=>{h.value&&n("select",h.value)},g=b=>{const{options:w}=r;if(w.length===0||v.value)return;b==="next"?(o.value++,o.value===w.length&&(o.value=0)):b==="prev"&&(o.value--,o.value<0&&(o.value=w.length-1));const S=w[o.value];if(S.disabled){g(b);return}je(()=>m(S))},m=b=>{var w,S,C,x;const{options:M}=r,T=M.findIndex(A=>A.value===b.value),k=(w=l.value)==null?void 0:w[T];if(k){const A=(C=(S=u.value)==null?void 0:S.querySelector)==null?void 0:C.call(S,`.${a.be("dropdown","wrap")}`);A&&Ek(A,k)}(x=s.value)==null||x.handleScroll()};return _e(()=>r.options
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let UW;const f_=e=>UW=e,YW=Symbol();function jT(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var rp;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rp||(rp={}));function oMe(){const e=WM(!0),t=e.run(()=>F({}));let n=[],r=[];const a=Po({install(i){f_(a),a._a=i,i.provide(YW,a),i.config.globalProperties.$pinia=a,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!Hre?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const jW=()=>{};function hO(e,t,n,r=jW){e.push(t);const a=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&GM()&&KM(a),a}function _f(e,...t){e.slice().forEach(n=>{n(...t)})}const sMe=e=>e(),pO=Symbol(),Zw=Symbol();function qT(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],a=e[n];jT(a)&&jT(r)&&e.hasOwnProperty(n)&&!ln(r)&&!Ss(r)?e[n]=qT(a,r):e[n]=r}return e}const lMe=Symbol();function uMe(e){return!jT(e)||!e.hasOwnProperty(lMe)}const{assign:fl}=Object;function cMe(e){return!!(ln(e)&&e.effect)}function fMe(e,t,n,r){const{state:a,actions:i,getters:o}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=a?a():{});const c=sr(n.state.value[e]);return fl(c,i,Object.keys(o||{}).reduce((f,d)=>(f[d]=Po(I(()=>{f_(n);const v=n._s.get(e);return o[d].call(v,v)})),f),{}))}return l=qW(e,u,t,n,r,!0),l}function qW(e,t,n={},r,a,i){let o;const s=fl({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],v;const h=r.state.value[e];!i&&!h&&(r.state.value[e]={}),F({});let p;function g(M){let T;u=c=!1,typeof M=="function"?(M(r.state.value[e]),T={type:rp.patchFunction,storeId:e,events:v}):(qT(r.state.value[e],M),T={type:rp.patchObject,payload:M,storeId:e,events:v});const k=p=Symbol();je().then(()=>{p===k&&(u=!0)}),c=!0,_f(f,T,r.state.value[e])}const m=i?function(){const{state:T}=n,k=T?T():{};this.$patch(A=>{fl(A,k)})}:jW;function _(){o.stop(),f=[],d=[],r._s.delete(e)}const b=(M,T="")=>{if(pO in M)return M[Zw]=T,M;const k=function(){f_(r);const A=Array.from(arguments),E=[],L=[];function $(V){E.push(V)}function P(V){L.push(V)}_f(d,{args:A,name:k[Zw],store:S,after:$,onError:P});let D;try{D=M.apply(this&&this.$id===e?this:S,A)}catch(V){throw _f(L,V),V}return D instanceof Promise?D.then(V=>(_f(E,V),V)).catch(V=>(_f(L,V),Promise.reject(V))):(_f(E,D),D)};return k[pO]=!0,k[Zw]=T,k},w={_p:r,$id:e,$onAction:hO.bind(null,d),$patch:g,$reset:m,$subscribe(M,T={}){const k=hO(f,M,T.detached,()=>A()),A=o.run(()=>_e(()=>r.state.value[e],E=>{(T.flush==="sync"?c:u)&&M({storeId:e,type:rp.direct,events:v},E)},fl({},l,T)));return k},$dispose:_},S=Yt(w);r._s.set(e,S);const x=(r._a&&r._a.runWithContext||sMe)(()=>r._e.run(()=>(o=WM()).run(()=>t({action:b}))));for(const M in x){const T=x[M];if(ln(T)&&!cMe(T)||Ss(T))i||(h&&uMe(T)&&(ln(T)?T.value=h[M]:qT(T,h[M])),r.state.value[e][M]=T);else if(typeof T=="function"){const k=b(T,M);x[M]=k,s.actions[M]=T}}return fl(S,x),fl(an(S),x),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:M=>{g(T=>{fl(T,M)})}}),r._p.forEach(M=>{fl(S,o.run(()=>M({store:S,app:r._a,pinia:r,options:s})))}),h&&i&&n.hydrate&&n.hydrate(S.$state,h),u=!0,c=!0,S}/*! #__NO_SIDE_EFFECTS__ */function PWe(e,t,n){let r,a;const i=typeof t=="function";r=e,a=i?n:t;function o(s,l){const u=qq();return s=s||(u?Be(YW,null):null),s&&f_(s),s=UW,s._s.has(r)||(i?qW(r,t,a,s):fMe(r,a,s)),s._s.get(r)}return o.$id=r,o}function RWe(e){{const t=an(e),n={};for(const r in t){const a=t[r];a.effect?n[r]=I({get:()=>e[r],set(i){e[r]=i}}):(ln(a)||Ss(a))&&(n[r]=Jt(e,r))}return n}}/*! *****************************************************************************
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 XT=function(e,t){return XT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},XT(e,t)};function be(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");XT(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var dMe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),vMe=function(){function e(){this.browser=new dMe,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}(),Ht=new vMe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Ht.wxa=!0,Ht.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Ht.worker=!0:!Ht.hasGlobalWindow||"Deno"in window?(Ht.node=!0,Ht.svgSupported=!0):hMe(navigator.userAgent,Ht);function hMe(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=+i[1].split(".")[0]>18),o&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}var YA=12,XW="sans-serif",Zl=YA+"px "+XW,pMe=20,gMe=100,mMe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function yMe(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),a=(e.charCodeAt(n)-pMe)/gMe;t[r]=a}return t}var bMe=yMe(mMe),ao={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var a=ao.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==r&&(t=e.font=r||Zl),e.measureText(n);n=n||"",r=r||Zl;var i=/((?:\d+)?\.?\d*)px/.exec(r),o=i&&+i[1]||YA,s=0;if(r.indexOf("mono")>=0)s=o*n.length;else for(var l=0;l<n.length;l++){var u=bMe[n[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};function ZW(e){for(var t in ao)e[t]&&(ao[t]=e[t])}var JW=Ci(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),QW=Ci(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),bv=Object.prototype.toString,d_=Array.prototype,_Me=d_.forEach,wMe=d_.filter,jA=d_.slice,SMe=d_.map,gO=(function(){}).constructor,Ym=gO?gO.prototype:null,qA="__proto__",CMe=2311;function XA(){return CMe++}function v_(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function mt(e){if(e==null||typeof e!="object")return e;var t=e,n=bv.call(e);if(n==="[object Array]"){if(!md(e)){t=[];for(var r=0,a=e.length;r<a;r++)t[r]=mt(e[r])}}else if(QW[n]){if(!md(e)){var i=e.constructor;if(i.from)t=i.from(e);else{t=new i(e.length);for(var r=0,a=e.length;r<a;r++)t[r]=e[r]}}}else if(!JW[n]&&!md(e)&&!Wc(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==qA&&(t[o]=mt(e[o]))}return t}function It(e,t,n){if(!gt(t)||!gt(e))return n?mt(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==qA){var a=e[r],i=t[r];gt(i)&&gt(a)&&!Re(i)&&!
`),i=a.length;if(i===1)return zO(a[0],t,n,r);for(var o=new Rt(0,0,0,0),s=0;s<a.length;s++){var l=zO(a[s],t,n,r);s===0?o.copy(l):o.union(l)}return o}function Dh(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function Xf(e,t,n){return n==="middle"?e-=t/2:n==="bottom"&&(e-=t),e}function __(e){return ja("国",e)}function oo(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Lb(e,t,n){var r=t.position||"inside",a=t.distance!=null?t.distance:5,i=n.height,o=n.width,s=i/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=oo(r[0],n.width),u+=oo(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=a,u+=s,c="right",f="middle";break;case"right":l+=a+o,u+=s,f="middle";break;case"top":l+=o/2,u-=a,c="center",f="bottom";break;case"bottom":l+=o/2,u+=i+a,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=a,u+=s,f="middle";break;case"insideRight":l+=o-a,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=a,c="center";break;case"insideBottom":l+=o/2,u+=i-a,c="center",f="bottom";break;case"insideTopLeft":l+=a,u+=a;break;case"insideTopRight":l+=o-a,u+=a,c="right";break;case"insideBottomLeft":l+=a,u+=i-a,f="bottom";break;case"insideBottomRight":l+=o-a,u+=i-a,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var hS="__zr_normal__",pS=Go.concat(["ignore"]),Vke=Ci(Go,function(e,t){return e[t]=!0,e},{ignore:!1}),xf={},Fke=new Rt(0,0,0,0),w_=function(){function e(t){this.id=XA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=n,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 n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,i=n.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=a?this:null;var u=!1;if(i.copyTransform(n),r.position!=null){var c=Fke;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(xf,r,c):Lb(xf,r,c),i.x=xf.x,i.y=xf.y,o=xf.align,s=xf.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,v=void 0;f==="center"?(d=c.width*.5,v=c.height*.5):(d=oo(f[0],c.width),v=oo(f[1],c.height)),u=!0,i.originX=-i.x+d+(a?0:c.x),i.originY=-i.y+v+(a?0:c.y)}}r.rotation!=null&&(i.rotation=r.rotation);var h=r.offset;h&&(i.x+=h[0],i.y+=h[1],u||(i.originX=-h[0],i.originY=-h[1]));var p=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,_=void 0,b=void 0;p&&this.canBeInsideText()?(m=r.insideFill,_=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(m),b=!0)):(m=r.outsideFill,_=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(m),b=!0)),m=m||"#000",(m!==g.fill||_!==g.stroke||b!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=_,g.autoStroke=b,g.align=o,g.verticalAlign=s,n.setDefaultTextStyle(g)),n.__dirty|=Fa,l&&n.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()?h2:v2},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&ya(n);r||(r=[255,255,255,1]);for(var a=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*a+(i?0:255)*(1-a);return r[3]=1,Xi(r,"rgba")},e.prototype.traverse=f
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var E0={},dc={};function Kke(e){delete dc[e]}function Uke(e){if(!e)return!1;if(typeof e=="string")return rg(e,1)<d2;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,a=0;a<r;a++)n+=rg(t[a].color,1);return n/=r,n<d2}return!1}var Yke=function(){function e(t,n,r){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=t;var i=new ake,o=r.renderer||"canvas";E0[o]||(o=Ut(E0)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var s=new E0[o](n,i,r,t),l=r.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u=!Ht.node&&!Ht.worker&&!l?new $ke(s.getViewportRoot(),s.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?Ht.touchEventsSupported:!!c,d=44,v;f&&(v=Mt(r.pointerSize,d)),this.handler=new fG(i,s,u,s.root,v),this.animation=new Ike({stage:{update:l?null:function(){return a._flush(!0)}}}),l||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,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Uke(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||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var n,r=rd();this._needsRefresh&&(n=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var a=rd();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-r})):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._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},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,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof wt&&t[n].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,Kke(this.id))},e}();function p2(e,t){var n=new Yke(XA(),e,t);return dc[n.id]=n,n}function jke(e){e.dispose()}function qke(){for(var e in dc)dc
`);i=ZG(n,r,a,i);for(var s=!1,l={},u=0,c=o.length;u<c;u++)JG(l,o[u],i),o[u]=l.textLine,s=s||l.isTruncated;e.text=o.join(`
`),e.isTruncated=s}function ZG(e,t,n,r){r=r||{};var a=De({},r);a.font=t,n=Mt(n,"..."),a.maxIterations=Mt(r.maxIterations,2);var i=a.minChar=Mt(r.minChar,0);a.cnCharWidth=ja("国",t);var o=a.ascCharWidth=ja("a",t);a.placeholder=Mt(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<i&&s>=o;l++)s-=o;var u=ja(n,t);return u>s&&(n="",u=0),s=e-u,a.ellipsis=n,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=e,a}function JG(e,t,n){var r=n.containerWidth,a=n.font,i=n.contentWidth;if(!r){e.textLine="",e.isTruncated=!1;return}var o=ja(t,a);if(o<=r){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=n.maxIterations){t+=n.ellipsis;break}var l=s===0?DAe(t,i,n.ascCharWidth,n.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,l),o=ja(t,a)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function DAe(e,t,n,r){for(var a=0,i=0,o=e.length;i<o&&a<t;i++){var s=e.charCodeAt(i);a+=0<=s&&s<=127?n:r}return i}function LAe(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,a=t.font,i=n==="truncate",o=__(a),s=Mt(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=!1,f=t.width,d;f!=null&&(n==="break"||n==="breakAll")?d=e?QG(e,t.font,f,n==="breakAll",0).lines:[]:d=e?e.split(`
`):[];var v=d.length*s,h=Mt(t.height,v);if(v>h&&u){var p=Math.floor(h/s);c=c||d.length>p,d=d.slice(0,p)}if(e&&i&&f!=null)for(var g=ZG(f,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},_=0;_<d.length;_++)JG(m,d[_],g),d[_]=m.textLine,c=c||m.isTruncated;for(var b=h,w=0,_=0;_<d.length;_++)w=Math.max(ja(d[_],a),w);f==null&&(f=w);var S=w;return r&&(b+=r[0]+r[2],S+=r[1]+r[3],f+=r[1]+r[3]),l&&(S=f),{lines:d,height:h,outerWidth:S,outerHeight:b,lineHeight:s,calculatedLineHeight:o,contentWidth:w,contentHeight:v,width:f,isTruncated:c}}var PAe=function(){function e(){}return e}(),YO=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),RAe=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 OAe(e,t){var n=new RAe;if(e!=null&&(e+=""),!e)return n;for(var r=t.width,a=t.height,i=t.overflow,o=(i==="break"||i==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:i==="breakAll"}:null,s=yS.lastIndex=0,l;(l=yS.exec(e))!=null;){var u=l.index;u>s&&bS(n,e.substring(s,u),t,o),bS(n,l[2],t,o,l[1]),s=yS.lastIndex}s<e.length&&bS(n,e.substring(s,e.length),t,o);var c=[],f=0,d=0,v=t.padding,h=i==="truncate",p=t.lineOverflow==="truncate",g={};function m(H,W,Y){H.width=W,H.lineHeight=Y,f+=Y,d=Math.max(d,W)}e:for(var _=0;_<n.lines.length;_++){for(var b=n.lines[_],w=0,S=0,C=0;C<b.tokens.length;C++){var x=b.tokens[C],M=x.styleName&&t.rich[x.styleName]||{},T=x.textPadding=M.padding,k=T?T[1]+T[3]:0,A=x.font=M.font||t.font;x.contentHeight=__(A);var E=Mt(M.height,x.contentHeight);if(x.innerHeight=E,T&&(E+=T[0]+T[2]),x.height=E,x.lineHeight=ji(M.lineHeight,t.lineHeight,E),x.align=M&&M.align||t.align,x.verticalAlign=M&&M.verticalAlign||"middle",p&&a!=null&&f+x.lineHeight>a){var L=n.lines.length;C>0?(b.tokens=b.tokens.slice(0,C),m(b,S,w),n.lines=n.lines.slice(0,_+1)):n.lines=n.lines.slice(0,_),n.isTruncated=n.isTruncated||n.lines.length<L;break e}var $=M.width,P=$==null||$==="auto";if(typeof $=="string"&&$.charAt($.length-1)==="%")x.percentWidth=$,c.push(x),x.contentWidth=ja(x.text,A);else{if(P){var D=M.backgroundColor,V=D&&D.image;V&&(V=EAe(V),x_(V)&&(x.width=Math.max(x.width,V.width*E/V.height)))}var R=h&&r!=null?r-S:null;R!=null&&R<x.width?!P||R<k?(x.text="",x.width=x.contentWidth=0):(XG(g,x.text,R-k,A,t.ellipsis,{minChar:t.truncateMinChar}),x.text=g.text,n.isTruncated=n.isTruncated||g.isTruncated,x.width=x.contentWidth=ja(x.text,A)):x.contentWidth=ja(x.text,A)}x.width+=k,S+=x.width,M&&(w=Math.max(w,x.lineHeight))}m(b,S,w)}n.outerWidth=n.width=Mt(r,d),n.outerHeight=n.height=Mt(a,f),n.contentHeight=f,n.contentWidth=d,v&&(n.outerWidth+=v[1]+v[3],n.outerHeight+=v[0]+v[2]);for(var _=0;_<c.length;_++){var x=c[_],O=x.percentWidth;x.width=parseInt(O,10)/100*n.width}return n}function bS(e,t,n,r,a){var i=t==="",o=a&&n.rich[a]||{},s=e.lines,l=o.font||n.font,u=!1,c,f;if(r){var d=o.padding,v=d?d[1]+d[3]:0;if(o.width!=null&&o.width!=="auto"){var h=oo(o.width,r.width)+v;s.length>0&&h+r.accumWidth>r.width&&(c=t.split(`
`),u=!0),r.accumWidth=h}else{var p=QG(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=p.accumWidth+v,f=p.linesWidths,c=p.lines}}else c=t.split(`
`);for(var g=0;g<c.length;g++){var m=c[g],_=new PAe;if(_.styleName=a,_.text=m,_.isLineHolder=!m&&!i,typeof o.width=="number"?_.width=o.width:_.width=f?f[g]:ja(m,l),!g&&!u){var b=(s[s.length-1]||(s[0]=new YO)).tokens,w=b.length;w===1&&b[0].isLineHolder?b[0]=_:(m||!w||i)&&b.push(_)}else s.push(new YO([_]))}}function NAe(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var $Ae=Ci(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function BAe(e){return NAe(e)?!!$Ae[e]:!0}function QG(e,t,n,r,a){for(var i=[],o=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var d=e.charAt(f);if(d===`
`){l&&(s+=l,c+=u),i.push(s),o.push(c),s="",l="",u=0,c=0;continue}var v=ja(d,t),h=r?!1:!BAe(d);if(i.length?c+v>n:a+c+v>n){c?(s||l)&&(h?(s||(s=l,l="",u=0,c=u),i.push(s),o.push(c-u),l+=d,u+=v,s="",c=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(c),s=d,c=v)):h?(i.push(l),o.push(u),l=d,u=v):(i.push(d),o.push(v));continue}c+=v,h?(l+=d,u+=v):(l&&(s+=l,l="",u=0),s+=d)}return!i.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(c)),i.length===1&&(c+=a),{accumWidth:c,lines:i,linesWidths:o}}var w2="__zr_style_"+Math.round(Math.random()*10),kc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},T_={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};kc[w2]=!0;var jO=["z","z2","invisible"],VAe=["invisible"],xi=function(e){be(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Ut(n),a=0;a<r.length;a++){var i=r[a];i==="style"?this.useStyle(n[i]):e.prototype.attrKV.call(this,i,n[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,r,a,i){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&FAe(this,n,r)||o&&!o[0]&&!o[3])return!1;if(a&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(i&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(n,r){return this.rectContain(n,r)},t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.rectContain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect();return i.contain(a[0],a[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,a=this.getBoundingRect(),i=this.style,o=i.shadowBlur||0,s=i.shadowOffsetX||0,l=i.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new Rt(0,0,0,0)),r?Rt.applyTransform(n,a,r):n.copy(a),(o||s||l)&&(n.width+=o*2+Math.abs(s),n.height+=o*2+Math.abs(l),n.x=Math.min(n.x,n.x+s-o),n.y=Math.min(n.y,n.y+l-o));var u=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-u),n.y=Math.floor(n.y-u),n.width=Math.ceil(n.width+1+u*2),n.height=Math.ceil(n.height+1+u*2))}return n},t.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new Rt(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(n){return this.animate("style",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(n,r){n!=="style"?e.prototype.attrKV.call(this,n,r):this.style?this.setStyle(r):this.useStyle(r)},t.prototype.setStyle=function(n,r){return typeof n=="string"?this.style[n]=r:De(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=Eh,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Eh)},t.prototype.styleUpdated=function(){this.__dirty&=~Eh},t.prototype.createStyle=function(n){return qg(kc,n)},t.prototype.useStyle=function(n){n[w2]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},t.prototype.isStyleObject=function(n){return n[w2]},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,r,jO)},t.prototype._applyStateObj=function(n,r,a,i,o,s){e.prototype._applyStateObj.call(this,n,r,a,i,o,s);var l=!(r&&i),u;if(r&&r.style?o?i?u=r.style:(u=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),i?this.style:a.style),this._mergeStyle(u,r.style)):l&&(u=a.style),u)if(o){var c=this.sty
yyyy`);var r=qa(t),a=n?"getUTC":"get",i=r[a+"FullYear"](),o=r[a+"Month"]()+1,s=r[a+"Date"](),l=r[a+"Hours"](),u=r[a+"Minutes"](),c=r[a+"Seconds"](),f=r[a+"Milliseconds"]();return e=e.replace("MM",da(o,2)).replace("M",o).replace("yyyy",i).replace("yy",da(i%100+"",2)).replace("dd",da(s,2)).replace("d",s).replace("hh",da(l,2)).replace("h",l).replace("mm",da(u,2)).replace("m",u).replace("ss",da(c,2)).replace("s",c).replace("SSS",da(f,3)),e}function TIe(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function jc(e,t){return t=t||"transparent",Je(e)?e:gt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Fb(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var O0=G,K9=["left","right","top","bottom","width","height"],pc=[["width","left","right"],["height","top","bottom"]];function OE(e,t,n,r,a){var i=0,o=0;r==null&&(r=1/0),a==null&&(a=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),d=f&&f.getBoundingRect(),v,h;if(e==="horizontal"){var p=c.width+(d?-d.x+c.x:0);v=i+p,v>r||l.newline?(i=0,v=p,o+=s+n,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(d?-d.y+c.y:0);h=o+g,h>a||l.newline?(i+=s+n,o=0,h=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),e==="horizontal"?i=v+n:o=h+n)})}var Ec=OE;kt(OE,"vertical");kt(OE,"horizontal");function MIe(e,t,n){var r=t.width,a=t.height,i=qe(e.left,r),o=qe(e.top,a),s=qe(e.right,r),l=qe(e.bottom,a);return(isNaN(i)||isNaN(parseFloat(e.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=r),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=a),n=sf(n||0),{width:Math.max(s-i-n[1]-n[3],0),height:Math.max(l-o-n[0]-n[2],0)}}function rr(e,t,n){n=sf(n||0);var r=t.width,a=t.height,i=qe(e.left,r),o=qe(e.top,a),s=qe(e.right,r),l=qe(e.bottom,a),u=qe(e.width,r),c=qe(e.height,a),f=n[2]+n[0],d=n[1]+n[3],v=e.aspect;switch(isNaN(u)&&(u=r-s-d-i),isNaN(c)&&(c=a-l-f-o),v!=null&&(isNaN(u)&&isNaN(c)&&(v>r/a?u=r*.8:c=a*.8),isNaN(u)&&(u=v*c),isNaN(c)&&(c=u/v)),isNaN(i)&&(i=r-s-u-d),isNaN(o)&&(o=a-l-c-f),e.left||e.right){case"center":i=r/2-u/2-n[3];break;case"right":i=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":o=a/2-c/2-n[0];break;case"bottom":o=a-c-f;break}i=i||0,o=o||0,isNaN(u)&&(u=r-d-i-(s||0)),isNaN(c)&&(c=a-f-o-(l||0));var h=new Rt(i+n[3],o+n[0],u,c);return h.margin=n,h}function $_(e,t,n,r,a,i){var o=!a||!a.hv||a.hv[0],s=!a||!a.hv||a.hv[1],l=a&&a.boundingMode||"all";if(i=i||e,i.x=e.x,i.y=e.y,!o&&!s)return!1;var u;if(l==="raw")u=e.type==="group"?new Rt(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var f=rr(ft({width:u.width,height:u.height},t),n,r),d=o?f.x-u.x:0,v=s?f.y-u.y:0;return l==="raw"?(i.x=d,i.y=v):(i.x+=d,i.y+=v),i===e&&e.markRedraw(),!0}function kIe(e,t){return e[pc[t][0]]!=null||e[pc[t][1]]!=null&&e[pc[t][2]]!=null}function cg(e){var t=e.layoutMode||e.constructor.layoutMode;return gt(t)?t:t?{type:t}:null}function eu(e,t,n){var r=n&&n.ignoreSize;!Re(r)&&(r=[r,r]);var a=o(pc[0],0),i=o(pc[1],1);u(pc[0],e,a),u(pc[1],e,i);function o(c,f){var d={},v=0,h={},p=0,g=2;if(O0(c,function(b){h[b]=e[b]}),O0(c,function(b){s(t,b)&&(d[b]=h[b]=t[b]),l(d,b)&&v++,l(h,b)&&p++}),r[f])return l(t,c[1])?h[c[2]]=null:l(t,c[2])&&(h[c[1]]=null),h;if(p===g||!v)return h;if(v>=g)return d;for(var m=0;m<c.length;m++){var _=c[m];if(!s(d,_)&&s(e,_)){d[_]=e[_];break}}return d}function s(c,f){return c.hasOwnProperty(f)}function l(c,f){return c[f]!=null&&c[f]!=="auto"}function u(c,f,d){O0(c,function(v){f[v]=d[v]})}}function Ev(e){return U9({},e)}function U9(e,t){return t&&e&&O0(K9,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var AIe=Qt(),zt=function(e){be(t,e);function t(n,r,a){var i=e.call(this,n,r,a)||this;return i.uid=Av("ec_cpt_model"),i}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},t.prototype.mergeDefaultAndTheme=function(n,r){var a=cg(this),i=a?Ev(n):{},o=r.getTheme();It(n,o.get(this.mainType)),It(n,this.g
`,`
`,`
`];function _r(e,t){return t.type=e,t}function $2(e){return e.type==="section"}function bK(e){return $2(e)?IDe:DDe}function _K(e){if($2(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return G(e.blocks,function(a){var i=_K(a);i>=t&&(t=i+ +(r&&(!i||$2(a)&&!a.noHeader)))}),t}return 0}function IDe(e,t,n,r){var a=t.noHeader,i=LDe(_K(t)),o=[],s=t.blocks||[];Qr(!s||Re(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(tt(u,l)){var c=new dK(u[l],null);s.sort(function(p,g){return c.evaluate(p.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}G(s,function(p,g){var m=t.valueFormatter,_=bK(p)(m?De(De({},e),{valueFormatter:m}):e,p,g>0?i.html:0,r);_!=null&&o.push(_)});var f=e.renderMode==="richText"?o.join(i.richText):B2(r,o.join(""),a?n:i.html);if(a)return f;var d=L2(t.header,"ordinal",e.useUTC),v=yK(r,e.renderMode).nameStyle,h=mK(r);return e.renderMode==="richText"?wK(e,d,v)+i.richText+f:B2(r,'<div style="'+v+";"+h+';">'+Yr(d)+"</div>"+f,n)}function DDe(e,t,n,r){var a=e.renderMode,i=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=Re(w)?w:[w],Ne(w,function(S,C){return L2(S,Re(v)?v[C]:v,u)})};if(!(i&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),d=i?"":L2(l,"ordinal",u),v=t.valueType,h=o?[]:c(t.value,t.dataIndex),p=!s||!i,g=!s&&i,m=yK(r,a),_=m.nameStyle,b=m.valueStyle;return a==="richText"?(s?"":f)+(i?"":wK(e,d,_))+(o?"":ODe(e,h,p,g,b)):B2(r,(s?"":f)+(i?"":PDe(d,!s,_))+(o?"":RDe(h,p,g,b)),n)}}function n$(e,t,n,r,a,i){if(e){var o=bK(e),s={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,i)}}function LDe(e){return{html:ADe[e],richText:EDe[e]}}function B2(e,t,n){var r='<div style="clear:both"></div>',a="margin: "+n+"px 0 0",i=mK(e);return'<div style="'+a+";"+i+';">'+t+r+"</div>"}function PDe(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+Yr(e)+"</span>"}function RDe(e,t,n,r){var a=n?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return e=Re(e)?e:[e],'<span style="'+i+";"+r+'">'+Ne(e,function(o){return Yr(o)}).join("&nbsp;&nbsp;")+"</span>"}function wK(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function ODe(e,t,n,r,a){var i=[a],o=r?10:20;return n&&i.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Re(t)?t.join(" "):t,i)}function SK(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return jc(r)}function CK(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var WS=function(){function e(){this.richTextStyles={},this._nextStyleNameId=FG()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var a=r==="richText"?this._generateStyleName():null,i=G9({color:n,type:t,renderMode:r,markerId:a});return Je(i)?i:(this.richTextStyles[a]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};Re(n)?G(n,function(i){return De(r,i)}):De(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+t+"}"},e}();function xK(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,s=t.getRawValue(n),l=Re(s),u=SK(t,n),c,f,d,v;if(o>1||l&&!o){var h=NDe(s,t,n,i,u);c=h.inlineValues,f=h.inlineValueTypes,d=h.blocks,v=h.inlineValues[0]}else if(o){var p=a.getDimensionInfo(i[0]);v=c=Jd(a,n,i[0]),f=p.type}else v=c=l?s[0]:s;var g=uE(t),m=g&&t.name||"",_=a.getName(n),b=r?m:_;return _r("section",{header:m,noHeader:r||!g,sortParam:v,blocks:[_r("nameValue",{markerType:"item",markerColor:u,name:b,noName:!hi(b),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function NDe(e,t,n,r,a){var i=t.getData(),o=Ci(e,function(f,d,v){var h=i.getDimensionInfo(v);return f=f||h&&h.tooltip!==!1&&h.displayName!=null},!1),s=[],l=[],u=[];r.length?G(r,function(f){c(Jd(i,n,f),f)}):G(e,c);function c(f,d){var v=i.getDimensionInfo(d);!v||v.otherDims.tooltip===!1||(o?u.push(_r("nameV
`:"";function r(a){var i=a.children,o=a.tag,s=a.attrs,l=a.text;return aOe(o,s)+(o!=="style"?Yr(l):l||"")+(i?""+n+Ne(i,function(u){return r(u)}).join(n)+n:"")+iOe(o)}return r(e)}function oOe(e,t,n){n=n||{};var r=n.newline?`
`:"",a=" {"+r,i=r+"}",o=Ne(Ut(e),function(l){return l+a+Ne(Ut(e[l]),function(u){return u+":"+e[l][u]+";"}).join(r)+i}).join(r),s=Ne(Ut(t),function(l){return"@keyframes "+l+a+Ne(Ut(t[l]),function(u){return u+a+Ne(Ut(t[l][u]),function(c){var f=t[l][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(r)+i}).join(r)+i}).join(r);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(r)}function Z2(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Z$(e,t,n,r){return vr("svg","root",{width:e,height:t,xmlns:G7,"xmlns:xlink":K7,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var sOe=0;function Y7(){return sOe++}var J$={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Yu="transform-origin";function lOe(e,t,n){var r=De({},e.shape);De(r,t),e.buildPath(n,r);var a=new W7;return a.reset(MG(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function uOe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[Yu]=n+"px "+r+"px")}var cOe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function j7(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function fOe(e,t,n){var r=e.shape.paths,a={},i,o;if(G(r,function(l){var u=Z2(n.zrId);u.animation=!0,j_(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,d=Ut(c),v=d.length;if(v){o=d[v-1];var h=c[o];for(var p in h){var g=h[p];a[p]=a[p]||{d:""},a[p].d+=g.d||""}for(var m in f){var _=f[m].animation;_.indexOf(o)>=0&&(i=_)}}}),!!i){t.d=!1;var s=j7(a,n);return i.replace(o,s)}}function Q$(e){return Je(e)?J$[e]?"cubic-bezier("+J$[e]+")":tE(e)?e:"":""}function j_(e,t,n,r){var a=e.animators,i=a.length,o=[];if(e instanceof E_){var s=fOe(e,t,n);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u<i;u++){var c=a[u],f=[c.getMaxTime()/1e3+"s"],d=Q$(c.getClip().easing),v=c.getDelay();d?f.push(d):f.push("linear"),v&&f.push(v/1e3+"s"),c.getLoop()&&f.push("infinite");var h=f.join(" ");l[h]=l[h]||[h,[]],l[h][1].push(c)}function p(_){var b=_[1],w=b.length,S={},C={},x={},M="animation-timing-function";function T(ne,Q,he){for(var ce=ne.getTracks(),z=ne.getMaxTime(),X=0;X<ce.length;X++){var oe=ce[X];if(oe.needsAnimate()){var pe=oe.keyframes,me=oe.propName;if(he&&(me=he(me)),me)for(var ve=0;ve<pe.length;ve++){var we=pe[ve],ye=Math.round(we.time/z*100)+"%",ke=Q$(we.easing),Te=we.rawValue;(Je(Te)||tn(Te))&&(Q[ye]=Q[ye]||{},Q[ye][me]=we.rawValue,ke&&(Q[ye][M]=ke))}}}}for(var k=0;k<w;k++){var A=b[k],E=A.targetName;E?E==="shape"&&T(A,C):!r&&T(A,S)}for(var L in S){var $={};DG($,e),De($,S[L]);var P=kG($),D=S[L][M];x[L]=P?{transform:P}:{},uOe(x[L],$),D&&(x[L][M]=D)}var V,R=!0;for(var L in C){x[L]=x[L]||{};var O=!V,D=C[L][M];O&&(V=new Uo);var H=V.len();V.reset(),x[L].d=lOe(e,C[L],V);var W=V.len();if(!O&&H!==W){R=!1;break}D&&(x[L][M]=D)}if(!R)for(var L in x)delete x[L].d;if(!r)for(var k=0;k<w;k++){var A=b[k],E=A.targetName;E==="style"&&T(A,x,function(ce){return cOe[ce]})}for(var Y=Ut(x),U=!0,te,k=1;k<Y.length;k++){var ie=Y[k-1],de=Y[k];if(x[ie][Yu]!==x[de][Yu]){U=!1;break}te=x[ie][Yu]}if(U&&te){for(var L in x)x[L][Yu]&&delete x[L][Yu];t[Yu]=te}if(un(Y,function(ne){return Ut(x[ne]).length>0}).length){var j=j7(x,n);return j+" "+_[0]+" both"}}for(var g in l){var s=p(l[g]);s&&o.push(s)}if(o.length){var m=n.zrId+"-cls-"+Y7();n.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function dOe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};e3(r,t,n)}else{var a=e.
`+g.message)}var a=new wt;a.add(r),a.isGeoSVGGraphicRoot=!0;var i=n.width,o=n.height,s=n.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,c=void 0,f=void 0,d=void 0;if(i!=null?(u=0,f=i):s&&(u=s.x,f=s.width),o!=null?(c=0,d=o):s&&(c=s.y,d=s.height),u==null||c==null){var v=r.getBoundingRect();u==null&&(u=v.x,f=v.width),c==null&&(c=v.y,d=v.height)}l=this._boundingRect=new Rt(u,c,f,d)}if(s){var h=DU(s,l);r.scaleX=r.scaleY=h.scale,r.x=h.x,r.y=h.y}a.setClipPath(new Zt({shape:l.plain()}));var p=[];return G(n.named,function(g){A$e.get(g.svgNodeTagLower)!=null&&(p.push(g),I$e(g.el))}),{root:a,boundingRect:l,named:p}},e.prototype.useGraphic=function(t){var n=this._usedGraphicMap,r=n.get(t);return r||(r=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),n.set(t,r),r)},e.prototype.freeGraphic=function(t){var n=this._usedGraphicMap,r=n.get(t);r&&(n.removeKey(t),this._freedGraphics.push(r))},e}();function I$e(e){e.silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1})}function D$e(e){var t=[],n=rt();return G(e,function(r){if(r.namedFrom==null){var a=new mRe(r.name,r.el);t.push(a),n.set(r.name,a)}}),{regions:t,regionsMap:n}}var iM=[126,25],Q3="南海诸岛",ju=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var Ku=0;Ku<ju.length;Ku++)for(var Rf=0;Rf<ju[Ku].length;Rf++)ju[Ku][Rf][0]/=10.5,ju[Ku][Rf][1]/=-10.5/.75,ju[Ku][Rf][0]+=iM[0],ju[Ku][Rf][1]+=iM[1];function L$e(e,t){if(e==="china"){for(var n=0;n<t.length;n++)if(t[n].name===Q3)return;t.push(new k7(Q3,Ne(ju,function(r){return{type:"polygon",exterior:r}}),iM))}}var P$e={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function R$e(e,t){if(e==="china"){var n=P$e[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/(10.5/.75),t.setCenter(r)}}}var O$e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function N$e(e,t){e==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:O$e[0]})}var $$e="name",B$e=function(){function e(t,n,r){this.type="geoJSON",this._parsedMap=rt(),this._mapName=t,this._specialAreas=r,this._geoJSON=F$e(n)}return e.prototype.load=function(t,n){n=n||$$e;var r=this._parsedMap.get(n);if(!r){var a=this._parseToRegions(n);r=this._parsedMap.set(n,{regions:a,boundingRect:V$e(a)})}var i=rt(),o=[];return G(r.regions,function(s){var l=s.name;t&&tt(t,l)&&(s=s.cloneShallow(l=t[l])),o.push(s),i.set(l,s)}),{regions:o,boundingRect:r.boundingRect||new Rt(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(t){var n=this._mapName,r=this._geoJSON,a;try{a=r?q2(r,t):[]}catch(i){throw new Error(`Invalid geoJson format
`+i.message)}return L$e(n,a),G(a,function(i){var o=i.name;R$e(n,i),N$e(n,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),a},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function V$e(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}function F$e(e){return Je(e)?typeof JSON<"u"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var gh=rt();const Ns={registerMap:function(e,t,n){if(t.svg){var r=new E$e(e,t.svg);gh.set(e,r)}else{var a=t.geoJson||t.geoJSON;a&&!t.features?n=t.specialAreas:a=t;var r=new B$e(e,a,n);gh.set(e,r)}},getGeoResource:function(e){return gh.get(e)},getMapForUser:function(e){var t=gh.get(e);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(e,t,n){var r=gh.get(e);if(r)return r.load(t,n)}};var wI=["rect","circle","line","ellipse","polygon","polyline","path"],z$e=rt(wI),H$e=rt(wI.concat(["g"])),W$e=rt(wI.concat(["g"])),LU=Qt();function Py(e){var t=e.getItemStyle(),n=e.get("areaColor");return n!=null&&(t.fill=n),t}function eB(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var PU=function(){function e(t){var n=new wt;this.uid=Av("ec_map_draw"),this._controller=new hm(t.getZr()),this._controllerHost={target:n},this.group=n,n.add(this._regionsGroup=new wt),n.add(this._svgGroup=new wt)}return e.prototype.draw=function(t,n,r,a,i){var o=t.mainType==="geo",s=t.getData&&t.getData();o&&n.eachComponent({mainType:"series",subType:"map"},function(m){!s&&m.getHostGeoModel()===t&&(s=m.getData())});var l=t.coordinateSystem,u=this._regionsGroup,c=this.group,f=l.getTransformInfo(),d=f.raw,v=f.roam,h=!u.childAt(0)||i;h?(c.x=v.x,c.y=v.y,c.scaleX=v.scaleX,c.scaleY=v.scaleY,c.dirty()):rn(c,v,t);var p=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:r,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:d};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,n,r),this._updateMapSelectHandler(t,u,r,a)},e.prototype._buildGeoJSON=function(t){var n=this._regionsGroupByName=rt(),r=rt(),a=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function c(v,h){return h&&(v=h(v)),v&&[v[0]*i.scaleX+i.x,v[1]*i.scaleY+i.y]}function f(v){for(var h=[],p=!u&&l&&l.project,g=0;g<v.length;++g){var m=c(v[g],p);m&&h.push(m)}return h}function d(v){return{shape:{points:f(v)}}}a.removeAll(),G(t.geo.regions,function(v){var h=v.name,p=n.get(h),g=r.get(h)||{},m=g.dataIdx,_=g.regionModel;if(!p){p=n.set(h,new wt),a.add(p),m=s?s.indexOfName(h):null,_=t.isGeo?o.getRegionModel(h):s?s.getItemModel(m):null;var b=_.get("silent",!0);b!=null&&(p.silent=b),r.set(h,{dataIdx:m,regionModel:_})}var w=[],S=[];G(v.geometries,function(M){if(M.type==="polygon"){var T=[M.exterior].concat(M.interiors||[]);u&&(T=oB(T,u)),G(T,function(A){w.push(new ta(d(A)))})}else{var k=M.points;u&&(k=oB(k,u,!0)),G(k,function(A){S.push(new ra(d(A)))})}});var C=c(v.getCenter(),l&&l.project);function x(M,T){if(M.length){var k=new E_({culling:!0,segmentIgnoreThreshold:1,shape:{paths:M}});p.add(k),tB(t,k,m,_),nB(t,k,h,_,o,m,C),T&&(eB(k),G(k.states,eB))}}x(w),x(S,!0)}),n.each(function(v,h){var p=r.get(h),g=p.dataIdx,m=p.regionModel;rB(t,v,h,m,o,g),aB(t,v,h,m,o),iB(t,v,h,m,o)},this)},e.prototype._buildSVG=function(t){var n=t.geo.map,r=t.transformInfoRaw;this._svgGroup.x=r.x,this._svgGroup.y=r.y,this._svgGroup.scaleX=r.scaleX,this._svgGroup.scaleY=r.scaleY,this._svgResourceChanged(n)&&(this._freeSVG(),this._useSVG(n));var a=this._svgDispatcherMap=rt(),i=!1;G(this._svgGraphicRecord.named,function(o){var s=o.name,l=t.mapOrGeoModel,u=t.data,c=o.svgNodeTagLower,f=o.el,d=u?u.indexOfName(s):null,v=l.getRegionModel(s);z$e.get(c)!=null&&f instanceof xi&&tB(t,f,d,v),f instanceof xi&&(f.culling=!0);var h=v.get("silent",!0);if(h!=null&&(f.silent=h),f.z2EmphasisLift=0,!o.namedFrom&&(W$e.get(c)!=null&&nB(t,f,s,v,l,d,null),rB(t,f,s,v,
`))}),t.join(`
`+tw+`
`)}function t8e(e){return Ne(e,function(t){var n=t.getRawData(),r=[t.name],a=[];return n.each(n.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],s=n.getName(o),l=0;l<i-1;l++)a[l]=arguments[l];r.push((s?s+av:"")+a.join(av))}),r.join(`
`)}).join(`
`+tw+`
`)}function n8e(e){var t=Q5e(e);return{value:un([e8e(t.seriesGroupByCategoryAxis),t8e(t.other)],function(n){return!!n.replace(/[\n\t\s]/g,"")}).join(`
`+tw+`
`),meta:t.meta}}function d1(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function r8e(e){var t=e.slice(0,e.indexOf(`
`));if(t.indexOf(av)>=0)return!0}var MM=new RegExp("["+av+"]+","g");function a8e(e){for(var t=e.split(/\n+/g),n=d1(t.shift()).split(MM),r=[],a=Ne(n,function(l){return{name:l,data:[]}}),i=0;i<t.length;i++){var o=d1(t[i]).split(MM);r.push(o.shift());for(var s=0;s<o.length;s++)a[s]&&(a[s].data[i]=o[s])}return{series:a,categories:r}}function i8e(e){for(var t=e.split(/\n+/g),n=d1(t.shift()),r=[],a=0;a<t.length;a++){var i=d1(t[a]);if(i){var o=i.split(MM),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),r[a]={name:s,value:[]},l=r[a].value):l=r[a]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);l.length===1&&(u?r[a].value=l[0]:r[a]=l[0])}}return{name:n,data:r}}function o8e(e,t){var n=e.split(new RegExp(`
*`+tw+`
*`,"g")),r={series:[]};return G(n,function(a,i){if(r8e(a)){var o=a8e(a),s=t[i],l=s.axisDim+"Axis";s&&(r[l]=r[l]||[],r[l][s.axisIndex]={data:o.categories},r.series=r.series.concat(o.series))}else{var o=i8e(a);r.series.push(o)}}),r}var s8e=function(e){be(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){setTimeout(function(){r.dispatchAction({type:"hideTip"})});var a=r.getDom(),i=this.model;this._dom&&a.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin:10px 20px",s.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var f=i.get("optionToContent"),d=i.get("contentToOption"),v=n8e(n);if(ct(f)){var h=f(r.getOption());Je(h)?u.innerHTML=h:Wc(h)&&u.appendChild(h)}else{c.readOnly=i.get("readOnly");var p=c.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),c.value=v.value,u.appendChild(c)}var g=v.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var _="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),w=document.createElement("div");_+=";background-color:"+i.get("buttonColor"),_+=";color:"+i.get("buttonTextColor");var S=this;function C(){a.removeChild(o),S._dom=null}n2(b,"click",C),n2(w,"click",function(){if(d==null&&f!=null||d!=null&&f==null){C();return}var x;try{ct(d)?x=d(u,r.getOption()):x=o8e(c.value,g)}catch(M){throw C(),new Error("Data view format error "+M)}x&&r.dispatchAction({type:"changeDataView",newOption:x}),C()}),b.innerHTML=l[1],w.innerHTML=l[2],w.style.cssText=b.style.cssText=_,!i.get("readOnly")&&m.appendChild(w),m.appendChild(b),o.appendChild(s),o.appendChild(u),o.appendChild(m),u.style.height=a.clientHeight-80+"px",a.appendChild(o),this._dom=o},t.prototype.remove=function(n,r){this._dom&&r.getDom().removeChild(this._dom)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.getDefaultOption=function(n){var r={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:n.getLocaleModel().get(["toolbox","dataView","title"]),lang:n.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return r},t}(ci);function l8e(e,t){return Ne(e,function(n,r){var a=t&&t[r];if(gt(a)&&!Re(a)){var i=gt(n)&&!Re(n);i||(n={value:n});var o=a.name!=null&&n.name==null;return n=ft(n,a),o&&delete n.name,n}else return n})}fo({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];G(e.newOption.series,function(r){var a=t.getSeriesByName(r.name)[0];if(!a)n.push(De({type:"scatter"},r));else{var i=a.get("data");n.push({name:r.name,data:l8e(r.data,i)})}}),t.mergeOption(ft({series:n},e.newOption))});var uj=G,cj=Qt();function u8e(e,t){var n=aD(e);uj(t,function(r,a){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[a])break}if(i<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(s){var l=s.getPercentRange();n[0][a]={dataZoomId:a,start:l[0],end:l[1]}}}}),n.push(t)}function c8e(e){var t=aD(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return uj(n,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){r[i]=a;break}}),r}function f8e(e){cj(e).snapshots=null}function d8e(e){return aD(e).length}function aD(e){var t=cj(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var v8e=function(e){be(t,e
`:"<br/>",m=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],v,null,d)})},t.prototype._showSeriesItemTooltip=function(n,r,a){var i=this._ecModel,o=Ct(r),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,d=u.getData(f),v=this._renderMode,h=n.positionDefault,p=_h([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,f),_=new WS;m.marker=_.makeTooltipMarker("item",jc(m.color),v);var b=XN(u.formatTooltip(c,!1,f)),w=p.get("order"),S=p.get("valueFormatter"),C=b.frag,x=C?n$(S?De({valueFormatter:S},C):C,_,v,w,i.get("useUTC"),p.get("textStyle")):b.text,M="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,x,m,M,n.offsetX,n.offsetY,n.position,n.target,_)}),a({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,a){var i=this._renderMode==="html",o=Ct(r),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(Je(l)){var c=l;l={content:c,formatter:c},u=!0}u&&i&&l.content&&(l=mt(l),l.content=Yr(l.content));var f=[l],d=this._ecModel.getComponent(o.componentMainType,o.componentIndex);d&&f.push(d),f.push({formatter:l.content});var v=n.positionDefault,h=_h(f,this._tooltipModel,v?{position:v}:null),p=h.get("content"),g=Math.random()+"",m=new WS;this._showOrMove(h,function(){var _=mt(h.get("formatterParams")||{});this._showTooltipContent(h,p,_,g,n.offsetX,n.offsetY,n.position,r,m)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,a,i,o,s,l,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var f=this._tooltipContent;f.setEnterable(n.get("enterable"));var d=n.get("formatter");l=l||n.get("position");var v=r,h=this._getNearestPoint([o,s],a,n.get("trigger"),n.get("borderColor")),p=h.color;if(d)if(Je(d)){var g=n.ecModel.get("useUTC"),m=Re(a)?a[0]:a,_=m&&m.axisType&&m.axisType.indexOf("time")>=0;v=d,_&&(v=im(m.axisValue,v,g)),v=RE(v,a,!0)}else if(ct(d)){var b=et(function(w,S){w===this._ticket&&(f.setContent(S,c,n,p,l),this._updatePosition(n,l,o,s,f,a,u))},this);this._ticket=i,v=d(a,i,b)}else v=d;f.setContent(v,c,n,p,l),f.show(n,p),this._updatePosition(n,l,o,s,f,a,u)}},t.prototype._getNearestPoint=function(n,r,a,i){if(a==="axis"||Re(r))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!Re(r))return{color:i||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,a,i,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var f=o.getSize(),d=n.get("align"),v=n.get("verticalAlign"),h=l&&l.getBoundingRect().clone();if(l&&h.applyTransform(l.transform),ct(r)&&(r=r([a,i],s,o.el,h,{viewSize:[u,c],contentSize:f.slice()})),Re(r))a=qe(r[0],u),i=qe(r[1],c);else if(gt(r)){var p=r;p.width=f[0],p.height=f[1];var g=rr(p,{width:u,height:c});a=g.x,i=g.y,d=null,v=null}else if(Je(r)&&l){var m=V8e(r,h,f,n.get("borderWidth"));a=m[0],i=m[1]}else{var m=$8e(a,i,o,u,c,d?null:20,v?null:20);a=m[0],i=m[1]}if(d&&(a-=c4(d)?f[0]/2:d==="right"?f[0]:0),v&&(i-=c4(v)?f[1]/2:v==="bottom"?f[1]:0),fj(n)){var m=B8e(a,i,o,u,c);a=m[0],i=m[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===n.length;return o&&G(a,function(s,l){var u=s.dataByAxis||[],c=n[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&G(u,function(d,v){var h=f[v]||{},p=d.seriesDataIndices||[],g=h.seriesDataIndices||[];o=o&&d.value===h.value&&d.axisType===h.axisType&&d.axisId===h.axisId&&p.length===g.length,o&&G(p,function(m,_){var b=g[_];o=o&&m.seriesIndex===b.seriesIndex&&m.dataIndex===b.dataIndex}),i&&G(d.seriesDataIndices,function(m){var _=m.seriesIndex,b=r[_],w=i[_];b&&w&&w.data!==b.data&&(o=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!o},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"h
`)){var g=new jy;g.newline=!0,u.add(g);return}var m=a.getSeriesByName(p)[0];if(!c.get(p))if(m){var _=m.getData(),b=_.getVisual("legendLineStyle")||{},w=_.getVisual("legendIcon"),S=_.getVisual("style"),C=this._createItem(m,p,h,v,r,n,b,S,w,f,i);C.on("click",Vf(E4,p,null,i,d)).on("mouseover",Vf(RM,m.name,null,i,d)).on("mouseout",Vf(OM,m.name,null,i,d)),a.ssr&&C.eachChild(function(x){var M=Ct(x);M.seriesIndex=m.seriesIndex,M.dataIndex=h,M.ssrType="legend"}),c.set(p,!0)}else a.eachRawSeries(function(x){if(!c.get(p)&&x.legendVisualProvider){var M=x.legendVisualProvider;if(!M.containName(p))return;var T=M.indexOfName(p),k=M.getItemVisual(T,"style"),A=M.getItemVisual(T,"legendIcon"),E=ya(k.fill);E&&E[3]===0&&(E[3]=.2,k=De(De({},k),{fill:Xi(E,"rgba")}));var L=this._createItem(x,p,h,v,r,n,{},k,A,f,i);L.on("click",Vf(E4,null,p,i,d)).on("mouseover",Vf(RM,null,p,i,d)).on("mouseout",Vf(OM,null,p,i,d)),a.ssr&&L.eachChild(function($){var P=Ct($);P.seriesIndex=x.seriesIndex,P.dataIndex=h,P.ssrType="legend"}),c.set(p,!0)}},this)},this),o&&this._createSelector(o,r,i,s,l)},t.prototype._createSelector=function(n,r,a,i,o){var s=this.getSelectorGroup();PM(n,function(u){var c=u.type,f=new Xt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});s.add(f);var d=r.getModel("selectorLabel"),v=r.getModel(["emphasis","selectorLabel"]);Or(f,{normal:d,emphasis:v},{defaultText:u.title}),Nl(f)})},t.prototype._createItem=function(n,r,a,i,o,s,l,u,c,f,d){var v=n.visualDrawType,h=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(r),m=i.get("symbolRotate"),_=i.get("symbolKeepAspect"),b=i.get("icon");c=b||c||"roundRect";var w=B6e(c,i,l,u,v,g,d),S=new jy,C=i.getModel("textStyle");if(ct(n.getLegendIcon)&&(!b||b==="inherit"))S.add(n.getLegendIcon({itemWidth:h,itemHeight:p,icon:c,iconRotate:m,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:_}));else{var x=b==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;S.add(V6e({itemWidth:h,itemHeight:p,icon:c,iconRotate:x,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:_}))}var M=s==="left"?h+5:-5,T=s,k=o.get("formatter"),A=r;Je(k)&&k?A=k.replace("{name}",r??""):ct(k)&&(A=k(r));var E=g?C.getTextColor():i.get("inactiveColor");S.add(new Xt({style:An(C,{text:A,x:M,y:p/2,fill:E,align:T,verticalAlign:"middle"},{inheritColor:E})}));var L=new Zt({shape:S.getBoundingRect(),style:{fill:"transparent"}}),$=i.getModel("tooltip");return $.get("show")&&af({el:L,componentModel:o,itemName:r,itemTooltipOption:$.option}),S.add(L),S.eachChild(function(P){P.silent=!0}),L.silent=!f,this.getContentGroup().add(S),Nl(S),S.__legendDataIndex=a,S},t.prototype.layoutInner=function(n,r,a,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Ec(n.get("orient"),l,n.get("itemGap"),a.width,a.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Ec("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),v=[-d.x,-d.y],h=n.get("selectorButtonGap",!0),p=n.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",_=p===0?"y":"x";s==="end"?v[p]+=c[g]+h:f[p]+=d[g]+h,v[1-p]+=c[m]/2-d[m]/2,u.x=v[0],u.y=v[1],l.x=f[0],l.y=f[1];var b={x:0,y:0};return b[g]=c[g]+h+d[g],b[m]=Math.max(c[m],d[m]),b[_]=Math.min(0,d[_]+v[1-p]),b}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Dn);function B6e(e,t,n,r,a,i,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),PM(g,function(_,b){g[b]==="inherit"&&(g[b]=m[b])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:Qd(f,o),u.fill==="inherit"&&(u.fill=r[a]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),v=d.getLineStyle();if(s(v,n),u.fill==="auto"&&(u.
`||a==="")){var i=e.isSelected(a);tt(n,a)?n[a]=n[a]&&i:n[a]=i}}),n}function z6e(e){e.registerAction("legendToggleSelect","legendselectchanged",kt(Sh,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",kt(Sh,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",kt(Sh,"inverseSelect")),e.registerAction("legendSelect","legendselected",kt(Sh,"select")),e.registerAction("legendUnSelect","legendunselected",kt(Sh,"unSelect"))}function Sj(e){e.registerComponentModel(LM),e.registerComponentView(_j),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,F6e),e.registerSubTypeDefaulter("legend",function(){return"plain"}),z6e(e)}var H6e=function(e){be(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,r,a){var i=Ev(n);e.prototype.init.call(this,n,r,a),D4(this,n,i)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),D4(this,this.option,n)},t.type="legend.scroll",t.defaultOption=vu(LM.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:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(LM);function D4(e,t,n){var r=e.getOrient(),a=[1,1];a[r.index]=0,eu(t,n,{type:"box",ignoreSize:!!a})}var L4=wt,cx=["width","height"],fx=["x","y"],W6e=function(e){be(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new L4),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new L4)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,r,a,i,o,s,l){var u=this;e.prototype.renderInner.call(this,n,r,a,i,o,s,l);var c=this._controllerGroup,f=r.get("pageIconSize",!0),d=Re(f)?f:[f,f];h("pagePrev",0);var v=r.getModel("pageTextStyle");c.add(new Xt({name:"pageText",style:{text:"xx/xx",fill:v.getTextColor(),font:v.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1);function h(p,g){var m=p+"DataIndex",_=Mv(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:et(u._pageGo,u,m,r,i)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});_.name=p,c.add(_)}},t.prototype.layoutInner=function(n,r,a,i,o,s){var l=this.getSelectorGroup(),u=n.getOrient().index,c=cx[u],f=fx[u],d=cx[1-u],v=fx[1-u];o&&Ec("horizontal",l,n.get("selectorItemGap",!0));var h=n.get("selectorButtonGap",!0),p=l.getBoundingRect(),g=[-p.x,-p.y],m=mt(a);o&&(m[c]=a[c]-p[c]-h);var _=this._layoutContentAndController(n,i,m,u,c,d,v,f);if(o){if(s==="end")g[u]+=_[c]+h;else{var b=p[c]+h;g[u]-=b,_[f]-=b}_[c]+=p[c]+h,g[1-u]+=_[v]+_[d]/2-p[d]/2,_[d]=Math.max(_[d],p[d]),_[v]=Math.min(_[v],p[v]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return _},t.prototype._layoutContentAndController=function(n,r,a,i,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Ec(n.get("orient"),c,n.get("itemGap"),i?a.width:null,i?null:a.height),Ec("horizontal",d,n.get("pageButtonItemGap",!0));var v=c.getBoundingRect(),h=d.getBoundingRect(),p=this._showController=v[o]>a[o],g=[-v.x,-v.y];r||(g[i]=c[u]);var m=[0,0],_=[-h.x,-h.y],b=Mt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(p){var w=n.get("pageButtonPosition",!0);w==="end"?_[i]+=a[o]-h[o]:m[i]+=h[o]+b}_[1-i]+=v[s]/2-h[s]/2,c.setPosition(g),f.setPosition(m),d.setPosition(_);var S={x:0,y:0};if(S[o]=p?a[o]:v[o],S[s]=Math.max(v[s],h[s]),S[l]=Math.min(0,h[l]+_[1-i]),f.__rectSize=a[o],p){var C={x:0,y:0};C[o]=Math.max(a[o]-h[o]-b,0),C[s]=S[s],f.setClipPath(new Zt({shape:C})),f.__rectSize=C[o]}else d.ea