var Cz=Object.defineProperty;var xz=(e,t,n)=>t in e?Cz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var uu=(e,t,n)=>(xz(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function Rh(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const Vt={},Ku=[],Tn=()=>{},Tz=()=>!1,Ez=/^on[^a-z]/,Dh=e=>Ez.test(e),yS=e=>e.startsWith("onUpdate:"),Xt=Object.assign,bS=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Az=Object.prototype.hasOwnProperty,ct=(e,t)=>Az.call(e,t),Ee=Array.isArray,Yu=e=>Nc(e)==="[object Map]",Ql=e=>Nc(e)==="[object Set]",p3=e=>Nc(e)==="[object Date]",Mz=e=>Nc(e)==="[object RegExp]",Ne=e=>typeof e=="function",Ge=e=>typeof e=="string",Pd=e=>typeof e=="symbol",st=e=>e!==null&&typeof e=="object",Rd=e=>st(e)&&Ne(e.then)&&Ne(e.catch),bO=Object.prototype.toString,Nc=e=>bO.call(e),jv=e=>Nc(e).slice(8,-1),_O=e=>Nc(e)==="[object Object]",_S=e=>Ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xf=Rh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jm=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Iz=/-(\w)/g,Zn=jm(e=>e.replace(Iz,(t,n)=>n?n.toUpperCase():"")),Oz=/\B([A-Z])/g,Wr=jm(e=>e.replace(Oz,"-$1").toLowerCase()),Bc=jm(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qf=jm(e=>e?`on${Bc(e)}`:""),uc=(e,t)=>!Object.is(e,t),Zu=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$g=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ng=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bg=e=>{const t=Ge(e)?Number(e):NaN;return isNaN(t)?e:t};let v3;const f_=()=>v3||(v3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Pz="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Rz=Rh(Pz);function it(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ge(r)?$z(r):it(r);if(i)for(const a in i)t[a]=i[a]}return t}else{if(Ge(e))return e;if(st(e))return e}}const Dz=/;(?![^(]*\))/g,Lz=/:([^]+)/,kz=/\/\*[^]*?\*\//g;function $z(e){const t={};return e.replace(kz,"").split(Dz).forEach(n=>{if(n){const r=n.split(Lz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function U(e){let t="";if(Ge(e))t=e;else if(Ee(e))for(let n=0;n<e.length;n++){const r=U(e[n]);r&&(t+=r+" ")}else if(st(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function wO(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ge(t)&&(e.class=U(t)),n&&(e.style=it(n)),e}const Nz="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Bz=Rh(Nz),Fz="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zz=Rh(Fz);function SO(e){return!!e||e===""}function Vz(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ls(e[r],t[r]);return n}function ls(e,t){if(e===t)return!0;let n=p3(e),r=p3(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Pd(e),r=Pd(t),n||r)return e===t;if(n=Ee(e),r=Ee(t),n||r)return n&&r?Vz(e,t):!1;if(n=st(e),r=st(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!ls(e[o],t[o]))return!1}}return String(e)===String(t)}function qm(e,t){return e.findIndex(n=>ls(n,t))}const Ue=e=>Ge(e)?e:e==null?"":Ee(e)||st(e)&&(e.toString===bO||!Ne(e.toString))?JSON.stringify(e,CO,2):String(e),CO=(e,t)=>t&&t.__v_isRef?CO(e,t.value):Yu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Ql(t)?{[`Set(${t.size})`]:[...t.values()]}:st(t)&&!Ee(t)&&!_O(t)?String(t):t;let zr;class wS{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=zr,!t&&zr&&(this.index=(zr.scopes||(zr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=zr;try{return zr=this,t()}finally{zr=n}}}on(){zr=this}off(){zr=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function Km(e){return new wS(e)}function xO(e,t=zr){t&&t.active&&t.effects.push(e)}function Lh(){return zr}function kh(e){zr&&zr.cleanups.push(e)}const SS=e=>{const t=new Set(e);return t.w=0,t.n=0,t},TO=e=>(e.w&us)>0,EO=e=>(e.n&us)>0,Hz=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=us},Wz=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];TO(i)&&!EO(i)?i.delete(e):t[n++]=i,i.w&=~us,i.n&=~us}t.length=n}},Fg=new WeakMap;let Ff=0,us=1;const d_=30;let Bi;const dl=Symbol(""),h_=Symbol("");class $h{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,xO(this,r)}run(){if(!this.active)return this.fn();let t=Bi,n=es;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Bi,Bi=this,es=!0,us=1<<++Ff,Ff<=d_?Hz(this):g3(this),this.fn()}finally{Ff<=d_&&Wz(this),us=1<<--Ff,Bi=this.parent,es=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Bi===this?this.deferStop=!0:this.active&&(g3(this),this.onStop&&this.onStop(),this.active=!1)}}function g3(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function Uz(e,t){e.effect&&(e=e.effect.fn);const n=new $h(e);t&&(Xt(n,t),t.scope&&xO(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Gz(e){e.effect.stop()}let es=!0;const AO=[];function Fc(){AO.push(es),es=!1}function zc(){const e=AO.pop();es=e===void 0?!0:e}function Dr(e,t,n){if(es&&Bi){let r=Fg.get(e);r||Fg.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=SS()),MO(i)}}function MO(e,t){let n=!1;Ff<=d_?EO(e)||(e.n|=us,n=!TO(e)):n=!e.has(Bi),n&&(e.add(Bi),Bi.deps.push(e))}function eo(e,t,n,r,i,a){const o=Fg.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(n==="length"&&Ee(e)){const l=Number(r);o.forEach((u,c)=>{(c==="length"||c>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(o.get(n)),t){case"add":Ee(e)?_S(n)&&s.push(o.get("length")):(s.push(o.get(dl)),Yu(e)&&s.push(o.get(h_)));break;case"delete":Ee(e)||(s.push(o.get(dl)),Yu(e)&&s.push(o.get(h_)));break;case"set":Yu(e)&&s.push(o.get(dl));break}if(s.length===1)s[0]&&p_(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);p_(SS(l))}}function p_(e,t){const n=Ee(e)?e:[...e];for(const r of n)r.computed&&m3(r);for(const r of n)r.computed||m3(r)}function m3(e,t){(e!==Bi||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function jz(e,t){var n;return(n=Fg.get(e))==null?void 0:n.get(t)}const qz=Rh("__proto__,__v_isRef,__isVue"),IO=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pd)),Kz=Ym(),Yz=Ym(!1,!0),Zz=Ym(!0),Xz=Ym(!0,!0),y3=Qz();function Qz(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=rt(this);for(let a=0,o=this.length;a<o;a++)Dr(r,"get",a+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(rt)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Fc();const r=rt(this)[t].apply(this,n);return zc(),r}}),e}function Jz(e){const t=rt(this);return Dr(t,"has",e),t.hasOwnProperty(e)}function Ym(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?$O:kO:t?LO:DO).get(r))return r;const o=Ee(r);if(!e){if(o&&ct(y3,i))return Reflect.get(y3,i,a);if(i==="hasOwnProperty")return Jz}const s=Reflect.get(r,i,a);return(Pd(i)?IO.has(i):qz(i))||(e||Dr(r,"get",i),t)?s:It(s)?o&&_S(i)?s:s.value:st(s)?e?oo(s):Qt(s):s}}const eV=OO(),tV=OO(!0);function OO(e=!1){return function(n,r,i,a){let o=n[r];if(Ol(o)&&It(o)&&!It(i))return!1;if(!e&&(!Dd(i)&&!Ol(i)&&(o=rt(o),i=rt(i)),!Ee(n)&&It(o)&&!It(i)))return o.value=i,!0;const s=Ee(n)&&_S(r)?Number(r)<n.length:ct(n,r),l=Reflect.set(n,r,i,a);return n===rt(a)&&(s?uc(i,o)&&eo(n,"set",r,i):eo(n,"add",r,i)),l}}function nV(e,t){const n=ct(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&eo(e,"delete",t,void 0),r}function rV(e,t){const n=Reflect.has(e,t);return(!Pd(t)||!IO.has(t))&&Dr(e,"has",t),n}function iV(e){return Dr(e,"iterate",Ee(e)?"length":dl),Reflect.ownKeys(e)}const PO={get:Kz,set:eV,deleteProperty:nV,has:rV,ownKeys:iV},RO={get:Zz,set(e,t){return!0},deleteProperty(e,t){return!0}},aV=Xt({},PO,{get:Yz,set:tV}),oV=Xt({},RO,{get:Xz}),CS=e=>e,Zm=e=>Reflect.getPrototypeOf(e);function xp(e,t,n=!1,r=!1){e=e.__v_raw;const i=rt(e),a=rt(t);n||(t!==a&&Dr(i,"get",t),Dr(i,"get",a));const{has:o}=Zm(i),s=r?CS:n?TS:kd;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function Tp(e,t=!1){const n=this.__v_raw,r=rt(n),i=rt(e);return t||(e!==i&&Dr(r,"has",e),Dr(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Ep(e,t=!1){return e=e.__v_raw,!t&&Dr(rt(e),"iterate",dl),Reflect.get(e,"size",e)}function b3(e){e=rt(e);const t=rt(this);return Zm(t).has.call(t,e)||(t.add(e),eo(t,"add",e,e)),this}function _3(e,t){t=rt(t);const n=rt(this),{has:r,get:i}=Zm(n);let a=r.call(n,e);a||(e=rt(e),a=r.call(n,e));const o=i.call(n,e);return n.set(e,t),a?uc(t,o)&&eo(n,"set",e,t):eo(n,"add",e,t),this}function w3(e){const t=rt(this),{has:n,get:r}=Zm(t);let i=n.call(t,e);i||(e=rt(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&eo(t,"delete",e,void 0),a}function S3(){const e=rt(this),t=e.size!==0,n=e.clear();return t&&eo(e,"clear",void 0,void 0),n}function Ap(e,t){return function(r,i){const a=this,o=a.__v_raw,s=rt(o),l=t?CS:e?TS:kd;return!e&&Dr(s,"iterate",dl),o.forEach((u,c)=>r.call(i,l(u),l(c),a))}}function Mp(e,t,n){return function(...r){const i=this.__v_raw,a=rt(i),o=Yu(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?CS:t?TS:kd;return!t&&Dr(a,"iterate",l?h_:dl),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function go(e){return function(...t){return e==="delete"?!1:this}}function sV(){const e={get(a){return xp(this,a)},get size(){return Ep(this)},has:Tp,add:b3,set:_3,delete:w3,clear:S3,forEach:Ap(!1,!1)},t={get(a){return xp(this,a,!1,!0)},get size(){return Ep(this)},has:Tp,add:b3,set:_3,delete:w3,clear:S3,forEach:Ap(!1,!0)},n={get(a){return xp(this,a,!0)},get size(){return Ep(this,!0)},has(a){return Tp.call(this,a,!0)},add:go("add"),set:go("set"),delete:go("delete"),clear:go("clear"),forEach:Ap(!0,!1)},r={get(a){return xp(this,a,!0,!0)},get size(){return Ep(this,!0)},has(a){return Tp.call(this,a,!0)},add:go("add"),set:go("set"),delete:go("delete"),clear:go("clear"),forEach:Ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Mp(a,!1,!1),n[a]=Mp(a,!0,!1),t[a]=Mp(a,!1,!0),r[a]=Mp(a,!0,!0)}),[e,n,t,r]}const[lV,uV,cV,fV]=sV();function Xm(e,t){const n=t?e?fV:cV:e?uV:lV;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ct(n,i)&&i in r?n:r,i,a)}const dV={get:Xm(!1,!1)},hV={get:Xm(!1,!0)},pV={get:Xm(!0,!1)},vV={get:Xm(!0,!0)},DO=new WeakMap,LO=new WeakMap,kO=new WeakMap,$O=new WeakMap;function gV(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mV(e){return e.__v_skip||!Object.isExtensible(e)?0:gV(jv(e))}function Qt(e){return Ol(e)?e:Qm(e,!1,PO,dV,DO)}function xS(e){return Qm(e,!1,aV,hV,LO)}function oo(e){return Qm(e,!0,RO,pV,kO)}function yV(e){return Qm(e,!0,oV,vV,$O)}function Qm(e,t,n,r,i){if(!st(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=mV(e);if(o===0)return e;const s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Sa(e){return Ol(e)?Sa(e.__v_raw):!!(e&&e.__v_isReactive)}function Ol(e){return!!(e&&e.__v_isReadonly)}function Dd(e){return!!(e&&e.__v_isShallow)}function Ld(e){return Sa(e)||Ol(e)}function rt(e){const t=e&&e.__v_raw;return t?rt(t):e}function Nh(e){return $g(e,"__v_skip",!0),e}const kd=e=>st(e)?Qt(e):e,TS=e=>st(e)?oo(e):e;function ES(e){es&&Bi&&(e=rt(e),MO(e.dep||(e.dep=SS())))}function Jm(e,t){e=rt(e);const n=e.dep;n&&p_(n)}function It(e){return!!(e&&e.__v_isRef===!0)}function N(e){return NO(e,!1)}function di(e){return NO(e,!0)}function NO(e,t){return It(e)?e:new bV(e,t)}class bV{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:rt(t),this._value=n?t:kd(t)}get value(){return ES(this),this._value}set value(t){const n=this.__v_isShallow||Dd(t)||Ol(t);t=n?t:rt(t),uc(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:kd(t),Jm(this))}}function ku(e){Jm(e)}function x(e){return It(e)?e.value:e}function _V(e){return Ne(e)?e():x(e)}const wV={get:(e,t,n)=>x(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return It(i)&&!It(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function AS(e){return Sa(e)?e:new Proxy(e,wV)}class SV{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ES(this),()=>Jm(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function BO(e){return new SV(e)}function Ci(e){const t=Ee(e)?new Array(e.length):{};for(const n in e)t[n]=FO(e,n);return t}class CV{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return jz(rt(this._object),this._key)}}class xV{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function pn(e,t,n){return It(e)?e:Ne(e)?new xV(e):st(e)&&arguments.length>1?FO(e,t,n):N(e)}function FO(e,t,n){const r=e[t];return It(r)?r:new CV(e,t,n)}class TV{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new $h(t,()=>{this._dirty||(this._dirty=!0,Jm(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=rt(this);return ES(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function zO(e,t,n=!1){let r,i;const a=Ne(e);return a?(r=e,i=Tn):(r=e.get,i=e.set),new TV(r,i,a||!i,n)}function VO(e,...t){}function EV(e,t){}function Xa(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){Jl(a,t,n)}return i}function Kr(e,t,n,r){if(Ne(e)){const a=Xa(e,t,n,r);return a&&Rd(a)&&a.catch(o=>{Jl(o,t,n)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(Kr(e[a],t,n,r));return i}function Jl(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,s=n;for(;a;){const u=a.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,o,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){Xa(l,null,10,[e,o,s]);return}}AV(e,n,i,r)}function AV(e,t,n,r=!0){console.error(e)}let $d=!1,v_=!1;const Yn=[];let va=0;const Xu=[];let Ha=null,Qs=0;const HO=Promise.resolve();let MS=null;function Ke(e){const t=MS||HO;return e?t.then(this?e.bind(this):e):t}function MV(e){let t=va+1,n=Yn.length;for(;t<n;){const r=t+n>>>1;Nd(Yn[r])<e?t=r+1:n=r}return t}function e0(e){(!Yn.length||!Yn.includes(e,$d&&e.allowRecurse?va+1:va))&&(e.id==null?Yn.push(e):Yn.splice(MV(e.id),0,e),WO())}function WO(){!$d&&!v_&&(v_=!0,MS=HO.then(UO))}function IV(e){const t=Yn.indexOf(e);t>va&&Yn.splice(t,1)}function IS(e){Ee(e)?Xu.push(...e):(!Ha||!Ha.includes(e,e.allowRecurse?Qs+1:Qs))&&Xu.push(e),WO()}function C3(e,t=$d?va+1:0){for(;t<Yn.length;t++){const n=Yn[t];n&&n.pre&&(Yn.splice(t,1),t--,n())}}function zg(e){if(Xu.length){const t=[...new Set(Xu)];if(Xu.length=0,Ha){Ha.push(...t);return}for(Ha=t,Ha.sort((n,r)=>Nd(n)-Nd(r)),Qs=0;Qs<Ha.length;Qs++)Ha[Qs]();Ha=null,Qs=0}}const Nd=e=>e.id==null?1/0:e.id,OV=(e,t)=>{const n=Nd(e)-Nd(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function UO(e){v_=!1,$d=!0,Yn.sort(OV);const t=Tn;try{for(va=0;va<Yn.length;va++){const n=Yn[va];n&&n.active!==!1&&Xa(n,null,14)}}finally{va=0,Yn.length=0,zg(),$d=!1,MS=null,(Yn.length||Xu.length)&&UO()}}let $u,Ip=[];function GO(e,t){var n,r;$u=e,$u?($u.enabled=!0,Ip.forEach(({event:i,args:a})=>$u.emit(i,...a)),Ip=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{GO(a,t)}),setTimeout(()=>{$u||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ip=[])},3e3)):Ip=[]}function PV(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Vt;let i=n;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in r){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[c]||Vt;d&&(i=n.map(h=>Ge(h)?h.trim():h)),f&&(i=n.map(Ng))}let s,l=r[s=Qf(t)]||r[s=Qf(Zn(t))];!l&&a&&(l=r[s=Qf(Wr(t))]),l&&Kr(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Kr(u,e,6,i)}}function jO(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!Ne(e)){const l=u=>{const c=jO(u,t,!0);c&&(s=!0,Xt(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(st(e)&&r.set(e,null),null):(Ee(a)?a.forEach(l=>o[l]=null):Xt(o,a),st(e)&&r.set(e,o),o)}function t0(e,t){return!e||!Dh(t)?!1:(t=t.slice(2).replace(/Once$/,""),ct(e,t[0].toLowerCase()+t.slice(1))||ct(e,Wr(t))||ct(e,t))}let Rn=null,n0=null;function Bd(e){const t=Rn;return Rn=e,n0=e&&e.type.__scopeId||null,t}function RV(e){n0=e}function DV(){n0=null}const LV=e=>re;function re(e,t=Rn,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&S_(-1);const a=Bd(t);let o;try{o=e(...i)}finally{Bd(a),r._d&&S_(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function qv(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e;let m,g;const y=Bd(e);try{if(n.shapeFlag&4){const b=i||r;m=Vr(c.call(b,b,f,a,h,d,p)),g=l}else{const b=t;m=Vr(b.length>1?b(a,{attrs:l,slots:s,emit:u}):b(a,null)),g=t.props?l:$V(l)}}catch(b){td.length=0,Jl(b,e,1),m=ie(En)}let _=m;if(g&&v!==!1){const b=Object.keys(g),{shapeFlag:S}=_;b.length&&S&7&&(o&&b.some(yS)&&(g=NV(g,o)),_=ji(_,g))}return n.dirs&&(_=ji(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,Bd(y),m}function kV(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Cn(r)){if(r.type!==En||r.children==="v-if"){if(t)return;t=r}}else return}return t}const $V=e=>{let t;for(const n in e)(n==="class"||n==="style"||Dh(n))&&((t||(t={}))[n]=e[n]);return t},NV=(e,t)=>{const n={};for(const r in e)(!yS(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function BV(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?x3(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(o[d]!==r[d]&&!t0(u,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?x3(r,o,u):!0:!!o;return!1}function x3(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const a=r[i];if(t[a]!==e[a]&&!t0(n,a))return!0}return!1}function OS({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const qO=e=>e.__isSuspense,FV={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,o,s,l,u){e==null?VV(t,n,r,i,a,o,s,l,u):HV(e,t,n,r,i,o,s,l,u)},hydrate:WV,create:PS,normalize:UV},zV=FV;function Fd(e,t){const n=e.props&&e.props[t];Ne(n)&&n()}function VV(e,t,n,r,i,a,o,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=PS(e,i,r,t,f,n,a,o,s,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,a,o),d.deps>0?(Fd(e,"onPending"),Fd(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,a,o),Qu(d,e.ssFallback)):d.resolve(!1,!0)}function HV(e,t,n,r,i,a,o,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:m,isHydrating:g}=f;if(v)f.pendingBranch=d,Fi(d,v)?(l(v,d,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0?f.resolve():m&&(l(p,h,n,r,i,null,a,o,s),Qu(f,h))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=v):u(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),m?(l(null,d,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0?f.resolve():(l(p,h,n,r,i,null,a,o,s),Qu(f,h))):p&&Fi(d,p)?(l(p,d,n,r,i,f,a,o,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0&&f.resolve()));else if(p&&Fi(d,p))l(p,d,n,r,i,f,a,o,s),Qu(f,d);else if(Fd(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:_}=f;y>0?setTimeout(()=>{f.pendingId===_&&f.fallback(h)},y):y===0&&f.fallback(h)}}function PS(e,t,n,r,i,a,o,s,l,u,c=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:m}}=u;let g;const y=GV(e);y&&t!=null&&t.pendingBranch&&(g=t.pendingId,t.deps++);const _=e.props?Bg(e.props.timeout):void 0,b={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,w=!1){const{vnode:C,activeBranch:T,pendingBranch:E,pendingId:M,effects:A,parentComponent:I,container:O}=b;if(b.isHydrating)b.isHydrating=!1;else if(!S){const k=T&&E.transition&&E.transition.mode==="out-in";k&&(T.transition.afterLeave=()=>{M===b.pendingId&&d(E,O,H,0)});let{anchor:H}=b;T&&(H=p(T),h(T,I,b,!0)),k||d(E,O,H,0)}Qu(b,E),b.pendingBranch=null,b.isInFallback=!1;let D=b.parent,F=!1;for(;D;){if(D.pendingBranch){D.effects.push(...A),F=!0;break}D=D.parent}F||IS(A),b.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),Fd(C,"onResolve")},fallback(S){if(!b.pendingBranch)return;const{vnode:w,activeBranch:C,parentComponent:T,container:E,isSVG:M}=b;Fd(w,"onFallback");const A=p(C),I=()=>{b.isInFallback&&(f(null,S,E,A,T,null,M,s,l),Qu(b,S))},O=S.transition&&S.transition.mode==="out-in";O&&(C.transition.afterLeave=I),b.isInFallback=!0,h(C,T,null,!0),O||I()},move(S,w,C){b.activeBranch&&d(b.activeBranch,S,w,C),b.container=S},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(S,w){const C=!!b.pendingBranch;C&&b.deps++;const T=S.vnode.el;S.asyncDep.catch(E=>{Jl(E,S,0)}).then(E=>{if(S.isUnmounted||b.isUnmounted||b.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:M}=S;C_(S,E,!1),T&&(M.el=T);const A=!T&&S.subTree.el;w(S,M,v(T||S.subTree.el),T?null:p(S.subTree),b,o,l),A&&m(A),OS(S,M.el),C&&--b.deps===0&&b.resolve()})},unmount(S,w){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,S,w),b.pendingBranch&&h(b.pendingBranch,n,S,w)}};return b}function WV(e,t,n,r,i,a,o,s,l){const u=t.suspense=PS(t,r,n,e.parentNode,document.createElement("div"),null,i,a,o,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,a,o);return u.deps===0&&u.resolve(!1,!0),c}function UV(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=T3(r?n.default:n),e.ssFallback=r?T3(n.fallback):ie(En)}function T3(e){let t;if(Ne(e)){const n=Rl&&e._c;n&&(e._d=!1,$()),e=e(),n&&(e._d=!0,t=Tr,CP())}return Ee(e)&&(e=kV(e)),e=Vr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function KO(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):IS(e)}function Qu(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,OS(r,i))}function GV(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function hi(e,t){return Bh(e,null,t)}function YO(e,t){return Bh(e,null,{flush:"post"})}function jV(e,t){return Bh(e,null,{flush:"sync"})}const Op={};function ce(e,t,n){return Bh(e,t,n)}function Bh(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:o}=Vt){var s;const l=Lh()===((s=_n)==null?void 0:s.scope)?_n:null;let u,c=!1,f=!1;if(It(e)?(u=()=>e.value,c=Dd(e)):Sa(e)?(u=()=>e,r=!0):Ee(e)?(f=!0,c=e.some(b=>Sa(b)||Dd(b)),u=()=>e.map(b=>{if(It(b))return b.value;if(Sa(b))return rl(b);if(Ne(b))return Xa(b,l,2)})):Ne(e)?t?u=()=>Xa(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return d&&d(),Kr(e,l,3,[h])}:u=Tn,t&&r){const b=u;u=()=>rl(b())}let d,h=b=>{d=y.onStop=()=>{Xa(b,l,4)}},p;if(fc)if(h=Tn,t?n&&Kr(t,l,3,[u(),f?[]:void 0,h]):u(),i==="sync"){const b=RP();p=b.__watcherHandles||(b.__watcherHandles=[])}else return Tn;let v=f?new Array(e.length).fill(Op):Op;const m=()=>{if(y.active)if(t){const b=y.run();(r||c||(f?b.some((S,w)=>uc(S,v[w])):uc(b,v)))&&(d&&d(),Kr(t,l,3,[b,v===Op?void 0:f&&v[0]===Op?[]:v,h]),v=b)}else y.run()};m.allowRecurse=!!t;let g;i==="sync"?g=m:i==="post"?g=()=>kn(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),g=()=>e0(m));const y=new $h(u,g);t?n?m():v=y.run():i==="post"?kn(y.run.bind(y),l&&l.suspense):y.run();const _=()=>{y.stop(),l&&l.scope&&bS(l.scope.effects,y)};return p&&p.push(_),_}function qV(e,t,n){const r=this.proxy,i=Ge(e)?e.includes(".")?ZO(r,e):()=>r[e]:e.bind(r,r);let a;Ne(t)?a=t:(a=t.handler,n=t);const o=_n;cs(this);const s=Bh(i,a.bind(r),n);return o?cs(o):ts(),s}function ZO(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function rl(e,t){if(!st(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),It(e))rl(e.value,t);else if(Ee(e))for(let n=0;n<e.length;n++)rl(e[n],t);else if(Ql(e)||Yu(e))e.forEach(n=>{rl(n,t)});else if(_O(e))for(const n in e)rl(e[n],t);return e}function Wt(e,t){const n=Rn;if(n===null)return e;const r=s0(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[o,s,l,u=Vt]=t[a];o&&(Ne(o)&&(o={mounted:o,updated:o}),o.deep&&rl(s),i.push({dir:o,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function ha(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){const s=i[o];a&&(s.oldValue=a[o].value);let l=s.dir[r];l&&(Fc(),Kr(l,n,8,[e.el,s,e,t]),zc())}}function RS(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dt(()=>{e.isMounted=!0}),cn(()=>{e.isUnmounting=!0}),e}const Jr=[Function,Array],DS={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jr,onEnter:Jr,onAfterEnter:Jr,onEnterCancelled:Jr,onBeforeLeave:Jr,onLeave:Jr,onAfterLeave:Jr,onLeaveCancelled:Jr,onBeforeAppear:Jr,onAppear:Jr,onAfterAppear:Jr,onAppearCancelled:Jr},KV={name:"BaseTransition",props:DS,setup(e,{slots:t}){const n=Ze(),r=RS();let i;return()=>{const a=t.default&&r0(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){for(const v of a)if(v.type!==En){o=v;break}}const s=rt(e),{mode:l}=s;if(r.isLeaving)return Ly(o);const u=E3(o);if(!u)return Ly(o);const c=cc(u,s,r,n);Pl(u,c);const f=n.subTree,d=f&&E3(f);let h=!1;const{getTransitionKey:p}=u.type;if(p){const v=p();i===void 0?i=v:v!==i&&(i=v,h=!0)}if(d&&d.type!==En&&(!Fi(u,d)||h)){const v=cc(d,s,r,n);if(Pl(d,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Ly(o);l==="in-out"&&u.type!==En&&(v.delayLeave=(m,g,y)=>{const _=QO(r,d);_[String(d.key)]=d,m._leaveCb=()=>{g(),m._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=y})}return o}}},XO=KV;function QO(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cc(e,t,n,r){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:m,onAfterAppear:g,onAppearCancelled:y}=t,_=String(e.key),b=QO(n,e),S=(T,E)=>{T&&Kr(T,r,9,E)},w=(T,E)=>{const M=E[1];S(T,E),Ee(T)?T.every(A=>A.length<=1)&&M():T.length<=1&&M()},C={mode:a,persisted:o,beforeEnter(T){let E=s;if(!n.isMounted)if(i)E=v||s;else return;T._leaveCb&&T._leaveCb(!0);const M=b[_];M&&Fi(e,M)&&M.el._leaveCb&&M.el._leaveCb(),S(E,[T])},enter(T){let E=l,M=u,A=c;if(!n.isMounted)if(i)E=m||l,M=g||u,A=y||c;else return;let I=!1;const O=T._enterCb=D=>{I||(I=!0,D?S(A,[T]):S(M,[T]),C.delayedLeave&&C.delayedLeave(),T._enterCb=void 0)};E?w(E,[T,O]):O()},leave(T,E){const M=String(e.key);if(T._enterCb&&T._enterCb(!0),n.isUnmounting)return E();S(f,[T]);let A=!1;const I=T._leaveCb=O=>{A||(A=!0,E(),O?S(p,[T]):S(h,[T]),T._leaveCb=void 0,b[M]===e&&delete b[M])};b[M]=e,d?w(d,[T,I]):I()},clone(T){return cc(T,t,n,r)}};return C}function Ly(e){if(Fh(e))return e=ji(e),e.children=null,e}function E3(e){return Fh(e)?e.children?e.children[0]:void 0:e}function Pl(e,t){e.shapeFlag&6&&e.component?Pl(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function r0(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a];const s=n==null?o.key:String(n)+String(o.key!=null?o.key:a);o.type===Ye?(o.patchFlag&128&&i++,r=r.concat(r0(o.children,t,s))):(t||o.type!==En)&&r.push(s!=null?ji(o,{key:s}):o)}if(i>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}function j(e,t){return Ne(e)?(()=>Xt({name:e.name},t,{setup:e}))():e}const hl=e=>!!e.type.__asyncLoader;function YV(e){Ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:a,suspensible:o=!0,onError:s}=e;let l=null,u,c=0;const f=()=>(c++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,m)=>{s(p,()=>v(f()),()=>m(p),c+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return j({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=_n;if(u)return()=>ky(u,h);const p=y=>{l=null,Jl(y,h,13,!r)};if(o&&h.suspense||fc)return d().then(y=>()=>ky(y,h)).catch(y=>(p(y),()=>r?ie(r,{error:y}):null));const v=N(!1),m=N(),g=N(!!i);return i&&setTimeout(()=>{g.value=!1},i),a!=null&&setTimeout(()=>{if(!v.value&&!m.value){const y=new Error(`Async component timed out after ${a}ms.`);p(y),m.value=y}},a),d().then(()=>{v.value=!0,h.parent&&Fh(h.parent.vnode)&&e0(h.parent.update)}).catch(y=>{p(y),m.value=y}),()=>{if(v.value&&u)return ky(u,h);if(m.value&&r)return ie(r,{error:m.value});if(n&&!g.value)return ie(n)}}})}function ky(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,o=ie(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}const Fh=e=>e.type.__isKeepAlive,ZV={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ze(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,a=new Set;let o=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,_,b,S,w)=>{const C=y.component;u(y,_,b,0,s),l(C.vnode,y,_,b,C,s,S,y.slotScopeIds,w),kn(()=>{C.isDeactivated=!1,C.a&&Zu(C.a);const T=y.props&&y.props.onVnodeMounted;T&&br(T,C.parent,y)},s)},r.deactivate=y=>{const _=y.component;u(y,d,null,1,s),kn(()=>{_.da&&Zu(_.da);const b=y.props&&y.props.onVnodeUnmounted;b&&br(b,_.parent,y),_.isDeactivated=!0},s)};function h(y){$y(y),c(y,n,s,!0)}function p(y){i.forEach((_,b)=>{const S=T_(_.type);S&&(!y||!y(S))&&v(b)})}function v(y){const _=i.get(y);!o||!Fi(_,o)?h(_):o&&$y(o),i.delete(y),a.delete(y)}ce(()=>[e.include,e.exclude],([y,_])=>{y&&p(b=>zf(y,b)),_&&p(b=>!zf(_,b))},{flush:"post",deep:!0});let m=null;const g=()=>{m!=null&&i.set(m,Ny(n.subTree))};return dt(g),lo(g),cn(()=>{i.forEach(y=>{const{subTree:_,suspense:b}=n,S=Ny(_);if(y.type===S.type&&y.key===S.key){$y(S);const w=S.component.da;w&&kn(w,b);return}h(y)})}),()=>{if(m=null,!t.default)return null;const y=t.default(),_=y[0];if(y.length>1)return o=null,y;if(!Cn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return o=null,_;let b=Ny(_);const S=b.type,w=T_(hl(b)?b.type.__asyncResolved||{}:S),{include:C,exclude:T,max:E}=e;if(C&&(!w||!zf(C,w))||T&&w&&zf(T,w))return o=b,_;const M=b.key==null?S:b.key,A=i.get(M);return b.el&&(b=ji(b),_.shapeFlag&128&&(_.ssContent=b)),m=M,A?(b.el=A.el,b.component=A.component,b.transition&&Pl(b,b.transition),b.shapeFlag|=512,a.delete(M),a.add(M)):(a.add(M),E&&a.size>parseInt(E,10)&&v(a.values().next().value)),b.shapeFlag|=256,o=b,qO(_.type)?_:b}}},XV=ZV;function zf(e,t){return Ee(e)?e.some(n=>zf(n,t)):Ge(e)?e.split(",").includes(t):Mz(e)?e.test(t):!1}function JO(e,t){eP(e,"a",t)}function LS(e,t){eP(e,"da",t)}function eP(e,t,n=_n){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(i0(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Fh(i.parent.vnode)&&QV(r,t,n,i),i=i.parent}}function QV(e,t,n,r){const i=i0(t,e,r,!0);Ia(()=>{bS(r[t],i)},n)}function $y(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ny(e){return e.shapeFlag&128?e.ssContent:e}function i0(e,t,n=_n,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Fc(),cs(n);const s=Kr(t,n,e,o);return ts(),zc(),s});return r?i.unshift(a):i.push(a),a}}const so=e=>(t,n=_n)=>(!fc||e==="sp")&&i0(e,(...r)=>t(...r),n),zh=so("bm"),dt=so("m"),tP=so("bu"),lo=so("u"),cn=so("bum"),Ia=so("um"),nP=so("sp"),rP=so("rtg"),iP=so("rtc");function aP(e,t=_n){i0("ec",e,t)}const kS="components",JV="directives";function et(e,t){return $S(kS,e,!0,t)||e}const oP=Symbol.for("v-ndc");function Rt(e){return Ge(e)?$S(kS,e,!1)||e:e||oP}function a0(e){return $S(JV,e)}function $S(e,t,n=!0,r=!1){const i=Rn||_n;if(i){const a=i.type;if(e===kS){const s=T_(a,!1);if(s&&(s===t||s===Zn(t)||s===Bc(Zn(t))))return a}const o=A3(i[e]||a[e],t)||A3(i.appContext[e],t);return!o&&r?a:o}}function A3(e,t){return e&&(e[t]||e[Zn(t)]||e[Bc(Zn(t))])}function Er(e,t,n,r){let i;const a=n&&n[r];if(Ee(e)||Ge(e)){i=new Array(e.length);for(let o=0,s=e.length;o<s;o++)i[o]=t(e[o],o,void 0,a&&a[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,a&&a[o])}else if(st(e))if(e[Symbol.iterator])i=Array.from(e,(o,s)=>t(o,s,void 0,a&&a[s]));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,l=o.length;s<l;s++){const u=o[s];i[s]=t(e[u],u,s,a&&a[s])}}else i=[];return n&&(n[r]=i),i}function Vh(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ee(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const a=r.fn(...i);return a&&(a.key=r.key),a}:r.fn)}return e}function ge(e,t,n={},r,i){if(Rn.isCE||Rn.parent&&hl(Rn.parent)&&Rn.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),$();const o=a&&sP(a(n)),s=de(Ye,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function sP(e){return e.some(t=>Cn(t)?!(t.type===En||t.type===Ye&&!sP(t.children)):!0)?e:null}function lP(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Qf(r)]=e[r];return n}const g_=e=>e?AP(e)?s0(e)||e.proxy:g_(e.parent):null,Jf=Xt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>g_(e.parent),$root:e=>g_(e.root),$emit:e=>e.emit,$options:e=>NS(e),$forceUpdate:e=>e.f||(e.f=()=>e0(e.update)),$nextTick:e=>e.n||(e.n=Ke.bind(e.proxy)),$watch:e=>qV.bind(e)}),By=(e,t)=>e!==Vt&&!e.__isScriptSetup&&ct(e,t),m_={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(By(r,t))return o[t]=1,r[t];if(i!==Vt&&ct(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&ct(u,t))return o[t]=3,a[t];if(n!==Vt&&ct(n,t))return o[t]=4,n[t];y_&&(o[t]=0)}}const c=Jf[t];let f,d;if(c)return t==="$attrs"&&Dr(e,"get",t),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Vt&&ct(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,ct(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return By(i,t)?(i[t]=n,!0):r!==Vt&&ct(r,t)?(r[t]=n,!0):ct(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},o){let s;return!!n[o]||e!==Vt&&ct(e,o)||By(t,o)||(s=a[0])&&ct(s,o)||ct(r,o)||ct(Jf,o)||ct(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ct(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},eH=Xt({},m_,{get(e,t){if(t!==Symbol.unscopables)return m_.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Rz(t)}});function tH(){return null}function nH(){return null}function rH(e){}function iH(e){}function aH(){return null}function oH(){}function sH(e,t){return null}function Qi(){return cP().slots}function uP(){return cP().attrs}function lH(e,t,n){const r=Ze();if(n&&n.local){const i=N(e[t]);return ce(()=>e[t],a=>i.value=a),ce(i,a=>{a!==e[t]&&r.emit(`update:${t}`,a)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function cP(){const e=Ze();return e.setupContext||(e.setupContext=OP(e))}function zd(e){return Ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function uH(e,t){const n=zd(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Ee(i)||Ne(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function cH(e,t){return!e||!t?e||t:Ee(e)&&Ee(t)?e.concat(t):Xt({},zd(e),zd(t))}function fH(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function dH(e){const t=Ze();let n=e();return ts(),Rd(n)&&(n=n.catch(r=>{throw cs(t),r})),[n,()=>cs(t)]}let y_=!0;function hH(e){const t=NS(e),n=e.proxy,r=e.ctx;y_=!1,t.beforeCreate&&M3(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:m,beforeDestroy:g,beforeUnmount:y,destroyed:_,unmounted:b,render:S,renderTracked:w,renderTriggered:C,errorCaptured:T,serverPrefetch:E,expose:M,inheritAttrs:A,components:I,directives:O,filters:D}=t;if(u&&pH(u,r,null),o)for(const H in o){const V=o[H];Ne(V)&&(r[H]=V.bind(n))}if(i){const H=i.call(n,n);st(H)&&(e.data=Qt(H))}if(y_=!0,a)for(const H in a){const V=a[H],z=Ne(V)?V.bind(n,n):Ne(V.get)?V.get.bind(n,n):Tn,q=!Ne(V)&&Ne(V.set)?V.set.bind(n):Tn,ae=P({get:z,set:q});Object.defineProperty(r,H,{enumerable:!0,configurable:!0,get:()=>ae.value,set:oe=>ae.value=oe})}if(s)for(const H in s)fP(s[H],r,n,H);if(l){const H=Ne(l)?l.call(n):l;Reflect.ownKeys(H).forEach(V=>{_t(V,H[V])})}c&&M3(c,e,"c");function k(H,V){Ee(V)?V.forEach(z=>H(z.bind(n))):V&&H(V.bind(n))}if(k(zh,f),k(dt,d),k(tP,h),k(lo,p),k(JO,v),k(LS,m),k(aP,T),k(iP,w),k(rP,C),k(cn,y),k(Ia,b),k(nP,E),Ee(M))if(M.length){const H=e.exposed||(e.exposed={});M.forEach(V=>{Object.defineProperty(H,V,{get:()=>n[V],set:z=>n[V]=z})})}else e.exposed||(e.exposed={});S&&e.render===Tn&&(e.render=S),A!=null&&(e.inheritAttrs=A),I&&(e.components=I),O&&(e.directives=O)}function pH(e,t,n=Tn){Ee(e)&&(e=b_(e));for(const r in e){const i=e[r];let a;st(i)?"default"in i?a=Se(i.from||r,i.default,!0):a=Se(i.from||r):a=Se(i),It(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[r]=a}}function M3(e,t,n){Kr(Ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function fP(e,t,n,r){const i=r.includes(".")?ZO(n,r):()=>n[r];if(Ge(e)){const a=t[e];Ne(a)&&ce(i,a)}else if(Ne(e))ce(i,e.bind(n));else if(st(e))if(Ee(e))e.forEach(a=>fP(a,t,n,r));else{const a=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(a)&&ce(i,a,e)}}function NS(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Vg(l,u,o,!0)),Vg(l,t,o)),st(t)&&a.set(t,l),l}function Vg(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&Vg(e,a,n,!0),i&&i.forEach(o=>Vg(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const s=vH[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const vH={data:I3,props:O3,emits:O3,methods:Vf,computed:Vf,beforeCreate:ir,created:ir,beforeMount:ir,mounted:ir,beforeUpdate:ir,updated:ir,beforeDestroy:ir,beforeUnmount:ir,destroyed:ir,unmounted:ir,activated:ir,deactivated:ir,errorCaptured:ir,serverPrefetch:ir,components:Vf,directives:Vf,watch:mH,provide:I3,inject:gH};function I3(e,t){return t?e?function(){return Xt(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function gH(e,t){return Vf(b_(e),b_(t))}function b_(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ir(e,t){return e?[...new Set([].concat(e,t))]:t}function Vf(e,t){return e?Xt(Object.create(null),e,t):t}function O3(e,t){return e?Ee(e)&&Ee(t)?[...new Set([...e,...t])]:Xt(Object.create(null),zd(e),zd(t??{})):t}function mH(e,t){if(!e)return t;if(!t)return e;const n=Xt(Object.create(null),e);for(const r in t)n[r]=ir(e[r],t[r]);return n}function dP(){return{app:null,config:{isNativeTag:Tz,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let yH=0;function bH(e,t){return function(r,i=null){Ne(r)||(r=Xt({},r)),i!=null&&!st(i)&&(i=null);const a=dP(),o=new Set;let s=!1;const l=a.app={_uid:yH++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:LP,get config(){return a.config},set config(u){},use(u,...c){return o.has(u)||(u&&Ne(u.install)?(o.add(u),u.install(l,...c)):Ne(u)&&(o.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,f){if(!s){const d=ie(r,i);return d.appContext=a,c&&t?t(d,u):e(d,u,f),s=!0,l._container=u,u.__vue_app__=l,s0(d.component)||d.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l},runWithContext(u){Vd=l;try{return u()}finally{Vd=null}}};return l}}let Vd=null;function _t(e,t){if(_n){let n=_n.provides;const r=_n.parent&&_n.parent.provides;r===n&&(n=_n.provides=Object.create(r)),n[e]=t}}function Se(e,t,n=!1){const r=_n||Rn;if(r||Vd){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Vd._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ne(t)?t.call(r&&r.proxy):t}}function hP(){return!!(_n||Rn||Vd)}function _H(e,t,n,r=!1){const i={},a={};$g(a,o0,1),e.propsDefaults=Object.create(null),pP(e,t,i,a);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:xS(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function wH(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=rt(i),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(t0(e.emitsOptions,d))continue;const h=t[d];if(l)if(ct(a,d))h!==a[d]&&(a[d]=h,u=!0);else{const p=Zn(d);i[p]=__(l,s,p,h,e,!1)}else h!==a[d]&&(a[d]=h,u=!0)}}}else{pP(e,t,i,a)&&(u=!0);let c;for(const f in s)(!t||!ct(t,f)&&((c=Wr(f))===f||!ct(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=__(l,s,f,void 0,e,!0)):delete i[f]);if(a!==s)for(const f in a)(!t||!ct(t,f))&&(delete a[f],u=!0)}u&&eo(e,"set","$attrs")}function pP(e,t,n,r){const[i,a]=e.propsOptions;let o=!1,s;if(t)for(let l in t){if(Xf(l))continue;const u=t[l];let c;i&&ct(i,c=Zn(l))?!a||!a.includes(c)?n[c]=u:(s||(s={}))[c]=u:t0(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(a){const l=rt(n),u=s||Vt;for(let c=0;c<a.length;c++){const f=a[c];n[f]=__(i,l,f,u[f],e,!ct(u,f))}}return o}function __(e,t,n,r,i,a){const o=e[n];if(o!=null){const s=ct(o,"default");if(s&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&Ne(l)){const{propsDefaults:u}=i;n in u?r=u[n]:(cs(i),r=u[n]=l.call(null,t),ts())}else r=l}o[0]&&(a&&!s?r=!1:o[1]&&(r===""||r===Wr(n))&&(r=!0))}return r}function vP(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const a=e.props,o={},s=[];let l=!1;if(!Ne(e)){const c=f=>{l=!0;const[d,h]=vP(f,t,!0);Xt(o,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return st(e)&&r.set(e,Ku),Ku;if(Ee(a))for(let c=0;c<a.length;c++){const f=Zn(a[c]);P3(f)&&(o[f]=Vt)}else if(a)for(const c in a){const f=Zn(c);if(P3(f)){const d=a[c],h=o[f]=Ee(d)||Ne(d)?{type:d}:Xt({},d);if(h){const p=L3(Boolean,h.type),v=L3(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||ct(h,"default"))&&s.push(f)}}}const u=[o,s];return st(e)&&r.set(e,u),u}function P3(e){return e[0]!=="$"}function R3(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function D3(e,t){return R3(e)===R3(t)}function L3(e,t){return Ee(t)?t.findIndex(n=>D3(n,e)):Ne(t)&&D3(t,e)?0:-1}const gP=e=>e[0]==="_"||e==="$stable",BS=e=>Ee(e)?e.map(Vr):[Vr(e)],SH=(e,t,n)=>{if(t._n)return t;const r=re((...i)=>BS(t(...i)),n);return r._c=!1,r},mP=(e,t,n)=>{const r=e._ctx;for(const i in e){if(gP(i))continue;const a=e[i];if(Ne(a))t[i]=SH(i,a,r);else if(a!=null){const o=BS(a);t[i]=()=>o}}},yP=(e,t)=>{const n=BS(t);e.slots.default=()=>n},CH=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=rt(t),$g(t,"_",n)):mP(t,e.slots={})}else e.slots={},t&&yP(e,t);$g(e.slots,o0,1)},xH=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,o=Vt;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Xt(i,t),!n&&s===1&&delete i._):(a=!t.$stable,mP(t,i)),o=t}else t&&(yP(e,t),o={default:1});if(a)for(const s in i)!gP(s)&&!(s in o)&&delete i[s]};function Hg(e,t,n,r,i=!1){if(Ee(e)){e.forEach((d,h)=>Hg(d,t&&(Ee(t)?t[h]:t),n,r,i));return}if(hl(r)&&!i)return;const a=r.shapeFlag&4?s0(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Vt?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Ge(u)?(c[u]=null,ct(f,u)&&(f[u]=null)):It(u)&&(u.value=null)),Ne(l))Xa(l,s,12,[o,c]);else{const d=Ge(l),h=It(l);if(d||h){const p=()=>{if(e.f){const v=d?ct(f,l)?f[l]:c[l]:l.value;i?Ee(v)&&bS(v,a):Ee(v)?v.includes(a)||v.push(a):d?(c[l]=[a],ct(f,l)&&(f[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else d?(c[l]=o,ct(f,l)&&(f[l]=o)):h&&(l.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,kn(p,n)):p()}}}let mo=!1;const Pp=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Rp=e=>e.nodeType===8;function TH(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:l,createComment:u}}=e,c=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),zg(),y._vnode=g;return}mo=!1,f(y.firstChild,g,null,null,null),zg(),y._vnode=g,mo&&console.error("Hydration completed but contains mismatches.")},f=(g,y,_,b,S,w=!1)=>{const C=Rp(g)&&g.data==="[",T=()=>v(g,y,_,b,S,C),{type:E,ref:M,shapeFlag:A,patchFlag:I}=y;let O=g.nodeType;y.el=g,I===-2&&(w=!1,y.dynamicChildren=null);let D=null;switch(E){case to:O!==3?y.children===""?(l(y.el=i(""),o(g),g),D=g):D=T():(g.data!==y.children&&(mo=!0,g.data=y.children),D=a(g));break;case En:O!==8||C?D=T():D=a(g);break;case pl:if(C&&(g=a(g),O=g.nodeType),O===1||O===3){D=g;const F=!y.children.length;for(let k=0;k<y.staticCount;k++)F&&(y.children+=D.nodeType===1?D.outerHTML:D.data),k===y.staticCount-1&&(y.anchor=D),D=a(D);return C?a(D):D}else T();break;case Ye:C?D=p(g,y,_,b,S,w):D=T();break;default:if(A&1)O!==1||y.type.toLowerCase()!==g.tagName.toLowerCase()?D=T():D=d(g,y,_,b,S,w);else if(A&6){y.slotScopeIds=S;const F=o(g);if(t(y,F,null,_,b,Pp(F),w),D=C?m(g):a(g),D&&Rp(D)&&D.data==="teleport end"&&(D=a(D)),hl(y)){let k;C?(k=ie(Ye),k.anchor=D?D.previousSibling:F.lastChild):k=g.nodeType===3?an(""):ie("div"),k.el=g,y.component.subTree=k}}else A&64?O!==8?D=T():D=y.type.hydrate(g,y,_,b,S,w,e,h):A&128&&(D=y.type.hydrate(g,y,_,b,Pp(o(g)),S,w,e,f))}return M!=null&&Hg(M,null,b,y),D},d=(g,y,_,b,S,w)=>{w=w||!!y.dynamicChildren;const{type:C,props:T,patchFlag:E,shapeFlag:M,dirs:A}=y,I=C==="input"&&A||C==="option";if(I||E!==-1){if(A&&ha(y,null,_,"created"),T)if(I||!w||E&48)for(const D in T)(I&&D.endsWith("value")||Dh(D)&&!Xf(D))&&r(g,D,null,T[D],!1,void 0,_);else T.onClick&&r(g,"onClick",null,T.onClick,!1,void 0,_);let O;if((O=T&&T.onVnodeBeforeMount)&&br(O,_,y),A&&ha(y,null,_,"beforeMount"),((O=T&&T.onVnodeMounted)||A)&&KO(()=>{O&&br(O,_,y),A&&ha(y,null,_,"mounted")},b),M&16&&!(T&&(T.innerHTML||T.textContent))){let D=h(g.firstChild,y,g,_,b,S,w);for(;D;){mo=!0;const F=D;D=D.nextSibling,s(F)}}else M&8&&g.textContent!==y.children&&(mo=!0,g.textContent=y.children)}return g.nextSibling},h=(g,y,_,b,S,w,C)=>{C=C||!!y.dynamicChildren;const T=y.children,E=T.length;for(let M=0;M<E;M++){const A=C?T[M]:T[M]=Vr(T[M]);if(g)g=f(g,A,b,S,w,C);else{if(A.type===to&&!A.children)continue;mo=!0,n(null,A,_,null,b,S,Pp(_),w)}}return g},p=(g,y,_,b,S,w)=>{const{slotScopeIds:C}=y;C&&(S=S?S.concat(C):C);const T=o(g),E=h(a(g),y,T,_,b,S,w);return E&&Rp(E)&&E.data==="]"?a(y.anchor=E):(mo=!0,l(y.anchor=u("]"),T,E),E)},v=(g,y,_,b,S,w)=>{if(mo=!0,y.el=null,w){const E=m(g);for(;;){const M=a(g);if(M&&M!==E)s(M);else break}}const C=a(g),T=o(g);return s(g),n(null,y,T,C,_,b,Pp(T),S),C},m=g=>{let y=0;for(;g;)if(g=a(g),g&&Rp(g)&&(g.data==="["&&y++,g.data==="]")){if(y===0)return a(g);y--}return g};return[c,f]}const kn=KO;function bP(e){return wP(e)}function _P(e){return wP(e,TH)}function wP(e,t){const n=f_();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Tn,insertStaticContent:p}=e,v=(L,B,G,Q=null,te=null,se=null,Te=!1,he=null,ye=!!B.dynamicChildren)=>{if(L===B)return;L&&!Fi(L,B)&&(Q=W(L),oe(L,te,se,!0),L=null),B.patchFlag===-2&&(ye=!1,B.dynamicChildren=null);const{type:le,ref:Le,shapeFlag:Me}=B;switch(le){case to:m(L,B,G,Q);break;case En:g(L,B,G,Q);break;case pl:L==null&&y(B,G,Q,Te);break;case Ye:I(L,B,G,Q,te,se,Te,he,ye);break;default:Me&1?S(L,B,G,Q,te,se,Te,he,ye):Me&6?O(L,B,G,Q,te,se,Te,he,ye):(Me&64||Me&128)&&le.process(L,B,G,Q,te,se,Te,he,ye,J)}Le!=null&&te&&Hg(Le,L&&L.ref,se,B||L,!B)},m=(L,B,G,Q)=>{if(L==null)r(B.el=s(B.children),G,Q);else{const te=B.el=L.el;B.children!==L.children&&u(te,B.children)}},g=(L,B,G,Q)=>{L==null?r(B.el=l(B.children||""),G,Q):B.el=L.el},y=(L,B,G,Q)=>{[L.el,L.anchor]=p(L.children,B,G,Q,L.el,L.anchor)},_=({el:L,anchor:B},G,Q)=>{let te;for(;L&&L!==B;)te=d(L),r(L,G,Q),L=te;r(B,G,Q)},b=({el:L,anchor:B})=>{let G;for(;L&&L!==B;)G=d(L),i(L),L=G;i(B)},S=(L,B,G,Q,te,se,Te,he,ye)=>{Te=Te||B.type==="svg",L==null?w(B,G,Q,te,se,Te,he,ye):E(L,B,te,se,Te,he,ye)},w=(L,B,G,Q,te,se,Te,he)=>{let ye,le;const{type:Le,props:Me,shapeFlag:X,transition:Ie,dirs:We}=L;if(ye=L.el=o(L.type,se,Me&&Me.is,Me),X&8?c(ye,L.children):X&16&&T(L.children,ye,null,Q,te,se&&Le!=="foreignObject",Te,he),We&&ha(L,null,Q,"created"),C(ye,L,L.scopeId,Te,Q),Me){for(const pt in Me)pt!=="value"&&!Xf(pt)&&a(ye,pt,null,Me[pt],se,L.children,Q,te,De);"value"in Me&&a(ye,"value",null,Me.value),(le=Me.onVnodeBeforeMount)&&br(le,Q,L)}We&&ha(L,null,Q,"beforeMount");const ht=(!te||te&&!te.pendingBranch)&&Ie&&!Ie.persisted;ht&&Ie.beforeEnter(ye),r(ye,B,G),((le=Me&&Me.onVnodeMounted)||ht||We)&&kn(()=>{le&&br(le,Q,L),ht&&Ie.enter(ye),We&&ha(L,null,Q,"mounted")},te)},C=(L,B,G,Q,te)=>{if(G&&h(L,G),Q)for(let se=0;se<Q.length;se++)h(L,Q[se]);if(te){let se=te.subTree;if(B===se){const Te=te.vnode;C(L,Te,Te.scopeId,Te.slotScopeIds,te.parent)}}},T=(L,B,G,Q,te,se,Te,he,ye=0)=>{for(let le=ye;le<L.length;le++){const Le=L[le]=he?$o(L[le]):Vr(L[le]);v(null,Le,B,G,Q,te,se,Te,he)}},E=(L,B,G,Q,te,se,Te)=>{const he=B.el=L.el;let{patchFlag:ye,dynamicChildren:le,dirs:Le}=B;ye|=L.patchFlag&16;const Me=L.props||Vt,X=B.props||Vt;let Ie;G&&ws(G,!1),(Ie=X.onVnodeBeforeUpdate)&&br(Ie,G,B,L),Le&&ha(B,L,G,"beforeUpdate"),G&&ws(G,!0);const We=te&&B.type!=="foreignObject";if(le?M(L.dynamicChildren,le,he,G,Q,We,se):Te||V(L,B,he,null,G,Q,We,se,!1),ye>0){if(ye&16)A(he,B,Me,X,G,Q,te);else if(ye&2&&Me.class!==X.class&&a(he,"class",null,X.class,te),ye&4&&a(he,"style",Me.style,X.style,te),ye&8){const ht=B.dynamicProps;for(let pt=0;pt<ht.length;pt++){const Kt=ht[pt],Pe=Me[Kt],je=X[Kt];(je!==Pe||Kt==="value")&&a(he,Kt,Pe,je,te,L.children,G,Q,De)}}ye&1&&L.children!==B.children&&c(he,B.children)}else!Te&&le==null&&A(he,B,Me,X,G,Q,te);((Ie=X.onVnodeUpdated)||Le)&&kn(()=>{Ie&&br(Ie,G,B,L),Le&&ha(B,L,G,"updated")},Q)},M=(L,B,G,Q,te,se,Te)=>{for(let he=0;he<B.length;he++){const ye=L[he],le=B[he],Le=ye.el&&(ye.type===Ye||!Fi(ye,le)||ye.shapeFlag&70)?f(ye.el):G;v(ye,le,Le,null,Q,te,se,Te,!0)}},A=(L,B,G,Q,te,se,Te)=>{if(G!==Q){if(G!==Vt)for(const he in G)!Xf(he)&&!(he in Q)&&a(L,he,G[he],null,Te,B.children,te,se,De);for(const he in Q){if(Xf(he))continue;const ye=Q[he],le=G[he];ye!==le&&he!=="value"&&a(L,he,le,ye,Te,B.children,te,se,De)}"value"in Q&&a(L,"value",G.value,Q.value)}},I=(L,B,G,Q,te,se,Te,he,ye)=>{const le=B.el=L?L.el:s(""),Le=B.anchor=L?L.anchor:s("");let{patchFlag:Me,dynamicChildren:X,slotScopeIds:Ie}=B;Ie&&(he=he?he.concat(Ie):Ie),L==null?(r(le,G,Q),r(Le,G,Q),T(B.children,G,Le,te,se,Te,he,ye)):Me>0&&Me&64&&X&&L.dynamicChildren?(M(L.dynamicChildren,X,G,te,se,Te,he),(B.key!=null||te&&B===te.subTree)&&FS(L,B,!0)):V(L,B,G,Le,te,se,Te,he,ye)},O=(L,B,G,Q,te,se,Te,he,ye)=>{B.slotScopeIds=he,L==null?B.shapeFlag&512?te.ctx.activate(B,G,Q,Te,ye):D(B,G,Q,te,se,Te,ye):F(L,B,ye)},D=(L,B,G,Q,te,se,Te)=>{const he=L.component=EP(L,Q,te);if(Fh(L)&&(he.ctx.renderer=J),MP(he),he.asyncDep){if(te&&te.registerDep(he,k),!L.el){const ye=he.subTree=ie(En);g(null,ye,B,G)}return}k(he,L,B,G,te,se,Te)},F=(L,B,G)=>{const Q=B.component=L.component;if(BV(L,B,G))if(Q.asyncDep&&!Q.asyncResolved){H(Q,B,G);return}else Q.next=B,IV(Q.update),Q.update();else B.el=L.el,Q.vnode=B},k=(L,B,G,Q,te,se,Te)=>{const he=()=>{if(L.isMounted){let{next:Le,bu:Me,u:X,parent:Ie,vnode:We}=L,ht=Le,pt;ws(L,!1),Le?(Le.el=We.el,H(L,Le,Te)):Le=We,Me&&Zu(Me),(pt=Le.props&&Le.props.onVnodeBeforeUpdate)&&br(pt,Ie,Le,We),ws(L,!0);const Kt=qv(L),Pe=L.subTree;L.subTree=Kt,v(Pe,Kt,f(Pe.el),W(Pe),L,te,se),Le.el=Kt.el,ht===null&&OS(L,Kt.el),X&&kn(X,te),(pt=Le.props&&Le.props.onVnodeUpdated)&&kn(()=>br(pt,Ie,Le,We),te)}else{let Le;const{el:Me,props:X}=B,{bm:Ie,m:We,parent:ht}=L,pt=hl(B);if(ws(L,!1),Ie&&Zu(Ie),!pt&&(Le=X&&X.onVnodeBeforeMount)&&br(Le,ht,B),ws(L,!0),Me&&pe){const Kt=()=>{L.subTree=qv(L),pe(Me,L.subTree,L,te,null)};pt?B.type.__asyncLoader().then(()=>!L.isUnmounted&&Kt()):Kt()}else{const Kt=L.subTree=qv(L);v(null,Kt,G,Q,L,te,se),B.el=Kt.el}if(We&&kn(We,te),!pt&&(Le=X&&X.onVnodeMounted)){const Kt=B;kn(()=>br(Le,ht,Kt),te)}(B.shapeFlag&256||ht&&hl(ht.vnode)&&ht.vnode.shapeFlag&256)&&L.a&&kn(L.a,te),L.isMounted=!0,B=G=Q=null}},ye=L.effect=new $h(he,()=>e0(le),L.scope),le=L.update=()=>ye.run();le.id=L.uid,ws(L,!0),le()},H=(L,B,G)=>{B.component=L;const Q=L.vnode.props;L.vnode=B,L.next=null,wH(L,B.props,Q,G),xH(L,B.children,G),Fc(),C3(),zc()},V=(L,B,G,Q,te,se,Te,he,ye=!1)=>{const le=L&&L.children,Le=L?L.shapeFlag:0,Me=B.children,{patchFlag:X,shapeFlag:Ie}=B;if(X>0){if(X&128){q(le,Me,G,Q,te,se,Te,he,ye);return}else if(X&256){z(le,Me,G,Q,te,se,Te,he,ye);return}}Ie&8?(Le&16&&De(le,te,se),Me!==le&&c(G,Me)):Le&16?Ie&16?q(le,Me,G,Q,te,se,Te,he,ye):De(le,te,se,!0):(Le&8&&c(G,""),Ie&16&&T(Me,G,Q,te,se,Te,he,ye))},z=(L,B,G,Q,te,se,Te,he,ye)=>{L=L||Ku,B=B||Ku;const le=L.length,Le=B.length,Me=Math.min(le,Le);let X;for(X=0;X<Me;X++){const Ie=B[X]=ye?$o(B[X]):Vr(B[X]);v(L[X],Ie,G,null,te,se,Te,he,ye)}le>Le?De(L,te,se,!0,!1,Me):T(B,G,Q,te,se,Te,he,ye,Me)},q=(L,B,G,Q,te,se,Te,he,ye)=>{let le=0;const Le=B.length;let Me=L.length-1,X=Le-1;for(;le<=Me&&le<=X;){const Ie=L[le],We=B[le]=ye?$o(B[le]):Vr(B[le]);if(Fi(Ie,We))v(Ie,We,G,null,te,se,Te,he,ye);else break;le++}for(;le<=Me&&le<=X;){const Ie=L[Me],We=B[X]=ye?$o(B[X]):Vr(B[X]);if(Fi(Ie,We))v(Ie,We,G,null,te,se,Te,he,ye);else break;Me--,X--}if(le>Me){if(le<=X){const Ie=X+1,We=Ie<Le?B[Ie].el:Q;for(;le<=X;)v(null,B[le]=ye?$o(B[le]):Vr(B[le]),G,We,te,se,Te,he,ye),le++}}else if(le>X)for(;le<=Me;)oe(L[le],te,se,!0),le++;else{const Ie=le,We=le,ht=new Map;for(le=We;le<=X;le++){const Mt=B[le]=ye?$o(B[le]):Vr(B[le]);Mt.key!=null&&ht.set(Mt.key,le)}let pt,Kt=0;const Pe=X-We+1;let je=!1,at=0;const Je=new Array(Pe);for(le=0;le<Pe;le++)Je[le]=0;for(le=Ie;le<=Me;le++){const Mt=L[le];if(Kt>=Pe){oe(Mt,te,se,!0);continue}let Yt;if(Mt.key!=null)Yt=ht.get(Mt.key);else for(pt=We;pt<=X;pt++)if(Je[pt-We]===0&&Fi(Mt,B[pt])){Yt=pt;break}Yt===void 0?oe(Mt,te,se,!0):(Je[Yt-We]=le+1,Yt>=at?at=Yt:je=!0,v(Mt,B[Yt],G,null,te,se,Te,he,ye),Kt++)}const Tt=je?EH(Je):Ku;for(pt=Tt.length-1,le=Pe-1;le>=0;le--){const Mt=We+le,Yt=B[Mt],Y=Mt+1<Le?B[Mt+1].el:Q;Je[le]===0?v(null,Yt,G,Y,te,se,Te,he,ye):je&&(pt<0||le!==Tt[pt]?ae(Yt,G,Y,2):pt--)}}},ae=(L,B,G,Q,te=null)=>{const{el:se,type:Te,transition:he,children:ye,shapeFlag:le}=L;if(le&6){ae(L.component.subTree,B,G,Q);return}if(le&128){L.suspense.move(B,G,Q);return}if(le&64){Te.move(L,B,G,J);return}if(Te===Ye){r(se,B,G);for(let Me=0;Me<ye.length;Me++)ae(ye[Me],B,G,Q);r(L.anchor,B,G);return}if(Te===pl){_(L,B,G);return}if(Q!==2&&le&1&&he)if(Q===0)he.beforeEnter(se),r(se,B,G),kn(()=>he.enter(se),te);else{const{leave:Me,delayLeave:X,afterLeave:Ie}=he,We=()=>r(se,B,G),ht=()=>{Me(se,()=>{We(),Ie&&Ie()})};X?X(se,We,ht):ht()}else r(se,B,G)},oe=(L,B,G,Q=!1,te=!1)=>{const{type:se,props:Te,ref:he,children:ye,dynamicChildren:le,shapeFlag:Le,patchFlag:Me,dirs:X}=L;if(he!=null&&Hg(he,null,G,L,!0),Le&256){B.ctx.deactivate(L);return}const Ie=Le&1&&X,We=!hl(L);let ht;if(We&&(ht=Te&&Te.onVnodeBeforeUnmount)&&br(ht,B,L),Le&6)Ve(L.component,G,Q);else{if(Le&128){L.suspense.unmount(G,Q);return}Ie&&ha(L,null,B,"beforeUnmount"),Le&64?L.type.remove(L,B,G,te,J,Q):le&&(se!==Ye||Me>0&&Me&64)?De(le,B,G,!1,!0):(se===Ye&&Me&384||!te&&Le&16)&&De(ye,B,G),Q&&xe(L)}(We&&(ht=Te&&Te.onVnodeUnmounted)||Ie)&&kn(()=>{ht&&br(ht,B,L),Ie&&ha(L,null,B,"unmounted")},G)},xe=L=>{const{type:B,el:G,anchor:Q,transition:te}=L;if(B===Ye){Ae(G,Q);return}if(B===pl){b(L);return}const se=()=>{i(G),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if(L.shapeFlag&1&&te&&!te.persisted){const{leave:Te,delayLeave:he}=te,ye=()=>Te(G,se);he?he(L.el,se,ye):ye()}else se()},Ae=(L,B)=>{let G;for(;L!==B;)G=d(L),i(L),L=G;i(B)},Ve=(L,B,G)=>{const{bum:Q,scope:te,update:se,subTree:Te,um:he}=L;Q&&Zu(Q),te.stop(),se&&(se.active=!1,oe(Te,L,B,G)),he&&kn(he,B),kn(()=>{L.isUnmounted=!0},B),B&&B.pendingBranch&&!B.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===B.pendingId&&(B.deps--,B.deps===0&&B.resolve())},De=(L,B,G,Q=!1,te=!1,se=0)=>{for(let Te=se;Te<L.length;Te++)oe(L[Te],B,G,Q,te)},W=L=>L.shapeFlag&6?W(L.component.subTree):L.shapeFlag&128?L.suspense.next():d(L.anchor||L.el),Z=(L,B,G)=>{L==null?B._vnode&&oe(B._vnode,null,null,!0):v(B._vnode||null,L,B,null,null,null,G),C3(),zg(),B._vnode=L},J={p:v,um:oe,m:ae,r:xe,mt:D,mc:T,pc:V,pbc:M,n:W,o:e};let ue,pe;return t&&([ue,pe]=t(J)),{render:Z,hydrate:ue,createApp:bH(Z,ue)}}function ws({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function FS(e,t,n=!1){const r=e.children,i=t.children;if(Ee(r)&&Ee(i))for(let a=0;a<r.length;a++){const o=r[a];let s=i[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[a]=$o(i[a]),s.el=o.el),n||FS(o,s)),s.type===to&&(s.el=o.el)}}function EH(e){const t=e.slice(),n=[0];let r,i,a,o,s;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<u?a=s+1:o=s;u<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}const AH=e=>e.__isTeleport,ed=e=>e&&(e.disabled||e.disabled===""),k3=e=>typeof SVGElement<"u"&&e instanceof SVGElement,w_=(e,t)=>{const n=e&&e.to;return Ge(n)?t?t(n):null:n},MH={__isTeleport:!0,process(e,t,n,r,i,a,o,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:m}}=u,g=ed(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(e==null){const S=t.el=v(""),w=t.anchor=v("");h(S,n,r),h(w,n,r);const C=t.target=w_(t.props,p),T=t.targetAnchor=v("");C&&(h(T,C),o=o||k3(C));const E=(M,A)=>{y&16&&c(_,M,A,i,a,o,s,l)};g?E(n,w):C&&E(C,T)}else{t.el=e.el;const S=t.anchor=e.anchor,w=t.target=e.target,C=t.targetAnchor=e.targetAnchor,T=ed(e.props),E=T?n:w,M=T?S:C;if(o=o||k3(w),b?(d(e.dynamicChildren,b,E,i,a,o,s),FS(e,t,!0)):l||f(e,t,E,M,i,a,o,s,!1),g)T||Dp(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=w_(t.props,p);A&&Dp(t,A,null,u,0)}else T&&Dp(t,w,C,u,1)}SP(t)},remove(e,t,n,r,{um:i,o:{remove:a}},o){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:f,props:d}=e;if(f&&a(c),(o||!ed(d))&&(a(u),s&16))for(let h=0;h<l.length;h++){const p=l[h];i(p,t,n,!0,!!p.dynamicChildren)}},move:Dp,hydrate:IH};function Dp(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);const{el:o,anchor:s,shapeFlag:l,children:u,props:c}=e,f=a===2;if(f&&r(o,t,n),(!f||ed(c))&&l&16)for(let d=0;d<u.length;d++)i(u[d],t,n,2);f&&r(s,t,n)}function IH(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:l}},u){const c=t.target=w_(t.props,l);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(ed(t.props))t.anchor=u(o(e),t,s(e),n,r,i,a),t.targetAnchor=f;else{t.anchor=o(e);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,c._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(f,t,c,n,r,i,a)}SP(t)}return t.anchor&&o(t.anchor)}const zS=MH;function SP(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Ye=Symbol.for("v-fgt"),to=Symbol.for("v-txt"),En=Symbol.for("v-cmt"),pl=Symbol.for("v-stc"),td=[];let Tr=null;function $(e=!1){td.push(Tr=e?null:[])}function CP(){td.pop(),Tr=td[td.length-1]||null}let Rl=1;function S_(e){Rl+=e}function xP(e){return e.dynamicChildren=Rl>0?Tr||Ku:null,CP(),Rl>0&&Tr&&Tr.push(e),e}function K(e,t,n,r,i,a){return xP(ee(e,t,n,r,i,a,!0))}function de(e,t,n,r,i){return xP(ie(e,t,n,r,i,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function Fi(e,t){return e.type===t.type&&e.key===t.key}function OH(e){}const o0="__vInternal",TP=({key:e})=>e??null,Kv=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ge(e)||It(e)||Ne(e)?{i:Rn,r:e,k:t,f:!!n}:e:null);function ee(e,t=null,n=null,r=0,i=null,a=e===Ye?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&TP(t),ref:t&&Kv(t),scopeId:n0,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Rn};return s?(HS(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),Rl>0&&!o&&Tr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Tr.push(l),l}const ie=PH;function PH(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===oP)&&(e=En),Cn(e)){const s=ji(e,t,!0);return n&&HS(s,n),Rl>0&&!a&&Tr&&(s.shapeFlag&6?Tr[Tr.indexOf(e)]=s:Tr.push(s)),s.patchFlag|=-2,s}if(FH(e)&&(e=e.__vccOpts),t){t=VS(t);let{class:s,style:l}=t;s&&!Ge(s)&&(t.class=U(s)),st(l)&&(Ld(l)&&!Ee(l)&&(l=Xt({},l)),t.style=it(l))}const o=Ge(e)?1:qO(e)?128:AH(e)?64:st(e)?4:Ne(e)?2:0;return ee(e,t,n,r,i,o,a,!0)}function VS(e){return e?Ld(e)||o0 in e?Xt({},e):e:null}function ji(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:o}=e,s=t?on(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&TP(s),ref:t&&t.ref?n&&i?Ee(i)?i.concat(Kv(t)):[i,Kv(t)]:Kv(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ji(e.ssContent),ssFallback:e.ssFallback&&ji(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function an(e=" ",t=0){return ie(to,null,e,t)}function RH(e,t){const n=ie(pl,null,e);return n.staticCount=t,n}function _e(e="",t=!1){return t?($(),de(En,null,e)):ie(En,null,e)}function Vr(e){return e==null||typeof e=="boolean"?ie(En):Ee(e)?ie(Ye,null,e.slice()):typeof e=="object"?$o(e):ie(to,null,String(e))}function $o(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ji(e)}function HS(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ee(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),HS(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(o0 in t)?t._ctx=Rn:i===3&&Rn&&(Rn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ne(t)?(t={default:t,_ctx:Rn},n=32):(t=String(t),r&64?(n=16,t=[an(t)]):n=8);e.children=t,e.shapeFlag|=n}function on(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=U([t.class,r.class]));else if(i==="style")t.style=it([t.style,r.style]);else if(Dh(i)){const a=t[i],o=r[i];o&&a!==o&&!(Ee(a)&&a.includes(o))&&(t[i]=a?[].concat(a,o):o)}else i!==""&&(t[i]=r[i])}return t}function br(e,t,n,r=null){Kr(e,t,7,[n,r])}const DH=dP();let LH=0;function EP(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||DH,a={uid:LH++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new wS(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vP(r,i),emitsOptions:jO(r,i),emit:null,emitted:null,propsDefaults:Vt,inheritAttrs:r.inheritAttrs,ctx:Vt,data:Vt,props:Vt,attrs:Vt,slots:Vt,refs:Vt,setupState:Vt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=PV.bind(null,a),e.ce&&e.ce(a),a}let _n=null;const Ze=()=>_n||Rn;let WS,cu,$3="__VUE_INSTANCE_SETTERS__";(cu=f_()[$3])||(cu=f_()[$3]=[]),cu.push(e=>_n=e),WS=e=>{cu.length>1?cu.forEach(t=>t(e)):cu[0](e)};const cs=e=>{WS(e),e.scope.on()},ts=()=>{_n&&_n.scope.off(),WS(null)};function AP(e){return e.vnode.shapeFlag&4}let fc=!1;function MP(e,t=!1){fc=t;const{props:n,children:r}=e.vnode,i=AP(e);_H(e,n,i,t),CH(e,r);const a=i?kH(e,t):void 0;return fc=!1,a}function kH(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Nh(new Proxy(e.ctx,m_));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?OP(e):null;cs(e),Fc();const a=Xa(r,e,0,[e.props,i]);if(zc(),ts(),Rd(a)){if(a.then(ts,ts),t)return a.then(o=>{C_(e,o,t)}).catch(o=>{Jl(o,e,0)});e.asyncDep=a}else C_(e,a,t)}else IP(e,t)}function C_(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:st(t)&&(e.setupState=AS(t)),IP(e,n)}let Wg,x_;function $H(e){Wg=e,x_=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,eH))}}const NH=()=>!Wg;function IP(e,t,n){const r=e.type;if(!e.render){if(!t&&Wg&&!r.render){const i=r.template||NS(e).template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Xt(Xt({isCustomElement:a,delimiters:s},o),l);r.render=Wg(i,u)}}e.render=r.render||Tn,x_&&x_(e)}cs(e),Fc(),hH(e),zc(),ts()}function BH(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Dr(e,"get","$attrs"),t[n]}}))}function OP(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return BH(e)},slots:e.slots,emit:e.emit,expose:t}}function s0(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(AS(Nh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jf)return Jf[n](e)},has(t,n){return n in t||n in Jf}}))}function T_(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function FH(e){return Ne(e)&&"__vccOpts"in e}const P=(e,t)=>zO(e,t,fc);function be(e,t,n){const r=arguments.length;return r===2?st(t)&&!Ee(t)?Cn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),ie(e,t,n))}const PP=Symbol.for("v-scx"),RP=()=>Se(PP);function zH(){}function VH(e,t,n,r){const i=n[r];if(i&&DP(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function DP(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(uc(n[r],t[r]))return!1;return Rl>0&&Tr&&Tr.push(e),!0}const LP="3.3.4",HH={createComponentInstance:EP,setupComponent:MP,renderComponentRoot:qv,setCurrentRenderingInstance:Bd,isVNode:Cn,normalizeVNode:Vr},WH=HH,UH=null,GH=null,jH="http://www.w3.org/2000/svg",Js=typeof document<"u"?document:null,N3=Js&&Js.createElement("template"),qH={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 i=t?Js.createElementNS(jH,e):Js.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Js.createTextNode(e),createComment:e=>Js.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Js.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{N3.innerHTML=r?`<svg>${e}</svg>`:e;const s=N3.content;if(r){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]}};function KH(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function YH(e,t,n){const r=e.style,i=Ge(n);if(n&&!i){if(t&&!Ge(t))for(const a in t)n[a]==null&&E_(r,a,"");for(const a in n)E_(r,a,n[a])}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const B3=/\s*!important$/;function E_(e,t,n){if(Ee(n))n.forEach(r=>E_(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ZH(e,t);B3.test(n)?e.setProperty(Wr(r),n.replace(B3,""),"important"):e[r]=n}}const F3=["Webkit","Moz","ms"],Fy={};function ZH(e,t){const n=Fy[t];if(n)return n;let r=Zn(t);if(r!=="filter"&&r in e)return Fy[t]=r;r=Bc(r);for(let i=0;i<F3.length;i++){const a=F3[i]+r;if(a in e)return Fy[t]=a}return t}const z3="http://www.w3.org/1999/xlink";function XH(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(z3,t.slice(6,t.length)):e.setAttributeNS(z3,t,n);else{const a=zz(t);n==null||a&&!SO(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function QH(e,t,n,r,i,a,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,a),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const u=s==="OPTION"?e.getAttribute("value"):e.value,c=n??"";u!==c&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=SO(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function ja(e,t,n,r){e.addEventListener(t,n,r)}function JH(e,t,n,r){e.removeEventListener(t,n,r)}function eW(e,t,n,r,i=null){const a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{const[s,l]=tW(t);if(r){const u=a[t]=iW(r,i);ja(e,s,u,l)}else o&&(JH(e,s,o,l),a[t]=void 0)}}const V3=/(?:Once|Passive|Capture)$/;function tW(e){let t;if(V3.test(e)){t={};let r;for(;r=e.match(V3);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wr(e.slice(2)),t]}let zy=0;const nW=Promise.resolve(),rW=()=>zy||(nW.then(()=>zy=0),zy=Date.now());function iW(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Kr(aW(r,n.value),t,5,[r])};return n.value=e,n.attached=rW(),n}function aW(e,t){if(Ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const H3=/^on[a-z]/,oW=(e,t,n,r,i=!1,a,o,s,l)=>{t==="class"?KH(e,r,i):t==="style"?YH(e,n,r):Dh(t)?yS(t)||eW(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sW(e,t,r,i))?QH(e,t,r,a,o,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),XH(e,t,r,i))};function sW(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&H3.test(t)&&Ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||H3.test(t)&&Ge(n)?!1:t in e}function kP(e,t){const n=j(e);class r extends l0{constructor(a){super(n,a,t)}}return r.def=n,r}const lW=e=>kP(e,XP),uW=typeof HTMLElement<"u"?HTMLElement:class{};class l0 extends uW{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Ke(()=>{this._connected||(Wd(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:a,styles:o}=r;let s;if(a&&!Ee(a))for(const l in a){const u=a[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Bg(this._props[l])),(s||(s=Object.create(null)))[Zn(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=Ee(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(Zn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let n=this.getAttribute(t);const r=Zn(t);this._numberProps&&this._numberProps[r]&&(n=Bg(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Wr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Wr(t),n+""):n||this.removeAttribute(Wr(t))))}_update(){Wd(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ie(this._def,Xt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(a,o)=>{this.dispatchEvent(new CustomEvent(a,{detail:o}))};n.emit=(a,...o)=>{r(a,o),Wr(a)!==a&&r(Wr(a),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof l0){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function cW(e="$style"){{const t=Ze();if(!t)return Vt;const n=t.type.__cssModules;if(!n)return Vt;const r=n[e];return r||Vt}}function fW(e){const t=Ze();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>M_(a,i))},r=()=>{const i=e(t.proxy);A_(t.subTree,i),n(i)};YO(r),dt(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Ia(()=>i.disconnect())})}function A_(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{A_(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)M_(e.el,t);else if(e.type===Ye)e.children.forEach(n=>A_(n,t));else if(e.type===pl){let{el:n,anchor:r}=e;for(;n&&(M_(n,t),n!==r);)n=n.nextSibling}}function M_(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const yo="transition",of="animation",Qn=(e,{slots:t})=>be(XO,NP(e),t);Qn.displayName="Transition";const $P={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},dW=Qn.props=Xt({},DS,$P),Ss=(e,t=[])=>{Ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},W3=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function NP(e){const t={};for(const I in e)I in $P||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=hW(i),v=p&&p[0],m=p&&p[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:S,onBeforeAppear:w=g,onAppear:C=y,onAppearCancelled:T=_}=t,E=(I,O,D)=>{Oo(I,O?c:s),Oo(I,O?u:o),D&&D()},M=(I,O)=>{I._isLeaving=!1,Oo(I,f),Oo(I,h),Oo(I,d),O&&O()},A=I=>(O,D)=>{const F=I?C:y,k=()=>E(O,I,D);Ss(F,[O,k]),U3(()=>{Oo(O,I?l:a),za(O,I?c:s),W3(F)||G3(O,r,v,k)})};return Xt(t,{onBeforeEnter(I){Ss(g,[I]),za(I,a),za(I,o)},onBeforeAppear(I){Ss(w,[I]),za(I,l),za(I,u)},onEnter:A(!1),onAppear:A(!0),onLeave(I,O){I._isLeaving=!0;const D=()=>M(I,O);za(I,f),FP(),za(I,d),U3(()=>{I._isLeaving&&(Oo(I,f),za(I,h),W3(b)||G3(I,r,m,D))}),Ss(b,[I,D])},onEnterCancelled(I){E(I,!1),Ss(_,[I])},onAppearCancelled(I){E(I,!0),Ss(T,[I])},onLeaveCancelled(I){M(I),Ss(S,[I])}})}function hW(e){if(e==null)return null;if(st(e))return[Vy(e.enter),Vy(e.leave)];{const t=Vy(e);return[t,t]}}function Vy(e){return Bg(e)}function za(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Oo(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function U3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pW=0;function G3(e,t,n,r){const i=e._endId=++pW,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:o,timeout:s,propCount:l}=BP(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),a()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},s+1),e.addEventListener(u,d)}function BP(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${yo}Delay`),a=r(`${yo}Duration`),o=j3(i,a),s=r(`${of}Delay`),l=r(`${of}Duration`),u=j3(s,l);let c=null,f=0,d=0;t===yo?o>0&&(c=yo,f=o,d=a.length):t===of?u>0&&(c=of,f=u,d=l.length):(f=Math.max(o,u),c=f>0?o>u?yo:of:null,d=c?c===yo?a.length:l.length:0);const h=c===yo&&/\b(transform|all)(,|$)/.test(r(`${yo}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function j3(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>q3(n)+q3(e[r])))}function q3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function FP(){return document.body.offsetHeight}const zP=new WeakMap,VP=new WeakMap,HP={name:"TransitionGroup",props:Xt({},dW,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ze(),r=RS();let i,a;return lo(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!bW(i[0].el,n.vnode.el,o))return;i.forEach(gW),i.forEach(mW);const s=i.filter(yW);FP(),s.forEach(l=>{const u=l.el,c=u.style;za(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,Oo(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=rt(e),s=NP(o);let l=o.tag||Ye;i=a,a=t.default?r0(t.default()):[];for(let u=0;u<a.length;u++){const c=a[u];c.key!=null&&Pl(c,cc(c,s,r,n))}if(i)for(let u=0;u<i.length;u++){const c=i[u];Pl(c,cc(c,s,r,n)),zP.set(c,c.el.getBoundingClientRect())}return ie(l,null,a)}}},vW=e=>delete e.mode;HP.props;const WP=HP;function gW(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function mW(e){VP.set(e,e.el.getBoundingClientRect())}function yW(e){const t=zP.get(e),n=VP.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${i}px)`,a.transitionDuration="0s",e}}function bW(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=BP(r);return i.removeChild(r),a}const fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ee(t)?n=>Zu(t,n):t};function _W(e){e.target.composing=!0}function K3(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hd={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=fs(i);const a=r||i.props&&i.props.type==="number";ja(e,t?"change":"input",o=>{if(o.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=Ng(s)),e._assign(s)}),n&&ja(e,"change",()=>{e.value=e.value.trim()}),t||(ja(e,"compositionstart",_W),ja(e,"compositionend",K3),ja(e,"change",K3))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e._assign=fs(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Ng(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Dl={deep:!0,created(e,t,n){e._assign=fs(n),ja(e,"change",()=>{const r=e._modelValue,i=dc(e),a=e.checked,o=e._assign;if(Ee(r)){const s=qm(r,i),l=s!==-1;if(a&&!l)o(r.concat(i));else if(!a&&l){const u=[...r];u.splice(s,1),o(u)}}else if(Ql(r)){const s=new Set(r);a?s.add(i):s.delete(i),o(s)}else o(GP(e,a))})},mounted:Y3,beforeUpdate(e,t,n){e._assign=fs(n),Y3(e,t,n)}};function Y3(e,{value:t,oldValue:n},r){e._modelValue=t,Ee(t)?e.checked=qm(t,r.props.value)>-1:Ql(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=ls(t,GP(e,!0)))}const Hh={created(e,{value:t},n){e.checked=ls(t,n.props.value),e._assign=fs(n),ja(e,"change",()=>{e._assign(dc(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=fs(r),t!==n&&(e.checked=ls(t,r.props.value))}},UP={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Ql(t);ja(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ng(dc(o)):dc(o));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=fs(r)},mounted(e,{value:t}){Z3(e,t)},beforeUpdate(e,t,n){e._assign=fs(n)},updated(e,{value:t}){Z3(e,t)}};function Z3(e,t){const n=e.multiple;if(!(n&&!Ee(t)&&!Ql(t))){for(let r=0,i=e.options.length;r<i;r++){const a=e.options[r],o=dc(a);if(n)Ee(t)?a.selected=qm(t,o)>-1:a.selected=t.has(o);else if(ls(dc(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function dc(e){return"_value"in e?e._value:e.value}function GP(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jP={created(e,t,n){Lp(e,t,n,null,"created")},mounted(e,t,n){Lp(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Lp(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Lp(e,t,n,r,"updated")}};function qP(e,t){switch(e){case"SELECT":return UP;case"TEXTAREA":return Hd;default:switch(t){case"checkbox":return Dl;case"radio":return Hh;default:return Hd}}}function Lp(e,t,n,r,i){const o=qP(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}function wW(){Hd.getSSRProps=({value:e})=>({value:e}),Hh.getSSRProps=({value:e},t)=>{if(t.props&&ls(t.props.value,e))return{checked:!0}},Dl.getSSRProps=({value:e},t)=>{if(Ee(e)){if(t.props&&qm(e,t.props.value)>-1)return{checked:!0}}else if(Ql(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},jP.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=qP(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const SW=["ctrl","shift","alt","meta"],CW={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>SW.some(n=>e[`${n}Key`]&&!t.includes(n))},dn=(e,t)=>(n,...r)=>{for(let i=0;i<t.length;i++){const a=CW[t[i]];if(a&&a(n,t))return}return e(n,...r)},xW={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},or=(e,t)=>n=>{if(!("key"in n))return;const r=Wr(n.key);if(t.some(i=>i===r||xW[i]===r))return e(n)},Dn={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):sf(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),sf(e,!0),r.enter(e)):r.leave(e,()=>{sf(e,!1)}):sf(e,t))},beforeUnmount(e,{value:t}){sf(e,t)}};function sf(e,t){e.style.display=t?e._vod:"none"}function TW(){Dn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const KP=Xt({patchProp:oW},qH);let nd,X3=!1;function YP(){return nd||(nd=bP(KP))}function ZP(){return nd=X3?nd:_P(KP),X3=!0,nd}const Wd=(...e)=>{YP().render(...e)},XP=(...e)=>{ZP().hydrate(...e)},US=(...e)=>{const t=YP().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=QP(r);if(!i)return;const a=t._component;!Ne(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},EW=(...e)=>{const t=ZP().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=QP(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function QP(e){return Ge(e)?document.querySelector(e):e}let Q3=!1;const AW=()=>{Q3||(Q3=!0,wW(),TW())},MW=()=>{},u0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:XO,BaseTransitionPropsValidators:DS,Comment:En,EffectScope:wS,Fragment:Ye,KeepAlive:XV,ReactiveEffect:$h,Static:pl,Suspense:zV,Teleport:zS,Text:to,Transition:Qn,TransitionGroup:WP,VueElement:l0,assertNumber:EV,callWithAsyncErrorHandling:Kr,callWithErrorHandling:Xa,camelize:Zn,capitalize:Bc,cloneVNode:ji,compatUtils:GH,compile:MW,computed:P,createApp:US,createBlock:de,createCommentVNode:_e,createElementBlock:K,createElementVNode:ee,createHydrationRenderer:_P,createPropsRestProxy:fH,createRenderer:bP,createSSRApp:EW,createSlots:Vh,createStaticVNode:RH,createTextVNode:an,createVNode:ie,customRef:BO,defineAsyncComponent:YV,defineComponent:j,defineCustomElement:kP,defineEmits:nH,defineExpose:rH,defineModel:oH,defineOptions:iH,defineProps:tH,defineSSRCustomElement:lW,defineSlots:aH,get devtools(){return $u},effect:Uz,effectScope:Km,getCurrentInstance:Ze,getCurrentScope:Lh,getTransitionRawChildren:r0,guardReactiveProps:VS,h:be,handleError:Jl,hasInjectionContext:hP,hydrate:XP,initCustomFormatter:zH,initDirectivesForSSR:AW,inject:Se,isMemoSame:DP,isProxy:Ld,isReactive:Sa,isReadonly:Ol,isRef:It,isRuntimeOnly:NH,isShallow:Dd,isVNode:Cn,markRaw:Nh,mergeDefaults:uH,mergeModels:cH,mergeProps:on,nextTick:Ke,normalizeClass:U,normalizeProps:wO,normalizeStyle:it,onActivated:JO,onBeforeMount:zh,onBeforeUnmount:cn,onBeforeUpdate:tP,onDeactivated:LS,onErrorCaptured:aP,onMounted:dt,onRenderTracked:iP,onRenderTriggered:rP,onScopeDispose:kh,onServerPrefetch:nP,onUnmounted:Ia,onUpdated:lo,openBlock:$,popScopeId:DV,provide:_t,proxyRefs:AS,pushScopeId:RV,queuePostFlushCb:IS,reactive:Qt,readonly:oo,ref:N,registerRuntimeCompiler:$H,render:Wd,renderList:Er,renderSlot:ge,resolveComponent:et,resolveDirective:a0,resolveDynamicComponent:Rt,resolveFilter:UH,resolveTransitionHooks:cc,setBlockTracking:S_,setDevtoolsHook:GO,setTransitionHooks:Pl,shallowReactive:xS,shallowReadonly:yV,shallowRef:di,ssrContextKey:PP,ssrUtils:WH,stop:Gz,toDisplayString:Ue,toHandlerKey:Qf,toHandlers:lP,toRaw:rt,toRef:pn,toRefs:Ci,toValue:_V,transformVNodeArgs:OH,triggerRef:ku,unref:x,useAttrs:uP,useCssModule:cW,useCssVars:fW,useModel:lH,useSSRContext:RP,useSlots:Qi,useTransitionState:RS,vModelCheckbox:Dl,vModelDynamic:jP,vModelRadio:Hh,vModelSelect:UP,vModelText:Hd,vShow:Dn,version:LP,warn:VO,watch:ce,watchEffect:hi,watchPostEffect:YO,watchSyncEffect:jV,withAsyncContext:dH,withCtx:re,withDefaults:sH,withDirectives:Wt,withKeys:or,withMemo:VH,withModifiers:dn,withScopeId:LV},Symbol.toStringTag,{value:"Module"})),IW='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',OW=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,OOe=e=>Array.from(e.querySelectorAll(IW)).filter(t=>PW(t)&&OW(t)),PW=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Yv=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const i=document.createEvent(r);return i.initEvent(t,...n),e.dispatchEvent(i),e},bn=(e,t,{checkForDefaultPrevented:n=!0}={})=>i=>{const a=e==null?void 0:e(i);if(n===!1||!a)return t==null?void 0:t(i)},J3=e=>t=>t.pointerType==="mouse"?e(t):void 0;var RW=!1,DW=Object.defineProperty,LW=Object.defineProperties,kW=Object.getOwnPropertyDescriptors,eT=Object.getOwnPropertySymbols,$W=Object.prototype.hasOwnProperty,NW=Object.prototype.propertyIsEnumerable,tT=(e,t,n)=>t in e?DW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,BW=(e,t)=>{for(var n in t||(t={}))$W.call(t,n)&&tT(e,n,t[n]);if(eT)for(var n of eT(t))NW.call(t,n)&&tT(e,n,t[n]);return e},FW=(e,t)=>LW(e,kW(t));function nT(e,t){var n;const r=di();return hi(()=>{r.value=e()},FW(BW({},t),{flush:(n=t==null?void 0:t.flush)!=null?n:"sync"})),oo(r)}var rT;const kt=typeof window<"u",zW=e=>typeof e=="string",hc=()=>{},JP=kt&&((rT=window==null?void 0:window.navigator)==null?void 0:rT.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function pc(e){return typeof e=="function"?e():x(e)}function e7(e,t){function n(...r){return new Promise((i,a)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(a)})}return n}function VW(e,t={}){let n,r,i=hc;const a=s=>{clearTimeout(s),i(),i=hc};return s=>{const l=pc(e),u=pc(t.maxWait);return n&&a(n),l<=0||u!==void 0&&u<=0?(r&&(a(r),r=null),Promise.resolve(s())):new Promise((c,f)=>{i=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&a(r),r=null,c(s())},l)})}}function HW(e,t=!0,n=!0,r=!1){let i=0,a,o=!0,s=hc,l;const u=()=>{a&&(clearTimeout(a),a=void 0,s(),s=hc)};return f=>{const d=pc(e),h=Date.now()-i,p=()=>l=f();return u(),d<=0?(i=Date.now(),p()):(h>d&&(n||!o)?(i=Date.now(),p()):t&&(l=new Promise((v,m)=>{s=r?m:v,a=setTimeout(()=>{i=Date.now(),o=!0,v(p()),u()},Math.max(0,d-h))})),!n&&!a&&(a=setTimeout(()=>o=!0,d)),o=!1,l)}}function WW(e){return e}function c0(e){return Lh()?(kh(e),!0):!1}function UW(e,t=200,n={}){return e7(VW(t,n),e)}function GW(e,t=200,n={}){const r=N(e.value),i=UW(()=>{r.value=e.value},t,n);return ce(e,()=>i()),r}function jW(e,t=200,n=!1,r=!0,i=!1){return e7(HW(t,n,r,i),e)}function qW(e,t=!0){Ze()?dt(e):t?e():Ke(e)}function Ud(e,t,n={}){const{immediate:r=!0}=n,i=N(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,o()}function l(...u){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...u)},pc(t))}return r&&(i.value=!0,kt&&l()),c0(s),{isPending:oo(i),start:l,stop:s}}function zo(e){var t;const n=pc(e);return(t=n==null?void 0:n.$el)!=null?t:n}const f0=kt?window:void 0,KW=kt?window.document:void 0;function Ar(...e){let t,n,r,i;if(zW(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=f0):[t,n,r,i]=e,!t)return hc;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const a=[],o=()=>{a.forEach(c=>c()),a.length=0},s=(c,f,d,h)=>(c.addEventListener(f,d,h),()=>c.removeEventListener(f,d,h)),l=ce(()=>[zo(t),pc(i)],([c,f])=>{o(),c&&a.push(...n.flatMap(d=>r.map(h=>s(c,d,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return c0(u),u}let iT=!1;function YW(e,t,n={}){const{window:r=f0,ignore:i=[],capture:a=!0,detectIframe:o=!1}=n;if(!r)return;JP&&!iT&&(iT=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",hc)));let s=!0;const l=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=zo(h);return p&&(d.target===p||d.composedPath().includes(p))}}),c=[Ar(r,"click",d=>{const h=zo(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(s=!l(d)),!s){s=!0;return}t(d)}},{passive:!0,capture:a}),Ar(r,"pointerdown",d=>{const h=zo(e);h&&(s=!d.composedPath().includes(h)&&!l(d))},{passive:!0}),o&&Ar(r,"blur",d=>{var h;const p=zo(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function ZW(e,t=!1){const n=N(),r=()=>n.value=!!e();return r(),qW(r,t),n}const aT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oT="__vueuse_ssr_handlers__";aT[oT]=aT[oT]||{};function XW({document:e=KW}={}){if(!e)return N("visible");const t=N(e.visibilityState);return Ar(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var sT=Object.getOwnPropertySymbols,QW=Object.prototype.hasOwnProperty,JW=Object.prototype.propertyIsEnumerable,eU=(e,t)=>{var n={};for(var r in e)QW.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&sT)for(var r of sT(e))t.indexOf(r)<0&&JW.call(e,r)&&(n[r]=e[r]);return n};function qi(e,t,n={}){const r=n,{window:i=f0}=r,a=eU(r,["window"]);let o;const s=ZW(()=>i&&"ResizeObserver"in i),l=()=>{o&&(o.disconnect(),o=void 0)},u=ce(()=>zo(e),f=>{l(),s.value&&i&&f&&(o=new ResizeObserver(t),o.observe(f,a))},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return c0(c),{isSupported:s,stop:c}}var lT;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(lT||(lT={}));var tU=Object.defineProperty,uT=Object.getOwnPropertySymbols,nU=Object.prototype.hasOwnProperty,rU=Object.prototype.propertyIsEnumerable,cT=(e,t,n)=>t in e?tU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iU=(e,t)=>{for(var n in t||(t={}))nU.call(t,n)&&cT(e,n,t[n]);if(uT)for(var n of uT(t))rU.call(t,n)&&cT(e,n,t[n]);return e};const aU={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};iU({linear:WW},aU);function oU({window:e=f0}={}){if(!e)return N(!1);const t=N(e.document.hasFocus());return Ar(e,"blur",()=>{t.value=!1}),Ar(e,"focus",()=>{t.value=!0}),t}const sU=()=>kt&&/firefox/i.test(window.navigator.userAgent),fT=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},lU=(e,t)=>Math.abs(fT(e)-fT(t));var uU=typeof global=="object"&&global&&global.Object===Object&&global;const t7=uU;var cU=typeof self=="object"&&self&&self.Object===Object&&self,fU=t7||cU||Function("return this")();const Ji=fU;var dU=Ji.Symbol;const gi=dU;var n7=Object.prototype,hU=n7.hasOwnProperty,pU=n7.toString,lf=gi?gi.toStringTag:void 0;function vU(e){var t=hU.call(e,lf),n=e[lf];try{e[lf]=void 0;var r=!0}catch{}var i=pU.call(e);return r&&(t?e[lf]=n:delete e[lf]),i}var gU=Object.prototype,mU=gU.toString;function yU(e){return mU.call(e)}var bU="[object Null]",_U="[object Undefined]",dT=gi?gi.toStringTag:void 0;function eu(e){return e==null?e===void 0?_U:bU:dT&&dT in Object(e)?vU(e):yU(e)}function Ta(e){return e!=null&&typeof e=="object"}var wU="[object Symbol]";function d0(e){return typeof e=="symbol"||Ta(e)&&eu(e)==wU}function r7(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var SU=Array.isArray;const hr=SU;var CU=1/0,hT=gi?gi.prototype:void 0,pT=hT?hT.toString:void 0;function i7(e){if(typeof e=="string")return e;if(hr(e))return r7(e,i7)+"";if(d0(e))return pT?pT.call(e):"";var t=e+"";return t=="0"&&1/e==-CU?"-0":t}var xU=/\s/;function TU(e){for(var t=e.length;t--&&xU.test(e.charAt(t)););return t}var EU=/^\s+/;function AU(e){return e&&e.slice(0,TU(e)+1).replace(EU,"")}function pr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var vT=0/0,MU=/^[-+]0x[0-9a-f]+$/i,IU=/^0b[01]+$/i,OU=/^0o[0-7]+$/i,PU=parseInt;function gT(e){if(typeof e=="number")return e;if(d0(e))return vT;if(pr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=AU(e);var n=IU.test(e);return n||OU.test(e)?PU(e.slice(2),n?2:8):MU.test(e)?vT:+e}function GS(e){return e}var RU="[object AsyncFunction]",DU="[object Function]",LU="[object GeneratorFunction]",kU="[object Proxy]";function jS(e){if(!pr(e))return!1;var t=eu(e);return t==DU||t==LU||t==RU||t==kU}var $U=Ji["__core-js_shared__"];const Hy=$U;var mT=function(){var e=/[^.]+$/.exec(Hy&&Hy.keys&&Hy.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function NU(e){return!!mT&&mT in e}var BU=Function.prototype,FU=BU.toString;function tu(e){if(e!=null){try{return FU.call(e)}catch{}try{return e+""}catch{}}return""}var zU=/[\\^$.*+?()[\]{}|]/g,VU=/^\[object .+?Constructor\]$/,HU=Function.prototype,WU=Object.prototype,UU=HU.toString,GU=WU.hasOwnProperty,jU=RegExp("^"+UU.call(GU).replace(zU,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qU(e){if(!pr(e)||NU(e))return!1;var t=jS(e)?jU:VU;return t.test(tu(e))}function KU(e,t){return e==null?void 0:e[t]}function nu(e,t){var n=KU(e,t);return qU(n)?n:void 0}var YU=nu(Ji,"WeakMap");const I_=YU;var yT=Object.create,ZU=function(){function e(){}return function(t){if(!pr(t))return{};if(yT)return yT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const XU=ZU;function QU(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a7(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var JU=800,eG=16,tG=Date.now;function nG(e){var t=0,n=0;return function(){var r=tG(),i=eG-(r-n);if(n=r,i>0){if(++t>=JU)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function rG(e){return function(){return e}}var iG=function(){try{var e=nu(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Ug=iG;var aG=Ug?function(e,t){return Ug(e,"toString",{configurable:!0,enumerable:!1,value:rG(t),writable:!0})}:GS;const oG=aG;var sG=nG(oG);const o7=sG;function lG(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var uG=9007199254740991,cG=/^(?:0|[1-9]\d*)$/;function h0(e,t){var n=typeof e;return t=t??uG,!!t&&(n=="number"||n!="symbol"&&cG.test(e))&&e>-1&&e%1==0&&e<t}function qS(e,t,n){t=="__proto__"&&Ug?Ug(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Wh(e,t){return e===t||e!==e&&t!==t}var fG=Object.prototype,dG=fG.hasOwnProperty;function KS(e,t,n){var r=e[t];(!(dG.call(e,t)&&Wh(r,n))||n===void 0&&!(t in e))&&qS(e,t,n)}function Uh(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=r?r(n[s],e[s],s,n,e):void 0;l===void 0&&(l=e[s]),i?qS(n,s,l):KS(n,s,l)}return n}var bT=Math.max;function s7(e,t,n){return t=bT(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=bT(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),QU(e,this,s)}}function hG(e,t){return o7(s7(e,t,GS),e+"")}var pG=9007199254740991;function YS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=pG}function Vc(e){return e!=null&&YS(e.length)&&!jS(e)}function vG(e,t,n){if(!pr(n))return!1;var r=typeof t;return(r=="number"?Vc(n)&&h0(t,n.length):r=="string"&&t in n)?Wh(n[t],e):!1}function gG(e){return hG(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&vG(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var mG=Object.prototype;function ZS(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||mG;return e===n}function yG(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var bG="[object Arguments]";function _T(e){return Ta(e)&&eu(e)==bG}var l7=Object.prototype,_G=l7.hasOwnProperty,wG=l7.propertyIsEnumerable,SG=_T(function(){return arguments}())?_T:function(e){return Ta(e)&&_G.call(e,"callee")&&!wG.call(e,"callee")};const Gd=SG;function CG(){return!1}var u7=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wT=u7&&typeof module=="object"&&module&&!module.nodeType&&module,xG=wT&&wT.exports===u7,ST=xG?Ji.Buffer:void 0,TG=ST?ST.isBuffer:void 0,EG=TG||CG;const jd=EG;var AG="[object Arguments]",MG="[object Array]",IG="[object Boolean]",OG="[object Date]",PG="[object Error]",RG="[object Function]",DG="[object Map]",LG="[object Number]",kG="[object Object]",$G="[object RegExp]",NG="[object Set]",BG="[object String]",FG="[object WeakMap]",zG="[object ArrayBuffer]",VG="[object DataView]",HG="[object Float32Array]",WG="[object Float64Array]",UG="[object Int8Array]",GG="[object Int16Array]",jG="[object Int32Array]",qG="[object Uint8Array]",KG="[object Uint8ClampedArray]",YG="[object Uint16Array]",ZG="[object Uint32Array]",Jt={};Jt[HG]=Jt[WG]=Jt[UG]=Jt[GG]=Jt[jG]=Jt[qG]=Jt[KG]=Jt[YG]=Jt[ZG]=!0;Jt[AG]=Jt[MG]=Jt[zG]=Jt[IG]=Jt[VG]=Jt[OG]=Jt[PG]=Jt[RG]=Jt[DG]=Jt[LG]=Jt[kG]=Jt[$G]=Jt[NG]=Jt[BG]=Jt[FG]=!1;function XG(e){return Ta(e)&&YS(e.length)&&!!Jt[eu(e)]}function XS(e){return function(t){return e(t)}}var c7=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rd=c7&&typeof module=="object"&&module&&!module.nodeType&&module,QG=rd&&rd.exports===c7,Wy=QG&&t7.process,JG=function(){try{var e=rd&&rd.require&&rd.require("util").types;return e||Wy&&Wy.binding&&Wy.binding("util")}catch{}}();const vc=JG;var CT=vc&&vc.isTypedArray,ej=CT?XS(CT):XG;const QS=ej;var tj=Object.prototype,nj=tj.hasOwnProperty;function f7(e,t){var n=hr(e),r=!n&&Gd(e),i=!n&&!r&&jd(e),a=!n&&!r&&!i&&QS(e),o=n||r||i||a,s=o?yG(e.length,String):[],l=s.length;for(var u in e)(t||nj.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||h0(u,l)))&&s.push(u);return s}function d7(e,t){return function(n){return e(t(n))}}var rj=d7(Object.keys,Object);const ij=rj;var aj=Object.prototype,oj=aj.hasOwnProperty;function sj(e){if(!ZS(e))return ij(e);var t=[];for(var n in Object(e))oj.call(e,n)&&n!="constructor"&&t.push(n);return t}function Gh(e){return Vc(e)?f7(e):sj(e)}function lj(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var uj=Object.prototype,cj=uj.hasOwnProperty;function fj(e){if(!pr(e))return lj(e);var t=ZS(e),n=[];for(var r in e)r=="constructor"&&(t||!cj.call(e,r))||n.push(r);return n}function jh(e){return Vc(e)?f7(e,!0):fj(e)}var dj=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hj=/^\w*$/;function JS(e,t){if(hr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||d0(e)?!0:hj.test(e)||!dj.test(e)||t!=null&&e in Object(t)}var pj=nu(Object,"create");const qd=pj;function vj(){this.__data__=qd?qd(null):{},this.size=0}function gj(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var mj="__lodash_hash_undefined__",yj=Object.prototype,bj=yj.hasOwnProperty;function _j(e){var t=this.__data__;if(qd){var n=t[e];return n===mj?void 0:n}return bj.call(t,e)?t[e]:void 0}var wj=Object.prototype,Sj=wj.hasOwnProperty;function Cj(e){var t=this.__data__;return qd?t[e]!==void 0:Sj.call(t,e)}var xj="__lodash_hash_undefined__";function Tj(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=qd&&t===void 0?xj:t,this}function Ll(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ll.prototype.clear=vj;Ll.prototype.delete=gj;Ll.prototype.get=_j;Ll.prototype.has=Cj;Ll.prototype.set=Tj;function Ej(){this.__data__=[],this.size=0}function p0(e,t){for(var n=e.length;n--;)if(Wh(e[n][0],t))return n;return-1}var Aj=Array.prototype,Mj=Aj.splice;function Ij(e){var t=this.__data__,n=p0(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Mj.call(t,n,1),--this.size,!0}function Oj(e){var t=this.__data__,n=p0(t,e);return n<0?void 0:t[n][1]}function Pj(e){return p0(this.__data__,e)>-1}function Rj(e,t){var n=this.__data__,r=p0(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function uo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}uo.prototype.clear=Ej;uo.prototype.delete=Ij;uo.prototype.get=Oj;uo.prototype.has=Pj;uo.prototype.set=Rj;var Dj=nu(Ji,"Map");const Kd=Dj;function Lj(){this.size=0,this.__data__={hash:new Ll,map:new(Kd||uo),string:new Ll}}function kj(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function v0(e,t){var n=e.__data__;return kj(t)?n[typeof t=="string"?"string":"hash"]:n.map}function $j(e){var t=v0(this,e).delete(e);return this.size-=t?1:0,t}function Nj(e){return v0(this,e).get(e)}function Bj(e){return v0(this,e).has(e)}function Fj(e,t){var n=v0(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function co(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}co.prototype.clear=Lj;co.prototype.delete=$j;co.prototype.get=Nj;co.prototype.has=Bj;co.prototype.set=Fj;var zj="Expected a function";function eC(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(zj);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(eC.Cache||co),n}eC.Cache=co;var Vj=500;function Hj(e){var t=eC(e,function(r){return n.size===Vj&&n.clear(),r}),n=t.cache;return t}var Wj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Uj=/\\(\\)?/g,Gj=Hj(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Wj,function(n,r,i,a){t.push(i?a.replace(Uj,"$1"):r||n)}),t});const jj=Gj;function qj(e){return e==null?"":i7(e)}function g0(e,t){return hr(e)?e:JS(e,t)?[e]:jj(qj(e))}var Kj=1/0;function qh(e){if(typeof e=="string"||d0(e))return e;var t=e+"";return t=="0"&&1/e==-Kj?"-0":t}function tC(e,t){t=g0(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[qh(t[n++])];return n&&n==r?e:void 0}function Kn(e,t,n){var r=e==null?void 0:tC(e,t);return r===void 0?n:r}function nC(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var xT=gi?gi.isConcatSpreadable:void 0;function Yj(e){return hr(e)||Gd(e)||!!(xT&&e&&e[xT])}function rC(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=Yj),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?rC(s,t-1,n,r,i):nC(i,s):r||(i[i.length]=s)}return i}function Zj(e){var t=e==null?0:e.length;return t?rC(e,1):[]}function Xj(e){return o7(s7(e,void 0,Zj),e+"")}var Qj=d7(Object.getPrototypeOf,Object);const iC=Qj;var Jj="[object Object]",eq=Function.prototype,tq=Object.prototype,h7=eq.toString,nq=tq.hasOwnProperty,rq=h7.call(Object);function iq(e){if(!Ta(e)||eu(e)!=Jj)return!1;var t=iC(e);if(t===null)return!0;var n=nq.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&h7.call(n)==rq}function Yd(){if(!arguments.length)return[];var e=arguments[0];return hr(e)?e:[e]}function aq(){this.__data__=new uo,this.size=0}function oq(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function sq(e){return this.__data__.get(e)}function lq(e){return this.__data__.has(e)}var uq=200;function cq(e,t){var n=this.__data__;if(n instanceof uo){var r=n.__data__;if(!Kd||r.length<uq-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new co(r)}return n.set(e,t),this.size=n.size,this}function Hi(e){var t=this.__data__=new uo(e);this.size=t.size}Hi.prototype.clear=aq;Hi.prototype.delete=oq;Hi.prototype.get=sq;Hi.prototype.has=lq;Hi.prototype.set=cq;function fq(e,t){return e&&Uh(t,Gh(t),e)}function dq(e,t){return e&&Uh(t,jh(t),e)}var p7=typeof exports=="object"&&exports&&!exports.nodeType&&exports,TT=p7&&typeof module=="object"&&module&&!module.nodeType&&module,hq=TT&&TT.exports===p7,ET=hq?Ji.Buffer:void 0,AT=ET?ET.allocUnsafe:void 0;function v7(e,t){if(t)return e.slice();var n=e.length,r=AT?AT(n):new e.constructor(n);return e.copy(r),r}function pq(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function g7(){return[]}var vq=Object.prototype,gq=vq.propertyIsEnumerable,MT=Object.getOwnPropertySymbols,mq=MT?function(e){return e==null?[]:(e=Object(e),pq(MT(e),function(t){return gq.call(e,t)}))}:g7;const aC=mq;function yq(e,t){return Uh(e,aC(e),t)}var bq=Object.getOwnPropertySymbols,_q=bq?function(e){for(var t=[];e;)nC(t,aC(e)),e=iC(e);return t}:g7;const m7=_q;function wq(e,t){return Uh(e,m7(e),t)}function y7(e,t,n){var r=t(e);return hr(e)?r:nC(r,n(e))}function O_(e){return y7(e,Gh,aC)}function Sq(e){return y7(e,jh,m7)}var Cq=nu(Ji,"DataView");const P_=Cq;var xq=nu(Ji,"Promise");const R_=xq;var Tq=nu(Ji,"Set");const D_=Tq;var IT="[object Map]",Eq="[object Object]",OT="[object Promise]",PT="[object Set]",RT="[object WeakMap]",DT="[object DataView]",Aq=tu(P_),Mq=tu(Kd),Iq=tu(R_),Oq=tu(D_),Pq=tu(I_),qs=eu;(P_&&qs(new P_(new ArrayBuffer(1)))!=DT||Kd&&qs(new Kd)!=IT||R_&&qs(R_.resolve())!=OT||D_&&qs(new D_)!=PT||I_&&qs(new I_)!=RT)&&(qs=function(e){var t=eu(e),n=t==Eq?e.constructor:void 0,r=n?tu(n):"";if(r)switch(r){case Aq:return DT;case Mq:return IT;case Iq:return OT;case Oq:return PT;case Pq:return RT}return t});const Zd=qs;var Rq=Object.prototype,Dq=Rq.hasOwnProperty;function Lq(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Dq.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var kq=Ji.Uint8Array;const Gg=kq;function oC(e){var t=new e.constructor(e.byteLength);return new Gg(t).set(new Gg(e)),t}function $q(e,t){var n=t?oC(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Nq=/\w*$/;function Bq(e){var t=new e.constructor(e.source,Nq.exec(e));return t.lastIndex=e.lastIndex,t}var LT=gi?gi.prototype:void 0,kT=LT?LT.valueOf:void 0;function Fq(e){return kT?Object(kT.call(e)):{}}function b7(e,t){var n=t?oC(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var zq="[object Boolean]",Vq="[object Date]",Hq="[object Map]",Wq="[object Number]",Uq="[object RegExp]",Gq="[object Set]",jq="[object String]",qq="[object Symbol]",Kq="[object ArrayBuffer]",Yq="[object DataView]",Zq="[object Float32Array]",Xq="[object Float64Array]",Qq="[object Int8Array]",Jq="[object Int16Array]",eK="[object Int32Array]",tK="[object Uint8Array]",nK="[object Uint8ClampedArray]",rK="[object Uint16Array]",iK="[object Uint32Array]";function aK(e,t,n){var r=e.constructor;switch(t){case Kq:return oC(e);case zq:case Vq:return new r(+e);case Yq:return $q(e,n);case Zq:case Xq:case Qq:case Jq:case eK:case tK:case nK:case rK:case iK:return b7(e,n);case Hq:return new r;case Wq:case jq:return new r(e);case Uq:return Bq(e);case Gq:return new r;case qq:return Fq(e)}}function _7(e){return typeof e.constructor=="function"&&!ZS(e)?XU(iC(e)):{}}var oK="[object Map]";function sK(e){return Ta(e)&&Zd(e)==oK}var $T=vc&&vc.isMap,lK=$T?XS($T):sK;const uK=lK;var cK="[object Set]";function fK(e){return Ta(e)&&Zd(e)==cK}var NT=vc&&vc.isSet,dK=NT?XS(NT):fK;const hK=dK;var pK=1,vK=2,gK=4,w7="[object Arguments]",mK="[object Array]",yK="[object Boolean]",bK="[object Date]",_K="[object Error]",S7="[object Function]",wK="[object GeneratorFunction]",SK="[object Map]",CK="[object Number]",C7="[object Object]",xK="[object RegExp]",TK="[object Set]",EK="[object String]",AK="[object Symbol]",MK="[object WeakMap]",IK="[object ArrayBuffer]",OK="[object DataView]",PK="[object Float32Array]",RK="[object Float64Array]",DK="[object Int8Array]",LK="[object Int16Array]",kK="[object Int32Array]",$K="[object Uint8Array]",NK="[object Uint8ClampedArray]",BK="[object Uint16Array]",FK="[object Uint32Array]",Zt={};Zt[w7]=Zt[mK]=Zt[IK]=Zt[OK]=Zt[yK]=Zt[bK]=Zt[PK]=Zt[RK]=Zt[DK]=Zt[LK]=Zt[kK]=Zt[SK]=Zt[CK]=Zt[C7]=Zt[xK]=Zt[TK]=Zt[EK]=Zt[AK]=Zt[$K]=Zt[NK]=Zt[BK]=Zt[FK]=!0;Zt[_K]=Zt[S7]=Zt[MK]=!1;function Zv(e,t,n,r,i,a){var o,s=t&pK,l=t&vK,u=t&gK;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!pr(e))return e;var c=hr(e);if(c){if(o=Lq(e),!s)return a7(e,o)}else{var f=Zd(e),d=f==S7||f==wK;if(jd(e))return v7(e,s);if(f==C7||f==w7||d&&!i){if(o=l||d?{}:_7(e),!s)return l?wq(e,dq(o,e)):yq(e,fq(o,e))}else{if(!Zt[f])return i?e:{};o=aK(e,f,s)}}a||(a=new Hi);var h=a.get(e);if(h)return h;a.set(e,o),hK(e)?e.forEach(function(m){o.add(Zv(m,t,n,m,e,a))}):uK(e)&&e.forEach(function(m,g){o.set(g,Zv(m,t,n,g,e,a))});var p=u?l?Sq:O_:l?jh:Gh,v=c?void 0:p(e);return lG(v||e,function(m,g){v&&(g=m,m=e[g]),KS(o,g,Zv(m,t,n,g,e,a))}),o}var zK=4;function BT(e){return Zv(e,zK)}var VK="__lodash_hash_undefined__";function HK(e){return this.__data__.set(e,VK),this}function WK(e){return this.__data__.has(e)}function jg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new co;++t<n;)this.add(e[t])}jg.prototype.add=jg.prototype.push=HK;jg.prototype.has=WK;function UK(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function GK(e,t){return e.has(t)}var jK=1,qK=2;function x7(e,t,n,r,i,a){var o=n&jK,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,h=n&qK?new jg:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var p=e[f],v=t[f];if(r)var m=o?r(v,p,f,t,e,a):r(p,v,f,e,t,a);if(m!==void 0){if(m)continue;d=!1;break}if(h){if(!UK(t,function(g,y){if(!GK(h,y)&&(p===g||i(p,g,n,r,a)))return h.push(y)})){d=!1;break}}else if(!(p===v||i(p,v,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}function KK(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function YK(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var ZK=1,XK=2,QK="[object Boolean]",JK="[object Date]",eY="[object Error]",tY="[object Map]",nY="[object Number]",rY="[object RegExp]",iY="[object Set]",aY="[object String]",oY="[object Symbol]",sY="[object ArrayBuffer]",lY="[object DataView]",FT=gi?gi.prototype:void 0,Uy=FT?FT.valueOf:void 0;function uY(e,t,n,r,i,a,o){switch(n){case lY:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case sY:return!(e.byteLength!=t.byteLength||!a(new Gg(e),new Gg(t)));case QK:case JK:case nY:return Wh(+e,+t);case eY:return e.name==t.name&&e.message==t.message;case rY:case aY:return e==t+"";case tY:var s=KK;case iY:var l=r&ZK;if(s||(s=YK),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;r|=XK,o.set(e,t);var c=x7(s(e),s(t),r,i,a,o);return o.delete(e),c;case oY:if(Uy)return Uy.call(e)==Uy.call(t)}return!1}var cY=1,fY=Object.prototype,dY=fY.hasOwnProperty;function hY(e,t,n,r,i,a){var o=n&cY,s=O_(e),l=s.length,u=O_(t),c=u.length;if(l!=c&&!o)return!1;for(var f=l;f--;){var d=s[f];if(!(o?d in t:dY.call(t,d)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var v=!0;a.set(e,t),a.set(t,e);for(var m=o;++f<l;){d=s[f];var g=e[d],y=t[d];if(r)var _=o?r(y,g,d,t,e,a):r(g,y,d,e,t,a);if(!(_===void 0?g===y||i(g,y,n,r,a):_)){v=!1;break}m||(m=d=="constructor")}if(v&&!m){var b=e.constructor,S=t.constructor;b!=S&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof S=="function"&&S instanceof S)&&(v=!1)}return a.delete(e),a.delete(t),v}var pY=1,zT="[object Arguments]",VT="[object Array]",kp="[object Object]",vY=Object.prototype,HT=vY.hasOwnProperty;function gY(e,t,n,r,i,a){var o=hr(e),s=hr(t),l=o?VT:Zd(e),u=s?VT:Zd(t);l=l==zT?kp:l,u=u==zT?kp:u;var c=l==kp,f=u==kp,d=l==u;if(d&&jd(e)){if(!jd(t))return!1;o=!0,c=!1}if(d&&!c)return a||(a=new Hi),o||QS(e)?x7(e,t,n,r,i,a):uY(e,t,l,n,r,i,a);if(!(n&pY)){var h=c&&HT.call(e,"__wrapped__"),p=f&&HT.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,m=p?t.value():t;return a||(a=new Hi),i(v,m,n,r,a)}}return d?(a||(a=new Hi),hY(e,t,n,r,i,a)):!1}function m0(e,t,n,r,i){return e===t?!0:e==null||t==null||!Ta(e)&&!Ta(t)?e!==e&&t!==t:gY(e,t,n,r,m0,i)}var mY=1,yY=2;function bY(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var l=s[0],u=e[l],c=s[1];if(o&&s[2]){if(u===void 0&&!(l in e))return!1}else{var f=new Hi;if(r)var d=r(u,c,l,e,t,f);if(!(d===void 0?m0(c,u,mY|yY,r,f):d))return!1}}return!0}function T7(e){return e===e&&!pr(e)}function _Y(e){for(var t=Gh(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,T7(i)]}return t}function E7(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function wY(e){var t=_Y(e);return t.length==1&&t[0][2]?E7(t[0][0],t[0][1]):function(n){return n===e||bY(n,e,t)}}function SY(e,t){return e!=null&&t in Object(e)}function CY(e,t,n){t=g0(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=qh(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&YS(i)&&h0(o,i)&&(hr(e)||Gd(e)))}function A7(e,t){return e!=null&&CY(e,t,SY)}var xY=1,TY=2;function EY(e,t){return JS(e)&&T7(t)?E7(qh(e),t):function(n){var r=Kn(n,e);return r===void 0&&r===t?A7(n,e):m0(t,r,xY|TY)}}function AY(e){return function(t){return t==null?void 0:t[e]}}function MY(e){return function(t){return tC(t,e)}}function IY(e){return JS(e)?AY(qh(e)):MY(e)}function OY(e){return typeof e=="function"?e:e==null?GS:typeof e=="object"?hr(e)?EY(e[0],e[1]):wY(e):IY(e)}function PY(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(n(a[l],l,a)===!1)break}return t}}var RY=PY();const M7=RY;function DY(e,t){return e&&M7(e,t,Gh)}function LY(e,t){return function(n,r){if(n==null)return n;if(!Vc(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var kY=LY(DY);const $Y=kY;var NY=function(){return Ji.Date.now()};const Gy=NY;var BY="Expected a function",FY=Math.max,zY=Math.min;function kl(e,t,n){var r,i,a,o,s,l,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(BY);t=gT(t)||0,pr(n)&&(c=!!n.leading,f="maxWait"in n,a=f?FY(gT(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d);function h(w){var C=r,T=i;return r=i=void 0,u=w,o=e.apply(T,C),o}function p(w){return u=w,s=setTimeout(g,t),c?h(w):o}function v(w){var C=w-l,T=w-u,E=t-C;return f?zY(E,a-T):E}function m(w){var C=w-l,T=w-u;return l===void 0||C>=t||C<0||f&&T>=a}function g(){var w=Gy();if(m(w))return y(w);s=setTimeout(g,v(w))}function y(w){return s=void 0,d&&r?h(w):(r=i=void 0,o)}function _(){s!==void 0&&clearTimeout(s),u=0,r=l=i=s=void 0}function b(){return s===void 0?o:y(Gy())}function S(){var w=Gy(),C=m(w);if(r=arguments,i=this,l=w,C){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(g,t),h(l)}return s===void 0&&(s=setTimeout(g,t)),o}return S.cancel=_,S.flush=b,S}function L_(e,t,n){(n!==void 0&&!Wh(e[t],n)||n===void 0&&!(t in e))&&qS(e,t,n)}function VY(e){return Ta(e)&&Vc(e)}function k_(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function HY(e){return Uh(e,jh(e))}function WY(e,t,n,r,i,a,o){var s=k_(e,n),l=k_(t,n),u=o.get(l);if(u){L_(e,n,u);return}var c=a?a(s,l,n+"",e,t,o):void 0,f=c===void 0;if(f){var d=hr(l),h=!d&&jd(l),p=!d&&!h&&QS(l);c=l,d||h||p?hr(s)?c=s:VY(s)?c=a7(s):h?(f=!1,c=v7(l,!0)):p?(f=!1,c=b7(l,!0)):c=[]:iq(l)||Gd(l)?(c=s,Gd(s)?c=HY(s):(!pr(s)||jS(s))&&(c=_7(l))):f=!1}f&&(o.set(l,c),i(c,l,r,a,o),o.delete(l)),L_(e,n,c)}function I7(e,t,n,r,i){e!==t&&M7(t,function(a,o){if(i||(i=new Hi),pr(a))WY(e,t,o,n,I7,r,i);else{var s=r?r(k_(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),L_(e,o,s)}},jh)}function UY(e,t){var n=-1,r=Vc(e)?Array(e.length):[];return $Y(e,function(i,a,o){r[++n]=t(i,a,o)}),r}function GY(e,t){var n=hr(e)?r7:UY;return n(e,OY(t))}function jY(e,t){return rC(GY(e,t),1)}function qg(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function Kg(e,t){return m0(e,t)}function $l(e){return e==null}function qY(e){return e===void 0}var KY=gG(function(e,t,n){I7(e,t,n)});const O7=KY;function P7(e,t,n,r){if(!pr(e))return e;t=g0(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var l=qh(t[i]),u=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=o){var c=s[l];u=r?r(c,l,s):void 0,u===void 0&&(u=pr(c)?c:h0(t[i+1])?[]:{})}KS(s,l,u),s=s[l]}return e}function YY(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=tC(e,o);n(s,o)&&P7(a,g0(o,e),s)}return a}function ZY(e,t){return YY(e,t,function(n,r){return A7(e,r)})}var XY=Xj(function(e,t){return e==null?{}:ZY(e,t)});const QY=XY;function JY(e,t,n){return e==null?e:P7(e,t,n)}var eZ="Expected a function";function WT(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(eZ);return pr(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),kl(e,t,{leading:r,maxWait:t,trailing:i})}const gc=e=>e===void 0,Xn=e=>typeof e=="boolean",gt=e=>typeof e=="number",Nl=e=>typeof Element>"u"?!1:e instanceof Element,tZ=e=>Ge(e)?!Number.isNaN(Number(e)):!1,nZ=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Fo=e=>Bc(e),$_=e=>Object.keys(e),Xv=(e,t,n)=>({get value(){return Kn(e,t,n)},set value(r){JY(e,t,r)}});class rZ extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Lr(e,t){throw new rZ(`[${e}] ${t}`)}const R7=(e="")=>e.split(" ").filter(t=>!!t.trim()),vl=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ka=(e,t)=>{!e||!t.trim()||e.classList.add(...R7(t))},Wi=(e,t)=>{!e||!t.trim()||e.classList.remove(...R7(t))},qa=(e,t)=>{var n;if(!kt||!e||!t)return"";let r=Zn(t);r==="float"&&(r="cssFloat");try{const i=e.style[r];if(i)return i;const a=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return a?a[r]:""}catch{return e.style[r]}};function Jn(e,t="px"){if(!e)return"";if(gt(e)||tZ(e))return`${e}${t}`;if(Ge(e))return e}const iZ=(e,t)=>{if(!kt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=qa(e,n);return["scroll","auto","overlay"].some(i=>r.includes(i))},aZ=(e,t)=>{if(!kt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(iZ(n,t))return n;n=n.parentNode}return n};let $p;const oZ=e=>{var t;if(!kt)return 0;if($p!==void 0)return $p;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const i=document.createElement("div");i.style.width="100%",n.appendChild(i);const a=i.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),$p=r-a,$p};function sZ(e,t){if(!kt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const i=t.offsetTop+n.reduce((l,u)=>l+u.offsetTop,0),a=i+t.offsetHeight,o=e.scrollTop,s=o+e.clientHeight;i<o?e.scrollTop=i:a>s&&(e.scrollTop=a-e.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var gn=(e,t)=>{let n=e.__vccOpts||e;for(let[r,i]of t)n[r]=i;return n},lZ={name:"ArrowDown"},uZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cZ=ee("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),fZ=[cZ];function dZ(e,t,n,r,i,a){return $(),K("svg",uZ,fZ)}var y0=gn(lZ,[["render",dZ],["__file","arrow-down.vue"]]),hZ={name:"ArrowLeft"},pZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vZ=ee("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"},null,-1),gZ=[vZ];function mZ(e,t,n,r,i,a){return $(),K("svg",pZ,gZ)}var D7=gn(hZ,[["render",mZ],["__file","arrow-left.vue"]]),yZ={name:"ArrowRight"},bZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_Z=ee("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),wZ=[_Z];function SZ(e,t,n,r,i,a){return $(),K("svg",bZ,wZ)}var Hc=gn(yZ,[["render",SZ],["__file","arrow-right.vue"]]),CZ={name:"ArrowUp"},xZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},TZ=ee("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"},null,-1),EZ=[TZ];function AZ(e,t,n,r,i,a){return $(),K("svg",xZ,EZ)}var MZ=gn(CZ,[["render",AZ],["__file","arrow-up.vue"]]),IZ={name:"CaretTop"},OZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},PZ=ee("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),RZ=[PZ];function DZ(e,t,n,r,i,a){return $(),K("svg",OZ,RZ)}var LZ=gn(IZ,[["render",DZ],["__file","caret-top.vue"]]),kZ={name:"CircleCheck"},$Z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},NZ=ee("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),BZ=ee("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),FZ=[NZ,BZ];function zZ(e,t,n,r,i,a){return $(),K("svg",$Z,FZ)}var VZ=gn(kZ,[["render",zZ],["__file","circle-check.vue"]]),HZ={name:"CircleCloseFilled"},WZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},UZ=ee("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),GZ=[UZ];function jZ(e,t,n,r,i,a){return $(),K("svg",WZ,GZ)}var L7=gn(HZ,[["render",jZ],["__file","circle-close-filled.vue"]]),qZ={name:"CircleClose"},KZ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},YZ=ee("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),ZZ=ee("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),XZ=[YZ,ZZ];function QZ(e,t,n,r,i,a){return $(),K("svg",KZ,XZ)}var sC=gn(qZ,[["render",QZ],["__file","circle-close.vue"]]),JZ={name:"Close"},eX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tX=ee("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),nX=[tX];function rX(e,t,n,r,i,a){return $(),K("svg",eX,nX)}var Xd=gn(JZ,[["render",rX],["__file","close.vue"]]),iX={name:"DArrowLeft"},aX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},oX=ee("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"},null,-1),sX=[oX];function lX(e,t,n,r,i,a){return $(),K("svg",aX,sX)}var uX=gn(iX,[["render",lX],["__file","d-arrow-left.vue"]]),cX={name:"DArrowRight"},fX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dX=ee("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688zm-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"},null,-1),hX=[dX];function pX(e,t,n,r,i,a){return $(),K("svg",fX,hX)}var vX=gn(cX,[["render",pX],["__file","d-arrow-right.vue"]]),gX={name:"Hide"},mX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yX=ee("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),bX=ee("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),_X=[yX,bX];function wX(e,t,n,r,i,a){return $(),K("svg",mX,_X)}var SX=gn(gX,[["render",wX],["__file","hide.vue"]]),CX={name:"InfoFilled"},xX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},TX=ee("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),EX=[TX];function AX(e,t,n,r,i,a){return $(),K("svg",xX,EX)}var k7=gn(CX,[["render",AX],["__file","info-filled.vue"]]),MX={name:"Loading"},IX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},OX=ee("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),PX=[OX];function RX(e,t,n,r,i,a){return $(),K("svg",IX,PX)}var b0=gn(MX,[["render",RX],["__file","loading.vue"]]),DX={name:"MoreFilled"},LX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},kX=ee("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),$X=[kX];function NX(e,t,n,r,i,a){return $(),K("svg",LX,$X)}var UT=gn(DX,[["render",NX],["__file","more-filled.vue"]]),BX={name:"More"},FX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zX=ee("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),VX=[zX];function HX(e,t,n,r,i,a){return $(),K("svg",FX,VX)}var WX=gn(BX,[["render",HX],["__file","more.vue"]]),UX={name:"Plus"},GX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},jX=ee("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"},null,-1),qX=[jX];function KX(e,t,n,r,i,a){return $(),K("svg",GX,qX)}var YX=gn(UX,[["render",KX],["__file","plus.vue"]]),ZX={name:"QuestionFilled"},XX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},QX=ee("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"},null,-1),JX=[QX];function eQ(e,t,n,r,i,a){return $(),K("svg",XX,JX)}var tQ=gn(ZX,[["render",eQ],["__file","question-filled.vue"]]),nQ={name:"SuccessFilled"},rQ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},iQ=ee("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),aQ=[iQ];function oQ(e,t,n,r,i,a){return $(),K("svg",rQ,aQ)}var $7=gn(nQ,[["render",oQ],["__file","success-filled.vue"]]),sQ={name:"View"},lQ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},uQ=ee("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),cQ=[uQ];function fQ(e,t,n,r,i,a){return $(),K("svg",lQ,cQ)}var dQ=gn(sQ,[["render",fQ],["__file","view.vue"]]),hQ={name:"WarningFilled"},pQ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vQ=ee("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),gQ=[vQ];function mQ(e,t,n,r,i,a){return $(),K("svg",pQ,gQ)}var N7=gn(hQ,[["render",mQ],["__file","warning-filled.vue"]]);const B7="__epPropKey",Oe=e=>e,yQ=e=>st(e)&&!!e[B7],_0=(e,t)=>{if(!st(e)||yQ(e))return e;const{values:n,required:r,default:i,type:a,validator:o}=e,l={type:a,required:!!r,validator:n||o?u=>{let c=!1,f=[];if(n&&(f=Array.from(n),ct(e,"default")&&f.push(i),c||(c=f.includes(u))),o&&(c||(c=o(u))),!c&&f.length>0){const d=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");VO(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${d}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[B7]:!0};return ct(e,"default")&&(l.default=i),l},$e=e=>qg(Object.entries(e).map(([t,n])=>[t,_0(n,t)])),un=Oe([String,Object,Function]),bQ={Close:Xd},F7={Close:Xd,SuccessFilled:$7,InfoFilled:k7,WarningFilled:N7,CircleCloseFilled:L7},Yg={success:$7,warning:N7,error:L7,info:k7},_Q={validating:b0,success:VZ,error:sC},At=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},wQ=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),SQ=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Ln=e=>(e.install=Tn,e),lC=(...e)=>t=>{e.forEach(n=>{Ne(n)?n(t):n.value=t})},lt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},jt="update:modelValue",ds="change",N_="input",Oa=["","default","small","large"],CQ={large:40,default:32,small:24},xQ=e=>CQ[e||"default"],z7=e=>["",...Oa].includes(e);var ai=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(ai||{});function B_(e){return Cn(e)&&e.type===Ye}function TQ(e){return Cn(e)&&e.type===En}function EQ(e){return Cn(e)&&!B_(e)&&!TQ(e)}const AQ=e=>{if(!Cn(e))return{};const t=e.props||{},n=(Cn(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(i=>{ct(n[i],"default")&&(r[i]=n[i].default)}),Object.keys(t).forEach(i=>{r[Zn(i)]=t[i]}),r},Ju=e=>{const t=Ee(e)?e:[e],n=[];return t.forEach(r=>{var i;Ee(r)?n.push(...Ju(r)):Cn(r)&&Ee(r.children)?n.push(...Ju(r.children)):(n.push(r),Cn(r)&&((i=r.component)!=null&&i.subTree)&&n.push(...Ju(r.component.subTree)))}),n},V7=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),H7=()=>Math.floor(Math.random()*1e4),Ur=e=>e,MQ=["class","style"],IQ=/^on[A-Z]/,OQ=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=P(()=>((n==null?void 0:n.value)||[]).concat(MQ)),i=Ze();return P(i?()=>{var a;return qg(Object.entries((a=i.proxy)==null?void 0:a.$attrs).filter(([o])=>!r.value.includes(o)&&!(t&&IQ.test(o))))}:()=>({}))},Bl=({from:e,replacement:t,scope:n,version:r,ref:i,type:a="API"},o)=>{ce(()=>x(o),s=>{},{immediate:!0})},PQ=(e,t,n)=>{let r={offsetX:0,offsetY:0};const i=s=>{const l=s.clientX,u=s.clientY,{offsetX:c,offsetY:f}=r,d=e.value.getBoundingClientRect(),h=d.left,p=d.top,v=d.width,m=d.height,g=document.documentElement.clientWidth,y=document.documentElement.clientHeight,_=-h+c,b=-p+f,S=g-h-v+c,w=y-p-m+f,C=E=>{const M=Math.min(Math.max(c+E.clientX-l,_),S),A=Math.min(Math.max(f+E.clientY-u,b),w);r={offsetX:M,offsetY:A},e.value.style.transform=`translate(${Jn(M)}, ${Jn(A)})`},T=()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",T)};document.addEventListener("mousemove",C),document.addEventListener("mouseup",T)},a=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",i)},o=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",i)};dt(()=>{hi(()=>{n.value?a():o()})}),cn(()=>{o()})},RQ=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}});var DQ={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const LQ=e=>(t,n)=>kQ(t,n,x(e)),kQ=(e,t,n)=>Kn(n,e,e).replace(/\{(\w+)\}/g,(r,i)=>{var a;return`${(a=t==null?void 0:t[i])!=null?a:`{${i}}`}`}),$Q=e=>{const t=P(()=>x(e).name),n=It(e)?e:N(e);return{lang:t,locale:n,t:LQ(e)}},W7=Symbol("localeContextKey"),Hn=e=>{const t=e||Se(W7,N());return $Q(P(()=>t.value||DQ))},Zg="el",NQ="is-",Cs=(e,t,n,r,i)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),r&&(a+=`__${r}`),i&&(a+=`--${i}`),a},U7=Symbol("namespaceContextKey"),uC=e=>{const t=e||Se(U7,N(Zg));return P(()=>x(t)||Zg)},we=(e,t)=>{const n=uC(t);return{namespace:n,b:(v="")=>Cs(n.value,e,v,"",""),e:v=>v?Cs(n.value,e,"",v,""):"",m:v=>v?Cs(n.value,e,"","",v):"",be:(v,m)=>v&&m?Cs(n.value,e,v,m,""):"",em:(v,m)=>v&&m?Cs(n.value,e,"",v,m):"",bm:(v,m)=>v&&m?Cs(n.value,e,v,"",m):"",bem:(v,m,g)=>v&&m&&g?Cs(n.value,e,v,m,g):"",is:(v,...m)=>{const g=m.length>=1?m[0]:!0;return v&&g?`${NQ}${v}`:""},cssVar:v=>{const m={};for(const g in v)v[g]&&(m[`--${n.value}-${g}`]=v[g]);return m},cssVarName:v=>`--${n.value}-${v}`,cssVarBlock:v=>{const m={};for(const g in v)v[g]&&(m[`--${n.value}-${e}-${g}`]=v[g]);return m},cssVarBlockName:v=>`--${n.value}-${e}-${v}`}},BQ=(e,t={})=>{It(e)||Lr("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||we("popup"),r=zO(()=>n.bm("parent","hidden"));if(!kt||vl(document.body,r.value))return;let i=0,a=!1,o="0";const s=()=>{setTimeout(()=>{Wi(document==null?void 0:document.body,r.value),a&&document&&(document.body.style.width=o)},200)};ce(e,l=>{if(!l){s();return}a=!vl(document.body,r.value),a&&(o=document.body.style.width),i=oZ(n.namespace.value);const u=document.documentElement.clientHeight<document.body.scrollHeight,c=qa(document.body,"overflowY");i>0&&(u||c==="scroll")&&a&&(document.body.style.width=`calc(100% - ${i}px)`),Ka(document.body,r.value)}),kh(()=>s())},FQ=_0({type:Oe(Boolean),default:null}),zQ=_0({type:Oe(Function)}),G7=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],i={[e]:FQ,[n]:zQ};return{useModelToggle:({indicator:o,toggleReason:s,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:c,onHide:f})=>{const d=Ze(),{emit:h}=d,p=d.props,v=P(()=>Ne(p[n])),m=P(()=>p[e]===null),g=C=>{o.value!==!0&&(o.value=!0,s&&(s.value=C),Ne(c)&&c(C))},y=C=>{o.value!==!1&&(o.value=!1,s&&(s.value=C),Ne(f)&&f(C))},_=C=>{if(p.disabled===!0||Ne(u)&&!u())return;const T=v.value&&kt;T&&h(t,!0),(m.value||!T)&&g(C)},b=C=>{if(p.disabled===!0||!kt)return;const T=v.value&&kt;T&&h(t,!1),(m.value||!T)&&y(C)},S=C=>{Xn(C)&&(p.disabled&&C?v.value&&h(t,!1):o.value!==C&&(C?g():y()))},w=()=>{o.value?b():_()};return ce(()=>p[e],S),l&&d.appContext.config.globalProperties.$route!==void 0&&ce(()=>({...d.proxy.$route}),()=>{l.value&&o.value&&b()}),dt(()=>{S(p[e])}),{hide:b,show:_,toggle:w,hasUpdateHandler:v}},useModelToggleProps:i,useModelToggleEmits:r}};G7("modelValue");const j7=e=>{const t=Ze();return P(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})};var Mr="top",mi="bottom",yi="right",Ir="left",cC="auto",Kh=[Mr,mi,yi,Ir],mc="start",Qd="end",VQ="clippingParents",q7="viewport",uf="popper",HQ="reference",GT=Kh.reduce(function(e,t){return e.concat([t+"-"+mc,t+"-"+Qd])},[]),w0=[].concat(Kh,[cC]).reduce(function(e,t){return e.concat([t,t+"-"+mc,t+"-"+Qd])},[]),WQ="beforeRead",UQ="read",GQ="afterRead",jQ="beforeMain",qQ="main",KQ="afterMain",YQ="beforeWrite",ZQ="write",XQ="afterWrite",QQ=[WQ,UQ,GQ,jQ,qQ,KQ,YQ,ZQ,XQ];function Ea(e){return e?(e.nodeName||"").toLowerCase():null}function ea(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function yc(e){var t=ea(e).Element;return e instanceof t||e instanceof Element}function pi(e){var t=ea(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function fC(e){if(typeof ShadowRoot>"u")return!1;var t=ea(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function JQ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!pi(a)||!Ea(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function eJ(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(l,u){return l[u]="",l},{});!pi(i)||!Ea(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}var K7={name:"applyStyles",enabled:!0,phase:"write",fn:JQ,effect:eJ,requires:["computeStyles"]};function Ca(e){return e.split("-")[0]}var gl=Math.max,Xg=Math.min,bc=Math.round;function _c(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(pi(e)&&t){var a=e.offsetHeight,o=e.offsetWidth;o>0&&(r=bc(n.width)/o||1),a>0&&(i=bc(n.height)/a||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function dC(e){var t=_c(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Y7(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fC(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function no(e){return ea(e).getComputedStyle(e)}function tJ(e){return["table","td","th"].indexOf(Ea(e))>=0}function vs(e){return((yc(e)?e.ownerDocument:e.document)||window.document).documentElement}function S0(e){return Ea(e)==="html"?e:e.assignedSlot||e.parentNode||(fC(e)?e.host:null)||vs(e)}function jT(e){return!pi(e)||no(e).position==="fixed"?null:e.offsetParent}function nJ(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&pi(e)){var r=no(e);if(r.position==="fixed")return null}var i=S0(e);for(fC(i)&&(i=i.host);pi(i)&&["html","body"].indexOf(Ea(i))<0;){var a=no(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Yh(e){for(var t=ea(e),n=jT(e);n&&tJ(n)&&no(n).position==="static";)n=jT(n);return n&&(Ea(n)==="html"||Ea(n)==="body"&&no(n).position==="static")?t:n||nJ(e)||t}function hC(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function id(e,t,n){return gl(e,Xg(t,n))}function rJ(e,t,n){var r=id(e,t,n);return r>n?n:r}function Z7(){return{top:0,right:0,bottom:0,left:0}}function X7(e){return Object.assign({},Z7(),e)}function Q7(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var iJ=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,X7(typeof e!="number"?e:Q7(e,Kh))};function aJ(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Ca(n.placement),l=hC(s),u=[Ir,yi].indexOf(s)>=0,c=u?"height":"width";if(!(!a||!o)){var f=iJ(i.padding,n),d=dC(a),h=l==="y"?Mr:Ir,p=l==="y"?mi:yi,v=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],g=Yh(a),y=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,_=v/2-m/2,b=f[h],S=y-d[c]-f[p],w=y/2-d[c]/2+_,C=id(b,w,S),T=l;n.modifiersData[r]=(t={},t[T]=C,t.centerOffset=C-w,t)}}function oJ(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!Y7(t.elements.popper,i)||(t.elements.arrow=i))}var sJ={name:"arrow",enabled:!0,phase:"main",fn:aJ,effect:oJ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wc(e){return e.split("-")[1]}var lJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uJ(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:bc(t*i)/i||0,y:bc(n*i)/i||0}}function qT(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,p=o.y,v=p===void 0?0:p,m=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=m.x,v=m.y;var g=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),_=Ir,b=Mr,S=window;if(u){var w=Yh(n),C="clientHeight",T="clientWidth";if(w===ea(n)&&(w=vs(n),no(w).position!=="static"&&s==="absolute"&&(C="scrollHeight",T="scrollWidth")),w=w,i===Mr||(i===Ir||i===yi)&&a===Qd){b=mi;var E=f&&w===S&&S.visualViewport?S.visualViewport.height:w[C];v-=E-r.height,v*=l?1:-1}if(i===Ir||(i===Mr||i===mi)&&a===Qd){_=yi;var M=f&&w===S&&S.visualViewport?S.visualViewport.width:w[T];h-=M-r.width,h*=l?1:-1}}var A=Object.assign({position:s},u&&lJ),I=c===!0?uJ({x:h,y:v}):{x:h,y:v};if(h=I.x,v=I.y,l){var O;return Object.assign({},A,(O={},O[b]=y?"0":"",O[_]=g?"0":"",O.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",O))}return Object.assign({},A,(t={},t[b]=y?v+"px":"",t[_]=g?h+"px":"",t.transform="",t))}function cJ(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Ca(t.placement),variation:wc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,qT(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,qT(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var J7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cJ,data:{}},Np={passive:!0};function fJ(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,l=ea(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",n.update,Np)}),s&&l.addEventListener("resize",n.update,Np),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Np)}),s&&l.removeEventListener("resize",n.update,Np)}}var eR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fJ,data:{}},dJ={left:"right",right:"left",bottom:"top",top:"bottom"};function Qv(e){return e.replace(/left|right|bottom|top/g,function(t){return dJ[t]})}var hJ={start:"end",end:"start"};function KT(e){return e.replace(/start|end/g,function(t){return hJ[t]})}function pC(e){var t=ea(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function vC(e){return _c(vs(e)).left+pC(e).scrollLeft}function pJ(e){var t=ea(e),n=vs(e),r=t.visualViewport,i=n.clientWidth,a=n.clientHeight,o=0,s=0;return r&&(i=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,s=r.offsetTop)),{width:i,height:a,x:o+vC(e),y:s}}function vJ(e){var t,n=vs(e),r=pC(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=gl(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=gl(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+vC(e),l=-r.scrollTop;return no(i||n).direction==="rtl"&&(s+=gl(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function gC(e){var t=no(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function tR(e){return["html","body","#document"].indexOf(Ea(e))>=0?e.ownerDocument.body:pi(e)&&gC(e)?e:tR(S0(e))}function ad(e,t){var n;t===void 0&&(t=[]);var r=tR(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=ea(r),o=i?[a].concat(a.visualViewport||[],gC(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(ad(S0(o)))}function F_(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gJ(e){var t=_c(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function YT(e,t){return t===q7?F_(pJ(e)):yc(t)?gJ(t):F_(vJ(vs(e)))}function mJ(e){var t=ad(S0(e)),n=["absolute","fixed"].indexOf(no(e).position)>=0,r=n&&pi(e)?Yh(e):e;return yc(r)?t.filter(function(i){return yc(i)&&Y7(i,r)&&Ea(i)!=="body"}):[]}function yJ(e,t,n){var r=t==="clippingParents"?mJ(e):[].concat(t),i=[].concat(r,[n]),a=i[0],o=i.reduce(function(s,l){var u=YT(e,l);return s.top=gl(u.top,s.top),s.right=Xg(u.right,s.right),s.bottom=Xg(u.bottom,s.bottom),s.left=gl(u.left,s.left),s},YT(e,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function nR(e){var t=e.reference,n=e.element,r=e.placement,i=r?Ca(r):null,a=r?wc(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Mr:l={x:o,y:t.y-n.height};break;case mi:l={x:o,y:t.y+t.height};break;case yi:l={x:t.x+t.width,y:s};break;case Ir:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?hC(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case mc:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Qd:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function Jd(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.boundary,o=a===void 0?VQ:a,s=n.rootBoundary,l=s===void 0?q7:s,u=n.elementContext,c=u===void 0?uf:u,f=n.altBoundary,d=f===void 0?!1:f,h=n.padding,p=h===void 0?0:h,v=X7(typeof p!="number"?p:Q7(p,Kh)),m=c===uf?HQ:uf,g=e.rects.popper,y=e.elements[d?m:c],_=yJ(yc(y)?y:y.contextElement||vs(e.elements.popper),o,l),b=_c(e.elements.reference),S=nR({reference:b,element:g,strategy:"absolute",placement:i}),w=F_(Object.assign({},g,S)),C=c===uf?w:b,T={top:_.top-C.top+v.top,bottom:C.bottom-_.bottom+v.bottom,left:_.left-C.left+v.left,right:C.right-_.right+v.right},E=e.modifiersData.offset;if(c===uf&&E){var M=E[i];Object.keys(T).forEach(function(A){var I=[yi,mi].indexOf(A)>=0?1:-1,O=[Mr,mi].indexOf(A)>=0?"y":"x";T[A]+=M[O]*I})}return T}function bJ(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?w0:l,c=wc(r),f=c?s?GT:GT.filter(function(p){return wc(p)===c}):Kh,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=Jd(e,{placement:v,boundary:i,rootBoundary:a,padding:o})[Ca(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function _J(e){if(Ca(e)===cC)return[];var t=Qv(e);return[KT(e),t,KT(t)]}function wJ(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,v=n.allowedAutoPlacements,m=t.options.placement,g=Ca(m),y=g===m,_=l||(y||!p?[Qv(m)]:_J(m)),b=[m].concat(_).reduce(function(Ae,Ve){return Ae.concat(Ca(Ve)===cC?bJ(t,{placement:Ve,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):Ve)},[]),S=t.rects.reference,w=t.rects.popper,C=new Map,T=!0,E=b[0],M=0;M<b.length;M++){var A=b[M],I=Ca(A),O=wc(A)===mc,D=[Mr,mi].indexOf(I)>=0,F=D?"width":"height",k=Jd(t,{placement:A,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),H=D?O?yi:Ir:O?mi:Mr;S[F]>w[F]&&(H=Qv(H));var V=Qv(H),z=[];if(a&&z.push(k[I]<=0),s&&z.push(k[H]<=0,k[V]<=0),z.every(function(Ae){return Ae})){E=A,T=!1;break}C.set(A,z)}if(T)for(var q=p?3:1,ae=function(Ae){var Ve=b.find(function(De){var W=C.get(De);if(W)return W.slice(0,Ae).every(function(Z){return Z})});if(Ve)return E=Ve,"break"},oe=q;oe>0;oe--){var xe=ae(oe);if(xe==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}var SJ={name:"flip",enabled:!0,phase:"main",fn:wJ,requiresIfExists:["offset"],data:{_skip:!1}};function ZT(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function XT(e){return[Mr,yi,mi,Ir].some(function(t){return e[t]>=0})}function CJ(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Jd(t,{elementContext:"reference"}),s=Jd(t,{altBoundary:!0}),l=ZT(o,r),u=ZT(s,i,a),c=XT(l),f=XT(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var xJ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:CJ};function TJ(e,t,n){var r=Ca(e),i=[Ir,Mr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Ir,yi].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function EJ(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=w0.reduce(function(c,f){return c[f]=TJ(f,t.rects,a),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var AJ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:EJ};function MJ(e){var t=e.state,n=e.name;t.modifiersData[n]=nR({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var rR={name:"popperOffsets",enabled:!0,phase:"read",fn:MJ,data:{}};function IJ(e){return e==="x"?"y":"x"}function OJ(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,m=Jd(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),g=Ca(t.placement),y=wc(t.placement),_=!y,b=hC(g),S=IJ(b),w=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,M=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(w){if(a){var O,D=b==="y"?Mr:Ir,F=b==="y"?mi:yi,k=b==="y"?"height":"width",H=w[b],V=H+m[D],z=H-m[F],q=h?-T[k]/2:0,ae=y===mc?C[k]:T[k],oe=y===mc?-T[k]:-C[k],xe=t.elements.arrow,Ae=h&&xe?dC(xe):{width:0,height:0},Ve=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z7(),De=Ve[D],W=Ve[F],Z=id(0,C[k],Ae[k]),J=_?C[k]/2-q-Z-De-M.mainAxis:ae-Z-De-M.mainAxis,ue=_?-C[k]/2+q+Z+W+M.mainAxis:oe+Z+W+M.mainAxis,pe=t.elements.arrow&&Yh(t.elements.arrow),L=pe?b==="y"?pe.clientTop||0:pe.clientLeft||0:0,B=(O=A==null?void 0:A[b])!=null?O:0,G=H+J-B-L,Q=H+ue-B,te=id(h?Xg(V,G):V,H,h?gl(z,Q):z);w[b]=te,I[b]=te-H}if(s){var se,Te=b==="x"?Mr:Ir,he=b==="x"?mi:yi,ye=w[S],le=S==="y"?"height":"width",Le=ye+m[Te],Me=ye-m[he],X=[Mr,Ir].indexOf(g)!==-1,Ie=(se=A==null?void 0:A[S])!=null?se:0,We=X?Le:ye-C[le]-T[le]-Ie+M.altAxis,ht=X?ye+C[le]+T[le]-Ie-M.altAxis:Me,pt=h&&X?rJ(We,ye,ht):id(h?We:Le,ye,h?ht:Me);w[S]=pt,I[S]=pt-ye}t.modifiersData[r]=I}}var PJ={name:"preventOverflow",enabled:!0,phase:"main",fn:OJ,requiresIfExists:["offset"]};function RJ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function DJ(e){return e===ea(e)||!pi(e)?pC(e):RJ(e)}function LJ(e){var t=e.getBoundingClientRect(),n=bc(t.width)/e.offsetWidth||1,r=bc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function kJ(e,t,n){n===void 0&&(n=!1);var r=pi(t),i=pi(t)&&LJ(t),a=vs(t),o=_c(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ea(t)!=="body"||gC(a))&&(s=DJ(t)),pi(t)?(l=_c(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=vC(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function $J(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function NJ(e){var t=$J(e);return QQ.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function BJ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function FJ(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var QT={placement:"bottom",modifiers:[],strategy:"absolute"};function JT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function mC(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?QT:i;return function(o,s,l){l===void 0&&(l=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},QT,a),modifiersData:{},elements:{reference:o,popper:s},attributes:{},styles:{}},c=[],f=!1,d={state:u,setOptions:function(v){var m=typeof v=="function"?v(u.options):v;p(),u.options=Object.assign({},a,u.options,m),u.scrollParents={reference:yc(o)?ad(o):o.contextElement?ad(o.contextElement):[],popper:ad(s)};var g=NJ(FJ([].concat(r,u.options.modifiers)));return u.orderedModifiers=g.filter(function(y){return y.enabled}),h(),d.update()},forceUpdate:function(){if(!f){var v=u.elements,m=v.reference,g=v.popper;if(JT(m,g)){u.rects={reference:kJ(m,Yh(g),u.options.strategy==="fixed"),popper:dC(g)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var y=0;y<u.orderedModifiers.length;y++){if(u.reset===!0){u.reset=!1,y=-1;continue}var _=u.orderedModifiers[y],b=_.fn,S=_.options,w=S===void 0?{}:S,C=_.name;typeof b=="function"&&(u=b({state:u,options:w,name:C,instance:d})||u)}}}},update:BJ(function(){return new Promise(function(v){d.forceUpdate(),v(u)})}),destroy:function(){p(),f=!0}};if(!JT(o,s))return d;d.setOptions(l).then(function(v){!f&&l.onFirstUpdate&&l.onFirstUpdate(v)});function h(){u.orderedModifiers.forEach(function(v){var m=v.name,g=v.options,y=g===void 0?{}:g,_=v.effect;if(typeof _=="function"){var b=_({state:u,name:m,instance:d,options:y}),S=function(){};c.push(b||S)}})}function p(){c.forEach(function(v){return v()}),c=[]}return d}}mC();var zJ=[eR,rR,J7,K7];mC({defaultModifiers:zJ});var VJ=[eR,rR,J7,K7,AJ,SJ,PJ,sJ,xJ],iR=mC({defaultModifiers:VJ});const HJ=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=WJ(l);Object.assign(o.value,u)},requires:["computeStyles"]},i=P(()=>{const{onFirstUpdate:l,placement:u,strategy:c,modifiers:f}=x(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),a=di(),o=N({styles:{popper:{position:x(i).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return ce(i,l=>{const u=x(a);u&&u.setOptions(l)},{deep:!0}),ce([e,t],([l,u])=>{s(),!(!l||!u)&&(a.value=iR(l,u,x(i)))}),cn(()=>{s()}),{state:P(()=>{var l;return{...((l=x(a))==null?void 0:l.state)||{}}}),styles:P(()=>x(o).styles),attributes:P(()=>x(o).attributes),update:()=>{var l;return(l=x(a))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=x(a))==null?void 0:l.forceUpdate()},instanceRef:P(()=>x(a))}};function WJ(e){const t=Object.keys(e.elements),n=qg(t.map(i=>[i,e.styles[i]||{}])),r=qg(t.map(i=>[i,e.attributes[i]]));return{styles:n,attributes:r}}const aR=e=>{if(!e)return{onClick:Tn,onMousedown:Tn,onMouseup:Tn};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{n=o.target===o.currentTarget}}};function e8(){let e;const t=(r,i)=>{n(),e=window.setTimeout(r,i)},n=()=>window.clearTimeout(e);return c0(()=>n()),{registerTimeout:t,cancelTimeout:n}}const t8={prefix:Math.floor(Math.random()*1e4),current:0},UJ=Symbol("elIdInjection"),oR=()=>Ze()?Se(UJ,t8):t8,ro=e=>{const t=oR(),n=uC();return P(()=>x(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Nu=[];const n8=e=>{const t=e;t.key===lt.esc&&Nu.forEach(n=>n(t))},GJ=e=>{dt(()=>{Nu.length===0&&document.addEventListener("keydown",n8),kt&&Nu.push(e)}),cn(()=>{Nu=Nu.filter(t=>t!==e),Nu.length===0&&kt&&document.removeEventListener("keydown",n8)})};let r8;const sR=()=>{const e=uC(),t=oR(),n=P(()=>`${e.value}-popper-container-${t.prefix}`),r=P(()=>`#${n.value}`);return{id:n,selector:r}},jJ=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},qJ=()=>{const{id:e,selector:t}=sR();return zh(()=>{kt&&!r8&&!document.body.querySelector(t.value)&&(r8=jJ(e.value))}),{id:e,selector:t}},KJ=$e({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),lR=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:i})=>{const{registerTimeout:a}=e8(),{registerTimeout:o,cancelTimeout:s}=e8();return{onOpen:c=>{a(()=>{r(c);const f=x(n);gt(f)&&f>0&&o(()=>{i(c)},f)},x(e))},onClose:c=>{s(),a(()=>{i(c)},x(t))}}},uR=Symbol("elForwardRef"),YJ=e=>{_t(uR,{setForwardRef:n=>{e.value=n}})},ZJ=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),i8=N(0),cR=2e3,fR=Symbol("zIndexContextKey"),C0=e=>{const t=e||Se(fR,void 0),n=P(()=>{const a=x(t);return gt(a)?a:cR}),r=P(()=>n.value+i8.value);return{initialZIndex:n,currentZIndex:r,nextZIndex:()=>(i8.value++,r.value)}};function XJ(e){const t=N();function n(){if(e.value==null)return;const{selectionStart:i,selectionEnd:a,value:o}=e.value;if(i==null||a==null)return;const s=o.slice(0,Math.max(0,i)),l=o.slice(Math.max(0,a));t.value={selectionStart:i,selectionEnd:a,value:o,beforeTxt:s,afterTxt:l}}function r(){if(e.value==null||t.value==null)return;const{value:i}=e.value,{beforeTxt:a,afterTxt:o,selectionStart:s}=t.value;if(a==null||o==null||s==null)return;let l=i.length;if(i.endsWith(o))l=i.length-o.length;else if(i.startsWith(a))l=a.length;else{const u=a[s-1],c=i.indexOf(u,s-1);c!==-1&&(l=c+1)}e.value.setSelectionRange(l,l)}return[n,r]}const QJ=(e,t,n)=>Ju(e.subTree).filter(a=>{var o;return Cn(a)&&((o=a.type)==null?void 0:o.name)===t&&!!a.component}).map(a=>a.component.uid).map(a=>n[a]).filter(a=>!!a),JJ=(e,t)=>{const n={},r=di([]);return{children:r,addChild:o=>{n[o.uid]=o,r.value=QJ(e,t,n)},removeChild:o=>{delete n[o],r.value=r.value.filter(s=>s.uid!==o)}}},fo=_0({type:String,values:Oa,required:!1}),dR=Symbol("size"),eee=()=>{const e=Se(dR,{});return P(()=>x(e.size)||"")},hR=Symbol(),Qg=N();function x0(e,t=void 0){const n=Ze()?Se(hR,Qg):Qg;return e?P(()=>{var r,i;return(i=(r=n.value)==null?void 0:r[e])!=null?i:t}):n}function pR(e,t){const n=x0(),r=we(e,P(()=>{var s;return((s=n.value)==null?void 0:s.namespace)||Zg})),i=Hn(P(()=>{var s;return(s=n.value)==null?void 0:s.locale})),a=C0(P(()=>{var s;return((s=n.value)==null?void 0:s.zIndex)||cR})),o=P(()=>{var s;return x(t)||((s=n.value)==null?void 0:s.size)||""});return vR(P(()=>x(n)||{})),{ns:r,locale:i,zIndex:a,size:o}}const vR=(e,t,n=!1)=>{var r;const i=!!Ze(),a=i?x0():void 0,o=(r=t==null?void 0:t.provide)!=null?r:i?_t:void 0;if(!o)return;const s=P(()=>{const l=x(e);return a!=null&&a.value?tee(a.value,l):l});return o(hR,s),o(W7,P(()=>s.value.locale)),o(U7,P(()=>s.value.namespace)),o(fR,P(()=>s.value.zIndex)),o(dR,{size:P(()=>s.value.size||"")}),(n||!Qg.value)&&(Qg.value=s.value),s},tee=(e,t)=>{var n;const r=[...new Set([...$_(e),...$_(t)])],i={};for(const a of r)i[a]=(n=t[a])!=null?n:e[a];return i},nee=$e({a11y:{type:Boolean,default:!0},locale:{type:Oe(Object)},size:fo,button:{type:Oe(Object)},experimentalFeatures:{type:Oe(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Oe(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),z_={},ree=j({name:"ElConfigProvider",props:nee,setup(e,{slots:t}){ce(()=>e.message,r=>{Object.assign(z_,r??{})},{immediate:!0,deep:!0});const n=vR(e);return()=>ge(t,"default",{config:n==null?void 0:n.value})}}),a8=At(ree);var Re=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const iee=$e({size:{type:Oe([Number,String])},color:{type:String}}),aee=j({name:"ElIcon",inheritAttrs:!1}),oee=j({...aee,props:iee,setup(e){const t=e,n=we("icon"),r=P(()=>{const{size:i,color:a}=t;return!i&&!a?{}:{fontSize:gc(i)?void 0:Jn(i),"--color":a}});return(i,a)=>($(),K("i",on({class:x(n).b(),style:x(r)},i.$attrs),[ge(i.$slots,"default")],16))}});var see=Re(oee,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const yt=At(see),lee=["light","dark"],uee=$e({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:$_(Yg),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:lee,default:"light"}}),cee={close:e=>e instanceof MouseEvent},fee=j({name:"ElAlert"}),dee=j({...fee,props:uee,emits:cee,setup(e,{emit:t}){const n=e,{Close:r}=F7,i=Qi(),a=we("alert"),o=N(!0),s=P(()=>Yg[n.type]),l=P(()=>[a.e("icon"),{[a.is("big")]:!!n.description||!!i.default}]),u=P(()=>({[a.is("bold")]:n.description||i.default})),c=f=>{o.value=!1,t("close",f)};return(f,d)=>($(),de(Qn,{name:x(a).b("fade"),persisted:""},{default:re(()=>[Wt(ee("div",{class:U([x(a).b(),x(a).m(f.type),x(a).is("center",f.center),x(a).is(f.effect)]),role:"alert"},[f.showIcon&&x(s)?($(),de(x(yt),{key:0,class:U(x(l))},{default:re(()=>[($(),de(Rt(x(s))))]),_:1},8,["class"])):_e("v-if",!0),ee("div",{class:U(x(a).e("content"))},[f.title||f.$slots.title?($(),K("span",{key:0,class:U([x(a).e("title"),x(u)])},[ge(f.$slots,"title",{},()=>[an(Ue(f.title),1)])],2)):_e("v-if",!0),f.$slots.default||f.description?($(),K("p",{key:1,class:U(x(a).e("description"))},[ge(f.$slots,"default",{},()=>[an(Ue(f.description),1)])],2)):_e("v-if",!0),f.closable?($(),K(Ye,{key:2},[f.closeText?($(),K("div",{key:0,class:U([x(a).e("close-btn"),x(a).is("customed")]),onClick:c},Ue(f.closeText),3)):($(),de(x(yt),{key:1,class:U(x(a).e("close-btn")),onClick:c},{default:re(()=>[ie(x(r))]),_:1},8,["class"]))],64)):_e("v-if",!0)],2)],2),[[Dn,o.value]])]),_:3},8,["name"]))}});var hee=Re(dee,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const pee=At(hee),Wc=Symbol("formContextKey"),Fl=Symbol("formItemContextKey"),kr=(e,t={})=>{const n=N(void 0),r=t.prop?n:j7("size"),i=t.global?n:eee(),a=t.form?{size:void 0}:Se(Wc,void 0),o=t.formItem?{size:void 0}:Se(Fl,void 0);return P(()=>r.value||x(e)||(o==null?void 0:o.size)||(a==null?void 0:a.size)||i.value||"")},Uc=e=>{const t=j7("disabled"),n=Se(Wc,void 0);return P(()=>t.value||x(e)||(n==null?void 0:n.disabled)||!1)},gs=()=>{const e=Se(Wc,void 0),t=Se(Fl,void 0);return{form:e,formItem:t}},Zh=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=N(!1)),r||(r=N(!1));const i=N();let a;const o=P(()=>{var s;return!!(!e.label&&t&&t.inputIds&&((s=t.inputIds)==null?void 0:s.length)<=1)});return dt(()=>{a=ce([pn(e,"id"),n],([s,l])=>{const u=s??(l?void 0:ro().value);u!==i.value&&(t!=null&&t.removeInputId&&(i.value&&t.removeInputId(i.value),!(r!=null&&r.value)&&!l&&u&&t.addInputId(u)),i.value=u)},{immediate:!0})}),Ia(()=>{a&&a(),t!=null&&t.removeInputId&&i.value&&t.removeInputId(i.value)}),{isLabeledByFormItem:o,inputId:i}},vee=$e({size:{type:String,values:Oa},disabled:Boolean}),gee=$e({...vee,model:Object,rules:{type:Oe(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),mee={validate:(e,t,n)=>(Ee(e)||Ge(e))&&Xn(t)&&Ge(n)};function yee(){const e=N([]),t=P(()=>{if(!e.value.length)return"0";const a=Math.max(...e.value);return a?`${a}px`:""});function n(a){const o=e.value.indexOf(a);return o===-1&&t.value,o}function r(a,o){if(a&&o){const s=n(o);e.value.splice(s,1,a)}else a&&e.value.push(a)}function i(a){const o=n(a);o>-1&&e.value.splice(o,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:i}}const Bp=(e,t)=>{const n=Yd(t);return n.length>0?e.filter(r=>r.prop&&n.includes(r.prop)):e},bee="ElForm",_ee=j({name:bee}),wee=j({..._ee,props:gee,emits:mee,setup(e,{expose:t,emit:n}){const r=e,i=[],a=kr(),o=we("form"),s=P(()=>{const{labelPosition:y,inline:_}=r;return[o.b(),o.m(a.value||"default"),{[o.m(`label-${y}`)]:y,[o.m("inline")]:_}]}),l=y=>{i.push(y)},u=y=>{y.prop&&i.splice(i.indexOf(y),1)},c=(y=[])=>{r.model&&Bp(i,y).forEach(_=>_.resetField())},f=(y=[])=>{Bp(i,y).forEach(_=>_.clearValidate())},d=P(()=>!!r.model),h=y=>{if(i.length===0)return[];const _=Bp(i,y);return _.length?_:[]},p=async y=>m(void 0,y),v=async(y=[])=>{if(!d.value)return!1;const _=h(y);if(_.length===0)return!0;let b={};for(const S of _)try{await S.validate("")}catch(w){b={...b,...w}}return Object.keys(b).length===0?!0:Promise.reject(b)},m=async(y=[],_)=>{const b=!Ne(_);try{const S=await v(y);return S===!0&&(_==null||_(S)),S}catch(S){if(S instanceof Error)throw S;const w=S;return r.scrollToError&&g(Object.keys(w)[0]),_==null||_(!1,w),b&&Promise.reject(w)}},g=y=>{var _;const b=Bp(i,y)[0];b&&((_=b.$el)==null||_.scrollIntoView(r.scrollIntoViewOptions))};return ce(()=>r.rules,()=>{r.validateOnRuleChange&&p().catch(y=>void 0)},{deep:!0}),_t(Wc,Qt({...Ci(r),emit:n,resetFields:c,clearValidate:f,validateField:m,addField:l,removeField:u,...yee()})),t({validate:p,validateField:m,resetFields:c,clearValidate:f,scrollToField:g}),(y,_)=>($(),K("form",{class:U(x(s))},[ge(y.$slots,"default")],2))}});var See=Re(wee,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},il.apply(this,arguments)}function Cee(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eh(e,t)}function V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},V_(e)}function eh(e,t){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},eh(e,t)}function xee(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Jv(e,t,n){return xee()?Jv=Reflect.construct.bind():Jv=function(i,a,o){var s=[null];s.push.apply(s,a);var l=Function.bind.apply(i,s),u=new l;return o&&eh(u,o.prototype),u},Jv.apply(null,arguments)}function Tee(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function H_(e){var t=typeof Map=="function"?new Map:void 0;return H_=function(r){if(r===null||!Tee(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Jv(r,arguments,V_(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),eh(i,r)},H_(e)}var Eee=/%[sdj%]/g,Aee=function(){};typeof process<"u"&&process.env;function W_(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function jr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var o=e.replace(Eee,function(s){if(s==="%%")return"%";if(i>=a)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function Mee(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function An(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Mee(t)&&typeof e=="string"&&!e)}function Iee(e,t,n){var r=[],i=0,a=e.length;function o(s){r.push.apply(r,s||[]),i++,i===a&&n(r)}e.forEach(function(s){t(s,o)})}function o8(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r=r+1,s<i?t(e[s],a):n([])}a([])}function Oee(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var s8=function(e){Cee(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(H_(Error));function Pee(e,t,n,r,i){if(t.first){var a=new Promise(function(d,h){var p=function(g){return r(g),g.length?h(new s8(g,W_(g))):d(i)},v=Oee(e);o8(v,n,p)});return a.catch(function(d){return d}),a}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,u=0,c=[],f=new Promise(function(d,h){var p=function(m){if(c.push.apply(c,m),u++,u===l)return r(c),c.length?h(new s8(c,W_(c))):d(i)};s.length||(r(c),d(i)),s.forEach(function(v){var m=e[v];o.indexOf(v)!==-1?o8(m,n,p):Iee(m,n,p)})});return f.catch(function(d){return d}),f}function Ree(e){return!!(e&&e.message!==void 0)}function Dee(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function l8(e,t){return function(n){var r;return e.fullFields?r=Dee(t,e.fullFields):r=t[n.field||e.fullField],Ree(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function u8(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=il({},e[n],r):e[n]=r}}return e}var gR=function(t,n,r,i,a,o){t.required&&(!r.hasOwnProperty(t.field)||An(n,o||t.type))&&i.push(jr(a.messages.required,t.fullField))},Lee=function(t,n,r,i,a){(/^\s+$/.test(n)||n==="")&&i.push(jr(a.messages.whitespace,t.fullField))},Fp,kee=function(){if(Fp)return Fp;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
(?:
(?:`+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(),a=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),o=new RegExp("^"+n+"$"),s=new RegExp("^"+i+"$"),l=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+n+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+i+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",g='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+h+p+v+")"+m+g;return Fp=new RegExp("(?:^"+y+"$)","i"),Fp},c8={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},Hf={integer:function(t){return Hf.number(t)&&parseInt(t,10)===t},float:function(t){return Hf.number(t)&&!Hf.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"&&!Hf.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(c8.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(kee())},hex:function(t){return typeof t=="string"&&!!t.match(c8.hex)}},$ee=function(t,n,r,i,a){if(t.required&&n===void 0){gR(t,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Hf[s](n)||i.push(jr(a.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&i.push(jr(a.messages.types[s],t.fullField,t.type))},Nee=function(t,n,r,i,a){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",h=typeof n=="string",p=Array.isArray(n);if(d?f="number":h?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),h&&(c=n.replace(u,"_").length),o?c!==t.len&&i.push(jr(a.messages[f].len,t.fullField,t.len)):s&&!l&&c<t.min?i.push(jr(a.messages[f].min,t.fullField,t.min)):l&&!s&&c>t.max?i.push(jr(a.messages[f].max,t.fullField,t.max)):s&&l&&(c<t.min||c>t.max)&&i.push(jr(a.messages[f].range,t.fullField,t.min,t.max))},fu="enum",Bee=function(t,n,r,i,a){t[fu]=Array.isArray(t[fu])?t[fu]:[],t[fu].indexOf(n)===-1&&i.push(jr(a.messages[fu],t.fullField,t[fu].join(", ")))},Fee=function(t,n,r,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(jr(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(jr(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},St={required:gR,whitespace:Lee,type:$ee,range:Nee,enum:Bee,pattern:Fee},zee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n,"string")&&!t.required)return r();St.required(t,n,i,o,a,"string"),An(n,"string")||(St.type(t,n,i,o,a),St.range(t,n,i,o,a),St.pattern(t,n,i,o,a),t.whitespace===!0&&St.whitespace(t,n,i,o,a))}r(o)},Vee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&St.type(t,n,i,o,a)}r(o)},Hee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&(St.type(t,n,i,o,a),St.range(t,n,i,o,a))}r(o)},Wee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&St.type(t,n,i,o,a)}r(o)},Uee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),An(n)||St.type(t,n,i,o,a)}r(o)},Gee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&(St.type(t,n,i,o,a),St.range(t,n,i,o,a))}r(o)},jee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&(St.type(t,n,i,o,a),St.range(t,n,i,o,a))}r(o)},qee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();St.required(t,n,i,o,a,"array"),n!=null&&(St.type(t,n,i,o,a),St.range(t,n,i,o,a))}r(o)},Kee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&St.type(t,n,i,o,a)}r(o)},Yee="enum",Zee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a),n!==void 0&&St[Yee](t,n,i,o,a)}r(o)},Xee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n,"string")&&!t.required)return r();St.required(t,n,i,o,a),An(n,"string")||St.pattern(t,n,i,o,a)}r(o)},Qee=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n,"date")&&!t.required)return r();if(St.required(t,n,i,o,a),!An(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),St.type(t,l,i,o,a),l&&St.range(t,l.getTime(),i,o,a)}}r(o)},Jee=function(t,n,r,i,a){var o=[],s=Array.isArray(n)?"array":typeof n;St.required(t,n,i,o,a,s),r(o)},jy=function(t,n,r,i,a){var o=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(An(n,o)&&!t.required)return r();St.required(t,n,i,s,a,o),An(n,o)||St.type(t,n,i,s,a)}r(s)},ete=function(t,n,r,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(An(n)&&!t.required)return r();St.required(t,n,i,o,a)}r(o)},od={string:zee,method:Vee,number:Hee,boolean:Wee,regexp:Uee,integer:Gee,float:jee,array:qee,object:Kee,enum:Zee,pattern:Xee,date:Qee,url:jy,hex:jy,email:jy,required:Jee,any:ete};function U_(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var G_=U_(),Xh=function(){function e(n){this.rules=null,this._messages=G_,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var o=r[a];i.rules[a]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=u8(U_(),r)),this._messages},t.validate=function(r,i,a){var o=this;i===void 0&&(i={}),a===void 0&&(a=function(){});var s=r,l=i,u=a;if(typeof l=="function"&&(u=l,l={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,s),Promise.resolve(s);function c(v){var m=[],g={};function y(b){if(Array.isArray(b)){var S;m=(S=m).concat.apply(S,b)}else m.push(b)}for(var _=0;_<v.length;_++)y(v[_]);m.length?(g=W_(m),u(m,g)):u(null,s)}if(l.messages){var f=this.messages();f===G_&&(f=U_()),u8(f,l.messages),l.messages=f}else l.messages=this.messages();var d={},h=l.keys||Object.keys(this.rules);h.forEach(function(v){var m=o.rules[v],g=s[v];m.forEach(function(y){var _=y;typeof _.transform=="function"&&(s===r&&(s=il({},s)),g=s[v]=_.transform(g)),typeof _=="function"?_={validator:_}:_=il({},_),_.validator=o.getValidationMethod(_),_.validator&&(_.field=v,_.fullField=_.fullField||v,_.type=o.getType(_),d[v]=d[v]||[],d[v].push({rule:_,value:g,source:s,field:v}))})});var p={};return Pee(d,l,function(v,m){var g=v.rule,y=(g.type==="object"||g.type==="array")&&(typeof g.fields=="object"||typeof g.defaultField=="object");y=y&&(g.required||!g.required&&v.value),g.field=v.field;function _(w,C){return il({},C,{fullField:g.fullField+"."+w,fullFields:g.fullFields?[].concat(g.fullFields,[w]):[w]})}function b(w){w===void 0&&(w=[]);var C=Array.isArray(w)?w:[w];!l.suppressWarning&&C.length&&e.warning("async-validator:",C),C.length&&g.message!==void 0&&(C=[].concat(g.message));var T=C.map(l8(g,s));if(l.first&&T.length)return p[g.field]=1,m(T);if(!y)m(T);else{if(g.required&&!v.value)return g.message!==void 0?T=[].concat(g.message).map(l8(g,s)):l.error&&(T=[l.error(g,jr(l.messages.required,g.field))]),m(T);var E={};g.defaultField&&Object.keys(v.value).map(function(I){E[I]=g.defaultField}),E=il({},E,v.rule.fields);var M={};Object.keys(E).forEach(function(I){var O=E[I],D=Array.isArray(O)?O:[O];M[I]=D.map(_.bind(null,I))});var A=new e(M);A.messages(l.messages),v.rule.options&&(v.rule.options.messages=l.messages,v.rule.options.error=l.error),A.validate(v.value,v.rule.options||l,function(I){var O=[];T&&T.length&&O.push.apply(O,T),I&&I.length&&O.push.apply(O,I),m(O.length?O:null)})}}var S;if(g.asyncValidator)S=g.asyncValidator(g,v.value,b,v.source,l);else if(g.validator){try{S=g.validator(g,v.value,b,v.source,l)}catch(w){console.error==null||console.error(w),l.suppressValidatorError||setTimeout(function(){throw w},0),b(w.message)}S===!0?b():S===!1?b(typeof g.message=="function"?g.message(g.fullField||g.field):g.message||(g.fullField||g.field)+" fails"):S instanceof Array?b(S):S instanceof Error&&b(S.message)}S&&S.then&&S.then(function(){return b()},function(w){return b(w)})},function(v){c(v)},s)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!od.hasOwnProperty(r.type))throw new Error(jr("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),a=i.indexOf("message");return a!==-1&&i.splice(a,1),i.length===1&&i[0]==="required"?od.required:od[this.getType(r)]||void 0},e}();Xh.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");od[t]=n};Xh.warning=Aee;Xh.messages=G_;Xh.validators=od;const tte=["","error","validating","success"],nte=$e({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:Oe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:Oe([Object,Array])},error:String,validateStatus:{type:String,values:tte},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:Oa}}),f8="ElLabelWrap";var rte=j({name:f8,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=Se(Wc,void 0),r=Se(Fl);r||Lr(f8,"usage: <el-form-item><label-wrap /></el-form-item>");const i=we("form"),a=N(),o=N(0),s=()=>{var c;if((c=a.value)!=null&&c.firstElementChild){const f=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},l=(c="update")=>{Ke(()=>{t.default&&e.isAutoWidth&&(c==="update"?o.value=s():c==="remove"&&(n==null||n.deregisterLabelWidth(o.value)))})},u=()=>l("update");return dt(()=>{u()}),cn(()=>{l("remove")}),lo(()=>u()),ce(o,(c,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(c,f))}),qi(P(()=>{var c,f;return(f=(c=a.value)==null?void 0:c.firstElementChild)!=null?f:null}),u),()=>{var c,f;if(!t)return null;const{isAutoWidth:d}=e;if(d){const h=n==null?void 0:n.autoLabelWidth,p=r==null?void 0:r.hasLabel,v={};if(p&&h&&h!=="auto"){const m=Math.max(0,Number.parseInt(h,10)-o.value),g=n.labelPosition==="left"?"marginRight":"marginLeft";m&&(v[g]=`${m}px`)}return ie("div",{ref:a,class:[i.be("item","label-wrap")],style:v},[(c=t.default)==null?void 0:c.call(t)])}else return ie(Ye,{ref:a},[(f=t.default)==null?void 0:f.call(t)])}}});const ite=["role","aria-labelledby"],ate=j({name:"ElFormItem"}),ote=j({...ate,props:nte,setup(e,{expose:t}){const n=e,r=Qi(),i=Se(Wc,void 0),a=Se(Fl,void 0),o=kr(void 0,{formItem:!1}),s=we("form-item"),l=ro().value,u=N([]),c=N(""),f=GW(c,100),d=N(""),h=N();let p,v=!1;const m=P(()=>{if((i==null?void 0:i.labelPosition)==="top")return{};const W=Jn(n.labelWidth||(i==null?void 0:i.labelWidth)||"");return W?{width:W}:{}}),g=P(()=>{if((i==null?void 0:i.labelPosition)==="top"||i!=null&&i.inline)return{};if(!n.label&&!n.labelWidth&&E)return{};const W=Jn(n.labelWidth||(i==null?void 0:i.labelWidth)||"");return!n.label&&!r.label?{marginLeft:W}:{}}),y=P(()=>[s.b(),s.m(o.value),s.is("error",c.value==="error"),s.is("validating",c.value==="validating"),s.is("success",c.value==="success"),s.is("required",D.value||n.required),s.is("no-asterisk",i==null?void 0:i.hideRequiredAsterisk),(i==null?void 0:i.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[s.m("feedback")]:i==null?void 0:i.statusIcon}]),_=P(()=>Xn(n.inlineMessage)?n.inlineMessage:(i==null?void 0:i.inlineMessage)||!1),b=P(()=>[s.e("error"),{[s.em("error","inline")]:_.value}]),S=P(()=>n.prop?Ge(n.prop)?n.prop:n.prop.join("."):""),w=P(()=>!!(n.label||r.label)),C=P(()=>n.for||u.value.length===1?u.value[0]:void 0),T=P(()=>!C.value&&w.value),E=!!a,M=P(()=>{const W=i==null?void 0:i.model;if(!(!W||!n.prop))return Xv(W,n.prop).value}),A=P(()=>{const{required:W}=n,Z=[];n.rules&&Z.push(...Yd(n.rules));const J=i==null?void 0:i.rules;if(J&&n.prop){const ue=Xv(J,n.prop).value;ue&&Z.push(...Yd(ue))}if(W!==void 0){const ue=Z.map((pe,L)=>[pe,L]).filter(([pe])=>Object.keys(pe).includes("required"));if(ue.length>0)for(const[pe,L]of ue)pe.required!==W&&(Z[L]={...pe,required:W});else Z.push({required:W})}return Z}),I=P(()=>A.value.length>0),O=W=>A.value.filter(J=>!J.trigger||!W?!0:Array.isArray(J.trigger)?J.trigger.includes(W):J.trigger===W).map(({trigger:J,...ue})=>ue),D=P(()=>A.value.some(W=>W.required)),F=P(()=>{var W;return f.value==="error"&&n.showMessage&&((W=i==null?void 0:i.showMessage)!=null?W:!0)}),k=P(()=>`${n.label||""}${(i==null?void 0:i.labelSuffix)||""}`),H=W=>{c.value=W},V=W=>{var Z,J;const{errors:ue,fields:pe}=W;(!ue||!pe)&&console.error(W),H("error"),d.value=ue?(J=(Z=ue==null?void 0:ue[0])==null?void 0:Z.message)!=null?J:`${n.prop} is required`:"",i==null||i.emit("validate",n.prop,!1,d.value)},z=()=>{H("success"),i==null||i.emit("validate",n.prop,!0,"")},q=async W=>{const Z=S.value;return new Xh({[Z]:W}).validate({[Z]:M.value},{firstFields:!0}).then(()=>(z(),!0)).catch(ue=>(V(ue),Promise.reject(ue)))},ae=async(W,Z)=>{if(v||!n.prop)return!1;const J=Ne(Z);if(!I.value)return Z==null||Z(!1),!1;const ue=O(W);return ue.length===0?(Z==null||Z(!0),!0):(H("validating"),q(ue).then(()=>(Z==null||Z(!0),!0)).catch(pe=>{const{fields:L}=pe;return Z==null||Z(!1,L),J?!1:Promise.reject(L)}))},oe=()=>{H(""),d.value="",v=!1},xe=async()=>{const W=i==null?void 0:i.model;if(!W||!n.prop)return;const Z=Xv(W,n.prop);v=!0,Z.value=BT(p),await Ke(),oe(),v=!1},Ae=W=>{u.value.includes(W)||u.value.push(W)},Ve=W=>{u.value=u.value.filter(Z=>Z!==W)};ce(()=>n.error,W=>{d.value=W||"",H(W?"error":"")},{immediate:!0}),ce(()=>n.validateStatus,W=>H(W||""));const De=Qt({...Ci(n),$el:h,size:o,validateState:c,labelId:l,inputIds:u,isGroup:T,hasLabel:w,addInputId:Ae,removeInputId:Ve,resetField:xe,clearValidate:oe,validate:ae});return _t(Fl,De),dt(()=>{n.prop&&(i==null||i.addField(De),p=BT(M.value))}),cn(()=>{i==null||i.removeField(De)}),t({size:o,validateMessage:d,validateState:c,validate:ae,clearValidate:oe,resetField:xe}),(W,Z)=>{var J;return $(),K("div",{ref_key:"formItemRef",ref:h,class:U(x(y)),role:x(T)?"group":void 0,"aria-labelledby":x(T)?x(l):void 0},[ie(x(rte),{"is-auto-width":x(m).width==="auto","update-all":((J=x(i))==null?void 0:J.labelWidth)==="auto"},{default:re(()=>[x(w)?($(),de(Rt(x(C)?"label":"div"),{key:0,id:x(l),for:x(C),class:U(x(s).e("label")),style:it(x(m))},{default:re(()=>[ge(W.$slots,"label",{label:x(k)},()=>[an(Ue(x(k)),1)])]),_:3},8,["id","for","class","style"])):_e("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),ee("div",{class:U(x(s).e("content")),style:it(x(g))},[ge(W.$slots,"default"),ie(WP,{name:`${x(s).namespace.value}-zoom-in-top`},{default:re(()=>[x(F)?ge(W.$slots,"error",{key:0,error:d.value},()=>[ee("div",{class:U(x(b))},Ue(d.value),3)]):_e("v-if",!0)]),_:3},8,["name"])],6)],10,ite)}}});var mR=Re(ote,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ste=At(See,{FormItem:mR}),lte=Ln(mR);let Ii;const ute=`
  height:0 !important;
  visibility:hidden !important;
  ${sU()?"":"overflow:hidden !important;"}
  position:absolute !important;
  z-index:-1000 !important;
  top:0 !important;
  right:0 !important;
`,cte=["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 fte(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),i=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:cte.map(o=>`${o}:${t.getPropertyValue(o)}`).join(";"),paddingSize:r,borderSize:i,boxSizing:n}}function d8(e,t=1,n){var r;Ii||(Ii=document.createElement("textarea"),document.body.appendChild(Ii));const{paddingSize:i,borderSize:a,boxSizing:o,contextStyle:s}=fte(e);Ii.setAttribute("style",`${s};${ute}`),Ii.value=e.value||e.placeholder||"";let l=Ii.scrollHeight;const u={};o==="border-box"?l=l+a:o==="content-box"&&(l=l-i),Ii.value="";const c=Ii.scrollHeight-i;if(gt(t)){let f=c*t;o==="border-box"&&(f=f+i+a),l=Math.max(f,l),u.minHeight=`${f}px`}if(gt(n)){let f=c*n;o==="border-box"&&(f=f+i+a),l=Math.min(f,l)}return u.height=`${l}px`,(r=Ii.parentNode)==null||r.removeChild(Ii),Ii=void 0,u}const dte=$e({id:{type:String,default:void 0},size:fo,disabled:Boolean,modelValue:{type:Oe([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Oe([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:un},prefixIcon:{type:un},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Oe([Object,Array,String]),default:()=>Ur({})}}),hte={[jt]:e=>Ge(e),input:e=>Ge(e),change:e=>Ge(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},pte=["role"],vte=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],gte=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],mte=j({name:"ElInput",inheritAttrs:!1}),yte=j({...mte,props:dte,emits:hte,setup(e,{expose:t,emit:n}){const r=e,i=uP(),a=Qi(),o=P(()=>{const X={};return r.containerRole==="combobox"&&(X["aria-haspopup"]=i["aria-haspopup"],X["aria-owns"]=i["aria-owns"],X["aria-expanded"]=i["aria-expanded"]),X}),s=P(()=>[r.type==="textarea"?m.b():v.b(),v.m(h.value),v.is("disabled",p.value),v.is("exceed",ae.value),{[v.b("group")]:a.prepend||a.append,[v.bm("group","append")]:a.append,[v.bm("group","prepend")]:a.prepend,[v.m("prefix")]:a.prefix||r.prefixIcon,[v.m("suffix")]:a.suffix||r.suffixIcon||r.clearable||r.showPassword,[v.bm("suffix","password-clear")]:H.value&&V.value},i.class]),l=P(()=>[v.e("wrapper"),v.is("focus",_.value)]),u=OQ({excludeKeys:P(()=>Object.keys(o.value))}),{form:c,formItem:f}=gs(),{inputId:d}=Zh(r,{formItemContext:f}),h=kr(),p=Uc(),v=we("input"),m=we("textarea"),g=di(),y=di(),_=N(!1),b=N(!1),S=N(!1),w=N(!1),C=N(),T=di(r.inputStyle),E=P(()=>g.value||y.value),M=P(()=>{var X;return(X=c==null?void 0:c.statusIcon)!=null?X:!1}),A=P(()=>(f==null?void 0:f.validateState)||""),I=P(()=>A.value&&_Q[A.value]),O=P(()=>w.value?dQ:SX),D=P(()=>[i.style,r.inputStyle]),F=P(()=>[r.inputStyle,T.value,{resize:r.resize}]),k=P(()=>$l(r.modelValue)?"":String(r.modelValue)),H=P(()=>r.clearable&&!p.value&&!r.readonly&&!!k.value&&(_.value||b.value)),V=P(()=>r.showPassword&&!p.value&&!r.readonly&&!!k.value&&(!!k.value||_.value)),z=P(()=>r.showWordLimit&&!!u.value.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),q=P(()=>k.value.length),ae=P(()=>!!z.value&&q.value>Number(u.value.maxlength)),oe=P(()=>!!a.suffix||!!r.suffixIcon||H.value||r.showPassword||z.value||!!A.value&&M.value),[xe,Ae]=XJ(g);qi(y,X=>{if(W(),!z.value||r.resize!=="both")return;const Ie=X[0],{width:We}=Ie.contentRect;C.value={right:`calc(100% - ${We+15+6}px)`}});const Ve=()=>{const{type:X,autosize:Ie}=r;if(!(!kt||X!=="textarea"||!y.value))if(Ie){const We=st(Ie)?Ie.minRows:void 0,ht=st(Ie)?Ie.maxRows:void 0,pt=d8(y.value,We,ht);T.value={overflowY:"hidden",...pt},Ke(()=>{y.value.offsetHeight,T.value=pt})}else T.value={minHeight:d8(y.value).minHeight}},W=(X=>{let Ie=!1;return()=>{var We;if(Ie||!r.autosize)return;((We=y.value)==null?void 0:We.offsetParent)===null||(X(),Ie=!0)}})(Ve),Z=()=>{const X=E.value;!X||X.value===k.value||(X.value=k.value)},J=async X=>{xe();let{value:Ie}=X.target;if(r.formatter&&(Ie=r.parser?r.parser(Ie):Ie,Ie=r.formatter(Ie)),!S.value){if(Ie===k.value){Z();return}n(jt,Ie),n("input",Ie),await Ke(),Z(),Ae()}},ue=X=>{n("change",X.target.value)},pe=X=>{n("compositionstart",X),S.value=!0},L=X=>{var Ie;n("compositionupdate",X);const We=(Ie=X.target)==null?void 0:Ie.value,ht=We[We.length-1]||"";S.value=!V7(ht)},B=X=>{n("compositionend",X),S.value&&(S.value=!1,J(X))},G=()=>{w.value=!w.value,Q()},Q=async()=>{var X;await Ke(),(X=E.value)==null||X.focus()},te=()=>{var X;return(X=E.value)==null?void 0:X.blur()},se=X=>{_.value=!0,n("focus",X)},Te=X=>{var Ie;_.value=!1,n("blur",X),r.validateEvent&&((Ie=f==null?void 0:f.validate)==null||Ie.call(f,"blur").catch(We=>void 0))},he=X=>{b.value=!1,n("mouseleave",X)},ye=X=>{b.value=!0,n("mouseenter",X)},le=X=>{n("keydown",X)},Le=()=>{var X;(X=E.value)==null||X.select()},Me=()=>{n(jt,""),n("change",""),n("clear"),n("input","")};return ce(()=>r.modelValue,()=>{var X;Ke(()=>Ve()),r.validateEvent&&((X=f==null?void 0:f.validate)==null||X.call(f,"change").catch(Ie=>void 0))}),ce(k,()=>Z()),ce(()=>r.type,async()=>{await Ke(),Z(),Ve()}),dt(()=>{!r.formatter&&r.parser,Z(),Ke(Ve)}),t({input:g,textarea:y,ref:E,textareaStyle:F,autosize:pn(r,"autosize"),focus:Q,blur:te,select:Le,clear:Me,resizeTextarea:Ve}),(X,Ie)=>Wt(($(),K("div",on(x(o),{class:x(s),style:x(D),role:X.containerRole,onMouseenter:ye,onMouseleave:he}),[_e(" input "),X.type!=="textarea"?($(),K(Ye,{key:0},[_e(" prepend slot "),X.$slots.prepend?($(),K("div",{key:0,class:U(x(v).be("group","prepend"))},[ge(X.$slots,"prepend")],2)):_e("v-if",!0),ee("div",{class:U(x(l))},[_e(" prefix slot "),X.$slots.prefix||X.prefixIcon?($(),K("span",{key:0,class:U(x(v).e("prefix"))},[ee("span",{class:U(x(v).e("prefix-inner")),onClick:Q},[ge(X.$slots,"prefix"),X.prefixIcon?($(),de(x(yt),{key:0,class:U(x(v).e("icon"))},{default:re(()=>[($(),de(Rt(X.prefixIcon)))]),_:1},8,["class"])):_e("v-if",!0)],2)],2)):_e("v-if",!0),ee("input",on({id:x(d),ref_key:"input",ref:g,class:x(v).e("inner")},x(u),{type:X.showPassword?w.value?"text":"password":X.type,disabled:x(p),formatter:X.formatter,parser:X.parser,readonly:X.readonly,autocomplete:X.autocomplete,tabindex:X.tabindex,"aria-label":X.label,placeholder:X.placeholder,style:X.inputStyle,form:r.form,onCompositionstart:pe,onCompositionupdate:L,onCompositionend:B,onInput:J,onFocus:se,onBlur:Te,onChange:ue,onKeydown:le}),null,16,vte),_e(" suffix slot "),x(oe)?($(),K("span",{key:1,class:U(x(v).e("suffix"))},[ee("span",{class:U(x(v).e("suffix-inner")),onClick:Q},[!x(H)||!x(V)||!x(z)?($(),K(Ye,{key:0},[ge(X.$slots,"suffix"),X.suffixIcon?($(),de(x(yt),{key:0,class:U(x(v).e("icon"))},{default:re(()=>[($(),de(Rt(X.suffixIcon)))]),_:1},8,["class"])):_e("v-if",!0)],64)):_e("v-if",!0),x(H)?($(),de(x(yt),{key:1,class:U([x(v).e("icon"),x(v).e("clear")]),onMousedown:dn(x(Tn),["prevent"]),onClick:Me},{default:re(()=>[ie(x(sC))]),_:1},8,["class","onMousedown"])):_e("v-if",!0),x(V)?($(),de(x(yt),{key:2,class:U([x(v).e("icon"),x(v).e("password")]),onClick:G},{default:re(()=>[($(),de(Rt(x(O))))]),_:1},8,["class"])):_e("v-if",!0),x(z)?($(),K("span",{key:3,class:U(x(v).e("count"))},[ee("span",{class:U(x(v).e("count-inner"))},Ue(x(q))+" / "+Ue(x(u).maxlength),3)],2)):_e("v-if",!0),x(A)&&x(I)&&x(M)?($(),de(x(yt),{key:4,class:U([x(v).e("icon"),x(v).e("validateIcon"),x(v).is("loading",x(A)==="validating")])},{default:re(()=>[($(),de(Rt(x(I))))]),_:1},8,["class"])):_e("v-if",!0)],2)],2)):_e("v-if",!0)],2),_e(" append slot "),X.$slots.append?($(),K("div",{key:1,class:U(x(v).be("group","append"))},[ge(X.$slots,"append")],2)):_e("v-if",!0)],64)):($(),K(Ye,{key:1},[_e(" textarea "),ee("textarea",on({id:x(d),ref_key:"textarea",ref:y,class:x(m).e("inner")},x(u),{tabindex:X.tabindex,disabled:x(p),readonly:X.readonly,autocomplete:X.autocomplete,style:x(F),"aria-label":X.label,placeholder:X.placeholder,form:r.form,onCompositionstart:pe,onCompositionupdate:L,onCompositionend:B,onInput:J,onFocus:se,onBlur:Te,onChange:ue,onKeydown:le}),null,16,gte),x(z)?($(),K("span",{key:0,style:it(C.value),class:U(x(v).e("count"))},Ue(x(q))+" / "+Ue(x(u).maxlength),7)):_e("v-if",!0)],64))],16,pte)),[[Dn,X.type!=="hidden"]])}});var bte=Re(yte,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const yC=At(bte),Wu=4,_te={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},wte=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),yR=Symbol("scrollbarContextKey"),Ste=$e({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Cte="Thumb",xte=j({__name:"thumb",props:Ste,setup(e){const t=e,n=Se(yR),r=we("scrollbar");n||Lr(Cte,"can not inject scrollbar context");const i=N(),a=N(),o=N({}),s=N(!1);let l=!1,u=!1,c=kt?document.onselectstart:null;const f=P(()=>_te[t.vertical?"vertical":"horizontal"]),d=P(()=>wte({size:t.size,move:t.move,bar:f.value})),h=P(()=>i.value[f.value.offset]**2/n.wrapElement[f.value.scrollSize]/t.ratio/a.value[f.value.offset]),p=w=>{var C;if(w.stopPropagation(),w.ctrlKey||[1,2].includes(w.button))return;(C=window.getSelection())==null||C.removeAllRanges(),m(w);const T=w.currentTarget;T&&(o.value[f.value.axis]=T[f.value.offset]-(w[f.value.client]-T.getBoundingClientRect()[f.value.direction]))},v=w=>{if(!a.value||!i.value||!n.wrapElement)return;const C=Math.abs(w.target.getBoundingClientRect()[f.value.direction]-w[f.value.client]),T=a.value[f.value.offset]/2,E=(C-T)*100*h.value/i.value[f.value.offset];n.wrapElement[f.value.scroll]=E*n.wrapElement[f.value.scrollSize]/100},m=w=>{w.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",g),document.addEventListener("mouseup",y),c=document.onselectstart,document.onselectstart=()=>!1},g=w=>{if(!i.value||!a.value||l===!1)return;const C=o.value[f.value.axis];if(!C)return;const T=(i.value.getBoundingClientRect()[f.value.direction]-w[f.value.client])*-1,E=a.value[f.value.offset]-C,M=(T-E)*100*h.value/i.value[f.value.offset];n.wrapElement[f.value.scroll]=M*n.wrapElement[f.value.scrollSize]/100},y=()=>{l=!1,o.value[f.value.axis]=0,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",y),S(),u&&(s.value=!1)},_=()=>{u=!1,s.value=!!t.size},b=()=>{u=!0,s.value=l};cn(()=>{S(),document.removeEventListener("mouseup",y)});const S=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Ar(pn(n,"scrollbarElement"),"mousemove",_),Ar(pn(n,"scrollbarElement"),"mouseleave",b),(w,C)=>($(),de(Qn,{name:x(r).b("fade"),persisted:""},{default:re(()=>[Wt(ee("div",{ref_key:"instance",ref:i,class:U([x(r).e("bar"),x(r).is(x(f).key)]),onMousedown:v},[ee("div",{ref_key:"thumb",ref:a,class:U(x(r).e("thumb")),style:it(x(d)),onMousedown:p},null,38)],34),[[Dn,w.always||s.value]])]),_:1},8,["name"]))}});var h8=Re(xte,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Tte=$e({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Ete=j({__name:"bar",props:Tte,setup(e,{expose:t}){const n=e,r=N(0),i=N(0);return t({handleScroll:o=>{if(o){const s=o.offsetHeight-Wu,l=o.offsetWidth-Wu;i.value=o.scrollTop*100/s*n.ratioY,r.value=o.scrollLeft*100/l*n.ratioX}}}),(o,s)=>($(),K(Ye,null,[ie(h8,{move:r.value,ratio:o.ratioX,size:o.width,always:o.always},null,8,["move","ratio","size","always"]),ie(h8,{move:i.value,ratio:o.ratioY,size:o.height,vertical:"",always:o.always},null,8,["move","ratio","size","always"])],64))}});var Ate=Re(Ete,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const Mte=$e({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Oe([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),Ite={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(gt)},Ote="ElScrollbar",Pte=j({name:Ote}),Rte=j({...Pte,props:Mte,emits:Ite,setup(e,{expose:t,emit:n}){const r=e,i=we("scrollbar");let a,o;const s=N(),l=N(),u=N(),c=N("0"),f=N("0"),d=N(),h=N(1),p=N(1),v=P(()=>{const C={};return r.height&&(C.height=Jn(r.height)),r.maxHeight&&(C.maxHeight=Jn(r.maxHeight)),[r.wrapStyle,C]}),m=P(()=>[r.wrapClass,i.e("wrap"),{[i.em("wrap","hidden-default")]:!r.native}]),g=P(()=>[i.e("view"),r.viewClass]),y=()=>{var C;l.value&&((C=d.value)==null||C.handleScroll(l.value),n("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};function _(C,T){st(C)?l.value.scrollTo(C):gt(C)&&gt(T)&&l.value.scrollTo(C,T)}const b=C=>{gt(C)&&(l.value.scrollTop=C)},S=C=>{gt(C)&&(l.value.scrollLeft=C)},w=()=>{if(!l.value)return;const C=l.value.offsetHeight-Wu,T=l.value.offsetWidth-Wu,E=C**2/l.value.scrollHeight,M=T**2/l.value.scrollWidth,A=Math.max(E,r.minSize),I=Math.max(M,r.minSize);h.value=E/(C-E)/(A/(C-A)),p.value=M/(T-M)/(I/(T-I)),f.value=A+Wu<C?`${A}px`:"",c.value=I+Wu<T?`${I}px`:""};return ce(()=>r.noresize,C=>{C?(a==null||a(),o==null||o()):({stop:a}=qi(u,w),o=Ar("resize",w))},{immediate:!0}),ce(()=>[r.maxHeight,r.height],()=>{r.native||Ke(()=>{var C;w(),l.value&&((C=d.value)==null||C.handleScroll(l.value))})}),_t(yR,Qt({scrollbarElement:s,wrapElement:l})),dt(()=>{r.native||Ke(()=>{w()})}),lo(()=>w()),t({wrapRef:l,update:w,scrollTo:_,setScrollTop:b,setScrollLeft:S,handleScroll:y}),(C,T)=>($(),K("div",{ref_key:"scrollbarRef",ref:s,class:U(x(i).b())},[ee("div",{ref_key:"wrapRef",ref:l,class:U(x(m)),style:it(x(v)),onScroll:y},[($(),de(Rt(C.tag),{ref_key:"resizeRef",ref:u,class:U(x(g)),style:it(C.viewStyle)},{default:re(()=>[ge(C.$slots,"default")]),_:3},8,["class","style"]))],38),C.native?_e("v-if",!0):($(),de(Ate,{key:0,ref_key:"barRef",ref:d,height:f.value,width:c.value,always:C.always,"ratio-x":p.value,"ratio-y":h.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var Dte=Re(Rte,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const Qh=At(Dte),bC=Symbol("popper"),bR=Symbol("popperContent"),Lte=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],_R=$e({role:{type:String,values:Lte,default:"tooltip"}}),kte=j({name:"ElPopper",inheritAttrs:!1}),$te=j({...kte,props:_R,setup(e,{expose:t}){const n=e,r=N(),i=N(),a=N(),o=N(),s=P(()=>n.role),l={triggerRef:r,popperInstanceRef:i,contentRef:a,referenceRef:o,role:s};return t(l),_t(bC,l),(u,c)=>ge(u.$slots,"default")}});var Nte=Re($te,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const wR=$e({arrowOffset:{type:Number,default:5}}),Bte=j({name:"ElPopperArrow",inheritAttrs:!1}),Fte=j({...Bte,props:wR,setup(e,{expose:t}){const n=e,r=we("popper"),{arrowOffset:i,arrowRef:a,arrowStyle:o}=Se(bR,void 0);return ce(()=>n.arrowOffset,s=>{i.value=s}),cn(()=>{a.value=void 0}),t({arrowRef:a}),(s,l)=>($(),K("span",{ref_key:"arrowRef",ref:a,class:U(x(r).e("arrow")),style:it(x(o)),"data-popper-arrow":""},null,6))}});var zte=Re(Fte,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Vte="ElOnlyChild",SR=j({name:Vte,setup(e,{slots:t,attrs:n}){var r;const i=Se(uR),a=ZJ((r=i==null?void 0:i.setForwardRef)!=null?r:Tn);return()=>{var o;const s=(o=t.default)==null?void 0:o.call(t,n);if(!s||s.length>1)return null;const l=CR(s);return l?Wt(ji(l,n),[[a]]):null}}});function CR(e){if(!e)return null;const t=e;for(const n of t){if(st(n))switch(n.type){case En:continue;case to:case"svg":return p8(n);case Ye:return CR(n.children);default:return n}return p8(n)}return null}function p8(e){const t=we("only-child");return ie("span",{class:t.e("content")},[e])}const xR=$e({virtualRef:{type:Oe(Object)},virtualTriggering:Boolean,onMouseenter:{type:Oe(Function)},onMouseleave:{type:Oe(Function)},onClick:{type:Oe(Function)},onKeydown:{type:Oe(Function)},onFocus:{type:Oe(Function)},onBlur:{type:Oe(Function)},onContextmenu:{type:Oe(Function)},id:String,open:Boolean}),Hte=j({name:"ElPopperTrigger",inheritAttrs:!1}),Wte=j({...Hte,props:xR,setup(e,{expose:t}){const n=e,{role:r,triggerRef:i}=Se(bC,void 0);YJ(i);const a=P(()=>s.value?n.id:void 0),o=P(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=P(()=>{if(r&&r.value!=="tooltip")return r.value}),l=P(()=>s.value?`${n.open}`:void 0);let u;return dt(()=>{ce(()=>n.virtualRef,c=>{c&&(i.value=zo(c))},{immediate:!0}),ce(i,(c,f)=>{u==null||u(),u=void 0,Nl(c)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(d=>{var h;const p=n[d];p&&(c.addEventListener(d.slice(2).toLowerCase(),p),(h=f==null?void 0:f.removeEventListener)==null||h.call(f,d.slice(2).toLowerCase(),p))}),u=ce([a,o,s,l],d=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,p)=>{$l(d[p])?c.removeAttribute(h):c.setAttribute(h,d[p])})},{immediate:!0})),Nl(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(d=>f.removeAttribute(d))},{immediate:!0})}),cn(()=>{u==null||u(),u=void 0}),t({triggerRef:i}),(c,f)=>c.virtualTriggering?_e("v-if",!0):($(),de(x(SR),on({key:0},c.$attrs,{"aria-controls":x(a),"aria-describedby":x(o),"aria-expanded":x(l),"aria-haspopup":x(s)}),{default:re(()=>[ge(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Ute=Re(Wte,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const qy="focus-trap.focus-after-trapped",Ky="focus-trap.focus-after-released",Gte="focus-trap.focusout-prevented",v8={cancelable:!0,bubbles:!1},jte={cancelable:!0,bubbles:!1},g8="focusAfterTrapped",m8="focusAfterReleased",_C=Symbol("elFocusTrap"),wC=N(),T0=N(0),SC=N(0);let zp=0;const TR=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},y8=(e,t)=>{for(const n of e)if(!qte(n,t))return n},qte=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},Kte=e=>{const t=TR(e),n=y8(t,e),r=y8(t.reverse(),e);return[n,r]},Yte=e=>e instanceof HTMLInputElement&&"select"in e,Po=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),SC.value=window.performance.now(),e!==n&&Yte(e)&&t&&e.select()}};function b8(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const Zte=()=>{let e=[];return{push:r=>{const i=e[0];i&&r!==i&&i.pause(),e=b8(e,r),e.unshift(r)},remove:r=>{var i,a;e=b8(e,r),(a=(i=e[0])==null?void 0:i.resume)==null||a.call(i)}}},Xte=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Po(r,t),document.activeElement!==n)return},_8=Zte(),Qte=()=>T0.value>SC.value,Vp=()=>{wC.value="pointer",T0.value=window.performance.now()},w8=()=>{wC.value="keyboard",T0.value=window.performance.now()},Jte=()=>(dt(()=>{zp===0&&(document.addEventListener("mousedown",Vp),document.addEventListener("touchstart",Vp),document.addEventListener("keydown",w8)),zp++}),cn(()=>{zp--,zp<=0&&(document.removeEventListener("mousedown",Vp),document.removeEventListener("touchstart",Vp),document.removeEventListener("keydown",w8))}),{focusReason:wC,lastUserFocusTimestamp:T0,lastAutomatedFocusTimestamp:SC}),Hp=e=>new CustomEvent(Gte,{...jte,detail:e}),ene=j({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[g8,m8,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=N();let r,i;const{focusReason:a}=Jte();GJ(p=>{e.trapped&&!o.paused&&t("release-requested",p)});const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=p=>{if(!e.loop&&!e.trapped||o.paused)return;const{key:v,altKey:m,ctrlKey:g,metaKey:y,currentTarget:_,shiftKey:b}=p,{loop:S}=e,w=v===lt.tab&&!m&&!g&&!y,C=document.activeElement;if(w&&C){const T=_,[E,M]=Kte(T);if(E&&M){if(!b&&C===M){const I=Hp({focusReason:a.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),S&&Po(E,!0))}else if(b&&[E,T].includes(C)){const I=Hp({focusReason:a.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),S&&Po(M,!0))}}else if(C===T){const I=Hp({focusReason:a.value});t("focusout-prevented",I),I.defaultPrevented||p.preventDefault()}}};_t(_C,{focusTrapRef:n,onKeydown:s}),ce(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),ce([n],([p],[v])=>{p&&(p.addEventListener("keydown",s),p.addEventListener("focusin",c),p.addEventListener("focusout",f)),v&&(v.removeEventListener("keydown",s),v.removeEventListener("focusin",c),v.removeEventListener("focusout",f))});const l=p=>{t(g8,p)},u=p=>t(m8,p),c=p=>{const v=x(n);if(!v)return;const m=p.target,g=p.relatedTarget,y=m&&v.contains(m);e.trapped||g&&v.contains(g)||(r=g),y&&t("focusin",p),!o.paused&&e.trapped&&(y?i=m:Po(i,!0))},f=p=>{const v=x(n);if(!(o.paused||!v))if(e.trapped){const m=p.relatedTarget;!$l(m)&&!v.contains(m)&&setTimeout(()=>{if(!o.paused&&e.trapped){const g=Hp({focusReason:a.value});t("focusout-prevented",g),g.defaultPrevented||Po(i,!0)}},0)}else{const m=p.target;m&&v.contains(m)||t("focusout",p)}};async function d(){await Ke();const p=x(n);if(p){_8.push(o);const v=p.contains(document.activeElement)?r:document.activeElement;if(r=v,!p.contains(v)){const g=new Event(qy,v8);p.addEventListener(qy,l),p.dispatchEvent(g),g.defaultPrevented||Ke(()=>{let y=e.focusStartEl;Ge(y)||(Po(y),document.activeElement!==y&&(y="first")),y==="first"&&Xte(TR(p),!0),(document.activeElement===v||y==="container")&&Po(p)})}}}function h(){const p=x(n);if(p){p.removeEventListener(qy,l);const v=new CustomEvent(Ky,{...v8,detail:{focusReason:a.value}});p.addEventListener(Ky,u),p.dispatchEvent(v),!v.defaultPrevented&&(a.value=="keyboard"||!Qte()||p.contains(document.activeElement))&&Po(r??document.body),p.removeEventListener(Ky,l),_8.remove(o)}}return dt(()=>{e.trapped&&d(),ce(()=>e.trapped,p=>{p?d():h()})}),cn(()=>{e.trapped&&h()}),{onKeydown:s}}});function tne(e,t,n,r,i,a){return ge(e.$slots,"default",{handleKeydown:e.onKeydown})}var ER=Re(ene,[["render",tne],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const nne=["fixed","absolute"],rne=$e({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Oe(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:w0,default:"bottom"},popperOptions:{type:Oe(Object),default:()=>({})},strategy:{type:String,values:nne,default:"absolute"}}),AR=$e({...rne,id:String,style:{type:Oe([String,Array,Object])},className:{type:Oe([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Oe([String,Array,Object])},popperStyle:{type:Oe([String,Array,Object])},referenceEl:{type:Oe(Object)},triggerTargetEl:{type:Oe(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),ine={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},ane=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:i}=e,a={placement:n,strategy:r,...i,modifiers:[...sne(e),...t]};return lne(a,i==null?void 0:i.modifiers),a},one=e=>{if(kt)return zo(e)};function sne(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function lne(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const une=0,cne=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:i}=Se(bC,void 0),a=N(),o=N(),s=P(()=>({name:"eventListeners",enabled:!!e.visible})),l=P(()=>{var g;const y=x(a),_=(g=x(o))!=null?g:une;return{name:"arrow",enabled:!qY(y),options:{element:y,padding:_}}}),u=P(()=>({onFirstUpdate:()=>{p()},...ane(e,[x(l),x(s)])})),c=P(()=>one(e.referenceEl)||x(r)),{attributes:f,state:d,styles:h,update:p,forceUpdate:v,instanceRef:m}=HJ(c,n,u);return ce(m,g=>t.value=g),dt(()=>{ce(()=>{var g;return(g=x(c))==null?void 0:g.getBoundingClientRect()},()=>{p()})}),{attributes:f,arrowRef:a,contentRef:n,instanceRef:m,state:d,styles:h,role:i,forceUpdate:v,update:p}},fne=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:i}=C0(),a=we("popper"),o=P(()=>x(t).popper),s=N(e.zIndex||i()),l=P(()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass]),u=P(()=>[{zIndex:x(s)},x(n).popper,e.popperStyle||{}]),c=P(()=>r.value==="dialog"?"false":void 0),f=P(()=>x(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:o,contentClass:l,contentStyle:u,contentZIndex:s,updateZIndex:()=>{s.value=e.zIndex||i()}}},dne=(e,t)=>{const n=N(!1),r=N();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},hne=j({name:"ElPopperContent"}),pne=j({...hne,props:AR,emits:ine,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:i,trapped:a,onFocusAfterReleased:o,onFocusAfterTrapped:s,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:c}=dne(r,n),{attributes:f,arrowRef:d,contentRef:h,styles:p,instanceRef:v,role:m,update:g}=cne(r),{ariaModal:y,arrowStyle:_,contentAttrs:b,contentClass:S,contentStyle:w,updateZIndex:C}=fne(r,{styles:p,attributes:f,role:m}),T=Se(Fl,void 0),E=N();_t(bR,{arrowStyle:_,arrowRef:d,arrowOffset:E}),T&&(T.addInputId||T.removeInputId)&&_t(Fl,{...T,addInputId:Tn,removeInputId:Tn});let M;const A=(O=!0)=>{g(),O&&C()},I=()=>{A(!1),r.visible&&r.focusOnShow?a.value=!0:r.visible===!1&&(a.value=!1)};return dt(()=>{ce(()=>r.triggerTargetEl,(O,D)=>{M==null||M(),M=void 0;const F=x(O||h.value),k=x(D||h.value);Nl(F)&&(M=ce([m,()=>r.ariaLabel,y,()=>r.id],H=>{["role","aria-label","aria-modal","id"].forEach((V,z)=>{$l(H[z])?F.removeAttribute(V):F.setAttribute(V,H[z])})},{immediate:!0})),k!==F&&Nl(k)&&["role","aria-label","aria-modal","id"].forEach(H=>{k.removeAttribute(H)})},{immediate:!0}),ce(()=>r.visible,I,{immediate:!0})}),cn(()=>{M==null||M(),M=void 0}),t({popperContentRef:h,popperInstanceRef:v,updatePopper:A,contentStyle:w}),(O,D)=>($(),K("div",on({ref_key:"contentRef",ref:h},x(b),{style:x(w),class:x(S),tabindex:"-1",onMouseenter:D[0]||(D[0]=F=>O.$emit("mouseenter",F)),onMouseleave:D[1]||(D[1]=F=>O.$emit("mouseleave",F))}),[ie(x(ER),{trapped:x(a),"trap-on-focus-in":!0,"focus-trap-el":x(h),"focus-start-el":x(i),onFocusAfterTrapped:x(s),onFocusAfterReleased:x(o),onFocusin:x(l),onFocusoutPrevented:x(u),onReleaseRequested:x(c)},{default:re(()=>[ge(O.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var vne=Re(pne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const MR=At(Nte),CC=Symbol("elTooltip"),sr=$e({...KJ,...AR,appendTo:{type:Oe([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Oe(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),th=$e({...xR,disabled:Boolean,trigger:{type:Oe([String,Array]),default:"hover"},triggerKeys:{type:Oe(Array),default:()=>[lt.enter,lt.space]}}),{useModelToggleProps:gne,useModelToggleEmits:mne,useModelToggle:yne}=G7("visible"),bne=$e({..._R,...gne,...sr,...th,...wR,showArrow:{type:Boolean,default:!0}}),_ne=[...mne,"before-show","before-hide","show","hide","open","close"],wne=(e,t)=>Ee(e)?e.includes(t):e===t,du=(e,t,n)=>r=>{wne(x(e),t)&&n(r)},Sne=j({name:"ElTooltipTrigger"}),Cne=j({...Sne,props:th,setup(e,{expose:t}){const n=e,r=we("tooltip"),{controlled:i,id:a,open:o,onOpen:s,onClose:l,onToggle:u}=Se(CC,void 0),c=N(null),f=()=>{if(x(i)||n.disabled)return!0},d=pn(n,"trigger"),h=bn(f,du(d,"hover",s)),p=bn(f,du(d,"hover",l)),v=bn(f,du(d,"click",b=>{b.button===0&&u(b)})),m=bn(f,du(d,"focus",s)),g=bn(f,du(d,"focus",l)),y=bn(f,du(d,"contextmenu",b=>{b.preventDefault(),u(b)})),_=bn(f,b=>{const{code:S}=b;n.triggerKeys.includes(S)&&(b.preventDefault(),u(b))});return t({triggerRef:c}),(b,S)=>($(),de(x(Ute),{id:x(a),"virtual-ref":b.virtualRef,open:x(o),"virtual-triggering":b.virtualTriggering,class:U(x(r).e("trigger")),onBlur:x(g),onClick:x(v),onContextmenu:x(y),onFocus:x(m),onMouseenter:x(h),onMouseleave:x(p),onKeydown:x(_)},{default:re(()=>[ge(b.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var xne=Re(Cne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const Tne=j({name:"ElTooltipContent",inheritAttrs:!1}),Ene=j({...Tne,props:sr,setup(e,{expose:t}){const n=e,{selector:r}=sR(),i=we("tooltip"),a=N(null),o=N(!1),{controlled:s,id:l,open:u,trigger:c,onClose:f,onOpen:d,onShow:h,onHide:p,onBeforeShow:v,onBeforeHide:m}=Se(CC,void 0),g=P(()=>n.transition||`${i.namespace.value}-fade-in-linear`),y=P(()=>n.persistent);cn(()=>{o.value=!0});const _=P(()=>x(y)?!0:x(u)),b=P(()=>n.disabled?!1:x(u)),S=P(()=>n.appendTo||r.value),w=P(()=>{var H;return(H=n.style)!=null?H:{}}),C=P(()=>!x(u)),T=()=>{p()},E=()=>{if(x(s))return!0},M=bn(E,()=>{n.enterable&&x(c)==="hover"&&d()}),A=bn(E,()=>{x(c)==="hover"&&f()}),I=()=>{var H,V;(V=(H=a.value)==null?void 0:H.updatePopper)==null||V.call(H),v==null||v()},O=()=>{m==null||m()},D=()=>{h(),k=YW(P(()=>{var H;return(H=a.value)==null?void 0:H.popperContentRef}),()=>{if(x(s))return;x(c)!=="hover"&&f()})},F=()=>{n.virtualTriggering||f()};let k;return ce(()=>x(u),H=>{H||k==null||k()},{flush:"post"}),ce(()=>n.content,()=>{var H,V;(V=(H=a.value)==null?void 0:H.updatePopper)==null||V.call(H)}),t({contentRef:a}),(H,V)=>($(),de(zS,{disabled:!H.teleported,to:x(S)},[ie(Qn,{name:x(g),onAfterLeave:T,onBeforeEnter:I,onAfterEnter:D,onBeforeLeave:O},{default:re(()=>[x(_)?Wt(($(),de(x(vne),on({key:0,id:x(l),ref_key:"contentRef",ref:a},H.$attrs,{"aria-label":H.ariaLabel,"aria-hidden":x(C),"boundaries-padding":H.boundariesPadding,"fallback-placements":H.fallbackPlacements,"gpu-acceleration":H.gpuAcceleration,offset:H.offset,placement:H.placement,"popper-options":H.popperOptions,strategy:H.strategy,effect:H.effect,enterable:H.enterable,pure:H.pure,"popper-class":H.popperClass,"popper-style":[H.popperStyle,x(w)],"reference-el":H.referenceEl,"trigger-target-el":H.triggerTargetEl,visible:x(b),"z-index":H.zIndex,onMouseenter:x(M),onMouseleave:x(A),onBlur:F,onClose:x(f)}),{default:re(()=>[o.value?_e("v-if",!0):ge(H.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Dn,x(b)]]):_e("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var Ane=Re(Ene,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Mne=["innerHTML"],Ine={key:1},One=j({name:"ElTooltip"}),Pne=j({...One,props:bne,emits:_ne,setup(e,{expose:t,emit:n}){const r=e;qJ();const i=ro(),a=N(),o=N(),s=()=>{var g;const y=x(a);y&&((g=y.popperInstanceRef)==null||g.update())},l=N(!1),u=N(),{show:c,hide:f,hasUpdateHandler:d}=yne({indicator:l,toggleReason:u}),{onOpen:h,onClose:p}=lR({showAfter:pn(r,"showAfter"),hideAfter:pn(r,"hideAfter"),autoClose:pn(r,"autoClose"),open:c,close:f}),v=P(()=>Xn(r.visible)&&!d.value);_t(CC,{controlled:v,id:i,open:oo(l),trigger:pn(r,"trigger"),onOpen:g=>{h(g)},onClose:g=>{p(g)},onToggle:g=>{x(l)?p(g):h(g)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:s}),ce(()=>r.disabled,g=>{g&&l.value&&(l.value=!1)});const m=()=>{var g,y;const _=(y=(g=o.value)==null?void 0:g.contentRef)==null?void 0:y.popperContentRef;return _&&_.contains(document.activeElement)};return LS(()=>l.value&&f()),t({popperRef:a,contentRef:o,isFocusInsideContent:m,updatePopper:s,onOpen:h,onClose:p,hide:f}),(g,y)=>($(),de(x(MR),{ref_key:"popperRef",ref:a,role:g.role},{default:re(()=>[ie(xne,{disabled:g.disabled,trigger:g.trigger,"trigger-keys":g.triggerKeys,"virtual-ref":g.virtualRef,"virtual-triggering":g.virtualTriggering},{default:re(()=>[g.$slots.default?ge(g.$slots,"default",{key:0}):_e("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),ie(Ane,{ref_key:"contentRef",ref:o,"aria-label":g.ariaLabel,"boundaries-padding":g.boundariesPadding,content:g.content,disabled:g.disabled,effect:g.effect,enterable:g.enterable,"fallback-placements":g.fallbackPlacements,"hide-after":g.hideAfter,"gpu-acceleration":g.gpuAcceleration,offset:g.offset,persistent:g.persistent,"popper-class":g.popperClass,"popper-style":g.popperStyle,placement:g.placement,"popper-options":g.popperOptions,pure:g.pure,"raw-content":g.rawContent,"reference-el":g.referenceEl,"trigger-target-el":g.triggerTargetEl,"show-after":g.showAfter,strategy:g.strategy,teleported:g.teleported,transition:g.transition,"virtual-triggering":g.virtualTriggering,"z-index":g.zIndex,"append-to":g.appendTo},{default:re(()=>[ge(g.$slots,"content",{},()=>[g.rawContent?($(),K("span",{key:0,innerHTML:g.content},null,8,Mne)):($(),K("span",Ine,Ue(g.content),1))]),g.showArrow?($(),de(x(zte),{key:0,"arrow-offset":g.arrowOffset},null,8,["arrow-offset"])):_e("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Rne=Re(Pne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ms=At(Rne),Dne=$e({size:{type:[Number,String],values:Oa,default:"",validator:e=>gt(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:un},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Oe(String),default:"cover"}}),Lne={error:e=>e instanceof Event},kne=["src","alt","srcset"],$ne=j({name:"ElAvatar"}),Nne=j({...$ne,props:Dne,emits:Lne,setup(e,{emit:t}){const n=e,r=we("avatar"),i=N(!1),a=P(()=>{const{size:u,icon:c,shape:f}=n,d=[r.b()];return Ge(u)&&d.push(r.m(u)),c&&d.push(r.m("icon")),f&&d.push(r.m(f)),d}),o=P(()=>{const{size:u}=n;return gt(u)?r.cssVarBlock({size:Jn(u)||""}):void 0}),s=P(()=>({objectFit:n.fit}));ce(()=>n.src,()=>i.value=!1);function l(u){i.value=!0,t("error",u)}return(u,c)=>($(),K("span",{class:U(x(a)),style:it(x(o))},[(u.src||u.srcSet)&&!i.value?($(),K("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:it(x(s)),onError:l},null,44,kne)):u.icon?($(),de(x(yt),{key:1},{default:re(()=>[($(),de(Rt(u.icon)))]),_:1})):ge(u.$slots,"default",{key:2})],6))}});var Bne=Re(Nne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const Fne=At(Bne),zne={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},Vne={click:e=>e instanceof MouseEvent},Hne=(e,t,n)=>{const r=di(),i=di(),a=N(!1),o=()=>{r.value&&(a.value=r.value.scrollTop>=e.visibilityHeight)},s=u=>{var c;(c=r.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)},l=jW(o,300,!0);return Ar(i,"scroll",l),dt(()=>{var u;i.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||Lr(n,`target does not exist: ${e.target}`),i.value=r.value)}),{visible:a,handleClick:s}},IR="ElBacktop",Wne=j({name:IR}),Une=j({...Wne,props:zne,emits:Vne,setup(e,{emit:t}){const n=e,r=we("backtop"),{handleClick:i,visible:a}=Hne(n,t,IR),o=P(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(s,l)=>($(),de(Qn,{name:`${x(r).namespace.value}-fade-in`},{default:re(()=>[x(a)?($(),K("div",{key:0,style:it(x(o)),class:U(x(r).b()),onClick:l[0]||(l[0]=dn((...u)=>x(i)&&x(i)(...u),["stop"]))},[ge(s.$slots,"default",{},()=>[ie(x(yt),{class:U(x(r).e("icon"))},{default:re(()=>[ie(x(LZ))]),_:1},8,["class"])])],6)):_e("v-if",!0)]),_:3},8,["name"]))}});var Gne=Re(Une,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const jne=At(Gne),qne=$e({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),Kne=["textContent"],Yne=j({name:"ElBadge"}),Zne=j({...Yne,props:qne,setup(e,{expose:t}){const n=e,r=we("badge"),i=P(()=>n.isDot?"":gt(n.value)&&gt(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`);return t({content:i}),(a,o)=>($(),K("div",{class:U(x(r).b())},[ge(a.$slots,"default"),ie(Qn,{name:`${x(r).namespace.value}-zoom-in-center`,persisted:""},{default:re(()=>[Wt(ee("sup",{class:U([x(r).e("content"),x(r).em("content",a.type),x(r).is("fixed",!!a.$slots.default),x(r).is("dot",a.isDot)]),textContent:Ue(x(i))},null,10,Kne),[[Dn,!a.hidden&&(x(i)||a.isDot)]])]),_:1},8,["name"])],2))}});var Xne=Re(Zne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const OR=At(Xne),PR=Symbol("breadcrumbKey"),Qne=$e({separator:{type:String,default:"/"},separatorIcon:{type:un}}),Jne=j({name:"ElBreadcrumb"}),ere=j({...Jne,props:Qne,setup(e){const t=e,n=we("breadcrumb"),r=N();return _t(PR,t),dt(()=>{const i=r.value.querySelectorAll(`.${n.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,a)=>($(),K("div",{ref_key:"breadcrumb",ref:r,class:U(x(n).b()),"aria-label":"Breadcrumb",role:"navigation"},[ge(i.$slots,"default")],2))}});var tre=Re(ere,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const nre=$e({to:{type:Oe([String,Object]),default:""},replace:{type:Boolean,default:!1}}),rre=j({name:"ElBreadcrumbItem"}),ire=j({...rre,props:nre,setup(e){const t=e,n=Ze(),r=Se(PR,void 0),i=we("breadcrumb"),{separator:a,separatorIcon:o}=Ci(r),s=n.appContext.config.globalProperties.$router,l=N(),u=()=>{!t.to||!s||(t.replace?s.replace(t.to):s.push(t.to))};return(c,f)=>($(),K("span",{class:U(x(i).e("item"))},[ee("span",{ref_key:"link",ref:l,class:U([x(i).e("inner"),x(i).is("link",!!c.to)]),role:"link",onClick:u},[ge(c.$slots,"default")],2),x(o)?($(),de(x(yt),{key:0,class:U(x(i).e("separator"))},{default:re(()=>[($(),de(Rt(x(o))))]),_:1},8,["class"])):($(),K("span",{key:1,class:U(x(i).e("separator")),role:"presentation"},Ue(x(a)),3))],2))}});var RR=Re(ire,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const are=At(tre,{BreadcrumbItem:RR}),ore=Ln(RR),DR=Symbol("buttonGroupContextKey"),sre=(e,t)=>{Bl({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},P(()=>e.type==="text"));const n=Se(DR,void 0),r=x0("button"),{form:i}=gs(),a=kr(P(()=>n==null?void 0:n.size)),o=Uc(),s=N(),l=Qi(),u=P(()=>e.type||(n==null?void 0:n.type)||""),c=P(()=>{var p,v,m;return(m=(v=e.autoInsertSpace)!=null?v:(p=r.value)==null?void 0:p.autoInsertSpace)!=null?m:!1}),f=P(()=>e.tag==="button"?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),d=P(()=>{var p;const v=(p=l.default)==null?void 0:p.call(l);if(c.value&&(v==null?void 0:v.length)===1){const m=v[0];if((m==null?void 0:m.type)===to){const g=m.children;return/^\p{Unified_Ideograph}{2}$/u.test(g.trim())}}return!1});return{_disabled:o,_size:a,_type:u,_ref:s,_props:f,shouldAddSpace:d,handleClick:p=>{e.nativeType==="reset"&&(i==null||i.resetFields()),t("click",p)}}},j_=["default","primary","success","warning","info","danger","text",""],lre=["button","submit","reset"],q_=$e({size:fo,disabled:Boolean,type:{type:String,values:j_,default:""},icon:{type:un},nativeType:{type:String,values:lre,default:"button"},loading:Boolean,loadingIcon:{type:un,default:()=>b0},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Oe([String,Object]),default:"button"}}),ure={click:e=>e instanceof MouseEvent};function Fn(e,t){cre(e)&&(e="100%");var n=fre(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Wp(e){return Math.min(1,Math.max(0,e))}function cre(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function fre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function LR(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Up(e){return e<=1?"".concat(Number(e)*100,"%"):e}function al(e){return e.length===1?"0"+e:String(e)}function dre(e,t,n){return{r:Fn(e,255)*255,g:Fn(t,255)*255,b:Fn(n,255)*255}}function S8(e,t,n){e=Fn(e,255),t=Fn(t,255),n=Fn(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=0,s=(r+i)/2;if(r===i)o=0,a=0;else{var l=r-i;switch(o=s>.5?l/(2-r-i):l/(r+i),r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;break}a/=6}return{h:a,s:o,l:s}}function Yy(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hre(e,t,n){var r,i,a;if(e=Fn(e,360),t=Fn(t,100),n=Fn(n,100),t===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=Yy(s,o,e+1/3),i=Yy(s,o,e),a=Yy(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function C8(e,t,n){e=Fn(e,255),t=Fn(t,255),n=Fn(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=r,s=r-i,l=r===0?0:s/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break}a/=6}return{h:a,s:l,v:o}}function pre(e,t,n){e=Fn(e,360)*6,t=Fn(t,100),n=Fn(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,u=[n,o,a,a,s,n][l],c=[s,n,n,o,a,a][l],f=[a,a,s,n,n,o][l];return{r:u*255,g:c*255,b:f*255}}function x8(e,t,n,r){var i=[al(Math.round(e).toString(16)),al(Math.round(t).toString(16)),al(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function vre(e,t,n,r,i){var a=[al(Math.round(e).toString(16)),al(Math.round(t).toString(16)),al(Math.round(n).toString(16)),al(gre(r))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function gre(e){return Math.round(parseFloat(e)*255).toString(16)}function T8(e){return Fr(e)/255}function Fr(e){return parseInt(e,16)}function mre(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var K_={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function yre(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e=="string"&&(e=wre(e)),typeof e=="object"&&(ka(e.r)&&ka(e.g)&&ka(e.b)?(t=dre(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ka(e.h)&&ka(e.s)&&ka(e.v)?(r=Up(e.s),i=Up(e.v),t=pre(e.h,r,i),o=!0,s="hsv"):ka(e.h)&&ka(e.s)&&ka(e.l)&&(r=Up(e.s),a=Up(e.l),t=hre(e.h,r,a),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=LR(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var bre="[-\\+]?\\d+%?",_re="[-\\+]?\\d*\\.\\d+%?",Vo="(?:".concat(_re,")|(?:").concat(bre,")"),Zy="[\\s|\\(]+(".concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")\\s*\\)?"),Xy="[\\s|\\(]+(".concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")[,|\\s]+(").concat(Vo,")\\s*\\)?"),Ri={CSS_UNIT:new RegExp(Vo),rgb:new RegExp("rgb"+Zy),rgba:new RegExp("rgba"+Xy),hsl:new RegExp("hsl"+Zy),hsla:new RegExp("hsla"+Xy),hsv:new RegExp("hsv"+Zy),hsva:new RegExp("hsva"+Xy),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function wre(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(K_[e])e=K_[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ri.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ri.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ri.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ri.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ri.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ri.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ri.hex8.exec(e),n?{r:Fr(n[1]),g:Fr(n[2]),b:Fr(n[3]),a:T8(n[4]),format:t?"name":"hex8"}:(n=Ri.hex6.exec(e),n?{r:Fr(n[1]),g:Fr(n[2]),b:Fr(n[3]),format:t?"name":"hex"}:(n=Ri.hex4.exec(e),n?{r:Fr(n[1]+n[1]),g:Fr(n[2]+n[2]),b:Fr(n[3]+n[3]),a:T8(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ri.hex3.exec(e),n?{r:Fr(n[1]+n[1]),g:Fr(n[2]+n[2]),b:Fr(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ka(e){return!!Ri.CSS_UNIT.exec(String(e))}var kR=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=mre(t)),this.originalInput=t;var i=yre(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,a=t.r/255,o=t.g/255,s=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=LR(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=C8(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=C8(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=S8(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=S8(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),x8(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),vre(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Fn(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Fn(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+x8(this.r,this.g,this.b,!1),n=0,r=Object.entries(K_);n<r.length;n++){var i=r[n],a=i[0],o=i[1];if(t===o)return a}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,i=this.a<1&&this.a>=0,a=!n&&i&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Wp(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Wp(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Wp(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Wp(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*a)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function bo(e,t=20){return e.mix("#141414",t).toString()}function Sre(e){const t=Uc(),n=we("button");return P(()=>{let r={};const i=e.color;if(i){const a=new kR(i),o=e.dark?a.tint(20).toString():bo(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?bo(a,90):a.tint(90).toString(),"text-color":i,"border-color":e.dark?bo(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":i,"hover-border-color":i,"active-bg-color":o,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":o}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?bo(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?bo(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?bo(a,80):a.tint(80).toString());else{const s=e.dark?bo(a,30):a.tint(30).toString(),l=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":i,"text-color":l,"border-color":i,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":o,"active-border-color":o}),t.value){const u=e.dark?bo(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}const Cre=j({name:"ElButton"}),xre=j({...Cre,props:q_,emits:ure,setup(e,{expose:t,emit:n}){const r=e,i=Sre(r),a=we("button"),{_ref:o,_size:s,_type:l,_disabled:u,_props:c,shouldAddSpace:f,handleClick:d}=sre(r,n);return t({ref:o,size:s,type:l,disabled:u,shouldAddSpace:f}),(h,p)=>($(),de(Rt(h.tag),on({ref_key:"_ref",ref:o},x(c),{class:[x(a).b(),x(a).m(x(l)),x(a).m(x(s)),x(a).is("disabled",x(u)),x(a).is("loading",h.loading),x(a).is("plain",h.plain),x(a).is("round",h.round),x(a).is("circle",h.circle),x(a).is("text",h.text),x(a).is("link",h.link),x(a).is("has-bg",h.bg)],style:x(i),onClick:x(d)}),{default:re(()=>[h.loading?($(),K(Ye,{key:0},[h.$slots.loading?ge(h.$slots,"loading",{key:0}):($(),de(x(yt),{key:1,class:U(x(a).is("loading"))},{default:re(()=>[($(),de(Rt(h.loadingIcon)))]),_:1},8,["class"]))],64)):h.icon||h.$slots.icon?($(),de(x(yt),{key:1},{default:re(()=>[h.icon?($(),de(Rt(h.icon),{key:0})):ge(h.$slots,"icon",{key:1})]),_:3})):_e("v-if",!0),h.$slots.default?($(),K("span",{key:2,class:U({[x(a).em("text","expand")]:x(f)})},[ge(h.$slots,"default")],2)):_e("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Tre=Re(xre,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const Ere={size:q_.size,type:q_.type},Are=j({name:"ElButtonGroup"}),Mre=j({...Are,props:Ere,setup(e){const t=e;_t(DR,Qt({size:pn(t,"size"),type:pn(t,"type")}));const n=we("button");return(r,i)=>($(),K("div",{class:U(`${x(n).b("group")}`)},[ge(r.$slots,"default")],2))}});var $R=Re(Mre,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const nh=At(Tre,{ButtonGroup:$R});Ln($R);var Ire=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ore(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}const Ro=new Map;let E8;kt&&(document.addEventListener("mousedown",e=>E8=e),document.addEventListener("mouseup",e=>{for(const t of Ro.values())for(const{documentHandler:n}of t)n(e,E8)}));function A8(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Nl(t.arg)&&n.push(t.arg),function(r,i){const a=t.instance.popperRef,o=r.target,s=i==null?void 0:i.target,l=!t||!t.instance,u=!o||!s,c=e.contains(o)||e.contains(s),f=e===o,d=n.length&&n.some(p=>p==null?void 0:p.contains(o))||n.length&&n.includes(s),h=a&&(a.contains(o)||a.contains(s));l||u||c||f||d||h||t.value(r,i)}}const NR={beforeMount(e,t){Ro.has(e)||Ro.set(e,[]),Ro.get(e).push({documentHandler:A8(e,t),bindingFn:t.value})},updated(e,t){Ro.has(e)||Ro.set(e,[]);const n=Ro.get(e),r=n.findIndex(a=>a.bindingFn===t.oldValue),i={documentHandler:A8(e,t),bindingFn:t.value};r>=0?n.splice(r,1,i):n.push(i)},unmounted(e){Ro.delete(e)}};var M8=!1,el,Y_,Z_,eg,tg,BR,ng,X_,Q_,J_,FR,e2,t2,zR,VR;function vr(){if(!M8){M8=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(e2=/\b(iPhone|iP[ao]d)/.exec(e),t2=/\b(iP[ao]d)/.exec(e),J_=/Android/i.exec(e),zR=/FBAN\/\w+;/i.exec(e),VR=/Mobile/i.exec(e),FR=!!/Win64/.exec(e),t){el=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,el&&document&&document.documentMode&&(el=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);BR=r?parseFloat(r[1])+4:el,Y_=t[2]?parseFloat(t[2]):NaN,Z_=t[3]?parseFloat(t[3]):NaN,eg=t[4]?parseFloat(t[4]):NaN,eg?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),tg=t&&t[1]?parseFloat(t[1]):NaN):tg=NaN}else el=Y_=Z_=tg=eg=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ng=i?parseFloat(i[1].replace("_",".")):!0}else ng=!1;X_=!!n[2],Q_=!!n[3]}else ng=X_=Q_=!1}}var n2={ie:function(){return vr()||el},ieCompatibilityMode:function(){return vr()||BR>el},ie64:function(){return n2.ie()&&FR},firefox:function(){return vr()||Y_},opera:function(){return vr()||Z_},webkit:function(){return vr()||eg},safari:function(){return n2.webkit()},chrome:function(){return vr()||tg},windows:function(){return vr()||X_},osx:function(){return vr()||ng},linux:function(){return vr()||Q_},iphone:function(){return vr()||e2},mobile:function(){return vr()||e2||t2||J_||VR},nativeApp:function(){return vr()||zR},android:function(){return vr()||J_},ipad:function(){return vr()||t2}},Pre=n2,Gp=!!(typeof window<"u"&&window.document&&window.document.createElement),Rre={canUseDOM:Gp,canUseWorkers:typeof Worker<"u",canUseEventListeners:Gp&&!!(window.addEventListener||window.attachEvent),canUseViewport:Gp&&!!window.screen,isInWorker:!Gp},HR=Rre,WR;HR.canUseDOM&&(WR=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Dre(e,t){if(!HR.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&WR&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Lre=Dre,I8=10,O8=40,P8=800;function UR(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*I8,i=n*I8,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=O8,i*=O8):(r*=P8,i*=P8)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}UR.getEventType=function(){return Pre.firefox()?"DOMMouseScroll":Lre("wheel")?"wheel":"mousewheel"};var kre=UR;/**
* 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 $re=function(e,t){if(e&&e.addEventListener){const n=function(r){const i=kre(r);t&&Reflect.apply(t,this,[r,i])};e.addEventListener("wheel",n,{passive:!0})}},Nre={beforeMount(e,t){$re(e,t.value)}},Bre=$e({header:{type:String,default:""},bodyStyle:{type:Oe([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),Fre=j({name:"ElCard"}),zre=j({...Fre,props:Bre,setup(e){const t=we("card");return(n,r)=>($(),K("div",{class:U([x(t).b(),x(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?($(),K("div",{key:0,class:U(x(t).e("header"))},[ge(n.$slots,"header",{},()=>[an(Ue(n.header),1)])],2)):_e("v-if",!0),ee("div",{class:U(x(t).e("body")),style:it(n.bodyStyle)},[ge(n.$slots,"default")],6)],2))}});var Vre=Re(zre,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const Hre=At(Vre),GR={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:fo,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},jR={[jt]:e=>Ge(e)||gt(e)||Xn(e),change:e=>Ge(e)||gt(e)||Xn(e)},Gc=Symbol("checkboxGroupContextKey"),Wre=({model:e,isChecked:t})=>{const n=Se(Gc,void 0),r=P(()=>{var a,o;const s=(a=n==null?void 0:n.max)==null?void 0:a.value,l=(o=n==null?void 0:n.min)==null?void 0:o.value;return!gc(s)&&e.value.length>=s&&!t.value||!gc(l)&&e.value.length<=l&&t.value});return{isDisabled:Uc(P(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},Ure=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:i,isLabeledByFormItem:a})=>{const o=Se(Gc,void 0),{formItem:s}=gs(),{emit:l}=Ze();function u(p){var v,m;return p===e.trueLabel||p===!0?(v=e.trueLabel)!=null?v:!0:(m=e.falseLabel)!=null?m:!1}function c(p,v){l("change",u(p),v)}function f(p){if(n.value)return;const v=p.target;l("change",u(v.checked),p)}async function d(p){n.value||!r.value&&!i.value&&a.value&&(p.composedPath().some(g=>g.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ke(),c(t.value,p)))}const h=P(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return ce(()=>e.modelValue,()=>{h.value&&(s==null||s.validate("change").catch(p=>void 0))}),{handleChange:f,onClickRoot:d}},Gre=e=>{const t=N(!1),{emit:n}=Ze(),r=Se(Gc,void 0),i=P(()=>gc(r)===!1),a=N(!1);return{model:P({get(){var s,l;return i.value?(s=r==null?void 0:r.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;i.value&&Ee(s)?(a.value=((l=r==null?void 0:r.max)==null?void 0:l.value)!==void 0&&s.length>(r==null?void 0:r.max.value),a.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,s))):(n(jt,s),t.value=s)}}),isGroup:i,isLimitExceeded:a}},jre=(e,t,{model:n})=>{const r=Se(Gc,void 0),i=N(!1),a=P(()=>{const u=n.value;return Xn(u)?u:Ee(u)?st(e.label)?u.map(rt).some(c=>Kg(c,e.label)):u.map(rt).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=kr(P(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value}),{prop:!0}),s=kr(P(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value})),l=P(()=>!!(t.default||e.label));return{checkboxButtonSize:o,isChecked:a,isFocused:i,checkboxSize:s,hasOwnLabel:l}},qre=(e,{model:t})=>{function n(){Ee(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},qR=(e,t)=>{const{formItem:n}=gs(),{model:r,isGroup:i,isLimitExceeded:a}=Gre(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c}=jre(e,t,{model:r}),{isDisabled:f}=Wre({model:r,isChecked:s}),{inputId:d,isLabeledByFormItem:h}=Zh(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:i}),{handleChange:p,onClickRoot:v}=Ure(e,{model:r,isLimitExceeded:a,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return qre(e,{model:r}),{inputId:d,isLabeledByFormItem:h,isChecked:s,isDisabled:f,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,model:r,handleChange:p,onClickRoot:v}},Kre=["tabindex","role","aria-checked"],Yre=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Zre=["id","aria-hidden","disabled","value","name","tabindex"],Xre=j({name:"ElCheckbox"}),Qre=j({...Xre,props:GR,emits:jR,setup(e){const t=e,n=Qi(),{inputId:r,isLabeledByFormItem:i,isChecked:a,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=qR(t,n),h=we("checkbox"),p=P(()=>[h.b(),h.m(l.value),h.is("disabled",o.value),h.is("bordered",t.border),h.is("checked",a.value)]),v=P(()=>[h.e("input"),h.is("disabled",o.value),h.is("checked",a.value),h.is("indeterminate",t.indeterminate),h.is("focus",s.value)]);return(m,g)=>($(),de(Rt(!x(u)&&x(i)?"span":"label"),{class:U(x(p)),"aria-controls":m.indeterminate?m.controls:null,onClick:x(d)},{default:re(()=>[ee("span",{class:U(x(v)),tabindex:m.indeterminate?0:void 0,role:m.indeterminate?"checkbox":void 0,"aria-checked":m.indeterminate?"mixed":void 0},[m.trueLabel||m.falseLabel?Wt(($(),K("input",{key:0,id:x(r),"onUpdate:modelValue":g[0]||(g[0]=y=>It(c)?c.value=y:null),class:U(x(h).e("original")),type:"checkbox","aria-hidden":m.indeterminate?"true":"false",name:m.name,tabindex:m.tabindex,disabled:x(o),"true-value":m.trueLabel,"false-value":m.falseLabel,onChange:g[1]||(g[1]=(...y)=>x(f)&&x(f)(...y)),onFocus:g[2]||(g[2]=y=>s.value=!0),onBlur:g[3]||(g[3]=y=>s.value=!1)},null,42,Yre)),[[Dl,x(c)]]):Wt(($(),K("input",{key:1,id:x(r),"onUpdate:modelValue":g[4]||(g[4]=y=>It(c)?c.value=y:null),class:U(x(h).e("original")),type:"checkbox","aria-hidden":m.indeterminate?"true":"false",disabled:x(o),value:m.label,name:m.name,tabindex:m.tabindex,onChange:g[5]||(g[5]=(...y)=>x(f)&&x(f)(...y)),onFocus:g[6]||(g[6]=y=>s.value=!0),onBlur:g[7]||(g[7]=y=>s.value=!1)},null,42,Zre)),[[Dl,x(c)]]),ee("span",{class:U(x(h).e("inner"))},null,2)],10,Kre),x(u)?($(),K("span",{key:0,class:U(x(h).e("label"))},[ge(m.$slots,"default"),m.$slots.default?_e("v-if",!0):($(),K(Ye,{key:0},[an(Ue(m.label),1)],64))],2)):_e("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Jre=Re(Qre,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const eie=["name","tabindex","disabled","true-value","false-value"],tie=["name","tabindex","disabled","value"],nie=j({name:"ElCheckboxButton"}),rie=j({...nie,props:GR,emits:jR,setup(e){const t=e,n=Qi(),{isFocused:r,isChecked:i,isDisabled:a,checkboxButtonSize:o,model:s,handleChange:l}=qR(t,n),u=Se(Gc,void 0),c=we("checkbox"),f=P(()=>{var h,p,v,m;const g=(p=(h=u==null?void 0:u.fill)==null?void 0:h.value)!=null?p:"";return{backgroundColor:g,borderColor:g,color:(m=(v=u==null?void 0:u.textColor)==null?void 0:v.value)!=null?m:"",boxShadow:g?`-1px 0 0 0 ${g}`:void 0}}),d=P(()=>[c.b("button"),c.bm("button",o.value),c.is("disabled",a.value),c.is("checked",i.value),c.is("focus",r.value)]);return(h,p)=>($(),K("label",{class:U(x(d))},[h.trueLabel||h.falseLabel?Wt(($(),K("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=v=>It(s)?s.value=v:null),class:U(x(c).be("button","original")),type:"checkbox",name:h.name,tabindex:h.tabindex,disabled:x(a),"true-value":h.trueLabel,"false-value":h.falseLabel,onChange:p[1]||(p[1]=(...v)=>x(l)&&x(l)(...v)),onFocus:p[2]||(p[2]=v=>r.value=!0),onBlur:p[3]||(p[3]=v=>r.value=!1)},null,42,eie)),[[Dl,x(s)]]):Wt(($(),K("input",{key:1,"onUpdate:modelValue":p[4]||(p[4]=v=>It(s)?s.value=v:null),class:U(x(c).be("button","original")),type:"checkbox",name:h.name,tabindex:h.tabindex,disabled:x(a),value:h.label,onChange:p[5]||(p[5]=(...v)=>x(l)&&x(l)(...v)),onFocus:p[6]||(p[6]=v=>r.value=!0),onBlur:p[7]||(p[7]=v=>r.value=!1)},null,42,tie)),[[Dl,x(s)]]),h.$slots.default||h.label?($(),K("span",{key:2,class:U(x(c).be("button","inner")),style:it(x(i)?x(f):void 0)},[ge(h.$slots,"default",{},()=>[an(Ue(h.label),1)])],6)):_e("v-if",!0)],2))}});var KR=Re(rie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const iie=$e({modelValue:{type:Oe(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:fo,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),aie={[jt]:e=>Ee(e),change:e=>Ee(e)},oie=j({name:"ElCheckboxGroup"}),sie=j({...oie,props:iie,emits:aie,setup(e,{emit:t}){const n=e,r=we("checkbox"),{formItem:i}=gs(),{inputId:a,isLabeledByFormItem:o}=Zh(n,{formItemContext:i}),s=async u=>{t(jt,u),await Ke(),t("change",u)},l=P({get(){return n.modelValue},set(u){s(u)}});return _t(Gc,{...QY(Ci(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:l,changeEvent:s}),ce(()=>n.modelValue,()=>{n.validateEvent&&(i==null||i.validate("change").catch(u=>void 0))}),(u,c)=>{var f;return $(),de(Rt(u.tag),{id:x(a),class:U(x(r).b("group")),role:"group","aria-label":x(o)?void 0:u.label||"checkbox-group","aria-labelledby":x(o)?(f=x(i))==null?void 0:f.labelId:void 0},{default:re(()=>[ge(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var YR=Re(sie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const zl=At(Jre,{CheckboxButton:KR,CheckboxGroup:YR});Ln(KR);const lie=Ln(YR),ZR=$e({size:fo,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),uie=$e({...ZR,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),XR={[jt]:e=>Ge(e)||gt(e)||Xn(e),[ds]:e=>Ge(e)||gt(e)||Xn(e)},QR=Symbol("radioGroupKey"),JR=(e,t)=>{const n=N(),r=Se(QR,void 0),i=P(()=>!!r),a=P({get(){return i.value?r.modelValue:e.modelValue},set(c){i.value?r.changeEvent(c):t&&t(jt,c),n.value.checked=e.modelValue===e.label}}),o=kr(P(()=>r==null?void 0:r.size)),s=Uc(P(()=>r==null?void 0:r.disabled)),l=N(!1),u=P(()=>s.value||i.value&&a.value!==e.label?-1:0);return{radioRef:n,isGroup:i,radioGroup:r,focus:l,size:o,disabled:s,tabIndex:u,modelValue:a}},cie=["value","name","disabled"],fie=j({name:"ElRadio"}),die=j({...fie,props:uie,emits:XR,setup(e,{emit:t}){const n=e,r=we("radio"),{radioRef:i,radioGroup:a,focus:o,size:s,disabled:l,modelValue:u}=JR(n,t);function c(){Ke(()=>t("change",u.value))}return(f,d)=>{var h;return $(),K("label",{class:U([x(r).b(),x(r).is("disabled",x(l)),x(r).is("focus",x(o)),x(r).is("bordered",f.border),x(r).is("checked",x(u)===f.label),x(r).m(x(s))])},[ee("span",{class:U([x(r).e("input"),x(r).is("disabled",x(l)),x(r).is("checked",x(u)===f.label)])},[Wt(ee("input",{ref_key:"radioRef",ref:i,"onUpdate:modelValue":d[0]||(d[0]=p=>It(u)?u.value=p:null),class:U(x(r).e("original")),value:f.label,name:f.name||((h=x(a))==null?void 0:h.name),disabled:x(l),type:"radio",onFocus:d[1]||(d[1]=p=>o.value=!0),onBlur:d[2]||(d[2]=p=>o.value=!1),onChange:c},null,42,cie),[[Hh,x(u)]]),ee("span",{class:U(x(r).e("inner"))},null,2)],2),ee("span",{class:U(x(r).e("label")),onKeydown:d[3]||(d[3]=dn(()=>{},["stop"]))},[ge(f.$slots,"default",{},()=>[an(Ue(f.label),1)])],34)],2)}}});var hie=Re(die,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const pie=$e({...ZR,name:{type:String,default:""}}),vie=["value","name","disabled"],gie=j({name:"ElRadioButton"}),mie=j({...gie,props:pie,setup(e){const t=e,n=we("radio"),{radioRef:r,focus:i,size:a,disabled:o,modelValue:s,radioGroup:l}=JR(t),u=P(()=>({backgroundColor:(l==null?void 0:l.fill)||"",borderColor:(l==null?void 0:l.fill)||"",boxShadow:l!=null&&l.fill?`-1px 0 0 0 ${l.fill}`:"",color:(l==null?void 0:l.textColor)||""}));return(c,f)=>{var d;return $(),K("label",{class:U([x(n).b("button"),x(n).is("active",x(s)===c.label),x(n).is("disabled",x(o)),x(n).is("focus",x(i)),x(n).bm("button",x(a))])},[Wt(ee("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":f[0]||(f[0]=h=>It(s)?s.value=h:null),class:U(x(n).be("button","original-radio")),value:c.label,type:"radio",name:c.name||((d=x(l))==null?void 0:d.name),disabled:x(o),onFocus:f[1]||(f[1]=h=>i.value=!0),onBlur:f[2]||(f[2]=h=>i.value=!1)},null,42,vie),[[Hh,x(s)]]),ee("span",{class:U(x(n).be("button","inner")),style:it(x(s)===c.label?x(u):{}),onKeydown:f[3]||(f[3]=dn(()=>{},["stop"]))},[ge(c.$slots,"default",{},()=>[an(Ue(c.label),1)])],38)],2)}}});var eD=Re(mie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const yie=$e({id:{type:String,default:void 0},size:fo,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),bie=XR,_ie=["id","aria-label","aria-labelledby"],wie=j({name:"ElRadioGroup"}),Sie=j({...wie,props:yie,emits:bie,setup(e,{emit:t}){const n=e,r=we("radio"),i=ro(),a=N(),{formItem:o}=gs(),{inputId:s,isLabeledByFormItem:l}=Zh(n,{formItemContext:o}),u=f=>{t(jt,f),Ke(()=>t("change",f))};dt(()=>{const f=a.value.querySelectorAll("[type=radio]"),d=f[0];!Array.from(f).some(h=>h.checked)&&d&&(d.tabIndex=0)});const c=P(()=>n.name||i.value);return _t(QR,Qt({...Ci(n),changeEvent:u,name:c})),ce(()=>n.modelValue,()=>{n.validateEvent&&(o==null||o.validate("change").catch(f=>void 0))}),(f,d)=>($(),K("div",{id:x(s),ref_key:"radioGroupRef",ref:a,class:U(x(r).b("group")),role:"radiogroup","aria-label":x(l)?void 0:f.label||"radio-group","aria-labelledby":x(l)?x(o).labelId:void 0},[ge(f.$slots,"default")],10,_ie))}});var tD=Re(Sie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const Cie=At(hie,{RadioButton:eD,RadioGroup:tD}),xie=Ln(tD),Tie=Ln(eD),nD=$e({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:Oa,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Eie={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Aie=j({name:"ElTag"}),Mie=j({...Aie,props:nD,emits:Eie,setup(e,{emit:t}){const n=e,r=kr(),i=we("tag"),a=P(()=>{const{type:l,hit:u,effect:c,closable:f,round:d}=n;return[i.b(),i.is("closable",f),i.m(l),i.m(r.value),i.m(c),i.is("hit",u),i.is("round",d)]}),o=l=>{t("close",l)},s=l=>{t("click",l)};return(l,u)=>l.disableTransitions?($(),K("span",{key:0,class:U(x(a)),style:it({backgroundColor:l.color}),onClick:s},[ee("span",{class:U(x(i).e("content"))},[ge(l.$slots,"default")],2),l.closable?($(),de(x(yt),{key:0,class:U(x(i).e("close")),onClick:dn(o,["stop"])},{default:re(()=>[ie(x(Xd))]),_:1},8,["class","onClick"])):_e("v-if",!0)],6)):($(),de(Qn,{key:1,name:`${x(i).namespace.value}-zoom-in-center`,appear:""},{default:re(()=>[ee("span",{class:U(x(a)),style:it({backgroundColor:l.color}),onClick:s},[ee("span",{class:U(x(i).e("content"))},[ge(l.$slots,"default")],2),l.closable?($(),de(x(yt),{key:0,class:U(x(i).e("close")),onClick:dn(o,["stop"])},{default:re(()=>[ie(x(Xd))]),_:1},8,["class","onClick"])):_e("v-if",!0)],6)]),_:3},8,["name"]))}});var Iie=Re(Mie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const rD=At(Iie),iD=Symbol("rowContextKey"),Oie=["start","center","end","space-around","space-between","space-evenly"],Pie=["top","middle","bottom"],Rie=$e({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Oie,default:"start"},align:{type:String,values:Pie,default:"top"}}),Die=j({name:"ElRow"}),Lie=j({...Die,props:Rie,setup(e){const t=e,n=we("row"),r=P(()=>t.gutter);_t(iD,{gutter:r});const i=P(()=>{const o={};return t.gutter&&(o.marginRight=o.marginLeft=`-${t.gutter/2}px`),o}),a=P(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,t.align!=="top")]);return(o,s)=>($(),de(Rt(o.tag),{class:U(x(a)),style:it(x(i))},{default:re(()=>[ge(o.$slots,"default")]),_:3},8,["class","style"]))}});var kie=Re(Lie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const $ie=At(kie),Nie=$e({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:Oe([Number,Object]),default:()=>Ur({})},sm:{type:Oe([Number,Object]),default:()=>Ur({})},md:{type:Oe([Number,Object]),default:()=>Ur({})},lg:{type:Oe([Number,Object]),default:()=>Ur({})},xl:{type:Oe([Number,Object]),default:()=>Ur({})}}),Bie=j({name:"ElCol"}),Fie=j({...Bie,props:Nie,setup(e){const t=e,{gutter:n}=Se(iD,{gutter:P(()=>0)}),r=we("col"),i=P(()=>{const o={};return n.value&&(o.paddingLeft=o.paddingRight=`${n.value/2}px`),o}),a=P(()=>{const o=[];return["span","offset","pull","push"].forEach(u=>{const c=t[u];gt(c)&&(u==="span"?o.push(r.b(`${t[u]}`)):c>0&&o.push(r.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{gt(t[u])?o.push(r.b(`${u}-${t[u]}`)):st(t[u])&&Object.entries(t[u]).forEach(([c,f])=>{o.push(c!=="span"?r.b(`${u}-${c}-${f}`):r.b(`${u}-${f}`))})}),n.value&&o.push(r.is("guttered")),[r.b(),o]});return(o,s)=>($(),de(Rt(o.tag),{class:U(x(a)),style:it(x(i))},{default:re(()=>[ge(o.$slots,"default")]),_:3},8,["class","style"]))}});var zie=Re(Fie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const Vie=At(zie),R8=e=>typeof gt(e),Hie=$e({accordion:Boolean,modelValue:{type:Oe([Array,String,Number]),default:()=>Ur([])}}),Wie={[jt]:R8,[ds]:R8},aD=Symbol("collapseContextKey"),Uie=(e,t)=>{const n=N(Yd(e.modelValue)),r=a=>{n.value=a;const o=e.accordion?n.value[0]:n.value;t(jt,o),t(ds,o)},i=a=>{if(e.accordion)r([n.value[0]===a?"":a]);else{const o=[...n.value],s=o.indexOf(a);s>-1?o.splice(s,1):o.push(a),r(o)}};return ce(()=>e.modelValue,()=>n.value=Yd(e.modelValue),{deep:!0}),_t(aD,{activeNames:n,handleItemClick:i}),{activeNames:n,setActiveNames:r}},Gie=()=>{const e=we("collapse");return{rootKls:P(()=>e.b())}},jie=j({name:"ElCollapse"}),qie=j({...jie,props:Hie,emits:Wie,setup(e,{expose:t,emit:n}){const r=e,{activeNames:i,setActiveNames:a}=Uie(r,n),{rootKls:o}=Gie();return t({activeNames:i,setActiveNames:a}),(s,l)=>($(),K("div",{class:U(x(o)),role:"tablist","aria-multiselectable":"true"},[ge(s.$slots,"default")],2))}});var Kie=Re(qie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const Yie=j({name:"ElCollapseTransition"}),Zie=j({...Yie,setup(e){const t=we("collapse-transition"),n={beforeEnter(r){r.dataset||(r.dataset={}),r.dataset.oldPaddingTop=r.style.paddingTop,r.dataset.oldPaddingBottom=r.style.paddingBottom,r.style.maxHeight=0,r.style.paddingTop=0,r.style.paddingBottom=0},enter(r){r.dataset.oldOverflow=r.style.overflow,r.scrollHeight!==0?(r.style.maxHeight=`${r.scrollHeight}px`,r.style.paddingTop=r.dataset.oldPaddingTop,r.style.paddingBottom=r.dataset.oldPaddingBottom):(r.style.maxHeight=0,r.style.paddingTop=r.dataset.oldPaddingTop,r.style.paddingBottom=r.dataset.oldPaddingBottom),r.style.overflow="hidden"},afterEnter(r){r.style.maxHeight="",r.style.overflow=r.dataset.oldOverflow},beforeLeave(r){r.dataset||(r.dataset={}),r.dataset.oldPaddingTop=r.style.paddingTop,r.dataset.oldPaddingBottom=r.style.paddingBottom,r.dataset.oldOverflow=r.style.overflow,r.style.maxHeight=`${r.scrollHeight}px`,r.style.overflow="hidden"},leave(r){r.scrollHeight!==0&&(r.style.maxHeight=0,r.style.paddingTop=0,r.style.paddingBottom=0)},afterLeave(r){r.style.maxHeight="",r.style.overflow=r.dataset.oldOverflow,r.style.paddingTop=r.dataset.oldPaddingTop,r.style.paddingBottom=r.dataset.oldPaddingBottom}};return(r,i)=>($(),de(Qn,on({name:x(t).b()},lP(n)),{default:re(()=>[ge(r.$slots,"default")]),_:3},16,["name"]))}});var rg=Re(Zie,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);rg.install=e=>{e.component(rg.name,rg)};const oD=rg,Xie=$e({title:{type:String,default:""},name:{type:Oe([String,Number]),default:()=>H7()},disabled:Boolean}),Qie=e=>{const t=Se(aD),n=N(!1),r=N(!1),i=N(H7()),a=P(()=>t==null?void 0:t.activeNames.value.includes(e.name));return{focusing:n,id:i,isActive:a,handleFocus:()=>{setTimeout(()=>{r.value?r.value=!1:n.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t==null||t.handleItemClick(e.name),n.value=!1,r.value=!0)},handleEnterClick:()=>{t==null||t.handleItemClick(e.name)}}},Jie=(e,{focusing:t,isActive:n,id:r})=>{const i=we("collapse"),a=P(()=>[i.b("item"),i.is("active",x(n)),i.is("disabled",e.disabled)]),o=P(()=>[i.be("item","header"),i.is("active",x(n)),{focusing:x(t)&&!e.disabled}]),s=P(()=>[i.be("item","arrow"),i.is("active",x(n))]),l=P(()=>i.be("item","wrap")),u=P(()=>i.be("item","content")),c=P(()=>i.b(`content-${x(r)}`)),f=P(()=>i.b(`head-${x(r)}`));return{arrowKls:s,headKls:o,rootKls:a,itemWrapperKls:l,itemContentKls:u,scopedContentId:c,scopedHeadId:f}},eae=["aria-expanded","aria-controls","aria-describedby"],tae=["id","tabindex"],nae=["id","aria-hidden","aria-labelledby"],rae=j({name:"ElCollapseItem"}),iae=j({...rae,props:Xie,setup(e,{expose:t}){const n=e,{focusing:r,id:i,isActive:a,handleFocus:o,handleHeaderClick:s,handleEnterClick:l}=Qie(n),{arrowKls:u,headKls:c,rootKls:f,itemWrapperKls:d,itemContentKls:h,scopedContentId:p,scopedHeadId:v}=Jie(n,{focusing:r,isActive:a,id:i});return t({isActive:a}),(m,g)=>($(),K("div",{class:U(x(f))},[ee("div",{role:"tab","aria-expanded":x(a),"aria-controls":x(p),"aria-describedby":x(p)},[ee("div",{id:x(v),class:U(x(c)),role:"button",tabindex:m.disabled?-1:0,onClick:g[0]||(g[0]=(...y)=>x(s)&&x(s)(...y)),onKeypress:g[1]||(g[1]=or(dn((...y)=>x(l)&&x(l)(...y),["stop","prevent"]),["space","enter"])),onFocus:g[2]||(g[2]=(...y)=>x(o)&&x(o)(...y)),onBlur:g[3]||(g[3]=y=>r.value=!1)},[ge(m.$slots,"title",{},()=>[an(Ue(m.title),1)]),ie(x(yt),{class:U(x(u))},{default:re(()=>[ie(x(Hc))]),_:1},8,["class"])],42,tae)],8,eae),ie(x(oD),null,{default:re(()=>[Wt(ee("div",{id:x(p),class:U(x(d)),role:"tabpanel","aria-hidden":!x(a),"aria-labelledby":x(v)},[ee("div",{class:U(x(h))},[ge(m.$slots,"default")],2)],10,nae),[[Dn,x(a)]])]),_:3})],2))}});var sD=Re(iae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const aae=At(Kie,{CollapseItem:sD}),oae=Ln(sD),TC=Symbol("elDescriptions");var cf=j({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String},type:{type:String}},setup(){return{descriptions:Se(TC,{})}},render(){var e,t,n,r,i,a;const o=AQ(this.cell),{border:s,direction:l}=this.descriptions,u=l==="vertical",c=((n=(t=(e=this.cell)==null?void 0:e.children)==null?void 0:t.label)==null?void 0:n.call(t))||o.label,f=(a=(i=(r=this.cell)==null?void 0:r.children)==null?void 0:i.default)==null?void 0:a.call(i),d=o.span,h=o.align?`is-${o.align}`:"",p=o.labelAlign?`is-${o.labelAlign}`:h,v=o.className,m=o.labelClassName,g={width:Jn(o.width),minWidth:Jn(o.minWidth)},y=we("descriptions");switch(this.type){case"label":return be(this.tag,{style:g,class:[y.e("cell"),y.e("label"),y.is("bordered-label",s),y.is("vertical-label",u),p,m],colSpan:u?d:1},c);case"content":return be(this.tag,{style:g,class:[y.e("cell"),y.e("content"),y.is("bordered-content",s),y.is("vertical-content",u),h,v],colSpan:u?d:d*2-1},f);default:return be("td",{style:g,class:[y.e("cell"),h],colSpan:d},[$l(c)?void 0:be("span",{class:[y.e("label"),m]},c),be("span",{class:[y.e("content"),v]},f)])}}});const sae=$e({row:{type:Array,default:()=>[]}}),lae={key:1},uae=j({name:"ElDescriptionsRow"}),cae=j({...uae,props:sae,setup(e){const t=Se(TC,{});return(n,r)=>x(t).direction==="vertical"?($(),K(Ye,{key:0},[ee("tr",null,[($(!0),K(Ye,null,Er(n.row,(i,a)=>($(),de(x(cf),{key:`tr1-${a}`,cell:i,tag:"th",type:"label"},null,8,["cell"]))),128))]),ee("tr",null,[($(!0),K(Ye,null,Er(n.row,(i,a)=>($(),de(x(cf),{key:`tr2-${a}`,cell:i,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):($(),K("tr",lae,[($(!0),K(Ye,null,Er(n.row,(i,a)=>($(),K(Ye,{key:`tr3-${a}`},[x(t).border?($(),K(Ye,{key:0},[ie(x(cf),{cell:i,tag:"td",type:"label"},null,8,["cell"]),ie(x(cf),{cell:i,tag:"td",type:"content"},null,8,["cell"])],64)):($(),de(x(cf),{key:1,cell:i,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var fae=Re(cae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const dae=$e({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:fo,title:{type:String,default:""},extra:{type:String,default:""}}),hae=j({name:"ElDescriptions"}),pae=j({...hae,props:dae,setup(e){const t=e,n=we("descriptions"),r=kr(),i=Qi();_t(TC,t);const a=P(()=>[n.b(),n.m(r.value)]),o=(l,u,c,f=!1)=>(l.props||(l.props={}),u>c&&(l.props.span=c),f&&(l.props.span=u),l),s=()=>{var l;const u=Ju((l=i.default)==null?void 0:l.call(i)).filter(p=>{var v;return((v=p==null?void 0:p.type)==null?void 0:v.name)==="ElDescriptionsItem"}),c=[];let f=[],d=t.column,h=0;return u.forEach((p,v)=>{var m;const g=((m=p.props)==null?void 0:m.span)||1;if(v<u.length-1&&(h+=g>d?d:g),v===u.length-1){const y=t.column-h%t.column;f.push(o(p,y,d,!0)),c.push(f);return}g<d?(d-=g,f.push(p)):(f.push(o(p,g,d)),c.push(f),d=t.column,f=[])}),c};return(l,u)=>($(),K("div",{class:U(x(a))},[l.title||l.extra||l.$slots.title||l.$slots.extra?($(),K("div",{key:0,class:U(x(n).e("header"))},[ee("div",{class:U(x(n).e("title"))},[ge(l.$slots,"title",{},()=>[an(Ue(l.title),1)])],2),ee("div",{class:U(x(n).e("extra"))},[ge(l.$slots,"extra",{},()=>[an(Ue(l.extra),1)])],2)],2)):_e("v-if",!0),ee("div",{class:U(x(n).e("body"))},[ee("table",{class:U([x(n).e("table"),x(n).is("bordered",l.border)])},[ee("tbody",null,[($(!0),K(Ye,null,Er(s(),(c,f)=>($(),de(fae,{key:f,row:c},null,8,["row"]))),128))])],2)],2)],2))}});var vae=Re(pae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]),lD=j({name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}});const gae=At(vae,{DescriptionsItem:lD}),mae=Ln(lD),yae=$e({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Oe([String,Array,Object])},zIndex:{type:Oe([String,Number])}}),bae={click:e=>e instanceof MouseEvent},_ae="overlay";var wae=j({name:"ElOverlay",props:yae,emits:bae,setup(e,{slots:t,emit:n}){const r=we(_ae),i=l=>{n("click",l)},{onClick:a,onMousedown:o,onMouseup:s}=aR(e.customMaskEvent?void 0:i);return()=>e.mask?ie("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:a,onMousedown:o,onMouseup:s},[ge(t,"default")],ai.STYLE|ai.CLASS|ai.PROPS,["onClick","onMouseup","onMousedown"]):be("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ge(t,"default")])}});const Sae=wae,uD=Symbol("dialogInjectionKey"),cD=$e({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:un},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),Cae={close:()=>!0},xae=["aria-label"],Tae=["id"],Eae=j({name:"ElDialogContent"}),Aae=j({...Eae,props:cD,emits:Cae,setup(e){const t=e,{t:n}=Hn(),{Close:r}=bQ,{dialogRef:i,headerRef:a,bodyId:o,ns:s,style:l}=Se(uD),{focusTrapRef:u}=Se(_C),c=lC(u,i),f=P(()=>t.draggable);return PQ(i,a,f),(d,h)=>($(),K("div",{ref:x(c),class:U([x(s).b(),x(s).is("fullscreen",d.fullscreen),x(s).is("draggable",x(f)),x(s).is("align-center",d.alignCenter),{[x(s).m("center")]:d.center},d.customClass]),style:it(x(l)),tabindex:"-1"},[ee("header",{ref_key:"headerRef",ref:a,class:U(x(s).e("header"))},[ge(d.$slots,"header",{},()=>[ee("span",{role:"heading",class:U(x(s).e("title"))},Ue(d.title),3)]),d.showClose?($(),K("button",{key:0,"aria-label":x(n)("el.dialog.close"),class:U(x(s).e("headerbtn")),type:"button",onClick:h[0]||(h[0]=p=>d.$emit("close"))},[ie(x(yt),{class:U(x(s).e("close"))},{default:re(()=>[($(),de(Rt(d.closeIcon||x(r))))]),_:1},8,["class"])],10,xae)):_e("v-if",!0)],2),ee("div",{id:x(o),class:U(x(s).e("body"))},[ge(d.$slots,"default")],10,Tae),d.$slots.footer?($(),K("footer",{key:0,class:U(x(s).e("footer"))},[ge(d.$slots,"footer")],2)):_e("v-if",!0)],6))}});var Mae=Re(Aae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Iae=$e({...cD,appendToBody:{type:Boolean,default:!1},beforeClose:{type:Oe(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),Oae={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[jt]:e=>Xn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Pae=(e,t)=>{const r=Ze().emit,{nextZIndex:i}=C0();let a="";const o=ro(),s=ro(),l=N(!1),u=N(!1),c=N(!1),f=N(e.zIndex||i());let d,h;const p=x0("namespace",Zg),v=P(()=>{const D={},F=`--${p.value}-dialog`;return e.fullscreen||(e.top&&(D[`${F}-margin-top`]=e.top),e.width&&(D[`${F}-width`]=Jn(e.width))),D}),m=P(()=>e.alignCenter?{display:"flex"}:{});function g(){r("opened")}function y(){r("closed"),r(jt,!1),e.destroyOnClose&&(c.value=!1)}function _(){r("close")}function b(){h==null||h(),d==null||d(),e.openDelay&&e.openDelay>0?{stop:d}=Ud(()=>T(),e.openDelay):T()}function S(){d==null||d(),h==null||h(),e.closeDelay&&e.closeDelay>0?{stop:h}=Ud(()=>E(),e.closeDelay):E()}function w(){function D(F){F||(u.value=!0,l.value=!1)}e.beforeClose?e.beforeClose(D):S()}function C(){e.closeOnClickModal&&w()}function T(){kt&&(l.value=!0)}function E(){l.value=!1}function M(){r("openAutoFocus")}function A(){r("closeAutoFocus")}function I(D){var F;((F=D.detail)==null?void 0:F.focusReason)==="pointer"&&D.preventDefault()}e.lockScroll&&BQ(l);function O(){e.closeOnPressEscape&&w()}return ce(()=>e.modelValue,D=>{D?(u.value=!1,b(),c.value=!0,f.value=e.zIndex?f.value++:i(),Ke(()=>{r("open"),t.value&&(t.value.scrollTop=0)})):l.value&&S()}),ce(()=>e.fullscreen,D=>{t.value&&(D?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)}),dt(()=>{e.modelValue&&(l.value=!0,c.value=!0,b())}),{afterEnter:g,afterLeave:y,beforeLeave:_,handleClose:w,onModalClick:C,close:S,doClose:E,onOpenAutoFocus:M,onCloseAutoFocus:A,onCloseRequested:O,onFocusoutPrevented:I,titleId:o,bodyId:s,closed:u,style:v,overlayDialogStyle:m,rendered:c,visible:l,zIndex:f}},Rae=["aria-label","aria-labelledby","aria-describedby"],Dae=j({name:"ElDialog",inheritAttrs:!1}),Lae=j({...Dae,props:Iae,emits:Oae,setup(e,{expose:t}){const n=e,r=Qi();Bl({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},P(()=>!!r.title)),Bl({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},P(()=>!!n.customClass));const i=we("dialog"),a=N(),o=N(),s=N(),{visible:l,titleId:u,bodyId:c,style:f,overlayDialogStyle:d,rendered:h,zIndex:p,afterEnter:v,afterLeave:m,beforeLeave:g,handleClose:y,onModalClick:_,onOpenAutoFocus:b,onCloseAutoFocus:S,onCloseRequested:w,onFocusoutPrevented:C}=Pae(n,a);_t(uD,{dialogRef:a,headerRef:o,bodyId:c,ns:i,rendered:h,style:f});const T=aR(_),E=P(()=>n.draggable&&!n.fullscreen);return t({visible:l,dialogContentRef:s}),(M,A)=>($(),de(zS,{to:"body",disabled:!M.appendToBody},[ie(Qn,{name:"dialog-fade",onAfterEnter:x(v),onAfterLeave:x(m),onBeforeLeave:x(g),persisted:""},{default:re(()=>[Wt(ie(x(Sae),{"custom-mask-event":"",mask:M.modal,"overlay-class":M.modalClass,"z-index":x(p)},{default:re(()=>[ee("div",{role:"dialog","aria-modal":"true","aria-label":M.title||void 0,"aria-labelledby":M.title?void 0:x(u),"aria-describedby":x(c),class:U(`${x(i).namespace.value}-overlay-dialog`),style:it(x(d)),onClick:A[0]||(A[0]=(...I)=>x(T).onClick&&x(T).onClick(...I)),onMousedown:A[1]||(A[1]=(...I)=>x(T).onMousedown&&x(T).onMousedown(...I)),onMouseup:A[2]||(A[2]=(...I)=>x(T).onMouseup&&x(T).onMouseup(...I))},[ie(x(ER),{loop:"",trapped:x(l),"focus-start-el":"container",onFocusAfterTrapped:x(b),onFocusAfterReleased:x(S),onFocusoutPrevented:x(C),onReleaseRequested:x(w)},{default:re(()=>[x(h)?($(),de(Mae,on({key:0,ref_key:"dialogContentRef",ref:s},M.$attrs,{"custom-class":M.customClass,center:M.center,"align-center":M.alignCenter,"close-icon":M.closeIcon,draggable:x(E),fullscreen:M.fullscreen,"show-close":M.showClose,title:M.title,onClose:x(y)}),Vh({header:re(()=>[M.$slots.title?ge(M.$slots,"title",{key:1}):ge(M.$slots,"header",{key:0,close:x(y),titleId:x(u),titleClass:x(i).e("title")})]),default:re(()=>[ge(M.$slots,"default")]),_:2},[M.$slots.footer?{name:"footer",fn:re(()=>[ge(M.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):_e("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Rae)]),_:3},8,["mask","overlay-class","z-index"]),[[Dn,x(l)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var kae=Re(Lae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const $ae=At(kae),Nae=$e({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Oe(String),default:"solid"}}),Bae=j({name:"ElDivider"}),Fae=j({...Bae,props:Nae,setup(e){const t=e,n=we("divider"),r=P(()=>n.cssVar({"border-style":t.borderStyle}));return(i,a)=>($(),K("div",{class:U([x(n).b(),x(n).m(i.direction)]),style:it(x(r)),role:"separator"},[i.$slots.default&&i.direction!=="vertical"?($(),K("div",{key:0,class:U([x(n).e("text"),x(n).is(i.contentPosition)])},[ge(i.$slots,"default")],2)):_e("v-if",!0)],6))}});var zae=Re(Fae,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const Vae=At(zae),Hae=j({inheritAttrs:!1});function Wae(e,t,n,r,i,a){return ge(e.$slots,"default")}var Uae=Re(Hae,[["render",Wae],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const Gae=j({name:"ElCollectionItem",inheritAttrs:!1});function jae(e,t,n,r,i,a){return ge(e.$slots,"default")}var qae=Re(Gae,[["render",jae],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const fD="data-el-collection-item",dD=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),i=Symbol(n),a={...Uae,name:t,setup(){const s=N(null),l=new Map;_t(r,{itemMap:l,getItems:()=>{const c=x(s);if(!c)return[];const f=Array.from(c.querySelectorAll(`[${fD}]`));return[...l.values()].sort((h,p)=>f.indexOf(h.ref)-f.indexOf(p.ref))},collectionRef:s})}},o={...qae,name:n,setup(s,{attrs:l}){const u=N(null),c=Se(r,void 0);_t(i,{collectionItemRef:u}),dt(()=>{const f=x(u);f&&c.itemMap.set(f,{ref:f,...l})}),cn(()=>{const f=x(u);c.itemMap.delete(f)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:a,ElCollectionItem:o}},Kae=$e({style:{type:Oe([String,Array,Object])},currentTabId:{type:Oe(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Oe(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Yae,ElCollectionItem:Zae,COLLECTION_INJECTION_KEY:EC,COLLECTION_ITEM_INJECTION_KEY:Xae}=dD("RovingFocusGroup"),AC=Symbol("elRovingFocusGroup"),hD=Symbol("elRovingFocusGroupItem"),Qae={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Jae=(e,t)=>{if(t!=="rtl")return e;switch(e){case lt.right:return lt.left;case lt.left:return lt.right;default:return e}},eoe=(e,t,n)=>{const r=Jae(e.key,n);if(!(t==="vertical"&&[lt.left,lt.right].includes(r))&&!(t==="horizontal"&&[lt.up,lt.down].includes(r)))return Qae[r]},toe=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),MC=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},D8="currentTabIdChange",L8="rovingFocusGroup.entryFocus",noe={bubbles:!1,cancelable:!0},roe=j({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:Kae,emits:[D8,"entryFocus"],setup(e,{emit:t}){var n;const r=N((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),i=N(!1),a=N(!1),o=N(null),{getItems:s}=Se(EC,void 0),l=P(()=>[{outline:"none"},e.style]),u=v=>{t(D8,v)},c=()=>{i.value=!0},f=bn(v=>{var m;(m=e.onMousedown)==null||m.call(e,v)},()=>{a.value=!0}),d=bn(v=>{var m;(m=e.onFocus)==null||m.call(e,v)},v=>{const m=!x(a),{target:g,currentTarget:y}=v;if(g===y&&m&&!x(i)){const _=new Event(L8,noe);if(y==null||y.dispatchEvent(_),!_.defaultPrevented){const b=s().filter(E=>E.focusable),S=b.find(E=>E.active),w=b.find(E=>E.id===x(r)),T=[S,w,...b].filter(Boolean).map(E=>E.ref);MC(T)}}a.value=!1}),h=bn(v=>{var m;(m=e.onBlur)==null||m.call(e,v)},()=>{i.value=!1}),p=(...v)=>{t("entryFocus",...v)};_t(AC,{currentTabbedId:oo(r),loop:pn(e,"loop"),tabIndex:P(()=>x(i)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:l,orientation:pn(e,"orientation"),dir:pn(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:h,onFocus:d,onMousedown:f}),ce(()=>e.currentTabId,v=>{r.value=v??null}),Ar(o,L8,p)}});function ioe(e,t,n,r,i,a){return ge(e.$slots,"default")}var aoe=Re(roe,[["render",ioe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const ooe=j({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Yae,ElRovingFocusGroupImpl:aoe}});function soe(e,t,n,r,i,a){const o=et("el-roving-focus-group-impl"),s=et("el-focus-group-collection");return $(),de(s,null,{default:re(()=>[ie(o,wO(VS(e.$attrs)),{default:re(()=>[ge(e.$slots,"default")]),_:3},16)]),_:3})}var loe=Re(ooe,[["render",soe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const uoe=j({components:{ElRovingFocusCollectionItem:Zae},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:i,onItemShiftTab:a}=Se(AC,void 0),{getItems:o}=Se(EC,void 0),s=ro(),l=N(null),u=bn(h=>{t("mousedown",h)},h=>{e.focusable?i(x(s)):h.preventDefault()}),c=bn(h=>{t("focus",h)},()=>{i(x(s))}),f=bn(h=>{t("keydown",h)},h=>{const{key:p,shiftKey:v,target:m,currentTarget:g}=h;if(p===lt.tab&&v){a();return}if(m!==g)return;const y=eoe(h);if(y){h.preventDefault();let b=o().filter(S=>S.focusable).map(S=>S.ref);switch(y){case"last":{b.reverse();break}case"prev":case"next":{y==="prev"&&b.reverse();const S=b.indexOf(g);b=r.value?toe(b,S+1):b.slice(S+1);break}}Ke(()=>{MC(b)})}}),d=P(()=>n.value===x(s));return _t(hD,{rovingFocusGroupItemRef:l,tabIndex:P(()=>x(d)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:f}),{id:s,handleKeydown:f,handleFocus:c,handleMousedown:u}}});function coe(e,t,n,r,i,a){const o=et("el-roving-focus-collection-item");return $(),de(o,{id:e.id,focusable:e.focusable,active:e.active},{default:re(()=>[ge(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var foe=Re(uoe,[["render",coe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const ig=$e({trigger:th.trigger,effect:{...sr.effect,default:"light"},type:{type:Oe(String)},placement:{type:Oe(String),default:"bottom"},popperOptions:{type:Oe(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Oe([Number,String]),default:0},maxHeight:{type:Oe([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Oe(Object)},teleported:sr.teleported}),pD=$e({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:un}}),doe=$e({onKeydown:{type:Oe(Function)}}),hoe=[lt.down,lt.pageDown,lt.home],vD=[lt.up,lt.pageUp,lt.end],poe=[...hoe,...vD],{ElCollection:voe,ElCollectionItem:goe,COLLECTION_INJECTION_KEY:moe,COLLECTION_ITEM_INJECTION_KEY:yoe}=dD("Dropdown"),E0=Symbol("elDropdown"),{ButtonGroup:boe}=nh,_oe=j({name:"ElDropdown",components:{ElButton:nh,ElButtonGroup:boe,ElScrollbar:Qh,ElDropdownCollection:voe,ElTooltip:ms,ElRovingFocusGroup:loe,ElOnlyChild:SR,ElIcon:yt,ArrowDown:y0},props:ig,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Ze(),r=we("dropdown"),{t:i}=Hn(),a=N(),o=N(),s=N(null),l=N(null),u=N(null),c=N(null),f=N(!1),d=[lt.enter,lt.space,lt.down],h=P(()=>({maxHeight:Jn(e.maxHeight)})),p=P(()=>[r.m(b.value)]),v=ro().value,m=P(()=>e.id||v);ce([a,pn(e,"trigger")],([k,H],[V])=>{var z,q,ae;const oe=Ee(H)?H:[H];(z=V==null?void 0:V.$el)!=null&&z.removeEventListener&&V.$el.removeEventListener("pointerenter",w),(q=k==null?void 0:k.$el)!=null&&q.removeEventListener&&k.$el.removeEventListener("pointerenter",w),(ae=k==null?void 0:k.$el)!=null&&ae.addEventListener&&oe.includes("hover")&&k.$el.addEventListener("pointerenter",w)},{immediate:!0}),cn(()=>{var k,H;(H=(k=a.value)==null?void 0:k.$el)!=null&&H.removeEventListener&&a.value.$el.removeEventListener("pointerenter",w)});function g(){y()}function y(){var k;(k=s.value)==null||k.onClose()}function _(){var k;(k=s.value)==null||k.onOpen()}const b=kr();function S(...k){t("command",...k)}function w(){var k,H;(H=(k=a.value)==null?void 0:k.$el)==null||H.focus()}function C(){}function T(){const k=x(l);k==null||k.focus(),c.value=null}function E(k){c.value=k}function M(k){f.value||(k.preventDefault(),k.stopImmediatePropagation())}function A(){t("visible-change",!0)}function I(k){(k==null?void 0:k.type)==="keydown"&&l.value.focus()}function O(){t("visible-change",!1)}return _t(E0,{contentRef:l,role:P(()=>e.role),triggerId:m,isUsingKeyboard:f,onItemEnter:C,onItemLeave:T}),_t("elDropdown",{instance:n,dropdownSize:b,handleClick:g,commandHandler:S,trigger:pn(e,"trigger"),hideOnClick:pn(e,"hideOnClick")}),{t:i,ns:r,scrollbar:u,wrapStyle:h,dropdownTriggerKls:p,dropdownSize:b,triggerId:m,triggerKeys:d,currentTabId:c,handleCurrentTabIdChange:E,handlerMainButtonClick:k=>{t("click",k)},handleEntryFocus:M,handleClose:y,handleOpen:_,handleBeforeShowTooltip:A,handleShowTooltip:I,handleBeforeHideTooltip:O,onFocusAfterTrapped:k=>{var H,V;k.preventDefault(),(V=(H=l.value)==null?void 0:H.focus)==null||V.call(H,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:a,referenceElementRef:o}}});function woe(e,t,n,r,i,a){var o;const s=et("el-dropdown-collection"),l=et("el-roving-focus-group"),u=et("el-scrollbar"),c=et("el-only-child"),f=et("el-tooltip"),d=et("el-button"),h=et("arrow-down"),p=et("el-icon"),v=et("el-button-group");return $(),K("div",{class:U([e.ns.b(),e.ns.is("disabled",e.disabled)])},[ie(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(o=e.referenceElementRef)==null?void 0:o.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Vh({content:re(()=>[ie(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:re(()=>[ie(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:re(()=>[ie(s,null,{default:re(()=>[ge(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:re(()=>[ie(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:re(()=>[ge(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?($(),de(v,{key:0},{default:re(()=>[ie(d,on({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:re(()=>[ge(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),ie(d,on({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:re(()=>[ie(p,{class:U(e.ns.e("icon"))},{default:re(()=>[ie(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):_e("v-if",!0)],2)}var Soe=Re(_oe,[["render",woe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const Coe=j({name:"DropdownItemImpl",components:{ElIcon:yt},props:pD,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=we("dropdown"),{role:r}=Se(E0,void 0),{collectionItemRef:i}=Se(yoe,void 0),{collectionItemRef:a}=Se(Xae,void 0),{rovingFocusGroupItemRef:o,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:c}=Se(hD,void 0),f=lC(i,a,o),d=P(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),h=bn(p=>{const{code:v}=p;if(v===lt.enter||v===lt.space)return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},u);return{ns:n,itemRef:f,dataset:{[fD]:""},role:d,tabIndex:s,handleFocus:l,handleKeydown:h,handleMousedown:c}}}),xoe=["aria-disabled","tabindex","role"];function Toe(e,t,n,r,i,a){const o=et("el-icon");return $(),K(Ye,null,[e.divided?($(),K("li",on({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):_e("v-if",!0),ee("li",on({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=s=>e.$emit("clickimpl",s)),onFocus:t[1]||(t[1]=(...s)=>e.handleFocus&&e.handleFocus(...s)),onKeydown:t[2]||(t[2]=dn((...s)=>e.handleKeydown&&e.handleKeydown(...s),["self"])),onMousedown:t[3]||(t[3]=(...s)=>e.handleMousedown&&e.handleMousedown(...s)),onPointermove:t[4]||(t[4]=s=>e.$emit("pointermove",s)),onPointerleave:t[5]||(t[5]=s=>e.$emit("pointerleave",s))}),[e.icon?($(),de(o,{key:0},{default:re(()=>[($(),de(Rt(e.icon)))]),_:1})):_e("v-if",!0),ge(e.$slots,"default")],16,xoe)],64)}var Eoe=Re(Coe,[["render",Toe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const gD=()=>{const e=Se("elDropdown",{}),t=P(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},Aoe=j({name:"ElDropdownItem",components:{ElDropdownCollectionItem:goe,ElRovingFocusItem:foe,ElDropdownItemImpl:Eoe},inheritAttrs:!1,props:pD,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=gD(),i=Ze(),a=N(null),o=P(()=>{var h,p;return(p=(h=x(a))==null?void 0:h.textContent)!=null?p:""}),{onItemEnter:s,onItemLeave:l}=Se(E0,void 0),u=bn(h=>(t("pointermove",h),h.defaultPrevented),J3(h=>{if(e.disabled){l(h);return}const p=h.currentTarget;p===document.activeElement||p.contains(document.activeElement)||(s(h),h.defaultPrevented||p==null||p.focus())})),c=bn(h=>(t("pointerleave",h),h.defaultPrevented),J3(h=>{l(h)})),f=bn(h=>{if(!e.disabled)return t("click",h),h.type!=="keydown"&&h.defaultPrevented},h=>{var p,v,m;if(e.disabled){h.stopImmediatePropagation();return}(p=r==null?void 0:r.hideOnClick)!=null&&p.value&&((v=r.handleClick)==null||v.call(r)),(m=r.commandHandler)==null||m.call(r,e.command,i,h)}),d=P(()=>({...e,...n}));return{handleClick:f,handlePointerMove:u,handlePointerLeave:c,textContent:o,propsAndAttrs:d}}});function Moe(e,t,n,r,i,a){var o;const s=et("el-dropdown-item-impl"),l=et("el-roving-focus-item"),u=et("el-dropdown-collection-item");return $(),de(u,{disabled:e.disabled,"text-value":(o=e.textValue)!=null?o:e.textContent},{default:re(()=>[ie(l,{focusable:!e.disabled},{default:re(()=>[ie(s,on(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:re(()=>[ge(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var mD=Re(Aoe,[["render",Moe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const Ioe=j({name:"ElDropdownMenu",props:doe,setup(e){const t=we("dropdown"),{_elDropdownSize:n}=gD(),r=n.value,{focusTrapRef:i,onKeydown:a}=Se(_C,void 0),{contentRef:o,role:s,triggerId:l}=Se(E0,void 0),{collectionRef:u,getItems:c}=Se(moe,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:d,tabIndex:h,onBlur:p,onFocus:v,onMousedown:m}=Se(AC,void 0),{collectionRef:g}=Se(EC,void 0),y=P(()=>[t.b("menu"),t.bm("menu",r==null?void 0:r.value)]),_=lC(o,u,i,f,g),b=bn(w=>{var C;(C=e.onKeydown)==null||C.call(e,w)},w=>{const{currentTarget:C,code:T,target:E}=w;if(C.contains(E),lt.tab===T&&w.stopImmediatePropagation(),w.preventDefault(),E!==x(o)||!poe.includes(T))return;const A=c().filter(I=>!I.disabled).map(I=>I.ref);vD.includes(T)&&A.reverse(),MC(A)});return{size:r,rovingFocusGroupRootStyle:d,tabIndex:h,dropdownKls:y,role:s,triggerId:l,dropdownListWrapperRef:_,handleKeydown:w=>{b(w),a(w)},onBlur:p,onFocus:v,onMousedown:m}}}),Ooe=["role","aria-labelledby"];function Poe(e,t,n,r,i,a){return $(),K("ul",{ref:e.dropdownListWrapperRef,class:U(e.dropdownKls),style:it(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:t[0]||(t[0]=(...o)=>e.onBlur&&e.onBlur(...o)),onFocus:t[1]||(t[1]=(...o)=>e.onFocus&&e.onFocus(...o)),onKeydown:t[2]||(t[2]=dn((...o)=>e.handleKeydown&&e.handleKeydown(...o),["self"])),onMousedown:t[3]||(t[3]=dn((...o)=>e.onMousedown&&e.onMousedown(...o),["self"]))},[ge(e.$slots,"default")],46,Ooe)}var yD=Re(Ioe,[["render",Poe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const Roe=At(Soe,{DropdownItem:mD,DropdownMenu:yD}),Doe=Ln(mD),Loe=Ln(yD),koe={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},$oe=["id"],Noe=["stop-color"],Boe=["stop-color"],Foe=["id"],zoe=["stop-color"],Voe=["stop-color"],Hoe=["id"],Woe={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Uoe={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},Goe={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},joe=["fill"],qoe=["fill"],Koe={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},Yoe=["fill"],Zoe=["fill"],Xoe=["fill"],Qoe=["fill"],Joe=["fill"],ese={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},tse=["fill","xlink:href"],nse=["fill","mask"],rse=["fill"],ise=j({name:"ImgEmpty"}),ase=j({...ise,setup(e){const t=we("empty"),n=ro();return(r,i)=>($(),K("svg",koe,[ee("defs",null,[ee("linearGradient",{id:`linearGradient-1-${x(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[ee("stop",{"stop-color":`var(${x(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Noe),ee("stop",{"stop-color":`var(${x(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,Boe)],8,$oe),ee("linearGradient",{id:`linearGradient-2-${x(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[ee("stop",{"stop-color":`var(${x(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,zoe),ee("stop",{"stop-color":`var(${x(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,Voe)],8,Foe),ee("rect",{id:`path-3-${x(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,Hoe)]),ee("g",Woe,[ee("g",Uoe,[ee("g",Goe,[ee("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${x(t).cssVarBlockName("fill-color-3")})`},null,8,joe),ee("polygon",{id:"Rectangle-Copy-14",fill:`var(${x(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,qoe),ee("g",Koe,[ee("polygon",{id:"Rectangle-Copy-10",fill:`var(${x(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,Yoe),ee("polygon",{id:"Rectangle-Copy-11",fill:`var(${x(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,Zoe),ee("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${x(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,Xoe),ee("polygon",{id:"Rectangle-Copy-13",fill:`var(${x(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,Qoe)]),ee("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${x(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,Joe),ee("g",ese,[ee("use",{id:"Mask",fill:`var(${x(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${x(n)}`},null,8,tse),ee("polygon",{id:"Rectangle-Copy",fill:`var(${x(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${x(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,nse)]),ee("polygon",{id:"Rectangle-Copy-18",fill:`var(${x(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,rse)])])])]))}});var ose=Re(ase,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const sse=$e({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),lse=["src"],use={key:1},cse=j({name:"ElEmpty"}),fse=j({...cse,props:sse,setup(e){const t=e,{t:n}=Hn(),r=we("empty"),i=P(()=>t.description||n("el.table.emptyText")),a=P(()=>({width:Jn(t.imageSize)}));return(o,s)=>($(),K("div",{class:U(x(r).b())},[ee("div",{class:U(x(r).e("image")),style:it(x(a))},[o.image?($(),K("img",{key:0,src:o.image,ondragstart:"return false"},null,8,lse)):ge(o.$slots,"image",{key:1},()=>[ie(ose)])],6),ee("div",{class:U(x(r).e("description"))},[o.$slots.description?ge(o.$slots,"description",{key:0}):($(),K("p",use,Ue(x(i)),1))],2),o.$slots.default?($(),K("div",{key:0,class:U(x(r).e("bottom"))},[ge(o.$slots,"default")],2)):_e("v-if",!0)],2))}});var dse=Re(fse,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const hse=At(dse);let pse=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",r=>{let i=!1;switch(r.code){case lt.down:{this.gotoSubIndex(this.subIndex+1),i=!0;break}case lt.up:{this.gotoSubIndex(this.subIndex-1),i=!0;break}case lt.tab:{Yv(t,"mouseleave");break}case lt.enter:case lt.space:{i=!0,r.currentTarget.click();break}}return i&&(r.preventDefault(),r.stopPropagation()),!1})})}},vse=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new pse(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case lt.down:{Yv(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case lt.up:{Yv(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case lt.tab:{Yv(t.currentTarget,"mouseleave");break}case lt.enter:case lt.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}},gse=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(r=>{r.nodeType===1&&new vse(r,t)})}};const mse=j({name:"ElMenuCollapseTransition",setup(){const e=we("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,r){Ka(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",r()},onAfterEnter(n){Wi(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),vl(n,e.m("collapse"))?(Wi(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Ka(n,e.m("collapse"))):(Ka(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Wi(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){Ka(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function yse(e,t,n,r,i,a){return $(),de(Qn,on({mode:"out-in"},e.listeners),{default:re(()=>[ge(e.$slots,"default")]),_:3},16)}var bse=Re(mse,[["render",yse],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function bD(e,t){const n=P(()=>{let i=e.parent;const a=[t.value];for(;i.type.name!=="ElMenu";)i.props.index&&a.unshift(i.props.index),i=i.parent;return a});return{parentMenu:P(()=>{let i=e.parent;for(;i&&!["ElMenu","ElSubMenu"].includes(i.type.name);)i=i.parent;return i}),indexPath:n}}function _se(e){return P(()=>{const n=e.backgroundColor;return n?new kR(n).shade(20).toString():""})}const _D=(e,t)=>{const n=we("menu");return P(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":_se(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},wse=$e({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:un},expandOpenIcon:{type:un},collapseCloseIcon:{type:un},collapseOpenIcon:{type:un}}),jp="ElSubMenu";var IC=j({name:jp,props:wse,setup(e,{slots:t,expose:n}){Bl({from:"popper-append-to-body",replacement:"teleported",scope:jp,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},P(()=>e.popperAppendToBody!==void 0));const r=Ze(),{indexPath:i,parentMenu:a}=bD(r,P(()=>e.index)),o=we("menu"),s=we("sub-menu"),l=Se("rootMenu");l||Lr(jp,"can not inject root menu");const u=Se(`subMenu:${a.value.uid}`);u||Lr(jp,"can not inject sub menu");const c=N({}),f=N({});let d;const h=N(!1),p=N(),v=N(null),m=P(()=>A.value==="horizontal"&&y.value?"bottom-start":"right-start"),g=P(()=>A.value==="horizontal"&&y.value||A.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?w.value?e.expandOpenIcon:e.expandCloseIcon:y0:e.collapseCloseIcon&&e.collapseOpenIcon?w.value?e.collapseOpenIcon:e.collapseCloseIcon:Hc),y=P(()=>u.level===0),_=P(()=>{var q;const ae=(q=e.teleported)!=null?q:e.popperAppendToBody;return ae===void 0?y.value:ae}),b=P(()=>l.props.collapse?`${o.namespace.value}-zoom-in-left`:`${o.namespace.value}-zoom-in-top`),S=P(()=>A.value==="horizontal"&&y.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),w=P(()=>l.openedMenus.includes(e.index)),C=P(()=>{let q=!1;return Object.values(c.value).forEach(ae=>{ae.active&&(q=!0)}),Object.values(f.value).forEach(ae=>{ae.active&&(q=!0)}),q}),T=P(()=>l.props.backgroundColor||""),E=P(()=>l.props.activeTextColor||""),M=P(()=>l.props.textColor||""),A=P(()=>l.props.mode),I=Qt({index:e.index,indexPath:i,active:C}),O=_D(l.props,u.level+1),D=P(()=>A.value!=="horizontal"?{color:M.value}:{borderBottomColor:C.value?l.props.activeTextColor?E.value:"":"transparent",color:C.value?E.value:M.value}),F=()=>{var q,ae,oe;return(oe=(ae=(q=v.value)==null?void 0:q.popperRef)==null?void 0:ae.popperInstanceRef)==null?void 0:oe.destroy()},k=q=>{q||F()},H=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:i.value,active:C.value})},V=(q,ae=e.showTimeout)=>{var oe;q.type!=="focus"&&(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled||(u.mouseInChild.value=!0,d==null||d(),{stop:d}=Ud(()=>{l.openMenu(e.index,i.value)},ae),_.value&&((oe=a.value.vnode.el)==null||oe.dispatchEvent(new MouseEvent("mouseenter")))))},z=(q=!1)=>{var ae,oe;l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||(d==null||d(),u.mouseInChild.value=!1,{stop:d}=Ud(()=>!h.value&&l.closeMenu(e.index,i.value),e.hideTimeout),_.value&&q&&((ae=r.parent)==null?void 0:ae.type.name)==="ElSubMenu"&&((oe=u.handleMouseleave)==null||oe.call(u,!0)))};ce(()=>l.props.collapse,q=>k(!!q));{const q=oe=>{f.value[oe.index]=oe},ae=oe=>{delete f.value[oe.index]};_t(`subMenu:${r.uid}`,{addSubMenu:q,removeSubMenu:ae,handleMouseleave:z,mouseInChild:h,level:u.level+1})}return n({opened:w}),dt(()=>{l.addSubMenu(I),u.addSubMenu(I)}),cn(()=>{u.removeSubMenu(I),l.removeSubMenu(I)}),()=>{var q;const ae=[(q=t.title)==null?void 0:q.call(t),be(yt,{class:s.e("icon-arrow"),style:{transform:w.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ge(g.value)?be(r.appContext.components[g.value]):be(g.value)})],oe=l.isMenuPopup?be(ms,{ref:v,visible:w.value,effect:"light",pure:!0,offset:e.popperOffset,showArrow:!1,persistent:!0,popperClass:e.popperClass,placement:m.value,teleported:_.value,fallbackPlacements:S.value,transition:b.value,gpuAcceleration:!1},{content:()=>{var xe;return be("div",{class:[o.m(A.value),o.m("popup-container"),e.popperClass],onMouseenter:Ae=>V(Ae,100),onMouseleave:()=>z(!0),onFocus:Ae=>V(Ae,100)},[be("ul",{class:[o.b(),o.m("popup"),o.m(`popup-${m.value}`)],style:O.value},[(xe=t.default)==null?void 0:xe.call(t)])])},default:()=>be("div",{class:s.e("title"),style:[D.value,{backgroundColor:T.value}],onClick:H},ae)}):be(Ye,{},[be("div",{class:s.e("title"),style:[D.value,{backgroundColor:T.value}],ref:p,onClick:H},ae),be(oD,{},{default:()=>{var xe;return Wt(be("ul",{role:"menu",class:[o.b(),o.m("inline")],style:O.value},[(xe=t.default)==null?void 0:xe.call(t)]),[[Dn,w.value]])}})]);return be("li",{class:[s.b(),s.is("active",C.value),s.is("opened",w.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:w.value,onMouseenter:V,onMouseleave:()=>z(!0),onFocus:V},[oe])}}});const Sse=$e({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Oe(Array),default:()=>Ur([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),Qy=e=>Array.isArray(e)&&e.every(t=>Ge(t)),Cse={close:(e,t)=>Ge(e)&&Qy(t),open:(e,t)=>Ge(e)&&Qy(t),select:(e,t,n,r)=>Ge(e)&&Qy(t)&&st(n)&&(r===void 0||r instanceof Promise)};var xse=j({name:"ElMenu",props:Sse,emits:Cse,setup(e,{emit:t,slots:n,expose:r}){const i=Ze(),a=i.appContext.config.globalProperties.$router,o=N(),s=we("menu"),l=we("sub-menu"),u=N(-1),c=N(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),f=N(e.defaultActive),d=N({}),h=N({}),p=P(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),v=()=>{const A=f.value&&d.value[f.value];if(!A||e.mode==="horizontal"||e.collapse)return;A.indexPath.forEach(O=>{const D=h.value[O];D&&m(O,D.indexPath)})},m=(A,I)=>{c.value.includes(A)||(e.uniqueOpened&&(c.value=c.value.filter(O=>I.includes(O))),c.value.push(A),t("open",A,I))},g=A=>{const I=c.value.indexOf(A);I!==-1&&c.value.splice(I,1)},y=(A,I)=>{g(A),t("close",A,I)},_=({index:A,indexPath:I})=>{c.value.includes(A)?y(A,I):m(A,I)},b=A=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:I,indexPath:O}=A;if(!($l(I)||$l(O)))if(e.router&&a){const D=A.route||I,F=a.push(D).then(k=>(k||(f.value=I),k));t("select",I,O,{index:I,indexPath:O,route:D},F)}else f.value=I,t("select",I,O,{index:I,indexPath:O})},S=A=>{const I=d.value,O=I[A]||f.value&&I[f.value]||I[e.defaultActive];O?f.value=O.index:f.value=A},w=()=>{var A,I;if(!o.value)return-1;const O=Array.from((I=(A=o.value)==null?void 0:A.childNodes)!=null?I:[]).filter(q=>q.nodeName!=="#comment"&&(q.nodeName!=="#text"||q.nodeValue)),D=64,F=Number.parseInt(getComputedStyle(o.value).paddingLeft,10),k=Number.parseInt(getComputedStyle(o.value).paddingRight,10),H=o.value.clientWidth-F-k;let V=0,z=0;return O.forEach((q,ae)=>{V+=q.offsetWidth||0,V<=H-D&&(z=ae+1)}),z===O.length?-1:z},C=(A,I=33.34)=>{let O;return()=>{O&&clearTimeout(O),O=setTimeout(()=>{A()},I)}};let T=!0;const E=()=>{const A=()=>{u.value=-1,Ke(()=>{u.value=w()})};T?A():C(A)(),T=!1};ce(()=>e.defaultActive,A=>{d.value[A]||(f.value=""),S(A)}),ce(()=>e.collapse,A=>{A&&(c.value=[])}),ce(d.value,v);let M;hi(()=>{e.mode==="horizontal"&&e.ellipsis?M=qi(o,E).stop:M==null||M()});{const A=F=>{h.value[F.index]=F},I=F=>{delete h.value[F.index]};_t("rootMenu",Qt({props:e,openedMenus:c,items:d,subMenus:h,activeIndex:f,isMenuPopup:p,addMenuItem:F=>{d.value[F.index]=F},removeMenuItem:F=>{delete d.value[F.index]},addSubMenu:A,removeSubMenu:I,openMenu:m,closeMenu:y,handleMenuItemClick:b,handleSubMenuClick:_})),_t(`subMenu:${i.uid}`,{addSubMenu:A,removeSubMenu:I,mouseInChild:N(!1),level:0})}return dt(()=>{e.mode==="horizontal"&&new gse(i.vnode.el,s.namespace.value)}),r({open:I=>{const{indexPath:O}=h.value[I];O.forEach(D=>m(D,O))},close:g,handleResize:E}),()=>{var A,I;let O=(I=(A=n.default)==null?void 0:A.call(n))!=null?I:[];const D=[];if(e.mode==="horizontal"&&o.value){const H=Ju(O),V=u.value===-1?H:H.slice(0,u.value),z=u.value===-1?[]:H.slice(u.value);z!=null&&z.length&&e.ellipsis&&(O=V,D.push(be(IC,{index:"sub-menu-more",class:l.e("hide-arrow")},{title:()=>be(yt,{class:l.e("icon-more")},{default:()=>be(WX)}),default:()=>z})))}const F=_D(e,0),k=be("ul",{key:String(e.collapse),role:"menubar",ref:o,style:F.value,class:{[s.b()]:!0,[s.m(e.mode)]:!0,[s.m("collapse")]:e.collapse}},[...O,...D]);return e.collapseTransition&&e.mode==="vertical"?be(bse,()=>k):k}}});const Tse=$e({index:{type:Oe([String,null]),default:null},route:{type:Oe([String,Object])},disabled:Boolean}),Ese={click:e=>Ge(e.index)&&Array.isArray(e.indexPath)},Jy="ElMenuItem",Ase=j({name:Jy,components:{ElTooltip:ms},props:Tse,emits:Ese,setup(e,{emit:t}){const n=Ze(),r=Se("rootMenu"),i=we("menu"),a=we("menu-item");r||Lr(Jy,"can not inject root menu");const{parentMenu:o,indexPath:s}=bD(n,pn(e,"index")),l=Se(`subMenu:${o.value.uid}`);l||Lr(Jy,"can not inject sub menu");const u=P(()=>e.index===r.activeIndex),c=Qt({index:e.index,indexPath:s,active:u}),f=()=>{e.disabled||(r.handleMenuItemClick({index:e.index,indexPath:s.value,route:e.route}),t("click",c))};return dt(()=>{l.addSubMenu(c),r.addMenuItem(c)}),cn(()=>{l.removeSubMenu(c),r.removeMenuItem(c)}),{parentMenu:o,rootMenu:r,active:u,nsMenu:i,nsMenuItem:a,handleClick:f}}});function Mse(e,t,n,r,i,a){const o=et("el-tooltip");return $(),K("li",{class:U([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:t[0]||(t[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?($(),de(o,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:re(()=>[ge(e.$slots,"title")]),default:re(()=>[ee("div",{class:U(e.nsMenu.be("tooltip","trigger"))},[ge(e.$slots,"default")],2)]),_:3},8,["effect"])):($(),K(Ye,{key:1},[ge(e.$slots,"default"),ge(e.$slots,"title")],64))],2)}var wD=Re(Ase,[["render",Mse],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const Ise={title:String},Ose="ElMenuItemGroup",Pse=j({name:Ose,props:Ise,setup(){return{ns:we("menu-item-group")}}});function Rse(e,t,n,r,i,a){return $(),K("li",{class:U(e.ns.b())},[ee("div",{class:U(e.ns.e("title"))},[e.$slots.title?ge(e.$slots,"title",{key:1}):($(),K(Ye,{key:0},[an(Ue(e.title),1)],64))],2),ee("ul",null,[ge(e.$slots,"default")])],2)}var SD=Re(Pse,[["render",Rse],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const Dse=At(xse,{MenuItem:wD,MenuItemGroup:SD,SubMenu:IC}),Lse=Ln(wD);Ln(SD);const kse=Ln(IC),CD=Symbol("elPaginationKey"),$se=$e({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:un}}),Nse={click:e=>e instanceof MouseEvent},Bse=["disabled","aria-label","aria-disabled"],Fse={key:0},zse=j({name:"ElPaginationPrev"}),Vse=j({...zse,props:$se,emits:Nse,setup(e){const t=e,{t:n}=Hn(),r=P(()=>t.disabled||t.currentPage<=1);return(i,a)=>($(),K("button",{type:"button",class:"btn-prev",disabled:x(r),"aria-label":i.prevText||x(n)("el.pagination.prev"),"aria-disabled":x(r),onClick:a[0]||(a[0]=o=>i.$emit("click",o))},[i.prevText?($(),K("span",Fse,Ue(i.prevText),1)):($(),de(x(yt),{key:1},{default:re(()=>[($(),de(Rt(i.prevIcon)))]),_:1}))],8,Bse))}});var Hse=Re(Vse,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const Wse=$e({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:un}}),Use=["disabled","aria-label","aria-disabled"],Gse={key:0},jse=j({name:"ElPaginationNext"}),qse=j({...jse,props:Wse,emits:["click"],setup(e){const t=e,{t:n}=Hn(),r=P(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(i,a)=>($(),K("button",{type:"button",class:"btn-next",disabled:x(r),"aria-label":i.nextText||x(n)("el.pagination.next"),"aria-disabled":x(r),onClick:a[0]||(a[0]=o=>i.$emit("click",o))},[i.nextText?($(),K("span",Gse,Ue(i.nextText),1)):($(),de(x(yt),{key:1},{default:re(()=>[($(),de(Rt(i.nextIcon)))]),_:1}))],8,Use))}});var Kse=Re(qse,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const xD=Symbol("ElSelectGroup"),A0=Symbol("ElSelect");function Yse(e,t){const n=Se(A0),r=Se(xD,{disabled:!1}),i=P(()=>Object.prototype.toString.call(e.value).toLowerCase()==="[object object]"),a=P(()=>n.props.multiple?f(n.props.modelValue,e.value):d(e.value,n.props.modelValue)),o=P(()=>{if(n.props.multiple){const v=n.props.modelValue||[];return!a.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),s=P(()=>e.label||(i.value?"":e.value)),l=P(()=>e.value||e.label||""),u=P(()=>e.disabled||t.groupDisabled||o.value),c=Ze(),f=(v=[],m)=>{if(i.value){const g=n.props.valueKey;return v&&v.some(y=>rt(Kn(y,g))===Kn(m,g))}else return v&&v.includes(m)},d=(v,m)=>{if(i.value){const{valueKey:g}=n.props;return Kn(v,g)===Kn(m,g)}else return v===m},h=()=>{!e.disabled&&!r.disabled&&(n.hoverIndex=n.optionsArray.indexOf(c.proxy))};ce(()=>s.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ce(()=>e.value,(v,m)=>{const{remote:g,valueKey:y}=n.props;if(Object.is(v,m)||(n.onOptionDestroy(m,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!g){if(y&&typeof v=="object"&&typeof m=="object"&&v[y]===m[y])return;n.setSelected()}}),ce(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0});const{queryChange:p}=rt(n);return ce(p,v=>{const{query:m}=x(v),g=new RegExp(nZ(m),"i");t.visible=g.test(s.value)||e.created,t.visible||n.filteredOptionsCount--},{immediate:!0}),{select:n,currentLabel:s,currentValue:l,itemSelected:a,isDisabled:u,hoverItem:h}}const Zse=j({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=we("select"),n=Qt({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:r,itemSelected:i,isDisabled:a,select:o,hoverItem:s}=Yse(e,n),{visible:l,hover:u}=Ci(n),c=Ze().proxy;o.onOptionCreate(c),cn(()=>{const d=c.value,{selected:h}=o,v=(o.props.multiple?h:[h]).some(m=>m.value===c.value);Ke(()=>{o.cachedOptions.get(d)===c&&!v&&o.cachedOptions.delete(d)}),o.onOptionDestroy(d,c)});function f(){e.disabled!==!0&&n.groupDisabled!==!0&&o.handleOptionSelect(c)}return{ns:t,currentLabel:r,itemSelected:i,isDisabled:a,select:o,hoverItem:s,visible:l,hover:u,selectOptionClick:f,states:n}}});function Xse(e,t,n,r,i,a){return Wt(($(),K("li",{class:U([e.ns.be("dropdown","item"),e.ns.is("disabled",e.isDisabled),{selected:e.itemSelected,hover:e.hover}]),onMouseenter:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=dn((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[ge(e.$slots,"default",{},()=>[ee("span",null,Ue(e.currentLabel),1)])],34)),[[Dn,e.visible]])}var OC=Re(Zse,[["render",Xse],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const Qse=j({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Se(A0),t=we("select"),n=P(()=>e.props.popperClass),r=P(()=>e.props.multiple),i=P(()=>e.props.fitInputWidth),a=N("");function o(){var s;a.value=`${(s=e.selectWrapper)==null?void 0:s.offsetWidth}px`}return dt(()=>{o(),qi(e.selectWrapper,o)}),{ns:t,minWidth:a,popperClass:n,isMultiple:r,isFitInputWidth:i}}});function Jse(e,t,n,r,i,a){return $(),K("div",{class:U([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:it({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[ge(e.$slots,"default")],6)}var ele=Re(Qse,[["render",Jse],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function tle(e){const{t}=Hn();return Qt({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}let e1=!1;const nle=(e,t,n)=>{const{t:r}=Hn(),i=we("select");Bl({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},P(()=>e.suffixTransition===!1));const a=N(null),o=N(null),s=N(null),l=N(null),u=N(null),c=N(null),f=N(null),d=N(-1),h=di({query:""}),p=di(""),v=N([]);let m=0;const{form:g,formItem:y}=gs(),_=P(()=>!e.filterable||e.multiple||!t.visible),b=P(()=>e.disabled||(g==null?void 0:g.disabled)),S=P(()=>{const Y=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!b.value&&t.inputHovering&&Y}),w=P(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),C=P(()=>i.is("reverse",w.value&&t.visible&&e.suffixTransition)),T=P(()=>e.remote?300:0),E=P(()=>e.loading?e.loadingText||r("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||r("el.select.noMatch"):t.options.size===0?e.noDataText||r("el.select.noData"):null),M=P(()=>{const Y=Array.from(t.options.values()),fe=[];return v.value.forEach(He=>{const mt=Y.findIndex(In=>In.currentLabel===He);mt>-1&&fe.push(Y[mt])}),fe.length?fe:Y}),A=P(()=>Array.from(t.cachedOptions.values())),I=P(()=>{const Y=M.value.filter(fe=>!fe.created).some(fe=>fe.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!Y}),O=kr(),D=P(()=>["small"].includes(O.value)?"small":"default"),F=P({get(){return t.visible&&E.value!==!1},set(Y){t.visible=Y}});ce([()=>b.value,()=>O.value,()=>g==null?void 0:g.size],()=>{Ke(()=>{k()})}),ce(()=>e.placeholder,Y=>{t.cachedPlaceHolder=t.currentPlaceholder=Y,e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(t.currentPlaceholder="")}),ce(()=>e.modelValue,(Y,fe)=>{e.multiple&&(k(),Y&&Y.length>0||o.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",H(t.query))),q(),e.filterable&&!e.multiple&&(t.inputLength=20),!Kg(Y,fe)&&e.validateEvent&&(y==null||y.validate("change").catch(He=>void 0))},{flush:"post",deep:!0}),ce(()=>t.visible,Y=>{var fe,He,mt,In,mn;Y?((He=(fe=l.value)==null?void 0:fe.updatePopper)==null||He.call(fe),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,(In=(mt=s.value)==null?void 0:mt.focus)==null||In.call(mt),e.multiple?(mn=o.value)==null||mn.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),H(t.query),!e.multiple&&!e.remote&&(h.value.query="",ku(h),ku(p)))):(e.filterable&&(Ne(e.filterMethod)&&e.filterMethod(""),Ne(e.remoteMethod)&&e.remoteMethod("")),o.value&&o.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,oe(),Ke(()=>{o.value&&o.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",Y)}),ce(()=>t.options.entries(),()=>{var Y,fe,He;if(!kt)return;(fe=(Y=l.value)==null?void 0:Y.updatePopper)==null||fe.call(Y),e.multiple&&k();const mt=((He=c.value)==null?void 0:He.querySelectorAll("input"))||[];Array.from(mt).includes(document.activeElement)||q(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&z()},{flush:"post"}),ce(()=>t.hoverIndex,Y=>{gt(Y)&&Y>-1?d.value=M.value[Y]||{}:d.value={},M.value.forEach(fe=>{fe.hover=d.value===fe})});const k=()=>{Ke(()=>{var Y,fe;if(!a.value)return;const He=a.value.$el.querySelector("input");m=m||(He.clientHeight>0?He.clientHeight+2:0);const mt=u.value,In=xQ(O.value||(g==null?void 0:g.size)),mn=O.value||In===m||m<=0?In:m;!(He.offsetParent===null)&&(He.style.height=`${(t.selected.length===0?mn:Math.max(mt?mt.clientHeight+(mt.clientHeight>mn?6:0):0,mn))-2}px`),t.tagInMultiLine=Number.parseFloat(He.style.height)>=mn,t.visible&&E.value!==!1&&((fe=(Y=l.value)==null?void 0:Y.updatePopper)==null||fe.call(Y))})},H=async Y=>{if(!(t.previousQuery===Y||t.isOnComposition)){if(t.previousQuery===null&&(Ne(e.filterMethod)||Ne(e.remoteMethod))){t.previousQuery=Y;return}t.previousQuery=Y,Ke(()=>{var fe,He;t.visible&&((He=(fe=l.value)==null?void 0:fe.updatePopper)==null||He.call(fe))}),t.hoverIndex=-1,e.multiple&&e.filterable&&Ke(()=>{const fe=o.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,fe):fe,V(),k()}),e.remote&&Ne(e.remoteMethod)?(t.hoverIndex=-1,e.remoteMethod(Y)):Ne(e.filterMethod)?(e.filterMethod(Y),ku(p)):(t.filteredOptionsCount=t.optionsCount,h.value.query=Y,ku(h),ku(p)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&(await Ke(),z())}},V=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=o.value.value?"":t.cachedPlaceHolder)},z=()=>{const Y=M.value.filter(mt=>mt.visible&&!mt.disabled&&!mt.states.groupDisabled),fe=Y.find(mt=>mt.created),He=Y[0];t.hoverIndex=B(M.value,fe||He)},q=()=>{var Y;if(e.multiple)t.selectedLabel="";else{const He=ae(e.modelValue);(Y=He.props)!=null&&Y.created?(t.createdLabel=He.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=He.currentLabel,t.selected=He,e.filterable&&(t.query=t.selectedLabel);return}const fe=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(He=>{fe.push(ae(He))}),t.selected=fe,Ke(()=>{k()})},ae=Y=>{let fe;const He=jv(Y).toLowerCase()==="object",mt=jv(Y).toLowerCase()==="null",In=jv(Y).toLowerCase()==="undefined";for(let vo=t.cachedOptions.size-1;vo>=0;vo--){const nn=A.value[vo];if(He?Kn(nn.value,e.valueKey)===Kn(Y,e.valueKey):nn.value===Y){fe={value:Y,currentLabel:nn.currentLabel,isDisabled:nn.isDisabled};break}}if(fe)return fe;const mn=He?Y.label:!mt&&!In?Y:"",Mi={value:Y,currentLabel:mn};return e.multiple&&(Mi.hitState=!1),Mi},oe=()=>{setTimeout(()=>{const Y=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(fe=>M.value.findIndex(He=>Kn(He,Y)===Kn(fe,Y)))):t.hoverIndex=-1:t.hoverIndex=M.value.findIndex(fe=>Pe(fe)===Pe(t.selected))},300)},xe=()=>{var Y,fe;Ae(),(fe=(Y=l.value)==null?void 0:Y.updatePopper)==null||fe.call(Y),e.multiple&&k()},Ae=()=>{var Y;t.inputWidth=(Y=a.value)==null?void 0:Y.$el.offsetWidth},Ve=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,H(t.query))},De=kl(()=>{Ve()},T.value),W=kl(Y=>{H(Y.target.value)},T.value),Z=Y=>{Kg(e.modelValue,Y)||n.emit(ds,Y)},J=Y=>{if(Y.code!==lt.delete){if(Y.target.value.length<=0&&!he()){const fe=e.modelValue.slice();fe.pop(),n.emit(jt,fe),Z(fe)}Y.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}},ue=(Y,fe)=>{const He=t.selected.indexOf(fe);if(He>-1&&!b.value){const mt=e.modelValue.slice();mt.splice(He,1),n.emit(jt,mt),Z(mt),n.emit("remove-tag",fe.value)}Y.stopPropagation()},pe=Y=>{Y.stopPropagation();const fe=e.multiple?[]:"";if(!Ge(fe))for(const He of t.selected)He.isDisabled&&fe.push(He.value);n.emit(jt,fe),Z(fe),t.hoverIndex=-1,t.visible=!1,n.emit("clear")},L=Y=>{var fe;if(e.multiple){const He=(e.modelValue||[]).slice(),mt=B(He,Y.value);mt>-1?He.splice(mt,1):(e.multipleLimit<=0||He.length<e.multipleLimit)&&He.push(Y.value),n.emit(jt,He),Z(He),Y.created&&(t.query="",H(""),t.inputLength=20),e.filterable&&((fe=o.value)==null||fe.focus())}else n.emit(jt,Y.value),Z(Y.value),t.visible=!1;G(),!t.visible&&Ke(()=>{Q(Y)})},B=(Y=[],fe)=>{if(!st(fe))return Y.indexOf(fe);const He=e.valueKey;let mt=-1;return Y.some((In,mn)=>rt(Kn(In,He))===Kn(fe,He)?(mt=mn,!0):!1),mt},G=()=>{const Y=o.value||a.value;Y&&(Y==null||Y.focus())},Q=Y=>{var fe,He,mt,In,mn;const Mi=Array.isArray(Y)?Y[0]:Y;let vo=null;if(Mi!=null&&Mi.value){const nn=M.value.filter(ia=>ia.value===Mi.value);nn.length>0&&(vo=nn[0].$el)}if(l.value&&vo){const nn=(In=(mt=(He=(fe=l.value)==null?void 0:fe.popperRef)==null?void 0:He.contentRef)==null?void 0:mt.querySelector)==null?void 0:In.call(mt,`.${i.be("dropdown","wrap")}`);nn&&sZ(nn,vo)}(mn=f.value)==null||mn.handleScroll()},te=Y=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(Y.value,Y),t.cachedOptions.set(Y.value,Y)},se=(Y,fe)=>{t.options.get(Y)===fe&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(Y))},Te=Y=>{Y.code!==lt.backspace&&he(!1),t.inputLength=o.value.value.length*15+20,k()},he=Y=>{if(!Array.isArray(t.selected))return;const fe=t.selected[t.selected.length-1];if(fe)return Y===!0||Y===!1?(fe.hitState=Y,Y):(fe.hitState=!fe.hitState,fe.hitState)},ye=Y=>{const fe=Y.target.value;if(Y.type==="compositionend")t.isOnComposition=!1,Ke(()=>H(fe));else{const He=fe[fe.length-1]||"";t.isOnComposition=!V7(He)}},le=()=>{Ke(()=>Q(t.selected))},Le=Y=>{e1?e1=!1:((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),n.emit("focus",Y))},Me=()=>{var Y,fe,He;t.visible=!1,(Y=a.value)==null||Y.blur(),(He=(fe=s.value)==null?void 0:fe.blur)==null||He.call(fe)},X=Y=>{setTimeout(()=>{var fe;if((fe=l.value)!=null&&fe.isFocusInsideContent()){e1=!0;return}t.visible&&We(),n.emit("blur",Y)})},Ie=Y=>{pe(Y)},We=()=>{t.visible=!1},ht=Y=>{t.visible&&(Y.preventDefault(),Y.stopPropagation(),t.visible=!1)},pt=Y=>{var fe;Y&&!t.mouseEnter||b.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:(!l.value||!l.value.isFocusInsideContent())&&(t.visible=!t.visible),t.visible&&((fe=o.value||a.value)==null||fe.focus()))},Kt=()=>{t.visible?M.value[t.hoverIndex]&&L(M.value[t.hoverIndex]):pt()},Pe=Y=>st(Y.value)?Kn(Y.value,e.valueKey):Y.value,je=P(()=>M.value.filter(Y=>Y.visible).every(Y=>Y.disabled)),at=P(()=>t.selected.slice(0,e.maxCollapseTags)),Je=P(()=>t.selected.slice(e.maxCollapseTags)),Tt=Y=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!je.value){Y==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):Y==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const fe=M.value[t.hoverIndex];(fe.disabled===!0||fe.states.groupDisabled===!0||!fe.visible)&&Tt(Y),Ke(()=>Q(d.value))}};return{optionList:v,optionsArray:M,selectSize:O,handleResize:xe,debouncedOnInputChange:De,debouncedQueryChange:W,deletePrevTag:J,deleteTag:ue,deleteSelected:pe,handleOptionSelect:L,scrollToOption:Q,readonly:_,resetInputHeight:k,showClose:S,iconComponent:w,iconReverse:C,showNewOption:I,collapseTagSize:D,setSelected:q,managePlaceholder:V,selectDisabled:b,emptyText:E,toggleLastOptionHitState:he,resetInputState:Te,handleComposition:ye,onOptionCreate:te,onOptionDestroy:se,handleMenuEnter:le,handleFocus:Le,blur:Me,handleBlur:X,handleClearClick:Ie,handleClose:We,handleKeydownEscape:ht,toggleMenu:pt,selectOption:Kt,getValueKey:Pe,navigateOptions:Tt,dropMenuVisible:F,queryChange:h,groupQueryChange:p,showTagList:at,collapseTagList:Je,reference:a,input:o,iOSInput:s,tooltipRef:l,tags:u,selectWrapper:c,scrollbar:f,handleMouseEnter:()=>{t.mouseEnter=!0},handleMouseLeave:()=>{t.mouseEnter=!1}}};var rle=j({name:"ElOptions",emits:["update-options"],setup(e,{slots:t,emit:n}){let r=[];function i(a,o){if(a.length!==o.length)return!1;for(const[s]of a.entries())if(a[s]!=o[s])return!1;return!0}return()=>{var a,o;const s=(a=t.default)==null?void 0:a.call(t),l=[];function u(c){Array.isArray(c)&&c.forEach(f=>{var d,h,p,v;const m=(d=(f==null?void 0:f.type)||{})==null?void 0:d.name;m==="ElOptionGroup"?u(!Ge(f.children)&&!Array.isArray(f.children)&&Ne((h=f.children)==null?void 0:h.default)?(p=f.children)==null?void 0:p.default():f.children):m==="ElOption"?l.push((v=f.props)==null?void 0:v.label):Array.isArray(f.children)&&u(f.children)})}return s.length&&u((o=s[0])==null?void 0:o.children),i(l,r)||(r=l,n("update-options",l)),s}}});const k8="ElSelect",ile=j({name:k8,componentName:k8,components:{ElInput:yC,ElSelectMenu:ele,ElOption:OC,ElOptions:rle,ElTag:rD,ElScrollbar:Qh,ElTooltip:ms,ElIcon:yt},directives:{ClickOutside:NR},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:z7},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:sr.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:un,default:sC},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:un,default:y0},tagType:{...nD.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:w0,default:"bottom-start"}},emits:[jt,ds,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=we("select"),r=we("input"),{t:i}=Hn(),a=tle(e),{optionList:o,optionsArray:s,selectSize:l,readonly:u,handleResize:c,collapseTagSize:f,debouncedOnInputChange:d,debouncedQueryChange:h,deletePrevTag:p,deleteTag:v,deleteSelected:m,handleOptionSelect:g,scrollToOption:y,setSelected:_,resetInputHeight:b,managePlaceholder:S,showClose:w,selectDisabled:C,iconComponent:T,iconReverse:E,showNewOption:M,emptyText:A,toggleLastOptionHitState:I,resetInputState:O,handleComposition:D,onOptionCreate:F,onOptionDestroy:k,handleMenuEnter:H,handleFocus:V,blur:z,handleBlur:q,handleClearClick:ae,handleClose:oe,handleKeydownEscape:xe,toggleMenu:Ae,selectOption:Ve,getValueKey:De,navigateOptions:W,dropMenuVisible:Z,reference:J,input:ue,iOSInput:pe,tooltipRef:L,tags:B,selectWrapper:G,scrollbar:Q,queryChange:te,groupQueryChange:se,handleMouseEnter:Te,handleMouseLeave:he,showTagList:ye,collapseTagList:le}=nle(e,a,t),{focus:Le}=RQ(J),{inputWidth:Me,selected:X,inputLength:Ie,filteredOptionsCount:We,visible:ht,selectedLabel:pt,hoverIndex:Kt,query:Pe,inputHovering:je,currentPlaceholder:at,menuVisibleOnFocus:Je,isOnComposition:Tt,options:Mt,cachedOptions:Yt,optionsCount:Y,prefixWidth:fe,tagInMultiLine:He}=Ci(a),mt=P(()=>{const nn=[n.b()],ia=x(l);return ia&&nn.push(n.m(ia)),e.disabled&&nn.push(n.m("disabled")),nn}),In=P(()=>({maxWidth:`${x(Me)-32}px`,width:"100%"})),mn=P(()=>({maxWidth:`${x(Me)>123?x(Me)-123:x(Me)-75}px`}));_t(A0,Qt({props:e,options:Mt,optionsArray:s,cachedOptions:Yt,optionsCount:Y,filteredOptionsCount:We,hoverIndex:Kt,handleOptionSelect:g,onOptionCreate:F,onOptionDestroy:k,selectWrapper:G,selected:X,setSelected:_,queryChange:te,groupQueryChange:se})),dt(()=>{a.cachedPlaceHolder=at.value=e.placeholder||(()=>i("el.select.placeholder")),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(at.value=""),qi(G,c),e.remote&&e.multiple&&b(),Ke(()=>{const nn=J.value&&J.value.$el;if(nn&&(Me.value=nn.getBoundingClientRect().width,t.slots.prefix)){const ia=nn.querySelector(`.${r.e("prefix")}`);fe.value=Math.max(ia.getBoundingClientRect().width+5,30)}}),_()}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(jt,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(jt,"");const Mi=P(()=>{var nn,ia;return(ia=(nn=L.value)==null?void 0:nn.popperRef)==null?void 0:ia.contentRef});return{isIOS:JP,onOptionsRendered:nn=>{o.value=nn},tagInMultiLine:He,prefixWidth:fe,selectSize:l,readonly:u,handleResize:c,collapseTagSize:f,debouncedOnInputChange:d,debouncedQueryChange:h,deletePrevTag:p,deleteTag:v,deleteSelected:m,handleOptionSelect:g,scrollToOption:y,inputWidth:Me,selected:X,inputLength:Ie,filteredOptionsCount:We,visible:ht,selectedLabel:pt,hoverIndex:Kt,query:Pe,inputHovering:je,currentPlaceholder:at,menuVisibleOnFocus:Je,isOnComposition:Tt,options:Mt,resetInputHeight:b,managePlaceholder:S,showClose:w,selectDisabled:C,iconComponent:T,iconReverse:E,showNewOption:M,emptyText:A,toggleLastOptionHitState:I,resetInputState:O,handleComposition:D,handleMenuEnter:H,handleFocus:V,blur:z,handleBlur:q,handleClearClick:ae,handleClose:oe,handleKeydownEscape:xe,toggleMenu:Ae,selectOption:Ve,getValueKey:De,navigateOptions:W,dropMenuVisible:Z,focus:Le,reference:J,input:ue,iOSInput:pe,tooltipRef:L,popperPaneRef:Mi,tags:B,selectWrapper:G,scrollbar:Q,wrapperKls:mt,selectTagsStyle:In,nsSelect:n,tagTextStyle:mn,handleMouseEnter:Te,handleMouseLeave:he,showTagList:ye,collapseTagList:le}}}),ale=["disabled","autocomplete"],ole=["disabled"],sle={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function lle(e,t,n,r,i,a){const o=et("el-tag"),s=et("el-tooltip"),l=et("el-icon"),u=et("el-input"),c=et("el-option"),f=et("el-options"),d=et("el-scrollbar"),h=et("el-select-menu"),p=a0("click-outside");return Wt(($(),K("div",{ref:"selectWrapper",class:U(e.wrapperKls),onMouseenter:t[21]||(t[21]=(...v)=>e.handleMouseEnter&&e.handleMouseEnter(...v)),onMouseleave:t[22]||(t[22]=(...v)=>e.handleMouseLeave&&e.handleMouseLeave(...v)),onClick:t[23]||(t[23]=dn((...v)=>e.toggleMenu&&e.toggleMenu(...v),["stop"]))},[ie(s,{ref:"tooltipRef",visible:e.dropMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:re(()=>[ee("div",{class:"select-trigger",onMouseenter:t[19]||(t[19]=v=>e.inputHovering=!0),onMouseleave:t[20]||(t[20]=v=>e.inputHovering=!1)},[e.multiple?($(),K("div",{key:0,ref:"tags",class:U([e.nsSelect.e("tags"),e.nsSelect.is("disabled",e.selectDisabled)]),style:it(e.selectTagsStyle)},[e.collapseTags&&e.selected.length?($(),de(Qn,{key:0,onAfterLeave:e.resetInputHeight},{default:re(()=>[ee("span",{class:U([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[($(!0),K(Ye,null,Er(e.showTagList,v=>($(),de(o,{key:e.getValueKey(v),closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,hit:v.hitState,type:e.tagType,"disable-transitions":"",onClose:m=>e.deleteTag(m,v)},{default:re(()=>[ee("span",{class:U(e.nsSelect.e("tags-text")),style:it(e.tagTextStyle)},Ue(v.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),e.selected.length>e.maxCollapseTags?($(),de(o,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:re(()=>[e.collapseTagsTooltip?($(),de(s,{key:0,disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:re(()=>[ee("span",{class:U(e.nsSelect.e("tags-text"))},"+ "+Ue(e.selected.length-e.maxCollapseTags),3)]),content:re(()=>[ee("div",{class:U(e.nsSelect.e("collapse-tags"))},[($(!0),K(Ye,null,Er(e.collapseTagList,v=>($(),K("div",{key:e.getValueKey(v),class:U(e.nsSelect.e("collapse-tag"))},[ie(o,{class:"in-tooltip",closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,hit:v.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:m=>e.deleteTag(m,v)},{default:re(()=>[ee("span",{class:U(e.nsSelect.e("tags-text")),style:it({maxWidth:e.inputWidth-75+"px"})},Ue(v.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):($(),K("span",{key:1,class:U(e.nsSelect.e("tags-text"))},"+ "+Ue(e.selected.length-e.maxCollapseTags),3))]),_:1},8,["size","type"])):_e("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):_e("v-if",!0),e.collapseTags?_e("v-if",!0):($(),de(Qn,{key:1,onAfterLeave:e.resetInputHeight},{default:re(()=>[ee("span",{class:U([e.nsSelect.b("tags-wrapper"),{"has-prefix":e.prefixWidth&&e.selected.length}])},[($(!0),K(Ye,null,Er(e.selected,v=>($(),de(o,{key:e.getValueKey(v),closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,hit:v.hitState,type:e.tagType,"disable-transitions":"",onClose:m=>e.deleteTag(m,v)},{default:re(()=>[ee("span",{class:U(e.nsSelect.e("tags-text")),style:it({maxWidth:e.inputWidth-75+"px"})},Ue(v.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),e.filterable?Wt(($(),K("input",{key:2,ref:"input","onUpdate:modelValue":t[0]||(t[0]=v=>e.query=v),type:"text",class:U([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize),e.nsSelect.is("disabled",e.selectDisabled)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:it({marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:"",flexGrow:1,width:`${e.inputLength/(e.inputWidth-32)}%`,maxWidth:`${e.inputWidth-42}px`}),onFocus:t[1]||(t[1]=(...v)=>e.handleFocus&&e.handleFocus(...v)),onBlur:t[2]||(t[2]=(...v)=>e.handleBlur&&e.handleBlur(...v)),onKeyup:t[3]||(t[3]=(...v)=>e.managePlaceholder&&e.managePlaceholder(...v)),onKeydown:[t[4]||(t[4]=(...v)=>e.resetInputState&&e.resetInputState(...v)),t[5]||(t[5]=or(dn(v=>e.navigateOptions("next"),["prevent"]),["down"])),t[6]||(t[6]=or(dn(v=>e.navigateOptions("prev"),["prevent"]),["up"])),t[7]||(t[7]=or((...v)=>e.handleKeydownEscape&&e.handleKeydownEscape(...v),["esc"])),t[8]||(t[8]=or(dn((...v)=>e.selectOption&&e.selectOption(...v),["stop","prevent"]),["enter"])),t[9]||(t[9]=or((...v)=>e.deletePrevTag&&e.deletePrevTag(...v),["delete"])),t[10]||(t[10]=or(v=>e.visible=!1,["tab"]))],onCompositionstart:t[11]||(t[11]=(...v)=>e.handleComposition&&e.handleComposition(...v)),onCompositionupdate:t[12]||(t[12]=(...v)=>e.handleComposition&&e.handleComposition(...v)),onCompositionend:t[13]||(t[13]=(...v)=>e.handleComposition&&e.handleComposition(...v)),onInput:t[14]||(t[14]=(...v)=>e.debouncedQueryChange&&e.debouncedQueryChange(...v))},null,46,ale)),[[Hd,e.query]]):_e("v-if",!0)],6)):_e("v-if",!0),_e(" fix: https://github.com/element-plus/element-plus/issues/11415 "),e.isIOS&&!e.multiple&&e.filterable&&e.readonly?($(),K("input",{key:1,ref:"iOSInput",class:U([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize),e.nsSelect.em("input","iOS")]),disabled:e.selectDisabled,type:"text"},null,10,ole)):_e("v-if",!0),ie(u,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[15]||(t[15]=v=>e.selectedLabel=v),type:"text",placeholder:typeof e.currentPlaceholder=="function"?e.currentPlaceholder():e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:U([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[16]||(t[16]=or(dn(v=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[17]||(t[17]=or(dn(v=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),or(dn(e.selectOption,["stop","prevent"]),["enter"]),or(e.handleKeydownEscape,["esc"]),t[18]||(t[18]=or(v=>e.visible=!1,["tab"]))]},Vh({suffix:re(()=>[e.iconComponent&&!e.showClose?($(),de(l,{key:0,class:U([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:re(()=>[($(),de(Rt(e.iconComponent)))]),_:1},8,["class"])):_e("v-if",!0),e.showClose&&e.clearIcon?($(),de(l,{key:1,class:U([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:re(()=>[($(),de(Rt(e.clearIcon)))]),_:1},8,["class","onClick"])):_e("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:re(()=>[ee("div",sle,[ge(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:re(()=>[ie(h,null,{default:re(()=>[Wt(ie(d,{ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:U([e.nsSelect.is("empty",!e.allowCreate&&!!e.query&&e.filteredOptionsCount===0)])},{default:re(()=>[e.showNewOption?($(),de(c,{key:0,value:e.query,created:!0},null,8,["value"])):_e("v-if",!0),ie(f,{onUpdateOptions:e.onOptionsRendered},{default:re(()=>[ge(e.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[Dn,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?($(),K(Ye,{key:0},[e.$slots.empty?ge(e.$slots,"empty",{key:0}):($(),K("p",{key:1,class:U(e.nsSelect.be("dropdown","empty"))},Ue(e.emptyText),3))],64)):_e("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[p,e.handleClose,e.popperPaneRef]])}var ule=Re(ile,[["render",lle],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const cle=j({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(e){const t=we("select"),n=N(!0),r=Ze(),i=N([]);_t(xD,Qt({...Ci(e)}));const a=Se(A0);dt(()=>{i.value=o(r.subTree)});const o=l=>{const u=[];return Array.isArray(l.children)&&l.children.forEach(c=>{var f;c.type&&c.type.name==="ElOption"&&c.component&&c.component.proxy?u.push(c.component.proxy):(f=c.children)!=null&&f.length&&u.push(...o(c))}),u},{groupQueryChange:s}=rt(a);return ce(s,()=>{n.value=i.value.some(l=>l.visible===!0)},{flush:"post"}),{visible:n,ns:t}}});function fle(e,t,n,r,i,a){return Wt(($(),K("ul",{class:U(e.ns.be("group","wrap"))},[ee("li",{class:U(e.ns.be("group","title"))},Ue(e.label),3),ee("li",null,[ee("ul",{class:U(e.ns.b("group"))},[ge(e.$slots,"default")],2)])],2)),[[Dn,e.visible]])}var TD=Re(cle,[["render",fle],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ED=At(ule,{Option:OC,OptionGroup:TD}),AD=Ln(OC);Ln(TD);const PC=()=>Se(CD,{}),dle=$e({pageSize:{type:Number,required:!0},pageSizes:{type:Oe(Array),default:()=>Ur([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,size:{type:String,values:Oa}}),hle=j({name:"ElPaginationSizes"}),ple=j({...hle,props:dle,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Hn(),i=we("pagination"),a=PC(),o=N(n.pageSize);ce(()=>n.pageSizes,(u,c)=>{if(!Kg(u,c)&&Array.isArray(u)){const f=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",f)}}),ce(()=>n.pageSize,u=>{o.value=u});const s=P(()=>n.pageSizes);function l(u){var c;u!==o.value&&(o.value=u,(c=a.handleSizeChange)==null||c.call(a,Number(u)))}return(u,c)=>($(),K("span",{class:U(x(i).e("sizes"))},[ie(x(ED),{"model-value":o.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,"validate-event":!1,onChange:l},{default:re(()=>[($(!0),K(Ye,null,Er(x(s),f=>($(),de(x(AD),{key:f,value:f,label:f+x(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size"])],2))}});var vle=Re(ple,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const gle=$e({size:{type:String,values:Oa}}),mle=["disabled"],yle=j({name:"ElPaginationJumper"}),ble=j({...yle,props:gle,setup(e){const{t}=Hn(),n=we("pagination"),{pageCount:r,disabled:i,currentPage:a,changeEvent:o}=PC(),s=N(),l=P(()=>{var f;return(f=s.value)!=null?f:a==null?void 0:a.value});function u(f){s.value=f?+f:""}function c(f){f=Math.trunc(+f),o==null||o(f),s.value=void 0}return(f,d)=>($(),K("span",{class:U(x(n).e("jump")),disabled:x(i)},[ee("span",{class:U([x(n).e("goto")])},Ue(x(t)("el.pagination.goto")),3),ie(x(yC),{size:f.size,class:U([x(n).e("editor"),x(n).is("in-pagination")]),min:1,max:x(r),disabled:x(i),"model-value":x(l),"validate-event":!1,label:x(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:c},null,8,["size","class","max","disabled","model-value","label"]),ee("span",{class:U([x(n).e("classifier")])},Ue(x(t)("el.pagination.pageClassifier")),3)],10,mle))}});var _le=Re(ble,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const wle=$e({total:{type:Number,default:1e3}}),Sle=["disabled"],Cle=j({name:"ElPaginationTotal"}),xle=j({...Cle,props:wle,setup(e){const{t}=Hn(),n=we("pagination"),{disabled:r}=PC();return(i,a)=>($(),K("span",{class:U(x(n).e("total")),disabled:x(r)},Ue(x(t)("el.pagination.total",{total:i.total})),11,Sle))}});var Tle=Re(xle,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const Ele=$e({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Ale=["onKeyup"],Mle=["aria-current","aria-label","tabindex"],Ile=["tabindex","aria-label"],Ole=["aria-current","aria-label","tabindex"],Ple=["tabindex","aria-label"],Rle=["aria-current","aria-label","tabindex"],Dle=j({name:"ElPaginationPager"}),Lle=j({...Dle,props:Ele,emits:["change"],setup(e,{emit:t}){const n=e,r=we("pager"),i=we("icon"),{t:a}=Hn(),o=N(!1),s=N(!1),l=N(!1),u=N(!1),c=N(!1),f=N(!1),d=P(()=>{const b=n.pagerCount,S=(b-1)/2,w=Number(n.currentPage),C=Number(n.pageCount);let T=!1,E=!1;C>b&&(w>b-S&&(T=!0),w<C-S&&(E=!0));const M=[];if(T&&!E){const A=C-(b-2);for(let I=A;I<C;I++)M.push(I)}else if(!T&&E)for(let A=2;A<b;A++)M.push(A);else if(T&&E){const A=Math.floor(b/2)-1;for(let I=w-A;I<=w+A;I++)M.push(I)}else for(let A=2;A<C;A++)M.push(A);return M}),h=P(()=>["more","btn-quickprev",i.b(),r.is("disabled",n.disabled)]),p=P(()=>["more","btn-quicknext",i.b(),r.is("disabled",n.disabled)]),v=P(()=>n.disabled?-1:0);hi(()=>{const b=(n.pagerCount-1)/2;o.value=!1,s.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-b&&(o.value=!0),n.currentPage<n.pageCount-b&&(s.value=!0))});function m(b=!1){n.disabled||(b?l.value=!0:u.value=!0)}function g(b=!1){b?c.value=!0:f.value=!0}function y(b){const S=b.target;if(S.tagName.toLowerCase()==="li"&&Array.from(S.classList).includes("number")){const w=Number(S.textContent);w!==n.currentPage&&t("change",w)}else S.tagName.toLowerCase()==="li"&&Array.from(S.classList).includes("more")&&_(b)}function _(b){const S=b.target;if(S.tagName.toLowerCase()==="ul"||n.disabled)return;let w=Number(S.textContent);const C=n.pageCount,T=n.currentPage,E=n.pagerCount-2;S.className.includes("more")&&(S.className.includes("quickprev")?w=T-E:S.className.includes("quicknext")&&(w=T+E)),Number.isNaN(+w)||(w<1&&(w=1),w>C&&(w=C)),w!==T&&t("change",w)}return(b,S)=>($(),K("ul",{class:U(x(r).b()),onClick:_,onKeyup:or(y,["enter"])},[b.pageCount>0?($(),K("li",{key:0,class:U([[x(r).is("active",b.currentPage===1),x(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===1,"aria-label":x(a)("el.pagination.currentPage",{pager:1}),tabindex:x(v)}," 1 ",10,Mle)):_e("v-if",!0),o.value?($(),K("li",{key:1,class:U(x(h)),tabindex:x(v),"aria-label":x(a)("el.pagination.prevPages",{pager:b.pagerCount-2}),onMouseenter:S[0]||(S[0]=w=>m(!0)),onMouseleave:S[1]||(S[1]=w=>l.value=!1),onFocus:S[2]||(S[2]=w=>g(!0)),onBlur:S[3]||(S[3]=w=>c.value=!1)},[(l.value||c.value)&&!b.disabled?($(),de(x(uX),{key:0})):($(),de(x(UT),{key:1}))],42,Ile)):_e("v-if",!0),($(!0),K(Ye,null,Er(x(d),w=>($(),K("li",{key:w,class:U([[x(r).is("active",b.currentPage===w),x(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===w,"aria-label":x(a)("el.pagination.currentPage",{pager:w}),tabindex:x(v)},Ue(w),11,Ole))),128)),s.value?($(),K("li",{key:2,class:U(x(p)),tabindex:x(v),"aria-label":x(a)("el.pagination.nextPages",{pager:b.pagerCount-2}),onMouseenter:S[4]||(S[4]=w=>m()),onMouseleave:S[5]||(S[5]=w=>u.value=!1),onFocus:S[6]||(S[6]=w=>g()),onBlur:S[7]||(S[7]=w=>f.value=!1)},[(u.value||f.value)&&!b.disabled?($(),de(x(vX),{key:0})):($(),de(x(UT),{key:1}))],42,Ple)):_e("v-if",!0),b.pageCount>1?($(),K("li",{key:3,class:U([[x(r).is("active",b.currentPage===b.pageCount),x(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===b.pageCount,"aria-label":x(a)("el.pagination.currentPage",{pager:b.pageCount}),tabindex:x(v)},Ue(b.pageCount),11,Rle)):_e("v-if",!0)],42,Ale))}});var kle=Re(Lle,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const rr=e=>typeof e!="number",$le=$e({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>gt(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Oe(Array),default:()=>Ur([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:un,default:()=>D7},nextText:{type:String,default:""},nextIcon:{type:un,default:()=>Hc},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),Nle={"update:current-page":e=>gt(e),"update:page-size":e=>gt(e),"size-change":e=>gt(e),"current-change":e=>gt(e),"prev-click":e=>gt(e),"next-click":e=>gt(e)},$8="ElPagination";var Ble=j({name:$8,props:$le,emits:Nle,setup(e,{emit:t,slots:n}){const{t:r}=Hn(),i=we("pagination"),a=Ze().vnode.props||{},o="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,s="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,l=P(()=>{if(rr(e.total)&&rr(e.pageCount)||!rr(e.currentPage)&&!o)return!1;if(e.layout.includes("sizes")){if(rr(e.pageCount)){if(!rr(e.total)&&!rr(e.pageSize)&&!s)return!1}else if(!s)return!1}return!0}),u=N(rr(e.defaultPageSize)?10:e.defaultPageSize),c=N(rr(e.defaultCurrentPage)?1:e.defaultCurrentPage),f=P({get(){return rr(e.pageSize)?u.value:e.pageSize},set(_){rr(e.pageSize)&&(u.value=_),s&&(t("update:page-size",_),t("size-change",_))}}),d=P(()=>{let _=0;return rr(e.pageCount)?rr(e.total)||(_=Math.max(1,Math.ceil(e.total/f.value))):_=e.pageCount,_}),h=P({get(){return rr(e.currentPage)?c.value:e.currentPage},set(_){let b=_;_<1?b=1:_>d.value&&(b=d.value),rr(e.currentPage)&&(c.value=b),o&&(t("update:current-page",b),t("current-change",b))}});ce(d,_=>{h.value>_&&(h.value=_)});function p(_){h.value=_}function v(_){f.value=_;const b=d.value;h.value>b&&(h.value=b)}function m(){e.disabled||(h.value-=1,t("prev-click",h.value))}function g(){e.disabled||(h.value+=1,t("next-click",h.value))}function y(_,b){_&&(_.props||(_.props={}),_.props.class=[_.props.class,b].join(" "))}return _t(CD,{pageCount:d,disabled:P(()=>e.disabled),currentPage:h,changeEvent:p,handleSizeChange:v}),()=>{var _,b;if(!l.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&d.value<=1)return null;const S=[],w=[],C=be("div",{class:i.e("rightwrapper")},w),T={prev:be(Hse,{disabled:e.disabled,currentPage:h.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:m}),jumper:be(_le,{size:e.small?"small":"default"}),pager:be(kle,{currentPage:h.value,pageCount:d.value,pagerCount:e.pagerCount,onChange:p,disabled:e.disabled}),next:be(Kse,{disabled:e.disabled,currentPage:h.value,pageCount:d.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:g}),sizes:be(vle,{pageSize:f.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,size:e.small?"small":"default"}),slot:(b=(_=n==null?void 0:n.default)==null?void 0:_.call(n))!=null?b:null,total:be(Tle,{total:rr(e.total)?0:e.total})},E=e.layout.split(",").map(A=>A.trim());let M=!1;return E.forEach(A=>{if(A==="->"){M=!0;return}M?w.push(T[A]):S.push(T[A])}),y(S[0],i.is("first")),y(S[S.length-1],i.is("last")),M&&w.length>0&&(y(w[0],i.is("first")),y(w[w.length-1],i.is("last")),S.push(C)),be("div",{class:[i.b(),i.is("background",e.background),{[i.m("small")]:e.small}]},S)}}});const Fle=At(Ble),zle=$e({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:j_,default:"primary"},cancelButtonType:{type:String,values:j_,default:"text"},icon:{type:un,default:()=>tQ},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:sr.teleported,persistent:sr.persistent,width:{type:[String,Number],default:150}}),Vle={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},Hle=j({name:"ElPopconfirm"}),Wle=j({...Hle,props:zle,emits:Vle,setup(e,{emit:t}){const n=e,{t:r}=Hn(),i=we("popconfirm"),a=N(),o=()=>{var d,h;(h=(d=a.value)==null?void 0:d.onClose)==null||h.call(d)},s=P(()=>({width:Jn(n.width)})),l=d=>{t("confirm",d),o()},u=d=>{t("cancel",d),o()},c=P(()=>n.confirmButtonText||r("el.popconfirm.confirmButtonText")),f=P(()=>n.cancelButtonText||r("el.popconfirm.cancelButtonText"));return(d,h)=>($(),de(x(ms),on({ref_key:"tooltipRef",ref:a,trigger:"click",effect:"light"},d.$attrs,{"popper-class":`${x(i).namespace.value}-popover`,"popper-style":x(s),teleported:d.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":d.hideAfter,persistent:d.persistent}),{content:re(()=>[ee("div",{class:U(x(i).b())},[ee("div",{class:U(x(i).e("main"))},[!d.hideIcon&&d.icon?($(),de(x(yt),{key:0,class:U(x(i).e("icon")),style:it({color:d.iconColor})},{default:re(()=>[($(),de(Rt(d.icon)))]),_:1},8,["class","style"])):_e("v-if",!0),an(" "+Ue(d.title),1)],2),ee("div",{class:U(x(i).e("action"))},[ie(x(nh),{size:"small",type:d.cancelButtonType==="text"?"":d.cancelButtonType,text:d.cancelButtonType==="text",onClick:u},{default:re(()=>[an(Ue(x(f)),1)]),_:1},8,["type","text"]),ie(x(nh),{size:"small",type:d.confirmButtonType==="text"?"":d.confirmButtonType,text:d.confirmButtonType==="text",onClick:l},{default:re(()=>[an(Ue(x(c)),1)]),_:1},8,["type","text"])],2)],2)]),default:re(()=>[d.$slots.reference?ge(d.$slots,"reference",{key:0}):_e("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Ule=Re(Wle,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const Gle=At(Ule),jle=$e({trigger:th.trigger,placement:ig.placement,disabled:th.disabled,visible:sr.visible,transition:sr.transition,popperOptions:ig.popperOptions,tabindex:ig.tabindex,content:sr.content,popperStyle:sr.popperStyle,popperClass:sr.popperClass,enterable:{...sr.enterable,default:!0},effect:{...sr.effect,default:"light"},teleported:sr.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),qle={"update:visible":e=>Xn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Kle="onUpdate:visible",Yle=j({name:"ElPopover"}),Zle=j({...Yle,props:jle,emits:qle,setup(e,{expose:t,emit:n}){const r=e,i=P(()=>r[Kle]),a=we("popover"),o=N(),s=P(()=>{var m;return(m=x(o))==null?void 0:m.popperRef}),l=P(()=>[{width:Jn(r.width)},r.popperStyle]),u=P(()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}]),c=P(()=>r.transition===`${a.namespace.value}-fade-in-linear`),f=()=>{var m;(m=o.value)==null||m.hide()},d=()=>{n("before-enter")},h=()=>{n("before-leave")},p=()=>{n("after-enter")},v=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:s,hide:f}),(m,g)=>($(),de(x(ms),on({ref_key:"tooltipRef",ref:o},m.$attrs,{trigger:m.trigger,placement:m.placement,disabled:m.disabled,visible:m.visible,transition:m.transition,"popper-options":m.popperOptions,tabindex:m.tabindex,content:m.content,offset:m.offset,"show-after":m.showAfter,"hide-after":m.hideAfter,"auto-close":m.autoClose,"show-arrow":m.showArrow,"aria-label":m.title,effect:m.effect,enterable:m.enterable,"popper-class":x(u),"popper-style":x(l),teleported:m.teleported,persistent:m.persistent,"gpu-acceleration":x(c),"onUpdate:visible":x(i),onBeforeShow:d,onBeforeHide:h,onShow:p,onHide:v}),{content:re(()=>[m.title?($(),K("div",{key:0,class:U(x(a).e("title")),role:"title"},Ue(m.title),3)):_e("v-if",!0),ge(m.$slots,"default",{},()=>[an(Ue(m.content),1)])]),default:re(()=>[m.$slots.reference?ge(m.$slots,"reference",{key:0}):_e("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Xle=Re(Zle,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const N8=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var Qle={mounted(e,t){N8(e,t)},updated(e,t){N8(e,t)}};const Jle="popover",eue=SQ(Qle,Jle),tue=At(Xle,{directive:eue}),nue=$e({prefixCls:{type:String}}),B8=j({name:"ElSpaceItem",props:nue,setup(e,{slots:t}){const n=we("space"),r=P(()=>`${e.prefixCls||n.b()}__item`);return()=>be("div",{class:r.value},ge(t,"default"))}}),F8={small:8,default:12,large:16};function rue(e){const t=we("space"),n=P(()=>[t.b(),t.m(e.direction),e.class]),r=N(0),i=N(0),a=P(()=>{const s=e.wrap||e.fill?{flexWrap:"wrap",marginBottom:`-${i.value}px`}:{},l={alignItems:e.alignment};return[s,l,e.style]}),o=P(()=>{const s={paddingBottom:`${i.value}px`,marginRight:`${r.value}px`},l=e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{};return[s,l]});return hi(()=>{const{size:s="small",wrap:l,direction:u,fill:c}=e;if(Ee(s)){const[f=0,d=0]=s;r.value=f,i.value=d}else{let f;gt(s)?f=s:f=F8[s||"small"]||F8.small,(l||c)&&u==="horizontal"?r.value=i.value=f:u==="horizontal"?(r.value=f,i.value=0):(i.value=f,r.value=0)}}),{classes:n,containerStyle:a,itemStyle:o}}const iue=$e({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:Oe([String,Object,Array]),default:""},style:{type:Oe([String,Array,Object]),default:""},alignment:{type:Oe(String),default:"center"},prefixCls:{type:String},spacer:{type:Oe([Object,String,Number,Array]),default:null,validator:e=>Cn(e)||gt(e)||Ge(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Oa,validator:e=>gt(e)||Ee(e)&&e.length===2&&e.every(gt)}}),aue=j({name:"ElSpace",props:iue,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:i}=rue(e);function a(o,s="",l=[]){const{prefixCls:u}=e;return o.forEach((c,f)=>{B_(c)?Ee(c.children)&&c.children.forEach((d,h)=>{B_(d)&&Ee(d.children)?a(d.children,`${s+h}-`,l):l.push(ie(B8,{style:i.value,prefixCls:u,key:`nested-${s+h}`},{default:()=>[d]},ai.PROPS|ai.STYLE,["style","prefixCls"]))}):EQ(c)&&l.push(ie(B8,{style:i.value,prefixCls:u,key:`LoopKey${s+f}`},{default:()=>[c]},ai.PROPS|ai.STYLE,["style","prefixCls"]))}),l}return()=>{var o;const{spacer:s,direction:l}=e,u=ge(t,"default",{key:0},()=>[]);if(((o=u.children)!=null?o:[]).length===0)return null;if(Ee(u.children)){let c=a(u.children);if(s){const f=c.length-1;c=c.reduce((d,h,p)=>{const v=[...d,h];return p!==f&&v.push(ie("span",{style:[i.value,l==="vertical"?"width: 100%":null],key:p},[Cn(s)?s:an(s,ai.TEXT)],ai.STYLE)),v},[])}return ie("div",{class:n.value,style:r.value},c,ai.STYLE|ai.CLASS)}return u.children}}}),oue=At(aue),sue=$e({modelValue:{type:[Boolean,String,Number],default:!1},value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:un},inactiveIcon:{type:un},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String,loading:{type:Boolean,default:!1},beforeChange:{type:Oe(Function)},size:{type:String,validator:z7},tabindex:{type:[String,Number]}}),lue={[jt]:e=>Xn(e)||Ge(e)||gt(e),[ds]:e=>Xn(e)||Ge(e)||gt(e),[N_]:e=>Xn(e)||Ge(e)||gt(e)},uue=["onClick"],cue=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],fue=["aria-hidden"],due=["aria-hidden"],hue=["aria-hidden"],r2="ElSwitch",pue=j({name:r2}),vue=j({...pue,props:sue,emits:lue,setup(e,{expose:t,emit:n}){const r=e,i=Ze(),{formItem:a}=gs(),o=kr(),s=we("switch");Bl({from:'"value"',replacement:'"model-value" or "v-model"',scope:r2,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},P(()=>{var S;return!!((S=i.vnode.props)!=null&&S.value)}));const{inputId:l}=Zh(r,{formItemContext:a}),u=Uc(P(()=>r.loading)),c=N(r.modelValue!==!1),f=N(),d=N(),h=P(()=>[s.b(),s.m(o.value),s.is("disabled",u.value),s.is("checked",m.value)]),p=P(()=>({width:Jn(r.width)}));ce(()=>r.modelValue,()=>{c.value=!0}),ce(()=>r.value,()=>{c.value=!1});const v=P(()=>c.value?r.modelValue:r.value),m=P(()=>v.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(v.value)||(n(jt,r.inactiveValue),n(ds,r.inactiveValue),n(N_,r.inactiveValue)),ce(m,S=>{var w;f.value.checked=S,r.validateEvent&&((w=a==null?void 0:a.validate)==null||w.call(a,"change").catch(C=>void 0))});const g=()=>{const S=m.value?r.inactiveValue:r.activeValue;n(jt,S),n(ds,S),n(N_,S),Ke(()=>{f.value.checked=m.value})},y=()=>{if(u.value)return;const{beforeChange:S}=r;if(!S){g();return}const w=S();[Rd(w),Xn(w)].includes(!0)||Lr(r2,"beforeChange must return type `Promise<boolean>` or `boolean`"),Rd(w)?w.then(T=>{T&&g()}).catch(T=>{}):w&&g()},_=P(()=>s.cssVarBlock({...r.activeColor?{"on-color":r.activeColor}:null,...r.inactiveColor?{"off-color":r.inactiveColor}:null,...r.borderColor?{"border-color":r.borderColor}:null})),b=()=>{var S,w;(w=(S=f.value)==null?void 0:S.focus)==null||w.call(S)};return dt(()=>{f.value.checked=m.value}),t({focus:b,checked:m}),(S,w)=>($(),K("div",{class:U(x(h)),style:it(x(_)),onClick:dn(y,["prevent"])},[ee("input",{id:x(l),ref_key:"input",ref:f,class:U(x(s).e("input")),type:"checkbox",role:"switch","aria-checked":x(m),"aria-disabled":x(u),name:S.name,"true-value":S.activeValue,"false-value":S.inactiveValue,disabled:x(u),tabindex:S.tabindex,onChange:g,onKeydown:or(y,["enter"])},null,42,cue),!S.inlinePrompt&&(S.inactiveIcon||S.inactiveText)?($(),K("span",{key:0,class:U([x(s).e("label"),x(s).em("label","left"),x(s).is("active",!x(m))])},[S.inactiveIcon?($(),de(x(yt),{key:0},{default:re(()=>[($(),de(Rt(S.inactiveIcon)))]),_:1})):_e("v-if",!0),!S.inactiveIcon&&S.inactiveText?($(),K("span",{key:1,"aria-hidden":x(m)},Ue(S.inactiveText),9,fue)):_e("v-if",!0)],2)):_e("v-if",!0),ee("span",{ref_key:"core",ref:d,class:U(x(s).e("core")),style:it(x(p))},[S.inlinePrompt?($(),K("div",{key:0,class:U(x(s).e("inner"))},[S.activeIcon||S.inactiveIcon?($(),de(x(yt),{key:0,class:U(x(s).is("icon"))},{default:re(()=>[($(),de(Rt(x(m)?S.activeIcon:S.inactiveIcon)))]),_:1},8,["class"])):S.activeText||S.inactiveText?($(),K("span",{key:1,class:U(x(s).is("text")),"aria-hidden":!x(m)},Ue(x(m)?S.activeText:S.inactiveText),11,due)):_e("v-if",!0)],2)):_e("v-if",!0),ee("div",{class:U(x(s).e("action"))},[S.loading?($(),de(x(yt),{key:0,class:U(x(s).is("loading"))},{default:re(()=>[ie(x(b0))]),_:1},8,["class"])):_e("v-if",!0)],2)],6),!S.inlinePrompt&&(S.activeIcon||S.activeText)?($(),K("span",{key:1,class:U([x(s).e("label"),x(s).em("label","right"),x(s).is("active",x(m))])},[S.activeIcon?($(),de(x(yt),{key:0},{default:re(()=>[($(),de(Rt(S.activeIcon)))]),_:1})):_e("v-if",!0),!S.activeIcon&&S.activeText?($(),K("span",{key:1,"aria-hidden":!x(m)},Ue(S.activeText),9,hue)):_e("v-if",!0)],2)):_e("v-if",!0)],14,uue))}});var gue=Re(vue,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const mue=At(gue);/*!
 * escape-html
 * Copyright(c) 2012-2013 TJ Holowaychuk
 * Copyright(c) 2015 Andreas Lubbe
 * Copyright(c) 2015 Tiancheng "Timothy" Gu
 * MIT Licensed
 */var yue=/["'&<>]/,bue=_ue;function _ue(e){var t=""+e,n=yue.exec(t);if(!n)return t;var r,i="",a=0,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=r}return o!==a?i+t.substring(o,a):i}const wue=xC(bue),t1=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},Sue=function(e,t,n,r,i){if(!t&&!r&&(!i||Array.isArray(i)&&!i.length))return e;typeof n=="string"?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const a=r?null:function(s,l){return i?(Array.isArray(i)||(i=[i]),i.map(u=>typeof u=="string"?Kn(s,u):u(s,l,e))):(t!=="$key"&&st(s)&&"$value"in s&&(s=s.$value),[st(s)?Kn(s,t):s])},o=function(s,l){if(r)return r(s.value,l.value);for(let u=0,c=s.key.length;u<c;u++){if(s.key[u]<l.key[u])return-1;if(s.key[u]>l.key[u])return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:a?a(s,l):null})).sort((s,l)=>{let u=o(s,l);return u||(u=s.index-l.index),u*+n}).map(s=>s.value)},MD=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},Cue=function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const i=e.columns[r];if(i.columnKey===t){n=i;break}}return n||Lr("ElTable",`No column matching with column-key: ${t}`),n},z8=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?MD(e,r[0]):null},Bn=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const i of n)r=r[i];return`${r}`}else if(typeof t=="function")return t.call(null,e)},ol=function(e,t){const n={};return(e||[]).forEach((r,i)=>{n[Bn(r,t)]={row:r,index:i}}),n};function xue(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(ct(t,r)){const i=t[r];typeof i<"u"&&(n[r]=i)}return n}function RC(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function ID(e){return e===""||e!==void 0&&(e=RC(e),Number.isNaN(e)&&(e=80)),e}function Tue(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Eue(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function sd(e,t,n){let r=!1;const i=e.indexOf(t),a=i!==-1,o=s=>{s==="add"?e.push(t):e.splice(i,1),r=!0,Ee(t.children)&&t.children.forEach(l=>{sd(e,l,n??!a)})};return Xn(n)?n&&!a?o("add"):!n&&a&&o("remove"):o(a?"remove":"add"),r}function Aue(e,t,n="children",r="hasChildren"){const i=o=>!(Array.isArray(o)&&o.length);function a(o,s,l){t(o,s,l),s.forEach(u=>{if(u[r]){t(u,null,l+1);return}const c=u[n];i(c)||a(u,c,l+1)})}e.forEach(o=>{if(o[r]){t(o,null,0);return}const s=o[n];i(s)||a(o,s,0)})}let Va;function Mue(e,t,n,r,i){i=O7({enterable:!0,showArrow:!0},i);const a=e==null?void 0:e.dataset.prefix,o=e==null?void 0:e.querySelector(`.${a}-scrollbar__wrap`);function s(){const m=i.effect==="light",g=document.createElement("div");return g.className=[`${a}-popper`,m?"is-light":"is-dark",i.popperClass||""].join(" "),n=wue(n),g.innerHTML=n,g.style.zIndex=String(r()),e==null||e.appendChild(g),g}function l(){const m=document.createElement("div");return m.className=`${a}-popper__arrow`,m}function u(){c&&c.update()}Va==null||Va(),Va=()=>{try{c&&c.destroy(),h&&(e==null||e.removeChild(h)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),o==null||o.removeEventListener("scroll",Va),Va=void 0}catch{}};let c=null,f=u,d=Va;i.enterable&&({onOpen:f,onClose:d}=lR({showAfter:i.showAfter,hideAfter:i.hideAfter,open:u,close:Va}));const h=s();h.onmouseenter=f,h.onmouseleave=d;const p=[];if(i.offset&&p.push({name:"offset",options:{offset:[0,i.offset]}}),i.showArrow){const m=h.appendChild(l());p.push({name:"arrow",options:{element:m,padding:10}})}const v=i.popperOptions||{};return c=iR(t,h,{placement:i.placement||"top",strategy:"fixed",...v,modifiers:v.modifiers?p.concat(v.modifiers):p}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),o==null||o.addEventListener("scroll",Va),c}function OD(e){return e.children?jY(e.children,OD):[e]}function V8(e,t){return e+t.colSpan}const PD=(e,t,n,r)=>{let i=0,a=e;const o=n.states.columns.value;if(r){const l=OD(r[e]);i=o.slice(0,o.indexOf(l[0])).reduce(V8,0),a=i+l.reduce(V8,0)-1}else i=e;let s;switch(t){case"left":a<n.states.fixedLeafColumnsLength.value&&(s="left");break;case"right":i>=o.length-n.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:a<n.states.fixedLeafColumnsLength.value?s="left":i>=o.length-n.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:i,after:a}:{}},DC=(e,t,n,r,i,a=0)=>{const o=[],{direction:s,start:l,after:u}=PD(t,n,r,i);if(s){const c=s==="left";o.push(`${e}-fixed-column--${s}`),c&&u+a===r.states.fixedLeafColumnsLength.value-1?o.push("is-last-column"):!c&&l-a===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&o.push("is-first-column")}return o};function H8(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const LC=(e,t,n,r)=>{const{direction:i,start:a=0,after:o=0}=PD(e,t,n,r);if(!i)return;const s={},l=i==="left",u=n.states.columns.value;return l?s.left=u.slice(0,a).reduce(H8,0):s.right=u.slice(o+1).reverse().reduce(H8,0),s},Sc=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function Iue(e){const t=Ze(),n=N(!1),r=N([]);return{updateExpandRows:()=>{const l=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=l.slice();else if(u){const c=ol(r.value,u);r.value=l.reduce((f,d)=>{const h=Bn(d,u);return c[h]&&f.push(d),f},[])}else r.value=[]},toggleRowExpansion:(l,u)=>{sd(r.value,l,u)&&t.emit("expand-change",l,r.value.slice())},setExpandRowKeys:l=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,f=ol(u,c);r.value=l.reduce((d,h)=>{const p=f[h];return p&&d.push(p.row),d},[])},isRowExpanded:l=>{const u=e.rowKey.value;return u?!!ol(r.value,u)[Bn(l,u)]:r.value.includes(l)},states:{expandRows:r,defaultExpandAll:n}}}function Oue(e){const t=Ze(),n=N(null),r=N(null),i=u=>{t.store.assertRowKey(),n.value=u,o(u)},a=()=>{n.value=null},o=u=>{const{data:c,rowKey:f}=e;let d=null;f.value&&(d=(x(c)||[]).find(h=>Bn(h,f.value)===u)),r.value=d,t.emit("current-change",r.value,null)};return{setCurrentRowKey:i,restoreCurrentRowKey:a,setCurrentRowByKey:o,updateCurrentRow:u=>{const c=r.value;if(u&&u!==c){r.value=u,t.emit("current-change",r.value,c);return}!u&&c&&(r.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],f=r.value;if(!c.includes(f)&&f){if(u){const d=Bn(f,u);o(d)}else r.value=null;r.value===null&&t.emit("current-change",null,f)}else n.value&&(o(n.value),a())},states:{_currentRowKey:n,currentRow:r}}}function Pue(e){const t=N([]),n=N({}),r=N(16),i=N(!1),a=N({}),o=N("hasChildren"),s=N("children"),l=Ze(),u=P(()=>{if(!e.rowKey.value)return{};const g=e.data.value||[];return f(g)}),c=P(()=>{const g=e.rowKey.value,y=Object.keys(a.value),_={};return y.length&&y.forEach(b=>{if(a.value[b].length){const S={children:[]};a.value[b].forEach(w=>{const C=Bn(w,g);S.children.push(C),w[o.value]&&!_[C]&&(_[C]={children:[]})}),_[b]=S}}),_}),f=g=>{const y=e.rowKey.value,_={};return Aue(g,(b,S,w)=>{const C=Bn(b,y);Array.isArray(S)?_[C]={children:S.map(T=>Bn(T,y)),level:w}:i.value&&(_[C]={children:[],lazy:!0,level:w})},s.value,o.value),_},d=(g=!1,y=(_=>(_=l.store)==null?void 0:_.states.defaultExpandAll.value)())=>{var _;const b=u.value,S=c.value,w=Object.keys(b),C={};if(w.length){const T=x(n),E=[],M=(I,O)=>{if(g)return t.value?y||t.value.includes(O):!!(y||I!=null&&I.expanded);{const D=y||t.value&&t.value.includes(O);return!!(I!=null&&I.expanded||D)}};w.forEach(I=>{const O=T[I],D={...b[I]};if(D.expanded=M(O,I),D.lazy){const{loaded:F=!1,loading:k=!1}=O||{};D.loaded=!!F,D.loading=!!k,E.push(I)}C[I]=D});const A=Object.keys(S);i.value&&A.length&&E.length&&A.forEach(I=>{const O=T[I],D=S[I].children;if(E.includes(I)){if(C[I].children.length!==0)throw new Error("[ElTable]children must be an empty array.");C[I].children=D}else{const{loaded:F=!1,loading:k=!1}=O||{};C[I]={lazy:!0,loaded:!!F,loading:!!k,expanded:M(O,I),children:D,level:""}}})}n.value=C,(_=l.store)==null||_.updateTableScrollY()};ce(()=>t.value,()=>{d(!0)}),ce(()=>u.value,()=>{d()}),ce(()=>c.value,()=>{d()});const h=g=>{t.value=g,d()},p=(g,y)=>{l.store.assertRowKey();const _=e.rowKey.value,b=Bn(g,_),S=b&&n.value[b];if(b&&S&&"expanded"in S){const w=S.expanded;y=typeof y>"u"?!S.expanded:y,n.value[b].expanded=y,w!==y&&l.emit("expand-change",g,y),l.store.updateTableScrollY()}},v=g=>{l.store.assertRowKey();const y=e.rowKey.value,_=Bn(g,y),b=n.value[_];i.value&&b&&"loaded"in b&&!b.loaded?m(g,_,b):p(g,void 0)},m=(g,y,_)=>{const{load:b}=l.props;b&&!n.value[y].loaded&&(n.value[y].loading=!0,b(g,_,S=>{if(!Array.isArray(S))throw new TypeError("[ElTable] data must be an array");n.value[y].loading=!1,n.value[y].loaded=!0,n.value[y].expanded=!0,S.length&&(a.value[y]=S),l.emit("expand-change",g,!0)}))};return{loadData:m,loadOrToggle:v,toggleTreeExpansion:p,updateTreeExpandKeys:h,updateTreeData:d,normalize:f,states:{expandRowKeys:t,treeData:n,indent:r,lazy:i,lazyTreeNodeMap:a,lazyColumnIdentifier:o,childrenColumnName:s}}}const Rue=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:Sue(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},ag=e=>{const t=[];return e.forEach(n=>{n.children?t.push.apply(t,ag(n.children)):t.push(n)}),t};function Due(){var e;const t=Ze(),{size:n}=Ci((e=t.proxy)==null?void 0:e.$props),r=N(null),i=N([]),a=N([]),o=N(!1),s=N([]),l=N([]),u=N([]),c=N([]),f=N([]),d=N([]),h=N([]),p=N([]),v=[],m=N(0),g=N(0),y=N(0),_=N(!1),b=N([]),S=N(!1),w=N(!1),C=N(null),T=N({}),E=N(null),M=N(null),A=N(null),I=N(null),O=N(null);ce(i,()=>t.state&&H(!1),{deep:!0});const D=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},F=Pe=>{var je;(je=Pe.children)==null||je.forEach(at=>{at.fixed=Pe.fixed,F(at)})},k=()=>{s.value.forEach(Tt=>{F(Tt)}),c.value=s.value.filter(Tt=>Tt.fixed===!0||Tt.fixed==="left"),f.value=s.value.filter(Tt=>Tt.fixed==="right"),c.value.length>0&&s.value[0]&&s.value[0].type==="selection"&&!s.value[0].fixed&&(s.value[0].fixed=!0,c.value.unshift(s.value[0]));const Pe=s.value.filter(Tt=>!Tt.fixed);l.value=[].concat(c.value).concat(Pe).concat(f.value);const je=ag(Pe),at=ag(c.value),Je=ag(f.value);m.value=je.length,g.value=at.length,y.value=Je.length,u.value=[].concat(at).concat(je).concat(Je),o.value=c.value.length>0||f.value.length>0},H=(Pe,je=!1)=>{Pe&&k(),je?t.state.doLayout():t.state.debouncedUpdateLayout()},V=Pe=>b.value.includes(Pe),z=()=>{_.value=!1,b.value.length&&(b.value=[],t.emit("selection-change",[]))},q=()=>{let Pe;if(r.value){Pe=[];const je=ol(b.value,r.value),at=ol(i.value,r.value);for(const Je in je)ct(je,Je)&&!at[Je]&&Pe.push(je[Je].row)}else Pe=b.value.filter(je=>!i.value.includes(je));if(Pe.length){const je=b.value.filter(at=>!Pe.includes(at));b.value=je,t.emit("selection-change",je.slice())}},ae=()=>(b.value||[]).slice(),oe=(Pe,je=void 0,at=!0)=>{if(sd(b.value,Pe,je)){const Tt=(b.value||[]).slice();at&&t.emit("select",Tt,Pe),t.emit("selection-change",Tt)}},xe=()=>{var Pe,je;const at=w.value?!_.value:!(_.value||b.value.length);_.value=at;let Je=!1,Tt=0;const Mt=(je=(Pe=t==null?void 0:t.store)==null?void 0:Pe.states)==null?void 0:je.rowKey.value;i.value.forEach((Yt,Y)=>{const fe=Y+Tt;C.value?C.value.call(null,Yt,fe)&&sd(b.value,Yt,at)&&(Je=!0):sd(b.value,Yt,at)&&(Je=!0),Tt+=De(Bn(Yt,Mt))}),Je&&t.emit("selection-change",b.value?b.value.slice():[]),t.emit("select-all",b.value)},Ae=()=>{const Pe=ol(b.value,r.value);i.value.forEach(je=>{const at=Bn(je,r.value),Je=Pe[at];Je&&(b.value[Je.index]=je)})},Ve=()=>{var Pe,je,at;if(((Pe=i.value)==null?void 0:Pe.length)===0){_.value=!1;return}let Je;r.value&&(Je=ol(b.value,r.value));const Tt=function(fe){return Je?!!Je[Bn(fe,r.value)]:b.value.includes(fe)};let Mt=!0,Yt=0,Y=0;for(let fe=0,He=(i.value||[]).length;fe<He;fe++){const mt=(at=(je=t==null?void 0:t.store)==null?void 0:je.states)==null?void 0:at.rowKey.value,In=fe+Y,mn=i.value[fe],Mi=C.value&&C.value.call(null,mn,In);if(Tt(mn))Yt++;else if(!C.value||Mi){Mt=!1;break}Y+=De(Bn(mn,mt))}Yt===0&&(Mt=!1),_.value=Mt},De=Pe=>{var je;if(!t||!t.store)return 0;const{treeData:at}=t.store.states;let Je=0;const Tt=(je=at.value[Pe])==null?void 0:je.children;return Tt&&(Je+=Tt.length,Tt.forEach(Mt=>{Je+=De(Mt)})),Je},W=(Pe,je)=>{Array.isArray(Pe)||(Pe=[Pe]);const at={};return Pe.forEach(Je=>{T.value[Je.id]=je,at[Je.columnKey||Je.id]=je}),at},Z=(Pe,je,at)=>{M.value&&M.value!==Pe&&(M.value.order=null),M.value=Pe,A.value=je,I.value=at},J=()=>{let Pe=x(a);Object.keys(T.value).forEach(je=>{const at=T.value[je];if(!at||at.length===0)return;const Je=MD({columns:u.value},je);Je&&Je.filterMethod&&(Pe=Pe.filter(Tt=>at.some(Mt=>Je.filterMethod.call(null,Mt,Tt,Je))))}),E.value=Pe},ue=()=>{i.value=Rue(E.value,{sortingColumn:M.value,sortProp:A.value,sortOrder:I.value})},pe=(Pe=void 0)=>{Pe&&Pe.filter||J(),ue()},L=Pe=>{const{tableHeaderRef:je}=t.refs;if(!je)return;const at=Object.assign({},je.filterPanels),Je=Object.keys(at);if(Je.length)if(typeof Pe=="string"&&(Pe=[Pe]),Array.isArray(Pe)){const Tt=Pe.map(Mt=>Cue({columns:u.value},Mt));Je.forEach(Mt=>{const Yt=Tt.find(Y=>Y.id===Mt);Yt&&(Yt.filteredValue=[])}),t.store.commit("filterChange",{column:Tt,values:[],silent:!0,multi:!0})}else Je.forEach(Tt=>{const Mt=u.value.find(Yt=>Yt.id===Tt);Mt&&(Mt.filteredValue=[])}),T.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},B=()=>{M.value&&(Z(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:G,toggleRowExpansion:Q,updateExpandRows:te,states:se,isRowExpanded:Te}=Iue({data:i,rowKey:r}),{updateTreeExpandKeys:he,toggleTreeExpansion:ye,updateTreeData:le,loadOrToggle:Le,states:Me}=Pue({data:i,rowKey:r}),{updateCurrentRowData:X,updateCurrentRow:Ie,setCurrentRowKey:We,states:ht}=Oue({data:i,rowKey:r});return{assertRowKey:D,updateColumns:k,scheduleLayout:H,isSelected:V,clearSelection:z,cleanSelection:q,getSelectionRows:ae,toggleRowSelection:oe,_toggleAllSelection:xe,toggleAllSelection:null,updateSelectionByRowKey:Ae,updateAllSelected:Ve,updateFilters:W,updateCurrentRow:Ie,updateSort:Z,execFilter:J,execSort:ue,execQuery:pe,clearFilter:L,clearSort:B,toggleRowExpansion:Q,setExpandRowKeysAdapter:Pe=>{G(Pe),he(Pe)},setCurrentRowKey:We,toggleRowExpansionAdapter:(Pe,je)=>{u.value.some(({type:Je})=>Je==="expand")?Q(Pe,je):ye(Pe,je)},isRowExpanded:Te,updateExpandRows:te,updateCurrentRowData:X,loadOrToggle:Le,updateTreeData:le,states:{tableSize:n,rowKey:r,data:i,_data:a,isComplex:o,_columns:s,originColumns:l,columns:u,fixedColumns:c,rightFixedColumns:f,leafColumns:d,fixedLeafColumns:h,rightFixedLeafColumns:p,updateOrderFns:v,leafColumnsLength:m,fixedLeafColumnsLength:g,rightFixedLeafColumnsLength:y,isAllSelected:_,selection:b,reserveSelection:S,selectOnIndeterminate:w,selectable:C,filters:T,filteredData:E,sortingColumn:M,sortProp:A,sortOrder:I,hoverRow:O,...se,...Me,...ht}}}function i2(e,t){return e.map(n=>{var r;return n.id===t.id?t:((r=n.children)!=null&&r.length&&(n.children=i2(n.children,t)),n)})}function a2(e){e.forEach(t=>{var n,r;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(r=t.children)!=null&&r.length&&a2(t.children)}),e.sort((t,n)=>t.no-n.no)}function Lue(){const e=Ze(),t=Due();return{ns:we("table"),...t,mutations:{setData(o,s){const l=x(o._data)!==s;o.data.value=s,o._data.value=s,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),x(o.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):l?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(o,s,l,u){const c=x(o._columns);let f=[];l?(l&&!l.children&&(l.children=[]),l.children.push(s),f=i2(c,l)):(c.push(s),f=c),a2(f),o._columns.value=f,o.updateOrderFns.push(u),s.type==="selection"&&(o.selectable.value=s.selectable,o.reserveSelection.value=s.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(o,s){var l;((l=s.getColumnIndex)==null?void 0:l.call(s))!==s.no&&(a2(o._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(o,s,l,u){const c=x(o._columns)||[];if(l)l.children.splice(l.children.findIndex(d=>d.id===s.id),1),Ke(()=>{var d;((d=l.children)==null?void 0:d.length)===0&&delete l.children}),o._columns.value=i2(c,l);else{const d=c.indexOf(s);d>-1&&(c.splice(d,1),o._columns.value=c)}const f=o.updateOrderFns.indexOf(u);f>-1&&o.updateOrderFns.splice(f,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(o,s){const{prop:l,order:u,init:c}=s;if(l){const f=x(o.columns).find(d=>d.property===l);f&&(f.order=u,e.store.updateSort(f,l,u),e.store.commit("changeSortCondition",{init:c}))}},changeSortCondition(o,s){const{sortingColumn:l,sortProp:u,sortOrder:c}=o,f=x(l),d=x(u),h=x(c);h===null&&(o.sortingColumn.value=null,o.sortProp.value=null);const p={filter:!0};e.store.execQuery(p),(!s||!(s.silent||s.init))&&e.emit("sort-change",{column:f,prop:d,order:h}),e.store.updateTableScrollY()},filterChange(o,s){const{column:l,values:u,silent:c}=s,f=e.store.updateFilters(l,u);e.store.execQuery(),c||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(o,s){e.store.toggleRowSelection(s),e.store.updateAllSelected()},setHoverRow(o,s){o.hoverRow.value=s},setCurrentRow(o,s){e.store.updateCurrentRow(s)}},commit:function(o,...s){const l=e.store.mutations;if(l[o])l[o].apply(e,[e.store.states].concat(s));else throw new Error(`Action not found: ${o}`)},updateTableScrollY:function(){Ke(()=>e.layout.updateScrollY.apply(e.layout))}}}const ld={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function kue(e,t){if(!e)throw new Error("Table is required.");const n=Lue();return n.toggleAllSelection=kl(n._toggleAllSelection,10),Object.keys(ld).forEach(r=>{RD(DD(t,r),r,n)}),$ue(n,t),n}function $ue(e,t){Object.keys(ld).forEach(n=>{ce(()=>DD(t,n),r=>{RD(r,n,e)})})}function RD(e,t,n){let r=e,i=ld[t];typeof ld[t]=="object"&&(i=i.key,r=r||ld[t].default),n.states[i].value=r}function DD(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(i=>{r=r[i]}),r}else return e[t]}class Nue{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=N(null),this.scrollX=N(!1),this.scrollY=N(!1),this.bodyWidth=N(null),this.fixedWidth=N(null),this.rightFixedWidth=N(null),this.gutterWidth=0;for(const n in t)ct(t,n)&&(It(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let r=!0;const i=this.scrollY.value;return r=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=r,i!==r}return!1}setHeight(t,n="height"){if(!kt)return;const r=this.table.vnode.el;if(t=Tue(t),this.height.value=Number(t),!r&&(t||t===0))return Ke(()=>this.setHeight(t,n));typeof t=="number"?(r.style[n]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(r.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?t.push.apply(t,r.columns):t.push(r)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!kt)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let r=0;const i=this.getFlattenColumns(),a=i.filter(l=>typeof l.width!="number");if(i.forEach(l=>{typeof l.width=="number"&&l.realWidth&&(l.realWidth=null)}),a.length>0&&t){if(i.forEach(l=>{r+=Number(l.width||l.minWidth||80)}),r<=n){this.scrollX.value=!1;const l=n-r;if(a.length===1)a[0].realWidth=Number(a[0].minWidth||80)+l;else{const u=a.reduce((d,h)=>d+Number(h.minWidth||80),0),c=l/u;let f=0;a.forEach((d,h)=>{if(h===0)return;const p=Math.floor(Number(d.minWidth||80)*c);f+=p,d.realWidth=Number(d.minWidth||80)+p}),a[0].realWidth=Number(a[0].minWidth||80)+l-f}}else this.scrollX.value=!0,a.forEach(l=>{l.realWidth=Number(l.minWidth)});this.bodyWidth.value=Math.max(r,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else i.forEach(l=>{!l.width&&!l.minWidth?l.realWidth=80:l.realWidth=Number(l.width||l.minWidth),r+=l.realWidth}),this.scrollX.value=r>n,this.bodyWidth.value=r;const o=this.store.states.fixedColumns.value;if(o.length>0){let l=0;o.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.fixedWidth.value=l}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let l=0;s.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=l}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(r=>{var i,a;switch(t){case"columns":(i=r.state)==null||i.onColumnsChange(this);break;case"scrollable":(a=r.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:Bue}=zl,Fue=j({name:"ElTableFilterPanel",components:{ElCheckbox:zl,ElCheckboxGroup:Bue,ElScrollbar:Qh,ElTooltip:ms,ElIcon:yt,ArrowDown:y0,ArrowUp:MZ},directives:{ClickOutside:NR},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=Ze(),{t:n}=Hn(),r=we("table-filter"),i=t==null?void 0:t.parent;i.filterPanels.value[e.column.id]||(i.filterPanels.value[e.column.id]=t);const a=N(!1),o=N(null),s=P(()=>e.column&&e.column.filters),l=P({get:()=>{var b;return(((b=e.column)==null?void 0:b.filteredValue)||[])[0]},set:b=>{u.value&&(typeof b<"u"&&b!==null?u.value.splice(0,1,b):u.value.splice(0,1))}}),u=P({get(){return e.column?e.column.filteredValue||[]:[]},set(b){e.column&&e.upDataColumn("filteredValue",b)}}),c=P(()=>e.column?e.column.filterMultiple:!0),f=b=>b.value===l.value,d=()=>{a.value=!1},h=b=>{b.stopPropagation(),a.value=!a.value},p=()=>{a.value=!1},v=()=>{y(u.value),d()},m=()=>{u.value=[],y(u.value),d()},g=b=>{l.value=b,y(typeof b<"u"&&b!==null?u.value:[]),d()},y=b=>{e.store.commit("filterChange",{column:e.column,values:b}),e.store.updateAllSelected()};ce(a,b=>{e.column&&e.upDataColumn("filterOpened",b)},{immediate:!0});const _=P(()=>{var b,S;return(S=(b=o.value)==null?void 0:b.popperRef)==null?void 0:S.contentRef});return{tooltipVisible:a,multiple:c,filteredValue:u,filterValue:l,filters:s,handleConfirm:v,handleReset:m,handleSelect:g,isActive:f,t:n,ns:r,showFilterPanel:h,hideFilterPanel:p,popperPaneRef:_,tooltip:o}}}),zue={key:0},Vue=["disabled"],Hue=["label","onClick"];function Wue(e,t,n,r,i,a){const o=et("el-checkbox"),s=et("el-checkbox-group"),l=et("el-scrollbar"),u=et("arrow-up"),c=et("arrow-down"),f=et("el-icon"),d=et("el-tooltip"),h=a0("click-outside");return $(),de(d,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.ns.b(),persistent:""},{content:re(()=>[e.multiple?($(),K("div",zue,[ee("div",{class:U(e.ns.e("content"))},[ie(l,{"wrap-class":e.ns.e("wrap")},{default:re(()=>[ie(s,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.filteredValue=p),class:U(e.ns.e("checkbox-group"))},{default:re(()=>[($(!0),K(Ye,null,Er(e.filters,p=>($(),de(o,{key:p.value,label:p.value},{default:re(()=>[an(Ue(p.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),ee("div",{class:U(e.ns.e("bottom"))},[ee("button",{class:U({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...p)=>e.handleConfirm&&e.handleConfirm(...p))},Ue(e.t("el.table.confirmFilter")),11,Vue),ee("button",{type:"button",onClick:t[2]||(t[2]=(...p)=>e.handleReset&&e.handleReset(...p))},Ue(e.t("el.table.resetFilter")),1)],2)])):($(),K("ul",{key:1,class:U(e.ns.e("list"))},[ee("li",{class:U([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:t[3]||(t[3]=p=>e.handleSelect(null))},Ue(e.t("el.table.clearFilter")),3),($(!0),K(Ye,null,Er(e.filters,p=>($(),K("li",{key:p.value,class:U([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),label:p.value,onClick:v=>e.handleSelect(p.value)},Ue(p.text),11,Hue))),128))],2))]),default:re(()=>[Wt(($(),K("span",{class:U([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:t[4]||(t[4]=(...p)=>e.showFilterPanel&&e.showFilterPanel(...p))},[ie(f,null,{default:re(()=>[e.column.filterOpened?($(),de(u,{key:0})):($(),de(c,{key:1}))]),_:1})],2)),[[h,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var Uue=Re(Fue,[["render",Wue],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function LD(e){const t=Ze();zh(()=>{n.value.addObserver(t)}),dt(()=>{r(n.value),i(n.value)}),lo(()=>{r(n.value),i(n.value)}),Ia(()=>{n.value.removeObserver(t)});const n=P(()=>{const a=e.layout;if(!a)throw new Error("Can not find table layout.");return a}),r=a=>{var o;const s=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const l=a.getFlattenColumns(),u={};l.forEach(c=>{u[c.id]=c});for(let c=0,f=s.length;c<f;c++){const d=s[c],h=d.getAttribute("name"),p=u[h];p&&d.setAttribute("width",p.realWidth||p.width)}},i=a=>{var o,s;const l=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,f=l.length;c<f;c++)l[c].setAttribute("width",a.scrollY.value?a.gutterWidth:"0");const u=((s=e.vnode.el)==null?void 0:s.querySelectorAll("th.gutter"))||[];for(let c=0,f=u.length;c<f;c++){const d=u[c];d.style.width=a.scrollY.value?`${a.gutterWidth}px`:"0",d.style.display=a.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:r,onScrollableChange:i}}const Pa=Symbol("ElTable");function Gue(e,t){const n=Ze(),r=Se(Pa),i=v=>{v.stopPropagation()},a=(v,m)=>{!m.filters&&m.sortable?p(v,m,!1):m.filterable&&!m.sortable&&i(v),r==null||r.emit("header-click",m,v)},o=(v,m)=>{r==null||r.emit("header-contextmenu",m,v)},s=N(null),l=N(!1),u=N({}),c=(v,m)=>{if(kt&&!(m.children&&m.children.length>0)&&s.value&&e.border){l.value=!0;const g=r;t("set-drag-visible",!0);const _=(g==null?void 0:g.vnode.el).getBoundingClientRect().left,b=n.vnode.el.querySelector(`th.${m.id}`),S=b.getBoundingClientRect(),w=S.left-_+30;Ka(b,"noclick"),u.value={startMouseLeft:v.clientX,startLeft:S.right-_,startColumnLeft:S.left-_,tableLeft:_};const C=g==null?void 0:g.refs.resizeProxy;C.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const T=M=>{const A=M.clientX-u.value.startMouseLeft,I=u.value.startLeft+A;C.style.left=`${Math.max(w,I)}px`},E=()=>{if(l.value){const{startColumnLeft:M,startLeft:A}=u.value,O=Number.parseInt(C.style.left,10)-M;m.width=m.realWidth=O,g==null||g.emit("header-dragend",m.width,A-M,m,v),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,s.value=null,u.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",E),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Wi(b,"noclick")},0)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",E)}},f=(v,m)=>{if(m.children&&m.children.length>0)return;const g=v.target;if(!Nl(g))return;const y=g==null?void 0:g.closest("th");if(!(!m||!m.resizable)&&!l.value&&e.border){const _=y.getBoundingClientRect(),b=document.body.style;_.width>12&&_.right-v.pageX<8?(b.cursor="col-resize",vl(y,"is-sortable")&&(y.style.cursor="col-resize"),s.value=m):l.value||(b.cursor="",vl(y,"is-sortable")&&(y.style.cursor="pointer"),s.value=null)}},d=()=>{kt&&(document.body.style.cursor="")},h=({order:v,sortOrders:m})=>{if(v==="")return m[0];const g=m.indexOf(v||null);return m[g>m.length-2?0:g+1]},p=(v,m,g)=>{var y;v.stopPropagation();const _=m.order===g?null:g||h(m),b=(y=v.target)==null?void 0:y.closest("th");if(b&&vl(b,"noclick")){Wi(b,"noclick");return}if(!m.sortable)return;const S=e.store.states;let w=S.sortProp.value,C;const T=S.sortingColumn.value;(T!==m||T===m&&T.order===null)&&(T&&(T.order=null),S.sortingColumn.value=m,w=m.property),_?C=m.order=_:C=m.order=null,S.sortProp.value=w,S.sortOrder.value=C,r==null||r.store.commit("changeSortCondition")};return{handleHeaderClick:a,handleHeaderContextMenu:o,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:p,handleFilterClick:i}}function jue(e){const t=Se(Pa),n=we("table");return{getHeaderRowStyle:s=>{const l=t==null?void 0:t.props.headerRowStyle;return typeof l=="function"?l.call(null,{rowIndex:s}):l},getHeaderRowClass:s=>{const l=[],u=t==null?void 0:t.props.headerRowClassName;return typeof u=="string"?l.push(u):typeof u=="function"&&l.push(u.call(null,{rowIndex:s})),l.join(" ")},getHeaderCellStyle:(s,l,u,c)=>{var f;let d=(f=t==null?void 0:t.props.headerCellStyle)!=null?f:{};typeof d=="function"&&(d=d.call(null,{rowIndex:s,columnIndex:l,row:u,column:c}));const h=LC(l,c.fixed,e.store,u);return Sc(h,"left"),Sc(h,"right"),Object.assign({},d,h)},getHeaderCellClass:(s,l,u,c)=>{const f=DC(n.b(),l,c.fixed,e.store,u),d=[c.id,c.order,c.headerAlign,c.className,c.labelClassName,...f];c.children||d.push("is-leaf"),c.sortable&&d.push("is-sortable");const h=t==null?void 0:t.props.headerCellClassName;return typeof h=="string"?d.push(h):typeof h=="function"&&d.push(h.call(null,{rowIndex:s,columnIndex:l,row:u,column:c})),d.push(n.e("cell")),d.filter(p=>!!p).join(" ")}}}const kD=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,kD(n.children))):t.push(n)}),t},que=e=>{let t=1;const n=(a,o)=>{if(o&&(a.level=o.level+1,t<a.level&&(t=a.level)),a.children){let s=0;a.children.forEach(l=>{n(l,a),s+=l.colSpan}),a.colSpan=s}else a.colSpan=1};e.forEach(a=>{a.level=1,n(a,void 0)});const r=[];for(let a=0;a<t;a++)r.push([]);return kD(e).forEach(a=>{a.children?(a.rowSpan=1,a.children.forEach(o=>o.isSubColumn=!0)):a.rowSpan=t-a.level+1,r[a.level-1].push(a)}),r};function Kue(e){const t=Se(Pa),n=P(()=>que(e.store.states.originColumns.value));return{isGroup:P(()=>{const a=n.value.length>1;return a&&t&&(t.state.isGroup.value=!0),a}),toggleAllSelection:a=>{a.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var Yue=j({name:"ElTableHeader",components:{ElCheckbox:zl},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=Ze(),r=Se(Pa),i=we("table"),a=N({}),{onColumnsChange:o,onScrollableChange:s}=LD(r);dt(async()=>{await Ke(),await Ke();const{prop:w,order:C}=e.defaultSort;r==null||r.store.commit("sort",{prop:w,order:C,init:!0})});const{handleHeaderClick:l,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:p}=Gue(e,t),{getHeaderRowStyle:v,getHeaderRowClass:m,getHeaderCellStyle:g,getHeaderCellClass:y}=jue(e),{isGroup:_,toggleAllSelection:b,columnRows:S}=Kue(e);return n.state={onColumnsChange:o,onScrollableChange:s},n.filterPanels=a,{ns:i,filterPanels:a,onColumnsChange:o,onScrollableChange:s,columnRows:S,getHeaderRowClass:m,getHeaderRowStyle:v,getHeaderCellClass:y,getHeaderCellStyle:g,handleHeaderClick:l,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:p,isGroup:_,toggleAllSelection:b}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:i,getHeaderRowClass:a,getHeaderRowStyle:o,handleHeaderClick:s,handleHeaderContextMenu:l,handleMouseDown:u,handleMouseMove:c,handleSortClick:f,handleMouseOut:d,store:h,$parent:p}=this;let v=1;return be("thead",{class:{[e.is("group")]:t}},n.map((m,g)=>be("tr",{class:a(g),key:g,style:o(g)},m.map((y,_)=>(y.rowSpan>v&&(v=y.rowSpan),be("th",{class:i(g,_,m,y),colspan:y.colSpan,key:`${y.id}-thead`,rowspan:y.rowSpan,style:r(g,_,m,y),onClick:b=>s(b,y),onContextmenu:b=>l(b,y),onMousedown:b=>u(b,y),onMousemove:b=>c(b,y),onMouseout:d},[be("div",{class:["cell",y.filteredValue&&y.filteredValue.length>0?"highlight":""]},[y.renderHeader?y.renderHeader({column:y,$index:_,store:h,_self:p}):y.label,y.sortable&&be("span",{onClick:b=>f(b,y),class:"caret-wrapper"},[be("i",{onClick:b=>f(b,y,"ascending"),class:"sort-caret ascending"}),be("i",{onClick:b=>f(b,y,"descending"),class:"sort-caret descending"})]),y.filterable&&be(Uue,{store:h,placement:y.filterPlacement||"bottom-start",column:y,upDataColumn:(b,S)=>{y[b]=S}})])]))))))}});function Zue(e){const t=Se(Pa),n=N(""),r=N(be("div")),{nextZIndex:i}=C0(),a=(h,p,v)=>{var m;const g=t,y=t1(h);let _;const b=(m=g==null?void 0:g.vnode.el)==null?void 0:m.dataset.prefix;y&&(_=z8({columns:e.store.states.columns.value},y,b),_&&(g==null||g.emit(`cell-${v}`,p,_,y,h))),g==null||g.emit(`row-${v}`,p,_,h)},o=(h,p)=>{a(h,p,"dblclick")},s=(h,p)=>{e.store.commit("setCurrentRow",p),a(h,p,"click")},l=(h,p)=>{a(h,p,"contextmenu")},u=kl(h=>{e.store.commit("setHoverRow",h)},30),c=kl(()=>{e.store.commit("setHoverRow",null)},30);return{handleDoubleClick:o,handleClick:s,handleContextMenu:l,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(h,p,v)=>{var m;const g=t,y=t1(h),_=(m=g==null?void 0:g.vnode.el)==null?void 0:m.dataset.prefix;if(y){const T=z8({columns:e.store.states.columns.value},y,_),E=g.hoverState={cell:y,column:T,row:p};g==null||g.emit("cell-mouse-enter",E.row,E.column,E.cell,h)}if(!v)return;const b=h.target.querySelector(".cell");if(!(vl(b,`${_}-tooltip`)&&b.childNodes.length))return;const S=document.createRange();S.setStart(b,0),S.setEnd(b,b.childNodes.length);const w=Math.round(S.getBoundingClientRect().width),C=(Number.parseInt(qa(b,"paddingLeft"),10)||0)+(Number.parseInt(qa(b,"paddingRight"),10)||0);(w+C>b.offsetWidth||b.scrollWidth>b.offsetWidth)&&Mue(t==null?void 0:t.refs.tableWrapper,y,y.innerText||y.textContent,i,v)},handleCellMouseLeave:h=>{if(!t1(h))return;const v=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",v==null?void 0:v.row,v==null?void 0:v.column,v==null?void 0:v.cell,h)},tooltipContent:n,tooltipTrigger:r}}function Xue(e){const t=Se(Pa),n=we("table");return{getRowStyle:(u,c)=>{const f=t==null?void 0:t.props.rowStyle;return typeof f=="function"?f.call(null,{row:u,rowIndex:c}):f||null},getRowClass:(u,c)=>{const f=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&u===e.store.states.currentRow.value&&f.push("current-row"),e.stripe&&c%2===1&&f.push(n.em("row","striped"));const d=t==null?void 0:t.props.rowClassName;return typeof d=="string"?f.push(d):typeof d=="function"&&f.push(d.call(null,{row:u,rowIndex:c})),f},getCellStyle:(u,c,f,d)=>{const h=t==null?void 0:t.props.cellStyle;let p=h??{};typeof h=="function"&&(p=h.call(null,{rowIndex:u,columnIndex:c,row:f,column:d}));const v=LC(c,e==null?void 0:e.fixed,e.store);return Sc(v,"left"),Sc(v,"right"),Object.assign({},p,v)},getCellClass:(u,c,f,d,h)=>{const p=DC(n.b(),c,e==null?void 0:e.fixed,e.store,void 0,h),v=[d.id,d.align,d.className,...p],m=t==null?void 0:t.props.cellClassName;return typeof m=="string"?v.push(m):typeof m=="function"&&v.push(m.call(null,{rowIndex:u,columnIndex:c,row:f,column:d})),v.push(n.e("cell")),v.filter(g=>!!g).join(" ")},getSpan:(u,c,f,d)=>{let h=1,p=1;const v=t==null?void 0:t.props.spanMethod;if(typeof v=="function"){const m=v({row:u,column:c,rowIndex:f,columnIndex:d});Array.isArray(m)?(h=m[0],p=m[1]):typeof m=="object"&&(h=m.rowspan,p=m.colspan)}return{rowspan:h,colspan:p}},getColspanRealWidth:(u,c,f)=>{if(c<1)return u[f].realWidth;const d=u.map(({realWidth:h,width:p})=>h||p).slice(f,f+c);return Number(d.reduce((h,p)=>Number(h)+Number(p),-1))}}}function Que(e){const t=Se(Pa),n=we("table"),{handleDoubleClick:r,handleClick:i,handleContextMenu:a,handleMouseEnter:o,handleMouseLeave:s,handleCellMouseEnter:l,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:f}=Zue(e),{getRowStyle:d,getRowClass:h,getCellStyle:p,getCellClass:v,getSpan:m,getColspanRealWidth:g}=Xue(e),y=P(()=>e.store.states.columns.value.findIndex(({type:C})=>C==="default")),_=(C,T)=>{const E=t.props.rowKey;return E?Bn(C,E):T},b=(C,T,E,M=!1)=>{const{tooltipEffect:A,tooltipOptions:I,store:O}=e,{indent:D,columns:F}=O.states,k=h(C,T);let H=!0;return E&&(k.push(n.em("row",`level-${E.level}`)),H=E.display),be("tr",{style:[H?null:{display:"none"},d(C,T)],class:k,key:_(C,T),onDblclick:z=>r(z,C),onClick:z=>i(z,C),onContextmenu:z=>a(z,C),onMouseenter:()=>o(T),onMouseleave:s},F.value.map((z,q)=>{const{rowspan:ae,colspan:oe}=m(C,z,T,q);if(!ae||!oe)return null;const xe={...z};xe.realWidth=g(F.value,oe,q);const Ae={store:e.store,_self:e.context||t,column:xe,row:C,$index:T,cellIndex:q,expanded:M};q===y.value&&E&&(Ae.treeNode={indent:E.level*D.value,level:E.level},typeof E.expanded=="boolean"&&(Ae.treeNode.expanded=E.expanded,"loading"in E&&(Ae.treeNode.loading=E.loading),"noLazyChildren"in E&&(Ae.treeNode.noLazyChildren=E.noLazyChildren)));const Ve=`${T},${q}`,De=xe.columnKey||xe.rawColumnKey||"",W=S(q,z,Ae),Z=z.showOverflowTooltip&&O7({effect:A},I,z.showOverflowTooltip);return be("td",{style:p(T,q,C,z),class:v(T,q,C,z,oe-1),key:`${De}${Ve}`,rowspan:ae,colspan:oe,onMouseenter:J=>l(J,C,Z),onMouseleave:u},[W])}))},S=(C,T,E)=>T.renderCell(E);return{wrappedRowRender:(C,T)=>{const E=e.store,{isRowExpanded:M,assertRowKey:A}=E,{treeData:I,lazyTreeNodeMap:O,childrenColumnName:D,rowKey:F}=E.states,k=E.states.columns.value;if(k.some(({type:V})=>V==="expand")){const V=M(C),z=b(C,T,void 0,V),q=t.renderExpanded;return V?q?[[z,be("tr",{key:`expanded-row__${z.key}`},[be("td",{colspan:k.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[q({row:C,$index:T,store:E,expanded:V})])])]]:(console.error("[Element Error]renderExpanded is required."),z):[[z]]}else if(Object.keys(I.value).length){A();const V=Bn(C,F.value);let z=I.value[V],q=null;z&&(q={expanded:z.expanded,level:z.level,display:!0},typeof z.lazy=="boolean"&&(typeof z.loaded=="boolean"&&z.loaded&&(q.noLazyChildren=!(z.children&&z.children.length)),q.loading=z.loading));const ae=[b(C,T,q)];if(z){let oe=0;const xe=(Ve,De)=>{Ve&&Ve.length&&De&&Ve.forEach(W=>{const Z={display:De.display&&De.expanded,level:De.level+1,expanded:!1,noLazyChildren:!1,loading:!1},J=Bn(W,F.value);if(J==null)throw new Error("For nested data item, row-key is required.");if(z={...I.value[J]},z&&(Z.expanded=z.expanded,z.level=z.level||Z.level,z.display=!!(z.expanded&&Z.display),typeof z.lazy=="boolean"&&(typeof z.loaded=="boolean"&&z.loaded&&(Z.noLazyChildren=!(z.children&&z.children.length)),Z.loading=z.loading)),oe++,ae.push(b(W,T+oe,Z)),z){const ue=O.value[J]||W[D.value];xe(ue,z)}})};z.display=!0;const Ae=O.value[V]||C[D.value];xe(Ae,z)}return ae}else return b(C,T,void 0)},tooltipContent:c,tooltipTrigger:f}}const Jue={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var ece=j({name:"ElTableBody",props:Jue,setup(e){const t=Ze(),n=Se(Pa),r=we("table"),{wrappedRowRender:i,tooltipContent:a,tooltipTrigger:o}=Que(e),{onColumnsChange:s,onScrollableChange:l}=LD(n);return ce(e.store.states.hoverRow,(u,c)=>{if(!e.store.states.isComplex.value||!kt)return;let f=window.requestAnimationFrame;f||(f=d=>window.setTimeout(d,16)),f(()=>{const d=t==null?void 0:t.vnode.el,h=Array.from((d==null?void 0:d.children)||[]).filter(m=>m==null?void 0:m.classList.contains(`${r.e("row")}`)),p=h[c],v=h[u];p&&Wi(p,"hover-row"),v&&Ka(v,"hover-row")})}),Ia(()=>{var u;(u=Va)==null||u()}),{ns:r,onColumnsChange:s,onScrollableChange:l,wrappedRowRender:i,tooltipContent:a,tooltipTrigger:o}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return be("tbody",{},[n.reduce((r,i)=>r.concat(e(i,r.length)),[])])}});function kC(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(i=>i.width===void 0)&&(n=[]);const r=i=>{const a={key:`${e.tableLayout}_${i.id}`,style:{},name:void 0};return t?a.style={width:`${i.width}px`}:a.name=i.id,a};return be("colgroup",{},n.map(i=>be("col",r(i))))}kC.props=["columns","tableLayout"];function tce(){const e=Se(Pa),t=e==null?void 0:e.store,n=P(()=>t.states.fixedLeafColumnsLength.value),r=P(()=>t.states.rightFixedColumns.value.length),i=P(()=>t.states.columns.value.length),a=P(()=>t.states.fixedColumns.value.length),o=P(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:i,leftFixedCount:a,rightFixedCount:o,columns:t.states.columns}}function nce(e){const{columns:t}=tce(),n=we("table");return{getCellClasses:(a,o)=>{const s=a[o],l=[n.e("cell"),s.id,s.align,s.labelClassName,...DC(n.b(),o,s.fixed,e.store)];return s.className&&l.push(s.className),s.children||l.push(n.is("leaf")),l},getCellStyles:(a,o)=>{const s=LC(o,a.fixed,e.store);return Sc(s,"left"),Sc(s,"right"),s},columns:t}}var rce=j({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:r}=nce(e);return{ns:we("table"),getCellClasses:t,getCellStyles:n,columns:r}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:i,ns:a}=this,o=this.store.states.data.value;let s=[];return r?s=r({columns:e,data:o}):e.forEach((l,u)=>{if(u===0){s[u]=i;return}const c=o.map(p=>Number(p[l.property])),f=[];let d=!0;c.forEach(p=>{if(!Number.isNaN(+p)){d=!1;const v=`${p}`.split(".")[1];f.push(v?v.length:0)}});const h=Math.max.apply(null,f);d?s[u]="":s[u]=c.reduce((p,v)=>{const m=Number(v);return Number.isNaN(+m)?p:Number.parseFloat((p+v).toFixed(Math.min(h,20)))},0)}),be("table",{class:a.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[kC({columns:e}),be("tbody",[be("tr",{},[...e.map((l,u)=>be("td",{key:u,colspan:l.colSpan,rowspan:l.rowSpan,class:n(e,u),style:t(l,u)},[be("div",{class:["cell",l.labelClassName]},[s[u]])]))])])])}});function ice(e){return{setCurrentRow:c=>{e.commit("setCurrentRow",c)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(c,f)=>{e.toggleRowSelection(c,f,!1),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:c=>{e.clearFilter(c)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(c,f)=>{e.toggleRowExpansionAdapter(c,f)},clearSort:()=>{e.clearSort()},sort:(c,f)=>{e.commit("sort",{prop:c,order:f})}}}function ace(e,t,n,r){const i=N(!1),a=N(null),o=N(!1),s=V=>{o.value=V},l=N({width:null,height:null,headerHeight:null}),u=N(!1),c={display:"inline-block",verticalAlign:"middle"},f=N(),d=N(0),h=N(0),p=N(0),v=N(0);hi(()=>{t.setHeight(e.height)}),hi(()=>{t.setMaxHeight(e.maxHeight)}),ce(()=>[e.currentRowKey,n.states.rowKey],([V,z])=>{!x(z)||!x(V)||n.setCurrentRowKey(`${V}`)},{immediate:!0}),ce(()=>e.data,V=>{r.store.commit("setData",V)},{immediate:!0,deep:!0}),hi(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const m=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},g=(V,z)=>{const{pixelX:q,pixelY:ae}=z;Math.abs(q)>=Math.abs(ae)&&(r.refs.bodyWrapper.scrollLeft+=z.pixelX/5)},y=P(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),_=P(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),b=()=>{y.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(T)};dt(async()=>{await Ke(),n.updateColumns(),E(),requestAnimationFrame(b);const V=r.vnode.el,z=r.refs.headerWrapper;e.flexible&&V&&V.parentElement&&(V.parentElement.style.minWidth="0"),l.value={width:f.value=V.offsetWidth,height:V.offsetHeight,headerHeight:e.showHeader&&z?z.offsetHeight:null},n.states.columns.value.forEach(q=>{q.filteredValue&&q.filteredValue.length&&r.store.commit("filterChange",{column:q,values:q.filteredValue,silent:!0})}),r.$ready=!0});const S=(V,z)=>{if(!V)return;const q=Array.from(V.classList).filter(ae=>!ae.startsWith("is-scrolling-"));q.push(t.scrollX.value?z:"is-scrolling-none"),V.className=q.join(" ")},w=V=>{const{tableWrapper:z}=r.refs;S(z,V)},C=V=>{const{tableWrapper:z}=r.refs;return!!(z&&z.classList.contains(V))},T=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const Ve="is-scrolling-none";C(Ve)||w(Ve);return}const V=r.refs.scrollBarRef.wrapRef;if(!V)return;const{scrollLeft:z,offsetWidth:q,scrollWidth:ae}=V,{headerWrapper:oe,footerWrapper:xe}=r.refs;oe&&(oe.scrollLeft=z),xe&&(xe.scrollLeft=z);const Ae=ae-q-1;z>=Ae?w("is-scrolling-right"):w(z===0?"is-scrolling-left":"is-scrolling-middle")},E=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Ar(r.refs.scrollBarRef.wrapRef,"scroll",T,{passive:!0}),e.fit?qi(r.vnode.el,M):Ar(window,"resize",M),qi(r.refs.bodyWrapper,()=>{var V,z;M(),(z=(V=r.refs)==null?void 0:V.scrollBarRef)==null||z.update()}))},M=()=>{var V,z,q;const ae=r.vnode.el;if(!r.$ready||!ae)return;let oe=!1;const{width:xe,height:Ae,headerHeight:Ve}=l.value,De=f.value=ae.offsetWidth;xe!==De&&(oe=!0);const W=ae.offsetHeight;(e.height||y.value)&&Ae!==W&&(oe=!0);const Z=e.tableLayout==="fixed"?r.refs.headerWrapper:(V=r.refs.tableHeaderRef)==null?void 0:V.$el;e.showHeader&&(Z==null?void 0:Z.offsetHeight)!==Ve&&(oe=!0),d.value=((z=r.refs.tableWrapper)==null?void 0:z.scrollHeight)||0,p.value=(Z==null?void 0:Z.scrollHeight)||0,v.value=((q=r.refs.footerWrapper)==null?void 0:q.offsetHeight)||0,h.value=d.value-p.value-v.value,oe&&(l.value={width:De,height:W,headerHeight:e.showHeader&&(Z==null?void 0:Z.offsetHeight)||0},b())},A=kr(),I=P(()=>{const{bodyWidth:V,scrollY:z,gutterWidth:q}=t;return V.value?`${V.value-(z.value?q:0)}px`:""}),O=P(()=>e.maxHeight?"fixed":e.tableLayout),D=P(()=>{if(e.data&&e.data.length)return null;let V="100%";e.height&&h.value&&(V=`${h.value}px`);const z=f.value;return{width:z?`${z}px`:"",height:V}}),F=P(()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:`${e.height}px`}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:`${e.maxHeight}px`}:{}),k=P(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+v.value}px)`}:{maxHeight:`${e.maxHeight-p.value-v.value}px`}:{});return{isHidden:i,renderExpanded:a,setDragVisible:s,isGroup:u,handleMouseLeave:m,handleHeaderFooterMousewheel:g,tableSize:A,emptyBlockStyle:D,handleFixedMousewheel:(V,z)=>{const q=r.refs.bodyWrapper;if(Math.abs(z.spinY)>0){const ae=q.scrollTop;z.pixelY<0&&ae!==0&&V.preventDefault(),z.pixelY>0&&q.scrollHeight-q.clientHeight>ae&&V.preventDefault(),q.scrollTop+=Math.ceil(z.pixelY/5)}else q.scrollLeft+=Math.ceil(z.pixelX/5)},resizeProxyVisible:o,bodyWidth:I,resizeState:l,doLayout:b,tableBodyStyles:_,tableLayout:O,scrollbarViewStyle:c,tableInnerStyle:F,scrollbarStyle:k}}function oce(e){const t=N(),n=()=>{const i=e.vnode.el.querySelector(".hidden-columns"),a={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{o.forEach(s=>s())}),t.value.observe(i,a)};dt(()=>{n()}),Ia(()=>{var r;(r=t.value)==null||r.disconnect()})}var sce={data:{type:Array,default:()=>[]},size:fo,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean};const lce=()=>{const e=N(),t=(a,o)=>{const s=e.value;s&&s.scrollTo(a,o)},n=(a,o)=>{const s=e.value;s&&gt(o)&&["Top","Left"].includes(a)&&s[`setScroll${a}`](o)};return{scrollBarRef:e,scrollTo:t,setScrollTop:a=>n("Top",a),setScrollLeft:a=>n("Left",a)}};let uce=1;const cce=j({name:"ElTable",directives:{Mousewheel:Nre},components:{TableHeader:Yue,TableBody:ece,TableFooter:rce,ElScrollbar:Qh,hColgroup:kC},props:sce,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"],setup(e){const{t}=Hn(),n=we("table"),r=Ze();_t(Pa,r);const i=kue(r,e);r.store=i;const a=new Nue({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=a;const o=P(()=>(i.states.data.value||[]).length===0),{setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:p,sort:v}=ice(i),{isHidden:m,renderExpanded:g,setDragVisible:y,isGroup:_,handleMouseLeave:b,handleHeaderFooterMousewheel:S,tableSize:w,emptyBlockStyle:C,handleFixedMousewheel:T,resizeProxyVisible:E,bodyWidth:M,resizeState:A,doLayout:I,tableBodyStyles:O,tableLayout:D,scrollbarViewStyle:F,tableInnerStyle:k,scrollbarStyle:H}=ace(e,a,i,r),{scrollBarRef:V,scrollTo:z,setScrollLeft:q,setScrollTop:ae}=lce(),oe=kl(I,50),xe=`${n.namespace.value}-table_${uce++}`;r.tableId=xe,r.state={isGroup:_,resizeState:A,doLayout:I,debouncedUpdateLayout:oe};const Ae=P(()=>e.sumText||t("el.table.sumText")),Ve=P(()=>e.emptyText||t("el.table.emptyText"));return oce(r),{ns:n,layout:a,store:i,handleHeaderFooterMousewheel:S,handleMouseLeave:b,tableId:xe,tableSize:w,isHidden:m,isEmpty:o,renderExpanded:g,resizeProxyVisible:E,resizeState:A,isGroup:_,bodyWidth:M,tableBodyStyles:O,emptyBlockStyle:C,debouncedUpdateLayout:oe,handleFixedMousewheel:T,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:p,doLayout:I,sort:v,t,setDragVisible:y,context:r,computedSumText:Ae,computedEmptyText:Ve,tableLayout:D,scrollbarViewStyle:F,tableInnerStyle:k,scrollbarStyle:H,scrollBarRef:V,scrollTo:z,setScrollLeft:q,setScrollTop:ae}}}),fce=["data-prefix"],dce={ref:"hiddenColumns",class:"hidden-columns"};function hce(e,t,n,r,i,a){const o=et("hColgroup"),s=et("table-header"),l=et("table-body"),u=et("el-scrollbar"),c=et("table-footer"),f=a0("mousewheel");return $(),K("div",{ref:"tableWrapper",class:U([{[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:it(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=(...d)=>e.handleMouseLeave&&e.handleMouseLeave(...d))},[ee("div",{class:U(e.ns.e("inner-wrapper")),style:it(e.tableInnerStyle)},[ee("div",dce,[ge(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?Wt(($(),K("div",{key:0,ref:"headerWrapper",class:U(e.ns.e("header-wrapper"))},[ee("table",{ref:"tableHeader",class:U(e.ns.e("header")),style:it(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[ie(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),ie(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):_e("v-if",!0),ee("div",{ref:"bodyWrapper",class:U(e.ns.e("body-wrapper"))},[ie(u,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn},{default:re(()=>[ee("table",{ref:"tableBody",class:U(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:it({width:e.bodyWidth,tableLayout:e.tableLayout})},[ie(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?($(),de(s,{key:0,ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):_e("v-if",!0),ie(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"])],6),e.isEmpty?($(),K("div",{key:0,ref:"emptyBlock",style:it(e.emptyBlockStyle),class:U(e.ns.e("empty-block"))},[ee("span",{class:U(e.ns.e("empty-text"))},[ge(e.$slots,"empty",{},()=>[an(Ue(e.computedEmptyText),1)])],2)],6)):_e("v-if",!0),e.$slots.append?($(),K("div",{key:1,ref:"appendWrapper",class:U(e.ns.e("append-wrapper"))},[ge(e.$slots,"append")],2)):_e("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),e.showSummary?Wt(($(),K("div",{key:1,ref:"footerWrapper",class:U(e.ns.e("footer-wrapper"))},[ie(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,style:it(e.tableBodyStyles),"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[Dn,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):_e("v-if",!0),e.border||e.isGroup?($(),K("div",{key:2,class:U(e.ns.e("border-left-patch"))},null,2)):_e("v-if",!0)],6),Wt(ee("div",{ref:"resizeProxy",class:U(e.ns.e("column-resize-proxy"))},null,2),[[Dn,e.resizeProxyVisible]])],46,fce)}var pce=Re(cce,[["render",hce],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const vce={selection:"table-column--selection",expand:"table__expand-column"},gce={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},mce=e=>vce[e]||"",yce={selection:{renderHeader({store:e}){function t(){return e.states.data.value&&e.states.data.value.length===0}return be(zl,{disabled:t(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value})},renderCell({row:e,column:t,store:n,$index:r}){return be(zl,{disabled:t.selectable?!t.selectable.call(null,e,r):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:i=>i.stopPropagation(),modelValue:n.isSelected(e)})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return typeof r=="number"?n=t+r:typeof r=="function"&&(n=r(t)),be("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:r}=t,i=[r.e("expand-icon")];return n&&i.push(r.em("expand-icon","expanded")),be("div",{class:i,onClick:function(o){o.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[be(yt,null,{default:()=>[be(Hc)]})]})},sortable:!1,resizable:!1}};function bce({row:e,column:t,$index:n}){var r;const i=t.property,a=i&&Xv(e,i).value;return t&&t.formatter?t.formatter(e,t,a,n):((r=a==null?void 0:a.toString)==null?void 0:r.call(a))||""}function _ce({row:e,treeNode:t,store:n},r=!1){const{ns:i}=n;if(!t)return r?[be("span",{class:i.e("placeholder")})]:null;const a=[],o=function(s){s.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&a.push(be("span",{class:i.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const s=[i.e("expand-icon"),t.expanded?i.em("expand-icon","expanded"):""];let l=Hc;t.loading&&(l=b0),a.push(be("div",{class:s,onClick:o},{default:()=>[be(yt,{class:{[i.is("loading")]:t.loading}},{default:()=>[be(l)]})]}))}else a.push(be("span",{class:i.e("placeholder")}));return a}function W8(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function wce(e,t){const n=Ze();return{registerComplexWatchers:()=>{const a=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},s=W8(a,o);Object.keys(s).forEach(l=>{const u=o[l];ct(t,u)&&ce(()=>t[u],c=>{let f=c;u==="width"&&l==="realWidth"&&(f=RC(c)),u==="minWidth"&&l==="realMinWidth"&&(f=ID(c)),n.columnConfig.value[u]=f,n.columnConfig.value[l]=f;const d=u==="fixed";e.value.store.scheduleLayout(d)})})},registerNormalWatchers:()=>{const a=["label","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],o={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},s=W8(a,o);Object.keys(s).forEach(l=>{const u=o[l];ct(t,u)&&ce(()=>t[u],c=>{n.columnConfig.value[l]=c})})}}}function Sce(e,t,n){const r=Ze(),i=N(""),a=N(!1),o=N(),s=N(),l=we("table");hi(()=>{o.value=e.align?`is-${e.align}`:null,o.value}),hi(()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:o.value,s.value});const u=P(()=>{let b=r.vnode.vParent||r.parent;for(;b&&!b.tableId&&!b.columnId;)b=b.vnode.vParent||b.parent;return b}),c=P(()=>{const{store:b}=r.parent;if(!b)return!1;const{treeData:S}=b.states,w=S.value;return w&&Object.keys(w).length>0}),f=N(RC(e.width)),d=N(ID(e.minWidth)),h=b=>(f.value&&(b.width=f.value),d.value&&(b.minWidth=d.value),!f.value&&d.value&&(b.width=void 0),b.minWidth||(b.minWidth=80),b.realWidth=Number(b.width===void 0?b.minWidth:b.width),b),p=b=>{const S=b.type,w=yce[S]||{};Object.keys(w).forEach(T=>{const E=w[T];T!=="className"&&E!==void 0&&(b[T]=E)});const C=mce(S);if(C){const T=`${x(l.namespace)}-${C}`;b.className=b.className?`${b.className} ${T}`:T}return b},v=b=>{Array.isArray(b)?b.forEach(w=>S(w)):S(b);function S(w){var C;((C=w==null?void 0:w.type)==null?void 0:C.name)==="ElTableColumn"&&(w.vParent=r)}};return{columnId:i,realAlign:o,isSubColumn:a,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:h,setColumnForcedProps:p,setColumnRenders:b=>{e.renderHeader||b.type!=="selection"&&(b.renderHeader=w=>{r.columnConfig.value.label;const C=t.header;return C?C(w):b.label});let S=b.renderCell;return b.type==="expand"?(b.renderCell=w=>be("div",{class:"cell"},[S(w)]),n.value.renderExpanded=w=>t.default?t.default(w):t.default):(S=S||bce,b.renderCell=w=>{let C=null;if(t.default){const O=t.default(w);C=O.some(D=>D.type!==En)?O:S(w)}else C=S(w);const{columns:T}=n.value.store.states,E=T.value.findIndex(O=>O.type==="default"),M=c.value&&w.cellIndex===E,A=_ce(w,M),I={class:"cell",style:{}};return b.showOverflowTooltip&&(I.class=`${I.class} ${x(l.namespace)}-tooltip`,I.style={width:`${(w.column.realWidth||Number(w.column.width))-1}px`}),v(C),be("div",I,[A,C])}),b},getPropsData:(...b)=>b.reduce((S,w)=>(Array.isArray(w)&&w.forEach(C=>{S[C]=e[C]}),S),{}),getColumnElIndex:(b,S)=>Array.prototype.indexOf.call(b,S),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var Cce={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:[Boolean,Object],fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let xce=1;var $D=j({name:"ElTableColumn",components:{ElCheckbox:zl},props:Cce,setup(e,{slots:t}){const n=Ze(),r=N({}),i=P(()=>{let _=n.parent;for(;_&&!_.tableId;)_=_.parent;return _}),{registerNormalWatchers:a,registerComplexWatchers:o}=wce(i,e),{columnId:s,isSubColumn:l,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:d,setColumnRenders:h,getPropsData:p,getColumnElIndex:v,realAlign:m,updateColumnOrder:g}=Sce(e,t,i),y=c.value;s.value=`${y.tableId||y.columnId}_column_${xce++}`,zh(()=>{l.value=i.value!==y;const _=e.type||"default",b=e.sortable===""?!0:e.sortable,S={...gce[_],id:s.value,type:_,property:e.prop||e.property,align:m,headerAlign:u,showOverflowTooltip:e.showOverflowTooltip,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:b,index:e.index,rawColumnKey:n.vnode.key};let M=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);M=xue(S,M),M=Eue(h,f,d)(M),r.value=M,a(),o()}),dt(()=>{var _;const b=c.value,S=l.value?b.vnode.el.children:(_=b.refs.hiddenColumns)==null?void 0:_.children,w=()=>v(S||[],n.vnode.el);r.value.getColumnIndex=w,w()>-1&&i.value.store.commit("insertColumn",r.value,l.value?b.columnConfig.value:null,g)}),cn(()=>{i.value.store.commit("removeColumn",r.value,l.value?y.columnConfig.value:null,g)}),n.columnId=s.value,n.columnConfig=r},render(){var e,t,n;try{const r=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),i=[];if(Array.isArray(r))for(const o of r)((n=o.type)==null?void 0:n.name)==="ElTableColumn"||o.shapeFlag&2?i.push(o):o.type===Ye&&Array.isArray(o.children)&&o.children.forEach(s=>{(s==null?void 0:s.patchFlag)!==1024&&!Ge(s==null?void 0:s.children)&&i.push(s)});return be("div",i)}catch{return be("div",[])}}});const Tce=At(pce,{TableColumn:$D}),Ece=Ln($D),M0=Symbol("tabsRootContextKey"),Ace=$e({tabs:{type:Oe(Array),default:()=>Ur([])}}),ND="ElTabBar",Mce=j({name:ND}),Ice=j({...Mce,props:Ace,setup(e,{expose:t}){const n=e,r=Ze(),i=Se(M0);i||Lr(ND,"<el-tabs><el-tab-bar /></el-tabs>");const a=we("tabs"),o=N(),s=N(),l=()=>{let c=0,f=0;const d=["top","bottom"].includes(i.props.tabPosition)?"width":"height",h=d==="width"?"x":"y",p=h==="x"?"left":"top";return n.tabs.every(v=>{var m,g;const y=(g=(m=r.parent)==null?void 0:m.refs)==null?void 0:g[`tab-${v.uid}`];if(!y)return!1;if(!v.active)return!0;c=y[`offset${Fo(p)}`],f=y[`client${Fo(d)}`];const _=window.getComputedStyle(y);return d==="width"&&(n.tabs.length>1&&(f-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight)),c+=Number.parseFloat(_.paddingLeft)),!1}),{[d]:`${f}px`,transform:`translate${Fo(h)}(${c}px)`}},u=()=>s.value=l();return ce(()=>n.tabs,async()=>{await Ke(),u()},{immediate:!0}),qi(o,()=>u()),t({ref:o,update:u}),(c,f)=>($(),K("div",{ref_key:"barRef",ref:o,class:U([x(a).e("active-bar"),x(a).is(x(i).props.tabPosition)]),style:it(s.value)},null,6))}});var Oce=Re(Ice,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const Pce=$e({panes:{type:Oe(Array),default:()=>Ur([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),Rce={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},U8="ElTabNav",Dce=j({name:U8,props:Pce,emits:Rce,setup(e,{expose:t,emit:n}){const r=Ze(),i=Se(M0);i||Lr(U8,"<el-tabs><tab-nav /></el-tabs>");const a=we("tabs"),o=XW(),s=oU(),l=N(),u=N(),c=N(),f=N(),d=N(!1),h=N(0),p=N(!1),v=N(!0),m=P(()=>["top","bottom"].includes(i.props.tabPosition)?"width":"height"),g=P(()=>({transform:`translate${m.value==="width"?"X":"Y"}(-${h.value}px)`})),y=()=>{if(!l.value)return;const E=l.value[`offset${Fo(m.value)}`],M=h.value;if(!M)return;const A=M>E?M-E:0;h.value=A},_=()=>{if(!l.value||!u.value)return;const E=u.value[`offset${Fo(m.value)}`],M=l.value[`offset${Fo(m.value)}`],A=h.value;if(E-A<=M)return;const I=E-A>M*2?A+M:E-M;h.value=I},b=async()=>{const E=u.value;if(!d.value||!c.value||!l.value||!E)return;await Ke();const M=c.value.querySelector(".is-active");if(!M)return;const A=l.value,I=["top","bottom"].includes(i.props.tabPosition),O=M.getBoundingClientRect(),D=A.getBoundingClientRect(),F=I?E.offsetWidth-D.width:E.offsetHeight-D.height,k=h.value;let H=k;I?(O.left<D.left&&(H=k-(D.left-O.left)),O.right>D.right&&(H=k+O.right-D.right)):(O.top<D.top&&(H=k-(D.top-O.top)),O.bottom>D.bottom&&(H=k+(O.bottom-D.bottom))),H=Math.max(H,0),h.value=Math.min(H,F)},S=()=>{var E;if(!u.value||!l.value)return;e.stretch&&((E=f.value)==null||E.update());const M=u.value[`offset${Fo(m.value)}`],A=l.value[`offset${Fo(m.value)}`],I=h.value;A<M?(d.value=d.value||{},d.value.prev=I,d.value.next=I+A<M,M-I<A&&(h.value=M-A)):(d.value=!1,I>0&&(h.value=0))},w=E=>{const M=E.code,{up:A,down:I,left:O,right:D}=lt;if(![A,I,O,D].includes(M))return;const F=Array.from(E.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),k=F.indexOf(E.target);let H;M===O||M===A?k===0?H=F.length-1:H=k-1:k<F.length-1?H=k+1:H=0,F[H].focus({preventScroll:!0}),F[H].click(),C()},C=()=>{v.value&&(p.value=!0)},T=()=>p.value=!1;return ce(o,E=>{E==="hidden"?v.value=!1:E==="visible"&&setTimeout(()=>v.value=!0,50)}),ce(s,E=>{E?setTimeout(()=>v.value=!0,50):v.value=!1}),qi(c,S),dt(()=>setTimeout(()=>b(),0)),lo(()=>S()),t({scrollToActiveTab:b,removeFocus:T}),ce(()=>e.panes,()=>r.update(),{flush:"post",deep:!0}),()=>{const E=d.value?[ie("span",{class:[a.e("nav-prev"),a.is("disabled",!d.value.prev)],onClick:y},[ie(yt,null,{default:()=>[ie(D7,null,null)]})]),ie("span",{class:[a.e("nav-next"),a.is("disabled",!d.value.next)],onClick:_},[ie(yt,null,{default:()=>[ie(Hc,null,null)]})])]:null,M=e.panes.map((A,I)=>{var O,D,F,k;const H=A.uid,V=A.props.disabled,z=(D=(O=A.props.name)!=null?O:A.index)!=null?D:`${I}`,q=!V&&(A.isClosable||e.editable);A.index=`${I}`;const ae=q?ie(yt,{class:"is-icon-close",onClick:Ae=>n("tabRemove",A,Ae)},{default:()=>[ie(Xd,null,null)]}):null,oe=((k=(F=A.slots).label)==null?void 0:k.call(F))||A.props.label,xe=!V&&A.active?0:-1;return ie("div",{ref:`tab-${H}`,class:[a.e("item"),a.is(i.props.tabPosition),a.is("active",A.active),a.is("disabled",V),a.is("closable",q),a.is("focus",p.value)],id:`tab-${z}`,key:`tab-${H}`,"aria-controls":`pane-${z}`,role:"tab","aria-selected":A.active,tabindex:xe,onFocus:()=>C(),onBlur:()=>T(),onClick:Ae=>{T(),n("tabClick",A,z,Ae)},onKeydown:Ae=>{q&&(Ae.code===lt.delete||Ae.code===lt.backspace)&&n("tabRemove",A,Ae)}},[oe,ae])});return ie("div",{ref:c,class:[a.e("nav-wrap"),a.is("scrollable",!!d.value),a.is(i.props.tabPosition)]},[E,ie("div",{class:a.e("nav-scroll"),ref:l},[ie("div",{class:[a.e("nav"),a.is(i.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(i.props.tabPosition))],ref:u,style:g.value,role:"tablist",onKeydown:w},[e.type?null:ie(Oce,{ref:f,tabs:[...e.panes]},null),M])])])}}}),Lce=$e({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Oe(Function),default:()=>!0},stretch:Boolean}),n1=e=>Ge(e)||gt(e),kce={[jt]:e=>n1(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>n1(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>n1(e),tabAdd:()=>!0};var $ce=j({name:"ElTabs",props:Lce,emits:kce,setup(e,{emit:t,slots:n,expose:r}){var i,a;const o=we("tabs"),{children:s,addChild:l,removeChild:u}=JJ(Ze(),"ElTabPane"),c=N(),f=N((a=(i=e.modelValue)!=null?i:e.activeName)!=null?a:"0"),d=g=>{f.value=g,t(jt,g),t("tabChange",g)},h=async g=>{var y,_,b;if(!(f.value===g||gc(g)))try{await((y=e.beforeLeave)==null?void 0:y.call(e,g,f.value))!==!1&&(d(g),(b=(_=c.value)==null?void 0:_.removeFocus)==null||b.call(_))}catch{}},p=(g,y,_)=>{g.props.disabled||(h(y),t("tabClick",g,_))},v=(g,y)=>{g.props.disabled||gc(g.props.name)||(y.stopPropagation(),t("edit",g.props.name,"remove"),t("tabRemove",g.props.name))},m=()=>{t("edit",void 0,"add"),t("tabAdd")};return Bl({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},P(()=>!!e.activeName)),ce(()=>e.activeName,g=>h(g)),ce(()=>e.modelValue,g=>h(g)),ce(f,async()=>{var g;await Ke(),(g=c.value)==null||g.scrollToActiveTab()}),_t(M0,{props:e,currentName:f,registerPane:l,unregisterPane:u}),r({currentName:f}),()=>{const g=e.editable||e.addable?ie("span",{class:o.e("new-tab"),tabindex:"0",onClick:m,onKeydown:b=>{b.code===lt.enter&&m()}},[ie(yt,{class:o.is("icon-plus")},{default:()=>[ie(YX,null,null)]})]):null,y=ie("div",{class:[o.e("header"),o.is(e.tabPosition)]},[g,ie(Dce,{ref:c,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:p,onTabRemove:v},null)]),_=ie("div",{class:o.e("content")},[ge(n,"default")]);return ie("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[y,_]:[_,y]])}}});const Nce=$e({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),Bce=["id","aria-hidden","aria-labelledby"],BD="ElTabPane",Fce=j({name:BD}),zce=j({...Fce,props:Nce,setup(e){const t=e,n=Ze(),r=Qi(),i=Se(M0);i||Lr(BD,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const a=we("tab-pane"),o=N(),s=P(()=>t.closable||i.props.closable),l=nT(()=>{var h;return i.currentName.value===((h=t.name)!=null?h:o.value)}),u=N(l.value),c=P(()=>{var h;return(h=t.name)!=null?h:o.value}),f=nT(()=>!t.lazy||u.value||l.value);ce(l,h=>{h&&(u.value=!0)});const d=Qt({uid:n.uid,slots:r,props:t,paneName:c,active:l,index:o,isClosable:s});return dt(()=>{i.registerPane(d)}),Ia(()=>{i.unregisterPane(d.uid)}),(h,p)=>x(f)?Wt(($(),K("div",{key:0,id:`pane-${x(c)}`,class:U(x(a).b()),role:"tabpanel","aria-hidden":!x(l),"aria-labelledby":`tab-${x(c)}`},[ge(h.$slots,"default")],10,Bce)),[[Dn,x(l)]]):_e("v-if",!0)}});var FD=Re(zce,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const Vce=At($ce,{TabPane:FD}),Hce=Ln(FD),Wce=$e({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Oa,default:""},truncated:{type:Boolean},tag:{type:String,default:"span"}}),Uce=j({name:"ElText"}),Gce=j({...Uce,props:Wce,setup(e){const t=e,n=kr(),r=we("text"),i=P(()=>[r.b(),r.m(t.type),r.m(n.value),r.is("truncated",t.truncated)]);return(a,o)=>($(),de(Rt(a.tag),{class:U(x(i))},{default:re(()=>[ge(a.$slots,"default")]),_:3},8,["class"]))}});var jce=Re(Gce,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const qce=At(jce),$i="ElInfiniteScroll",Kce=50,Yce=200,Zce=0,Xce={delay:{type:Number,default:Yce},distance:{type:Number,default:Zce},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},$C=(e,t)=>Object.entries(Xce).reduce((n,[r,i])=>{var a,o;const{type:s,default:l}=i,u=e.getAttribute(`infinite-scroll-${r}`);let c=(o=(a=t[u])!=null?a:u)!=null?o:l;return c=c==="false"?!1:c,c=s(c),n[r]=Number.isNaN(c)?l:c,n},{}),zD=e=>{const{observer:t}=e[$i];t&&(t.disconnect(),delete e[$i].observer)},Qce=(e,t)=>{const{container:n,containerEl:r,instance:i,observer:a,lastScrollTop:o}=e[$i],{disabled:s,distance:l}=$C(e,i),{clientHeight:u,scrollHeight:c,scrollTop:f}=r,d=f-o;if(e[$i].lastScrollTop=f,a||s||d<0)return;let h=!1;if(n===e)h=c-(u+f)<=l;else{const{clientTop:p,scrollHeight:v}=e,m=lU(e,r);h=f+u>=m+p+v-l}h&&t.call(i)};function r1(e,t){const{containerEl:n,instance:r}=e[$i],{disabled:i}=$C(e,r);i||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):zD(e))}const Jce={async mounted(e,t){const{instance:n,value:r}=t;Ne(r)||Lr($i,"'v-infinite-scroll' binding value must be a function"),await Ke();const{delay:i,immediate:a}=$C(e,n),o=aZ(e,!0),s=o===window?document.documentElement:o,l=WT(Qce.bind(null,e,r),i);if(o){if(e[$i]={instance:n,container:o,containerEl:s,delay:i,cb:r,onScroll:l,lastScrollTop:s.scrollTop},a){const u=new MutationObserver(WT(r1.bind(null,e,r),Kce));e[$i].observer=u,u.observe(e,{childList:!0,subtree:!0}),r1(e,r)}o.addEventListener("scroll",l)}},unmounted(e){const{container:t,onScroll:n}=e[$i];t==null||t.removeEventListener("scroll",n),zD(e)},async updated(e){if(!e[$i])await Ke();else{const{containerEl:t,cb:n,observer:r}=e[$i];t.clientHeight&&r&&r1(e,n)}}},o2=Jce;o2.install=e=>{e.directive("InfiniteScroll",o2)};const efe=o2;function tfe(e){let t;const n=N(!1),r=Qt({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(d){r.text=d}function a(){const d=r.parent,h=f.ns;if(!d.vLoadingAddClassList){let p=d.getAttribute("loading-number");p=Number.parseInt(p)-1,p?d.setAttribute("loading-number",p.toString()):(Wi(d,h.bm("parent","relative")),d.removeAttribute("loading-number")),Wi(d,h.bm("parent","hidden"))}o(),c.unmount()}function o(){var d,h;(h=(d=f.$el)==null?void 0:d.parentNode)==null||h.removeChild(f.$el)}function s(){var d;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=window.setTimeout(l,400),r.visible=!1,(d=e.closed)==null||d.call(e))}function l(){if(!n.value)return;const d=r.parent;n.value=!1,d.vLoadingAddClassList=void 0,a()}const u=j({name:"ElLoading",setup(d,{expose:h}){const{ns:p,zIndex:v}=pR("loading");return h({ns:p,zIndex:v}),()=>{const m=r.spinner||r.svg,g=be("svg",{class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50",...m?{innerHTML:m}:{}},[be("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),y=r.text?be("p",{class:p.b("text")},[r.text]):void 0;return be(Qn,{name:p.b("fade"),onAfterLeave:l},{default:re(()=>[Wt(ie("div",{style:{backgroundColor:r.background||""},class:[p.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[be("div",{class:p.b("spinner")},[g,y])]),[[Dn,r.visible]])])})}}}),c=US(u),f=c.mount(document.createElement("div"));return{...Ci(r),setText:i,removeElLoadingChild:o,close:s,handleAfterLeave:l,vm:f,get $el(){return f.$el}}}let qp;const s2=function(e={}){if(!kt)return;const t=nfe(e);if(t.fullscreen&&qp)return qp;const n=tfe({...t,closed:()=>{var i;(i=t.closed)==null||i.call(t),t.fullscreen&&(qp=void 0)}});rfe(t,t.parent,n),G8(t,t.parent,n),t.parent.vLoadingAddClassList=()=>G8(t,t.parent,n);let r=t.parent.getAttribute("loading-number");return r?r=`${Number.parseInt(r)+1}`:r="1",t.parent.setAttribute("loading-number",r),t.parent.appendChild(n.$el),Ke(()=>n.visible.value=t.visible),t.fullscreen&&(qp=n),n},nfe=e=>{var t,n,r,i;let a;return Ge(e.target)?a=(t=document.querySelector(e.target))!=null?t:document.body:a=e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(r=e.lock)!=null?r:!1,customClass:e.customClass||"",visible:(i=e.visible)!=null?i:!0,target:a}},rfe=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,i={};if(e.fullscreen)n.originalPosition.value=qa(document.body,"position"),n.originalOverflow.value=qa(document.body,"overflow"),i.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=qa(document.body,"position"),await Ke();for(const a of["top","left"]){const o=a==="top"?"scrollTop":"scrollLeft";i[a]=`${e.target.getBoundingClientRect()[a]+document.body[o]+document.documentElement[o]-Number.parseInt(qa(document.body,`margin-${a}`),10)}px`}for(const a of["height","width"])i[a]=`${e.target.getBoundingClientRect()[a]}px`}else n.originalPosition.value=qa(t,"position");for(const[a,o]of Object.entries(i))n.$el.style[a]=o},G8=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Wi(t,r.bm("parent","relative")):Ka(t,r.bm("parent","relative")),e.fullscreen&&e.lock?Ka(t,r.bm("parent","hidden")):Wi(t,r.bm("parent","hidden"))},l2=Symbol("ElLoading"),j8=(e,t)=>{var n,r,i,a;const o=t.instance,s=d=>st(t.value)?t.value[d]:void 0,l=d=>{const h=Ge(d)&&(o==null?void 0:o[d])||d;return h&&N(h)},u=d=>l(s(d)||e.getAttribute(`element-loading-${Wr(d)}`)),c=(n=s("fullscreen"))!=null?n:t.modifiers.fullscreen,f={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:c,target:(r=s("target"))!=null?r:c?void 0:e,body:(i=s("body"))!=null?i:t.modifiers.body,lock:(a=s("lock"))!=null?a:t.modifiers.lock};e[l2]={options:f,instance:s2(f)}},ife=(e,t)=>{for(const n of Object.keys(t))It(t[n])&&(t[n].value=e[n])},q8={mounted(e,t){t.value&&j8(e,t)},updated(e,t){const n=e[l2];t.oldValue!==t.value&&(t.value&&!t.oldValue?j8(e,t):t.value&&t.oldValue?st(t.value)&&ife(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[l2])==null||t.instance.close()}},afe={install(e){e.directive("loading",q8),e.config.globalProperties.$loading=s2},directive:q8,service:s2},VD=["success","info","warning","error"],yr=Ur({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:kt?document.body:void 0}),ofe=$e({customClass:{type:String,default:yr.customClass},center:{type:Boolean,default:yr.center},dangerouslyUseHTMLString:{type:Boolean,default:yr.dangerouslyUseHTMLString},duration:{type:Number,default:yr.duration},icon:{type:un,default:yr.icon},id:{type:String,default:yr.id},message:{type:Oe([String,Object,Function]),default:yr.message},onClose:{type:Oe(Function),required:!1},showClose:{type:Boolean,default:yr.showClose},type:{type:String,values:VD,default:yr.type},offset:{type:Number,default:yr.offset},zIndex:{type:Number,default:yr.zIndex},grouping:{type:Boolean,default:yr.grouping},repeatNum:{type:Number,default:yr.repeatNum}}),sfe={destroy:()=>!0},zi=xS([]),lfe=e=>{const t=zi.findIndex(i=>i.id===e),n=zi[t];let r;return t>0&&(r=zi[t-1]),{current:n,prev:r}},ufe=e=>{const{prev:t}=lfe(e);return t?t.vm.exposed.bottom.value:0},cfe=(e,t)=>zi.findIndex(r=>r.id===e)>0?20:t,ffe=["id"],dfe=["innerHTML"],hfe=j({name:"ElMessage"}),pfe=j({...hfe,props:ofe,emits:sfe,setup(e,{expose:t}){const n=e,{Close:r}=F7,{ns:i,zIndex:a}=pR("message"),{currentZIndex:o,nextZIndex:s}=a,l=N(),u=N(!1),c=N(0);let f;const d=P(()=>n.type?n.type==="error"?"danger":n.type:"info"),h=P(()=>{const C=n.type;return{[i.bm("icon",C)]:C&&Yg[C]}}),p=P(()=>n.icon||Yg[n.type]||""),v=P(()=>ufe(n.id)),m=P(()=>cfe(n.id,n.offset)+v.value),g=P(()=>c.value+m.value),y=P(()=>({top:`${m.value}px`,zIndex:o.value}));function _(){n.duration!==0&&({stop:f}=Ud(()=>{S()},n.duration))}function b(){f==null||f()}function S(){u.value=!1}function w({code:C}){C===lt.esc&&S()}return dt(()=>{_(),s(),u.value=!0}),ce(()=>n.repeatNum,()=>{b(),_()}),Ar(document,"keydown",w),qi(l,()=>{c.value=l.value.getBoundingClientRect().height}),t({visible:u,bottom:g,close:S}),(C,T)=>($(),de(Qn,{name:x(i).b("fade"),onBeforeLeave:C.onClose,onAfterLeave:T[0]||(T[0]=E=>C.$emit("destroy")),persisted:""},{default:re(()=>[Wt(ee("div",{id:C.id,ref_key:"messageRef",ref:l,class:U([x(i).b(),{[x(i).m(C.type)]:C.type&&!C.icon},x(i).is("center",C.center),x(i).is("closable",C.showClose),C.customClass]),style:it(x(y)),role:"alert",onMouseenter:b,onMouseleave:_},[C.repeatNum>1?($(),de(x(OR),{key:0,value:C.repeatNum,type:x(d),class:U(x(i).e("badge"))},null,8,["value","type","class"])):_e("v-if",!0),x(p)?($(),de(x(yt),{key:1,class:U([x(i).e("icon"),x(h)])},{default:re(()=>[($(),de(Rt(x(p))))]),_:1},8,["class"])):_e("v-if",!0),ge(C.$slots,"default",{},()=>[C.dangerouslyUseHTMLString?($(),K(Ye,{key:1},[_e(" Caution here, message could've been compromised, never use user's input as message "),ee("p",{class:U(x(i).e("content")),innerHTML:C.message},null,10,dfe)],2112)):($(),K("p",{key:0,class:U(x(i).e("content"))},Ue(C.message),3))]),C.showClose?($(),de(x(yt),{key:2,class:U(x(i).e("closeBtn")),onClick:dn(S,["stop"])},{default:re(()=>[ie(x(r))]),_:1},8,["class","onClick"])):_e("v-if",!0)],46,ffe),[[Dn,u.value]])]),_:3},8,["name","onBeforeLeave"]))}});var vfe=Re(pfe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let gfe=1;const HD=e=>{const t=!e||Ge(e)||Cn(e)||Ne(e)?{message:e}:e,n={...yr,...t};if(!n.appendTo)n.appendTo=document.body;else if(Ge(n.appendTo)){let r=document.querySelector(n.appendTo);Nl(r)||(r=document.body),n.appendTo=r}return n},mfe=e=>{const t=zi.indexOf(e);if(t===-1)return;zi.splice(t,1);const{handler:n}=e;n.close()},yfe=({appendTo:e,...t},n)=>{const r=`message_${gfe++}`,i=t.onClose,a=document.createElement("div"),o={...t,id:r,onClose:()=>{i==null||i(),mfe(c)},onDestroy:()=>{Wd(null,a)}},s=ie(vfe,o,Ne(o.message)||Cn(o.message)?{default:Ne(o.message)?o.message:()=>o.message}:null);s.appContext=n||Cc._context,Wd(s,a),e.appendChild(a.firstElementChild);const l=s.component,c={id:r,vnode:s,vm:l,handler:{close:()=>{l.exposed.visible.value=!1}},props:s.component.props};return c},Cc=(e={},t)=>{if(!kt)return{close:()=>{}};if(gt(z_.max)&&zi.length>=z_.max)return{close:()=>{}};const n=HD(e);if(n.grouping&&zi.length){const i=zi.find(({vnode:a})=>{var o;return((o=a.props)==null?void 0:o.message)===n.message});if(i)return i.props.repeatNum+=1,i.props.type=n.type,i.handler}const r=yfe(n,t);return zi.push(r),r.handler};VD.forEach(e=>{Cc[e]=(t={},n)=>{const r=HD(t);return Cc({...r,type:e},n)}});function bfe(e){for(const t of zi)(!e||e===t.props.type)&&t.handler.close()}Cc.closeAll=bfe;Cc._context=null;const K8=wQ(Cc,"$message");var WD={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法，请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};e.default=t})(WD);const _fe=xC(WD);var UD=Object.defineProperty,wfe=Object.getOwnPropertyDescriptor,Sfe=Object.getOwnPropertyNames,Cfe=Object.prototype.hasOwnProperty,xfe=(e,t)=>{for(var n in t)UD(e,n,{get:t[n],enumerable:!0})},Y8=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Sfe(t))!Cfe.call(e,i)&&i!==n&&UD(e,i,{get:()=>t[i],enumerable:!(r=wfe(t,i))||r.enumerable});return e},Tfe=(e,t,n)=>(Y8(e,t,"default"),n&&Y8(n,t,"default")),Efe=Object.prototype.toString;function NC(e,t){return Efe.call(e)===`[object ${t}]`}function u2(e){return e!==null&&NC(e,"Object")}function Afe(e){return typeof e<"u"}function Mfe(e){return!Afe(e)}function Ife(e){return e===null}function Ofe(e){return Ife(e)||Mfe(e)}function Pfe(e){return GD(e)||I0(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:u2(e)?Object.keys(e).length===0:!1}function Ho(e){return!!(Pfe(e)||Ofe(e))}function I0(e){return NC(e,"String")}function ec(e){return typeof e=="function"}function Rfe(e){return NC(e,"Boolean")}function GD(e){return e&&Array.isArray(e)}var Dfe=typeof window>"u",jD=!Dfe;function qD(e){let t="^((https|http|ftp|rtsp|mms)?://)(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z].[a-z]{2,6})(:[0-9]{1,5})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$";return new RegExp(t,"ig").test(e)}var LOe=(e,t)=>!!(e!=null&&e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))),kOe=(e,t,n)=>{let r=n||document.body,{className:i}=r,a=i.replace(t,"").trim().split(/\s+/).join(" ");r.className=e?`${a} ${t}`:a},Lfe=Object.prototype.toString;function kfe(e,t){return e&&e.hasOwnProperty?e.hasOwnProperty(t):!1}function $fe(e,t,n){if(e)if(e.forEach)e.forEach(t,n);else for(let r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)}function Nfe(e,t,n){if(e)for(let r in e)kfe(e,r)&&t.call(n,e[r],r,e)}function i1(e,t){let n=e.__proto__.constructor;return t?new n(t):new n}function Kp(e,t){return t?KD(e,t):e}function KD(e,t){if(e)switch(Lfe.call(e)){case"[object Object]":{let n=Object.create(e.__proto__);return Nfe(e,function(r,i){n[i]=Kp(r,t)}),n}case"[object Date]":case"[object RegExp]":return i1(e,e.valueOf());case"[object Array]":case"[object Arguments]":{let n=[];return $fe(e,function(r){n.push(Kp(r,t))}),n}case"[object Set]":{let n=i1(e);return n.forEach(function(r){n.add(Kp(r,t))}),n}case"[object Map]":{let n=i1(e);return n.forEach(function(r){n.set(Kp(r,t))}),n}}return e}function rh(e){return e&&KD(e,!0)}var a1=(e=20)=>new Promise(t=>setTimeout(t,e)),YD=(e,t=200,n=!1)=>{let r,i=t,a;return function(){r&&clearTimeout(r),n?(r||e.call(a,...arguments),r=setTimeout(()=>r=null,i)):r=setTimeout(()=>e.call(a,...arguments),i)}},Bfe=(e,t=1e3)=>{let n;return function(){n||(n=setTimeout(()=>{e.call(void 0,...arguments),n=null},t))}},$Oe=()=>{let e=navigator.userAgent.toLowerCase(),t=e.match(/midp/i)=="midp",n=e.match(/ucweb/i)=="ucweb",r=e.match(/android/i)=="android",i=e.match(/iphone os/i)=="iphone os",a=e.match(/windows ce/i)=="windows ce",o=e.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",s=e.match(/windows mobile/i)=="windows mobile";return t||n||r||i||a||o||s},Ffe=(e,t="_blank")=>{let n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("target",t),n.setAttribute("rel","noreferrer noopener"),n.setAttribute("id","external");let r=document.getElementById("external");r&&document.body.removeChild(r),document.body.appendChild(n),n.click(),n.remove()};function ZD(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n)if(!r.includes(i)||!ZD(e[i],t[i]))return!1;return!0}function zfe(e,t){if(!e||!t)return!1;let{length:n}=e;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(!c2(e[r],t[r]))return!1;return!0}function c2(e,t){let n=Object.prototype.toString.call(e);return n!==Object.prototype.toString.call(t)?!1:n==="[object Object]"?ZD(e,t):n==="[object Array]"?zfe(e,t):n==="[object Function]"?e===t?!0:e.toString()===t.toString():e===t}var Vfe=(e,t)=>{if(e.install=n=>{for(let r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(let[n,r]of Object.entries(t))e[n]=r;return e},f2=class{constructor(e){uu(this,"storage");this.storage=e}setItem(e,t){Ho(this.storage)||this.storage.setItem(e,JSON.stringify(t))}getItem(e){if(!Ho(this.storage))return JSON.parse(this.storage.getItem(e))}removeItem(e){Ho(this.storage)||this.storage.removeItem(e)}clear(){Ho(this.storage)||this.storage.clear()}},Z8=class extends f2{constructor(e){super(e)}},hu=()=>jD?new Z8(window.localStorage):new Z8(""),xa=()=>jD?new f2(window.sessionStorage):new f2("");function Hfe(e,t){return I0(t)?e.substring(0,e.indexOf(t)):""}function Wfe(e,t){return I0(t)?e.substring(e.lastIndexOf(t)+t.length,e.length):""}function Ufe(e,t){return e.every(n=>t.some(r=>r===n))}var Gfe=(...e)=>[...e].reduce((t,n)=>t.filter(r=>n.includes(r)));function jfe(e,t){let n=[];for(let r of e)r[t]&&n.push(r[t]);return Array.from(new Set(n))}var yn={};xfe(yn,{Vue:()=>u0});Tfe(yn,u0);function qfe(e,{target:t=document.body}={}){let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let i=document.getSelection(),a;i&&i.rangeCount>0&&(a=i.getRangeAt(0)),t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let o=!1;try{o=document.execCommand("copy")}catch(s){throw new Error(s)}return n.remove(),a&&i&&(i.removeAllRanges(),i.addRange(a)),r&&r.focus(),o}function XD(e){(0,yn.getCurrentInstance)()&&(0,yn.onUnmounted)(e)}var NOe=()=>{let e=(0,yn.shallowRef)(!1),t,n=()=>{e.value=document.documentElement.classList.contains("dark")};return XD(()=>{t.takeRecords(),t.disconnect()}),(0,yn.onBeforeMount)(()=>{n(),t=new MutationObserver(n),t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),{isDark:e}};function Kfe(){let{appContext:{config:{globalProperties:e}}}=(0,yn.getCurrentInstance)();return e}var BOe=(e,t)=>{let n=(t==null?void 0:t.theme)??(0,yn.ref)("default"),r=(t==null?void 0:t.tooltipId)??"tooltipElement",i=Kfe().$echarts,a=null,o=(0,yn.ref)({}),s=(0,yn.ref)(),l=(0,yn.computed)(()=>n.value!=="dark"?o.value:{backgroundColor:"transparent",...o.value});function u(E){let M=(0,yn.unref)(e);!M||!(0,yn.unref)(M)||(a=i.init(M,E))}function c(E,...M){var A;if(o.value=E,s.value=M,((A=(0,yn.unref)(e))==null?void 0:A.offsetHeight)===0){a1().then(()=>c((0,yn.unref)(l),...M));return}(0,yn.nextTick)(()=>{a1().then(()=>{!a&&u(n.value),(E.clear??!0)&&f(),a==null||a.setOption((0,yn.unref)(l)),M&&M.map(I=>{(I==null?void 0:I.type)!=="zrender"&&typeof(I==null?void 0:I.callback)=="function"&&(a==null||a.on(I==null?void 0:I.name,I!=null&&I.query?I==null?void 0:I.query:"",O=>{I==null||I.callback(O)})),(I==null?void 0:I.type)==="zrender"&&typeof(I==null?void 0:I.callback)=="function"&&(a==null||a.getZr().on(I==null?void 0:I.name,O=>{O.target||(I==null||I.callback(O))}))}),E!=null&&E.addTooltip&&C(E.addTooltip)})})}function f(){a&&a.clear()}function d(){a.resize()}function h(E){let M=(E==null?void 0:E.type)??"default",A=(E==null?void 0:E.opts)??{};a.showLoading(M,A)}function p(){a.hideLoading()}function v(E){a.appendData(E)}function m(){return a.getWidth()}function g(){return a.getHeight()}function y(){return a||u(n.value),a}function _(){return a.getDom()}function b(){return a.getOption()}function S(E){return a.getDataURL(E)}function w(E){return a.getConnectedDataURL(E)}function C(E){if(!E)return;let M=document.querySelector("html");if(!document.getElementById(r)){let O=document.createElement("div");O.setAttribute("id",r),O.style.display="block",M.appendChild(O)}let A=document.querySelector(`#${r}`),I=O=>{if((O==null?void 0:O.targetType)!=="axisLabel")return;let D=`
        padding: 5px;
        font-size: 12px;
        display: inline;
        border-radius: 4px;
        position: absolute;
        background-color: #303133;
        z-index: 99999;color: #fff;
        box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px;
      `;A.style.cssText=D,A.innerHTML=O==null?void 0:O.value,M.onmousemove=F=>{let k=F.pageX-10,H=F.pageY+15;A.style.top=H+"px",A.style.left=k+"px"}};a==null||a.on("mouseover",O=>{(E==="x"&&O.componentType=="xAxis"||E==="y"&&O.componentType=="yAxis"||E.toString()==="true"&&O.componentType.includes("Axis"))&&I(O)}),a==null||a.on("mouseout",()=>{M.onmousemove=null,A.style.cssText="display:none"})}(0,yn.watch)(()=>n.value,E=>{a&&(a.dispose(),u(E),c(o.value,...s.value))});function T(){var E;!a||a1(((E=o.value)==null?void 0:E.delay)??300).then(()=>{d()})}return(0,yn.onMounted)(()=>{(0,yn.nextTick)(()=>{window.addEventListener("resize",T)})}),XD(()=>{var E;window.removeEventListener("resize",T),a&&(a.dispose(),a=null,(E=document.querySelector(`#${r}`))==null||E.remove())}),{echarts:i,clear:f,resize:d,getDom:_,getWidth:m,getOption:b,getHeight:g,addTooltip:C,getDataURL:S,setOptions:c,appendData:v,getInstance:y,showLoading:h,hideLoading:p,getConnectedDataURL:w}};const Yfe={width:24,height:24,body:'<path fill="currentColor" d="M16 3h6v6h-2V5h-4V3ZM2 3h6v2H4v4H2V3Zm18 16v-4h2v6h-6v-2h4ZM4 19h4v2H2v-6h2v4Z"/>'},X8={width:24,height:24,body:'<path fill="currentColor" d="M18 7h4v2h-6V3h2v4ZM8 9H2V7h4V3h2v6Zm10 8v4h-2v-6h6v2h-4ZM8 15v6H6v-4H2v-2h6Z"/>'},Zfe={key:0,class:"flex items-center justify-between"},Xfe=["id"],Qfe={key:1},Jfe=j({__name:"index",setup(e){const t=N(!1),n=P(()=>o=>{var s;return((s=o==null?void 0:o.footerButtons)==null?void 0:s.length)>0?o.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:l,index:u}})=>{const c=()=>o1(l,u,{command:"cancel"});l!=null&&l.beforeCancel&&ec(l==null?void 0:l.beforeCancel)?l.beforeCancel(c,{options:l,index:u}):c()}},{label:"确定",type:"primary",text:!0,bg:!0,btnClick:({dialog:{options:l,index:u}})=>{const c=()=>o1(l,u,{command:"sure"});l!=null&&l.beforeSure&&ec(l==null?void 0:l.beforeSure)?l.beforeSure(c,{options:l,index:u}):c()}}]}),r=P(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function i(o,s,l){if(t.value=(s==null?void 0:s.fullscreen)??!1,s!=null&&s[o]&&ec(s==null?void 0:s[o]))return s==null?void 0:s[o]({options:s,index:l})}function a(o,s,l={command:"close"}){o1(o,s,l),i("close",o,s)}return(o,s)=>{const l=et("IconifyIconOffline"),u=et("el-button"),c=et("el-dialog");return $(!0),K(Ye,null,Er(x(QD),(f,d)=>($(),de(c,on({class:"pure-dialog",key:d},f,{modelValue:f.visible,"onUpdate:modelValue":h=>f.visible=h,fullscreen:t.value?!0:!!(f!=null&&f.fullscreen),onClose:h=>a(f,d),onOpened:h=>i("open",f,d),onOpenAutoFocus:h=>i("openAutoFocus",f,d),onCloseAutoFocus:h=>i("closeAutoFocus",f,d)}),Vh({default:re(()=>[($(),de(Rt(f.contentRenderer({options:f,index:d})),on(f==null?void 0:f.props,{onClose:h=>a(f,d,h)}),null,16,["onClose"]))]),_:2},[f!=null&&f.fullscreenIcon||f!=null&&f.headerRenderer?{name:"header",fn:re(({close:h,titleId:p,titleClass:v})=>[f!=null&&f.fullscreenIcon?($(),K("div",Zfe,[ee("span",{id:p,class:U(v)},Ue(f==null?void 0:f.title),11,Xfe),f!=null&&f.fullscreen?_e("",!0):($(),K("i",{key:0,class:U(r.value),onClick:s[0]||(s[0]=m=>t.value=!t.value)},[ie(l,{class:"pure-dialog-svg",icon:f!=null&&f.fullscreen||t.value?x(X8):x(Yfe)},null,8,["icon"])],2))])):($(),de(Rt(f==null?void 0:f.headerRenderer({close:h,titleId:p,titleClass:v})),{key:1}))]),key:"0"}:void 0,f!=null&&f.hideFooter?void 0:{name:"footer",fn:re(()=>[f!=null&&f.footerRenderer?($(),de(Rt(f==null?void 0:f.footerRenderer({options:f,index:d})),{key:0})):($(),K("span",Qfe,[($(!0),K(Ye,null,Er(n.value(f),(h,p)=>($(),de(u,on({key:p},h,{onClick:v=>h.btnClick({dialog:{options:f,index:d},button:{btn:h,index:p}})}),{default:re(()=>[an(Ue(h==null?void 0:h.label),1)]),_:2},1040,["onClick"]))),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClose","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function jc(e){return Lh()?(kh(e),!0):!1}function Vl(e){return typeof e=="function"?e():x(e)}const O0=typeof window<"u",ede=e=>e!=null,tde=Object.prototype.toString,d2=e=>tde.call(e)==="[object Object]",ns=()=>{},nde=rde();function rde(){var e;return O0&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ide(e,t){function n(...r){return new Promise((i,a)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(a)})}return n}function ade(e,t={}){let n,r,i=ns;const a=s=>{clearTimeout(s),i(),i=ns};return s=>{const l=Vl(e),u=Vl(t.maxWait);return n&&a(n),l<=0||u!==void 0&&u<=0?(r&&(a(r),r=null),Promise.resolve(s())):new Promise((c,f)=>{i=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&a(r),r=null,c(s())},l)})}}function ode(...e){if(e.length!==1)return pn(...e);const t=e[0];return typeof t=="function"?oo(BO(()=>({get:t,set:ns}))):N(t)}function FOe(e,t=200,n={}){return ide(ade(t,n),e)}function sde(e,t=!0){Ze()?dt(e):t?e():Ke(e)}function lde(e){Ze()&&Ia(e)}function ude(e,t,n={}){const{immediate:r=!0}=n,i=N(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,o()}function l(...u){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...u)},Vl(t))}return r&&(i.value=!0,O0&&l()),jc(s),{isPending:oo(i),start:l,stop:s}}function qr(e){var t;const n=Vl(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ru=O0?window:void 0,cde=O0?window.document:void 0;function rn(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=ru):[t,n,r,i]=e,!t)return ns;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const a=[],o=()=>{a.forEach(c=>c()),a.length=0},s=(c,f,d,h)=>(c.addEventListener(f,d,h),()=>c.removeEventListener(f,d,h)),l=ce(()=>[qr(t),Vl(i)],([c,f])=>{o(),c&&a.push(...n.flatMap(d=>r.map(h=>s(c,d,h,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return jc(u),u}let Q8=!1;function zOe(e,t,n={}){const{window:r=ru,ignore:i=[],capture:a=!0,detectIframe:o=!1}=n;if(!r)return;nde&&!Q8&&(Q8=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",ns)));let s=!0;const l=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=qr(h);return p&&(d.target===p||d.composedPath().includes(p))}}),c=[rn(r,"click",d=>{const h=qr(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(s=!l(d)),!s){s=!0;return}t(d)}},{passive:!0,capture:a}),rn(r,"pointerdown",d=>{const h=qr(e);h&&(s=!d.composedPath().includes(h)&&!l(d))},{passive:!0}),o&&rn(r,"blur",d=>{setTimeout(()=>{var h;const p=qr(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>c.forEach(d=>d())}function fde(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function VOe(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=ru,eventName:a="keydown",passive:o=!1,dedupe:s=!1}=r,l=fde(t);return rn(i,a,c=>{c.repeat&&Vl(s)||l(c)&&n(c)},o)}function dde(){const e=N(!1);return Ze()&&dt(()=>{e.value=!0}),e}function P0(e){const t=dde();return P(()=>(t.value,!!e()))}function hde(e,t={}){const{window:n=ru}=t,r=P0(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const a=N(!1),o=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},s=()=>{r.value&&(o(),i=n.matchMedia(ode(e).value),a.value=!!(i!=null&&i.matches),i&&("addEventListener"in i?i.addEventListener("change",s):i.addListener(s)))};return hi(s),jc(()=>o()),a}var J8=Object.getOwnPropertySymbols,pde=Object.prototype.hasOwnProperty,vde=Object.prototype.propertyIsEnumerable,gde=(e,t)=>{var n={};for(var r in e)pde.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&J8)for(var r of J8(e))t.indexOf(r)<0&&vde.call(e,r)&&(n[r]=e[r]);return n};function HOe(e,t,n={}){const r=n,{window:i=ru}=r,a=gde(r,["window"]);let o;const s=P0(()=>i&&"ResizeObserver"in i),l=()=>{o&&(o.disconnect(),o=void 0)},u=P(()=>Array.isArray(e)?e.map(d=>qr(d)):[qr(e)]),c=ce(u,d=>{if(l(),s.value&&i){o=new ResizeObserver(t);for(const h of d)h&&o.observe(h,a)}},{immediate:!0,flush:"post",deep:!0}),f=()=>{l(),c()};return jc(f),{isSupported:s,stop:f}}function mde(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:a=.1,window:o=ru,immediate:s=!0}=n,l=P0(()=>o&&"IntersectionObserver"in o),u=P(()=>{const p=Vl(e);return(Array.isArray(p)?p:[p]).map(qr).filter(ede)});let c=ns;const f=N(s),d=l.value?ce(()=>[u.value,qr(r),f.value],([p,v])=>{if(c(),!f.value||!p.length)return;const m=new IntersectionObserver(t,{root:qr(v),rootMargin:i,threshold:a});p.forEach(g=>g&&m.observe(g)),c=()=>{m.disconnect(),c=ns}},{immediate:s,flush:"post"}):ns,h=()=>{c(),d(),f.value=!1};return jc(h),{isSupported:l,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:h}}const e6=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function WOe(e,t={}){const{document:n=cde,autoExit:r=!1}=t,i=P(()=>{var g;return(g=qr(e))!=null?g:n==null?void 0:n.querySelector("html")}),a=N(!1),o=P(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||i.value&&g in i.value)),s=P(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||i.value&&g in i.value)),l=P(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||i.value&&g in i.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),c=P0(()=>i.value&&n&&o.value!==void 0&&s.value!==void 0&&l.value!==void 0),f=()=>u?(n==null?void 0:n[u])===i.value:!1,d=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const g=i.value;if((g==null?void 0:g[l.value])!=null)return!!g[l.value]}}return!1};async function h(){if(c.value){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const g=i.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}a.value=!1}}async function p(){if(!c.value)return;d()&&await h();const g=i.value;o.value&&(g==null?void 0:g[o.value])!=null&&(await g[o.value](),a.value=!0)}async function v(){await(a.value?h():p())}const m=()=>{const g=d();(!g||g&&f())&&(a.value=g)};return rn(n,e6,m,!1),rn(()=>qr(i),e6,m,!1),r&&jc(h),{isSupported:c,isFullscreen:a,enter:p,exit:h,toggle:v}}function UOe(e={}){const{window:t=ru,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:a=!0}=e,o=N(n),s=N(r),l=()=>{t&&(a?(o.value=t.innerWidth,s.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(l(),sde(l),rn("resize",l,{passive:!0}),i){const u=hde("(orientation: portrait)");ce(u,()=>l())}return{width:o,height:s}}const QD=N([]),o1=(e,t,n)=>{QD.value.splice(t,1),e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n})},yde=Vfe(Jfe);function JD(e,t){return function(){return e.apply(t,arguments)}}const{toString:bde}=Object.prototype,{getPrototypeOf:BC}=Object,R0=(e=>t=>{const n=bde.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ra=e=>(e=e.toLowerCase(),t=>R0(t)===e),D0=e=>t=>typeof t===e,{isArray:qc}=Array,ih=D0("undefined");function _de(e){return e!==null&&!ih(e)&&e.constructor!==null&&!ih(e.constructor)&&vi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const eL=Ra("ArrayBuffer");function wde(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&eL(e.buffer),t}const Sde=D0("string"),vi=D0("function"),tL=D0("number"),L0=e=>e!==null&&typeof e=="object",Cde=e=>e===!0||e===!1,og=e=>{if(R0(e)!=="object")return!1;const t=BC(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},xde=Ra("Date"),Tde=Ra("File"),Ede=Ra("Blob"),Ade=Ra("FileList"),Mde=e=>L0(e)&&vi(e.pipe),Ide=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||vi(e.append)&&((t=R0(e))==="formdata"||t==="object"&&vi(e.toString)&&e.toString()==="[object FormData]"))},Ode=Ra("URLSearchParams"),Pde=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Jh(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),qc(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(r=0;r<o;r++)s=a[r],t.call(null,e[s],s,e)}}function nL(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const rL=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),iL=e=>!ih(e)&&e!==rL;function h2(){const{caseless:e}=iL(this)&&this||{},t={},n=(r,i)=>{const a=e&&nL(t,i)||i;og(t[a])&&og(r)?t[a]=h2(t[a],r):og(r)?t[a]=h2({},r):qc(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Jh(arguments[r],n);return t}const Rde=(e,t,n,{allOwnKeys:r}={})=>(Jh(t,(i,a)=>{n&&vi(i)?e[a]=JD(i,n):e[a]=i},{allOwnKeys:r}),e),Dde=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Lde=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},kde=(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&BC(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$de=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Nde=e=>{if(!e)return null;if(qc(e))return e;let t=e.length;if(!tL(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Bde=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&BC(Uint8Array)),Fde=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},zde=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Vde=Ra("HTMLFormElement"),Hde=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),t6=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wde=Ra("RegExp"),aL=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Jh(n,(i,a)=>{t(i,a,e)!==!1&&(r[a]=i)}),Object.defineProperties(e,r)},Ude=e=>{aL(e,(t,n)=>{if(vi(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(vi(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Gde=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return qc(e)?r(e):r(String(e).split(t)),n},jde=()=>{},qde=(e,t)=>(e=+e,Number.isFinite(e)?e:t),s1="abcdefghijklmnopqrstuvwxyz",n6="0123456789",oL={DIGIT:n6,ALPHA:s1,ALPHA_DIGIT:s1+s1.toUpperCase()+n6},Kde=(e=16,t=oL.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Yde(e){return!!(e&&vi(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Zde=e=>{const t=new Array(10),n=(r,i)=>{if(L0(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=qc(r)?[]:{};return Jh(r,(o,s)=>{const l=n(o,i+1);!ih(l)&&(a[s]=l)}),t[i]=void 0,a}}return r};return n(e,0)},Xde=Ra("AsyncFunction"),Qde=e=>e&&(L0(e)||vi(e))&&vi(e.then)&&vi(e.catch),ne={isArray:qc,isArrayBuffer:eL,isBuffer:_de,isFormData:Ide,isArrayBufferView:wde,isString:Sde,isNumber:tL,isBoolean:Cde,isObject:L0,isPlainObject:og,isUndefined:ih,isDate:xde,isFile:Tde,isBlob:Ede,isRegExp:Wde,isFunction:vi,isStream:Mde,isURLSearchParams:Ode,isTypedArray:Bde,isFileList:Ade,forEach:Jh,merge:h2,extend:Rde,trim:Pde,stripBOM:Dde,inherits:Lde,toFlatObject:kde,kindOf:R0,kindOfTest:Ra,endsWith:$de,toArray:Nde,forEachEntry:Fde,matchAll:zde,isHTMLForm:Vde,hasOwnProperty:t6,hasOwnProp:t6,reduceDescriptors:aL,freezeMethods:Ude,toObjectSet:Gde,toCamelCase:Hde,noop:jde,toFiniteNumber:qde,findKey:nL,global:rL,isContextDefined:iL,ALPHABET:oL,generateString:Kde,isSpecCompliantForm:Yde,toJSONObject:Zde,isAsyncFn:Xde,isThenable:Qde};function Ot(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}ne.inherits(Ot,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ne.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const sL=Ot.prototype,lL={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lL[e]={value:e}});Object.defineProperties(Ot,lL);Object.defineProperty(sL,"isAxiosError",{value:!0});Ot.from=(e,t,n,r,i,a)=>{const o=Object.create(sL);return ne.toFlatObject(e,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ot.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const Jde=null;function p2(e){return ne.isPlainObject(e)||ne.isArray(e)}function uL(e){return ne.endsWith(e,"[]")?e.slice(0,-2):e}function r6(e,t,n){return e?e.concat(t).map(function(i,a){return i=uL(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function ehe(e){return ne.isArray(e)&&!e.some(p2)}const the=ne.toFlatObject(ne,{},null,function(t){return/^is[A-Z]/.test(t)});function k0(e,t,n){if(!ne.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ne.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,m){return!ne.isUndefined(m[v])});const r=n.metaTokens,i=n.visitor||c,a=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&ne.isSpecCompliantForm(t);if(!ne.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(ne.isDate(p))return p.toISOString();if(!l&&ne.isBlob(p))throw new Ot("Blob is not supported. Use a Buffer instead.");return ne.isArrayBuffer(p)||ne.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,m){let g=p;if(p&&!m&&typeof p=="object"){if(ne.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(ne.isArray(p)&&ehe(p)||(ne.isFileList(p)||ne.endsWith(v,"[]"))&&(g=ne.toArray(p)))return v=uL(v),g.forEach(function(_,b){!(ne.isUndefined(_)||_===null)&&t.append(o===!0?r6([v],b,a):o===null?v:v+"[]",u(_))}),!1}return p2(p)?!0:(t.append(r6(m,v,a),u(p)),!1)}const f=[],d=Object.assign(the,{defaultVisitor:c,convertValue:u,isVisitable:p2});function h(p,v){if(!ne.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),ne.forEach(p,function(g,y){(!(ne.isUndefined(g)||g===null)&&i.call(t,g,ne.isString(y)?y.trim():y,v,d))===!0&&h(g,v?v.concat(y):[y])}),f.pop()}}if(!ne.isObject(e))throw new TypeError("data must be an object");return h(e),t}function i6(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function FC(e,t){this._pairs=[],e&&k0(e,this,t)}const cL=FC.prototype;cL.append=function(t,n){this._pairs.push([t,n])};cL.toString=function(t){const n=t?function(r){return t.call(this,r,i6)}:i6;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function nhe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fL(e,t,n){if(!t)return e;const r=n&&n.encode||nhe,i=n&&n.serialize;let a;if(i?a=i(t,n):a=ne.isURLSearchParams(t)?t.toString():new FC(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class rhe{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ne.forEach(this.handlers,function(r){r!==null&&t(r)})}}const a6=rhe,dL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ihe=typeof URLSearchParams<"u"?URLSearchParams:FC,ahe=typeof FormData<"u"?FormData:null,ohe=typeof Blob<"u"?Blob:null,she=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),lhe=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ba={isBrowser:!0,classes:{URLSearchParams:ihe,FormData:ahe,Blob:ohe},isStandardBrowserEnv:she,isStandardBrowserWebWorkerEnv:lhe,protocols:["http","https","file","blob","url","data"]};function uhe(e,t){return k0(e,new ba.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return ba.isNode&&ne.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function che(e){return ne.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function fhe(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function hL(e){function t(n,r,i,a){let o=n[a++];const s=Number.isFinite(+o),l=a>=n.length;return o=!o&&ne.isArray(i)?i.length:o,l?(ne.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!ne.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&ne.isArray(i[o])&&(i[o]=fhe(i[o])),!s)}if(ne.isFormData(e)&&ne.isFunction(e.entries)){const n={};return ne.forEachEntry(e,(r,i)=>{t(che(r),i,n,0)}),n}return null}const dhe={"Content-Type":void 0};function hhe(e,t,n){if(ne.isString(e))try{return(t||JSON.parse)(e),ne.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const $0={transitional:dL,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=ne.isObject(t);if(a&&ne.isHTMLForm(t)&&(t=new FormData(t)),ne.isFormData(t))return i&&i?JSON.stringify(hL(t)):t;if(ne.isArrayBuffer(t)||ne.isBuffer(t)||ne.isStream(t)||ne.isFile(t)||ne.isBlob(t))return t;if(ne.isArrayBufferView(t))return t.buffer;if(ne.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return uhe(t,this.formSerializer).toString();if((s=ne.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return k0(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),hhe(t)):t}],transformResponse:[function(t){const n=this.transitional||$0.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&ne.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Ot.from(s,Ot.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ba.classes.FormData,Blob:ba.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ne.forEach(["delete","get","head"],function(t){$0.headers[t]={}});ne.forEach(["post","put","patch"],function(t){$0.headers[t]=ne.merge(dhe)});const zC=$0,phe=ne.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vhe=e=>{const t={};let n,r,i;return e&&e.split(`
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&phe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},o6=Symbol("internals");function ff(e){return e&&String(e).trim().toLowerCase()}function sg(e){return e===!1||e==null?e:ne.isArray(e)?e.map(sg):String(e)}function ghe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const mhe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function l1(e,t,n,r,i){if(ne.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!ne.isString(t)){if(ne.isString(r))return t.indexOf(r)!==-1;if(ne.isRegExp(r))return r.test(t)}}function yhe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function bhe(e,t){const n=ne.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class N0{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(s,l,u){const c=ff(l);if(!c)throw new Error("header name must be a non-empty string");const f=ne.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=sg(s))}const o=(s,l)=>ne.forEach(s,(u,c)=>a(u,c,l));return ne.isPlainObject(t)||t instanceof this.constructor?o(t,n):ne.isString(t)&&(t=t.trim())&&!mhe(t)?o(vhe(t),n):t!=null&&a(n,t,r),this}get(t,n){if(t=ff(t),t){const r=ne.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return ghe(i);if(ne.isFunction(n))return n.call(this,i,r);if(ne.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ff(t),t){const r=ne.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||l1(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=ff(o),o){const s=ne.findKey(r,o);s&&(!n||l1(r,r[s],s,n))&&(delete r[s],i=!0)}}return ne.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||l1(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return ne.forEach(this,(i,a)=>{const o=ne.findKey(r,a);if(o){n[o]=sg(i),delete n[a];return}const s=t?yhe(a):String(a).trim();s!==a&&delete n[a],n[s]=sg(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ne.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&ne.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[o6]=this[o6]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=ff(o);r[s]||(bhe(i,o),r[s]=!0)}return ne.isArray(t)?t.forEach(a):a(t),this}}N0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ne.freezeMethods(N0.prototype);ne.freezeMethods(N0);const Qa=N0;function u1(e,t){const n=this||zC,r=t||n,i=Qa.from(r.headers);let a=r.data;return ne.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function pL(e){return!!(e&&e.__CANCEL__)}function ep(e,t,n){Ot.call(this,e??"canceled",Ot.ERR_CANCELED,t,n),this.name="CanceledError"}ne.inherits(ep,Ot,{__CANCEL__:!0});function _he(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ot("Request failed with status code "+n.status,[Ot.ERR_BAD_REQUEST,Ot.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const whe=ba.isStandardBrowserEnv?function(){return{write:function(n,r,i,a,o,s){const l=[];l.push(n+"="+encodeURIComponent(r)),ne.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),ne.isString(a)&&l.push("path="+a),ne.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function She(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Che(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function vL(e,t){return e&&!She(t)?Che(e,t):t}const xhe=ba.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const s=ne.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function The(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ehe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[a];o||(o=u),n[i]=l,r[i]=u;let f=a,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const h=c&&u-c;return h?Math.round(d*1e3/h):void 0}}function s6(e,t){let n=0;const r=Ehe(50,250);return i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-n,l=r(s),u=a<=o;n=a;const c={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&u?(o-a)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const Ahe=typeof XMLHttpRequest<"u",Mhe=Ahe&&function(e){return new Promise(function(n,r){let i=e.data;const a=Qa.from(e.headers).normalize(),o=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}ne.isFormData(i)&&(ba.isStandardBrowserEnv||ba.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(h+":"+p))}const c=vL(e.baseURL,e.url);u.open(e.method.toUpperCase(),fL(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const h=Qa.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};_he(function(g){n(g),l()},function(g){r(g),l()},v),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(r(new Ot("Request aborted",Ot.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new Ot("Network Error",Ot.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||dL;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new Ot(p,v.clarifyTimeoutError?Ot.ETIMEDOUT:Ot.ECONNABORTED,e,u)),u=null},ba.isStandardBrowserEnv){const h=(e.withCredentials||xhe(c))&&e.xsrfCookieName&&whe.read(e.xsrfCookieName);h&&a.set(e.xsrfHeaderName,h)}i===void 0&&a.setContentType(null),"setRequestHeader"in u&&ne.forEach(a.toJSON(),function(p,v){u.setRequestHeader(v,p)}),ne.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",s6(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",s6(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=h=>{u&&(r(!h||h.type?new ep(null,e,u):h),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const d=The(c);if(d&&ba.protocols.indexOf(d)===-1){r(new Ot("Unsupported protocol "+d+":",Ot.ERR_BAD_REQUEST,e));return}u.send(i||null)})},lg={http:Jde,xhr:Mhe};ne.forEach(lg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ihe={getAdapter:e=>{e=ne.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let i=0;i<t&&(n=e[i],!(r=ne.isString(n)?lg[n.toLowerCase()]:n));i++);if(!r)throw r===!1?new Ot(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(ne.hasOwnProp(lg,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!ne.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:lg};function c1(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ep(null,e)}function l6(e){return c1(e),e.headers=Qa.from(e.headers),e.data=u1.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ihe.getAdapter(e.adapter||zC.adapter)(e).then(function(r){return c1(e),r.data=u1.call(e,e.transformResponse,r),r.headers=Qa.from(r.headers),r},function(r){return pL(r)||(c1(e),r&&r.response&&(r.response.data=u1.call(e,e.transformResponse,r.response),r.response.headers=Qa.from(r.response.headers))),Promise.reject(r)})}const u6=e=>e instanceof Qa?e.toJSON():e;function xc(e,t){t=t||{};const n={};function r(u,c,f){return ne.isPlainObject(u)&&ne.isPlainObject(c)?ne.merge.call({caseless:f},u,c):ne.isPlainObject(c)?ne.merge({},c):ne.isArray(c)?c.slice():c}function i(u,c,f){if(ne.isUndefined(c)){if(!ne.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function a(u,c){if(!ne.isUndefined(c))return r(void 0,c)}function o(u,c){if(ne.isUndefined(c)){if(!ne.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,c)=>i(u6(u),u6(c),!0)};return ne.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||i,d=f(e[c],t[c],c);ne.isUndefined(d)&&f!==s||(n[c]=d)}),n}const gL="1.4.0",VC={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{VC[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const c6={};VC.transitional=function(t,n,r){function i(a,o){return"[Axios v"+gL+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,s)=>{if(t===!1)throw new Ot(i(o," has been removed"+(n?" in "+n:"")),Ot.ERR_DEPRECATED);return n&&!c6[o]&&(c6[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,s):!0}};function Ohe(e,t,n){if(typeof e!="object")throw new Ot("options must be an object",Ot.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new Ot("option "+a+" must be "+l,Ot.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ot("Unknown option "+a,Ot.ERR_BAD_OPTION)}}const v2={assertOptions:Ohe,validators:VC},_o=v2.validators;let Jg=class{constructor(t){this.defaults=t,this.interceptors={request:new a6,response:new a6}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xc(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&v2.assertOptions(r,{silentJSONParsing:_o.transitional(_o.boolean),forcedJSONParsing:_o.transitional(_o.boolean),clarifyTimeoutError:_o.transitional(_o.boolean)},!1),i!=null&&(ne.isFunction(i)?n.paramsSerializer={serialize:i}:v2.assertOptions(i,{encode:_o.function,serialize:_o.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=a&&ne.merge(a.common,a[n.method]),o&&ne.forEach(["delete","get","head","post","put","patch","common"],p=>{delete a[p]}),n.headers=Qa.concat(o,a);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,d;if(!l){const p=[l6.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=s.length;let h=n;for(f=0;f<d;){const p=s[f++],v=s[f++];try{h=p(h)}catch(m){v.call(this,m);break}}try{c=l6.call(this,h)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=xc(this.defaults,t);const n=vL(t.baseURL,t.url);return fL(n,t.params,t.paramsSerializer)}};ne.forEach(["delete","get","head","options"],function(t){Jg.prototype[t]=function(n,r){return this.request(xc(r||{},{method:t,url:n,data:(r||{}).data}))}});ne.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,s){return this.request(xc(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Jg.prototype[t]=n(),Jg.prototype[t+"Form"]=n(!0)});const ug=Jg;class HC{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{r.subscribe(s),a=s}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,s){r.reason||(r.reason=new ep(a,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new HC(function(i){t=i}),cancel:t}}}const Phe=HC;function Rhe(e){return function(n){return e.apply(null,n)}}function Dhe(e){return ne.isObject(e)&&e.isAxiosError===!0}const g2={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(g2).forEach(([e,t])=>{g2[t]=e});const Lhe=g2;function mL(e){const t=new ug(e),n=JD(ug.prototype.request,t);return ne.extend(n,ug.prototype,t,{allOwnKeys:!0}),ne.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return mL(xc(e,i))},n}const Mn=mL(zC);Mn.Axios=ug;Mn.CanceledError=ep;Mn.CancelToken=Phe;Mn.isCancel=pL;Mn.VERSION=gL;Mn.toFormData=k0;Mn.AxiosError=Ot;Mn.Cancel=Mn.CanceledError;Mn.all=function(t){return Promise.all(t)};Mn.spread=Rhe;Mn.isAxiosError=Dhe;Mn.mergeConfig=xc;Mn.AxiosHeaders=Qa;Mn.formToJSON=e=>hL(ne.isHTMLForm(e)?new FormData(e):e);Mn.HttpStatusCode=Lhe;Mn.default=Mn;const m2=Mn;var khe=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},f6=typeof Symbol<"u"&&Symbol,$he=khe,Nhe=function(){return typeof f6!="function"||typeof Symbol!="function"||typeof f6("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:$he()},d6={foo:{}},Bhe=Object,Fhe=function(){return{__proto__:d6}.foo===d6.foo&&!({__proto__:null}instanceof Bhe)},zhe="Function.prototype.bind called on incompatible ",f1=Array.prototype.slice,Vhe=Object.prototype.toString,Hhe="[object Function]",Whe=function(t){var n=this;if(typeof n!="function"||Vhe.call(n)!==Hhe)throw new TypeError(zhe+n);for(var r=f1.call(arguments,1),i,a=function(){if(this instanceof i){var c=n.apply(this,r.concat(f1.call(arguments)));return Object(c)===c?c:this}else return n.apply(t,r.concat(f1.call(arguments)))},o=Math.max(0,n.length-r.length),s=[],l=0;l<o;l++)s.push("$"+l);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var u=function(){};u.prototype=n.prototype,i.prototype=new u,u.prototype=null}return i},Uhe=Whe,WC=Function.prototype.bind||Uhe,Ghe=WC,jhe=Ghe.call(Function.call,Object.prototype.hasOwnProperty),wt,Tc=SyntaxError,yL=Function,tc=TypeError,d1=function(e){try{return yL('"use strict"; return ('+e+").constructor;")()}catch{}},ml=Object.getOwnPropertyDescriptor;if(ml)try{ml({},"")}catch{ml=null}var h1=function(){throw new tc},qhe=ml?function(){try{return arguments.callee,h1}catch{try{return ml(arguments,"callee").get}catch{return h1}}}():h1,pu=Nhe(),Khe=Fhe(),Pn=Object.getPrototypeOf||(Khe?function(e){return e.__proto__}:null),Bu={},Yhe=typeof Uint8Array>"u"||!Pn?wt:Pn(Uint8Array),yl={"%AggregateError%":typeof AggregateError>"u"?wt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?wt:ArrayBuffer,"%ArrayIteratorPrototype%":pu&&Pn?Pn([][Symbol.iterator]()):wt,"%AsyncFromSyncIteratorPrototype%":wt,"%AsyncFunction%":Bu,"%AsyncGenerator%":Bu,"%AsyncGeneratorFunction%":Bu,"%AsyncIteratorPrototype%":Bu,"%Atomics%":typeof Atomics>"u"?wt:Atomics,"%BigInt%":typeof BigInt>"u"?wt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?wt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?wt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?wt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?wt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?wt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?wt:FinalizationRegistry,"%Function%":yL,"%GeneratorFunction%":Bu,"%Int8Array%":typeof Int8Array>"u"?wt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?wt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?wt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":pu&&Pn?Pn(Pn([][Symbol.iterator]())):wt,"%JSON%":typeof JSON=="object"?JSON:wt,"%Map%":typeof Map>"u"?wt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!pu||!Pn?wt:Pn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?wt:Promise,"%Proxy%":typeof Proxy>"u"?wt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?wt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?wt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!pu||!Pn?wt:Pn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?wt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":pu&&Pn?Pn(""[Symbol.iterator]()):wt,"%Symbol%":pu?Symbol:wt,"%SyntaxError%":Tc,"%ThrowTypeError%":qhe,"%TypedArray%":Yhe,"%TypeError%":tc,"%Uint8Array%":typeof Uint8Array>"u"?wt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?wt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?wt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?wt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?wt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?wt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?wt:WeakSet};if(Pn)try{null.error}catch(e){var Zhe=Pn(Pn(e));yl["%Error.prototype%"]=Zhe}var Xhe=function e(t){var n;if(t==="%AsyncFunction%")n=d1("async function () {}");else if(t==="%GeneratorFunction%")n=d1("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=d1("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Pn&&(n=Pn(i.prototype))}return yl[t]=n,n},h6={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},tp=WC,em=jhe,Qhe=tp.call(Function.call,Array.prototype.concat),Jhe=tp.call(Function.apply,Array.prototype.splice),p6=tp.call(Function.call,String.prototype.replace),tm=tp.call(Function.call,String.prototype.slice),epe=tp.call(Function.call,RegExp.prototype.exec),tpe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,npe=/\\(\\)?/g,rpe=function(t){var n=tm(t,0,1),r=tm(t,-1);if(n==="%"&&r!=="%")throw new Tc("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new Tc("invalid intrinsic syntax, expected opening `%`");var i=[];return p6(t,tpe,function(a,o,s,l){i[i.length]=s?p6(l,npe,"$1"):o||a}),i},ipe=function(t,n){var r=t,i;if(em(h6,r)&&(i=h6[r],r="%"+i[0]+"%"),em(yl,r)){var a=yl[r];if(a===Bu&&(a=Xhe(r)),typeof a>"u"&&!n)throw new tc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new Tc("intrinsic "+t+" does not exist!")},UC=function(t,n){if(typeof t!="string"||t.length===0)throw new tc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new tc('"allowMissing" argument must be a boolean');if(epe(/^%?[^%]*%?$/,t)===null)throw new Tc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=rpe(t),i=r.length>0?r[0]:"",a=ipe("%"+i+"%",n),o=a.name,s=a.value,l=!1,u=a.alias;u&&(i=u[0],Jhe(r,Qhe([0,1],u)));for(var c=1,f=!0;c<r.length;c+=1){var d=r[c],h=tm(d,0,1),p=tm(d,-1);if((h==='"'||h==="'"||h==="`"||p==='"'||p==="'"||p==="`")&&h!==p)throw new Tc("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(l=!0),i+="."+d,o="%"+i+"%",em(yl,o))s=yl[o];else if(s!=null){if(!(d in s)){if(!n)throw new tc("base intrinsic for "+t+" exists, but the property is not available.");return}if(ml&&c+1>=r.length){var v=ml(s,d);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[d]}else f=em(s,d),s=s[d];f&&!l&&(yl[o]=s)}}return s},bL={exports:{}};(function(e){var t=WC,n=UC,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||t.call(i,r),o=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(f){var d=a(t,i,arguments);if(o&&s){var h=o(d,"length");h.configurable&&s(d,"length",{value:1+l(0,f.length-(arguments.length-1))})}return d};var u=function(){return a(t,r,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(bL);var ape=bL.exports,_L=UC,wL=ape,ope=wL(_L("String.prototype.indexOf")),spe=function(t,n){var r=_L(t,!!n);return typeof r=="function"&&ope(t,".prototype.")>-1?wL(r):r};const lpe={},upe=Object.freeze(Object.defineProperty({__proto__:null,default:lpe},Symbol.toStringTag,{value:"Module"})),cpe=Ore(upe);var GC=typeof Map=="function"&&Map.prototype,p1=Object.getOwnPropertyDescriptor&&GC?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,nm=GC&&p1&&typeof p1.get=="function"?p1.get:null,v6=GC&&Map.prototype.forEach,jC=typeof Set=="function"&&Set.prototype,v1=Object.getOwnPropertyDescriptor&&jC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,rm=jC&&v1&&typeof v1.get=="function"?v1.get:null,g6=jC&&Set.prototype.forEach,fpe=typeof WeakMap=="function"&&WeakMap.prototype,ud=fpe?WeakMap.prototype.has:null,dpe=typeof WeakSet=="function"&&WeakSet.prototype,cd=dpe?WeakSet.prototype.has:null,hpe=typeof WeakRef=="function"&&WeakRef.prototype,m6=hpe?WeakRef.prototype.deref:null,ppe=Boolean.prototype.valueOf,vpe=Object.prototype.toString,gpe=Function.prototype.toString,mpe=String.prototype.match,qC=String.prototype.slice,Wo=String.prototype.replace,ype=String.prototype.toUpperCase,y6=String.prototype.toLowerCase,SL=RegExp.prototype.test,b6=Array.prototype.concat,pa=Array.prototype.join,bpe=Array.prototype.slice,_6=Math.floor,y2=typeof BigInt=="function"?BigInt.prototype.valueOf:null,g1=Object.getOwnPropertySymbols,b2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="object",er=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ec||"symbol")?Symbol.toStringTag:null,CL=Object.prototype.propertyIsEnumerable,w6=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function S6(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||SL.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-_6(-e):_6(e);if(r!==e){var i=String(r),a=qC.call(t,i.length+1);return Wo.call(i,n,"$&_")+"."+Wo.call(Wo.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Wo.call(t,n,"$&_")}var _2=cpe,C6=_2.custom,x6=TL(C6)?C6:null,_pe=function e(t,n,r,i){var a=n||{};if(No(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(No(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=No(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(No(a,"indent")&&a.indent!==null&&a.indent!=="	"&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(No(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return AL(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?S6(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return s?S6(t,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=c&&c>0&&typeof t=="object")return w2(t)?"[Array]":"[Object]";var f=Bpe(a,r);if(typeof i>"u")i=[];else if(EL(i,t)>=0)return"[Circular]";function d(O,D,F){if(D&&(i=bpe.call(i),i.push(D)),F){var k={depth:a.depth};return No(a,"quoteStyle")&&(k.quoteStyle=a.quoteStyle),e(O,k,r+1,i)}return e(O,a,r+1,i)}if(typeof t=="function"&&!T6(t)){var h=Ipe(t),p=Yp(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(p.length>0?" { "+pa.call(p,", ")+" }":"")}if(TL(t)){var v=Ec?Wo.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):b2.call(t);return typeof t=="object"&&!Ec?df(v):v}if(kpe(t)){for(var m="<"+y6.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)m+=" "+g[y].name+"="+xL(wpe(g[y].value),"double",a);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+y6.call(String(t.nodeName))+">",m}if(w2(t)){if(t.length===0)return"[]";var _=Yp(t,d);return f&&!Npe(_)?"["+S2(_,f)+"]":"[ "+pa.call(_,", ")+" ]"}if(Cpe(t)){var b=Yp(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!CL.call(t,"cause")?"{ ["+String(t)+"] "+pa.call(b6.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+pa.call(b,", ")+" }"}if(typeof t=="object"&&o){if(x6&&typeof t[x6]=="function"&&_2)return _2(t,{depth:c-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Ope(t)){var S=[];return v6&&v6.call(t,function(O,D){S.push(d(D,t,!0)+" => "+d(O,t))}),E6("Map",nm.call(t),S,f)}if(Dpe(t)){var w=[];return g6&&g6.call(t,function(O){w.push(d(O,t))}),E6("Set",rm.call(t),w,f)}if(Ppe(t))return m1("WeakMap");if(Lpe(t))return m1("WeakSet");if(Rpe(t))return m1("WeakRef");if(Tpe(t))return df(d(Number(t)));if(Ape(t))return df(d(y2.call(t)));if(Epe(t))return df(ppe.call(t));if(xpe(t))return df(d(String(t)));if(!Spe(t)&&!T6(t)){var C=Yp(t,d),T=w6?w6(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",M=!T&&er&&Object(t)===t&&er in t?qC.call(ys(t),8,-1):E?"Object":"",A=T||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=A+(M||E?"["+pa.call(b6.call([],M||[],E||[]),": ")+"] ":"");return C.length===0?I+"{}":f?I+"{"+S2(C,f)+"}":I+"{ "+pa.call(C,", ")+" }"}return String(t)};function xL(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function wpe(e){return Wo.call(String(e),/"/g,"&quot;")}function w2(e){return ys(e)==="[object Array]"&&(!er||!(typeof e=="object"&&er in e))}function Spe(e){return ys(e)==="[object Date]"&&(!er||!(typeof e=="object"&&er in e))}function T6(e){return ys(e)==="[object RegExp]"&&(!er||!(typeof e=="object"&&er in e))}function Cpe(e){return ys(e)==="[object Error]"&&(!er||!(typeof e=="object"&&er in e))}function xpe(e){return ys(e)==="[object String]"&&(!er||!(typeof e=="object"&&er in e))}function Tpe(e){return ys(e)==="[object Number]"&&(!er||!(typeof e=="object"&&er in e))}function Epe(e){return ys(e)==="[object Boolean]"&&(!er||!(typeof e=="object"&&er in e))}function TL(e){if(Ec)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!b2)return!1;try{return b2.call(e),!0}catch{}return!1}function Ape(e){if(!e||typeof e!="object"||!y2)return!1;try{return y2.call(e),!0}catch{}return!1}var Mpe=Object.prototype.hasOwnProperty||function(e){return e in this};function No(e,t){return Mpe.call(e,t)}function ys(e){return vpe.call(e)}function Ipe(e){if(e.name)return e.name;var t=mpe.call(gpe.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function EL(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Ope(e){if(!nm||!e||typeof e!="object")return!1;try{nm.call(e);try{rm.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Ppe(e){if(!ud||!e||typeof e!="object")return!1;try{ud.call(e,ud);try{cd.call(e,cd)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Rpe(e){if(!m6||!e||typeof e!="object")return!1;try{return m6.call(e),!0}catch{}return!1}function Dpe(e){if(!rm||!e||typeof e!="object")return!1;try{rm.call(e);try{nm.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Lpe(e){if(!cd||!e||typeof e!="object")return!1;try{cd.call(e,cd);try{ud.call(e,ud)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function kpe(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function AL(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return AL(qC.call(e,0,t.maxStringLength),t)+r}var i=Wo.call(Wo.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$pe);return xL(i,"single",t)}function $pe(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+ype.call(t.toString(16))}function df(e){return"Object("+e+")"}function m1(e){return e+" { ? }"}function E6(e,t,n,r){var i=r?S2(n,r):pa.call(n,", ");return e+" ("+t+") {"+i+"}"}function Npe(e){for(var t=0;t<e.length;t++)if(EL(e[t],`
`)>=0)return!1;return!0}function Bpe(e,t){var n;if(e.indent==="	")n="	";else if(typeof e.indent=="number"&&e.indent>0)n=pa.call(Array(e.indent+1)," ");else return null;return{base:n,prev:pa.call(Array(t+1),n)}}function S2(e,t){if(e.length===0)return"";var n=`
`+t.prev+t.base;return n+pa.call(e,","+n)+`
`+t.prev}function Yp(e,t){var n=w2(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=No(e,i)?t(e[i],e):""}var a=typeof g1=="function"?g1(e):[],o;if(Ec){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)No(e,l)&&(n&&String(Number(l))===l&&l<e.length||Ec&&o["$"+l]instanceof Symbol||(SL.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if(typeof g1=="function")for(var u=0;u<a.length;u++)CL.call(e,a[u])&&r.push("["+t(a[u])+"]: "+t(e[a[u]],e));return r}var KC=UC,Kc=spe,Fpe=_pe,zpe=KC("%TypeError%"),Zp=KC("%WeakMap%",!0),Xp=KC("%Map%",!0),Vpe=Kc("WeakMap.prototype.get",!0),Hpe=Kc("WeakMap.prototype.set",!0),Wpe=Kc("WeakMap.prototype.has",!0),Upe=Kc("Map.prototype.get",!0),Gpe=Kc("Map.prototype.set",!0),jpe=Kc("Map.prototype.has",!0),YC=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},qpe=function(e,t){var n=YC(e,t);return n&&n.value},Kpe=function(e,t,n){var r=YC(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},Ype=function(e,t){return!!YC(e,t)},Zpe=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new zpe("Side channel does not contain "+Fpe(a))},get:function(a){if(Zp&&a&&(typeof a=="object"||typeof a=="function")){if(t)return Vpe(t,a)}else if(Xp){if(n)return Upe(n,a)}else if(r)return qpe(r,a)},has:function(a){if(Zp&&a&&(typeof a=="object"||typeof a=="function")){if(t)return Wpe(t,a)}else if(Xp){if(n)return jpe(n,a)}else if(r)return Ype(r,a);return!1},set:function(a,o){Zp&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Zp),Hpe(t,a,o)):Xp?(n||(n=new Xp),Gpe(n,a,o)):(r||(r={key:{},next:null}),Kpe(r,a,o))}};return i},Xpe=String.prototype.replace,Qpe=/%20/g,y1={RFC1738:"RFC1738",RFC3986:"RFC3986"},ZC={default:y1.RFC3986,formatters:{RFC1738:function(e){return Xpe.call(e,Qpe,"+")},RFC3986:function(e){return String(e)}},RFC1738:y1.RFC1738,RFC3986:y1.RFC3986},Jpe=ZC,b1=Object.prototype.hasOwnProperty,tl=Array.isArray,aa=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),eve=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(tl(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},ML=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},tve=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(tl(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!b1.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return tl(t)&&!tl(n)&&(i=ML(t,r)),tl(t)&&tl(n)?(n.forEach(function(a,o){if(b1.call(t,o)){var s=t[o];s&&typeof s=="object"&&a&&typeof a=="object"?t[o]=e(s,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var s=n[o];return b1.call(a,o)?a[o]=e(a[o],s,r):a[o]=s,a},i)},nve=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},rve=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},ive=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;++l){var u=o.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===Jpe.RFC1738&&(u===40||u===41)){s+=o.charAt(l);continue}if(u<128){s=s+aa[u];continue}if(u<2048){s=s+(aa[192|u>>6]+aa[128|u&63]);continue}if(u<55296||u>=57344){s=s+(aa[224|u>>12]+aa[128|u>>6&63]+aa[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|o.charCodeAt(l)&1023),s+=aa[240|u>>18]+aa[128|u>>12&63]+aa[128|u>>6&63]+aa[128|u&63]}return s},ave=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],s=Object.keys(o),l=0;l<s.length;++l){var u=s[l],c=o[u];typeof c=="object"&&c!==null&&r.indexOf(c)===-1&&(n.push({obj:o,prop:u}),r.push(c))}return eve(n),t},ove=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},sve=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},lve=function(t,n){return[].concat(t,n)},uve=function(t,n){if(tl(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},IL={arrayToObject:ML,assign:nve,combine:lve,compact:ave,decode:rve,encode:ive,isBuffer:sve,isRegExp:ove,maybeMap:uve,merge:tve},OL=Zpe,cg=IL,fd=ZC,cve=Object.prototype.hasOwnProperty,A6={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Ga=Array.isArray,fve=Array.prototype.push,PL=function(e,t){fve.apply(e,Ga(t)?t:[t])},dve=Date.prototype.toISOString,M6=fd.default,Gn={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:cg.encode,encodeValuesOnly:!1,format:M6,formatter:fd.formatters[M6],indices:!1,serializeDate:function(t){return dve.call(t)},skipNulls:!1,strictNullHandling:!1},hve=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},_1={},pve=function e(t,n,r,i,a,o,s,l,u,c,f,d,h,p,v,m){for(var g=t,y=m,_=0,b=!1;(y=y.get(_1))!==void 0&&!b;){var S=y.get(t);if(_+=1,typeof S<"u"){if(S===_)throw new RangeError("Cyclic object value");b=!0}typeof y.get(_1)>"u"&&(_=0)}if(typeof l=="function"?g=l(n,g):g instanceof Date?g=f(g):r==="comma"&&Ga(g)&&(g=cg.maybeMap(g,function(k){return k instanceof Date?f(k):k})),g===null){if(a)return s&&!p?s(n,Gn.encoder,v,"key",d):n;g=""}if(hve(g)||cg.isBuffer(g)){if(s){var w=p?n:s(n,Gn.encoder,v,"key",d);return[h(w)+"="+h(s(g,Gn.encoder,v,"value",d))]}return[h(n)+"="+h(String(g))]}var C=[];if(typeof g>"u")return C;var T;if(r==="comma"&&Ga(g))p&&s&&(g=cg.maybeMap(g,s)),T=[{value:g.length>0?g.join(",")||null:void 0}];else if(Ga(l))T=l;else{var E=Object.keys(g);T=u?E.sort(u):E}for(var M=i&&Ga(g)&&g.length===1?n+"[]":n,A=0;A<T.length;++A){var I=T[A],O=typeof I=="object"&&typeof I.value<"u"?I.value:g[I];if(!(o&&O===null)){var D=Ga(g)?typeof r=="function"?r(M,I):M:M+(c?"."+I:"["+I+"]");m.set(t,_);var F=OL();F.set(_1,m),PL(C,e(O,D,r,i,a,o,r==="comma"&&p&&Ga(g)?null:s,l,u,c,f,d,h,p,v,F))}}return C},vve=function(t){if(!t)return Gn;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Gn.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=fd.default;if(typeof t.format<"u"){if(!cve.call(fd.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=fd.formatters[r],a=Gn.filter;return(typeof t.filter=="function"||Ga(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Gn.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Gn.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Gn.charsetSentinel,delimiter:typeof t.delimiter>"u"?Gn.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Gn.encode,encoder:typeof t.encoder=="function"?t.encoder:Gn.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Gn.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Gn.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Gn.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Gn.strictNullHandling}},gve=function(e,t){var n=e,r=vve(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Ga(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var s;t&&t.arrayFormat in A6?s=t.arrayFormat:t&&"indices"in t?s=t.indices?"indices":"repeat":s="indices";var l=A6[s];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var c=OL(),f=0;f<i.length;++f){var d=i[f];r.skipNulls&&n[d]===null||PL(o,pve(n[d],d,l,u,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,c))}var h=o.join(r.delimiter),p=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),h.length>0?p+h:""},Ac=IL,C2=Object.prototype.hasOwnProperty,mve=Array.isArray,On={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ac.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},yve=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},RL=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},bve="utf8=%26%2310003%3B",_ve="utf8=%E2%9C%93",wve=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),s=-1,l,u=n.charset;if(n.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===_ve?u="utf-8":o[l]===bve&&(u="iso-8859-1"),s=l,l=o.length);for(l=0;l<o.length;++l)if(l!==s){var c=o[l],f=c.indexOf("]="),d=f===-1?c.indexOf("="):f+1,h,p;d===-1?(h=n.decoder(c,On.decoder,u,"key"),p=n.strictNullHandling?null:""):(h=n.decoder(c.slice(0,d),On.decoder,u,"key"),p=Ac.maybeMap(RL(c.slice(d+1),n),function(v){return n.decoder(v,On.decoder,u,"value")})),p&&n.interpretNumericEntities&&u==="iso-8859-1"&&(p=yve(p)),c.indexOf("[]=")>-1&&(p=mve(p)?[p]:p),C2.call(r,h)?r[h]=Ac.combine(r[h],p):r[h]=p}return r},Sve=function(e,t,n,r){for(var i=r?t:RL(t,n),a=e.length-1;a>=0;--a){var o,s=e[a];if(s==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,u=parseInt(l,10);!n.parseArrays&&l===""?o={0:i}:!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(o=[],o[u]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},Cve=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(a),u=l?a.slice(0,l.index):a,c=[];if(u){if(!r.plainObjects&&C2.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var f=0;r.depth>0&&(l=s.exec(a))!==null&&f<r.depth;){if(f+=1,!r.plainObjects&&C2.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+a.slice(l.index)+"]"),Sve(c,n,r,i)}},xve=function(t){if(!t)return On;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?On.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?On.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:On.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:On.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:On.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:On.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:On.comma,decoder:typeof t.decoder=="function"?t.decoder:On.decoder,delimiter:typeof t.delimiter=="string"||Ac.isRegExp(t.delimiter)?t.delimiter:On.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:On.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:On.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:On.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:On.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:On.strictNullHandling}},Tve=function(e,t){var n=xve(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?wve(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var s=a[o],l=Cve(s,r[s],n,typeof e=="string");i=Ac.merge(i,l,n)}return n.allowSparse===!0?i:Ac.compact(i)},Eve=gve,Ave=Tve,Mve=ZC,Ive={formats:Mve,parse:Ave,stringify:Eve},DL={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
 * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(Ire,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(p){var v,m;for(v in p)m=p[v],m!==void 0&&p.hasOwnProperty(v)&&(r[v]=m);return this},n.status=null,n.set=function(p){var v=n.isStarted();p=i(p,r.minimum,1),n.status=p===1?null:p;var m=n.render(!v),g=m.querySelector(r.barSelector),y=r.speed,_=r.easing;return m.offsetWidth,s(function(b){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(g,o(p,y,_)),p===1?(l(m,{transition:"none",opacity:1}),m.offsetWidth,setTimeout(function(){l(m,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){n.remove(),b()},y)},y)):setTimeout(b,y)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){n.status&&(n.trickle(),p())},r.trickleSpeed)};return r.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var v=n.status;return v?(typeof p!="number"&&(p=(1-v)*i(Math.random()*v,.1,.95)),v=i(v+p,0,.994),n.set(v)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var p=0,v=0;n.promise=function(m){return!m||m.state()==="resolved"?this:(v===0&&n.start(),p++,v++,m.always(function(){v--,v===0?(p=0,n.done()):n.set((p-v)/p)}),this)}}(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var v=document.createElement("div");v.id="nprogress",v.innerHTML=r.template;var m=v.querySelector(r.barSelector),g=p?"-100":a(n.status||0),y=document.querySelector(r.parent),_;return l(m,{transition:"all 0 linear",transform:"translate3d("+g+"%,0,0)"}),r.showSpinner||(_=v.querySelector(r.spinnerSelector),_&&h(_)),y!=document.body&&c(y,"nprogress-custom-parent"),y.appendChild(v),v},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&h(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,v="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return v+"Perspective"in p?"translate3d":v+"Transform"in p?"translate":"margin"};function i(p,v,m){return p<v?v:p>m?m:p}function a(p){return(-1+p)*100}function o(p,v,m){var g;return r.positionUsing==="translate3d"?g={transform:"translate3d("+a(p)+"%,0,0)"}:r.positionUsing==="translate"?g={transform:"translate("+a(p)+"%,0)"}:g={"margin-left":a(p)+"%"},g.transition="all "+v+"ms "+m,g}var s=function(){var p=[];function v(){var m=p.shift();m&&m(v)}return function(m){p.push(m),p.length==1&&v()}}(),l=function(){var p=["Webkit","O","Moz","ms"],v={};function m(b){return b.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,w){return w.toUpperCase()})}function g(b){var S=document.body.style;if(b in S)return b;for(var w=p.length,C=b.charAt(0).toUpperCase()+b.slice(1),T;w--;)if(T=p[w]+C,T in S)return T;return b}function y(b){return b=m(b),v[b]||(v[b]=g(b))}function _(b,S,w){S=y(S),b.style[S]=w}return function(b,S){var w=arguments,C,T;if(w.length==2)for(C in S)T=S[C],T!==void 0&&S.hasOwnProperty(C)&&_(b,C,T);else _(b,w[1],w[2])}}();function u(p,v){var m=typeof p=="string"?p:d(p);return m.indexOf(" "+v+" ")>=0}function c(p,v){var m=d(p),g=m+v;u(m,v)||(p.className=g.substring(1))}function f(p,v){var m=d(p),g;u(p,v)&&(g=m.replace(" "+v+" "," "),p.className=g.substring(1,g.length-1))}function d(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function h(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})})(DL);var Ove=DL.exports;const bl=xC(Ove);bl.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});/*! js-cookie v3.0.5 | MIT */function Qp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Pve={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function x2(e,t){function n(i,a,o){if(!(typeof document>"u")){o=Qp({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in o)o[l]&&(s+="; "+l,o[l]!==!0&&(s+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+s}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},s=0;s<a.length;s++){var l=a[s].split("="),u=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(o[c]=e.read(u,c),i===c)break}catch{}}return i?o[i]:o}}return Object.create({set:n,get:r,remove:function(i,a){n(i,"",Qp({},a,{expires:-1}))},withAttributes:function(i){return x2(this.converter,Qp({},this.attributes,i))},withConverter:function(i){return x2(Qp({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var T2=x2(Pve,{path:"/"});function Rve(){return LL().__VUE_DEVTOOLS_GLOBAL_HOOK__}function LL(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Dve=typeof Proxy=="function",Lve="devtools-plugin:setup",kve="plugin:settings:set";let vu,E2;function $ve(){var e;return vu!==void 0||(typeof window<"u"&&window.performance?(vu=!0,E2=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(vu=!0,E2=global.perf_hooks.performance):vu=!1),vu}function Nve(){return $ve()?E2.now():Date.now()}class Bve{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const o in t.settings){const s=t.settings[o];r[o]=s.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const o=localStorage.getItem(i),s=JSON.parse(o);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(o){try{localStorage.setItem(i,JSON.stringify(o))}catch{}a=o},now(){return Nve()}},n&&n.on(kve,(o,s)=>{o===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(o,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:s,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Fve(e,t){const n=e,r=LL(),i=Rve(),a=Dve&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))i.emit(Lve,e,t);else{const o=a?new Bve(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
  * pinia v2.1.4
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */let kL;const B0=e=>kL=e,$L=Symbol();function A2(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var dd;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(dd||(dd={}));function zve(){const e=Km(!0),t=e.run(()=>N({}));let n=[],r=[];const i=Nh({install(a){B0(i),i._a=a,a.provide($L,i),a.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(a){return!this._a&&!RW?r.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const NL=()=>{};function I6(e,t,n,r=NL){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),r())};return!n&&Lh()&&kh(i),i}function gu(e,...t){e.slice().forEach(n=>{n(...t)})}const Vve=e=>e();function M2(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],i=e[n];A2(i)&&A2(r)&&e.hasOwnProperty(n)&&!It(r)&&!Sa(r)?e[n]=M2(i,r):e[n]=r}return e}const Hve=Symbol();function Wve(e){return!A2(e)||!e.hasOwnProperty(Hve)}const{assign:Do}=Object;function Uve(e){return!!(It(e)&&e.effect)}function Gve(e,t,n,r){const{state:i,actions:a,getters:o}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=Ci(n.state.value[e]);return Do(c,a,Object.keys(o||{}).reduce((f,d)=>(f[d]=Nh(P(()=>{B0(n);const h=n._s.get(e);return o[d].call(h,h)})),f),{}))}return l=BL(e,u,t,n,r,!0),l}function BL(e,t,n={},r,i,a){let o;const s=Do({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const p=r.state.value[e];!a&&!p&&(r.state.value[e]={}),N({});let v;function m(T){let E;u=c=!1,typeof T=="function"?(T(r.state.value[e]),E={type:dd.patchFunction,storeId:e,events:h}):(M2(r.state.value[e],T),E={type:dd.patchObject,payload:T,storeId:e,events:h});const M=v=Symbol();Ke().then(()=>{v===M&&(u=!0)}),c=!0,gu(f,E,r.state.value[e])}const g=a?function(){const{state:E}=n,M=E?E():{};this.$patch(A=>{Do(A,M)})}:NL;function y(){o.stop(),f=[],d=[],r._s.delete(e)}function _(T,E){return function(){B0(r);const M=Array.from(arguments),A=[],I=[];function O(k){A.push(k)}function D(k){I.push(k)}gu(d,{args:M,name:T,store:S,after:O,onError:D});let F;try{F=E.apply(this&&this.$id===e?this:S,M)}catch(k){throw gu(I,k),k}return F instanceof Promise?F.then(k=>(gu(A,k),k)).catch(k=>(gu(I,k),Promise.reject(k))):(gu(A,F),F)}}const b={_p:r,$id:e,$onAction:I6.bind(null,d),$patch:m,$reset:g,$subscribe(T,E={}){const M=I6(f,T,E.detached,()=>A()),A=o.run(()=>ce(()=>r.state.value[e],I=>{(E.flush==="sync"?c:u)&&T({storeId:e,type:dd.direct,events:h},I)},Do({},l,E)));return M},$dispose:y},S=Qt(b);r._s.set(e,S);const w=r._a&&r._a.runWithContext||Vve,C=r._e.run(()=>(o=Km(),w(()=>o.run(t))));for(const T in C){const E=C[T];if(It(E)&&!Uve(E)||Sa(E))a||(p&&Wve(E)&&(It(E)?E.value=p[T]:M2(E,p[T])),r.state.value[e][T]=E);else if(typeof E=="function"){const M=_(T,E);C[T]=M,s.actions[T]=E}}return Do(S,C),Do(rt(S),C),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:T=>{m(E=>{Do(E,T)})}}),r._p.forEach(T=>{Do(S,o.run(()=>T({store:S,app:r._a,pinia:r,options:s})))}),p&&a&&n.hydrate&&n.hydrate(S.$state,p),u=!0,c=!0,S}function XC(e,t,n){let r,i;const a=typeof t=="function";typeof e=="string"?(r=e,i=a?n:t):(i=e,r=e.id);function o(s,l){const u=hP();return s=s||(u?Se($L,null):null),s&&B0(s),s=kL,s._s.has(r)||(a?BL(r,t,i,s):Gve(r,i,s)),s._s.get(r)}return o.$id=r,o}function jOe(e){{e=rt(e);const t={};for(const n in e){const r=e[n];(It(r)||Sa(r))&&(t[n]=pn(e,n))}return t}}const F0=zve();function jve(e){e.use(F0)}const{VITE_HIDE_HOME:qve}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"./",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_BASE_URL:".",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1},QC=qve==="false"?[{path:"/welcome",meta:{title:"首页",icon:"homeFilled"}}]:[],Kve="modulepreload",Yve=function(e,t){return new URL(e,t).href},O6={},zt=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=Yve(a,r),a in O6)return;O6[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const f=i[c];if(f.href===a&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Kve,o||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},Zve={path:"/error",redirect:"/error/403",meta:{icon:"informationLine",title:"异常页面",showLink:!1,rank:9},children:[{path:"/error/403",name:"403",component:()=>zt(()=>import("./403-1748b4aa.js"),[],import.meta.url),meta:{title:"403"}},{path:"/error/404",name:"404",component:()=>zt(()=>import("./404-e7df62c2.js"),[],import.meta.url),meta:{title:"404"}},{path:"/error/500",name:"500",component:()=>zt(()=>import("./500-d170aff0.js"),[],import.meta.url),meta:{title:"500"}}]},Xve=Object.freeze(Object.defineProperty({__proto__:null,default:Zve},Symbol.toStringTag,{value:"Module"})),{VITE_HIDE_HOME:Qve}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"./",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_BASE_URL:".",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1},Jve=()=>zt(()=>import("./index-c54c197b.js"),["./index-c54c197b.js","./dark-2f78cd7b.js","./app-803627bb.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","./fun-3edebd8d.js","..\\css\\index-0df0e7bf.css"],import.meta.url),ege={path:"/",name:"Home",component:Jve,redirect:"/welcome",meta:{icon:"homeFilled",title:"首页",rank:0},children:[{path:"/welcome",name:"Welcome",component:()=>zt(()=>import("./index-77a971e1.js"),["./index-77a971e1.js","./Pie.vue_vue_type_script_setup_true_lang-3d154c5f.js","./app-803627bb.js","./fun-3edebd8d.js","./Line.vue_vue_type_script_setup_true_lang-dc4534b9.js","./index-296c76cc.js","..\\css\\index-a24d3715.css"],import.meta.url),meta:{title:"首页",showLink:Qve!=="true"}}]},tge=Object.freeze(Object.defineProperty({__proto__:null,default:ege},Symbol.toStringTag,{value:"Module"}));let im={};const{VITE_PUBLIC_PATH:nge}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"./",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_BASE_URL:".",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1},rge=e=>{im=Object.assign(im,e)},np=e=>{if(typeof e=="string"){const t=e.split(".");if(t&&t.length){let n=im;return t.forEach(r=>{n&&typeof n[r]<"u"?n=n[r]:n=null}),n}}return im},ige=async e=>(e.config.globalProperties.$config=np(),m2({method:"get",url:`${nge}serverConfig.json`}).then(({data:t})=>{let n=e.config.globalProperties.$config;return e&&n&&typeof t=="object"&&(n=Object.assign(n,t),e.config.globalProperties.$config=n,rge(n)),n}).catch(()=>{throw"请在public文件夹下添加serverConfig.json配置文件"})),Ks=()=>np().ResponsiveStorageNameSpace,age=XC({id:"pure-multiTags",state:()=>{var e,t;return{multiTags:(e=hu().getItem(`${Ks()}configure`))!=null&&e.multiTagsCache?hu().getItem(`${Ks()}tags`):[...QC],multiTagsCache:(t=hu().getItem(`${Ks()}configure`))==null?void 0:t.multiTagsCache}},getters:{getMultiTagsCache(e){return e.multiTagsCache}},actions:{multiTagsCacheChange(e){this.multiTagsCache=e,e?hu().setItem(`${Ks()}tags`,this.multiTags):hu().removeItem(`${Ks()}tags`)},tagsCache(e){this.getMultiTagsCache&&hu().setItem(`${Ks()}tags`,e)},handleTags(e,t,n){var r,i,a,o,s;switch(e){case"equal":this.multiTags=t,this.tagsCache(this.multiTags);break;case"push":{const l=t;if((r=l==null?void 0:l.meta)!=null&&r.hiddenTag||qD(l==null?void 0:l.name)||((i=l==null?void 0:l.meta)==null?void 0:i.title.length)===0||Rfe((a=l==null?void 0:l.meta)==null?void 0:a.showLink)&&!((o=l==null?void 0:l.meta)!=null&&o.showLink))return;const u=l.path,c=this.multiTags.some(p=>p.path===u),f=this.multiTags.some(p=>c2(p==null?void 0:p.query,l==null?void 0:l.query)),d=this.multiTags.some(p=>c2(p==null?void 0:p.params,l==null?void 0:l.params));if(c&&f&&d)return;const h=((s=l==null?void 0:l.meta)==null?void 0:s.dynamicLevel)??-1;if(h>0&&this.multiTags.filter(p=>(p==null?void 0:p.path)===u).length>=h){const p=this.multiTags.findIndex(v=>(v==null?void 0:v.path)===u);p!==-1&&this.multiTags.splice(p,1)}this.multiTags.push(t),this.tagsCache(this.multiTags)}break;case"splice":if(n)this.multiTags.splice(n==null?void 0:n.startIndex,n==null?void 0:n.length);else{const l=this.multiTags.findIndex(u=>u.path===t);if(l===-1)return;this.multiTags.splice(l,1)}return this.tagsCache(this.multiTags),this.multiTags;case"slice":return this.multiTags.slice(-1)}}}});function nc(){return age(F0)}/*!
  * vue-router v4.2.2
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const Fu=typeof window<"u";function oge(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Bt=Object.assign;function w1(e,t){const n={};for(const r in t){const i=t[r];n[r]=Ki(i)?i.map(e):e(i)}return n}const hd=()=>{},Ki=Array.isArray,sge=/\/$/,lge=e=>e.replace(sge,"");function S1(e,t,n="/"){let r,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=dge(r??t,n),{fullPath:r+(a&&"?")+a+o,path:r,query:i,hash:o}}function uge(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function P6(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cge(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Mc(t.matched[r],n.matched[i])&&FL(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Mc(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function FL(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fge(e[n],t[n]))return!1;return!0}function fge(e,t){return Ki(e)?R6(e,t):Ki(t)?R6(t,e):e===t}function R6(e,t){return Ki(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function dge(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==".")if(s==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var ah;(function(e){e.pop="pop",e.push="push"})(ah||(ah={}));var pd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(pd||(pd={}));function hge(e){if(!e)if(Fu){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lge(e)}const pge=/^[^#]+#/;function vge(e,t){return e.replace(pge,"#")+t}function gge(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 z0=()=>({left:window.pageXOffset,top:window.pageYOffset});function mge(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=gge(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function D6(e,t){return(history.state?history.state.position-t:-1)+e}const I2=new Map;function yge(e,t){I2.set(e,t)}function bge(e){const t=I2.get(e);return I2.delete(e),t}let _ge=()=>location.protocol+"//"+location.host;function zL(e,t){const{pathname:n,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),P6(l,"")}return P6(n,e)+r+i}function wge(e,t,n,r){let i=[],a=[],o=null;const s=({state:d})=>{const h=zL(e,location),p=n.value,v=t.value;let m=0;if(d){if(n.value=h,t.value=d,o&&o===p){o=null;return}m=v?d.position-v.position:0}else r(h);i.forEach(g=>{g(n.value,p,{delta:m,type:ah.pop,direction:m?m>0?pd.forward:pd.back:pd.unknown})})};function l(){o=n.value}function u(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return a.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(Bt({},d.state,{scroll:z0()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function L6(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?z0():null}}function Sge(e){const{history:t,location:n}=window,r={value:zL(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:_ge()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),i.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function o(l,u){const c=Bt({},t.state,L6(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),r.value=l}function s(l,u){const c=Bt({},i.value,t.state,{forward:l,scroll:z0()});a(c.current,c,!0);const f=Bt({},L6(r.value,l,null),{position:c.position+1},u);a(l,f,!1),r.value=l}return{location:r,state:i,push:s,replace:o}}function O2(e){e=hge(e);const t=Sge(e),n=wge(e,t.state,t.location,t.replace);function r(a,o=!0){o||n.pauseListeners(),history.go(a)}const i=Bt({location:"",base:e,go:r,createHref:vge.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function k6(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),O2(e)}function Cge(e){return typeof e=="string"||e&&typeof e=="object"}function VL(e){return typeof e=="string"||typeof e=="symbol"}const wo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},HL=Symbol("");var $6;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($6||($6={}));function Ic(e,t){return Bt(new Error,{type:e,[HL]:!0},t)}function $a(e,t){return e instanceof Error&&HL in e&&(t==null||!!(e.type&t))}const N6="[^/]+?",xge={sensitive:!1,strict:!1,start:!0,end:!0},Tge=/[.+*?^${}()[\]/\\]/g;function Ege(e,t){const n=Bt({},xge,t),r=[];let i=n.start?"^":"";const a=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(Tge,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:m,regexp:g}=d;a.push({name:p,repeatable:v,optional:m});const y=g||N6;if(y!==N6){h+=10;try{new RegExp(`(${y})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+b.message)}}let _=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(_=m&&u.length<2?`(?:/${_})`:"/"+_),m&&(_+="?"),i+=_,h+=20,m&&(h+=-8),v&&(h+=-20),y===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function s(u){const c=u.match(o),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",p=a[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===0)c+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:m}=h,g=p in u?u[p]:"";if(Ki(g)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Ki(g)?g.join("/"):g;if(!y)if(m)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);c+=y}}return c||"/"}return{re:o,score:r,keys:a,parse:s,stringify:l}}function Age(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Mge(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const a=Age(r[n],i[n]);if(a)return a;n++}if(Math.abs(i.length-r.length)===1){if(B6(r))return 1;if(B6(i))return-1}return i.length-r.length}function B6(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ige={type:0,value:""},Oge=/[a-zA-Z0-9_]/;function Pge(e){if(!e)return[[]];if(e==="/")return[[Ige]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const i=[];let a;function o(){a&&i.push(a),a=[]}let s=0,l,u="",c="";function f(){u&&(n===0?a.push({type:0,value:u}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Oge.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),i}function Rge(e,t,n){const r=Ege(Pge(e.path),n),i=Bt(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Dge(e,t){const n=[],r=new Map;t=V6({strict:!1,end:!0,sensitive:!1},t);function i(c){return r.get(c)}function a(c,f,d){const h=!d,p=Lge(c);p.aliasOf=d&&d.record;const v=V6(t,c),m=[p];if("alias"in c){const _=typeof c.alias=="string"?[c.alias]:c.alias;for(const b of _)m.push(Bt({},p,{components:d?d.record.components:p.components,path:b,aliasOf:d?d.record:p}))}let g,y;for(const _ of m){const{path:b}=_;if(f&&b[0]!=="/"){const S=f.record.path,w=S[S.length-1]==="/"?"":"/";_.path=f.record.path+(b&&w+b)}if(g=Rge(_,f,v),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&c.name&&!z6(g)&&o(c.name)),p.children){const S=p.children;for(let w=0;w<S.length;w++)a(S[w],g,d&&d.children[w])}d=d||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&l(g)}return y?()=>{o(y)}:hd}function o(c){if(VL(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function s(){return n}function l(c){let f=0;for(;f<n.length&&Mge(c,n[f])>=0&&(c.record.path!==n[f].record.path||!WL(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!z6(c)&&r.set(c.record.name,c)}function u(c,f){let d,h={},p,v;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw Ic(1,{location:c});v=d.record.name,h=Bt(F6(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&F6(c.params,d.keys.map(y=>y.name))),p=d.stringify(h)}else if("path"in c)p=c.path,d=n.find(y=>y.re.test(p)),d&&(h=d.parse(p),v=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw Ic(1,{location:c,currentLocation:f});v=d.record.name,h=Bt({},f.params,c.params),p=d.stringify(h)}const m=[];let g=d;for(;g;)m.unshift(g.record),g=g.parent;return{name:v,path:p,params:h,matched:m,meta:$ge(m)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function F6(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Lge(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:kge(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function kge(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function z6(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $ge(e){return e.reduce((t,n)=>Bt(t,n.meta),{})}function V6(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function WL(e,t){return t.children.some(n=>n===e||WL(e,n))}const UL=/#/g,Nge=/&/g,Bge=/\//g,Fge=/=/g,zge=/\?/g,GL=/\+/g,Vge=/%5B/g,Hge=/%5D/g,jL=/%5E/g,Wge=/%60/g,qL=/%7B/g,Uge=/%7C/g,KL=/%7D/g,Gge=/%20/g;function JC(e){return encodeURI(""+e).replace(Uge,"|").replace(Vge,"[").replace(Hge,"]")}function jge(e){return JC(e).replace(qL,"{").replace(KL,"}").replace(jL,"^")}function P2(e){return JC(e).replace(GL,"%2B").replace(Gge,"+").replace(UL,"%23").replace(Nge,"%26").replace(Wge,"`").replace(qL,"{").replace(KL,"}").replace(jL,"^")}function qge(e){return P2(e).replace(Fge,"%3D")}function Kge(e){return JC(e).replace(UL,"%23").replace(zge,"%3F")}function Yge(e){return e==null?"":Kge(e).replace(Bge,"%2F")}function am(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Zge(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const a=r[i].replace(GL," "),o=a.indexOf("="),s=am(o<0?a:a.slice(0,o)),l=o<0?null:am(a.slice(o+1));if(s in t){let u=t[s];Ki(u)||(u=t[s]=[u]),u.push(l)}else t[s]=l}return t}function H6(e){let t="";for(let n in e){const r=e[n];if(n=qge(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ki(r)?r.map(a=>a&&P2(a)):[r&&P2(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Xge(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ki(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Qge=Symbol(""),W6=Symbol(""),V0=Symbol(""),e5=Symbol(""),R2=Symbol("");function hf(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Bo(e,t,n,r,i){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=f=>{f===!1?s(Ic(4,{from:n,to:t})):f instanceof Error?s(f):Cge(f)?s(Ic(2,{from:t,to:f})):(a&&r.enterCallbacks[i]===a&&typeof f=="function"&&a.push(f),o())},u=e.call(r&&r.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(f=>s(f))})}function C1(e,t,n,r){const i=[];for(const a of e)for(const o in a.components){let s=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(Jge(s)){const u=(s.__vccOpts||s)[t];u&&i.push(Bo(u,n,r,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const c=oge(u)?u.default:u;a.components[o]=c;const d=(c.__vccOpts||c)[t];return d&&Bo(d,n,r,a,o)()}))}}return i}function Jge(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function U6(e){const t=Se(V0),n=Se(e5),r=P(()=>t.resolve(x(e.to))),i=P(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Mc.bind(null,c));if(d>-1)return d;const h=G6(l[u-2]);return u>1&&G6(c)===h&&f[f.length-1].path!==h?f.findIndex(Mc.bind(null,l[u-2])):d}),a=P(()=>i.value>-1&&rme(n.params,r.value.params)),o=P(()=>i.value>-1&&i.value===n.matched.length-1&&FL(n.params,r.value.params));function s(l={}){return nme(l)?t[x(e.replace)?"replace":"push"](x(e.to)).catch(hd):Promise.resolve()}return{route:r,href:P(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}const eme=j({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:U6,setup(e,{slots:t}){const n=Qt(U6(e)),{options:r}=Se(V0),i=P(()=>({[j6(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[j6(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:be("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),tme=eme;function nme(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function rme(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Ki(i)||i.length!==r.length||r.some((a,o)=>a!==i[o]))return!1}return!0}function G6(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const j6=(e,t,n)=>e??t??n,ime=j({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Se(R2),i=P(()=>e.route||r.value),a=Se(W6,0),o=P(()=>{let u=x(a);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=P(()=>i.value.matched[o.value]);_t(W6,P(()=>o.value+1)),_t(Qge,s),_t(R2,i);const l=N();return ce(()=>[l.value,s.value,e.name],([u,c,f],[d,h,p])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Mc(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=s.value,d=f&&f.components[c];if(!d)return q6(n.default,{Component:d,route:u});const h=f.props[c],p=h?h===!0?u.params:typeof h=="function"?h(u):h:null,m=be(d,Bt({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return q6(n.default,{Component:m,route:u})||m}}});function q6(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ame=ime;function ome(e){const t=Dge(e.routes,e),n=e.parseQuery||Zge,r=e.stringifyQuery||H6,i=e.history,a=hf(),o=hf(),s=hf(),l=di(wo);let u=wo;Fu&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=w1.bind(null,W=>""+W),f=w1.bind(null,Yge),d=w1.bind(null,am);function h(W,Z){let J,ue;return VL(W)?(J=t.getRecordMatcher(W),ue=Z):ue=W,t.addRoute(ue,J)}function p(W){const Z=t.getRecordMatcher(W);Z&&t.removeRoute(Z)}function v(){return t.getRoutes().map(W=>W.record)}function m(W){return!!t.getRecordMatcher(W)}function g(W,Z){if(Z=Bt({},Z||l.value),typeof W=="string"){const G=S1(n,W,Z.path),Q=t.resolve({path:G.path},Z),te=i.createHref(G.fullPath);return Bt(G,Q,{params:d(Q.params),hash:am(G.hash),redirectedFrom:void 0,href:te})}let J;if("path"in W)J=Bt({},W,{path:S1(n,W.path,Z.path).path});else{const G=Bt({},W.params);for(const Q in G)G[Q]==null&&delete G[Q];J=Bt({},W,{params:f(G)}),Z.params=f(Z.params)}const ue=t.resolve(J,Z),pe=W.hash||"";ue.params=c(d(ue.params));const L=uge(r,Bt({},W,{hash:jge(pe),path:ue.path})),B=i.createHref(L);return Bt({fullPath:L,hash:pe,query:r===H6?Xge(W.query):W.query||{}},ue,{redirectedFrom:void 0,href:B})}function y(W){return typeof W=="string"?S1(n,W,l.value.path):Bt({},W)}function _(W,Z){if(u!==W)return Ic(8,{from:Z,to:W})}function b(W){return C(W)}function S(W){return b(Bt(y(W),{replace:!0}))}function w(W){const Z=W.matched[W.matched.length-1];if(Z&&Z.redirect){const{redirect:J}=Z;let ue=typeof J=="function"?J(W):J;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=y(ue):{path:ue},ue.params={}),Bt({query:W.query,hash:W.hash,params:"path"in ue?{}:W.params},ue)}}function C(W,Z){const J=u=g(W),ue=l.value,pe=W.state,L=W.force,B=W.replace===!0,G=w(J);if(G)return C(Bt(y(G),{state:typeof G=="object"?Bt({},pe,G.state):pe,force:L,replace:B}),Z||J);const Q=J;Q.redirectedFrom=Z;let te;return!L&&cge(r,ue,J)&&(te=Ic(16,{to:Q,from:ue}),ae(ue,ue,!0,!1)),(te?Promise.resolve(te):M(Q,ue)).catch(se=>$a(se)?$a(se,2)?se:q(se):V(se,Q,ue)).then(se=>{if(se){if($a(se,2))return C(Bt({replace:B},y(se.to),{state:typeof se.to=="object"?Bt({},pe,se.to.state):pe,force:L}),Z||Q)}else se=I(Q,ue,!0,B,pe);return A(Q,ue,se),se})}function T(W,Z){const J=_(W,Z);return J?Promise.reject(J):Promise.resolve()}function E(W){const Z=Ae.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(W):W()}function M(W,Z){let J;const[ue,pe,L]=sme(W,Z);J=C1(ue.reverse(),"beforeRouteLeave",W,Z);for(const G of ue)G.leaveGuards.forEach(Q=>{J.push(Bo(Q,W,Z))});const B=T.bind(null,W,Z);return J.push(B),De(J).then(()=>{J=[];for(const G of a.list())J.push(Bo(G,W,Z));return J.push(B),De(J)}).then(()=>{J=C1(pe,"beforeRouteUpdate",W,Z);for(const G of pe)G.updateGuards.forEach(Q=>{J.push(Bo(Q,W,Z))});return J.push(B),De(J)}).then(()=>{J=[];for(const G of W.matched)if(G.beforeEnter&&!Z.matched.includes(G))if(Ki(G.beforeEnter))for(const Q of G.beforeEnter)J.push(Bo(Q,W,Z));else J.push(Bo(G.beforeEnter,W,Z));return J.push(B),De(J)}).then(()=>(W.matched.forEach(G=>G.enterCallbacks={}),J=C1(L,"beforeRouteEnter",W,Z),J.push(B),De(J))).then(()=>{J=[];for(const G of o.list())J.push(Bo(G,W,Z));return J.push(B),De(J)}).catch(G=>$a(G,8)?G:Promise.reject(G))}function A(W,Z,J){for(const ue of s.list())E(()=>ue(W,Z,J))}function I(W,Z,J,ue,pe){const L=_(W,Z);if(L)return L;const B=Z===wo,G=Fu?history.state:{};J&&(ue||B?i.replace(W.fullPath,Bt({scroll:B&&G&&G.scroll},pe)):i.push(W.fullPath,pe)),l.value=W,ae(W,Z,J,B),q()}let O;function D(){O||(O=i.listen((W,Z,J)=>{if(!Ve.listening)return;const ue=g(W),pe=w(ue);if(pe){C(Bt(pe,{replace:!0}),ue).catch(hd);return}u=ue;const L=l.value;Fu&&yge(D6(L.fullPath,J.delta),z0()),M(ue,L).catch(B=>$a(B,12)?B:$a(B,2)?(C(B.to,ue).then(G=>{$a(G,20)&&!J.delta&&J.type===ah.pop&&i.go(-1,!1)}).catch(hd),Promise.reject()):(J.delta&&i.go(-J.delta,!1),V(B,ue,L))).then(B=>{B=B||I(ue,L,!1),B&&(J.delta&&!$a(B,8)?i.go(-J.delta,!1):J.type===ah.pop&&$a(B,20)&&i.go(-1,!1)),A(ue,L,B)}).catch(hd)}))}let F=hf(),k=hf(),H;function V(W,Z,J){q(W);const ue=k.list();return ue.length?ue.forEach(pe=>pe(W,Z,J)):console.error(W),Promise.reject(W)}function z(){return H&&l.value!==wo?Promise.resolve():new Promise((W,Z)=>{F.add([W,Z])})}function q(W){return H||(H=!W,D(),F.list().forEach(([Z,J])=>W?J(W):Z()),F.reset()),W}function ae(W,Z,J,ue){const{scrollBehavior:pe}=e;if(!Fu||!pe)return Promise.resolve();const L=!J&&bge(D6(W.fullPath,0))||(ue||!J)&&history.state&&history.state.scroll||null;return Ke().then(()=>pe(W,Z,L)).then(B=>B&&mge(B)).catch(B=>V(B,W,Z))}const oe=W=>i.go(W);let xe;const Ae=new Set,Ve={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:v,resolve:g,options:e,push:b,replace:S,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:k.add,isReady:z,install(W){const Z=this;W.component("RouterLink",tme),W.component("RouterView",ame),W.config.globalProperties.$router=Z,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>x(l)}),Fu&&!xe&&l.value===wo&&(xe=!0,b(i.location).catch(pe=>{}));const J={};for(const pe in wo)J[pe]=P(()=>l.value[pe]);W.provide(V0,Z),W.provide(e5,Qt(J)),W.provide(R2,l);const ue=W.unmount;Ae.add(W),W.unmount=function(){Ae.delete(W),Ae.size<1&&(u=wo,O&&O(),O=null,l.value=wo,xe=!1,H=!1),ue()}}};function De(W){return W.reduce((Z,J)=>Z.then(()=>E(J)),Promise.resolve())}return Ve}function sme(e,t){const n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){const s=t.matched[o];s&&(e.matched.find(u=>Mc(u,s))?r.push(s):n.push(s));const l=e.matched[o];l&&(t.matched.find(u=>Mc(u,l))||i.push(l))}return[n,r,i]}function qOe(){return Se(V0)}function KOe(){return Se(e5)}const H0=(e,t=[])=>{if(!Array.isArray(e))return console.warn("tree must be an array"),[];if(!e||e.length===0)return[];for(const[n,r]of e.entries())r.id=n,r.parentId=t.length?t[t.length-1]:null,r.pathList=[...t,r.id],r.children&&r.children.length>0&&H0(r.children,r.pathList);return e},K6=()=>[{path:"/page/QuickSettings",meta:{title:"快速设置",icon:"mingcute:settings-2-line",rank:1},children:[{path:"/page/QuickSettings/index",name:"QuickSettings",meta:{title:"快速设置",roles:["admin"]}},{path:"/page/QuickSettings/DataPlan",name:"DataPlan",meta:{title:"流量管理",roles:["admin"]}},{path:"/page/QuickSettings/APN",name:"APN",meta:{title:"APN设置",roles:["admin"]}}]},{path:"/page/connect/sms",meta:{title:"短信列表",icon:"wpf:message-outline",rank:2},children:[{path:"/page/connect/sms",name:"sms",meta:{title:"短信列表",roles:["admin"]}}]},{path:"/page/connect",meta:{title:"WIFI设置",icon:"material-symbols:wifi-proxy-rounded",rank:3},children:[{path:"/page/connect/list",name:"connect",meta:{title:"连接列表",roles:["admin"]}},{path:"/page/connect/index",name:"AdvancedSetting",meta:{title:"Wi-Fi 性能设置",roles:["admin"]}},{path:"/page/connect/route",name:"route",meta:{title:"Wi-Fi 路由设置",roles:["admin"]}},{path:"/page/connect/WifiBand",name:"WifiBand",meta:{title:"Wi-Fi 频段设置",roles:["admin"]}}]},{path:"/page/AdvancedSetting",meta:{title:"高级设置",icon:"icon-park-twotone:setting-web",rank:4},children:[{path:"/page/AdvancedSetting/AT",name:"AT",meta:{title:"AT命令",roles:["admin"]}},{path:"/page/AdvancedSetting/Band",name:"Band",meta:{title:"频段&小区",roles:["admin"]}},{path:"/page/AdvancedSetting/Other",name:"Other",meta:{title:"其他设置",roles:["admin"]}}]}],lme=()=>zt(()=>import("./frameView-15e277ee.js"),["./frameView-15e277ee.js","..\\css\\frameView-1656eb55.css"],import.meta.url),Y6=Object.assign({"/src/views/error/403.vue":()=>zt(()=>import("./403-1748b4aa.js"),[],import.meta.url),"/src/views/error/404.vue":()=>zt(()=>import("./404-e7df62c2.js"),[],import.meta.url),"/src/views/error/500.vue":()=>zt(()=>import("./500-d170aff0.js"),[],import.meta.url),"/src/views/login/index.vue":()=>zt(()=>import("./index-3803e010.js"),["./index-3803e010.js","./dark-2f78cd7b.js","./app-803627bb.js","..\\css\\index-bd5d66cd.css"],import.meta.url),"/src/views/page/AdvancedSetting/AT.vue":()=>zt(()=>import("./AT-8aa8be1f.js"),["./AT-8aa8be1f.js","./index-296c76cc.js","..\\css\\AT-39070a70.css"],import.meta.url),"/src/views/page/AdvancedSetting/Band.vue":()=>zt(()=>import("./Band-cd8112db.js"),["./Band-cd8112db.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","..\\css\\Band-81186931.css"],import.meta.url),"/src/views/page/AdvancedSetting/Other.vue":()=>zt(()=>import("./Other-77d356cb.js"),["./Other-77d356cb.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","..\\css\\Other-e1dc6500.css"],import.meta.url),"/src/views/page/QuickSettings/APN.vue":()=>zt(()=>import("./APN-f88518cb.js"),["./APN-f88518cb.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css"],import.meta.url),"/src/views/page/QuickSettings/DataPlan.vue":()=>zt(()=>import("./DataPlan-520fdf52.js"),["./DataPlan-520fdf52.js","./index-296c76cc.js","./fun-3edebd8d.js","..\\css\\DataPlan-98b7afc6.css"],import.meta.url),"/src/views/page/QuickSettings/iframe.vue":()=>zt(()=>import("./iframe-4052e7f5.js"),["./iframe-4052e7f5.js","..\\css\\iframe-4377ed2d.css"],import.meta.url),"/src/views/page/QuickSettings/index.vue":()=>zt(()=>import("./index-4240c5de.js"),["./index-4240c5de.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","..\\css\\index-5fff44bb.css"],import.meta.url),"/src/views/page/connect/WifiBand.vue":()=>zt(()=>import("./WifiBand-e88f78c8.js"),["./WifiBand-e88f78c8.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","..\\css\\WifiBand-69ff401d.css"],import.meta.url),"/src/views/page/connect/index.vue":()=>zt(()=>import("./index-5bf01742.js"),["./index-5bf01742.js","./index-296c76cc.js","..\\css\\index-eff805fd.css"],import.meta.url),"/src/views/page/connect/list.vue":()=>zt(()=>import("./list-7bc7854f.js"),["./list-7bc7854f.js","./index-296c76cc.js"],import.meta.url),"/src/views/page/connect/route.vue":()=>zt(()=>import("./route-4999269c.js"),["./route-4999269c.js","./index-296c76cc.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","..\\css\\route-10d04913.css"],import.meta.url),"/src/views/page/connect/sms.vue":()=>zt(()=>import("./sms-33fff586.js"),["./sms-33fff586.js","..\\css\\sms-1bc850d0.css"],import.meta.url),"/src/views/welcome/components/Line.vue":()=>zt(()=>import("./Line-a64496a4.js"),["./Line-a64496a4.js","./Line.vue_vue_type_script_setup_true_lang-dc4534b9.js","./app-803627bb.js"],import.meta.url),"/src/views/welcome/components/Pie.vue":()=>zt(()=>import("./Pie-43b5fa14.js"),["./Pie-43b5fa14.js","./Pie.vue_vue_type_script_setup_true_lang-3d154c5f.js","./app-803627bb.js","./fun-3edebd8d.js"],import.meta.url),"/src/views/welcome/index.vue":()=>zt(()=>import("./index-77a971e1.js"),["./index-77a971e1.js","./Pie.vue_vue_type_script_setup_true_lang-3d154c5f.js","./app-803627bb.js","./fun-3edebd8d.js","./Line.vue_vue_type_script_setup_true_lang-dc4534b9.js","./index-296c76cc.js","..\\css\\index-a24d3715.css"],import.meta.url)});function ume(e){const{name:t,path:n,parentId:r,meta:i}=e;return Ho(r)?!!(Ho(i==null?void 0:i.rank)||(i==null?void 0:i.rank)===0&&t!=="Home"&&n!=="/"):!1}function rp(e){return e.forEach((t,n)=>{ume(t)&&(t.meta.rank=n+2)}),e.sort((t,n)=>(t==null?void 0:t.meta.rank)-(n==null?void 0:n.meta.rank))}function t5(e){const t=rh(e).filter(n=>{var r;return((r=n.meta)==null?void 0:r.showLink)!==!1});return t.forEach(n=>n.children&&(n.children=t5(n.children))),t}function cme(e){const t=rh(e).filter(n=>{var r;return((r=n==null?void 0:n.children)==null?void 0:r.length)!==0});return t.forEach(n=>n.children&&(n.children=t5(n.children))),t}function YL(e,t){return Array.isArray(e)&&Array.isArray(t)?Gfe(e,t).length>0:!0}function ZL(e){var r;const t=((r=xa().getItem(_l))==null?void 0:r.roles)??[],n=rh(e).filter(i=>{var a;return YL((a=i.meta)==null?void 0:a.roles,t)});return n.forEach(i=>i.children&&(i.children=ZL(i.children))),cme(n)}function YOe(e,t,n="path"){function r(i,a,o){for(let s=0;s<i.length;s++){const l=i[s];if(l[n]===a)return o;if(!(!l.children||!l.children.length)){if(o.push(l.path),r(l.children,a,o).length)return o;o.pop()}}return[]}return r(t,e,[])}function XL(e,t){let n=t.find(r=>r.path==e);if(n)return Ld(n)?rt(n):n;for(let r=0;r<t.length;r++)if(t[r].children instanceof Array&&t[r].children.length>0&&(n=XL(e,t[r].children),n))return Ld(n)?rt(n):n;return null}function fme(){ln.hasRoute("pathMatch")||ln.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function x1(e){e.length===0||n5(JL(e)).map(t=>{if(ln.options.routes[0].children.findIndex(n=>n.path===t.path)===-1){ln.options.routes[0].children.push(t),rp(ln.options.routes[0].children),ln.hasRoute(t==null?void 0:t.name)||ln.addRoute(t);const n=ln.getRoutes().find(r=>r.path==="/");ln.addRoute(n)}}),ga().handleWholeMenus(e),fme()}function dme(){var e;if((e=np())!=null&&e.CachingAsyncRoutes){const t="async-routes",n=xa().getItem(t);return n&&(n==null?void 0:n.length)>0?new Promise(r=>{x1(n),r(ln)}):new Promise(r=>{var i=K6();x1(rh(i)),xa().setItem(t,i),r(ln)})}else return new Promise(t=>{var n=K6();x1(rh(n)),t(ln)})}function n5(e){if(e.length===0)return e;let t=H0(e);for(let n=0;n<t.length;n++)t[n].children&&(t=t.slice(0,n+1).concat(t[n].children,t.slice(n+1)));return t}function QL(e){if(e.length===0)return e;const t=[];return e.forEach(n=>{var r;n.path==="/"?t.push({component:n.component,name:n.name,path:n.path,redirect:n.redirect,meta:n.meta,children:[]}):(r=t[0])==null||r.children.push({...n})}),t}function Z6({name:e},t){switch(t){case"add":ga().cacheOperate({mode:"add",name:e});break;case"delete":ga().cacheOperate({mode:"delete",name:e});break;case"refresh":ga().cacheOperate({mode:"refresh",name:e});break;default:ga().cacheOperate({mode:"delete",name:e}),ude(()=>{ga().cacheOperate({mode:"add",name:e})},100)}}function JL(e){if(!e||!e.length)return;const t=Object.keys(Y6);return e.forEach(n=>{var r;if(n.meta.backstage=!0,n!=null&&n.children&&n.children.length&&!n.redirect&&(n.redirect=n.children[0].path),n!=null&&n.children&&n.children.length&&!n.name&&(n.name=n.children[0].name+"Parent"),(r=n.meta)!=null&&r.frameSrc)n.component=lme;else{const i=n!=null&&n.component?t.findIndex(a=>a.includes(n.component)):t.findIndex(a=>a.includes(n.path));n.component=Y6[t[i]]}n!=null&&n.children&&n.children.length&&JL(n.children)}),e}function hme(e){const t=e.split(","),n=t[0],r=t[1];if(t.length===1){if(n==="hash")return k6("");if(n==="h5")return O2("")}else if(t.length===2){if(n==="hash")return k6(r);if(n==="h5")return O2(r)}}function pme(){return ln.currentRoute.value.meta.auths}function e9(e){if(!e)return!1;const t=pme();return t?!!(I0(e)?t.includes(e):Ufe(e,t)):!1}function vme(e=!1){var n;const t=(n=ga().wholeMenus[0])==null?void 0:n.children[0];return e&&nc().handleTags("push",t),t}const gme=XC({id:"pure-permission",state:()=>({constantMenus:bme,wholeMenus:[],cachePageList:[]}),actions:{handleWholeMenus(e){this.wholeMenus=ZL(t5(rp(this.constantMenus.concat(e))))},cacheOperate({mode:e,name:t}){const n=this.cachePageList.findIndex(r=>r===t);switch(e){case"refresh":this.cachePageList=this.cachePageList.filter(r=>r!==t);break;case"add":this.cachePageList.push(t);break;case"delete":n!==-1&&this.cachePageList.splice(n,1);break}YD(()=>{let r=this.cachePageList.length;const i=jfe(nc().multiTags,"name");for(;r>0;)i.findIndex(a=>a===this.cachePageList[r-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[r-1]),1),r--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function ga(){return gme(F0)}const mme=()=>zt(()=>import("./index-c54c197b.js"),["./index-c54c197b.js","./dark-2f78cd7b.js","./app-803627bb.js","./el-message-box-ecaf3f80.js","..\\css\\el-message-box-da9bcd95.css","./fun-3edebd8d.js","..\\css\\index-0df0e7bf.css"],import.meta.url),om=[{path:"/login",name:"Login",component:()=>zt(()=>import("./index-3803e010.js"),["./index-3803e010.js","./dark-2f78cd7b.js","./app-803627bb.js","..\\css\\index-bd5d66cd.css"],import.meta.url),meta:{title:"登录",showLink:!1,rank:101}},{path:"/redirect",component:mme,meta:{title:"加载中...",showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>zt(()=>import("./redirect-006b572e.js"),[],import.meta.url)}]}],X6=Object.assign({"./modules/error.ts":Xve,"./modules/home.ts":tge}),W0=[];Object.keys(X6).forEach(e=>{W0.push(X6[e].default)});const yme=QL(n5(H0(rp(W0.flat(1/0))))),bme=rp(W0.flat(1/0)).concat(...om),ZOe=Object.keys(om).map(e=>om[e].path),ln=ome({history:hme("hash"),routes:yme.concat(...om),strict:!0,scrollBehavior(e,t,n){return new Promise(r=>{if(n)return n;if(t.meta.saveSrollTop){const i=document.documentElement.scrollTop||document.body.scrollTop;r({left:0,top:i})}})}});function _me(){ln.getRoutes().forEach(e=>{const{name:t,meta:n}=e;t&&ln.hasRoute(t)&&(n!=null&&n.backstage)&&(ln.removeRoute(t),ln.options.routes=QL(n5(H0(rp(W0.flat(1/0))))))}),ga().clearAllCachePage()}const Q6=["/login"],{VITE_HIDE_HOME:wme}={VITE_PORT:"8848",VITE_HIDE_HOME:"false",VITE_PUBLIC_PATH:"./",VITE_ROUTER_HISTORY:"hash",VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_BASE_URL:".",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};ln.beforeEach((e,t,n)=>{var o,s,l;(o=e.meta)!=null&&o.keepAlive&&(Z6(e,"add"),(t.name===void 0||t.name==="Redirect")&&Z6(e));const r=xa().getItem(_l);bl.start();const i=qD(e==null?void 0:e.name);i||e.matched.some(u=>{if(!u.meta.title)return"";const c=np().Title;c?document.title=`${u.meta.title} | ${c}`:document.title=u.meta.title});function a(){Q6.includes(e.fullPath)?n(t.fullPath):n()}r?((s=e.meta)!=null&&s.roles&&!YL((l=e.meta)==null?void 0:l.roles,r==null?void 0:r.roles)&&n({path:"/error/403"}),wme==="true"&&e.fullPath==="/welcome"&&n({path:"/error/404"}),t!=null&&t.name?i?(Ffe(e==null?void 0:e.name),bl.done()):a():(ga().wholeMenus.length===0&&e.path!=="/login"&&dme().then(u=>{var c,f;if(!nc().getMultiTagsCache){const{path:d}=e,h=XL(d,u.options.routes[0].children);if(vme(!0),h&&((c=h.meta)!=null&&c.title))if(Ho(h.parentId)&&((f=h.meta)!=null&&f.backstage)){const{path:p,name:v,meta:m}=h.children[0];nc().handleTags("push",{path:p,name:v,meta:m})}else{const{path:p,name:v,meta:m}=h;nc().handleTags("push",{path:p,name:v,meta:m})}}Ho(e.name)&&u.push(e.fullPath)}),a())):e.path!=="/login"?Q6.indexOf(e.path)!==-1?n():n({path:"/login"}):n()});ln.afterEach(()=>{bl.done()});const Sme=XC({id:"pure-user",state:()=>{var e,t;return{username:((e=xa().getItem(_l))==null?void 0:e.username)??"",roles:((t=xa().getItem(_l))==null?void 0:t.roles)??[]}},actions:{SET_USERNAME(e){this.username=e},SET_ROLES(e){this.roles=e},async loginByUsername(e){return new Promise((t,n)=>{Eme(e).then(r=>{r.result=="0"&&t9(n9()),r&&t(r)}).catch(r=>{n(r)})})},logOut(){Ame().then(e=>{this.username="",this.roles=[],Cme(),nc().handleTags("equal",[...QC]),_me(),ln.push("/login")})}}});function D2(){return Sme(F0)}const _l="user-info",L2="authorized-token";function t9(e){var o,s;let t=0;const{accessToken:n,refreshToken:r}=e;t=new Date(e.expires).getTime();const i=JSON.stringify({accessToken:n,expires:t});t>0?T2.set(L2,i,{expires:(t-Date.now())/864e5}):T2.set(L2,i);function a(l,u){D2().SET_USERNAME(l),D2().SET_ROLES(u),xa().setItem(_l,{refreshToken:r,expires:t,username:l,roles:u})}if(e.username&&e.roles){const{username:l,roles:u}=e;a(l,u)}else{const l=((o=xa().getItem(_l))==null?void 0:o.username)??"",u=((s=xa().getItem(_l))==null?void 0:s.roles)??[];a(l,u)}}function Cme(){T2.remove(L2),sessionStorage.clear()}const xme=e=>"Bearer "+e,Tme={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:Ive.stringify}},da=class{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(t){return new Promise(n=>{da.requests.push(r=>{t.headers.Authorization=xme(r),n(t)})})}httpInterceptorsRequest(){da.axiosInstance.interceptors.request.use(async t=>(t.url.endsWith("&hide=Young")||bl.start(),typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(t),t):(da.initConfig.beforeRequestCallback&&da.initConfig.beforeRequestCallback(t),t)),t=>Promise.reject(t))}httpInterceptorsResponse(){da.axiosInstance.interceptors.response.use(n=>{const r=n.config;return bl.done(),typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(da.initConfig.beforeResponseCallback&&da.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return r.isCancelRequest=m2.isCancel(r),bl.done(),Promise.reject(r)})}request(t,n,r,i){const a={method:t,url:n,...r,...i};return new Promise((o,s)=>{da.axiosInstance.request(a).then(l=>{o(l)}).catch(l=>{s(l)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};let Ys=da;uu(Ys,"requests",[]),uu(Ys,"isRefreshing",!1),uu(Ys,"initConfig",{}),uu(Ys,"axiosInstance",m2.create(Tme));const Yc=new Ys;function Zc(e){var n;const t=((n=np())==null?void 0:n.is_r186x)??!1;return e=="get"?t==!1?"goform/goform_get_cmd_process":"reqproc/proc_get":t==!1?"goform/goform_set_cmd_process":"reqproc/proc_post"}const Eme=e=>{const t=".",n={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};return Yc.request("post",`${t}/${Zc("post")}`,{headers:n,data:e})},mu=(e,t=!1)=>{const n=".",r={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};let i="";return t==!0?i=`?${e}&_=${Date.now()}&hide=Young`:i=`?${e}&_=${Date.now()}`,Yc.request("get",`${n}/${Zc("get")}${i}`,{headers:r})},Ame=()=>{const e=".",t={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},n=new URLSearchParams;return n.append("goformId","LOGOUT"),Yc.request("post",`${e}/${Zc("post")}`,{headers:t,data:n})},Mme=()=>{const e=".",t={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},n=`multi_data=1&cmd=modem_main_state%2Cpin_status%2Cblc_wan_mode%2Cblc_wan_auto_mode%2Cloginfo%2Cfota_new_version_state%2Cfota_current_upgrade_state%2Cfota_upgrade_selector%2Cnetwork_provider%2Cis_mandatory%2Csta_count%2Cm_sta_count&_=${Date.now()}`;return Yc.request("get",`${e}/${Zc("get")}?${n}`,{headers:t})},Ime=()=>{const e=".",t={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},n=`?cmd=lan_station_list&_=${Date.now()}&hide=Young`;return Yc.request("get",`${e}/${Zc("get")}${n}`,{headers:t})},XOe=e=>{const t=".",n={Accept:"application/json, text/javascript, */*; q=0.01","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},r=new URLSearchParams;return r.append("notCallback","true"),r.append("goformId",e),Yc.request("post",`${t}/${Zc("post")}`,{headers:n,data:r})},n9=()=>({accessToken:"eyJhbGciOiJIUzUxMiJ9.Admin",expires:new Date,refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",username:"admin",roles:["admin"]}),QOe=e=>{let t="";for(let n=0;n<e.length;n+=4){const r=e.substr(n,4),i=parseInt(r,16);t+=String.fromCharCode(i)}return t},JOe=e=>{let t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n).toString(16).padStart(4,"0");t+=i}return t.toUpperCase()},ePe=e=>{const t=e.split(","),n=Number(t[0]),r=Number(t[1]),i=Number(t[2]),a=Number(t[3]),o=Number(t[4]),s=Number(t[5]),l=Number(t[6]),u=new Date;return u.setFullYear(2e3+n),u.setMonth(r-1),u.setDate(i),u.setHours(a),u.setMinutes(o),u.setSeconds(s),u.setMinutes(u.getMinutes()-l),`${u.getFullYear()}/${(u.getMonth()+1).toString().padStart(2,"0")}/${u.getDate().toString().padStart(2,"0")} ${u.getHours().toString().padStart(2,"0")}:${u.getMinutes().toString().padStart(2,"0")}:${u.getSeconds().toString().padStart(2,"0")}`},tPe=e=>{const t=e?new Date(e):new Date,n=t.getFullYear()%100,r=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),u=-t.getTimezoneOffset()/60;return`${n.toString().padStart(2,"0")};${r.toString().padStart(2,"0")};${i.toString().padStart(2,"0")};${a.toString().padStart(2,"0")};${o.toString().padStart(2,"0")};${s.toString().padStart(2,"0")};${u}`},Ome=j({name:"app",components:{[a8.name]:a8,ReDialog:yde},computed:{currentLocale(){return _fe}},data(){return{timer:null}},mounted(){var n;const e=Se("startTimer");(((n=xa().getItem("user-info"))==null?void 0:n.roles)??[]).length<=0?Mme().then(r=>{r.loginfo=="ok"&&(typeof e=="function"&&e(),setTimeout(()=>{t9(n9()),location.reload()},1e3))}):typeof e=="function"&&e()}}),Pme=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function Rme(e,t,n,r,i,a){const o=et("router-view"),s=et("ReDialog"),l=et("el-config-provider");return $(),de(l,{locale:e.currentLocale},{default:re(()=>[ie(o),ie(s)]),_:1},8,["locale"])}const Dme=Pme(Ome,[["render",Rme]]);const Lme=[afe,efe],kme=[rD,qce,are,ore,Qh,kse,nh,Vie,$ie,oue,Vae,Hre,Roe,$ae,Dse,Lse,Doe,Loe,yt,yC,ste,lte,tue,MR,ms,Fle,pee,Cie,Tie,xie,gae,mae,jne,mue,OR,Vce,Hce,Fne,hse,aae,oae,Gle,zl,lie,Tce,Ece,ED,AD];function $me(e){kme.forEach(t=>{e.component(t.name,t)}),Lme.forEach(t=>{e.use(t)})}function T1(e){return e!==null&&typeof e=="object"}function k2(e,t,n=".",r){if(!T1(t))return k2(e,{},n,r);const i=Object.assign({},t);for(const a in e){if(a==="__proto__"||a==="constructor")continue;const o=e[a];o!=null&&(r&&r(i,a,o,n)||(Array.isArray(o)&&Array.isArray(i[a])?i[a]=[...o,...i[a]]:T1(o)&&T1(i[a])?i[a]=k2(o,i[a],(n?`${n}.`:"")+a.toString(),r):i[a]=o))}return i}function Nme(e){return(...t)=>t.reduce((n,r)=>k2(n,r,"",e),{})}const Bme=Nme(),r9=1/60*1e3,Fme=typeof performance<"u"?()=>performance.now():()=>Date.now(),i9=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Fme()),r9);function zme(e){let t=[],n=[],r=0,i=!1,a=!1;const o=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&o.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),o.delete(l)},process:l=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u<r;u++){const c=t[u];c(l),o.has(c)&&(s.schedule(c),e())}i=!1,a&&(a=!1,s.process(l))}};return s}const Vme=40;let $2=!0,oh=!1,N2=!1;const rc={delta:0,timestamp:0},ip=["read","update","preRender","render","postRender"],U0=ip.reduce((e,t)=>(e[t]=zme(()=>oh=!0),e),{}),B2=ip.reduce((e,t)=>{const n=U0[t];return e[t]=(r,i=!1,a=!1)=>(oh||Ume(),n.schedule(r,i,a)),e},{}),Hme=ip.reduce((e,t)=>(e[t]=U0[t].cancel,e),{});ip.reduce((e,t)=>(e[t]=()=>U0[t].process(rc),e),{});const Wme=e=>U0[e].process(rc),a9=e=>{oh=!1,rc.delta=$2?r9:Math.max(Math.min(e-rc.timestamp,Vme),1),rc.timestamp=e,N2=!0,ip.forEach(Wme),N2=!1,oh&&($2=!1,i9(a9))},Ume=()=>{oh=!0,$2=!0,N2||i9(a9)},o9=()=>rc;function s9(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Gme=function(){},J6=function(){};const F2=(e,t,n)=>Math.min(Math.max(n,e),t),E1=.001,jme=.01,eE=10,qme=.05,Kme=1;function Yme({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;Gme(e<=eE*1e3);let o=1-t;o=F2(qme,Kme,o),e=F2(jme,eE,e/1e3),o<1?(i=u=>{const c=u*o,f=c*e,d=c-n,h=z2(u,o),p=Math.exp(-f);return E1-d/h*p},a=u=>{const f=u*o*e,d=f*n+n,h=Math.pow(o,2)*Math.pow(u,2)*e,p=Math.exp(-f),v=z2(Math.pow(u,2),o);return(-i(u)+E1>0?-1:1)*((d-h)*p)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-E1+c*f},a=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const s=5/e,l=Xme(i,a,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Zme=12;function Xme(e,t,n){let r=n;for(let i=1;i<Zme;i++)r=r-e(r)/t(r);return r}function z2(e,t){return e*Math.sqrt(1-t*t)}const Qme=["duration","bounce"],Jme=["stiffness","damping","mass"];function tE(e,t){return t.some(n=>e[n]!==void 0)}function e0e(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!tE(e,Jme)&&tE(e,Qme)){const n=Yme(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function r5(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,a=s9(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=e0e(a),h=nE,p=nE;function v(){const m=c?-(c/1e3):0,g=n-t,y=l/(2*Math.sqrt(s*u)),_=Math.sqrt(s/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),y<1){const b=z2(_,y);h=S=>{const w=Math.exp(-y*_*S);return n-w*((m+y*_*g)/b*Math.sin(b*S)+g*Math.cos(b*S))},p=S=>{const w=Math.exp(-y*_*S);return y*_*w*(Math.sin(b*S)*(m+y*_*g)/b+g*Math.cos(b*S))-w*(Math.cos(b*S)*(m+y*_*g)-b*g*Math.sin(b*S))}}else if(y===1)h=b=>n-Math.exp(-_*b)*(g+(m+_*g)*b);else{const b=_*Math.sqrt(y*y-1);h=S=>{const w=Math.exp(-y*_*S),C=Math.min(b*S,300);return n-w*((m+y*_*g)*Math.sinh(C)+b*g*Math.cosh(C))/b}}}return v(),{next:m=>{const g=h(m);if(d)o.done=m>=f;else{const y=p(m)*1e3,_=Math.abs(y)<=r,b=Math.abs(n-g)<=i;o.done=_&&b}return o.value=o.done?n:g,o},flipTarget:()=>{c=-c,[t,n]=[n,t],v()}}}r5.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const nE=e=>0,l9=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},i5=(e,t,n)=>-n*e+n*t+e,u9=(e,t)=>n=>Math.max(Math.min(n,t),e),vd=e=>e%1?Number(e.toFixed(5)):e,sh=/(-)?([\d]*\.?[\d])+/g,V2=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,t0e=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ap(e){return typeof e=="string"}const op={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},gd=Object.assign(Object.assign({},op),{transform:u9(0,1)}),Jp=Object.assign(Object.assign({},op),{default:1}),a5=e=>({test:t=>ap(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xs=a5("deg"),md=a5("%"),ut=a5("px"),rE=Object.assign(Object.assign({},md),{parse:e=>md.parse(e)/100,transform:e=>md.transform(e*100)}),o5=(e,t)=>n=>!!(ap(n)&&t0e.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),c9=(e,t,n)=>r=>{if(!ap(r))return r;const[i,a,o,s]=r.match(sh);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},sl={test:o5("hsl","hue"),parse:c9("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+md.transform(vd(t))+", "+md.transform(vd(n))+", "+vd(gd.transform(r))+")"},n0e=u9(0,255),A1=Object.assign(Object.assign({},op),{transform:e=>Math.round(n0e(e))}),Uo={test:o5("rgb","red"),parse:c9("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+A1.transform(e)+", "+A1.transform(t)+", "+A1.transform(n)+", "+vd(gd.transform(r))+")"};function r0e(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const H2={test:o5("#"),parse:r0e,transform:Uo.transform},_r={test:e=>Uo.test(e)||H2.test(e)||sl.test(e),parse:e=>Uo.test(e)?Uo.parse(e):sl.test(e)?sl.parse(e):H2.parse(e),transform:e=>ap(e)?e:e.hasOwnProperty("red")?Uo.transform(e):sl.transform(e)},f9="${c}",d9="${n}";function i0e(e){var t,n,r,i;return isNaN(e)&&ap(e)&&((n=(t=e.match(sh))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(V2))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function h9(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(V2);r&&(n=r.length,e=e.replace(V2,f9),t.push(...r.map(_r.parse)));const i=e.match(sh);return i&&(e=e.replace(sh,d9),t.push(...i.map(op.parse))),{values:t,numColors:n,tokenised:e}}function p9(e){return h9(e).values}function v9(e){const{values:t,numColors:n,tokenised:r}=h9(e),i=t.length;return a=>{let o=r;for(let s=0;s<i;s++)o=o.replace(s<n?f9:d9,s<n?_r.transform(a[s]):vd(a[s]));return o}}const a0e=e=>typeof e=="number"?0:e;function o0e(e){const t=p9(e);return v9(e)(t.map(a0e))}const sp={test:i0e,parse:p9,createTransformer:v9,getAnimatableNone:o0e},s0e=new Set(["brightness","contrast","saturate","opacity"]);function l0e(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(sh)||[];if(!r)return e;const i=n.replace(r,"");let a=s0e.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const u0e=/([a-z-]*)\(.*?\)/g,W2=Object.assign(Object.assign({},sp),{getAnimatableNone:e=>{const t=e.match(u0e);return t?t.map(l0e).join(" "):e}});function M1(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function iE({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=M1(l,s,e+1/3),a=M1(l,s,e),o=M1(l,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}const c0e=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},f0e=[H2,Uo,sl],aE=e=>f0e.find(t=>t.test(e)),g9=(e,t)=>{let n=aE(e),r=aE(t),i=n.parse(e),a=r.parse(t);n===sl&&(i=iE(i),n=Uo),r===sl&&(a=iE(a),r=Uo);const o=Object.assign({},i);return s=>{for(const l in o)l!=="alpha"&&(o[l]=c0e(i[l],a[l],s));return o.alpha=i5(i.alpha,a.alpha,s),n.transform(o)}},d0e=e=>typeof e=="number",h0e=(e,t)=>n=>t(e(n)),m9=(...e)=>e.reduce(h0e);function y9(e,t){return d0e(e)?n=>i5(e,t,n):_r.test(e)?g9(e,t):_9(e,t)}const b9=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,o)=>y9(a,t[o]));return a=>{for(let o=0;o<r;o++)n[o]=i[o](a);return n}},p0e=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=y9(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}};function oE(e){const t=sp.parse(e),n=t.length;let r=0,i=0,a=0;for(let o=0;o<n;o++)r||typeof t[o]=="number"?r++:t[o].hue!==void 0?a++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:a}}const _9=(e,t)=>{const n=sp.createTransformer(t),r=oE(e),i=oE(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?m9(b9(r.parsed,i.parsed),n):o=>`${o>0?t:e}`},v0e=(e,t)=>n=>i5(e,t,n);function g0e(e){if(typeof e=="number")return v0e;if(typeof e=="string")return _r.test(e)?g9:_9;if(Array.isArray(e))return b9;if(typeof e=="object")return p0e}function m0e(e,t,n){const r=[],i=n||g0e(e[0]),a=e.length-1;for(let o=0;o<a;o++){let s=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]:t;s=m9(l,s)}r.push(s)}return r}function y0e([e,t],[n]){return r=>n(l9(e,t,r))}function b0e(e,t){const n=e.length,r=n-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(a=r-1,o=!0),!o){let l=1;for(;l<n&&!(e[l]>i||l===r);l++);a=l-1}const s=l9(e[a],e[a+1],i);return t[a](s)}}function w9(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;J6(a===t.length),J6(!r||!Array.isArray(r)||r.length===a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=m0e(t,r,i),s=a===2?y0e(e,o):b0e(e,o);return n?l=>s(F2(e[0],e[a-1],l)):s}const G0=e=>t=>1-e(1-t),s5=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_0e=e=>t=>Math.pow(t,e),S9=e=>t=>t*t*((e+1)*t-e),w0e=e=>{const t=S9(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},C9=1.525,S0e=4/11,C0e=8/11,x0e=9/10,x9=e=>e,l5=_0e(2),T0e=G0(l5),T9=s5(l5),E9=e=>1-Math.sin(Math.acos(e)),A9=G0(E9),E0e=s5(A9),u5=S9(C9),A0e=G0(u5),M0e=s5(u5),I0e=w0e(C9),O0e=4356/361,P0e=35442/1805,R0e=16061/1805,sm=e=>{if(e===1||e===0)return e;const t=e*e;return e<S0e?7.5625*t:e<C0e?9.075*t-9.9*e+3.4:e<x0e?O0e*t-P0e*e+R0e:10.8*e*e-20.52*e+10.72},D0e=G0(sm),L0e=e=>e<.5?.5*(1-sm(1-e*2)):.5*sm(e*2-1)+.5;function k0e(e,t){return e.map(()=>t||T9).splice(0,e.length-1)}function $0e(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function N0e(e,t){return e.map(n=>n*t)}function fg({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],s=N0e(r&&r.length===o.length?r:$0e(o),i);function l(){return w9(s,o,{ease:Array.isArray(n)?n:k0e(o,n)})}let u=l();return{next:c=>(a.value=u(c),a.done=c>=i,a),flipTarget:()=>{o.reverse(),u=l()}}}function B0e({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){const o={done:!1,value:t};let s=n*e;const l=t+s,u=a===void 0?l:a(l);return u!==l&&(s=u-t),{next:c=>{const f=-s*Math.exp(-c/r);return o.done=!(f>i||f<-i),o.value=o.done?u:u+f,o},flipTarget:()=>{}}}const sE={keyframes:fg,spring:r5,decay:B0e};function F0e(e){if(Array.isArray(e.to))return fg;if(sE[e.type])return sE[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?fg:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?r5:fg}function M9(e,t,n=0){return e-t-n}function z0e(e,t,n=0,r=!0){return r?M9(t+-e,t,n):t-(e-t)+n}function V0e(e,t,n,r){return r?e>=t+n:e<=-n}const H0e=e=>{const t=({delta:n})=>e(n);return{start:()=>B2.update(t,!0),stop:()=>Hme.update(t)}};function I9(e){var t,n,{from:r,autoplay:i=!0,driver:a=H0e,elapsed:o=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:d,onRepeat:h,onUpdate:p}=e,v=s9(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:m}=v,g,y=0,_=v.duration,b,S=!1,w=!0,C;const T=F0e(v);!((n=(t=T).needsInterpolation)===null||n===void 0)&&n.call(t,r,m)&&(C=w9([0,100],[r,m],{clamp:!1}),r=0,m=100);const E=T(Object.assign(Object.assign({},v),{from:r,to:m}));function M(){y++,l==="reverse"?(w=y%2===0,o=z0e(o,_,u,w)):(o=M9(o,_,u),l==="mirror"&&E.flipTarget()),S=!1,h&&h()}function A(){g.stop(),d&&d()}function I(D){if(w||(D=-D),o+=D,!S){const F=E.next(Math.max(0,o));b=F.value,C&&(b=C(b)),S=w?F.done:o<=0}p==null||p(b),S&&(y===0&&(_??(_=o)),y<s?V0e(o,_,u,w)&&M():A())}function O(){c==null||c(),g=a(I),g.start()}return i&&O(),{stop:()=>{f==null||f(),g.stop()}}}function O9(e,t){return t?e*(1e3/t):0}function W0e({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:h}){let p;function v(_){return n!==void 0&&_<n||r!==void 0&&_>r}function m(_){return n===void 0?r:r===void 0||Math.abs(n-_)<Math.abs(r-_)?n:r}function g(_){p==null||p.stop(),p=I9(Object.assign(Object.assign({},_),{driver:c,onUpdate:b=>{var S;f==null||f(b),(S=_.onUpdate)===null||S===void 0||S.call(_,b)},onComplete:d,onStop:h}))}function y(_){g(Object.assign({type:"spring",stiffness:o,damping:s,restDelta:l},_))}if(v(e))y({from:e,velocity:t,to:m(e)});else{let _=i*t+e;typeof u<"u"&&(_=u(_));const b=m(_),S=b===n?-1:1;let w,C;const T=E=>{w=C,C=E,t=O9(E-w,o9().delta),(S===1&&E>b||S===-1&&E<b)&&y({from:E,to:b,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:a,power:i,restDelta:l,modifyTarget:u,onUpdate:v(_)?T:void 0})}return{stop:()=>p==null?void 0:p.stop()}}const P9=(e,t)=>1-3*t+3*e,R9=(e,t)=>3*t-6*e,D9=e=>3*e,lm=(e,t,n)=>((P9(t,n)*e+R9(t,n))*e+D9(t))*e,L9=(e,t,n)=>3*P9(t,n)*e*e+2*R9(t,n)*e+D9(t),U0e=1e-7,G0e=10;function j0e(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=lm(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>U0e&&++s<G0e);return o}const q0e=8,K0e=.001;function Y0e(e,t,n,r){for(let i=0;i<q0e;++i){const a=L9(t,n,r);if(a===0)return t;const o=lm(t,n,r)-e;t-=o/a}return t}const dg=11,ev=1/(dg-1);function Z0e(e,t,n,r){if(e===t&&n===r)return x9;const i=new Float32Array(dg);for(let o=0;o<dg;++o)i[o]=lm(o*ev,e,n);function a(o){let s=0,l=1;const u=dg-1;for(;l!==u&&i[l]<=o;++l)s+=ev;--l;const c=(o-i[l])/(i[l+1]-i[l]),f=s+c*ev,d=L9(f,e,n);return d>=K0e?Y0e(o,f,e,n):d===0?f:j0e(o,s,s+ev,e,n)}return o=>o===0||o===1?o:lm(a(o),t,r)}const I1={};class X0e{constructor(){this.subscriptions=new Set}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const i of this.subscriptions)i(t,n,r)}clear(){this.subscriptions.clear()}}function lE(e){return!isNaN(parseFloat(e))}class Q0e{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new X0e,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:i}=o9();this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i),B2.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>B2.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=lE(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=lE(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?O9(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function J0e(e){return new Q0e(e)}const{isArray:eye}=Array;function tye(){const e=N({}),t=r=>{const i=a=>{e.value[a]&&(e.value[a].stop(),e.value[a].destroy(),delete e.value[a])};r?eye(r)?r.forEach(i):i(r):Object.keys(e.value).forEach(i)},n=(r,i,a)=>{if(e.value[r])return e.value[r];const o=J0e(i);return o.onChange(s=>a[r]=s),e.value[r]=o,o};return lde(t),{motionValues:e,get:n,stop:t}}function nye(e){return Array.isArray(e)}function Ts(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function O1(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function rye(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function P1(){return{type:"keyframes",ease:"linear",duration:300}}function iye(e){return{type:"keyframes",duration:800,values:e}}const uE={default:rye,x:Ts,y:Ts,z:Ts,rotate:Ts,rotateX:Ts,rotateY:Ts,rotateZ:Ts,scaleX:O1,scaleY:O1,scale:O1,backgroundColor:P1,color:P1,opacity:P1};function k9(e,t){let n;return nye(t)?n=iye:n=uE[e]||uE.default,{to:t,...n(t)}}const cE={...op,transform:Math.round},$9={color:_r,backgroundColor:_r,outlineColor:_r,fill:_r,stroke:_r,borderColor:_r,borderTopColor:_r,borderRightColor:_r,borderBottomColor:_r,borderLeftColor:_r,borderWidth:ut,borderTopWidth:ut,borderRightWidth:ut,borderBottomWidth:ut,borderLeftWidth:ut,borderRadius:ut,radius:ut,borderTopLeftRadius:ut,borderTopRightRadius:ut,borderBottomRightRadius:ut,borderBottomLeftRadius:ut,width:ut,maxWidth:ut,height:ut,maxHeight:ut,size:ut,top:ut,right:ut,bottom:ut,left:ut,padding:ut,paddingTop:ut,paddingRight:ut,paddingBottom:ut,paddingLeft:ut,margin:ut,marginTop:ut,marginRight:ut,marginBottom:ut,marginLeft:ut,rotate:xs,rotateX:xs,rotateY:xs,rotateZ:xs,scale:Jp,scaleX:Jp,scaleY:Jp,scaleZ:Jp,skew:xs,skewX:xs,skewY:xs,distance:ut,translateX:ut,translateY:ut,translateZ:ut,x:ut,y:ut,z:ut,perspective:ut,transformPerspective:ut,opacity:gd,originX:rE,originY:rE,originZ:ut,zIndex:cE,filter:W2,WebkitFilter:W2,fillOpacity:gd,strokeOpacity:gd,numOctaves:cE},c5=e=>$9[e];function N9(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function aye(e,t){let n=c5(e);return n!==W2&&(n=sp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oye={linear:x9,easeIn:l5,easeInOut:T9,easeOut:T0e,circIn:E9,circInOut:E0e,circOut:A9,backIn:u5,backInOut:M0e,backOut:A0e,anticipate:I0e,bounceIn:D0e,bounceInOut:L0e,bounceOut:sm};function fE(e){if(Array.isArray(e)){const[t,n,r,i]=e;return Z0e(t,n,r,i)}else if(typeof e=="string")return oye[e];return e}function sye(e){return Array.isArray(e)&&typeof e[0]!="number"}function dE(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&sp.test(t)&&!t.startsWith("url("))}function lye(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function uye({ease:e,times:t,delay:n,...r}){const i={...r};return t&&(i.offset=t),e&&(i.ease=sye(e)?e.map(fE):fE(e)),n&&(i.elapsed=-n),i}function cye(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),lye(t),fye(e)||(e={...e,...k9(n,t.to)}),{...t,...uye(e)}}function fye({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...a}){return!!Object.keys(a).length}function dye(e,t){return e[t]||e.default||e}function hye(e,t,n,r,i){const a=dye(r,e);let o=a.from===null||a.from===void 0?t.get():a.from;const s=dE(e,n);o==="none"&&s&&typeof n=="string"&&(o=aye(e,n));const l=dE(e,o);function u(f){const d={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:h=>t.set(h)};return a.type==="inertia"||a.type==="decay"?W0e({...d,...a}):I9({...cye(a,d,e),onUpdate:h=>{d.onUpdate(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r.onComplete&&r.onComplete(),i&&i(),f&&f()}})}function c(f){return t.set(n),r.onComplete&&r.onComplete(),i&&i(),f&&f(),{stop:()=>{}}}return!l||!s||a.type===!1?c:u}function pye(){const{motionValues:e,stop:t,get:n}=tye();return{motionValues:e,stop:t,push:(i,a,o,s={},l)=>{const u=o[i],c=n(i,u,o);if(s&&s.immediate){c.set(a);return}const f=hye(i,c,a,s,l);c.start(f)}}}function vye(e,t={},{motionValues:n,push:r,stop:i}=pye()){const a=x(t),o=N(!1);ce(n,f=>{o.value=Object.values(f).filter(d=>d.isAnimating()).length>0},{immediate:!0,deep:!0});const s=f=>{if(!a||!a[f])throw new Error(`The variant ${f} does not exist.`);return a[f]},l=f=>(typeof f=="string"&&(f=s(f)),Promise.all(Object.entries(f).map(([d,h])=>{if(d!=="transition")return new Promise(p=>r(d,h,e,f.transition||k9(d,f[d]),p))}).filter(Boolean)));return{isAnimating:o,apply:l,set:f=>{const d=d2(f)?f:s(f);Object.entries(d).forEach(([h,p])=>{h!=="transition"&&r(h,p,e,{immediate:!0})})},leave:async f=>{let d;if(a&&(a.leave&&(d=a.leave),!a.leave&&a.initial&&(d=a.initial)),!d){f();return}await l(d),f()},stop:i}}const f5=typeof window<"u",gye=()=>f5&&window.onpointerdown===null,mye=()=>f5&&window.ontouchstart===null,yye=()=>f5&&window.onmousedown===null;function bye({target:e,state:t,variants:n,apply:r}){const i=x(n),a=N(!1),o=N(!1),s=N(!1),l=P(()=>{let c=[];return i&&(i.hovered&&(c=[...c,...Object.keys(i.hovered)]),i.tapped&&(c=[...c,...Object.keys(i.tapped)]),i.focused&&(c=[...c,...Object.keys(i.focused)])),c}),u=P(()=>{const c={};Object.assign(c,t.value),a.value&&i.hovered&&Object.assign(c,i.hovered),o.value&&i.tapped&&Object.assign(c,i.tapped),s.value&&i.focused&&Object.assign(c,i.focused);for(const f in c)l.value.includes(f)||delete c[f];return c});i.hovered&&(rn(e,"mouseenter",()=>a.value=!0),rn(e,"mouseleave",()=>{a.value=!1,o.value=!1}),rn(e,"mouseout",()=>{a.value=!1,o.value=!1})),i.tapped&&(yye()&&(rn(e,"mousedown",()=>o.value=!0),rn(e,"mouseup",()=>o.value=!1)),gye()&&(rn(e,"pointerdown",()=>o.value=!0),rn(e,"pointerup",()=>o.value=!1)),mye()&&(rn(e,"touchstart",()=>o.value=!0),rn(e,"touchend",()=>o.value=!1))),i.focused&&(rn(e,"focus",()=>s.value=!0),rn(e,"blur",()=>s.value=!1)),ce(u,r)}function _ye({set:e,target:t,variants:n,variant:r}){const i=x(n);ce(()=>t,()=>{i&&(i.initial&&e("initial"),i.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function wye({state:e,apply:t}){ce(e,n=>{n&&t(n)},{immediate:!0})}function Sye({target:e,variants:t,variant:n}){const r=x(t);r&&(r.visible||r.visibleOnce)&&mde(e,([{isIntersecting:i}])=>{r.visible?i?n.value="visible":n.value="initial":r.visibleOnce&&(i&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Cye(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&_ye(e),t.syncVariants&&wye(e),t.visibilityHooks&&Sye(e),t.eventListeners&&bye(e)}function B9(e={}){const t=Qt({...e}),n=N({});return ce(t,()=>{const r={};for(const[i,a]of Object.entries(t)){const o=c5(i),s=N9(a,o);r[i]=s}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function d5(e,t){ce(()=>qr(e),n=>{n&&t(n)},{immediate:!0})}const xye={x:"translateX",y:"translateY",z:"translateZ"};function F9(e={},t=!0){const n=Qt({...e}),r=N("");return ce(n,i=>{let a="",o=!1;if(t&&(i.x||i.y||i.z)){const s=[i.x||0,i.y||0,i.z||0].map(ut.transform).join(",");a+=`translate3d(${s}) `,o=!0}for(const[s,l]of Object.entries(i)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const u=c5(s),c=N9(l,u);a+=`${xye[s]||s}(${c}) `}t&&!o&&(a+="translateZ(0px) "),r.value=a.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Tye=["","X","Y","Z"],Eye=["perspective","translate","scale","rotate","skew"],z9=["transformPerspective","x","y","z"];Eye.forEach(e=>{Tye.forEach(t=>{const n=e+t;z9.push(n)})});const Aye=new Set(z9);function h5(e){return Aye.has(e)}const Mye=new Set(["originX","originY","originZ"]);function V9(e){return Mye.has(e)}function Iye(e){const t={},n={};return Object.entries(e).forEach(([r,i])=>{h5(r)||V9(r)?t[r]=i:n[r]=i}),{transform:t,style:n}}function H9(e){const{transform:t,style:n}=Iye(e),{transform:r}=F9(t),{style:i}=B9(n);return r.value&&(i.value.transform=r.value),i.value}function Oye(e,t){let n,r;const{state:i,style:a}=B9();return d5(e,o=>{r=o;for(const s of Object.keys($9))o.style[s]===null||o.style[s]===""||h5(s)||V9(s)||(i[s]=o.style[s]);n&&Object.entries(n).forEach(([s,l])=>o.style[s]=l),t&&t(i)}),ce(a,o=>{if(!r){n=o;return}for(const s in o)r.style[s]=o[s]},{immediate:!0}),{style:i}}function Pye(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?parseFloat(r):isNaN(Number(r))?Number(r):r;return t.reduce((r,i)=>{if(!i)return r;const[a,o]=i.split("("),l=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=l.length===1?l[0]:l;return{...r,[a]:u}},{})}function Rye(e,t){Object.entries(Pye(t)).forEach(([n,r])=>{const i=["x","y","z"];if(n==="translate3d"){if(r===0){i.forEach(a=>e[a]=0);return}r.forEach((a,o)=>e[i[o]]=a);return}if(r=parseFloat(r),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Dye(e,t){let n,r;const{state:i,transform:a}=F9();return d5(e,o=>{r=o,o.style.transform&&Rye(i,o.style.transform),n&&(o.style.transform=n),t&&t(i)}),ce(a,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:i}}function Lye(e,t){const n=Qt({}),r=o=>Object.entries(o).forEach(([s,l])=>n[s]=l),{style:i}=Oye(e,r),{transform:a}=Dye(e,r);return ce(n,o=>{Object.entries(o).forEach(([s,l])=>{const u=h5(s)?a:i;u[s]&&u[s]===l||(u[s]=l)})},{immediate:!0,deep:!0}),d5(e,()=>t&&r(t)),{motionProperties:n,style:i,transform:a}}function kye(e={}){const t=x(e),n=N();return{state:P(()=>{if(n.value)return t[n.value]}),variant:n}}function W9(e,t={},n){const{motionProperties:r}=Lye(e),{variant:i,state:a}=kye(t),o=vye(r,t),s={target:e,variant:i,variants:t,state:a,motionProperties:r,...o};return Cye(s,n),s}const $ye=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function Nye(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&d2(n.variants)&&(t.value={...t.value,...n.variants}),$ye.forEach(r=>{if(r==="delay"){if(n&&n[r]&&typeof n[r]=="number"){const i=n[r];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={delay:i,...t.value.enter.transition}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={delay:i,...t.value.visible.transition}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={delay:i,...t.value.visibleOnce.transition}))}return}r==="visible-once"&&(r="visibleOnce"),n&&n[r]&&d2(n[r])&&(t.value[r]=n[r])}))}function R1(e){return{created:(n,r,i)=>{const a=r.value&&typeof r.value=="string"?r.value:i.key;a&&I1[a]&&I1[a].stop();const o=N(e||{});typeof r.value=="object"&&(o.value=r.value),Nye(i,o);const s=W9(n,o);n.motionInstance=s,a&&(I1[a]=s)},getSSRProps(n,r){let{initial:i}=n.value||r&&(r==null?void 0:r.props)||{};i=x(i);const a=Bme((e==null?void 0:e.initial)||{},i||{});return!a||Object.keys(a).length===0?void 0:{style:H9(a)}}}}const Bye={initial:{opacity:0},enter:{opacity:1}},Fye={initial:{opacity:0},visible:{opacity:1}},zye={initial:{opacity:0},visibleOnce:{opacity:1}},Vye={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Hye={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Wye={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Uye={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Gye={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},jye={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},qye={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Kye={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Yye={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Zye={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Xye={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Qye={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Jye={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},e1e={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},t1e={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},n1e={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},r1e={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},i1e={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},a1e={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},o1e={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},s1e={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},l1e={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},u1e={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},c1e={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},f1e={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},d1e={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},h1e={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},U2={__proto__:null,fade:Bye,fadeVisible:Fye,fadeVisibleOnce:zye,pop:Vye,popVisible:Hye,popVisibleOnce:Wye,rollBottom:Jye,rollLeft:Uye,rollRight:qye,rollTop:Zye,rollVisibleBottom:e1e,rollVisibleLeft:Gye,rollVisibleOnceBottom:t1e,rollVisibleOnceLeft:jye,rollVisibleOnceRight:Yye,rollVisibleOnceTop:Qye,rollVisibleRight:Kye,rollVisibleTop:Xye,slideBottom:f1e,slideLeft:n1e,slideRight:a1e,slideTop:l1e,slideVisibleBottom:d1e,slideVisibleLeft:r1e,slideVisibleOnceBottom:h1e,slideVisibleOnceLeft:i1e,slideVisibleOnceRight:s1e,slideVisibleOnceTop:c1e,slideVisibleRight:o1e,slideVisibleTop:u1e},p1e=j({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(e){var s;const t=Qi(),n=Qt({});if(!e.is&&!t.default)return()=>be("div",{});const r=P(()=>{let l;return e.preset&&(l=U2[e.preset]),l}),i=P(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused})),a=P(()=>{const l={...i.value,...r.value||{},...e.variants||{}};return e.delay&&(l.enter.transition={...l.enter.transition},l.enter.transition.delay=parseInt(e.delay)),l}),o=P(()=>{if(!e.is)return;let l=e.is;return typeof o.value=="string"&&!Bz(l)&&(l=et(l)),l});if(((s=process==null?void 0:process.env)==null?void 0:s.NODE_ENV)==="development"||process!=null&&process.dev){const l=u=>{var c;(c=u.variants)!=null&&c.initial&&u.set("initial"),setTimeout(()=>{var f,d,h;(f=u.variants)!=null&&f.enter&&u.apply("enter"),(d=u.variants)!=null&&d.visible&&u.apply("visible"),(h=u.variants)!=null&&h.visibleOnce&&u.apply("visibleOnce")},10)};lo(()=>Object.entries(n).forEach(([u,c])=>l(c)))}return{slots:t,component:o,motionConfig:a,instances:n}},render({slots:e,motionConfig:t,instances:n,component:r}){var s;const i=H9(t.initial||{}),a=(l,u)=>(l.props||(l.props={}),l.props.style=i,l.props.onVnodeMounted=({el:c})=>{const f=W9(c,t);n[u]=f},l);if(r){const l=be(r,void 0,e);return a(l,0),l}return(((s=e.default)==null?void 0:s.call(e))||[]).map((l,u)=>a(l,u))}});function v1e(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,i=>`-${i}`).toLowerCase().replace(/\s+/g,"-").replace(r,i=>n.charAt(t.indexOf(i))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const g1e={install(e,t){if(e.directive("motion",R1()),e.component("Motion",p1e),!t||t&&!t.excludePresets)for(const n in U2){const r=U2[n];e.directive(`motion-${v1e(n)}`,R1(r))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];!r.initial&&__DEV__&&console.warn(`Your directive v-motion-${n} is missing initial variant!`),e.directive(`motion-${n}`,R1(r))}}};/*! *****************************************************************************
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 G2=function(e,t){return G2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},G2(e,t)};function ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");G2(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var m1e=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),y1e=function(){function e(){this.browser=new m1e,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}(),Zs=new y1e;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Zs.wxa=!0,Zs.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Zs.worker=!0:typeof navigator>"u"?(Zs.node=!0,Zs.svgSupported=!0):b1e(navigator.userAgent,Zs);function b1e(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[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}const vt=Zs;var p5=12,_1e="sans-serif",Hl=p5+"px "+_1e,w1e=20,S1e=100,C1e="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function x1e(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-w1e)/S1e;t[r]=i}return t}var T1e=x1e(C1e),io={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var i=io.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==r&&(t=e.font=r||Hl),e.measureText(n);n=n||"",r=r||Hl;var a=/(\d+)px/.exec(r),o=a&&+a[1]||p5,s=0;if(r.indexOf("mono")>=0)s=o*n.length;else for(var l=0;l<n.length;l++){var u=T1e[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 U9(e){for(var t in io)e[t]&&(io[t]=e[t])}var G9=Yi(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),j9=Yi(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),Xc=Object.prototype.toString,j0=Array.prototype,E1e=j0.forEach,A1e=j0.filter,v5=j0.slice,M1e=j0.map,hE=function(){}.constructor,tv=hE?hE.prototype:null,g5="__proto__",I1e=2311;function m5(){return I1e++}function q0(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function qe(e){if(e==null||typeof e!="object")return e;var t=e,n=Xc.call(e);if(n==="[object Array]"){if(!ac(e)){t=[];for(var r=0,i=e.length;r<i;r++)t[r]=qe(e[r])}}else if(j9[n]){if(!ac(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var r=0,i=e.length;r<i;r++)t[r]=e[r]}}}else if(!G9[n]&&!ac(e)&&!Oc(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==g5&&(t[o]=qe(e[o]))}return t}function nt(e,t,n){if(!ze(t)||!ze(e))return n?qe(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==g5){var i=e[r],a=t[r];ze(a)&&ze(i)&&!Ce(a)&&!Ce(i)&&!Oc(a)&&!Oc(i)&&!j2(a)&&!j2(i)&&!ac(a)&&!ac(i)?nt(i,a,n):(n||!(r in e))&&(e[r]=qe(t[r]))}return e}function O1e(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=nt(n,e[r],t);return n}function me(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==g5&&(e[n]=t[n]);return e}function bt(e,t,n){for(var r=Dt(t),i=0;i<r.length;i++){var a=r[i];(n?t[a]!=null:e[a]==null)&&(e[a]=t[a])}return e}var P1e=io.createCanvas;function ft(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function y5(e,t){var n=e.prototype;function r(){}r.prototype=t.prototype,e.prototype=new r;for(var i in n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function xi(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var a=r[i];a!=="constructor"&&(n?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else bt(e,t,n)}function tr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function R(e,t,n){if(e&&t)if(e.forEach&&e.forEach===E1e)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a,e)}function ke(e,t,n){if(!e)return[];if(!t)return K0(e);if(e.map&&e.map===M1e)return e.map(t,n);for(var r=[],i=0,a=e.length;i<a;i++)r.push(t.call(n,e[i],i,e));return r}function Yi(e,t,n,r){if(e&&t){for(var i=0,a=e.length;i<a;i++)n=t.call(r,n,e[i],i,e);return n}}function hn(e,t,n){if(!e)return[];if(!t)return K0(e);if(e.filter&&e.filter===A1e)return e.filter(t,n);for(var r=[],i=0,a=e.length;i<a;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function R1e(e,t,n){if(e&&t){for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}}function Dt(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function D1e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(v5.call(arguments)))}}var Fe=tv&&Xe(tv.bind)?tv.call.bind(tv.bind):D1e;function Ct(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(v5.call(arguments)))}}function Ce(e){return Array.isArray?Array.isArray(e):Xc.call(e)==="[object Array]"}function Xe(e){return typeof e=="function"}function Be(e){return typeof e=="string"}function um(e){return Xc.call(e)==="[object String]"}function Ut(e){return typeof e=="number"}function ze(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function j2(e){return!!G9[Xc.call(e)]}function $r(e){return!!j9[Xc.call(e)]}function Oc(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function lp(e){return e.colorStops!=null}function q9(e){return e.image!=null}function L1e(e){return Xc.call(e)==="[object RegExp]"}function lh(e){return e!==e}function Wl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(e[n]!=null)return e[n]}function xt(e,t){return e??t}function ic(e,t,n){return e??t??n}function K0(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return v5.apply(e,t)}function b5(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function bi(e,t){if(!e)throw new Error(t)}function Vi(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var K9="__ec_primitive__";function cm(e){e[K9]=!0}function ac(e){return e[K9]}var k1e=function(){function e(){this.data={}}return e.prototype.delete=function(t){var n=this.has(t);return n&&delete this.data[t],n},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,n){return this.data[t]=n,this},e.prototype.keys=function(){return Dt(this.data)},e.prototype.forEach=function(t){var n=this.data;for(var r in n)n.hasOwnProperty(r)&&t(n[r],r)},e}(),Y9=typeof Map=="function";function $1e(){return Y9?new Map:new k1e}var Z9=function(){function e(t){var n=Ce(t);this.data=$1e();var r=this;t instanceof e?t.each(i):t&&R(t,i);function i(a,o){n?r.set(a,o):r.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,n){return this.data.set(t,n),n},e.prototype.each=function(t,n){this.data.forEach(function(r,i){t.call(n,r,i)})},e.prototype.keys=function(){var t=this.data.keys();return Y9?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function Qe(e){return new Z9(e)}function X9(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];for(var i=e.length,r=0;r<t.length;r++)n[r+i]=t[r];return n}function up(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&me(n,t),n}function _5(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function ot(e,t){return e.hasOwnProperty(t)}function zn(){}var Q9=180/Math.PI;const N1e=Object.freeze(Object.defineProperty({__proto__:null,HashMap:Z9,RADIAN_TO_DEGREE:Q9,assert:bi,bind:Fe,clone:qe,concatArray:X9,createCanvas:P1e,createHashMap:Qe,createObject:up,curry:Ct,defaults:bt,disableUserSelect:_5,each:R,eqNaN:lh,extend:me,filter:hn,find:R1e,guid:m5,hasOwn:ot,indexOf:ft,inherits:y5,isArray:Ce,isArrayLike:tr,isBuiltInObject:j2,isDom:Oc,isFunction:Xe,isGradientObject:lp,isImagePatternObject:q9,isNumber:Ut,isObject:ze,isPrimitive:ac,isRegExp:L1e,isString:Be,isStringSafe:um,isTypedArray:$r,keys:Dt,logError:q0,map:ke,merge:nt,mergeAll:O1e,mixin:xi,noop:zn,normalizeCssArray:b5,reduce:Yi,retrieve:Wl,retrieve2:xt,retrieve3:ic,setAsPrimitive:cm,slice:K0,trim:Vi},Symbol.toStringTag,{value:"Module"}));function iu(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function B1e(e,t){return e[0]=t[0],e[1]=t[1],e}function J9(e){return[e[0],e[1]]}function F1e(e,t,n){return e[0]=t,e[1]=n,e}function q2(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function z1e(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function ek(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function w5(e){return Math.sqrt(S5(e))}var V1e=w5;function S5(e){return e[0]*e[0]+e[1]*e[1]}var H1e=S5;function W1e(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function U1e(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function G1e(e,t){return e[0]*t[0]+e[1]*t[1]}function hg(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function tk(e,t){var n=w5(t);return n===0?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function fm(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var dm=fm;function nk(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var wl=nk;function j1e(e,t){return e[0]=-t[0],e[1]=-t[1],e}function pg(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function dr(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function Go(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function jo(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}const q1e=Object.freeze(Object.defineProperty({__proto__:null,add:q2,applyTransform:dr,clone:J9,copy:B1e,create:iu,dist:dm,distSquare:wl,distance:fm,distanceSquare:nk,div:U1e,dot:G1e,len:w5,lenSquare:S5,length:V1e,lengthSquare:H1e,lerp:pg,max:jo,min:Go,mul:W1e,negate:j1e,normalize:tk,scale:hg,scaleAndAdd:z1e,set:F1e,sub:ek},Symbol.toStringTag,{value:"Module"}));var yu=function(){function e(t,n){this.target=t,this.topTarget=n&&n.topTarget}return e}(),K1e=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var n=t.target;n&&!n.draggable;)n=n.parent||n.__hostTarget;n&&(this._draggingTarget=n,n.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new yu(n,t),"dragstart",t.event))},e.prototype._drag=function(t){var n=this._draggingTarget;if(n){var r=t.offsetX,i=t.offsetY,a=r-this._x,o=i-this._y;this._x=r,this._y=i,n.drift(a,o,t),this.handler.dispatchToElement(new yu(n,t),"drag",t.event);var s=this.handler.findHover(r,i,n).target,l=this._dropTarget;this._dropTarget=s,n!==s&&(l&&s!==l&&this.handler.dispatchToElement(new yu(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new yu(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var n=this._draggingTarget;n&&(n.dragging=!1),this.handler.dispatchToElement(new yu(n,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new yu(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}();const Y1e=K1e;var Z1e=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,n,r,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof n=="function"&&(i=r,r=n,n=null),!r||!t)return this;var o=this._$eventProcessor;n!=null&&o&&o.normalizeQuery&&(n=o.normalizeQuery(n)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===r)return this;var l={h:r,query:n,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},u=a[t].length-1,c=a[t][u];return c&&c.callAtLast?a[t].splice(u,0,l):a[t].push(l),this},e.prototype.isSilent=function(t){var n=this._$handlers;return!n||!n[t]||!n[t].length},e.prototype.off=function(t,n){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(n){if(r[t]){for(var i=[],a=0,o=r[t].length;a<o;a++)r[t][a].h!==n&&i.push(r[t][a]);r[t]=i}r[t]&&r[t].length===0&&delete r[t]}else delete r[t];return this},e.prototype.trigger=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=n.length,s=i.length,l=0;l<s;l++){var u=i[l];if(!(a&&a.filter&&u.query!=null&&!a.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,n[0]);break;case 2:u.h.call(u.ctx,n[0],n[1]);break;default:u.h.apply(u.ctx,n);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=n.length,s=n[o-1],l=i.length,u=0;u<l;u++){var c=i[u];if(!(a&&a.filter&&c.query!=null&&!a.filter(t,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,n[0]);break;case 2:c.h.call(s,n[0],n[1]);break;default:c.h.apply(s,n.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e}();const Ti=Z1e;var X1e=Math.log(2);function K2(e,t,n,r,i,a){var o=r+"-"+i,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~i)/X1e);return e[n][l]}for(var u=r|1<<n,c=n+1;r&1<<c;)c++;for(var f=0,d=0,h=0;d<s;d++){var p=1<<d;p&i||(f+=(h%2?-1:1)*e[n][d]*K2(e,t-1,c,u,i|p,a),h++)}return a[o]=f,f}function pE(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=K2(n,8,0,0,0,r);if(i!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*K2(n,7,o===0?1:0,1<<o,1<<s,r)/i*t[o];return function(l,u,c){var f=u*a[6]+c*a[7]+1;l[0]=(u*a[0]+c*a[1]+a[2])/f,l[1]=(u*a[3]+c*a[4]+a[5])/f}}}var vE="___zrEVENTSAVED",D1=[];function Q1e(e,t,n,r,i){return Y2(D1,t,r,i,!0)&&Y2(e,n,D1[0],D1[1])}function Y2(e,t,n,r,i){if(t.getBoundingClientRect&&vt.domSupported&&!rk(t)){var a=t[vE]||(t[vE]={}),o=J1e(t,a),s=ebe(o,a,i);if(s)return s(e,n,r),!0}return!1}function J1e(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}function ebe(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,d=c.left,h=c.top;o.push(d,h),l=l&&a&&d===a[f]&&h===a[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[r]=n?pE(s,o):pE(o,s))}function rk(e){return e.nodeName.toUpperCase()==="CANVAS"}var tbe=/([&<>"'])/g,nbe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Hr(e){return e==null?"":(e+"").replace(tbe,function(t,n){return nbe[n]})}var rbe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,L1=[],ibe=vt.browser.firefox&&+vt.browser.version.split(".")[0]<39;function Z2(e,t,n,r){return n=n||{},r?gE(e,t,n):ibe&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):gE(e,t,n),n}function gE(e,t,n){if(vt.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(rk(e)){var a=e.getBoundingClientRect();n.zrX=r-a.left,n.zrY=i-a.top;return}else if(Y2(L1,e,r,i)){n.zrX=L1[0],n.zrY=L1[1];return}}n.zrX=n.zrY=0}function C5(e){return e||window.event}function ri(e,t,n){if(t=C5(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Z2(e,o,t,n)}else{Z2(e,t,t,n);var a=abe(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&rbe.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function abe(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r!==0?r:n),a=r>0?-1:r<0?1:n>0?-1:1;return 3*i*a}function X2(e,t,n,r){e.addEventListener(t,n,r)}function obe(e,t,n,r){e.removeEventListener(t,n,r)}var ao=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function mE(e){return e.which===2||e.which===3}var sbe=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var i=t.touches;if(i){for(var a={points:[],touches:[],target:n,event:t},o=0,s=i.length;o<s;o++){var l=i[o],u=Z2(r,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},e.prototype._recognize=function(t){for(var n in k1)if(k1.hasOwnProperty(n)){var r=k1[n](this._track,t);if(r)return r}},e}();function yE(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function lbe(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var k1={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var a=yE(r)/yE(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=lbe(r);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Ul(){return[1,0,0,1,0,0]}function cp(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function x5(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function rs(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function hm(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Y0(e,t,n){var r=t[0],i=t[2],a=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+o*u,e[1]=-r*u+o*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*a+u*l,e[5]=c*l-u*a,e}function ik(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function fp(e,t){var n=t[0],r=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=n*o-a*r;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-o*i)*l,e[5]=(a*i-n*s)*l,e):null}function ube(e){var t=Ul();return x5(t,e),t}const cbe=Object.freeze(Object.defineProperty({__proto__:null,clone:ube,copy:x5,create:Ul,identity:cp,invert:fp,mul:rs,rotate:Y0,scale:ik,translate:hm},Symbol.toStringTag,{value:"Module"}));var fbe=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,i){t.x=n.x+r.x*i,t.y=n.y+r.y*i},e.lerp=function(t,n,r,i){var a=1-i;t.x=a*n.x+i*r.x,t.y=a*n.y+i*r.y},e}();const tt=fbe;var nv=Math.min,rv=Math.max,Es=new tt,As=new tt,Ms=new tt,Is=new tt,pf=new tt,vf=new tt,dbe=function(){function e(t,n,r,i){r<0&&(t=t+r,r=-r),i<0&&(n=n+i,i=-i),this.x=t,this.y=n,this.width=r,this.height=i}return e.prototype.union=function(t){var n=nv(t.x,this.x),r=nv(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=rv(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=rv(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,i=t.height/n.height,a=Ul();return hm(a,a,[-n.x,-n.y]),ik(a,a,[r,i]),hm(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,a=r.x+r.width,o=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,d=!(a<l||u<i||s<c||f<o);if(n){var h=1/0,p=0,v=Math.abs(a-l),m=Math.abs(u-i),g=Math.abs(s-c),y=Math.abs(f-o),_=Math.min(v,m),b=Math.min(g,y);a<l||u<i?_>p&&(p=_,v<m?tt.set(vf,-v,0):tt.set(vf,m,0)):_<h&&(h=_,v<m?tt.set(pf,v,0):tt.set(pf,-m,0)),s<c||f<o?b>p&&(p=b,g<y?tt.set(vf,0,-g):tt.set(vf,0,y)):_<h&&(h=_,g<y?tt.set(pf,0,g):tt.set(pf,0,-y))}return n&&tt.copy(n,d?pf:vf),d},e.prototype.contain=function(t,n){var r=this;return t>=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],a=r[3],o=r[4],s=r[5];t.x=n.x*i+o,t.y=n.y*a+s,t.width=n.width*i,t.height=n.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Es.x=Ms.x=n.x,Es.y=Is.y=n.y,As.x=Is.x=n.x+n.width,As.y=Ms.y=n.y+n.height,Es.transform(r),Is.transform(r),As.transform(r),Ms.transform(r),t.x=nv(Es.x,As.x,Ms.x,Is.x),t.y=nv(Es.y,As.y,Ms.y,Is.y);var l=rv(Es.x,As.x,Ms.x,Is.x),u=rv(Es.y,As.y,Ms.y,Is.y);t.width=l-t.x,t.height=u-t.y},e}();const Et=dbe;var ak="silent";function hbe(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:pbe}}function pbe(){ao(this.event)}var vbe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Ti),gf=function(){function e(t,n){this.x=t,this.y=n}return e}(),gbe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],$1=new Et(0,0,0,0),ok=function(e){ve(t,e);function t(n,r,i,a,o){var s=e.call(this)||this;return s._hovered=new gf(0,0),s.storage=n,s.painter=r,s.painterRoot=a,s._pointerSize=o,i=i||new vbe,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new Y1e(s),s}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(R(gbe,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,i=n.zrY,a=sk(this,r,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new gf(r,i):this.findHover(r,i),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",n),this.dispatchToElement(l,"mousemove",n),u&&u!==s&&this.dispatchToElement(l,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new gf(0,0)},t.prototype.dispatch=function(n,r){var i=this[n];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,i){n=n||{};var a=n.target;if(!(a&&a.silent)){for(var o="on"+r,s=hbe(r,n,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(r,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(r,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(r,s)}))}},t.prototype.findHover=function(n,r,i){var a=this.storage.getDisplayList(),o=new gf(n,r);if(bE(a,o,n,r,i),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Et(n-u,r-u,l,l),f=a.length-1;f>=0;f--){var d=a[f];d!==i&&!d.ignore&&!d.ignoreCoarsePointer&&(!d.parent||!d.parent.ignoreCoarsePointer)&&($1.copy(d.getBoundingRect()),d.transform&&$1.applyTransform(d.transform),$1.intersect(c)&&s.push(d))}if(s.length)for(var h=4,p=Math.PI/12,v=Math.PI*2,m=0;m<u;m+=h)for(var g=0;g<v;g+=p){var y=n+m*Math.cos(g),_=r+m*Math.sin(g);if(bE(s,o,y,_,i),o.target)return o}}return o},t.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new sbe);var i=this._gestureMgr;r==="start"&&i.clear();var a=i.recognize(n,this.findHover(n.zrX,n.zrY,null).target,this.proxy.dom);if(r==="end"&&i.clear(),a){var o=a.type;n.gestureEvent=o;var s=new gf;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t}(Ti);R(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){ok.prototype[e]=function(t){var n=t.zrX,r=t.zrY,i=sk(this,n,r),a,o;if((e!=="mouseup"||!i)&&(a=this.findHover(n,r),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||dm(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function mbe(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,a=!1;r;){if(r.ignoreClip&&(a=!0),!a){var o=r.getClipPath();if(o&&!o.contain(t,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return i?ak:!0}return!1}function bE(e,t,n,r,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=mbe(o,n,r))&&(!t.topTarget&&(t.topTarget=o),s!==ak)){t.target=o;break}}}function sk(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}const ybe=ok;var lk=32,mf=7;function bbe(e){for(var t=0;e>=lk;)t|=e&1,e>>=1;return e+t}function _E(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i<n&&r(e[i],e[i-1])<0;)i++;_be(e,t,i)}else for(;i<n&&r(e[i],e[i-1])>=0;)i++;return i-t}function _be(e,t,n){for(n--;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}function wE(e,t,n,r,i){for(r===t&&r++;r<n;r++){for(var a=e[r],o=t,s=r,l;o<s;)l=o+s>>>1,i(a,e[l])<0?s=l:o=l+1;var u=r-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=a}}function N1(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])>0){for(s=r-i;l<s&&a(e,t[n+i+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;l<s&&a(e,t[n+i-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[n+c])>0?o=c+1:l=c}return l}function B1(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])<0){for(s=i+1;l<s&&a(e,t[n+i-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=r-i;l<s&&a(e,t[n+i+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[n+c])<0?l=c:o=c+1}return l}function wbe(e,t){var n=mf,r,i,a=0;e.length;var o=[];r=[],i=[];function s(h,p){r[a]=h,i[a]=p,a+=1}function l(){for(;a>1;){var h=a-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]<i[h+1]&&h--;else if(i[h]>i[h+1])break;c(h)}}function u(){for(;a>1;){var h=a-2;h>0&&i[h-1]<i[h+1]&&h--,c(h)}}function c(h){var p=r[h],v=i[h],m=r[h+1],g=i[h+1];i[h]=v+g,h===a-3&&(r[h+1]=r[h+2],i[h+1]=i[h+2]),a--;var y=B1(e[m],e,p,v,0,t);p+=y,v-=y,v!==0&&(g=N1(e[p+v-1],e,m,g,g-1,t),g!==0&&(v<=g?f(p,v,m,g):d(p,v,m,g)))}function f(h,p,v,m){var g=0;for(g=0;g<p;g++)o[g]=e[h+g];var y=0,_=v,b=h;if(e[b++]=e[_++],--m===0){for(g=0;g<p;g++)e[b+g]=o[y+g];return}if(p===1){for(g=0;g<m;g++)e[b+g]=e[_+g];e[b+m]=o[y];return}for(var S=n,w,C,T;;){w=0,C=0,T=!1;do if(t(e[_],o[y])<0){if(e[b++]=e[_++],C++,w=0,--m===0){T=!0;break}}else if(e[b++]=o[y++],w++,C=0,--p===1){T=!0;break}while((w|C)<S);if(T)break;do{if(w=B1(e[_],o,y,p,0,t),w!==0){for(g=0;g<w;g++)e[b+g]=o[y+g];if(b+=w,y+=w,p-=w,p<=1){T=!0;break}}if(e[b++]=e[_++],--m===0){T=!0;break}if(C=N1(o[y],e,_,m,0,t),C!==0){for(g=0;g<C;g++)e[b+g]=e[_+g];if(b+=C,_+=C,m-=C,m===0){T=!0;break}}if(e[b++]=o[y++],--p===1){T=!0;break}S--}while(w>=mf||C>=mf);if(T)break;S<0&&(S=0),S+=2}if(n=S,n<1&&(n=1),p===1){for(g=0;g<m;g++)e[b+g]=e[_+g];e[b+m]=o[y]}else{if(p===0)throw new Error;for(g=0;g<p;g++)e[b+g]=o[y+g]}}function d(h,p,v,m){var g=0;for(g=0;g<m;g++)o[g]=e[v+g];var y=h+p-1,_=m-1,b=v+m-1,S=0,w=0;if(e[b--]=e[y--],--p===0){for(S=b-(m-1),g=0;g<m;g++)e[S+g]=o[g];return}if(m===1){for(b-=p,y-=p,w=b+1,S=y+1,g=p-1;g>=0;g--)e[w+g]=e[S+g];e[b]=o[_];return}for(var C=n;;){var T=0,E=0,M=!1;do if(t(o[_],e[y])<0){if(e[b--]=e[y--],T++,E=0,--p===0){M=!0;break}}else if(e[b--]=o[_--],E++,T=0,--m===1){M=!0;break}while((T|E)<C);if(M)break;do{if(T=p-B1(o[_],e,h,p,p-1,t),T!==0){for(b-=T,y-=T,p-=T,w=b+1,S=y+1,g=T-1;g>=0;g--)e[w+g]=e[S+g];if(p===0){M=!0;break}}if(e[b--]=o[_--],--m===1){M=!0;break}if(E=m-N1(e[y],o,0,m,m-1,t),E!==0){for(b-=E,_-=E,m-=E,w=b+1,S=_+1,g=0;g<E;g++)e[w+g]=o[S+g];if(m<=1){M=!0;break}}if(e[b--]=e[y--],--p===0){M=!0;break}C--}while(T>=mf||E>=mf);if(M)break;C<0&&(C=0),C+=2}if(n=C,n<1&&(n=1),m===1){for(b-=p,y-=p,w=b+1,S=y+1,g=p-1;g>=0;g--)e[w+g]=e[S+g];e[b]=o[_]}else{if(m===0)throw new Error;for(S=b-(m-1),g=0;g<m;g++)e[S+g]=o[g]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function vg(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var a=0;if(i<lk){a=_E(e,n,r,t),wE(e,n,r,n+a,t);return}var o=wbe(e,t),s=bbe(i);do{if(a=_E(e,n,r,t),a<s){var l=i;l>s&&(l=s),wE(e,n,n+l,n+a,t),a=l}o.pushRun(n,a),o.mergeRuns(),i-=a,n+=a}while(i!==0);o.forceMergeRuns()}}var Gr=1,Wf=2,zu=4,SE=!1;function F1(){SE||(SE=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function CE(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Sbe=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=CE}return e.prototype.traverse=function(t,n){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,n)},e.prototype.getDisplayList=function(t,n){n=n||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(n),r},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var n=this._roots,r=this._displayList,i=0,a=n.length;i<a;i++)this._updateAndAddDisplayable(n[i],null,t);r.length=this._displayListLen,vg(r,CE)},e.prototype._updateAndAddDisplayable=function(t,n,r){if(!(t.ignore&&!r)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)n=null;else if(i){n?n=n.slice():n=[];for(var a=i,o=t;a;)a.parent=o,a.updateTransform(),n.push(a),o=a,a=a.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),l=0;l<s.length;l++){var u=s[l];t.__dirty&&(u.__dirty|=Gr),this._updateAndAddDisplayable(u,n,r)}t.__dirty=0}else{var c=t;n&&n.length?c.__clipPaths=n:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(F1(),c.z=0),isNaN(c.z2)&&(F1(),c.z2=0),isNaN(c.zlevel)&&(F1(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,n,r);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n<r;n++)this.delRoot(t[n]);return}var i=ft(this._roots,t);i>=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const Cbe=Sbe;var uk;uk=vt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const Q2=uk;var gg={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-gg.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?gg.bounceIn(e*2)*.5:gg.bounceOut(e*2-1)*.5+.5}};const ck=gg;var iv=Math.pow,is=Math.sqrt,pm=1e-8,fk=1e-4,xE=is(3),av=1/3,ma=iu(),li=iu(),oc=iu();function qo(e){return e>-pm&&e<pm}function dk(e){return e>pm||e<-pm}function xn(e,t,n,r,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*r+3*a*n)}function TE(e,t,n,r,i){var a=1-i;return 3*(((t-e)*a+2*(n-t)*i)*a+(r-n)*i*i)}function vm(e,t,n,r,i,a){var o=r+3*(t-n)-e,s=3*(n-t*2+e),l=3*(t-e),u=e-i,c=s*s-3*o*l,f=s*l-9*o*u,d=l*l-3*s*u,h=0;if(qo(c)&&qo(f))if(qo(s))a[0]=0;else{var p=-l/s;p>=0&&p<=1&&(a[h++]=p)}else{var v=f*f-4*c*d;if(qo(v)){var m=f/c,p=-s/o+m,g=-m/2;p>=0&&p<=1&&(a[h++]=p),g>=0&&g<=1&&(a[h++]=g)}else if(v>0){var y=is(v),_=c*s+1.5*o*(-f+y),b=c*s+1.5*o*(-f-y);_<0?_=-iv(-_,av):_=iv(_,av),b<0?b=-iv(-b,av):b=iv(b,av);var p=(-s-(_+b))/(3*o);p>=0&&p<=1&&(a[h++]=p)}else{var S=(2*c*s-3*o*f)/(2*is(c*c*c)),w=Math.acos(S)/3,C=is(c),T=Math.cos(w),p=(-s-2*C*T)/(3*o),g=(-s+C*(T+xE*Math.sin(w)))/(3*o),E=(-s+C*(T-xE*Math.sin(w)))/(3*o);p>=0&&p<=1&&(a[h++]=p),g>=0&&g<=1&&(a[h++]=g),E>=0&&E<=1&&(a[h++]=E)}}return h}function hk(e,t,n,r,i){var a=6*n-12*t+6*e,o=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(qo(o)){if(dk(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(qo(c))i[0]=-a/(2*o);else if(c>0){var f=is(c),u=(-a+f)/(2*o),d=(-a-f)/(2*o);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function gm(e,t,n,r,i,a){var o=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-o)*i+o,c=(l-s)*i+s,f=(c-u)*i+u;a[0]=e,a[1]=o,a[2]=u,a[3]=f,a[4]=f,a[5]=c,a[6]=l,a[7]=r}function xbe(e,t,n,r,i,a,o,s,l,u,c){var f,d=.005,h=1/0,p,v,m,g;ma[0]=l,ma[1]=u;for(var y=0;y<1;y+=.05)li[0]=xn(e,n,i,o,y),li[1]=xn(t,r,a,s,y),m=wl(ma,li),m<h&&(f=y,h=m);h=1/0;for(var _=0;_<32&&!(d<fk);_++)p=f-d,v=f+d,li[0]=xn(e,n,i,o,p),li[1]=xn(t,r,a,s,p),m=wl(li,ma),p>=0&&m<h?(f=p,h=m):(oc[0]=xn(e,n,i,o,v),oc[1]=xn(t,r,a,s,v),g=wl(oc,ma),v<=1&&g<h?(f=v,h=g):d*=.5);return c&&(c[0]=xn(e,n,i,o,f),c[1]=xn(t,r,a,s,f)),is(h)}function Tbe(e,t,n,r,i,a,o,s,l){for(var u=e,c=t,f=0,d=1/l,h=1;h<=l;h++){var p=h*d,v=xn(e,n,i,o,p),m=xn(t,r,a,s,p),g=v-u,y=m-c;f+=Math.sqrt(g*g+y*y),u=v,c=m}return f}function jn(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function EE(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function Ebe(e,t,n,r,i){var a=e-2*t+n,o=2*(t-e),s=e-r,l=0;if(qo(a)){if(dk(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(qo(c)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var f=is(c),u=(-o+f)/(2*a),d=(-o-f)/(2*a);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function pk(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function mm(e,t,n,r,i){var a=(t-e)*r+e,o=(n-t)*r+t,s=(o-a)*r+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function Abe(e,t,n,r,i,a,o,s,l){var u,c=.005,f=1/0;ma[0]=o,ma[1]=s;for(var d=0;d<1;d+=.05){li[0]=jn(e,n,i,d),li[1]=jn(t,r,a,d);var h=wl(ma,li);h<f&&(u=d,f=h)}f=1/0;for(var p=0;p<32&&!(c<fk);p++){var v=u-c,m=u+c;li[0]=jn(e,n,i,v),li[1]=jn(t,r,a,v);var h=wl(li,ma);if(v>=0&&h<f)u=v,f=h;else{oc[0]=jn(e,n,i,m),oc[1]=jn(t,r,a,m);var g=wl(oc,ma);m<=1&&g<f?(u=m,f=g):c*=.5}}return l&&(l[0]=jn(e,n,i,u),l[1]=jn(t,r,a,u)),is(f)}function Mbe(e,t,n,r,i,a,o){for(var s=e,l=t,u=0,c=1/o,f=1;f<=o;f++){var d=f*c,h=jn(e,n,i,d),p=jn(t,r,a,d),v=h-s,m=p-l;u+=Math.sqrt(v*v+m*m),s=h,l=p}return u}var Ibe=/cubic-bezier\(([0-9,\.e ]+)\)/;function vk(e){var t=e&&Ibe.exec(e);if(t){var n=t[1].split(","),r=+Vi(n[0]),i=+Vi(n[1]),a=+Vi(n[2]),o=+Vi(n[3]);if(isNaN(r+i+a+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:vm(0,r,a,1,l,s)&&xn(0,i,o,1,s[0])}}}var Obe=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||zn,this.ondestroy=t.ondestroy||zn,this.onrestart=t.onrestart||zn,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,i=t-this._startTime-this._pausedTime,a=i/r;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%r;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Xe(t)?t:ck[t]||vk(t)},e}();const Pbe=Obe;var gk=function(){function e(t){this.value=t}return e}(),Rbe=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new gk(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),Dbe=function(){function e(t){this._list=new Rbe,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,i=this._map,a=null;if(i[t]==null){var o=r.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=r.head;r.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=n:s=new gk(n),s.key=t,r.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const dp=Dbe;var AE={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ui(e){return e=Math.round(e),e<0?0:e>255?255:e}function Lbe(e){return e=Math.round(e),e<0?0:e>360?360:e}function uh(e){return e<0?0:e>1?1:e}function z1(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Ui(parseFloat(t)/100*255):Ui(parseInt(t,10))}function Sl(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?uh(parseFloat(t)/100):uh(parseFloat(t))}function V1(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Ko(e,t,n){return e+(t-e)*n}function ni(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function J2(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var mk=new dp(20),ov=null;function bu(e,t){ov&&J2(ov,t),ov=mk.put(e,ov||t.slice())}function Or(e,t){if(e){t=t||[];var n=mk.get(e);if(n)return J2(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in AE)return J2(t,AE[r]),bu(e,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(r.slice(1,4),16);if(!(a>=0&&a<=4095)){ni(t,0,0,0,1);return}return ni(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),bu(e,t),t}else if(i===7||i===9){var a=parseInt(r.slice(1,7),16);if(!(a>=0&&a<=16777215)){ni(t,0,0,0,1);return}return ni(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(r.slice(7),16)/255:1),bu(e,t),t}return}var o=r.indexOf("("),s=r.indexOf(")");if(o!==-1&&s+1===i){var l=r.substr(0,o),u=r.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ni(t,+u[0],+u[1],+u[2],1):ni(t,0,0,0,1);c=Sl(u.pop());case"rgb":if(u.length>=3)return ni(t,z1(u[0]),z1(u[1]),z1(u[2]),u.length===3?c:Sl(u[3])),bu(e,t),t;ni(t,0,0,0,1);return;case"hsla":if(u.length!==4){ni(t,0,0,0,1);return}return u[3]=Sl(u[3]),ew(u,t),bu(e,t),t;case"hsl":if(u.length!==3){ni(t,0,0,0,1);return}return ew(u,t),bu(e,t),t;default:return}}ni(t,0,0,0,1)}}function ew(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=Sl(e[1]),i=Sl(e[2]),a=i<=.5?i*(r+1):i+r-i*r,o=i*2-a;return t=t||[],ni(t,Ui(V1(o,a,n+1/3)*255),Ui(V1(o,a,n)*255),Ui(V1(o,a,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function kbe(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s=(a+i)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(a+i):u=o/(2-a-i);var c=((a-t)/6+o/2)/o,f=((a-n)/6+o/2)/o,d=((a-r)/6+o/2)/o;t===a?l=d-f:n===a?l=1/3+c-d:r===a&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var h=[l*360,u,s];return e[3]!=null&&h.push(e[3]),h}}function tw(e,t){var n=Or(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return Gi(n,n.length===4?"rgba":"rgb")}}function $be(e){var t=Or(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function yd(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),o=t[i],s=t[a],l=r-i;return n[0]=Ui(Ko(o[0],s[0],l)),n[1]=Ui(Ko(o[1],s[1],l)),n[2]=Ui(Ko(o[2],s[2],l)),n[3]=uh(Ko(o[3],s[3],l)),n}}var Nbe=yd;function T5(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),o=Or(t[i]),s=Or(t[a]),l=r-i,u=Gi([Ui(Ko(o[0],s[0],l)),Ui(Ko(o[1],s[1],l)),Ui(Ko(o[2],s[2],l)),uh(Ko(o[3],s[3],l))],"rgba");return n?{color:u,leftIndex:i,rightIndex:a,value:r}:u}}var Bbe=T5;function mg(e,t,n,r){var i=Or(e);if(e)return i=kbe(i),t!=null&&(i[0]=Lbe(t)),n!=null&&(i[1]=Sl(n)),r!=null&&(i[2]=Sl(r)),Gi(ew(i),"rgba")}function yk(e,t){var n=Or(e);if(n&&t!=null)return n[3]=uh(t),Gi(n,"rgba")}function Gi(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function ch(e,t){var n=Or(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function Fbe(){return Gi([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}const zbe=Object.freeze(Object.defineProperty({__proto__:null,fastLerp:yd,fastMapToColor:Nbe,lerp:T5,lift:tw,lum:ch,mapToColor:Bbe,modifyAlpha:yk,modifyHSL:mg,parse:Or,random:Fbe,stringify:Gi,toHex:$be},Symbol.toStringTag,{value:"Module"}));function Vbe(e){return e.type==="linear"}function Hbe(e){return e.type==="radial"}(function(){return vt.hasGlobalWindow&&Xe(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}})();var nw=Array.prototype.slice;function Wa(e,t,n){return(t-e)*n+e}function H1(e,t,n,r){for(var i=t.length,a=0;a<i;a++)e[a]=Wa(t[a],n[a],r);return e}function Wbe(e,t,n,r){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=Wa(t[o][s],n[o][s],r)}return e}function sv(e,t,n,r){for(var i=t.length,a=0;a<i;a++)e[a]=t[a]+n[a]*r;return e}function ME(e,t,n,r){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+n[o][s]*r}return e}function Ube(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,a=Math.min(n,r),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(n,r);s++)i.push({offset:o.offset,color:o.color.slice()})}function Gbe(e,t,n){var r=e,i=t;if(!(!r.push||!i.push)){var a=r.length,o=i.length;if(a!==o){var s=a>o;if(s)r.length=o;else for(var l=a;l<o;l++)r.push(n===1?i[l]:nw.call(i[l]))}for(var u=r[0]&&r[0].length,l=0;l<r.length;l++)if(n===1)isNaN(r[l])&&(r[l]=i[l]);else for(var c=0;c<u;c++)isNaN(r[l][c])&&(r[l][c]=i[l][c])}}function bd(e){if(tr(e)){var t=e.length;if(tr(e[0])){for(var n=[],r=0;r<t;r++)n.push(nw.call(e[r]));return n}return nw.call(e)}return e}function yg(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function jbe(e){return tr(e&&e[0])?2:1}var lv=0,bg=1,bk=2,Uf=3,rw=4,iw=5,IE=6;function OE(e){return e===rw||e===iw}function uv(e){return e===bg||e===bk}var yf=[0,0,0,0],qbe=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=IE,l=n;if(tr(n)){var u=jbe(n);s=u,(u===1&&!Ut(n[0])||u===2&&!Ut(n[0][0]))&&(o=!0)}else if(Ut(n)&&!lh(n))s=lv;else if(Be(n))if(!isNaN(+n))s=lv;else{var c=Or(n);c&&(l=c,s=Uf)}else if(lp(n)){var f=me({},l);f.colorStops=ke(n.colorStops,function(h){return{offset:h.offset,color:Or(h.color)}}),Vbe(n)?s=rw:Hbe(n)&&(s=iw),l=f}a===0?this.valType=s:(s!==this.valType||s===IE)&&(o=!0),this.discrete=this.discrete||o;var d={time:t,value:l,rawValue:n,percent:0};return r&&(d.easing=r,d.easingFunc=Xe(r)?r:ck[r]||vk(r)),i.push(d),d},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(v,m){return v.time-m.time});for(var i=this.valType,a=r.length,o=r[a-1],s=this.discrete,l=uv(i),u=OE(i),c=0;c<a;c++){var f=r[c],d=f.value,h=o.value;f.percent=f.time/t,s||(l&&c!==a-1?Gbe(d,h,i):u&&Ube(d.colorStops,h.colorStops))}if(!s&&i!==iw&&n&&this.needsAnimate()&&n.needsAnimate()&&i===n.valType&&!n._finished){this._additiveTrack=n;for(var p=r[0].value,c=0;c<a;c++)i===lv?r[c].additiveValue=r[c].value-p:i===Uf?r[c].additiveValue=sv([],r[c].value,p,-1):uv(i)&&(r[c].additiveValue=i===bg?sv([],r[c].value,p,-1):ME([],r[c].value,p,-1))}},e.prototype.step=function(t,n){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,i=r?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=a===Uf,c,f=this._lastFr,d=Math.min,h,p;if(s===1)h=p=o[0];else{if(n<0)c=0;else if(n<this._lastFrP){var v=d(f+1,s-1);for(c=v;c>=0&&!(o[c].percent<=n);c--);c=d(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>n);c++);c=d(c-1,s-2)}p=o[c+1],h=o[c]}if(h&&p){this._lastFr=c,this._lastFrP=n;var m=p.percent-h.percent,g=m===0?1:d((n-h.percent)/m,1);p.easingFunc&&(g=p.easingFunc(g));var y=r?this._additiveValue:u?yf:t[l];if((uv(a)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=g<1?h.rawValue:p.rawValue;else if(uv(a))a===bg?H1(y,h[i],p[i],g):Wbe(y,h[i],p[i],g);else if(OE(a)){var _=h[i],b=p[i],S=a===rw;t[l]={type:S?"linear":"radial",x:Wa(_.x,b.x,g),y:Wa(_.y,b.y,g),colorStops:ke(_.colorStops,function(C,T){var E=b.colorStops[T];return{offset:Wa(C.offset,E.offset,g),color:yg(H1([],C.color,E.color,g))}}),global:b.global},S?(t[l].x2=Wa(_.x2,b.x2,g),t[l].y2=Wa(_.y2,b.y2,g)):t[l].r=Wa(_.r,b.r,g)}else if(u)H1(y,h[i],p[i],g),r||(t[l]=yg(y));else{var w=Wa(h[i],p[i],g);r?this._additiveValue=w:t[l]=w}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,i=this._additiveValue;n===lv?t[r]=t[r]+i:n===Uf?(Or(t[r],yf),sv(yf,yf,i,1),t[r]=yg(yf)):n===bg?sv(t[r],t[r],i,1):n===bk&&ME(t[r],t[r],i,1)},e}(),Kbe=function(){function e(t,n,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&i){q0("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,Dt(n),r)},e.prototype.whenWithKeys=function(t,n,r,i){for(var a=this._tracks,o=0;o<r.length;o++){var s=r[o],l=a[s];if(!l){l=a[s]=new qbe(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,d=f[f.length-1];u=d&&d.value,c.valType===Uf&&u&&(u=yg(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,bd(u),i),this._trackKeys.push(s)}l.addKeyframe(t,bd(n[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r<n;r++)t[r].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,n=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,n)for(var r=0;r<n.length;r++)n[r].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,n=this._trackKeys,r=0;r<n.length;r++)t[n[r]].setFinished()},e.prototype._getAdditiveTrack=function(t){var n,r=this._additiveAnimators;if(r)for(var i=0;i<r.length;i++){var a=r[i].getTrack(t);a&&(n=a)}return n},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var n=this,r=[],i=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(i,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(n._target[s.propName]=f.rawValue),s.setFinished()}else r.push(s)}if(r.length||this._force){var d=new Pbe({life:i,loop:this._loop,delay:this._delay||0,onframe:function(h){n._started=2;var p=n._additiveAnimators;if(p){for(var v=!1,m=0;m<p.length;m++)if(p[m]._clip){v=!0;break}v||(n._additiveAnimators=null)}for(var m=0;m<r.length;m++)r[m].step(n._target,h);var g=n._onframeCbs;if(g)for(var m=0;m<g.length;m++)g[m](n._target,h)},ondestroy:function(){n._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var n=this._clip;t&&n.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return ke(this._trackKeys,function(n){return t._tracks[n]})},e.prototype.stopTracks=function(t,n){if(!t.length||!this._clip)return!0;for(var r=this._tracks,i=this._trackKeys,a=0;a<t.length;a++){var o=r[t[a]];o&&!o.isFinished()&&(n?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<i.length;a++)if(!r[i[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,n,r){if(t){n=n||this._trackKeys;for(var i=0;i<n.length;i++){var a=n[i],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[r?0:s.length-1];l&&(t[a]=bd(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,n){n=n||Dt(t);for(var r=0;r<n.length;r++){var i=n[r],a=this._tracks[i];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();const E5=Kbe;function Uu(){return new Date().getTime()}var Ybe=function(e){ve(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,i=n.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Uu()-this._pausedTime,i=r-this._time,a=this._head;a;){var o=a.next,s=a.step(r,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=r,n||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(Q2(r),!n._paused&&n.update())}Q2(r)},t.prototype.start=function(){this._running||(this._time=Uu(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Uu(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Uu()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var i=new E5(n,r.loop);return this.addAnimator(i),i},t}(Ti);const Zbe=Ybe;var Xbe=300,W1=vt.domSupported,U1=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=ke(e,function(i){var a=i.replace("mouse","pointer");return n.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:r}}(),PE={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},RE=!1;function aw(e){var t=e.pointerType;return t==="pen"||t==="touch"}function Qbe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function G1(e){e&&(e.zrByTouch=!0)}function Jbe(e,t){return ri(e.dom,new e_e(e,t),!0)}function _k(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var e_e=function(){function e(t,n){this.stopPropagation=zn,this.stopImmediatePropagation=zn,this.preventDefault=zn,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),Li={mousedown:function(e){e=ri(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ri(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=ri(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ri(this.dom,e);var t=e.toElement||e.relatedTarget;_k(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){RE=!0,e=ri(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){RE||(e=ri(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ri(this.dom,e),G1(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Li.mousemove.call(this,e),Li.mousedown.call(this,e)},touchmove:function(e){e=ri(this.dom,e),G1(e),this.handler.processGesture(e,"change"),Li.mousemove.call(this,e)},touchend:function(e){e=ri(this.dom,e),G1(e),this.handler.processGesture(e,"end"),Li.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<Xbe&&Li.click.call(this,e)},pointerdown:function(e){Li.mousedown.call(this,e)},pointermove:function(e){aw(e)||Li.mousemove.call(this,e)},pointerup:function(e){Li.mouseup.call(this,e)},pointerout:function(e){aw(e)||Li.mouseout.call(this,e)}};R(["click","dblclick","contextmenu"],function(e){Li[e]=function(t){t=ri(this.dom,t),this.trigger(e,t)}});var ow={pointermove:function(e){aw(e)||ow.mousemove.call(this,e)},pointerup:function(e){ow.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function t_e(e,t){var n=t.domHandlers;vt.pointerEventsSupported?R(U1.pointer,function(r){_g(t,r,function(i){n[r].call(e,i)})}):(vt.touchEventsSupported&&R(U1.touch,function(r){_g(t,r,function(i){n[r].call(e,i),Qbe(t)})}),R(U1.mouse,function(r){_g(t,r,function(i){i=C5(i),t.touching||n[r].call(e,i)})}))}function n_e(e,t){vt.pointerEventsSupported?R(PE.pointer,n):vt.touchEventsSupported||R(PE.mouse,n);function n(r){function i(a){a=C5(a),_k(e,a.target)||(a=Jbe(e,a),t.domHandlers[r].call(e,a))}_g(t,r,i,{capture:!0})}}function _g(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,X2(e.domTarget,t,n,r)}function j1(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&obe(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var DE=function(){function e(t,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=n}return e}(),r_e=function(e){ve(t,e);function t(n,r){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=n,i.painterRoot=r,i._localHandlerScope=new DE(n,Li),W1&&(i._globalHandlerScope=new DE(document,ow)),t_e(i,i._localHandlerScope),i}return t.prototype.dispose=function(){j1(this._localHandlerScope),W1&&j1(this._globalHandlerScope)},t.prototype.setCursor=function(n){this.dom.style&&(this.dom.style.cursor=n||"default")},t.prototype.__togglePointerCapture=function(n){if(this.__mayPointerCapture=null,W1&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?n_e(this,r):j1(r)}},t}(Ti);const i_e=r_e;var wk=1;vt.hasGlobalWindow&&(wk=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ym=wk,sw=.4,lw="#333",uw="#ccc",a_e="#eee",LE=cp,kE=5e-5;function Os(e){return e>kE||e<-kE}var Ps=[],_u=[],q1=Ul(),K1=Math.abs,o_e=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Os(this.rotation)||Os(this.x)||Os(this.y)||Os(this.scaleX-1)||Os(this.scaleY-1)||Os(this.skewX)||Os(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&LE(r);return}r=r||Ul(),n?this.getLocalTransform(r):LE(r),t&&(n?rs(r,t,r):x5(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Ps);var r=Ps[0]<0?-1:1,i=Ps[1]<0?-1:1,a=((Ps[0]-r)*n+r)/Ps[0]||0,o=((Ps[1]-i)*n+i)/Ps[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Ul(),fp(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(a),n=Math.sqrt(n),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(rs(_u,t.invTransform,n),n=_u);var r=this.originX,i=this.originY;(r||i)&&(q1[4]=r,q1[5]=i,rs(_u,n,q1),_u[4]-=r,_u[5]-=i,n=_u),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&dr(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&dr(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&K1(t[0]-1)>1e-10&&K1(t[3]-1)>1e-10?Math.sqrt(K1(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){s_e(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var p=r+s,v=i+l;n[4]=-p*a-d*v*o,n[5]=-v*o-h*p*a}else n[4]=n[5]=0;return n[0]=a,n[3]=o,n[1]=h*a,n[2]=d*o,u&&Y0(n,n,u),n[4]+=r+c,n[5]+=i+f,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Aa=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function s_e(e,t){for(var n=0;n<Aa.length;n++){var r=Aa[n];e[r]=t[r]}}const A5=o_e;var $E={};function Yr(e,t){t=t||Hl;var n=$E[t];n||(n=$E[t]=new dp(500));var r=n.get(e);return r==null&&(r=io.measureText(e,t).width,n.put(e,r)),r}function NE(e,t,n,r){var i=Yr(e,t),a=M5(t),o=Gf(0,i,n),s=Vu(0,a,r),l=new Et(o,s,i,a);return l}function Z0(e,t,n,r){var i=((e||"")+"").split(`
`),a=i.length;if(a===1)return NE(i[0],t,n,r);for(var o=new Et(0,0,0,0),s=0;s<i.length;s++){var l=NE(i[s],t,n,r);s===0?o.copy(l):o.union(l)}return o}function Gf(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function Vu(e,t,n){return n==="middle"?e-=t/2:n==="bottom"&&(e-=t),e}function M5(e){return Yr("国",e)}function Ma(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function bm(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=Ma(r[0],n.width),u+=Ma(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+o,u+=s,f="middle";break;case"top":l+=o/2,u-=i,c="center",f="bottom";break;case"bottom":l+=o/2,u+=a+i,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=o-i,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=i,c="center";break;case"insideBottom":l+=o/2,u+=a-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=a-i,f="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var Y1="__zr_normal__",Z1=Aa.concat(["ignore"]),l_e=Yi(Aa,function(e,t){return e[t]=!0,e},{ignore:!1}),wu={},u_e=new Et(0,0,0,0),I5=function(){function e(t){this.id=m5(),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 i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[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,i=r.local,a=n.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(n),r.position!=null){var c=u_e;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(wu,r,c):bm(wu,r,c),a.x=wu.x,a.y=wu.y,o=wu.align,s=wu.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=Ma(f[0],c.width),h=Ma(f[1],c.height)),u=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+h+(i?0:c.y)}}r.rotation!=null&&(a.rotation=r.rotation);var p=r.offset;p&&(a.x+=p[0],a.y+=p[1],u||(a.originX=-p[0],a.originY=-p[1]));var v=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,y=void 0,_=void 0;v&&this.canBeInsideText()?(g=r.insideFill,y=r.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(g),_=!0)):(g=r.outsideFill,y=r.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(g),_=!0)),g=g||"#000",(g!==m.fill||y!==m.stroke||_!==m.autoStroke||o!==m.align||s!==m.verticalAlign)&&(l=!0,m.fill=g,m.stroke=y,m.autoStroke=_,m.align=o,m.verticalAlign=s,n.setDefaultTextStyle(m)),n.__dirty|=Gr,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()?uw:lw},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&Or(n);r||(r=[255,255,255,1]);for(var i=r[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*i+(a?0:255)*(1-i);return r[3]=1,Gi(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},me(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(ze(t))for(var r=t,i=Dt(r),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var n=this._normalState,r=0;r<this.animators.length;r++){var i=this.animators[r],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==Y1)){var o=i.targetName,s=o?n[o]:n;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var n=this._normalState;n||(n=this._normalState={}),t.textConfig&&!n.textConfig&&(n.textConfig=this.textConfig),this._savePrimaryToNormal(t,n,Z1)},e.prototype._savePrimaryToNormal=function(t,n,r){for(var i=0;i<r.length;i++){var a=r[i];t[a]!=null&&!(a in n)&&(n[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(Y1,!1,t)},e.prototype.useState=function(t,n,r,i){var a=t===Y1,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(ft(s,t)>=0&&(n||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!a){q0("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,n,r,c),d&&d.useState(t,n,r,c),a?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Gr),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l<o;l++)if(t[l]!==a[l]){s=!1;break}}if(s)return;for(var l=0;l<o;l++){var u=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&i.push(c)}var f=i[o-1],d=!!(f&&f.hoverLayer||r);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!n&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,m=this._textGuide;v&&v.useStates(t,n,d),m&&m.useStates(t,n,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Gr)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var n=this.animators[t];n.targetName&&n.changeTarget(this[n.targetName])}},e.prototype.removeState=function(t){var n=ft(this.currentStates,t);if(n>=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),a=ft(i,t),o=ft(i,n)>=0;a>=0?o?i.splice(a,1):i[a]=n:r&&!o&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i<t.length;i++){var a=t[i];me(n,a),a.textConfig&&(r=r||{},me(r,a.textConfig))}return r&&(n.textConfig=r),n},e.prototype._applyStateObj=function(t,n,r,i,a,o){var s=!(n&&i);n&&n.textConfig?(this.textConfig=me({},i?this.textConfig:r.textConfig),me(this.textConfig,n.textConfig)):s&&r.textConfig&&(this.textConfig=r.textConfig);for(var l={},u=!1,c=0;c<Z1.length;c++){var f=Z1[c],d=a&&l_e[f];n&&n[f]!=null?d?(u=!0,l[f]=n[f]):this[f]=n[f]:s&&r[f]!=null&&(d?(u=!0,l[f]=r[f]):this[f]=r[f])}if(!a)for(var c=0;c<this.animators.length;c++){var h=this.animators[c],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(n||r)[p]:n||r)}u&&this._transitionState(t,l,o)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var n=this.__zr;n&&t.addSelfToZr(n),t.__zr=n,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var n=this._textContent;n!==t&&(n&&n!==t&&this.removeTextContent(),t.innerTransformable=new A5,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),me(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Gr;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var n=this._textContent,r=this._textGuide;n&&(n.__inHover=t),r&&(r.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.addAnimator(n[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.removeAnimator(n[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,n,r){var i=t?this[t]:this,a=new E5(i,n,r);return t&&(a.targetName=t),this.addAnimator(a,t),a},e.prototype.addAnimator=function(t,n){var r=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(n)}).done(function(){var a=i.animators,o=ft(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,a=[],o=0;o<i;o++){var s=r[o];!t||t===s.scope?s.stop(n):a.push(s)}return this.animators=a,this},e.prototype.animateTo=function(t,n,r){X1(this,t,n,r)},e.prototype.animateFrom=function(t,n,r){X1(this,t,n,r,!0)},e.prototype._transitionState=function(t,n,r,i){for(var a=X1(this,n,r,i),o=0;o<a.length;o++)a[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Gr;function n(r,i,a,o){Object.defineProperty(t,r,{get:function(){if(!this[i]){var l=this[i]=[];s(this,l)}return this[i]},set:function(l){this[a]=l[0],this[o]=l[1],this[i]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[a]},set:function(c){l[a]=c}}),Object.defineProperty(u,1,{get:function(){return l[o]},set:function(c){l[o]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();xi(I5,Ti);xi(I5,A5);function X1(e,t,n,r,i){n=n||{};var a=[];Sk(e,"",e,t,n,r,a,i);var o=a.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},f=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during(function(p,v){n.during(v)});for(var d=0;d<a.length;d++){var h=a[d];c&&h.done(c),f&&h.aborted(f),n.force&&h.duration(n.duration),h.start(n.easing)}return a}function Q1(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function c_e(e){return tr(e[0])}function f_e(e,t,n){if(tr(t[n]))if(tr(e[n])||(e[n]=[]),$r(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),Q1(e[n],t[n],r))}else{var i=t[n],a=e[n],o=i.length;if(c_e(i))for(var s=i[0].length,l=0;l<o;l++)a[l]?Q1(a[l],i[l],s):a[l]=Array.prototype.slice.call(i[l]);else Q1(a,i,o);a.length=i.length}else e[n]=t[n]}function d_e(e,t){return e===t||tr(e)&&tr(t)&&h_e(e,t)}function h_e(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function Sk(e,t,n,r,i,a,o,s){for(var l=Dt(r),u=i.duration,c=i.delay,f=i.additive,d=i.setToFinal,h=!ze(a),p=e.animators,v=[],m=0;m<l.length;m++){var g=l[m],y=r[g];if(y!=null&&n[g]!=null&&(h||a[g]))if(ze(y)&&!tr(y)&&!lp(y)){if(t){s||(n[g]=y,e.updateDuringAnimation(t));continue}Sk(e,g,n[g],y,i,a&&a[g],o,s)}else v.push(g);else s||(n[g]=y,e.updateDuringAnimation(t),v.push(g))}var _=v.length;if(!f&&_)for(var b=0;b<p.length;b++){var S=p[b];if(S.targetName===t){var w=S.stopTracks(v);if(w){var C=ft(p,S);p.splice(C,1)}}}if(i.force||(v=hn(v,function(A){return!d_e(r[A],n[A])}),_=v.length),_>0||i.force&&!o.length){var T=void 0,E=void 0,M=void 0;if(s){E={},d&&(T={});for(var b=0;b<_;b++){var g=v[b];E[g]=n[g],d?T[g]=r[g]:n[g]=r[g]}}else if(d){M={};for(var b=0;b<_;b++){var g=v[b];M[g]=bd(n[g]),f_e(n,r,g)}}var S=new E5(n,!1,!1,f?hn(p,function(I){return I.targetName===t}):null);S.targetName=t,i.scope&&(S.scope=i.scope),d&&T&&S.whenWithKeys(0,T,v),M&&S.whenWithKeys(0,M,v),S.whenWithKeys(u??500,s?E:r,v).delay(c||0),e.addAnimator(S,t),o.push(S)}}const Ck=I5;var xk=function(e){ve(t,e);function t(n){var r=e.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(n){return this._children[n]},t.prototype.childOfName=function(n){for(var r=this._children,i=0;i<r.length;i++)if(r[i].name===n)return r[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(n){return n&&n!==this&&n.parent!==this&&(this._children.push(n),this._doAdd(n)),this},t.prototype.addBefore=function(n,r){if(n&&n!==this&&n.parent!==this&&r&&r.parent===this){var i=this._children,a=i.indexOf(r);a>=0&&(i.splice(a,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=ft(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,a=i[r];if(n&&n!==this&&n.parent!==this&&n!==a){i[r]=n,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,a=ft(i,n);return a<0?this:(i.splice(a,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i<n.length;i++){var a=n[i];r&&a.removeSelfFromZr(r),a.parent=null}return n.length=0,this},t.prototype.eachChild=function(n,r){for(var i=this._children,a=0;a<i.length;a++){var o=i[a];n.call(r,o,a)}return this},t.prototype.traverse=function(n,r){for(var i=0;i<this._children.length;i++){var a=this._children[i],o=n.call(r,a);a.isGroup&&!o&&a.traverse(n,r)}return this},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.addSelfToZr(n)}},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.removeSelfFromZr(n)}},t.prototype.getBoundingRect=function(n){for(var r=new Et(0,0,0,0),i=n||this._children,a=[],o=null,s=0;s<i.length;s++){var l=i[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(a);c?(Et.applyTransform(r,u,c),o=o||r.clone(),o.union(r)):(o=o||u.clone(),o.union(u))}}return o||r},t}(Ck);xk.prototype.type="group";const qt=xk;/*!
* 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 wg={},ll={};function p_e(e){delete ll[e]}function v_e(e){if(!e)return!1;if(typeof e=="string")return ch(e,1)<sw;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=ch(t[i].color,1);return n/=r,n<sw}return!1}var g_e=function(){function e(t,n,r){var i=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 a=new Cbe,o=r.renderer||"canvas";wg[o]||(o=Dt(wg)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var s=new wg[o](n,a,r,t),l=r.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!vt.node&&!vt.worker&&!l?new i_e(s.getViewportRoot(),s.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?vt.touchEventsSupported:!!c,d=44,h;f&&(h=xt(r.pointerSize,d)),this.handler=new ybe(a,s,u,s.root,h),this.animation=new Zbe({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=v_e(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var n,r=Uu();this._needsRefresh&&(n=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var i=Uu();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-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.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this.handler.off(t,n)},e.prototype.trigger=function(t,n){this.handler.trigger(t,n)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof qt&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,p_e(this.id)},e}();function cw(e,t){var n=new g_e(m5(),e,t);return ll[n.id]=n,n}function m_e(e){e.dispose()}function y_e(){for(var e in ll)ll.hasOwnProperty(e)&&ll[e].dispose();ll={}}function b_e(e){return ll[e]}function Tk(e,t){wg[e]=t}var __e="5.4.3";const w_e=Object.freeze(Object.defineProperty({__proto__:null,dispose:m_e,disposeAll:y_e,getInstance:b_e,init:cw,registerPainter:Tk,version:__e},Symbol.toStringTag,{value:"Module"}));var BE=1e-4,Ek=20;function S_e(e){return e.replace(/^\s+|\s+$/g,"")}function en(e,t,n,r){var i=t[0],a=t[1],o=n[0],s=n[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(r)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function Ht(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Be(e)?S_e(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function vn(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),Ek),e=(+e).toFixed(t),n?e:+e}function Yo(e){return e.sort(function(t,n){return t-n}),e}function _a(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return Ak(e)}function Ak(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-r)}function O5(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),a=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function C_e(e,t,n){if(!e[t])return 0;var r=Mk(e,n);return r[t]||0}function Mk(e,t){var n=Yi(e,function(h,p){return h+(isNaN(p)?0:p)},0);if(n===0)return[];for(var r=Math.pow(10,t),i=ke(e,function(h){return(isNaN(h)?0:h)/n*r*100}),a=r*100,o=ke(i,function(h){return Math.floor(h)}),s=Yi(o,function(h,p){return h+p},0),l=ke(i,function(h,p){return h-o[p]});s<a;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,d=l.length;f<d;++f)l[f]>u&&(u=l[f],c=f);++o[c],l[c]=0,++s}return ke(o,function(h){return h/r})}function x_e(e,t){var n=Math.max(_a(e),_a(t)),r=e+t;return n>Ek?r:vn(r,n)}var T_e=9007199254740991;function P5(e){var t=Math.PI*2;return(e%t+t)%t}function fh(e){return e>-BE&&e<BE}var E_e=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function _i(e){if(e instanceof Date)return e;if(Be(e)){var t=E_e.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function Ik(e){return Math.pow(10,X0(e))}function X0(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function R5(e,t){var n=X0(e),r=Math.pow(10,n),i=e/r,a;return t?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,e=a*r,n>=-20?+e.toFixed(n<0?-n:0):e}function A_e(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i}function fw(e){e.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,a=e[r].close,o=0;o<2;o++)i[o]<=t&&(i[o]=t,a[o]=o?1:1-n),t=i[o],n=a[o];i[0]===i[1]&&a[0]*a[1]!==1?e.splice(r,1):r++}return e;function s(l,u,c){return l.interval[c]<u.interval[c]||l.interval[c]===u.interval[c]&&(l.close[c]-u.close[c]===(c?-1:1)||!c&&s(l,u,1))}}function dh(e){var t=parseFloat(e);return t==e&&(t!==0||!Be(e)||e.indexOf("x")<=0)?t:NaN}function Ok(e){return!isNaN(dh(e))}function Pk(){return Math.round(Math.random()*9)}function Rk(e,t){return t===0?e:Rk(t,e%t)}function FE(e,t){return e==null?t:t==null?e:e*t/Rk(e,t)}function Cr(e){throw new Error(e)}function zE(e,t,n){return(t-e)*n+e}var Dk="series\0",Lk="\0_ec_\0";function Sn(e){return e instanceof Array?e:e==null?[]:[e]}function dw(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var a=n[r];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}var VE=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function hp(e){return ze(e)&&!Ce(e)&&!(e instanceof Date)?e.value:e}function M_e(e){return ze(e)&&!(e instanceof Array)}function kk(e,t,n){var r=n==="normalMerge",i=n==="replaceMerge",a=n==="replaceAll";e=e||[],t=(t||[]).slice();var o=Qe();R(t,function(l,u){if(!ze(l)){t[u]=null;return}});var s=I_e(e,o,n);return(r||i)&&O_e(s,e,o,t),r&&P_e(s,t),r||i?R_e(s,t,i):a&&D_e(s,t),L_e(s),s}function I_e(e,t,n){var r=[];if(n==="replaceAll")return r;for(var i=0;i<e.length;i++){var a=e[i];a&&a.id!=null&&t.set(a.id,i),r.push({existing:n==="replaceMerge"||hh(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return r}function O_e(e,t,n,r){R(r,function(i,a){if(!(!i||i.id==null)){var o=_d(i.id),s=n.get(o);if(s!=null){var l=e[s];bi(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=i,l.existing=t[s],r[a]=null}}})}function P_e(e,t){R(t,function(n,r){if(!(!n||n.name==null))for(var i=0;i<e.length;i++){var a=e[i].existing;if(!e[i].newOption&&a&&(a.id==null||n.id==null)&&!hh(n)&&!hh(a)&&$k("name",a,n)){e[i].newOption=n,t[r]=null;return}}})}function R_e(e,t,n){R(t,function(r){if(r){for(var i,a=0;(i=e[a])&&(i.newOption||hh(i.existing)||i.existing&&r.id!=null&&!$k("id",r,i.existing));)a++;i?(i.newOption=r,i.brandNew=n):e.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),a++}})}function D_e(e,t){R(t,function(n){e.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function L_e(e){var t=Qe();R(e,function(n){var r=n.existing;r&&t.set(r.id,n)}),R(e,function(n){var r=n.newOption;bi(!r||r.id==null||!t.get(r.id)||t.get(r.id)===n,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&t.set(r.id,n),!n.keyInfo&&(n.keyInfo={})}),R(e,function(n,r){var i=n.existing,a=n.newOption,o=n.keyInfo;if(ze(a)){if(o.name=a.name!=null?_d(a.name):i?i.name:Dk+r,i)o.id=_d(i.id);else if(a.id!=null)o.id=_d(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,n)}})}function $k(e,t,n){var r=cr(t[e],null),i=cr(n[e],null);return r!=null&&i!=null&&r===i}function _d(e){return cr(e,"")}function cr(e,t){return e==null?t:Be(e)?e:Ut(e)||um(e)?e+"":t}function D5(e){var t=e.name;return!!(t&&t.indexOf(Dk))}function hh(e){return e&&e.id!=null&&_d(e.id).indexOf(Lk)===0}function k_e(e){return Lk+e}function $_e(e,t,n){R(e,function(r){var i=r.newOption;ze(i)&&(r.keyInfo.mainType=t,r.keyInfo.subType=N_e(t,i,r.existing,n))})}function N_e(e,t,n,r){var i=t.type?t.type:n?n.subType:r.determineSubType(e,t);return i}function B_e(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[a(n),a(r)];function i(o,s,l){for(var u=0,c=o.length;u<c;u++){var f=cr(o[u].seriesId,null);if(f==null)return;for(var d=Sn(o[u].dataIndex),h=l&&l[f],p=0,v=d.length;p<v;p++){var m=d[p];h&&h[m]?h[m]=null:(s[f]||(s[f]={}))[m]=1}}}function a(o,s){var l=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(s)l.push(+u);else{var c=a(o[u],!0);c.length&&l.push({seriesId:u,dataIndex:c})}return l}}function Gl(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return Ce(t.dataIndex)?ke(t.dataIndex,function(n){return e.indexOfRawIndex(n)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return Ce(t.name)?ke(t.name,function(n){return e.indexOfName(n)}):e.indexOfName(t.name)}function tn(){var e="__ec_inner_"+F_e++;return function(t){return t[e]||(t[e]={})}}var F_e=Pk();function wd(e,t,n){var r=L5(t,n),i=r.mainTypeSpecified,a=r.queryOptionMap,o=r.others,s=o,l=n?n.defaultMainType:null;return!i&&l&&a.set(l,{}),a.each(function(u,c){var f=pp(e,c,u,{useDefault:l===c,enableAll:n&&n.enableAll!=null?n.enableAll:!0,enableNone:n&&n.enableNone!=null?n.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function L5(e,t){var n;if(Be(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=Qe(),a={},o=!1;return R(n,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){a[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||t&&t.includeMainTypes&&ft(t.includeMainTypes,c)<0)){o=o||!!c;var d=i.get(c)||i.set(c,{});d[f]=s}}),{mainTypeSpecified:o,queryOptionMap:i,others:a}}var fr={useDefault:!0,enableAll:!1,enableNone:!1},z_e={useDefault:!1,enableAll:!0,enableNone:!0};function pp(e,t,n,r){r=r||fr;var i=n.index,a=n.id,o=n.name,s={models:null,specified:i!=null||a!=null||o!=null};if(!s.specified){var l=void 0;return s.models=r.useDefault&&(l=e.getComponent(t))?[l]:[],s}return i==="none"||i===!1?(bi(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(bi(r.enableAll,'`"all"` is not a valid value on index option.'),i=a=o=null),s.models=e.queryComponents({mainType:t,index:i,id:a,name:o}),s)}function Nk(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function V_e(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function H_e(e){return e==="auto"?vt.domSupported?"html":"richText":e||"html"}function W_e(e,t,n,r,i){var a=t==null||t==="auto";if(r==null)return r;if(Ut(r)){var o=zE(n||0,r,i);return vn(o,a?Math.max(_a(n||0),_a(r)):t)}else{if(Be(r))return i<1?n:r;for(var s=[],l=n,u=r,c=Math.max(l?l.length:0,u.length),f=0;f<c;++f){var d=e.getDimensionInfo(f);if(d&&d.type==="ordinal")s[f]=(i<1&&l?l:u)[f];else{var h=l&&l[f]?l[f]:0,p=u[f],o=zE(h,p,i);s[f]=vn(o,a?Math.max(_a(h),_a(p)):t)}}return s}}var U_e=".",Rs="___EC__COMPONENT__CONTAINER___",Bk="___EC__EXTENDED_CLASS___";function wa(e){var t={main:"",sub:""};if(e){var n=e.split(U_e);t.main=n[0]||"",t.sub=n[1]||""}return t}function G_e(e){bi(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function j_e(e){return!!(e&&e[Bk])}function k5(e,t){e.$constructor=e,e.extend=function(n){var r=this,i;return q_e(r)?i=function(a){ve(o,a);function o(){return a.apply(this,arguments)||this}return o}(r):(i=function(){(n.$constructor||r).apply(this,arguments)},y5(i,this)),me(i.prototype,n),i[Bk]=!0,i.extend=this.extend,i.superCall=Z_e,i.superApply=X_e,i.superClass=r,i}}function q_e(e){return Xe(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Fk(e,t){e.extend=t.extend}var K_e=Math.round(Math.random()*10);function Y_e(e){var t=["__\0is_clz",K_e++].join("_");e.prototype[t]=!0,e.isInstance=function(n){return!!(n&&n[t])}}function Z_e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function X_e(e,t,n){return this.superClass.prototype[t].apply(e,n)}function Q0(e){var t={};e.registerClass=function(r){var i=r.type||r.prototype.type;if(i){G_e(i),r.prototype.type=i;var a=wa(i);if(!a.sub)t[a.main]=r;else if(a.sub!==Rs){var o=n(a);o[a.sub]=r}}return r},e.getClass=function(r,i,a){var o=t[r];if(o&&o[Rs]&&(o=i?o[i]:null),a&&!o)throw new Error(i?"Component "+r+"."+(i||"")+" is used but not imported.":r+".type should be specified.");return o},e.getClassesByMainType=function(r){var i=wa(r),a=[],o=t[i.main];return o&&o[Rs]?R(o,function(s,l){l!==Rs&&a.push(s)}):a.push(o),a},e.hasClass=function(r){var i=wa(r);return!!t[i.main]},e.getAllClassMainTypes=function(){var r=[];return R(t,function(i,a){r.push(a)}),r},e.hasSubTypes=function(r){var i=wa(r),a=t[i.main];return a&&a[Rs]};function n(r){var i=t[r.main];return(!i||!i[Rs])&&(i=t[r.main]={},i[Rs]=!0),i}}function ph(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(r,i,a){for(var o={},s=0;s<e.length;s++){var l=e[s][1];if(!(i&&ft(i,l)>=0||a&&ft(a,l)<0)){var u=r.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var Q_e=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],J_e=ph(Q_e),e2e=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return J_e(this,t,n)},e}(),hw=new dp(50);function t2e(e){if(typeof e=="string"){var t=hw.get(e);return t&&t.image}else return e}function zk(e,t,n,r,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var a=hw.get(e),o={hostEl:n,cb:r,cbPayload:i};return a?(t=a.image,!J0(t)&&a.pending.push(o)):(t=io.loadImage(e,HE,HE),t.__zrImageSrc=e,hw.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function HE(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function J0(e){return e&&e.width&&e.height}var J1=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Vk(e,t,n,r,i){if(!t)return"";var a=(e+"").split(`
`);i=Hk(t,n,r,i);for(var o=0,s=a.length;o<s;o++)a[o]=Wk(a[o],i);return a.join(`
`)}function Hk(e,t,n,r){r=r||{};var i=me({},r);i.font=t,n=xt(n,"..."),i.maxIterations=xt(r.maxIterations,2);var a=i.minChar=xt(r.minChar,0);i.cnCharWidth=Yr("国",t);var o=i.ascCharWidth=Yr("a",t);i.placeholder=xt(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=Yr(n,t);return u>s&&(n="",u=0),s=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function Wk(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var a=Yr(e,r);if(a<=n)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?n2e(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Yr(e,r)}return e===""&&(e=t.placeholder),e}function n2e(e,t,n,r){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?n:r}return a}function r2e(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,i=t.font,a=n==="truncate",o=M5(i),s=xt(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(n==="break"||n==="breakAll")?f=e?Uk(e,t.font,c,n==="breakAll",0).lines:[]:f=e?e.split(`
`):[];var d=f.length*s,h=xt(t.height,d);if(d>h&&u){var p=Math.floor(h/s);f=f.slice(0,p)}if(e&&a&&c!=null)for(var v=Hk(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m=0;m<f.length;m++)f[m]=Wk(f[m],v);for(var g=h,y=0,m=0;m<f.length;m++)y=Math.max(Yr(f[m],i),y);c==null&&(c=y);var _=y;return r&&(g+=r[0]+r[2],_+=r[1]+r[3],c+=r[1]+r[3]),l&&(_=c),{lines:f,height:h,outerWidth:_,outerHeight:g,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:d,width:c}}var i2e=function(){function e(){}return e}(),WE=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),a2e=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function o2e(e,t){var n=new a2e;if(e!=null&&(e+=""),!e)return n;for(var r=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:a==="breakAll"}:null,s=J1.lastIndex=0,l;(l=J1.exec(e))!=null;){var u=l.index;u>s&&eb(n,e.substring(s,u),t,o),eb(n,l[2],t,o,l[1]),s=J1.lastIndex}s<e.length&&eb(n,e.substring(s,e.length),t,o);var c=[],f=0,d=0,h=t.padding,p=a==="truncate",v=t.lineOverflow==="truncate";function m(V,z,q){V.width=z,V.lineHeight=q,f+=q,d=Math.max(d,z)}e:for(var g=0;g<n.lines.length;g++){for(var y=n.lines[g],_=0,b=0,S=0;S<y.tokens.length;S++){var w=y.tokens[S],C=w.styleName&&t.rich[w.styleName]||{},T=w.textPadding=C.padding,E=T?T[1]+T[3]:0,M=w.font=C.font||t.font;w.contentHeight=M5(M);var A=xt(C.height,w.contentHeight);if(w.innerHeight=A,T&&(A+=T[0]+T[2]),w.height=A,w.lineHeight=ic(C.lineHeight,t.lineHeight,A),w.align=C&&C.align||t.align,w.verticalAlign=C&&C.verticalAlign||"middle",v&&i!=null&&f+w.lineHeight>i){S>0?(y.tokens=y.tokens.slice(0,S),m(y,b,_),n.lines=n.lines.slice(0,g+1)):n.lines=n.lines.slice(0,g);break e}var I=C.width,O=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")w.percentWidth=I,c.push(w),w.contentWidth=Yr(w.text,M);else{if(O){var D=C.backgroundColor,F=D&&D.image;F&&(F=t2e(F),J0(F)&&(w.width=Math.max(w.width,F.width*A/F.height)))}var k=p&&r!=null?r-b:null;k!=null&&k<w.width?!O||k<E?(w.text="",w.width=w.contentWidth=0):(w.text=Vk(w.text,k-E,M,t.ellipsis,{minChar:t.truncateMinChar}),w.width=w.contentWidth=Yr(w.text,M)):w.contentWidth=Yr(w.text,M)}w.width+=E,b+=w.width,C&&(_=Math.max(_,w.lineHeight))}m(y,b,_)}n.outerWidth=n.width=xt(r,d),n.outerHeight=n.height=xt(i,f),n.contentHeight=f,n.contentWidth=d,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]);for(var g=0;g<c.length;g++){var w=c[g],H=w.percentWidth;w.width=parseInt(H,10)/100*n.width}return n}function eb(e,t,n,r,i){var a=t==="",o=i&&n.rich[i]||{},s=e.lines,l=o.font||n.font,u=!1,c,f;if(r){var d=o.padding,h=d?d[1]+d[3]:0;if(o.width!=null&&o.width!=="auto"){var p=Ma(o.width,r.width)+h;s.length>0&&p+r.accumWidth>r.width&&(c=t.split(`
`),u=!0),r.accumWidth=p}else{var v=Uk(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=v.accumWidth+h,f=v.linesWidths,c=v.lines}}else c=t.split(`
`);for(var m=0;m<c.length;m++){var g=c[m],y=new i2e;if(y.styleName=i,y.text=g,y.isLineHolder=!g&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[m]:Yr(g,l),!m&&!u){var _=(s[s.length-1]||(s[0]=new WE)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(g||!b||a)&&_.push(y)}else s.push(new WE([y]))}}function s2e(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var l2e=Yi(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function u2e(e){return s2e(e)?!!l2e[e]:!0}function Uk(e,t,n,r,i){for(var a=[],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),a.push(s),o.push(c),s="",l="",u=0,c=0;continue}var h=Yr(d,t),p=r?!1:!u2e(d);if(a.length?c+h>n:i+c+h>n){c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=d,c=h)):p?(a.push(l),o.push(u),l=d,u=h):(a.push(d),o.push(h));continue}c+=h,p?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),a.length===1&&(c+=i),{accumWidth:c,lines:a,linesWidths:o}}var pw="__zr_style_"+Math.round(Math.random()*10),Cl={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ey={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Cl[pw]=!0;var UE=["z","z2","invisible"],c2e=["invisible"],f2e=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Dt(n),i=0;i<r.length;i++){var a=r[i];a==="style"?this.useStyle(n[a]):e.prototype.attrKV.call(this,a,n[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,r,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&d2e(this,n,r)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var 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 i=this.transformCoordToLocal(n,r),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new Et(0,0,0,0)),r?Et.applyTransform(n,i,r):n.copy(i),(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 Et(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:me(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=Wf,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Wf)},t.prototype.styleUpdated=function(){this.__dirty&=~Wf},t.prototype.createStyle=function(n){return up(Cl,n)},t.prototype.useStyle=function(n){n[pw]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},t.prototype.isStyleObject=function(n){return n[pw]},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,UE)},t.prototype._applyStateObj=function(n,r,i,a,o,s){e.prototype._applyStateObj.call(this,n,r,i,a,o,s);var l=!(r&&a),u;if(r&&r.style?o?a?u=r.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,r.style)):l&&(u=i.style),u)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=Dt(c),d=0;d<f.length;d++){var h=f[d];h in u&&(u[h]=u[h],this.style[h]=c[h])}for(var p=Dt(u),d=0;d<p.length;d++){var h=p[d];this.style[h]=this.style[h]}this._transitionState(n,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var v=this.__inHover?c2e:UE,d=0;d<v.length;d++){var h=v[d];r&&r[h]!=null?this[h]=r[h]:l&&i[h]!=null&&(this[h]=i[h])}},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),i,a=0;a<n.length;a++){var o=n[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(r.style=i),r},t.prototype._mergeStyle=function(n,r){return me(n,r),n},t.prototype.getAnimationStyleProps=function(){return ey},t.initDefaultProps=function(){var n=t.prototype;n.type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,n.__dirty=Gr|Wf}(),t}(Ck),tb=new Et(0,0,0,0),nb=new Et(0,0,0,0);function d2e(e,t,n){return tb.copy(e.getBoundingRect()),e.transform&&tb.applyTransform(e.transform),nb.width=t,nb.height=n,!tb.intersect(nb)}const au=f2e;var ui=Math.min,ci=Math.max,rb=Math.sin,ib=Math.cos,Ds=Math.PI*2,cv=iu(),fv=iu(),dv=iu();function GE(e,t,n,r,i,a){i[0]=ui(e,n),i[1]=ui(t,r),a[0]=ci(e,n),a[1]=ci(t,r)}var jE=[],qE=[];function h2e(e,t,n,r,i,a,o,s,l,u){var c=hk,f=xn,d=c(e,n,i,o,jE);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var h=0;h<d;h++){var p=f(e,n,i,o,jE[h]);l[0]=ui(p,l[0]),u[0]=ci(p,u[0])}d=c(t,r,a,s,qE);for(var h=0;h<d;h++){var v=f(t,r,a,s,qE[h]);l[1]=ui(v,l[1]),u[1]=ci(v,u[1])}l[0]=ui(e,l[0]),u[0]=ci(e,u[0]),l[0]=ui(o,l[0]),u[0]=ci(o,u[0]),l[1]=ui(t,l[1]),u[1]=ci(t,u[1]),l[1]=ui(s,l[1]),u[1]=ci(s,u[1])}function p2e(e,t,n,r,i,a,o,s){var l=pk,u=jn,c=ci(ui(l(e,n,i),1),0),f=ci(ui(l(t,r,a),1),0),d=u(e,n,i,c),h=u(t,r,a,f);o[0]=ui(e,i,d),o[1]=ui(t,a,h),s[0]=ci(e,i,d),s[1]=ci(t,a,h)}function v2e(e,t,n,r,i,a,o,s,l){var u=Go,c=jo,f=Math.abs(i-a);if(f%Ds<1e-4&&f>1e-4){s[0]=e-n,s[1]=t-r,l[0]=e+n,l[1]=t+r;return}if(cv[0]=ib(i)*n+e,cv[1]=rb(i)*r+t,fv[0]=ib(a)*n+e,fv[1]=rb(a)*r+t,u(s,cv,fv),c(l,cv,fv),i=i%Ds,i<0&&(i=i+Ds),a=a%Ds,a<0&&(a=a+Ds),i>a&&!o?a+=Ds:i<a&&o&&(i+=Ds),o){var d=a;a=i,i=d}for(var h=0;h<a;h+=Math.PI/2)h>i&&(dv[0]=ib(h)*n+e,dv[1]=rb(h)*r+t,u(s,dv,s),c(l,dv,l))}var $t={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ls=[],ks=[],oa=[],So=[],sa=[],la=[],ab=Math.min,ob=Math.max,$s=Math.cos,Ns=Math.sin,Na=Math.abs,vw=Math.PI,Lo=vw*2,sb=typeof Float32Array<"u",bf=[];function lb(e){var t=Math.round(e/vw*1e8)/1e8;return t%2*vw}function g2e(e,t){var n=lb(e[0]);n<0&&(n+=Lo);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=Lo?i=n+Lo:t&&n-i>=Lo?i=n-Lo:!t&&n>i?i=n+(Lo-lb(n-i)):t&&n<i&&(i=n-(Lo-lb(i-n))),e[0]=n,e[1]=i}var m2e=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,n,r){r=r||0,r>0&&(this._ux=Na(r/ym/t)||0,this._uy=Na(r/ym/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData($t.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=Na(t-this._xi),i=Na(n-this._yi),a=r>this._ux||i>this._uy;if(this.addData($t.L,t,n),this._ctx&&a&&this._ctx.lineTo(t,n),a)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var o=r*r+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,a,o){return this._drawPendingPt(),this.addData($t.C,t,n,r,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData($t.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,a,o){this._drawPendingPt(),bf[0]=i,bf[1]=a,g2e(bf,o),i=bf[0],a=bf[1];var s=a-i;return this.addData($t.A,t,n,r,r,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,n,r,i,a,o),this._xi=$s(a)*r+t,this._yi=Ns(a)*r+n,this},e.prototype.arcTo=function(t,n,r,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,a),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData($t.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData($t.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&sb&&(this.data=new Float32Array(n));for(var r=0;r<n;r++)this.data[r]=t[r];this._len=n},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var n=t.length,r=0,i=this._len,a=0;a<n;a++)r+=t[a].len();sb&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+r));for(var a=0;a<n;a++)for(var o=t[a].data,s=0;s<o.length;s++)this.data[i++]=o[s];this._len=i},e.prototype.addData=function(t,n,r,i,a,o,s,l,u){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var f=0;f<arguments.length;f++)c[this._len++]=arguments[f]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n<this._len;n++)t[n]=this.data[n];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,sb&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){oa[0]=oa[1]=sa[0]=sa[1]=Number.MAX_VALUE,So[0]=So[1]=la[0]=la[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,a=0,o;for(o=0;o<this._len;){var s=t[o++],l=o===1;switch(l&&(n=t[o],r=t[o+1],i=n,a=r),s){case $t.M:n=i=t[o++],r=a=t[o++],sa[0]=i,sa[1]=a,la[0]=i,la[1]=a;break;case $t.L:GE(n,r,t[o],t[o+1],sa,la),n=t[o++],r=t[o++];break;case $t.C:h2e(n,r,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],sa,la),n=t[o++],r=t[o++];break;case $t.Q:p2e(n,r,t[o++],t[o++],t[o],t[o+1],sa,la),n=t[o++],r=t[o++];break;case $t.A:var u=t[o++],c=t[o++],f=t[o++],d=t[o++],h=t[o++],p=t[o++]+h;o+=1;var v=!t[o++];l&&(i=$s(h)*f+u,a=Ns(h)*d+c),v2e(u,c,f,d,h,p,v,sa,la),n=$s(p)*f+u,r=Ns(p)*d+c;break;case $t.R:i=n=t[o++],a=r=t[o++];var m=t[o++],g=t[o++];GE(i,a,i+m,a+g,sa,la);break;case $t.Z:n=i,r=a;break}Go(oa,oa,sa),jo(So,So,la)}return o===0&&(oa[0]=oa[1]=So[0]=So[1]=0),new Et(oa[0],oa[1],So[0]-oa[0],So[1]-oa[1])},e.prototype._calculateLength=function(){var t=this.data,n=this._len,r=this._ux,i=this._uy,a=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,f=0,d=0;d<n;){var h=t[d++],p=d===1;p&&(a=t[d],o=t[d+1],s=a,l=o);var v=-1;switch(h){case $t.M:a=s=t[d++],o=l=t[d++];break;case $t.L:{var m=t[d++],g=t[d++],y=m-a,_=g-o;(Na(y)>r||Na(_)>i||d===n-1)&&(v=Math.sqrt(y*y+_*_),a=m,o=g);break}case $t.C:{var b=t[d++],S=t[d++],m=t[d++],g=t[d++],w=t[d++],C=t[d++];v=Tbe(a,o,b,S,m,g,w,C,10),a=w,o=C;break}case $t.Q:{var b=t[d++],S=t[d++],m=t[d++],g=t[d++];v=Mbe(a,o,b,S,m,g,10),a=m,o=g;break}case $t.A:var T=t[d++],E=t[d++],M=t[d++],A=t[d++],I=t[d++],O=t[d++],D=O+I;d+=1,t[d++],p&&(s=$s(I)*M+T,l=Ns(I)*A+E),v=ob(M,A)*ab(Lo,Math.abs(O)),a=$s(D)*M+T,o=Ns(D)*A+E;break;case $t.R:{s=a=t[d++],l=o=t[d++];var F=t[d++],k=t[d++];v=F*2+k*2;break}case $t.Z:{var y=s-a,_=l-o;v=Math.sqrt(y*y+_*_),a=s,o=l;break}}v>=0&&(u[f++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,c,f,d,h=n<1,p,v,m=0,g=0,y,_=0,b,S;if(!(h&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,y=n*v,!y)))e:for(var w=0;w<o;){var C=r[w++],T=w===1;switch(T&&(u=r[w],c=r[w+1],s=u,l=c),C!==$t.L&&_>0&&(t.lineTo(b,S),_=0),C){case $t.M:s=u=r[w++],l=c=r[w++],t.moveTo(u,c);break;case $t.L:{f=r[w++],d=r[w++];var E=Na(f-u),M=Na(d-c);if(E>i||M>a){if(h){var A=p[g++];if(m+A>y){var I=(y-m)/A;t.lineTo(u*(1-I)+f*I,c*(1-I)+d*I);break e}m+=A}t.lineTo(f,d),u=f,c=d,_=0}else{var O=E*E+M*M;O>_&&(b=f,S=d,_=O)}break}case $t.C:{var D=r[w++],F=r[w++],k=r[w++],H=r[w++],V=r[w++],z=r[w++];if(h){var A=p[g++];if(m+A>y){var I=(y-m)/A;gm(u,D,k,V,I,Ls),gm(c,F,H,z,I,ks),t.bezierCurveTo(Ls[1],ks[1],Ls[2],ks[2],Ls[3],ks[3]);break e}m+=A}t.bezierCurveTo(D,F,k,H,V,z),u=V,c=z;break}case $t.Q:{var D=r[w++],F=r[w++],k=r[w++],H=r[w++];if(h){var A=p[g++];if(m+A>y){var I=(y-m)/A;mm(u,D,k,I,Ls),mm(c,F,H,I,ks),t.quadraticCurveTo(Ls[1],ks[1],Ls[2],ks[2]);break e}m+=A}t.quadraticCurveTo(D,F,k,H),u=k,c=H;break}case $t.A:var q=r[w++],ae=r[w++],oe=r[w++],xe=r[w++],Ae=r[w++],Ve=r[w++],De=r[w++],W=!r[w++],Z=oe>xe?oe:xe,J=Na(oe-xe)>.001,ue=Ae+Ve,pe=!1;if(h){var A=p[g++];m+A>y&&(ue=Ae+Ve*(y-m)/A,pe=!0),m+=A}if(J&&t.ellipse?t.ellipse(q,ae,oe,xe,De,Ae,ue,W):t.arc(q,ae,Z,Ae,ue,W),pe)break e;T&&(s=$s(Ae)*oe+q,l=Ns(Ae)*xe+ae),u=$s(ue)*oe+q,c=Ns(ue)*xe+ae;break;case $t.R:s=u=r[w],l=c=r[w+1],f=r[w++],d=r[w++];var L=r[w++],B=r[w++];if(h){var A=p[g++];if(m+A>y){var G=y-m;t.moveTo(f,d),t.lineTo(f+ab(G,L),d),G-=L,G>0&&t.lineTo(f+L,d+ab(G,B)),G-=B,G>0&&t.lineTo(f+ob(L-G,0),d+B),G-=L,G>0&&t.lineTo(f,d+ob(B-G,0));break e}m+=A}t.rect(f,d,L,B);break;case $t.Z:if(h){var A=p[g++];if(m+A>y){var I=(y-m)/A;t.lineTo(u*(1-I)+s*I,c*(1-I)+l*I);break e}m+=A}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=$t,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const hs=m2e;function Su(e,t,n,r,i,a,o){if(i===0)return!1;var s=i,l=0,u=e;if(o>t+s&&o>r+s||o<t-s&&o<r-s||a>e+s&&a>n+s||a<e-s&&a<n-s)return!1;if(e!==n)l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);else return Math.abs(a-e)<=s/2;var c=l*a-o+u,f=c*c/(l*l+1);return f<=s/2*s/2}function y2e(e,t,n,r,i,a,o,s,l,u,c){if(l===0)return!1;var f=l;if(c>t+f&&c>r+f&&c>a+f&&c>s+f||c<t-f&&c<r-f&&c<a-f&&c<s-f||u>e+f&&u>n+f&&u>i+f&&u>o+f||u<e-f&&u<n-f&&u<i-f&&u<o-f)return!1;var d=xbe(e,t,n,r,i,a,o,s,u,c,null);return d<=f/2}function b2e(e,t,n,r,i,a,o,s,l){if(o===0)return!1;var u=o;if(l>t+u&&l>r+u&&l>a+u||l<t-u&&l<r-u&&l<a-u||s>e+u&&s>n+u&&s>i+u||s<e-u&&s<n-u&&s<i-u)return!1;var c=Abe(e,t,n,r,i,a,s,l,null);return c<=u/2}var KE=Math.PI*2;function hv(e){return e%=KE,e<0&&(e+=KE),e}var _f=Math.PI*2;function _2e(e,t,n,r,i,a,o,s,l){if(o===0)return!1;var u=o;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%_f<1e-4)return!0;if(a){var f=r;r=hv(i),i=hv(f)}else r=hv(r),i=hv(i);r>i&&(i+=_f);var d=Math.atan2(l,s);return d<0&&(d+=_f),d>=r&&d<=i||d+_f>=r&&d+_f<=i}function Ua(e,t,n,r,i,a){if(a>t&&a>r||a<t&&a<r||r===t)return 0;var o=(a-t)/(r-t),s=r<t?1:-1;(o===1||o===0)&&(s=r<t?.5:-.5);var l=o*(n-e)+e;return l===i?1/0:l>i?s:0}var Co=hs.CMD,Bs=Math.PI*2,w2e=1e-4;function S2e(e,t){return Math.abs(e-t)<w2e}var lr=[-1,-1,-1],oi=[-1,-1];function C2e(){var e=oi[0];oi[0]=oi[1],oi[1]=e}function x2e(e,t,n,r,i,a,o,s,l,u){if(u>t&&u>r&&u>a&&u>s||u<t&&u<r&&u<a&&u<s)return 0;var c=vm(t,r,a,s,u,lr);if(c===0)return 0;for(var f=0,d=-1,h=void 0,p=void 0,v=0;v<c;v++){var m=lr[v],g=m===0||m===1?.5:1,y=xn(e,n,i,o,m);y<l||(d<0&&(d=hk(t,r,a,s,oi),oi[1]<oi[0]&&d>1&&C2e(),h=xn(t,r,a,s,oi[0]),d>1&&(p=xn(t,r,a,s,oi[1]))),d===2?m<oi[0]?f+=h<t?g:-g:m<oi[1]?f+=p<h?g:-g:f+=s<p?g:-g:m<oi[0]?f+=h<t?g:-g:f+=s<h?g:-g)}return f}function T2e(e,t,n,r,i,a,o,s){if(s>t&&s>r&&s>a||s<t&&s<r&&s<a)return 0;var l=Ebe(t,r,a,s,lr);if(l===0)return 0;var u=pk(t,r,a);if(u>=0&&u<=1){for(var c=0,f=jn(t,r,a,u),d=0;d<l;d++){var h=lr[d]===0||lr[d]===1?.5:1,p=jn(e,n,i,lr[d]);p<o||(lr[d]<u?c+=f<t?h:-h:c+=a<f?h:-h)}return c}else{var h=lr[0]===0||lr[0]===1?.5:1,p=jn(e,n,i,lr[0]);return p<o?0:a<t?h:-h}}function E2e(e,t,n,r,i,a,o,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);lr[0]=-l,lr[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=Bs-1e-4){r=0,i=Bs;var c=a?1:-1;return o>=lr[0]+e&&o<=lr[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=Bs,i+=Bs);for(var d=0,h=0;h<2;h++){var p=lr[h];if(p+e>o){var v=Math.atan2(s,p),c=a?1:-1;v<0&&(v=Bs+v),(v>=r&&v<=i||v+Bs>=r&&v+Bs<=i)&&(v>Math.PI/2&&v<Math.PI*1.5&&(c=-c),d+=c)}}return d}function Gk(e,t,n,r,i){for(var a=e.data,o=e.len(),s=0,l=0,u=0,c=0,f=0,d,h,p=0;p<o;){var v=a[p++],m=p===1;switch(v===Co.M&&p>1&&(n||(s+=Ua(l,u,c,f,r,i))),m&&(l=a[p],u=a[p+1],c=l,f=u),v){case Co.M:c=a[p++],f=a[p++],l=c,u=f;break;case Co.L:if(n){if(Su(l,u,a[p],a[p+1],t,r,i))return!0}else s+=Ua(l,u,a[p],a[p+1],r,i)||0;l=a[p++],u=a[p++];break;case Co.C:if(n){if(y2e(l,u,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],t,r,i))return!0}else s+=x2e(l,u,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],r,i)||0;l=a[p++],u=a[p++];break;case Co.Q:if(n){if(b2e(l,u,a[p++],a[p++],a[p],a[p+1],t,r,i))return!0}else s+=T2e(l,u,a[p++],a[p++],a[p],a[p+1],r,i)||0;l=a[p++],u=a[p++];break;case Co.A:var g=a[p++],y=a[p++],_=a[p++],b=a[p++],S=a[p++],w=a[p++];p+=1;var C=!!(1-a[p++]);d=Math.cos(S)*_+g,h=Math.sin(S)*b+y,m?(c=d,f=h):s+=Ua(l,u,d,h,r,i);var T=(r-g)*b/_+g;if(n){if(_2e(g,y,b,S,S+w,C,t,T,i))return!0}else s+=E2e(g,y,b,S,S+w,C,T,i);l=Math.cos(S+w)*_+g,u=Math.sin(S+w)*b+y;break;case Co.R:c=l=a[p++],f=u=a[p++];var E=a[p++],M=a[p++];if(d=c+E,h=f+M,n){if(Su(c,f,d,f,t,r,i)||Su(d,f,d,h,t,r,i)||Su(d,h,c,h,t,r,i)||Su(c,h,c,f,t,r,i))return!0}else s+=Ua(d,f,d,h,r,i),s+=Ua(c,h,c,f,r,i);break;case Co.Z:if(n){if(Su(l,u,c,f,t,r,i))return!0}else s+=Ua(l,u,c,f,r,i);l=c,u=f;break}}return!n&&!S2e(u,f)&&(s+=Ua(l,u,c,f,r,i)||0),s!==0}function A2e(e,t,n){return Gk(e,0,!1,t,n)}function M2e(e,t,n,r){return Gk(e,t,!0,n,r)}var jk=bt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Cl),I2e={style:bt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ey.style)},ub=Aa.concat(["invisible","culling","z","z2","zlevel","parent"]),O2e=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){n.buildPath(l,n.shape)}),i.silent=!0;var a=i.style;for(var o in r)a[o]!==r[o]&&(a[o]=r[o]);a.fill=r.fill?r.decal:null,a.decal=null,a.shadowColor=null,r.strokeFirst&&(a.stroke=null);for(var s=0;s<ub.length;++s)i[ub[s]]=this[ub[s]];i.__dirty|=Gr}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(n){var r=Dt(n);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<r.length;a++){var o=r[a],s=n[o];o==="style"?this.style?me(this.style,s):this.useStyle(s):o==="shape"?me(this.shape,s):e.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var n=this.style.fill;if(n!=="none"){if(Be(n)){var r=ch(n,0);return r>.5?lw:r>.2?a_e:uw}else if(n)return uw}return lw},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Be(r)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=ch(n,0)<sw;if(a===o)return r}},t.prototype.buildPath=function(n,r,i){},t.prototype.pathUpdated=function(){this.__dirty&=~zu},t.prototype.getUpdatedPathProxy=function(n){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,n),this.path},t.prototype.createPathProxy=function(){this.path=new hs(!1)},t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return!(r==null||r==="none"||!(n.lineWidth>0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&zu)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),n=o.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){s.copy(n);var l=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),a=this.getBoundingRect(),o=this.style;if(n=i[0],r=i[1],a.contain(n,r)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),M2e(s,l/u,n,r)))return!0}if(this.hasFill())return A2e(s,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=zu,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:me(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&zu)},t.prototype.createStyle=function(n){return up(jk,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=me({},this.shape))},t.prototype._applyStateObj=function(n,r,i,a,o,s){e.prototype._applyStateObj.call(this,n,r,i,a,o,s);var l=!(r&&a),u;if(r&&r.shape?o?a?u=r.shape:(u=me({},i.shape),me(u,r.shape)):(u=me({},a?this.shape:i.shape),me(u,r.shape)):l&&(u=i.shape),u)if(o){this.shape=me({},this.shape);for(var c={},f=Dt(u),d=0;d<f.length;d++){var h=f[d];typeof u[h]=="object"?this.shape[h]=u[h]:c[h]=u[h]}this._transitionState(n,{shape:c},s)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),i,a=0;a<n.length;a++){var o=n[a];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(r.shape=i),r},t.prototype.getAnimationStyleProps=function(){return I2e},t.prototype.isZeroArea=function(){return!1},t.extend=function(n){var r=function(a){ve(o,a);function o(s){var l=a.call(this,s)||this;return n.init&&n.init.call(l,s),l}return o.prototype.getDefaultStyle=function(){return qe(n.style)},o.prototype.getDefaultShape=function(){return qe(n.shape)},o}(t);for(var i in n)typeof n[i]=="function"&&(r.prototype[i]=n[i]);return r},t.initDefaultProps=function(){var n=t.prototype;n.type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,n.__dirty=Gr|Wf|zu}(),t}(au);const Nt=O2e;var P2e=bt({strokeFirst:!0,font:Hl,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},jk),qk=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return r!=null&&r!=="none"&&n.lineWidth>0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return up(P2e,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=Z0(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var a=n.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(au);qk.prototype.type="tspan";const gw=qk;var R2e=bt({x:0,y:0},Cl),D2e={style:bt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ey.style)};function L2e(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Kk=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return up(R2e,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var a=L2e(r.image)?r.image:this.__image;if(!a)return 0;var o=n==="width"?"height":"width",s=r[o];return s==null?a[n]:a[n]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return D2e},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new Et(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(au);Kk.prototype.type="image";const Da=Kk;function k2e(e,t){var n=t.x,r=t.y,i=t.width,a=t.height,o=t.r,s,l,u,c;i<0&&(n=n+i,i=-i),a<0&&(r=r+a,a=-a),typeof o=="number"?s=l=u=c=o:o instanceof Array?o.length===1?s=l=u=c=o[0]:o.length===2?(s=u=o[0],l=c=o[1]):o.length===3?(s=o[0],l=c=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],c=o[3]):s=l=u=c=0;var f;s+l>i&&(f=s+l,s*=i/f,l*=i/f),u+c>i&&(f=u+c,u*=i/f,c*=i/f),l+u>a&&(f=l+u,l*=a/f,u*=a/f),s+c>a&&(f=s+c,s*=a/f,c*=a/f),e.moveTo(n+s,r),e.lineTo(n+i-l,r),l!==0&&e.arc(n+i-l,r+l,l,-Math.PI/2,0),e.lineTo(n+i,r+a-u),u!==0&&e.arc(n+i-u,r+a-u,u,0,Math.PI/2),e.lineTo(n+c,r+a),c!==0&&e.arc(n+c,r+a-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5)}var Gu=Math.round;function Yk(e,t,n){if(t){var r=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=r,e.x2=i,e.y1=a,e.y2=o;var s=n&&n.lineWidth;return s&&(Gu(r*2)===Gu(i*2)&&(e.x1=e.x2=ul(r,s,!0)),Gu(a*2)===Gu(o*2)&&(e.y1=e.y2=ul(a,s,!0))),e}}function Zk(e,t,n){if(t){var r=t.x,i=t.y,a=t.width,o=t.height;e.x=r,e.y=i,e.width=a,e.height=o;var s=n&&n.lineWidth;return s&&(e.x=ul(r,s,!0),e.y=ul(i,s,!0),e.width=Math.max(ul(r+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(ul(i+o,s,!1)-e.y,o===0?0:1)),e}}function ul(e,t,n){if(!t)return e;var r=Gu(e*2);return(r+Gu(t))%2===0?r/2:(r+(n?1:-1))/2}var $2e=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),N2e={},Xk=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new $2e},t.prototype.buildPath=function(n,r){var i,a,o,s;if(this.subPixelOptimize){var l=Zk(N2e,r,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=r.r,r=l}else i=r.x,a=r.y,o=r.width,s=r.height;r.r?k2e(n,r):n.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Nt);Xk.prototype.type="rect";const Gt=Xk;var YE={fill:"#000"},ZE=2,B2e={style:bt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},ey.style)},Qk=function(e){ve(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=YE,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n<this._children.length;n++){var r=this._children[n];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},t.prototype.updateTransform=function(){var n=this.innerTransformable;n?(n.updateTransform(),n.transform&&(this.transform=n.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(n){var r=this.innerTransformable;return r?r.getLocalTransform(n):e.prototype.getLocalTransform.call(this,n)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,W2e(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=n},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var n=new Et(0,0,0,0),r=this._children,i=[],a=null,o=0;o<r.length;o++){var s=r[o],l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(n.copy(l),n.applyTransform(u),a=a||n.clone(),a.union(n)):(a=a||l.clone(),a.union(l))}this._rect=a||n}return this._rect},t.prototype.setDefaultTextStyle=function(n){this._defaultStyle=n||YE},t.prototype.setTextContent=function(n){},t.prototype._mergeStyle=function(n,r){if(!r)return n;var i=r.rich,a=n.rich||i&&{};return me(n,r),i&&a?(this._mergeRich(a,i),n.rich=a):a&&(n.rich=a),n},t.prototype._mergeRich=function(n,r){for(var i=Dt(r),a=0;a<i.length;a++){var o=i[a];n[o]=n[o]||{},me(n[o],r[o])}},t.prototype.getAnimationStyleProps=function(){return B2e},t.prototype._getOrCreateChild=function(n){var r=this._children[this._childCursor];return(!r||!(r instanceof n))&&(r=new n),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},t.prototype._updatePlainTexts=function(){var n=this.style,r=n.font||Hl,i=n.padding,a=r4(n),o=r2e(a,n),s=cb(n),l=!!n.backgroundColor,u=o.outerHeight,c=o.outerWidth,f=o.contentWidth,d=o.lines,h=o.lineHeight,p=this._defaultStyle,v=n.x||0,m=n.y||0,g=n.align||p.align||"left",y=n.verticalAlign||p.verticalAlign||"top",_=v,b=Vu(m,o.contentHeight,y);if(s||i){var S=Gf(v,c,g),w=Vu(m,u,y);s&&this._renderBackground(n,n,S,w,c,u)}b+=h/2,i&&(_=n4(v,g,i),y==="top"?b+=i[0]:y==="bottom"&&(b-=i[2]));for(var C=0,T=!1,E=t4("fill"in n?n.fill:(T=!0,p.fill)),M=e4("stroke"in n?n.stroke:!l&&(!p.autoStroke||T)?(C=ZE,p.stroke):null),A=n.textShadowBlur>0,I=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),O=o.calculatedLineHeight,D=0;D<d.length;D++){var F=this._getOrCreateChild(gw),k=F.createStyle();F.useStyle(k),k.text=d[D],k.x=_,k.y=b,g&&(k.textAlign=g),k.textBaseline="middle",k.opacity=n.opacity,k.strokeFirst=!0,A&&(k.shadowBlur=n.textShadowBlur||0,k.shadowColor=n.textShadowColor||"transparent",k.shadowOffsetX=n.textShadowOffsetX||0,k.shadowOffsetY=n.textShadowOffsetY||0),k.stroke=M,k.fill=E,M&&(k.lineWidth=n.lineWidth||C,k.lineDash=n.lineDash,k.lineDashOffset=n.lineDashOffset||0),k.font=r,QE(k,n),b+=h,I&&F.setBoundingRect(new Et(Gf(k.x,n.width,k.textAlign),Vu(k.y,O,k.textBaseline),f,O))}},t.prototype._updateRichTexts=function(){var n=this.style,r=r4(n),i=o2e(r,n),a=i.width,o=i.outerWidth,s=i.outerHeight,l=n.padding,u=n.x||0,c=n.y||0,f=this._defaultStyle,d=n.align||f.align,h=n.verticalAlign||f.verticalAlign,p=Gf(u,o,d),v=Vu(c,s,h),m=p,g=v;l&&(m+=l[3],g+=l[0]);var y=m+a;cb(n)&&this._renderBackground(n,n,p,v,o,s);for(var _=!!n.backgroundColor,b=0;b<i.lines.length;b++){for(var S=i.lines[b],w=S.tokens,C=w.length,T=S.lineHeight,E=S.width,M=0,A=m,I=y,O=C-1,D=void 0;M<C&&(D=w[M],!D.align||D.align==="left");)this._placeToken(D,n,T,g,A,"left",_),E-=D.width,A+=D.width,M++;for(;O>=0&&(D=w[O],D.align==="right");)this._placeToken(D,n,T,g,I,"right",_),E-=D.width,I-=D.width,O--;for(A+=(a-(A-m)-(y-I)-E)/2;M<=O;)D=w[M],this._placeToken(D,n,T,g,A+D.width/2,"center",_),A+=D.width,M++;g+=T}},t.prototype._placeToken=function(n,r,i,a,o,s,l){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=a+i/2;c==="top"?f=a+n.height/2:c==="bottom"&&(f=a+i-n.height/2);var d=!n.isLineHolder&&cb(u);d&&this._renderBackground(u,r,s==="right"?o-n.width:s==="center"?o-n.width/2:o,f-n.height/2,n.width,n.height);var h=!!u.backgroundColor,p=n.textPadding;p&&(o=n4(o,s,p),f-=n.height/2-p[0]-n.innerHeight/2);var v=this._getOrCreateChild(gw),m=v.createStyle();v.useStyle(m);var g=this._defaultStyle,y=!1,_=0,b=t4("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,g.fill)),S=e4("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!l&&(!g.autoStroke||y)?(_=ZE,g.stroke):null),w=u.textShadowBlur>0||r.textShadowBlur>0;m.text=n.text,m.x=o,m.y=f,w&&(m.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,m.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",m.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,m.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),m.textAlign=s,m.textBaseline="middle",m.font=n.font||Hl,m.opacity=ic(u.opacity,r.opacity,1),QE(m,u),S&&(m.lineWidth=ic(u.lineWidth,r.lineWidth,_),m.lineDash=xt(u.lineDash,r.lineDash),m.lineDashOffset=r.lineDashOffset||0,m.stroke=S),b&&(m.fill=b);var C=n.contentWidth,T=n.contentHeight;v.setBoundingRect(new Et(Gf(m.x,C,m.textAlign),Vu(m.y,T,m.textBaseline),C,T))},t.prototype._renderBackground=function(n,r,i,a,o,s){var l=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=l&&l.image,d=l&&!f,h=n.borderRadius,p=this,v,m;if(d||n.lineHeight||u&&c){v=this._getOrCreateChild(Gt),v.useStyle(v.createStyle()),v.style.fill=null;var g=v.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=h,v.dirtyShape()}if(d){var y=v.style;y.fill=l||null,y.fillOpacity=xt(n.fillOpacity,1)}else if(f){m=this._getOrCreateChild(Da),m.onload=function(){p.dirtyStyle()};var _=m.style;_.image=l.image,_.x=i,_.y=a,_.width=o,_.height=s}if(u&&c){var y=v.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=xt(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var b=(v||m).style;b.shadowBlur=n.shadowBlur||0,b.shadowColor=n.shadowColor||"transparent",b.shadowOffsetX=n.shadowOffsetX||0,b.shadowOffsetY=n.shadowOffsetY||0,b.opacity=ic(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return H2e(n)&&(r=[n.fontStyle,n.fontWeight,V2e(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&Vi(r)||n.textFont||n.font},t}(au),F2e={left:!0,right:1,center:1},z2e={top:1,bottom:1,middle:1},XE=["fontStyle","fontWeight","fontSize","fontFamily"];function V2e(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?p5+"px":e+"px"}function QE(e,t){for(var n=0;n<XE.length;n++){var r=XE[n],i=t[r];i!=null&&(e[r]=i)}}function H2e(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function W2e(e){return JE(e),R(e.rich,JE),e}function JE(e){if(e){e.font=Qk.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||F2e[t]?t:"left";var n=e.verticalAlign;n==="center"&&(n="middle"),e.verticalAlign=n==null||z2e[n]?n:"top";var r=e.padding;r&&(e.padding=b5(e.padding))}}function e4(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function t4(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function n4(e,t,n){return t==="right"?e-n[1]:t==="center"?e+n[3]/2-n[1]/2:e+n[3]}function r4(e){var t=e.text;return t!=null&&(t+=""),t}function cb(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const Ft=Qk;var Pt=tn(),U2e=function(e,t,n,r){if(r){var i=Pt(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,r.type==="group"&&r.traverse(function(a){var o=Pt(a);o.seriesIndex=e,o.dataIndex=n,o.dataType=t})}},i4=1,a4={},Jk=tn(),$5=tn(),N5=0,ty=1,ny=2,wi=["emphasis","blur","select"],_m=["normal","emphasis","blur","select"],G2e=10,j2e=9,xl="highlight",Sg="downplay",Sd="select",Cg="unselect",Cd="toggleSelect";function Cu(e){return e!=null&&e!=="none"}var o4=new dp(100);function s4(e){if(Be(e)){var t=o4.get(e);return t||(t=tw(e,-.1),o4.put(e,t)),t}else if(lp(e)){var n=me({},e);return n.colorStops=ke(e.colorStops,function(r){return{offset:r.offset,color:tw(r.color,-.1)}}),n}return e}function ry(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function e$(e){ry(e,"emphasis",ny)}function t$(e){e.hoverState===ny&&ry(e,"normal",N5)}function B5(e){ry(e,"blur",ty)}function n$(e){e.hoverState===ty&&ry(e,"normal",N5)}function q2e(e){e.selected=!0}function K2e(e){e.selected=!1}function l4(e,t,n){t(e,n)}function ho(e,t,n){l4(e,t,n),e.isGroup&&e.traverse(function(r){l4(r,t,n)})}function u4(e,t){switch(t){case"emphasis":e.hoverState=ny;break;case"normal":e.hoverState=N5;break;case"blur":e.hoverState=ty;break;case"select":e.selected=!0}}function Y2e(e,t,n,r){for(var i=e.style,a={},o=0;o<t.length;o++){var s=t[o],l=i[s];a[s]=l??(r&&r[s])}for(var o=0;o<e.animators.length;o++){var u=e.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&u.targetName==="style"&&u.saveTo(a,t)}return a}function Z2e(e,t,n,r){var i=n&&ft(n,"select")>=0,a=!1;if(e instanceof Nt){var o=Jk(e),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(Cu(s)||Cu(l)){r=r||{};var u=r.style||{};u.fill==="inherit"?(a=!0,r=me({},r),u=me({},u),u.fill=s):!Cu(u.fill)&&Cu(s)?(a=!0,r=me({},r),u=me({},u),u.fill=s4(s)):!Cu(u.stroke)&&Cu(l)&&(a||(r=me({},r),u=me({},u)),u.stroke=s4(l)),r.style=u}}if(r&&r.z2==null){a||(r=me({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c??G2e)}return r}function X2e(e,t,n){if(n&&n.z2==null){n=me({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??j2e)}return n}function Q2e(e,t,n){var r=ft(e.currentStates,t)>=0,i=e.style.opacity,a=r?null:Y2e(e,["opacity"],t,{opacity:1});n=n||{};var o=n.style||{};return o.opacity==null&&(n=me({},n),o=me({opacity:r?i:a.opacity*.1},o),n.style=o),n}function fb(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return Z2e(this,e,t,n);if(e==="blur")return Q2e(this,e,n);if(e==="select")return X2e(this,e,n)}return n}function J2e(e){e.stateProxy=fb;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=fb),n&&(n.stateProxy=fb)}function c4(e,t){!o$(e,t)&&!e.__highByOuter&&ho(e,e$)}function f4(e,t){!o$(e,t)&&!e.__highByOuter&&ho(e,t$)}function Pc(e,t){e.__highByOuter|=1<<(t||0),ho(e,e$)}function Rc(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&ho(e,t$)}function ewe(e){ho(e,B5)}function r$(e){ho(e,n$)}function i$(e){ho(e,q2e)}function a$(e){ho(e,K2e)}function o$(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function s$(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,a){var o=$5(a),s=i==="series",l=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&r.push(l),o.isBlured&&(l.group.traverse(function(u){n$(u)}),s&&n.push(a)),o.isBlured=!1}),R(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function mw(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function a(u,c){for(var f=0;f<c.length;f++){var d=u.getItemGraphicEl(c[f]);d&&r$(d)}}if(e!=null&&!(!t||t==="none")){var o=i.getSeriesByIndex(e),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries(function(u){var c=o===u,f=u.coordinateSystem;f&&f.master&&(f=f.master);var d=f&&s?f===s:c;if(!(n==="series"&&!c||n==="coordinateSystem"&&!d||t==="series"&&c)){var h=r.getViewOfSeriesModel(u);if(h.group.traverse(function(m){B5(m)}),tr(t))a(u.getData(),t);else if(ze(t))for(var p=Dt(t),v=0;v<p.length;v++)a(u.getData(p[v]),t[p[v]]);l.push(u),$5(u).isBlured=!0}}),i.eachComponent(function(u,c){if(u!=="series"){var f=r.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(l,!0,i)}})}}function yw(e,t,n){if(!(e==null||t==null)){var r=n.getModel().getComponent(e,t);if(r){$5(r).isBlured=!0;var i=n.getViewOfComponentModel(r);!i||!i.focusBlurEnabled||i.group.traverse(function(a){B5(a)})}}}function twe(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var a=Gl(i,t);a=(Ce(a)?a[0]:a)||0;var o=i.getItemGraphicEl(a);if(!o)for(var s=i.count(),l=0;!o&&l<s;)o=i.getItemGraphicEl(l++);if(o){var u=Pt(o);mw(r,u.focus,u.blurScope,n)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);c!=null&&mw(r,c,f,n)}}}function F5(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||n==null)return i;var a=r.getModel().getComponent(e,t);if(!a)return i;var o=r.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return i;for(var s=o.findHighDownDispatchers(n),l,u=0;u<s.length;u++)if(Pt(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function nwe(e,t,n){var r=Pt(e),i=F5(r.componentMainType,r.componentIndex,r.componentHighDownName,n),a=i.dispatchers,o=i.focusSelf;a?(o&&yw(r.componentMainType,r.componentIndex,n),R(a,function(s){return c4(s,t)})):(mw(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&yw(r.componentMainType,r.componentIndex,n),c4(e,t))}function rwe(e,t,n){s$(n);var r=Pt(e),i=F5(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?R(i,function(a){return f4(a,t)}):f4(e,t)}function iwe(e,t,n){if(_w(t)){var r=t.dataType,i=e.getData(r),a=Gl(i,t);Ce(a)||(a=[a]),e[t.type===Cd?"toggleSelect":t.type===Sd?"select":"unselect"](a,r)}}function d4(e){var t=e.getAllData();R(t,function(n){var r=n.data,i=n.type;r.eachItemGraphicEl(function(a,o){e.isSelected(o,i)?i$(a):a$(a)})})}function awe(e){var t=[];return e.eachSeries(function(n){var r=n.getAllData();R(r,function(i){i.data;var a=i.type,o=n.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:n.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function vh(e,t,n){z5(e,!0),ho(e,J2e),swe(e,t,n)}function owe(e){z5(e,!1)}function gh(e,t,n,r){r?owe(e):vh(e,t,n)}function swe(e,t,n){var r=Pt(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var h4=["emphasis","blur","select"],lwe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function wm(e,t,n,r){n=n||"itemStyle";for(var i=0;i<h4.length;i++){var a=h4[i],o=t.getModel([a,n]),s=e.ensureState(a);s.style=r?r(o):o[lwe[n]]()}}function z5(e,t){var n=t===!1,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function bw(e){return!!(e&&e.__highDownDispatcher)}function uwe(e){var t=a4[e];return t==null&&i4<=32&&(t=a4[e]=i4++),t}function _w(e){var t=e.type;return t===Sd||t===Cg||t===Cd}function p4(e){var t=e.type;return t===xl||t===Sg}function cwe(e){var t=Jk(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var xu=hs.CMD,fwe=[[],[],[]],v4=Math.sqrt,dwe=Math.atan2;function hwe(e,t){if(t){var n=e.data,r=e.len(),i,a,o,s,l,u,c=xu.M,f=xu.C,d=xu.L,h=xu.R,p=xu.A,v=xu.Q;for(o=0,s=0;o<r;){switch(i=n[o++],s=o,a=0,i){case c:a=1;break;case d:a=1;break;case f:a=3;break;case v:a=2;break;case p:var m=t[4],g=t[5],y=v4(t[0]*t[0]+t[1]*t[1]),_=v4(t[2]*t[2]+t[3]*t[3]),b=dwe(-t[1]/_,t[0]/y);n[o]*=y,n[o++]+=m,n[o]*=_,n[o++]+=g,n[o++]*=y,n[o++]*=_,n[o++]+=b,n[o++]+=b,o+=2,s=o;break;case h:u[0]=n[o++],u[1]=n[o++],dr(u,u,t),n[s++]=u[0],n[s++]=u[1],u[0]+=n[o++],u[1]+=n[o++],dr(u,u,t),n[s++]=u[0],n[s++]=u[1]}for(l=0;l<a;l++){var S=fwe[l];S[0]=n[o++],S[1]=n[o++],dr(S,S,t),n[s++]=S[0],n[s++]=S[1]}}e.increaseVersion()}}var db=Math.sqrt,pv=Math.sin,vv=Math.cos,wf=Math.PI;function g4(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function ww(e,t){return(e[0]*t[0]+e[1]*t[1])/(g4(e)*g4(t))}function m4(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(ww(e,t))}function y4(e,t,n,r,i,a,o,s,l,u,c){var f=l*(wf/180),d=vv(f)*(e-n)/2+pv(f)*(t-r)/2,h=-1*pv(f)*(e-n)/2+vv(f)*(t-r)/2,p=d*d/(o*o)+h*h/(s*s);p>1&&(o*=db(p),s*=db(p));var v=(i===a?-1:1)*db((o*o*(s*s)-o*o*(h*h)-s*s*(d*d))/(o*o*(h*h)+s*s*(d*d)))||0,m=v*o*h/s,g=v*-s*d/o,y=(e+n)/2+vv(f)*m-pv(f)*g,_=(t+r)/2+pv(f)*m+vv(f)*g,b=m4([1,0],[(d-m)/o,(h-g)/s]),S=[(d-m)/o,(h-g)/s],w=[(-1*d-m)/o,(-1*h-g)/s],C=m4(S,w);if(ww(S,w)<=-1&&(C=wf),ww(S,w)>=1&&(C=0),C<0){var T=Math.round(C/wf*1e6)/1e6;C=wf*2+T%2*wf}c.addData(u,y,_,o,s,b,C,f,a)}var pwe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,vwe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function gwe(e){var t=new hs;if(!e)return t;var n=0,r=0,i=n,a=r,o,s=hs.CMD,l=e.match(pwe);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),d=void 0,h=c.match(vwe)||[],p=h.length,v=0;v<p;v++)h[v]=parseFloat(h[v]);for(var m=0;m<p;){var g=void 0,y=void 0,_=void 0,b=void 0,S=void 0,w=void 0,C=void 0,T=n,E=r,M=void 0,A=void 0;switch(f){case"l":n+=h[m++],r+=h[m++],d=s.L,t.addData(d,n,r);break;case"L":n=h[m++],r=h[m++],d=s.L,t.addData(d,n,r);break;case"m":n+=h[m++],r+=h[m++],d=s.M,t.addData(d,n,r),i=n,a=r,f="l";break;case"M":n=h[m++],r=h[m++],d=s.M,t.addData(d,n,r),i=n,a=r,f="L";break;case"h":n+=h[m++],d=s.L,t.addData(d,n,r);break;case"H":n=h[m++],d=s.L,t.addData(d,n,r);break;case"v":r+=h[m++],d=s.L,t.addData(d,n,r);break;case"V":r=h[m++],d=s.L,t.addData(d,n,r);break;case"C":d=s.C,t.addData(d,h[m++],h[m++],h[m++],h[m++],h[m++],h[m++]),n=h[m-2],r=h[m-1];break;case"c":d=s.C,t.addData(d,h[m++]+n,h[m++]+r,h[m++]+n,h[m++]+r,h[m++]+n,h[m++]+r),n+=h[m-2],r+=h[m-1];break;case"S":g=n,y=r,M=t.len(),A=t.data,o===s.C&&(g+=n-A[M-4],y+=r-A[M-3]),d=s.C,T=h[m++],E=h[m++],n=h[m++],r=h[m++],t.addData(d,g,y,T,E,n,r);break;case"s":g=n,y=r,M=t.len(),A=t.data,o===s.C&&(g+=n-A[M-4],y+=r-A[M-3]),d=s.C,T=n+h[m++],E=r+h[m++],n+=h[m++],r+=h[m++],t.addData(d,g,y,T,E,n,r);break;case"Q":T=h[m++],E=h[m++],n=h[m++],r=h[m++],d=s.Q,t.addData(d,T,E,n,r);break;case"q":T=h[m++]+n,E=h[m++]+r,n+=h[m++],r+=h[m++],d=s.Q,t.addData(d,T,E,n,r);break;case"T":g=n,y=r,M=t.len(),A=t.data,o===s.Q&&(g+=n-A[M-4],y+=r-A[M-3]),n=h[m++],r=h[m++],d=s.Q,t.addData(d,g,y,n,r);break;case"t":g=n,y=r,M=t.len(),A=t.data,o===s.Q&&(g+=n-A[M-4],y+=r-A[M-3]),n+=h[m++],r+=h[m++],d=s.Q,t.addData(d,g,y,n,r);break;case"A":_=h[m++],b=h[m++],S=h[m++],w=h[m++],C=h[m++],T=n,E=r,n=h[m++],r=h[m++],d=s.A,y4(T,E,n,r,w,C,_,b,S,d,t);break;case"a":_=h[m++],b=h[m++],S=h[m++],w=h[m++],C=h[m++],T=n,E=r,n+=h[m++],r+=h[m++],d=s.A,y4(T,E,n,r,w,C,_,b,S,d,t);break}}(f==="z"||f==="Z")&&(d=s.Z,t.addData(d),n=i,r=a),o=d}return t.toStatic(),t}var l$=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(n){},t}(Nt);function u$(e){return e.setData!=null}function c$(e,t){var n=gwe(e),r=me({},t);return r.buildPath=function(i){if(u$(i)){i.setData(n.data);var a=i.getContext();a&&i.rebuildPath(a,1)}else{var a=i;n.rebuildPath(a,1)}},r.applyTransform=function(i){hwe(n,i),this.dirtyShape()},r}function mwe(e,t){return new l$(c$(e,t))}function ywe(e,t){var n=c$(e,t),r=function(i){ve(a,i);function a(o){var s=i.call(this,o)||this;return s.applyTransform=n.applyTransform,s.buildPath=n.buildPath,s}return a}(l$);return r}function bwe(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var a=e[i];n.push(a.getUpdatedPathProxy(!0))}var o=new Nt(t);return o.createPathProxy(),o.buildPath=function(s){if(u$(s)){s.appendPath(n);var l=s.getContext();l&&s.rebuildPath(l,1)}},o}var _we=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),f$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new _we},t.prototype.buildPath=function(n,r){n.moveTo(r.cx+r.r,r.cy),n.arc(r.cx,r.cy,r.r,0,Math.PI*2)},t}(Nt);f$.prototype.type="circle";const iy=f$;var wwe=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),d$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new wwe},t.prototype.buildPath=function(n,r){var i=.5522848,a=r.cx,o=r.cy,s=r.rx,l=r.ry,u=s*i,c=l*i;n.moveTo(a-s,o),n.bezierCurveTo(a-s,o-c,a-u,o-l,a,o-l),n.bezierCurveTo(a+u,o-l,a+s,o-c,a+s,o),n.bezierCurveTo(a+s,o+c,a+u,o+l,a,o+l),n.bezierCurveTo(a-u,o+l,a-s,o+c,a-s,o),n.closePath()},t}(Nt);d$.prototype.type="ellipse";const V5=d$;var h$=Math.PI,hb=h$*2,Fs=Math.sin,Tu=Math.cos,Swe=Math.acos,Wn=Math.atan2,b4=Math.abs,xd=Math.sqrt,jf=Math.max,ua=Math.min,Di=1e-4;function Cwe(e,t,n,r,i,a,o,s){var l=n-e,u=r-t,c=o-i,f=s-a,d=f*l-c*u;if(!(d*d<Di))return d=(c*(t-a)-f*(e-i))/d,[e+d*l,t+d*u]}function gv(e,t,n,r,i,a,o){var s=e-n,l=t-r,u=(o?a:-a)/xd(s*s+l*l),c=u*l,f=-u*s,d=e+c,h=t+f,p=n+c,v=r+f,m=(d+p)/2,g=(h+v)/2,y=p-d,_=v-h,b=y*y+_*_,S=i-a,w=d*v-p*h,C=(_<0?-1:1)*xd(jf(0,S*S*b-w*w)),T=(w*_-y*C)/b,E=(-w*y-_*C)/b,M=(w*_+y*C)/b,A=(-w*y+_*C)/b,I=T-m,O=E-g,D=M-m,F=A-g;return I*I+O*O>D*D+F*F&&(T=M,E=A),{cx:T,cy:E,x0:-c,y0:-f,x1:T*(i/S-1),y1:E*(i/S-1)}}function xwe(e){var t;if(Ce(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Twe(e,t){var n,r=jf(t.r,0),i=jf(t.r0||0,0),a=r>0,o=i>0;if(!(!a&&!o)){if(a||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,d=!!t.clockwise,h=b4(u-l),p=h>hb&&h%hb;if(p>Di&&(h=p),!(r>Di))e.moveTo(c,f);else if(h>hb-Di)e.moveTo(c+r*Tu(l),f+r*Fs(l)),e.arc(c,f,r,l,u,!d),i>Di&&(e.moveTo(c+i*Tu(u),f+i*Fs(u)),e.arc(c,f,i,u,l,d));else{var v=void 0,m=void 0,g=void 0,y=void 0,_=void 0,b=void 0,S=void 0,w=void 0,C=void 0,T=void 0,E=void 0,M=void 0,A=void 0,I=void 0,O=void 0,D=void 0,F=r*Tu(l),k=r*Fs(l),H=i*Tu(u),V=i*Fs(u),z=h>Di;if(z){var q=t.cornerRadius;q&&(n=xwe(q),v=n[0],m=n[1],g=n[2],y=n[3]);var ae=b4(r-i)/2;if(_=ua(ae,g),b=ua(ae,y),S=ua(ae,v),w=ua(ae,m),E=C=jf(_,b),M=T=jf(S,w),(C>Di||T>Di)&&(A=r*Tu(u),I=r*Fs(u),O=i*Tu(l),D=i*Fs(l),h<h$)){var oe=Cwe(F,k,O,D,A,I,H,V);if(oe){var xe=F-oe[0],Ae=k-oe[1],Ve=A-oe[0],De=I-oe[1],W=1/Fs(Swe((xe*Ve+Ae*De)/(xd(xe*xe+Ae*Ae)*xd(Ve*Ve+De*De)))/2),Z=xd(oe[0]*oe[0]+oe[1]*oe[1]);E=ua(C,(r-Z)/(W+1)),M=ua(T,(i-Z)/(W-1))}}}if(!z)e.moveTo(c+F,f+k);else if(E>Di){var J=ua(g,E),ue=ua(y,E),pe=gv(O,D,F,k,r,J,d),L=gv(A,I,H,V,r,ue,d);e.moveTo(c+pe.cx+pe.x0,f+pe.cy+pe.y0),E<C&&J===ue?e.arc(c+pe.cx,f+pe.cy,E,Wn(pe.y0,pe.x0),Wn(L.y0,L.x0),!d):(J>0&&e.arc(c+pe.cx,f+pe.cy,J,Wn(pe.y0,pe.x0),Wn(pe.y1,pe.x1),!d),e.arc(c,f,r,Wn(pe.cy+pe.y1,pe.cx+pe.x1),Wn(L.cy+L.y1,L.cx+L.x1),!d),ue>0&&e.arc(c+L.cx,f+L.cy,ue,Wn(L.y1,L.x1),Wn(L.y0,L.x0),!d))}else e.moveTo(c+F,f+k),e.arc(c,f,r,l,u,!d);if(!(i>Di)||!z)e.lineTo(c+H,f+V);else if(M>Di){var J=ua(v,M),ue=ua(m,M),pe=gv(H,V,A,I,i,-ue,d),L=gv(F,k,O,D,i,-J,d);e.lineTo(c+pe.cx+pe.x0,f+pe.cy+pe.y0),M<T&&J===ue?e.arc(c+pe.cx,f+pe.cy,M,Wn(pe.y0,pe.x0),Wn(L.y0,L.x0),!d):(ue>0&&e.arc(c+pe.cx,f+pe.cy,ue,Wn(pe.y0,pe.x0),Wn(pe.y1,pe.x1),!d),e.arc(c,f,i,Wn(pe.cy+pe.y1,pe.cx+pe.x1),Wn(L.cy+L.y1,L.cx+L.x1),d),J>0&&e.arc(c+L.cx,f+L.cy,J,Wn(L.y1,L.x1),Wn(L.y0,L.x0),!d))}else e.lineTo(c+H,f+V),e.arc(c,f,i,u,l,d)}e.closePath()}}}var Ewe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),p$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Ewe},t.prototype.buildPath=function(n,r){Twe(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Nt);p$.prototype.type="sector";const bs=p$;var Awe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),v$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Awe},t.prototype.buildPath=function(n,r){var i=r.cx,a=r.cy,o=Math.PI*2;n.moveTo(i+r.r,a),n.arc(i,a,r.r,0,o,!1),n.moveTo(i+r.r0,a),n.arc(i,a,r.r0,0,o,!0)},t}(Nt);v$.prototype.type="ring";const H5=v$;function Mwe(e,t,n,r){var i=[],a=[],o=[],s=[],l,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var d=0,h=e.length;d<h;d++)Go(c,c,e[d]),jo(f,f,e[d]);Go(c,c,r[0]),jo(f,f,r[1])}for(var d=0,h=e.length;d<h;d++){var p=e[d];if(n)l=e[d?d-1:h-1],u=e[(d+1)%h];else if(d===0||d===h-1){i.push(J9(e[d]));continue}else l=e[d-1],u=e[d+1];ek(a,u,l),hg(a,a,t);var v=fm(p,l),m=fm(p,u),g=v+m;g!==0&&(v/=g,m/=g),hg(o,a,-v),hg(s,a,m);var y=q2([],p,o),_=q2([],p,s);r&&(jo(y,y,c),Go(y,y,f),jo(_,_,c),Go(_,_,f)),i.push(y),i.push(_)}return n&&i.push(i.shift()),i}function g$(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var a=Mwe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(n?o:o-1);s++){var l=a[s*2],u=a[s*2+1],c=i[(s+1)%o];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var Iwe=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),m$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Iwe},t.prototype.buildPath=function(n,r){g$(n,r,!0)},t}(Nt);m$.prototype.type="polygon";const Qc=m$;var Owe=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),y$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Owe},t.prototype.buildPath=function(n,r){g$(n,r,!1)},t}(Nt);y$.prototype.type="polyline";const ou=y$;var Pwe={},Rwe=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),b$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Rwe},t.prototype.buildPath=function(n,r){var i,a,o,s;if(this.subPixelOptimize){var l=Yk(Pwe,r,this.style);i=l.x1,a=l.y1,o=l.x2,s=l.y2}else i=r.x1,a=r.y1,o=r.x2,s=r.y2;var u=r.percent;u!==0&&(n.moveTo(i,a),u<1&&(o=i*(1-u)+o*u,s=a*(1-u)+s*u),n.lineTo(o,s))},t.prototype.pointAt=function(n){var r=this.shape;return[r.x1*(1-n)+r.x2*n,r.y1*(1-n)+r.y2*n]},t}(Nt);b$.prototype.type="line";const ps=b$;var gr=[],Dwe=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function _4(e,t,n){var r=e.cpx2,i=e.cpy2;return r!=null||i!=null?[(n?TE:xn)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?TE:xn)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?EE:jn)(e.x1,e.cpx1,e.x2,t),(n?EE:jn)(e.y1,e.cpy1,e.y2,t)]}var _$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Dwe},t.prototype.buildPath=function(n,r){var i=r.x1,a=r.y1,o=r.x2,s=r.y2,l=r.cpx1,u=r.cpy1,c=r.cpx2,f=r.cpy2,d=r.percent;d!==0&&(n.moveTo(i,a),c==null||f==null?(d<1&&(mm(i,l,o,d,gr),l=gr[1],o=gr[2],mm(a,u,s,d,gr),u=gr[1],s=gr[2]),n.quadraticCurveTo(l,u,o,s)):(d<1&&(gm(i,l,c,o,d,gr),l=gr[1],c=gr[2],o=gr[3],gm(a,u,f,s,d,gr),u=gr[1],f=gr[2],s=gr[3]),n.bezierCurveTo(l,u,c,f,o,s)))},t.prototype.pointAt=function(n){return _4(this.shape,n,!1)},t.prototype.tangentAt=function(n){var r=_4(this.shape,n,!0);return tk(r,r)},t}(Nt);_$.prototype.type="bezier-curve";const W5=_$;var Lwe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),w$=function(e){ve(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lwe},t.prototype.buildPath=function(n,r){var i=r.cx,a=r.cy,o=Math.max(r.r,0),s=r.startAngle,l=r.endAngle,u=r.clockwise,c=Math.cos(s),f=Math.sin(s);n.moveTo(c*o+i,f*o+a),n.arc(i,a,o,s,l,!u)},t}(Nt);w$.prototype.type="arc";const ay=w$;var kwe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="compound",n}return t.prototype._updatePathDirty=function(){for(var n=this.shape.paths,r=this.shapeChanged(),i=0;i<n.length;i++)r=r||n[i].shapeChanged();r&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var n=this.shape.paths||[],r=this.getGlobalScale(),i=0;i<n.length;i++)n[i].path||n[i].createPathProxy(),n[i].path.setScale(r[0],r[1],n[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(n,r){for(var i=r.paths||[],a=0;a<i.length;a++)i[a].buildPath(n,i[a].shape,!0)},t.prototype.afterBrush=function(){for(var n=this.shape.paths||[],r=0;r<n.length;r++)n[r].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Nt.prototype.getBoundingRect.call(this)},t}(Nt);const S$=kwe;var $we=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,n){this.colorStops.push({offset:t,color:n})},e}();const C$=$we;var Nwe=function(e){ve(t,e);function t(n,r,i,a,o,s){var l=e.call(this,o)||this;return l.x=n??0,l.y=r??0,l.x2=i??1,l.y2=a??0,l.type="linear",l.global=s||!1,l}return t}(C$);const oy=Nwe;var Bwe=function(e){ve(t,e);function t(n,r,i,a,o){var s=e.call(this,a)||this;return s.x=n??.5,s.y=r??.5,s.r=i??.5,s.type="radial",s.global=o||!1,s}return t}(C$);const x$=Bwe;var zs=[0,0],Vs=[0,0],mv=new tt,yv=new tt,Fwe=function(){function e(t,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new tt;for(var r=0;r<2;r++)this._axes[r]=new tt;t&&this.fromBoundingRect(t,n)}return e.prototype.fromBoundingRect=function(t,n){var r=this._corners,i=this._axes,a=t.x,o=t.y,s=a+t.width,l=o+t.height;if(r[0].set(a,o),r[1].set(s,o),r[2].set(s,l),r[3].set(a,l),n)for(var u=0;u<4;u++)r[u].transform(n);tt.sub(i[0],r[1],r[0]),tt.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(r[0])},e.prototype.intersect=function(t,n){var r=!0,i=!n;return mv.set(1/0,1/0),yv.set(0,0),!this._intersectCheckOneSide(this,t,mv,yv,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,mv,yv,i,-1)&&(r=!1,i)||i||tt.copy(n,r?mv:yv),r},e.prototype._intersectCheckOneSide=function(t,n,r,i,a,o){for(var s=!0,l=0;l<2;l++){var u=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,zs),this._getProjMinMaxOnAxis(l,n._corners,Vs),zs[1]<Vs[0]||zs[0]>Vs[1]){if(s=!1,a)return s;var c=Math.abs(Vs[0]-zs[1]),f=Math.abs(zs[0]-Vs[1]);Math.min(c,f)>i.len()&&(c<f?tt.scale(i,u,-c*o):tt.scale(i,u,f*o))}else if(r){var c=Math.abs(Vs[0]-zs[1]),f=Math.abs(zs[0]-Vs[1]);Math.min(c,f)<r.len()&&(c<f?tt.scale(r,u,c*o):tt.scale(r,u,-f*o))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,n,r){for(var i=this._axes[t],a=this._origin,o=n[0].dot(i)+a[t],s=o,l=o,u=1;u<n.length;u++){var c=n[u].dot(i)+a[t];s=Math.min(c,s),l=Math.max(c,l)}r[0]=s,r[1]=l},e}();const Sm=Fwe;var zwe=[],Vwe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.notClear=!0,n.incremental=!0,n._displayables=[],n._temporaryDisplayables=[],n._cursor=0,n}return t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(n,r){r?this._temporaryDisplayables.push(n):this._displayables.push(n),this.markRedraw()},t.prototype.addDisplayables=function(n,r){r=r||!1;for(var i=0;i<n.length;i++)this.addDisplayable(n[i],r)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(n){for(var r=this._cursor;r<this._displayables.length;r++)n&&n(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)n&&n(this._temporaryDisplayables[r])},t.prototype.update=function(){this.updateTransform();for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.parent=this,r.update(),r.parent=null}for(var n=0;n<this._temporaryDisplayables.length;n++){var r=this._temporaryDisplayables[n];r.parent=this,r.update(),r.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var n=new Et(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var i=this._displayables[r],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(zwe)),n.union(a)}this._rect=n}return this._rect},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var o=0;o<this._displayables.length;o++){var s=this._displayables[o];if(s.contain(n,r))return!0}return!1},t}(au);const T$=Vwe;var Hwe=tn();function U5(e,t,n,r,i){var a;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();a=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=e==="update";if(s){var u=void 0,c=void 0,f=void 0;r?(u=xt(r.duration,200),c=xt(r.easing,"cubicOut"),f=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),f=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(a.duration!=null&&(u=a.duration),a.easing!=null&&(c=a.easing),a.delay!=null&&(f=a.delay)),Xe(f)&&(f=f(n,i)),Xe(u)&&(u=u(n));var d={duration:u||0,delay:f,easing:c};return d}else return null}function G5(e,t,n,r,i,a,o){var s=!1,l;Xe(i)?(o=a,a=i,i=null):ze(i)&&(a=i.cb,o=i.during,s=i.isFrom,l=i.removeOpt,i=i.dataIndex);var u=e==="leave";u||t.stopAnimation("leave");var c=U5(e,r,i,u?l||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(c&&c.duration>0){var f=c.duration,d=c.delay,h=c.easing,p={duration:f,delay:d||0,easing:h,done:a,force:!!a||!!o,setToFinal:!u,scope:e,during:o};s?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!s&&t.attr(n),o&&o(1),a&&a()}function Vn(e,t,n,r,i,a){G5("update",e,t,n,r,i,a)}function Zr(e,t,n,r,i,a){G5("enter",e,t,n,r,i,a)}function Td(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if(n.scope==="leave")return!0}return!1}function Cm(e,t,n,r,i,a){Td(e)||G5("leave",e,t,n,r,i,a)}function w4(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),Cm(e,{style:{opacity:0}},t,n,r)}function xm(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(i){i.isGroup||w4(i,t,n,r)}):w4(e,t,n,r)}function j5(e){Hwe(e).oldStyle=e.style}var Tm=Math.max,Em=Math.min,Sw={};function E$(e){return Nt.extend(e)}var Wwe=ywe;function A$(e,t){return Wwe(e,t)}function Ei(e,t){Sw[e]=t}function q5(e){if(Sw.hasOwnProperty(e))return Sw[e]}function sy(e,t,n,r){var i=mwe(e,t);return n&&(r==="center"&&(n=M$(n,i.getBoundingRect())),Y5(i,n)),i}function K5(e,t,n){var r=new Da({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(n==="center"){var a={width:i.width,height:i.height};r.setStyle(M$(t,a))}}});return r}function M$(e,t){var n=t.width/t.height,r=e.height*n,i;r<=e.width?i=e.height:(r=e.width,i=r/n);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-r/2,y:o-i/2,width:r,height:i}}var I$=bwe;function Y5(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function mh(e,t){return Yk(e,e,{lineWidth:t}),e}function Uwe(e){return Zk(e.shape,e.shape,e.style),e}var Gwe=ul;function as(e,t){for(var n=cp([]);e&&e!==t;)rs(n,e.getLocalTransform(),n),e=e.parent;return n}function os(e,t,n){return t&&!tr(t)&&(t=A5.getLocalTransform(t)),n&&(t=fp([],t)),dr([],e,t)}function ly(e,t,n){var r=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),a=[e==="left"?-r:e==="right"?r:0,e==="top"?-i:e==="bottom"?i:0];return a=os(a,t,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function S4(e){return!e.isGroup}function jwe(e){return e.shape!=null}function O$(e,t,n){if(!e||!t)return;function r(o){var s={};return o.traverse(function(l){S4(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return jwe(o)&&(s.shape=me({},o.shape)),s}var a=r(e);t.traverse(function(o){if(S4(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),Vn(o,l,n,Pt(o).dataIndex)}}})}function Z5(e,t){return ke(e,function(n){var r=n[0];r=Tm(r,t.x),r=Em(r,t.x+t.width);var i=n[1];return i=Tm(i,t.y),i=Em(i,t.y+t.height),[r,i]})}function P$(e,t){var n=Tm(e.x,t.x),r=Em(e.x+e.width,t.x+t.width),i=Tm(e.y,t.y),a=Em(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function vp(e,t,n){var r=me({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),bt(i,n),new Da(r)):sy(e.replace("path://",""),r,n,"center")}function qwe(e,t,n,r,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(R$(e,t,n,r,s[0],s[1],o[0],o[1]))return!0;o=s}}function R$(e,t,n,r,i,a,o,s){var l=n-e,u=r-t,c=o-i,f=s-a,d=pb(c,f,l,u);if(Kwe(d))return!1;var h=e-i,p=t-a,v=pb(h,p,l,u)/d;if(v<0||v>1)return!1;var m=pb(h,p,c,f)/d;return!(m<0||m>1)}function pb(e,t,n,r){return e*r-n*t}function Kwe(e){return e<=1e-6&&e>=-1e-6}function gp(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Be(t)?{formatter:t}:t,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&R(Dt(l),function(c){ot(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=Pt(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:r,option:bt({content:r,formatterParams:s},i)}}function C4(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function uy(e,t){if(e)if(Ce(e))for(var n=0;n<e.length;n++)C4(e[n],t);else C4(e,t)}Ei("circle",iy);Ei("ellipse",V5);Ei("sector",bs);Ei("ring",H5);Ei("polygon",Qc);Ei("polyline",ou);Ei("rect",Gt);Ei("line",ps);Ei("bezierCurve",W5);Ei("arc",ay);const Ywe=Object.freeze(Object.defineProperty({__proto__:null,Arc:ay,BezierCurve:W5,BoundingRect:Et,Circle:iy,CompoundPath:S$,Ellipse:V5,Group:qt,Image:Da,IncrementalDisplayable:T$,Line:ps,LinearGradient:oy,OrientedBoundingRect:Sm,Path:Nt,Point:tt,Polygon:Qc,Polyline:ou,RadialGradient:x$,Rect:Gt,Ring:H5,Sector:bs,Text:Ft,applyTransform:os,clipPointsByRect:Z5,clipRectByRect:P$,createIcon:vp,extendPath:A$,extendShape:E$,getShapeClass:q5,getTransform:as,groupTransition:O$,initProps:Zr,isElementRemoved:Td,lineLineIntersect:R$,linePolygonIntersect:qwe,makeImage:K5,makePath:sy,mergePath:I$,registerShape:Ei,removeElement:Cm,removeElementWithFadeOut:xm,resizePath:Y5,setTooltipConfig:gp,subPixelOptimize:Gwe,subPixelOptimizeLine:mh,subPixelOptimizeRect:Uwe,transformDirection:ly,traverseElements:uy,updateProps:Vn},Symbol.toStringTag,{value:"Module"}));var cy={};function Zwe(e,t){for(var n=0;n<wi.length;n++){var r=wi[n],i=t[r],a=e.ensureState(r);a.style=a.style||{},a.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function x4(e,t,n){var r=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,o=t.normal,s;r&&(s=r.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),n!=null?{interpolatedValue:n}:null)),s==null&&(s=Xe(e.defaultText)?e.defaultText(i,e,n):e.defaultText);for(var l={normal:s},u=0;u<wi.length;u++){var c=wi[u],f=t[c];l[c]=xt(r?r.getFormattedLabel(i,c,null,a,f&&f.get("formatter")):null,s)}return l}function mp(e,t,n,r){n=n||cy;for(var i=e instanceof Ft,a=!1,o=0;o<_m.length;o++){var s=t[_m[o]];if(s&&s.getShallow("show")){a=!0;break}}var l=i?e:e.getTextContent();if(a){i||(l||(l=new Ft,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var u=x4(n,t),c=t.normal,f=!!c.getShallow("show"),d=Pr(c,r&&r.normal,n,!1,!i);d.text=u.normal,i||e.setTextConfig(T4(c,n,!1));for(var o=0;o<wi.length;o++){var h=wi[o],s=t[h];if(s){var p=l.ensureState(h),v=!!xt(s.getShallow("show"),f);if(v!==f&&(p.ignore=!v),p.style=Pr(s,r&&r[h],n,!0,!i),p.style.text=u[h],!i){var m=e.ensureState(h);m.textConfig=T4(s,n,!0)}}}l.silent=!!c.getShallow("silent"),l.style.x!=null&&(d.x=l.style.x),l.style.y!=null&&(d.y=l.style.y),l.ignore=!f,l.useStyle(d),l.dirty(),n.enableTextSetter&&(fy(l).setLabelText=function(g){var y=x4(n,t,g);Zwe(l,y)})}else l&&(l.ignore=!0);e.dirty()}function yp(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<wi.length;r++){var i=wi[r];n[i]=e.getModel([i,t])}return n}function Pr(e,t,n,r,i){var a={};return Xwe(a,e,n,r,i),t&&me(a,t),a}function T4(e,t,n){t=t||{};var r={},i,a=e.getShallow("rotate"),o=xt(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(n?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(r.position=i),s!=null&&(r.offset=s),a!=null&&(a*=Math.PI/180,r.rotation=a),o!=null&&(r.distance=o),r.outsideFill=e.get("color")==="inherit"?t.inheritColor||null:"auto",r}function Xwe(e,t,n,r,i){n=n||cy;var a=t.ecModel,o=a&&a.option.textStyle,s=Qwe(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var c=t.getModel(["rich",u]);I4(l[u]={},c,o,n,r,i,!1,!0)}}l&&(e.rich=l);var f=t.get("overflow");f&&(e.overflow=f);var d=t.get("minMargin");d!=null&&(e.margin=d),I4(e,t,o,n,r,i,!0,!1)}function Qwe(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||cy).rich;if(n){t=t||{};for(var r=Dt(n),i=0;i<r.length;i++){var a=r[i];t[a]=1}}e=e.parentModel}return t}var E4=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],A4=["align","lineHeight","width","height","tag","verticalAlign"],M4=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function I4(e,t,n,r,i,a,o,s){n=!i&&n||cy;var l=r&&r.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=xt(t.getShallow("opacity"),n.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(c==="inherit"||c==="auto")&&(l?c=l:c=null),a||(u=u||n.color,c=c||n.textBorderColor),u!=null&&(e.fill=u),c!=null&&(e.stroke=c);var d=xt(t.getShallow("textBorderWidth"),n.textBorderWidth);d!=null&&(e.lineWidth=d);var h=xt(t.getShallow("textBorderType"),n.textBorderType);h!=null&&(e.lineDash=h);var p=xt(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);p!=null&&(e.lineDashOffset=p),!i&&f==null&&!s&&(f=r&&r.defaultOpacity),f!=null&&(e.opacity=f),!i&&!a&&e.fill==null&&r.inheritColor&&(e.fill=r.inheritColor);for(var v=0;v<E4.length;v++){var m=E4[v],g=xt(t.getShallow(m),n[m]);g!=null&&(e[m]=g)}for(var v=0;v<A4.length;v++){var m=A4[v],g=t.getShallow(m);g!=null&&(e[m]=g)}if(e.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(e.verticalAlign=y)}if(!o||!r.disableBox){for(var v=0;v<M4.length;v++){var m=M4[v],g=t.getShallow(m);g!=null&&(e[m]=g)}var _=t.getShallow("borderType");_!=null&&(e.borderDash=_),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&l&&(e.backgroundColor=l),(e.borderColor==="auto"||e.borderColor==="inherit")&&l&&(e.borderColor=l)}}function Jwe(e,t){var n=t&&t.getModel("textStyle");return Vi([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var fy=tn();function eSe(e,t,n,r){if(e){var i=fy(e);i.prevValue=i.value,i.value=n;var a=t.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}var tSe=["textStyle","color"],vb=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],gb=new Ft,nSe=function(){function e(){}return e.prototype.getTextColor=function(t){var n=this.ecModel;return this.getShallow("color")||(!t&&n?n.get(tSe):null)},e.prototype.getFont=function(){return Jwe({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var n={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<vb.length;r++)n[vb[r]]=this.getShallow(vb[r]);return gb.useStyle(n),gb.update(),gb.getBoundingRect()},e}();const rSe=nSe;var D$=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],iSe=ph(D$),aSe=function(){function e(){}return e.prototype.getLineStyle=function(t){return iSe(this,t)},e}(),L$=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],oSe=ph(L$),sSe=function(){function e(){}return e.prototype.getItemStyle=function(t,n){return oSe(this,t,n)},e}(),su=function(){function e(t,n,r){this.parentModel=n,this.ecModel=r,this.option=t}return e.prototype.init=function(t,n,r){},e.prototype.mergeOption=function(t,n){nt(this.option,t,!0)},e.prototype.get=function(t,n){return t==null?this.option:this._doGet(this.parsePath(t),!n&&this.parentModel)},e.prototype.getShallow=function(t,n){var r=this.option,i=r==null?r:r[t];if(i==null&&!n){var a=this.parentModel;a&&(i=a.getShallow(t))}return i},e.prototype.getModel=function(t,n){var r=t!=null,i=r?this.parsePath(t):null,a=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(a,n,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(qe(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!vt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,n){var r=this.option;if(!t)return r;for(var i=0;i<t.length&&!(t[i]&&(r=r&&typeof r=="object"?r[t[i]]:null,r==null));i++);return r==null&&n&&(r=n._doGet(this.resolveParentPath(t),n.parentModel)),r},e}();k5(su);Y_e(su);xi(su,aSe);xi(su,sSe);xi(su,e2e);xi(su,rSe);const wn=su;var lSe=Math.round(Math.random()*10);function bp(e){return[e||"",lSe++].join("_")}function uSe(e){var t={};e.registerSubTypeDefaulter=function(n,r){var i=wa(n);t[i.main]=r},e.determineSubType=function(n,r){var i=r.type;if(!i){var a=wa(n).main;e.hasSubTypes(n)&&t[a]&&(i=t[a](r))}return i}}function cSe(e,t){e.topologicalTravel=function(a,o,s,l){if(!a.length)return;var u=n(o),c=u.graph,f=u.noEntryList,d={};for(R(a,function(y){d[y]=!0});f.length;){var h=f.pop(),p=c[h],v=!!d[h];v&&(s.call(l,h,p.originalDeps.slice()),delete d[h]),R(p.successor,v?g:m)}R(d,function(){var y="";throw new Error(y)});function m(y){c[y].entryCount--,c[y].entryCount===0&&f.push(y)}function g(y){d[y]=!0,m(y)}};function n(a){var o={},s=[];return R(a,function(l){var u=r(o,l),c=u.originalDeps=t(l),f=i(c,a);u.entryCount=f.length,u.entryCount===0&&s.push(l),R(f,function(d){ft(u.predecessor,d)<0&&u.predecessor.push(d);var h=r(o,d);ft(h.successor,d)<0&&h.successor.push(l)})}),{graph:o,noEntryList:s}}function r(a,o){return a[o]||(a[o]={predecessor:[],successor:[]}),a[o]}function i(a,o){var s=[];return R(a,function(l){ft(o,l)>=0&&s.push(l)}),s}}function Jc(e,t){return nt(nt({},e,!0),t,!0)}const fSe={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},dSe={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表，"},series:{single:{prefix:"",withName:"图表类型是{seriesType}，表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}，",withoutName:"第{seriesId}个系列是一个{seriesType}，",separator:{middle:"；",end:"。"}}},data:{allData:"其数据是——",partialData:"其中，前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"，",end:""}}}};var Am="ZH",X5="EN",yh=X5,xg={},Q5={},k$=vt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(Am)>-1?Am:yh}():yh;function J5(e,t){e=e.toUpperCase(),Q5[e]=new wn(t),xg[e]=t}function hSe(e){if(Be(e)){var t=xg[e.toUpperCase()]||{};return e===Am||e===X5?qe(t):nt(qe(t),qe(xg[yh]),!1)}else return nt(qe(e),qe(xg[yh]),!1)}function pSe(e){return Q5[e]}function vSe(){return Q5[yh]}J5(X5,fSe);J5(Am,dSe);var ex=1e3,tx=ex*60,Ed=tx*60,fi=Ed*24,O4=fi*365,qf={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},bv="{yyyy}-{MM}-{dd}",P4={year:"{yyyy}",month:"{yyyy}-{MM}",day:bv,hour:bv+" "+qf.hour,minute:bv+" "+qf.minute,second:bv+" "+qf.second,millisecond:qf.none},mb=["year","month","day","hour","minute","second","millisecond"],$$=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Sr(e,t){return e+="","0000".substr(0,t-e.length)+e}function sc(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function gSe(e){return e===sc(e)}function mSe(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _p(e,t,n,r){var i=_i(e),a=i[nx(n)](),o=i[lc(n)]()+1,s=Math.floor((o-1)/3)+1,l=i[dy(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[bh(n)](),f=(c-1)%12+1,d=i[hy(n)](),h=i[py(n)](),p=i[vy(n)](),v=r instanceof wn?r:pSe(r||k$)||vSe(),m=v.getModel("time"),g=m.get("month"),y=m.get("monthAbbr"),_=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,Sr(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Sr(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Sr(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Sr(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Sr(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Sr(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Sr(p,3)).replace(/{S}/g,p+"")}function ySe(e,t,n,r,i){var a=null;if(Be(n))a=n;else if(Xe(n))a=n(e.value,t,{level:e.level});else{var o=me({},qf);if(e.level>0)for(var s=0;s<mb.length;++s)o[mb[s]]="{primary|"+o[mb[s]]+"}";var l=n?n.inherit===!1?n:bt(n,o):o,u=N$(e.value,i);if(l[u])a=l[u];else if(l.inherit){for(var c=$$.indexOf(u),s=c-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(Ce(a)){var f=e.level==null?0:e.level>=0?e.level:a.length+e.level;f=Math.min(f,a.length-1),a=a[f]}}return _p(new Date(e.value),a,i,r)}function N$(e,t){var n=_i(e),r=n[lc(t)]()+1,i=n[dy(t)](),a=n[bh(t)](),o=n[hy(t)](),s=n[py(t)](),l=n[vy(t)](),u=l===0,c=u&&s===0,f=c&&o===0,d=f&&a===0,h=d&&i===1,p=h&&r===1;return p?"year":h?"month":d?"day":f?"hour":c?"minute":u?"second":"millisecond"}function R4(e,t,n){var r=Ut(e)?_i(e):e;switch(t=t||N$(e,n),t){case"year":return r[nx(n)]();case"half-year":return r[lc(n)]()>=6?1:0;case"quarter":return Math.floor((r[lc(n)]()+1)/4);case"month":return r[lc(n)]();case"day":return r[dy(n)]();case"half-day":return r[bh(n)]()/24;case"hour":return r[bh(n)]();case"minute":return r[hy(n)]();case"second":return r[py(n)]();case"millisecond":return r[vy(n)]()}}function nx(e){return e?"getUTCFullYear":"getFullYear"}function lc(e){return e?"getUTCMonth":"getMonth"}function dy(e){return e?"getUTCDate":"getDate"}function bh(e){return e?"getUTCHours":"getHours"}function hy(e){return e?"getUTCMinutes":"getMinutes"}function py(e){return e?"getUTCSeconds":"getSeconds"}function vy(e){return e?"getUTCMilliseconds":"getMilliseconds"}function bSe(e){return e?"setUTCFullYear":"setFullYear"}function B$(e){return e?"setUTCMonth":"setMonth"}function F$(e){return e?"setUTCDate":"setDate"}function z$(e){return e?"setUTCHours":"setHours"}function V$(e){return e?"setUTCMinutes":"setMinutes"}function H$(e){return e?"setUTCSeconds":"setSeconds"}function W$(e){return e?"setUTCMilliseconds":"setMilliseconds"}function _Se(e,t,n,r,i,a,o,s){var l=new Ft({style:{text:e,font:t,align:n,verticalAlign:r,padding:i,rich:a,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function rx(e){if(!Ok(e))return Be(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function ix(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var ef=b5;function Cw(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&Vi(c)?c:"-"}function a(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=e instanceof Date;if(o||s){var l=o?_i(e):e;if(isNaN(+l)){if(s)return"-"}else return _p(l,r,n)}if(t==="ordinal")return um(e)?i(e):Ut(e)&&a(e)?e+"":"-";var u=dh(e);return a(u)?rx(u):um(e)?i(e):typeof e=="boolean"?e+"":"-"}var D4=["a","b","c","d","e","f","g"],yb=function(e,t){return"{"+e+(t??"")+"}"};function ax(e,t,n){Ce(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],a=0;a<i.length;a++){var o=D4[a];e=e.replace(yb(o),yb(o,0))}for(var s=0;s<r;s++)for(var l=0;l<i.length;l++){var u=t[s][i[l]];e=e.replace(yb(D4[l],s),n?Hr(u):u)}return e}function U$(e,t){var n=Be(e)?{color:e,extraCssText:t}:e||{},r=n.color,i=n.type;t=n.extraCssText;var a=n.renderMode||"html";if(!r)return"";if(a==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Hr(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Hr(r)+";"+(t||"")+'"></span>';var o=n.markerId||"markerX";return{renderMode:a,content:"{"+o+"|}  ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function wSe(e,t,n){(e==="week"||e==="month"||e==="quarter"||e==="half-year"||e==="year")&&(e=`MM-dd
yyyy`);var r=_i(t),i=n?"getUTC":"get",a=r[i+"FullYear"](),o=r[i+"Month"]()+1,s=r[i+"Date"](),l=r[i+"Hours"](),u=r[i+"Minutes"](),c=r[i+"Seconds"](),f=r[i+"Milliseconds"]();return e=e.replace("MM",Sr(o,2)).replace("M",o).replace("yyyy",a).replace("yy",Sr(a%100+"",2)).replace("dd",Sr(s,2)).replace("d",s).replace("hh",Sr(l,2)).replace("h",l).replace("mm",Sr(u,2)).replace("m",u).replace("ss",Sr(c,2)).replace("s",c).replace("SSS",Sr(f,3)),e}function SSe(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function jl(e,t){return t=t||"transparent",Be(e)?e:ze(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function L4(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var Tg=R,G$=["left","right","top","bottom","width","height"],_v=[["width","left","right"],["height","top","bottom"]];function ox(e,t,n,r,i){var a=0,o=0;r==null&&(r=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),d=f&&f.getBoundingRect(),h,p;if(e==="horizontal"){var v=c.width+(d?-d.x+c.x:0);h=a+v,h>r||l.newline?(a=0,h=v,o+=s+n,s=c.height):s=Math.max(s,c.height)}else{var m=c.height+(d?-d.y+c.y:0);p=o+m,p>i||l.newline?(a+=s+n,o=0,p=m,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),e==="horizontal"?a=h+n:o=p+n)})}var Tl=ox;Ct(ox,"vertical");Ct(ox,"horizontal");function Zi(e,t,n){n=ef(n||0);var r=t.width,i=t.height,a=Ht(e.left,r),o=Ht(e.top,i),s=Ht(e.right,r),l=Ht(e.bottom,i),u=Ht(e.width,r),c=Ht(e.height,i),f=n[2]+n[0],d=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-s-d-a),isNaN(c)&&(c=i-l-f-o),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(a)&&(a=r-s-u-d),isNaN(o)&&(o=i-l-c-f),e.left||e.right){case"center":a=r/2-u/2-n[3];break;case"right":a=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-c/2-n[0];break;case"bottom":o=i-c-f;break}a=a||0,o=o||0,isNaN(u)&&(u=r-d-a-(s||0)),isNaN(c)&&(c=i-f-o-(l||0));var p=new Et(a+n[3],o+n[0],u,c);return p.margin=n,p}function sx(e,t,n,r,i,a){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var u;if(l==="raw")u=e.type==="group"?new Et(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=Zi(bt({width:u.width,height:u.height},t),n,r),d=o?f.x-u.x:0,h=s?f.y-u.y:0;return l==="raw"?(a.x=d,a.y=h):(a.x+=d,a.y+=h),a===e&&e.markRedraw(),!0}function _h(e){var t=e.layoutMode||e.constructor.layoutMode;return ze(t)?t:t?{type:t}:null}function ql(e,t,n){var r=n&&n.ignoreSize;!Ce(r)&&(r=[r,r]);var i=o(_v[0],0),a=o(_v[1],1);u(_v[0],e,i),u(_v[1],e,a);function o(c,f){var d={},h=0,p={},v=0,m=2;if(Tg(c,function(_){p[_]=e[_]}),Tg(c,function(_){s(t,_)&&(d[_]=p[_]=t[_]),l(d,_)&&h++,l(p,_)&&v++}),r[f])return l(t,c[1])?p[c[2]]=null:l(t,c[2])&&(p[c[1]]=null),p;if(v===m||!h)return p;if(h>=m)return d;for(var g=0;g<c.length;g++){var y=c[g];if(!s(d,y)&&s(e,y)){d[y]=e[y];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){Tg(c,function(h){f[h]=d[h]})}}function wp(e){return j$({},e)}function j$(e,t){return t&&e&&Tg(G$,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var CSe=tn(),tf=function(e){ve(t,e);function t(n,r,i){var a=e.call(this,n,r,i)||this;return a.uid=bp("ec_cpt_model"),a}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=_h(this),a=i?wp(n):{},o=r.getTheme();nt(n,o.get(this.mainType)),nt(n,this.getDefaultOption()),i&&ql(n,a,i)},t.prototype.mergeOption=function(n,r){nt(this.option,n,!0);var i=_h(this);i&&ql(this.option,n,i)},t.prototype.optionUpdated=function(n,r){},t.prototype.getDefaultOption=function(){var n=this.constructor;if(!j_e(n))return n.defaultOption;var r=CSe(this);if(!r.defaultOption){for(var i=[],a=n;a;){var o=a.prototype.defaultOption;o&&i.push(o),a=a.superClass}for(var s={},l=i.length-1;l>=0;l--)s=nt(s,i[l],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",a=n+"Id";return pp(this.ecModel,n,{index:this.get(i,!0),id:this.get(a,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(wn);Fk(tf,wn);Q0(tf);uSe(tf);cSe(tf,xSe);function xSe(e){var t=[];return R(tf.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=ke(t,function(n){return wa(n).main}),e!=="dataset"&&ft(t,"dataset")<=0&&t.unshift("dataset"),t}const Lt=tf;var q$="";typeof navigator<"u"&&(q$=navigator.platform||"");var Eu="rgba(0, 0, 0, 0.2)";const TSe={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Eu,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Eu,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Eu,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Eu,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Eu,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Eu,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:q$.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var K$=Qe(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Ai="original",Nr="arrayRows",ta="objectRows",La="keyedColumns",ss="typedArray",Y$="unknown",Ja="column",nf="row",$n={Must:1,Might:2,Not:3},Z$=tn();function ESe(e){Z$(e).datasetMap=Qe()}function ASe(e,t,n){var r={},i=lx(t);if(!i||!e)return r;var a=[],o=[],s=t.ecModel,l=Z$(s).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),R(e,function(v,m){var g=ze(v)?v:e[m]={name:v};g.type==="ordinal"&&c==null&&(c=m,f=p(g)),r[g.name]=[]});var d=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});R(e,function(v,m){var g=v.name,y=p(v);if(c==null){var _=d.valueWayDim;h(r[g],_,y),h(o,_,y),d.valueWayDim+=y}else if(c===m)h(r[g],0,y),h(a,0,y);else{var _=d.categoryWayDim;h(r[g],_,y),h(o,_,y),d.categoryWayDim+=y}});function h(v,m,g){for(var y=0;y<g;y++)v.push(m+y)}function p(v){var m=v.dimsDef;return m?m.length:1}return a.length&&(r.itemName=a),o.length&&(r.seriesName=o),r}function MSe(e,t,n){var r={},i=lx(e);if(!i)return r;var a=t.sourceFormat,o=t.dimensionsDefine,s;(a===ta||a===La)&&R(o,function(c,f){(ze(c)?c.name:c)==="name"&&(s=f)});var l=function(){for(var c={},f={},d=[],h=0,p=Math.min(5,n);h<p;h++){var v=Q$(t.data,a,t.seriesLayoutBy,o,t.startIndex,h);d.push(v);var m=v===$n.Not;if(m&&c.v==null&&h!==s&&(c.v=h),(c.n==null||c.n===c.v||!m&&d[c.n]===$n.Not)&&(c.n=h),g(c)&&d[c.n]!==$n.Not)return c;m||(v===$n.Might&&f.v==null&&h!==s&&(f.v=h),(f.n==null||f.n===f.v)&&(f.n=h))}function g(y){return y.v!=null&&y.n!=null}return g(c)?c:g(f)?f:null}();if(l){r.value=[l.v];var u=s??l.n;r.itemName=[u],r.seriesName=[u]}return r}function lx(e){var t=e.get("data",!0);if(!t)return pp(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},fr).models[0]}function ISe(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:pp(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},fr).models}function X$(e,t){return Q$(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function Q$(e,t,n,r,i,a){var o,s=5;if($r(e))return $n.Not;var l,u;if(r){var c=r[a];ze(c)?(l=c.name,u=c.type):Be(c)&&(l=c)}if(u!=null)return u==="ordinal"?$n.Must:$n.Not;if(t===Nr){var f=e;if(n===nf){for(var d=f[a],h=0;h<(d||[]).length&&h<s;h++)if((o=b(d[i+h]))!=null)return o}else for(var h=0;h<f.length&&h<s;h++){var p=f[i+h];if(p&&(o=b(p[a]))!=null)return o}}else if(t===ta){var v=e;if(!l)return $n.Not;for(var h=0;h<v.length&&h<s;h++){var m=v[h];if(m&&(o=b(m[l]))!=null)return o}}else if(t===La){var g=e;if(!l)return $n.Not;var d=g[l];if(!d||$r(d))return $n.Not;for(var h=0;h<d.length&&h<s;h++)if((o=b(d[h]))!=null)return o}else if(t===Ai)for(var y=e,h=0;h<y.length&&h<s;h++){var m=y[h],_=hp(m);if(!Ce(_))return $n.Not;if((o=b(_[a]))!=null)return o}function b(S){var w=Be(S);if(S!=null&&isFinite(S)&&S!=="")return w?$n.Might:$n.Not;if(w&&S!=="-")return $n.Must}return $n.Not}var xw=Qe();function OSe(e,t){bi(xw.get(e)==null&&t),xw.set(e,t)}function PSe(e,t,n){var r=xw.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}var k4=tn();tn();var ux=function(){function e(){}return e.prototype.getColorFromPalette=function(t,n,r){var i=Sn(this.get("color",!0)),a=this.get("colorLayer",!0);return DSe(this,k4,i,a,t,n,r)},e.prototype.clearColorPalette=function(){LSe(this,k4)},e}();function RSe(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function DSe(e,t,n,r,i,a,o){a=a||e;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=o==null||!r?n:RSe(r,o);if(c=c||n,!(!c||!c.length)){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function LSe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var wv,Sf,$4,N4="\0_ec_inner",kSe=1,J$=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,a,o,s){a=a||{},this.option=null,this._theme=new wn(a),this._locale=new wn(o),this._optionManager=s},t.prototype.setOption=function(n,r,i){var a=z4(r);this._optionManager.setOption(n,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(n,r){return this._resetOption(n,z4(r))},t.prototype._resetOption=function(n,r){var i=!1,a=this._optionManager;if(!n||n==="recreate"){var o=a.mountOption(n==="recreate");!this.option||n==="recreate"?$4(this,o):(this.restoreData(),this._mergeOption(o,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,r))}if(!n||n==="recreate"||n==="media"){var l=a.getMediaOption(this);l.length&&R(l,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=Qe(),u=r&&r.replaceMergeMainTypeMap;ESe(this),R(n,function(f,d){f!=null&&(Lt.hasClass(d)?d&&(s.push(d),l.set(d,!0)):i[d]=i[d]==null?qe(f):nt(i[d],f,!0))}),u&&u.each(function(f,d){Lt.hasClass(d)&&!l.get(d)&&(s.push(d),l.set(d,!0))}),Lt.topologicalTravel(s,Lt.getAllClassMainTypes(),c,this);function c(f){var d=PSe(this,f,Sn(n[f])),h=a.get(f),p=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=kk(h,d,p);$_e(v,f,Lt),i[f]=null,a.set(f,null),o.set(f,0);var m=[],g=[],y=0,_;R(v,function(b,S){var w=b.existing,C=b.newOption;if(!C)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var T=f==="series",E=Lt.getClass(f,b.keyInfo.subType,!T);if(!E)return;if(f==="tooltip"){if(_)return;_=!0}if(w&&w.constructor===E)w.name=b.keyInfo.name,w.mergeOption(C,this),w.optionUpdated(C,!1);else{var M=me({componentIndex:S},b.keyInfo);w=new E(C,this,this,M),me(w,M),b.brandNew&&(w.__requireNewView=!0),w.init(C,this,this),w.optionUpdated(null,!0)}}w?(m.push(w.option),g.push(w),y++):(m.push(void 0),g.push(void 0))},this),i[f]=m,a.set(f,g),o.set(f,y),f==="series"&&wv(this)}this._seriesIndices||wv(this)},t.prototype.getOption=function(){var n=qe(this.option);return R(n,function(r,i){if(Lt.hasClass(i)){for(var a=Sn(r),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!hh(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,n[i]=a}}),delete n[N4],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var a=i[r||0];if(a)return a;if(r==null){for(var o=0;o<i.length;o++)if(i[o])return i[o]}}},t.prototype.queryComponents=function(n){var r=n.mainType;if(!r)return[];var i=n.index,a=n.id,o=n.name,s=this._componentsMap.get(r);if(!s||!s.length)return[];var l;return i!=null?(l=[],R(Sn(i),function(u){s[u]&&l.push(s[u])})):a!=null?l=B4("id",a,s):o!=null?l=B4("name",o,s):l=hn(s,function(u){return!!u}),F4(l,n)},t.prototype.findComponents=function(n){var r=n.query,i=n.mainType,a=s(r),o=a?this.queryComponents(a):hn(this._componentsMap.get(i),function(u){return!!u});return l(F4(o,n));function s(u){var c=i+"Index",f=i+"Id",d=i+"Name";return u&&(u[c]!=null||u[f]!=null||u[d]!=null)?{mainType:i,index:u[c],id:u[f],name:u[d]}:null}function l(u){return n.filter?hn(u,n.filter):u}},t.prototype.eachComponent=function(n,r,i){var a=this._componentsMap;if(Xe(n)){var o=r,s=n;a.each(function(f,d){for(var h=0;f&&h<f.length;h++){var p=f[h];p&&s.call(o,d,p,p.componentIndex)}})}else for(var l=Be(n)?a.get(n):ze(n)?this.findComponents(n):null,u=0;l&&u<l.length;u++){var c=l[u];c&&r.call(i,c,c.componentIndex)}},t.prototype.getSeriesByName=function(n){var r=cr(n,null);return hn(this._componentsMap.get("series"),function(i){return!!i&&r!=null&&i.name===r})},t.prototype.getSeriesByIndex=function(n){return this._componentsMap.get("series")[n]},t.prototype.getSeriesByType=function(n){return hn(this._componentsMap.get("series"),function(r){return!!r&&r.subType===n})},t.prototype.getSeries=function(){return hn(this._componentsMap.get("series"),function(n){return!!n})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(n,r){Sf(this),R(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];n.call(r,a,i)},this)},t.prototype.eachRawSeries=function(n,r){R(this._componentsMap.get("series"),function(i){i&&n.call(r,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(n,r,i){Sf(this),R(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===n&&r.call(i,o,a)},this)},t.prototype.eachRawSeriesByType=function(n,r,i){return R(this.getSeriesByType(n),r,i)},t.prototype.isSeriesFiltered=function(n){return Sf(this),this._seriesIndicesMap.get(n.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(n,r){Sf(this);var i=[];R(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];n.call(r,o,a)&&i.push(a)},this),this._seriesIndices=i,this._seriesIndicesMap=Qe(i)},t.prototype.restoreData=function(n){wv(this);var r=this._componentsMap,i=[];r.each(function(a,o){Lt.hasClass(o)&&i.push(o)}),Lt.topologicalTravel(i,Lt.getAllClassMainTypes(),function(a){R(r.get(a),function(o){o&&(a!=="series"||!$Se(o,n))&&o.restoreData()})})},t.internalField=function(){wv=function(n){var r=n._seriesIndices=[];R(n._componentsMap.get("series"),function(i){i&&r.push(i.componentIndex)}),n._seriesIndicesMap=Qe(r)},Sf=function(n){},$4=function(n,r){n.option={},n.option[N4]=kSe,n._componentsMap=Qe({series:[]}),n._componentsCount=Qe();var i=r.aria;ze(i)&&i.enabled==null&&(i.enabled=!0),NSe(r,n._theme.option),nt(r,TSe,!1),n._mergeOption(r,null)}}(),t}(wn);function $Se(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return n!=null&&e.componentIndex!==n||r!=null&&e.id!==r||i!=null&&e.name!==i}}function NSe(e,t){var n=e.color&&!e.colorLayer;R(t,function(r,i){i==="colorLayer"&&n||Lt.hasClass(i)||(typeof r=="object"?e[i]=e[i]?nt(e[i],r,!1):qe(r):e[i]==null&&(e[i]=r))})}function B4(e,t,n){if(Ce(t)){var r=Qe();return R(t,function(a){if(a!=null){var o=cr(a,null);o!=null&&r.set(a,!0)}}),hn(n,function(a){return a&&r.get(a[e])})}else{var i=cr(t,null);return hn(n,function(a){return a&&i!=null&&a[e]===i})}}function F4(e,t){return t.hasOwnProperty("subType")?hn(e,function(n){return n&&n.subType===t.subType}):e}function z4(e){var t=Qe();return e&&R(Sn(e.replaceMerge),function(n){t.set(n,!0)}),{replaceMergeMainTypeMap:t}}xi(J$,ux);const eN=J$;var BSe=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],FSe=function(){function e(t){R(BSe,function(n){this[n]=Fe(t[n],t)},this)}return e}();const tN=FSe;var bb={},zSe=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,n){var r=[];R(bb,function(i,a){var o=i.create(t,n);r=r.concat(o||[])}),this._coordinateSystems=r},e.prototype.update=function(t,n){R(this._coordinateSystems,function(r){r.update&&r.update(t,n)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,n){bb[t]=n},e.get=function(t){return bb[t]},e}();const gy=zSe;var VSe=/^(min|max)?(.+)$/,HSe=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,n,r){t&&(R(Sn(t.series),function(o){o&&o.data&&$r(o.data)&&cm(o.data)}),R(Sn(t.dataset),function(o){o&&o.source&&$r(o.source)&&cm(o.source)})),t=qe(t);var i=this._optionBackup,a=WSe(t,n,!i);this._newBaseOption=a.baseOption,i?(a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},e.prototype.mountOption=function(t){var n=this._optionBackup;return this._timelineOptions=n.timelineOptions,this._mediaList=n.mediaList,this._mediaDefault=n.mediaDefault,this._currentMediaIndices=[],qe(t?n.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var n,r=this._timelineOptions;if(r.length){var i=t.getComponent("timeline");i&&(n=qe(r[i.getCurrentIndex()]))}return n},e.prototype.getMediaOption=function(t){var n=this._api.getWidth(),r=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!i.length&&!a)return s;for(var l=0,u=i.length;l<u;l++)USe(i[l].query,n,r)&&o.push(l);return!o.length&&a&&(o=[-1]),o.length&&!jSe(o,this._currentMediaIndices)&&(s=ke(o,function(c){return qe(c===-1?a.option:i[c].option)})),this._currentMediaIndices=o,s},e}();function WSe(e,t,n){var r=[],i,a,o=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,f=!!(l||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((f||c)&&(e.options=e.media=null),a=e),c&&Ce(u)&&R(u,function(h){h&&h.option&&(h.query?r.push(h):i||(i=h))}),d(a),R(l,function(h){return d(h)}),R(r,function(h){return d(h.option)});function d(h){R(t,function(p){p(h,n)})}return{baseOption:a,timelineOptions:l||[],mediaDefault:i,mediaList:r}}function USe(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return R(e,function(a,o){var s=o.match(VSe);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();GSe(r[u],a,l)||(i=!1)}}),i}function GSe(e,t,n){return n==="min"?e>=t:n==="max"?e<=t:e===t}function jSe(e,t){return e.join(",")===t.join(",")}const qSe=HSe;var Oi=R,wh=ze,V4=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function _b(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=V4.length;n<r;n++){var i=V4[n],a=t.normal,o=t.emphasis;a&&a[i]&&(e[i]=e[i]||{},e[i].normal?nt(e[i].normal,a[i]):e[i].normal=a[i],a[i]=null),o&&o[i]&&(e[i]=e[i]||{},e[i].emphasis?nt(e[i].emphasis,o[i]):e[i].emphasis=o[i],o[i]=null)}}function qn(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,bt(e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function Kf(e){qn(e,"itemStyle"),qn(e,"lineStyle"),qn(e,"areaStyle"),qn(e,"label"),qn(e,"labelLine"),qn(e,"upperLabel"),qn(e,"edgeLabel")}function fn(e,t){var n=wh(e)&&e[t],r=wh(n)&&n.textStyle;if(r)for(var i=0,a=VE.length;i<a;i++){var o=VE[i];r.hasOwnProperty(o)&&(n[o]=r[o])}}function ii(e){e&&(Kf(e),fn(e,"label"),e.emphasis&&fn(e.emphasis,"label"))}function KSe(e){if(wh(e)){_b(e),Kf(e),fn(e,"label"),fn(e,"upperLabel"),fn(e,"edgeLabel"),e.emphasis&&(fn(e.emphasis,"label"),fn(e.emphasis,"upperLabel"),fn(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(_b(t),ii(t));var n=e.markLine;n&&(_b(n),ii(n));var r=e.markArea;r&&ii(r);var i=e.data;if(e.type==="graph"){i=i||e.nodes;var a=e.links||e.edges;if(a&&!$r(a))for(var o=0;o<a.length;o++)ii(a[o]);R(e.categories,function(u){Kf(u)})}if(i&&!$r(i))for(var o=0;o<i.length;o++)ii(i[o]);if(t=e.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)ii(s[o]);if(n=e.markLine,n&&n.data)for(var l=n.data,o=0;o<l.length;o++)Ce(l[o])?(ii(l[o][0]),ii(l[o][1])):ii(l[o]);e.type==="gauge"?(fn(e,"axisLabel"),fn(e,"title"),fn(e,"detail")):e.type==="treemap"?(qn(e.breadcrumb,"itemStyle"),R(e.levels,function(u){Kf(u)})):e.type==="tree"&&Kf(e.leaves)}}function Ba(e){return Ce(e)?e:e?[e]:[]}function H4(e){return(Ce(e)?e[0]:e)||{}}function YSe(e,t){Oi(Ba(e.series),function(r){wh(r)&&KSe(r)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Oi(n,function(r){Oi(Ba(e[r]),function(i){i&&(fn(i,"axisLabel"),fn(i.axisPointer,"label"))})}),Oi(Ba(e.parallel),function(r){var i=r&&r.parallelAxisDefault;fn(i,"axisLabel"),fn(i&&i.axisPointer,"label")}),Oi(Ba(e.calendar),function(r){qn(r,"itemStyle"),fn(r,"dayLabel"),fn(r,"monthLabel"),fn(r,"yearLabel")}),Oi(Ba(e.radar),function(r){fn(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap)}),Oi(Ba(e.geo),function(r){wh(r)&&(ii(r),Oi(Ba(r.regions),function(i){ii(i)}))}),Oi(Ba(e.timeline),function(r){ii(r),qn(r,"label"),qn(r,"itemStyle"),qn(r,"controlStyle",!0);var i=r.data;Ce(i)&&R(i,function(a){ze(a)&&(qn(a,"label"),qn(a,"itemStyle"))})}),Oi(Ba(e.toolbox),function(r){qn(r,"iconStyle"),Oi(r.feature,function(i){qn(i,"iconStyle")})}),fn(H4(e.axisPointer),"label"),fn(H4(e.tooltip).axisPointer,"label")}function ZSe(e,t){for(var n=t.split(","),r=e,i=0;i<n.length&&(r=r&&r[n[i]],r!=null);i++);return r}function XSe(e,t,n,r){for(var i=t.split(","),a=e,o,s=0;s<i.length-1;s++)o=i[s],a[o]==null&&(a[o]={}),a=a[o];(r||a[i[s]]==null)&&(a[i[s]]=n)}function W4(e){e&&R(QSe,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var QSe=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],JSe=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],wb=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Cf(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<wb.length;n++){var r=wb[n][1],i=wb[n][0];t[r]!=null&&(t[i]=t[r])}}function U4(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function G4(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function eCe(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function nN(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&nN(e[n].children,t)}function rN(e,t){YSe(e,t),e.series=Sn(e.series),R(e.series,function(n){if(ze(n)){var r=n.type;if(r==="line")n.clipOverflow!=null&&(n.clip=n.clipOverflow);else if(r==="pie"||r==="gauge"){n.clockWise!=null&&(n.clockwise=n.clockWise),U4(n.label);var i=n.data;if(i&&!$r(i))for(var a=0;a<i.length;a++)U4(i[a]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var o=ZSe(n,"pointer.color");o!=null&&XSe(n,"itemStyle.color",o)}else if(r==="bar"){Cf(n),Cf(n.backgroundStyle),Cf(n.emphasis);var i=n.data;if(i&&!$r(i))for(var a=0;a<i.length;a++)typeof i[a]=="object"&&(Cf(i[a]),Cf(i[a]&&i[a].emphasis))}else if(r==="sunburst"){var s=n.highlightPolicy;s&&(n.emphasis=n.emphasis||{},n.emphasis.focus||(n.emphasis.focus=s)),G4(n),nN(n.data,G4)}else r==="graph"||r==="sankey"?eCe(n):r==="map"&&(n.mapType&&!n.map&&(n.map=n.mapType),n.mapLocation&&bt(n,n.mapLocation));n.hoverAnimation!=null&&(n.emphasis=n.emphasis||{},n.emphasis&&n.emphasis.scale==null&&(n.emphasis.scale=n.hoverAnimation)),W4(n)}}),e.dataRange&&(e.visualMap=e.dataRange),R(JSe,function(n){var r=e[n];r&&(Ce(r)||(r=[r]),R(r,function(i){W4(i)}))})}function tCe(e){var t=Qe();e.eachSeries(function(n){var r=n.get("stack");if(r){var i=t.get(r)||t.set(r,[]),a=n.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:n};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),t.each(nCe)}function nCe(e){R(e,function(t,n){var r=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(u,c,f){var d=o.get(t.stackedDimension,f);if(isNaN(d))return i;var h,p;s?p=o.getRawIndex(f):h=o.get(t.stackedByDimension,f);for(var v=NaN,m=n-1;m>=0;m--){var g=e[m];if(s||(p=g.data.rawIndexOf(g.stackedByDimension,h)),p>=0){var y=g.data.getByRawIndex(g.stackResultDimension,p);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&d>=0&&y>0||l==="samesign"&&d<=0&&y<0){d=x_e(d,y),v=y;break}}}return r[0]=d,r[1]=v,r})})}var my=function(){function e(t){this.data=t.data||(t.sourceFormat===La?{}:[]),this.sourceFormat=t.sourceFormat||Y$,this.seriesLayoutBy=t.seriesLayoutBy||Ja,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;r<n.length;r++){var i=n[r];i.type==null&&X$(this,r)===$n.Must&&(i.type="ordinal")}}return e}();function cx(e){return e instanceof my}function Tw(e,t,n){n=n||iN(e);var r=t.seriesLayoutBy,i=iCe(e,n,r,t.sourceHeader,t.dimensions),a=new my({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:qe(t)});return a}function fx(e){return new my({data:e,sourceFormat:$r(e)?ss:Ai})}function rCe(e){return new my({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:qe(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function iN(e){var t=Y$;if($r(e))t=ss;else if(Ce(e)){e.length===0&&(t=Nr);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i!=null){if(Ce(i)){t=Nr;break}else if(ze(i)){t=ta;break}}}}else if(ze(e)){for(var a in e)if(ot(e,a)&&tr(e[a])){t=La;break}}return t}function iCe(e,t,n,r,i){var a,o;if(!e)return{dimensionsDefine:j4(i),startIndex:o,dimensionsDetectedCount:a};if(t===Nr){var s=e;r==="auto"||r==null?q4(function(u){u!=null&&u!=="-"&&(Be(u)?o==null&&(o=1):o=0)},n,s,10):o=Ut(r)?r:r?1:0,!i&&o===1&&(i=[],q4(function(u,c){i[c]=u!=null?u+"":""},n,s,1/0)),a=i?i.length:n===nf?s.length:s[0]?s[0].length:null}else if(t===ta)i||(i=aCe(e));else if(t===La)i||(i=[],R(e,function(u,c){i.push(c)}));else if(t===Ai){var l=hp(e[0]);a=Ce(l)&&l.length||1}return{startIndex:o,dimensionsDefine:j4(i),dimensionsDetectedCount:a}}function aCe(e){for(var t=0,n;t<e.length&&!(n=e[t++]););if(n)return Dt(n)}function j4(e){if(e){var t=Qe();return ke(e,function(n,r){n=ze(n)?n:{name:n};var i={name:n.name,displayName:n.displayName,type:n.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var a=t.get(i.name);return a?i.name+="-"+a.count++:t.set(i.name,{count:1}),i})}}function q4(e,t,n,r){if(t===nf)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else for(var a=n[0]||[],i=0;i<a.length&&i<r;i++)e(a[i],i)}function aN(e){var t=e.sourceFormat;return t===ta||t===La}var Hs,Ws,Us,K4,Y4,oN=function(){function e(t,n){var r=cx(t)?t:fx(t);this._source=r;var i=this._data=r.data;r.sourceFormat===ss&&(this._offset=0,this._dimSize=n,this._data=i),Y4(this,i,r)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,n){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var t;Y4=function(o,s,l){var u=l.sourceFormat,c=l.seriesLayoutBy,f=l.startIndex,d=l.dimensionsDefine,h=K4[dx(u,c)];if(me(o,h),u===ss)o.getItem=n,o.count=i,o.fillStorage=r;else{var p=sN(u,c);o.getItem=Fe(p,null,s,f,d);var v=lN(u,c);o.count=Fe(v,null,s,f,d)}};var n=function(o,s){o=o-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,c=u*o,f=0;f<u;f++)s[f]=l[c+f];return s},r=function(o,s,l,u){for(var c=this._data,f=this._dimSize,d=0;d<f;d++){for(var h=u[d],p=h[0]==null?1/0:h[0],v=h[1]==null?-1/0:h[1],m=s-o,g=l[d],y=0;y<m;y++){var _=c[y*f+d];g[o+y]=_,_<p&&(p=_),_>v&&(v=_)}h[0]=p,h[1]=v}},i=function(){return this._data?this._data.length/this._dimSize:0};K4=(t={},t[Nr+"_"+Ja]={pure:!0,appendData:a},t[Nr+"_"+nf]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ta]={pure:!0,appendData:a},t[La]={pure:!0,appendData:function(o){var s=this._data;R(o,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[Ai]={appendData:a},t[ss]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),e}(),Z4=function(e,t,n,r){return e[r]},oCe=(Hs={},Hs[Nr+"_"+Ja]=function(e,t,n,r){return e[r+t]},Hs[Nr+"_"+nf]=function(e,t,n,r,i){r+=t;for(var a=i||[],o=e,s=0;s<o.length;s++){var l=o[s];a[s]=l?l[r]:null}return a},Hs[ta]=Z4,Hs[La]=function(e,t,n,r,i){for(var a=i||[],o=0;o<n.length;o++){var s=n[o].name,l=e[s];a[o]=l?l[r]:null}return a},Hs[Ai]=Z4,Hs);function sN(e,t){var n=oCe[dx(e,t)];return n}var X4=function(e,t,n){return e.length},sCe=(Ws={},Ws[Nr+"_"+Ja]=function(e,t,n){return Math.max(0,e.length-t)},Ws[Nr+"_"+nf]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Ws[ta]=X4,Ws[La]=function(e,t,n){var r=n[0].name,i=e[r];return i?i.length:0},Ws[Ai]=X4,Ws);function lN(e,t){var n=sCe[dx(e,t)];return n}var Sb=function(e,t,n){return e[t]},lCe=(Us={},Us[Nr]=Sb,Us[ta]=function(e,t,n){return e[n]},Us[La]=Sb,Us[Ai]=function(e,t,n){var r=hp(e);return r instanceof Array?r[t]:r},Us[ss]=Sb,Us);function uN(e){var t=lCe[e];return t}function dx(e,t){return e===Nr?e+"_"+t:e}function Dc(e,t,n){if(e){var r=e.getRawDataItem(t);if(r!=null){var i=e.getStore(),a=i.getSource().sourceFormat;if(n!=null){var o=e.getDimensionIndex(n),s=i.getDimensionProperty(o);return uN(a)(r,o,s)}else{var l=r;return a===Ai&&(l=hp(r)),l}}}}var uCe=/\{@(.+?)\}/g,cCe=function(){function e(){}return e.prototype.getDataParams=function(t,n){var r=this.getData(n),i=this.getRawValue(t,n),a=r.getRawIndex(t),o=r.getName(t),s=r.getRawDataItem(t),l=r.getItemVisual(t,"style"),u=l&&l[r.getItemVisual(t,"drawType")||"fill"],c=l&&l.stroke,f=this.mainType,d=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:a,data:s,dataType:n,value:i,color:u,borderColor:c,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,n,r,i,a,o){n=n||"normal";var s=this.getData(r),l=this.getDataParams(t,r);if(o&&(l.value=o.interpolatedValue),i!=null&&Ce(l.value)&&(l.value=l.value[i]),!a){var u=s.getItemModel(t);a=u.get(n==="normal"?["label","formatter"]:[n,"label","formatter"])}if(Xe(a))return l.status=n,l.dimensionIndex=i,a(l);if(Be(a)){var c=ax(a,l);return c.replace(uCe,function(f,d){var h=d.length,p=d;p.charAt(0)==="["&&p.charAt(h-1)==="]"&&(p=+p.slice(1,h-1));var v=Dc(s,t,p);if(o&&Ce(o.interpolatedValue)){var m=s.getDimensionIndex(p);m>=0&&(v=o.interpolatedValue[m])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,n){return Dc(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function Q4(e){var t,n;return ze(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Ad(e){return new fCe(e)}var fCe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!r&&(a=this._plan(this.context));var o=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||a==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(d!=null?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(f||h<p)){var v=this._progress;if(Ce(v))for(var m=0;m<v.length;m++)this._doProgress(v[m],h,p,l,u);else this._doProgress(v,h,p,l,u)}this._dueIndex=p;var g=this._settedOutputEnd!=null?this._settedOutputEnd:p;this._outputDueEnd=g}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,n,r,i,a){J4.reset(n,r,i,a),this._callingProgress=t,this._callingProgress({start:n,end:r,count:r-n,next:J4.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var n,r;!t&&this._reset&&(n=this._reset(this.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),Ce(n)&&!n.length&&(n=null)),this._progress=n,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),r},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e}(),J4=function(){var e,t,n,r,i,a={reset:function(l,u,c,f){t=l,e=u,n=c,r=f,i=Math.ceil(r/n),a.next=n>1&&r>0?s:o}};return a;function o(){return t<e?t++:null}function s(){var l=t%i*n+Math.ceil(t/i),u=t>=e?null:l<r?l:t;return t++,u}}();function Eg(e,t){var n=t&&t.type;return n==="ordinal"?e:(n==="time"&&!Ut(e)&&e!=null&&e!=="-"&&(e=+_i(e)),e==null||e===""?NaN:+e)}Qe({number:function(e){return parseFloat(e)},time:function(e){return+_i(e)},trim:function(e){return Be(e)?Vi(e):e}});var dCe=function(){function e(t,n){var r=t==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,n){var r=Ut(t)?t:dh(t),i=Ut(n)?n:dh(n),a=isNaN(r),o=isNaN(i);if(a&&(r=this._incomparable),o&&(i=this._incomparable),a&&o){var s=Be(t),l=Be(n);s&&(r=l?t:0),l&&(i=s?n:0)}return r<i?this._resultLT:r>i?-this._resultLT:0},e}(),hCe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return Eg(t,n)},e}();function pCe(e,t){var n=new hCe,r=e.data,i=n.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==Ja&&Cr(o);var s=[],l={},u=e.dimensionsDefine;if(u)R(u,function(v,m){var g=v.name,y={index:m,name:g,displayName:v.displayName};if(s.push(y),g!=null){var _="";ot(l,g)&&Cr(_),l[g]=y}});else for(var c=0;c<e.dimensionsDetectedCount;c++)s.push({index:c});var f=sN(i,Ja);t.__isBuiltIn&&(n.getRawDataItem=function(v){return f(r,a,s,v)},n.getRawData=Fe(vCe,null,e)),n.cloneRawData=Fe(gCe,null,e);var d=lN(i,Ja);n.count=Fe(d,null,r,a,s);var h=uN(i);n.retrieveValue=function(v,m){var g=f(r,a,s,v);return p(g,m)};var p=n.retrieveValueFromItem=function(v,m){if(v!=null){var g=s[m];if(g)return h(v,m,g.name)}};return n.getDimensionInfo=Fe(mCe,null,s,l),n.cloneAllDimensionInfo=Fe(yCe,null,s),n}function vCe(e){var t=e.sourceFormat;if(!hx(t)){var n="";Cr(n)}return e.data}function gCe(e){var t=e.sourceFormat,n=e.data;if(!hx(t)){var r="";Cr(r)}if(t===Nr){for(var i=[],a=0,o=n.length;a<o;a++)i.push(n[a].slice());return i}else if(t===ta){for(var i=[],a=0,o=n.length;a<o;a++)i.push(me({},n[a]));return i}}function mCe(e,t,n){if(n!=null){if(Ut(n)||!isNaN(n)&&!ot(t,n))return e[n];if(ot(t,n))return t[n]}}function yCe(e){return qe(e)}var cN=Qe();function bCe(e){e=qe(e);var t=e.type,n="";t||Cr(n);var r=t.split(":");r.length!==2&&Cr(n);var i=!1;r[0]==="echarts"&&(t=r[1],i=!0),e.__isBuiltIn=i,cN.set(t,e)}function _Ce(e,t,n){var r=Sn(e),i=r.length,a="";i||Cr(a);for(var o=0,s=i;o<s;o++){var l=r[o];t=wCe(l,t),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function wCe(e,t,n,r){var i="";t.length||Cr(i),ze(e)||Cr(i);var a=e.type,o=cN.get(a);o||Cr(i);var s=ke(t,function(u){return pCe(u,o)}),l=Sn(o.transform({upstream:s[0],upstreamList:s,config:qe(e.config)}));return ke(l,function(u,c){var f="";ze(u)||Cr(f),u.data||Cr(f);var d=iN(u.data);hx(d)||Cr(f);var h,p=t[0];if(p&&c===0&&!u.dimensions){var v=p.startIndex;v&&(u.data=p.data.slice(0,v).concat(u.data)),h={seriesLayoutBy:Ja,sourceHeader:v,dimensions:p.metaRawOption.dimensions}}else h={seriesLayoutBy:Ja,sourceHeader:0,dimensions:u.dimensions};return Tw(u.data,h,null)})}function hx(e){return e===Nr||e===ta}var yy="undefined",SCe=typeof Uint32Array===yy?Array:Uint32Array,CCe=typeof Uint16Array===yy?Array:Uint16Array,fN=typeof Int32Array===yy?Array:Int32Array,eA=typeof Float64Array===yy?Array:Float64Array,dN={float:eA,int:fN,ordinal:Array,number:Array,time:eA},Cb;function xf(e){return e>65535?SCe:CCe}function Au(){return[1/0,-1/0]}function xCe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function tA(e,t,n,r,i){var a=dN[n||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==r){for(var l=new a(r),u=0;u<s;u++)l[u]=o[u];e[t]=l}}else e[t]=new a(r)}var TCe=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Qe()}return e.prototype.initData=function(t,n,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),a=this.defaultDimValueGetter=Cb[i.sourceFormat];this._dimValueGetter=r||a,this._rawExtent=[],aN(i),this._dimensions=ke(n,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,n){var r=this._calcDimNameToIdx,i=this._dimensions,a=r.get(t);if(a!=null){if(i[a].type===n)return a}else a=i.length;return i[a]={type:n},r.set(t,a),this._chunks[a]=new dN[n||"float"](this._rawCount),this._rawExtent[a]=Au(),a},e.prototype.collectOrdinalMeta=function(t,n){var r=this._chunks[t],i=this._dimensions[t],a=this._rawExtent,o=i.ordinalOffset||0,s=r.length;o===0&&(a[t]=Au());for(var l=a[t],u=o;u<s;u++){var c=r[u]=n.parseAndCollect(r[u]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}i.ordinalMeta=n,i.ordinalOffset=s,i.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var n=this._dimensions[t],r=n.ordinalMeta;return r},e.prototype.getDimensionProperty=function(t){var n=this._dimensions[t];return n&&n.property},e.prototype.appendData=function(t){var n=this._provider,r=this.count();n.appendData(t);var i=n.count();return n.persistent||(i+=r),r<i&&this._initDataFromProvider(r,i,!0),[r,i]},e.prototype.appendValues=function(t,n){for(var r=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,n||0),u=0;u<a;u++){var c=i[u];tA(r,u,c.type,l,!0)}for(var f=[],d=s;d<l;d++)for(var h=d-s,p=0;p<a;p++){var c=i[p],v=Cb.arrayRows.call(this,t[h]||f,c.property,h,p);r[p][d]=v;var m=o[p];v<m[0]&&(m[0]=v),v>m[1]&&(m[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=ke(o,function(y){return y.property}),c=0;c<s;c++){var f=o[c];l[c]||(l[c]=Au()),tA(a,c,f.type,n,r)}if(i.fillStorage)i.fillStorage(t,n,a,l);else for(var d=[],h=t;h<n;h++){d=i.getItem(h,d);for(var p=0;p<s;p++){var v=a[p],m=this._dimValueGetter(d,u[p],h,p);v[h]=m;var g=l[p];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n<this._count))return NaN;var r=this._chunks[t];return r?r[this.getRawIndex(n)]:NaN},e.prototype.getValues=function(t,n){var r=[],i=[];if(n==null){n=t,t=[];for(var a=0;a<this._dimensions.length;a++)i.push(a)}else i=t;for(var a=0,o=i.length;a<o;a++)r.push(this.get(i[a],n));return r},e.prototype.getByRawIndex=function(t,n){if(!(n>=0&&n<this._rawCount))return NaN;var r=this._chunks[t];return r?r[n]:NaN},e.prototype.getSum=function(t){var n=this._chunks[t],r=0;if(n)for(var i=0,a=this.count();i<a;i++){var o=this.get(t,i);isNaN(o)||(r+=o)}return r},e.prototype.getMedian=function(t){var n=[];this.each([t],function(a){isNaN(a)||n.push(a)});var r=n.sort(function(a,o){return a-o}),i=this.count();return i===0?0:i%2===1?r[(i-1)/2]:(r[i/2]+r[i/2-1])/2},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&r<this._count&&r===t)return t;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(n[o]<t)i=o+1;else if(n[o]>t)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,a=i[t],o=[];if(!a)return o;r==null&&(r=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c<f;c++){var d=this.getRawIndex(c),h=n-a[d],p=Math.abs(h);p<=r&&((p<s||p===s&&h>=0&&l<0)&&(s=p,l=h,u=0),h===l&&(o[u++]=c))}return o.length=u,o},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var a=0;a<i;a++)t[a]=n[a]}else t=new r(n.buffer,0,i)}else{var r=xf(this._rawCount);t=new r(this.count());for(var a=0;a<t.length;a++)t[a]=a}return t},e.prototype.filter=function(t,n){if(!this._count)return this;for(var r=this.clone(),i=r.count(),a=xf(r._rawCount),o=new a(i),s=[],l=t.length,u=0,c=t[0],f=r._chunks,d=0;d<i;d++){var h=void 0,p=r.getRawIndex(d);if(l===0)h=n(d);else if(l===1){var v=f[c][p];h=n(v,d)}else{for(var m=0;m<l;m++)s[m]=f[t[m]][p];s[m]=d,h=n.apply(null,s)}h&&(o[u++]=p)}return u<i&&(r._indices=o),r._count=u,r._extent=[],r._updateGetRawIdx(),r},e.prototype.selectRange=function(t){var n=this.clone(),r=n._count;if(!r)return this;var i=Dt(t),a=i.length;if(!a)return this;var o=n.count(),s=xf(n._rawCount),l=new s(o),u=0,c=i[0],f=t[c][0],d=t[c][1],h=n._chunks,p=!1;if(!n._indices){var v=0;if(a===1){for(var m=h[i[0]],g=0;g<r;g++){var y=m[g];(y>=f&&y<=d||isNaN(y))&&(l[u++]=v),v++}p=!0}else if(a===2){for(var m=h[i[0]],_=h[i[1]],b=t[i[1]][0],S=t[i[1]][1],g=0;g<r;g++){var y=m[g],w=_[g];(y>=f&&y<=d||isNaN(y))&&(w>=b&&w<=S||isNaN(w))&&(l[u++]=v),v++}p=!0}}if(!p)if(a===1)for(var g=0;g<o;g++){var C=n.getRawIndex(g),y=h[i[0]][C];(y>=f&&y<=d||isNaN(y))&&(l[u++]=C)}else for(var g=0;g<o;g++){for(var T=!0,C=n.getRawIndex(g),E=0;E<a;E++){var M=i[E],y=h[M][C];(y<t[M][0]||y>t[M][1])&&(T=!1)}T&&(l[u++]=n.getRawIndex(g))}return u<o&&(n._indices=l),n._count=u,n._extent=[],n._updateGetRawIdx(),n},e.prototype.map=function(t,n){var r=this.clone(t);return this._updateDims(r,t,n),r},e.prototype.modify=function(t,n){this._updateDims(this,t,n)},e.prototype._updateDims=function(t,n,r){for(var i=t._chunks,a=[],o=n.length,s=t.count(),l=[],u=t._rawExtent,c=0;c<n.length;c++)u[n[c]]=Au();for(var f=0;f<s;f++){for(var d=t.getRawIndex(f),h=0;h<o;h++)l[h]=i[n[h]][d];l[o]=f;var p=r&&r.apply(null,l);if(p!=null){typeof p!="object"&&(a[0]=p,p=a);for(var c=0;c<p.length;c++){var v=n[c],m=p[c],g=u[v],y=i[v];y&&(y[d]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,a=i[t],o=this.count(),s=0,l=Math.floor(1/n),u=this.getRawIndex(0),c,f,d,h=new(xf(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));h[s++]=u;for(var p=1;p<o-1;p+=l){for(var v=Math.min(p+l,o-1),m=Math.min(p+l*2,o),g=(m+v)/2,y=0,_=v;_<m;_++){var b=this.getRawIndex(_),S=a[b];isNaN(S)||(y+=S)}y/=m-v;var w=p,C=Math.min(p+l,o),T=p-1,E=a[u];c=-1,d=w;for(var M=-1,A=0,_=w;_<C;_++){var b=this.getRawIndex(_),S=a[b];if(isNaN(S)){A++,M<0&&(M=b);continue}f=Math.abs((T-g)*(S-E)-(T-_)*(y-E)),f>c&&(c=f,d=b)}A>0&&A<C-w&&(h[s++]=Math.min(M,d),d=Math.max(M,d)),h[s++]=d,u=d}return h[s++]=this.getRawIndex(o-1),r._count=s,r._indices=h,r.getRawIndex=this._getRawIdx,r},e.prototype.downSample=function(t,n,r,i){for(var a=this.clone([t],!0),o=a._chunks,s=[],l=Math.floor(1/n),u=o[t],c=this.count(),f=a._rawExtent[t]=Au(),d=new(xf(this._rawCount))(Math.ceil(c/l)),h=0,p=0;p<c;p+=l){l>c-p&&(l=c-p,s.length=l);for(var v=0;v<l;v++){var m=this.getRawIndex(p+v);s[v]=u[m]}var g=r(s),y=this.getRawIndex(Math.min(p+i(s,g)||0,c-1));u[y]=g,g<f[0]&&(f[0]=g),g>f[1]&&(f[1]=g),d[h++]=y}return a._count=h,a._indices=d,a._updateGetRawIdx(),a},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,a=0,o=this.count();a<o;a++){var s=this.getRawIndex(a);switch(r){case 0:n(a);break;case 1:n(i[t[0]][s],a);break;case 2:n(i[t[0]][s],i[t[1]][s],a);break;default:for(var l=0,u=[];l<r;l++)u[l]=i[t[l]][s];u[l]=a,n.apply(null,u)}}},e.prototype.getDataExtent=function(t){var n=this._chunks[t],r=Au();if(!n)return r;var i=this.count(),a=!this._indices,o;if(a)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=r;for(var s=o[0],l=o[1],u=0;u<i;u++){var c=this.getRawIndex(u),f=n[c];f<s&&(s=f),f>l&&(l=f)}return o=[s,l],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,a=0;a<i.length;a++)r.push(i[a][n]);return r},e.prototype.clone=function(t,n){var r=new e,i=this._chunks,a=t&&Yi(t,function(s,l){return s[l]=!0,s},{});if(a)for(var o=0;o<i.length;o++)r._chunks[o]=a[o]?xCe(i[o]):i[o];else r._chunks=i;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=qe(this._extent),t._rawExtent=qe(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,n=void 0;if(t===Array){var r=this._indices.length;n=new t(r);for(var i=0;i<r;i++)n[i]=this._indices[i]}else n=new t(this._indices);return n}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,a){return Eg(n[a],this._dimensions[a])}Cb={arrayRows:t,objectRows:function(n,r,i,a){return Eg(n[r],this._dimensions[a])},keyedColumns:t,original:function(n,r,i,a){var o=n&&(n.value==null?n:n.value);return Eg(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(n,r,i,a){return n[a]}}}(),e}();const Ew=TCe;var ECe=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,a;if(Sv(t)){var o=t,s=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,a=[c._getVersionSign()]}else s=o.get("data",!0),l=$r(s)?ss:Ai,a=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},h=xt(f.seriesLayoutBy,d.seriesLayoutBy)||null,p=xt(f.sourceHeader,d.sourceHeader),v=xt(f.dimensions,d.dimensions),m=h!==d.seriesLayoutBy||!!p!=!!d.sourceHeader||v;i=m?[Tw(s,{seriesLayoutBy:h,sourceHeader:p,dimensions:v},l)]:[]}else{var g=t;if(r){var y=this._applyTransform(n);i=y.sourceList,a=y.upstreamSignList}else{var _=g.get("source",!0);i=[Tw(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&nA(a)}var o,s=[],l=[];return R(t,function(u){u.prepareSource();var c=u.getSource(i||0),f="";i!=null&&!c&&nA(f),s.push(c),l.push(u._getVersionSign())}),r?o=_Ce(r,s,{datasetIndex:n.componentIndex}):i!=null&&(o=[rCe(s[0])]),{sourceList:o,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n<t.length;n++){var r=t[n];if(r._isDirty()||this._upstreamSignList[n]!==r._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var n=this._sourceList[t];if(!n){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(t)}return n},e.prototype.getSharedDataStore=function(t){var n=t.makeStoreSchema();return this._innerGetDataStore(n.dimensions,t.source,n.hash)},e.prototype._innerGetDataStore=function(t,n,r){var i=0,a=this._storeList,o=a[i];o||(o=a[i]={});var s=o[r];if(!s){var l=this._getUpstreamSourceManagers()[0];Sv(this._sourceHost)&&l?s=l._innerGetDataStore(t,n,r):(s=new Ew,s.initData(new oN(n,t.length),t)),o[r]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Sv(t)){var n=lx(t);return n?[n.getSourceManager()]:[]}else return ke(ISe(t),function(r){return r.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,n,r,i;if(Sv(t))n=t.get("seriesLayoutBy",!0),r=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var a=t;n=a.get("seriesLayoutBy",!0),r=a.get("sourceHeader",!0),i=a.get("dimensions",!0)}return{seriesLayoutBy:n,sourceHeader:r,dimensions:i}},e}();function Sv(e){return e.mainType==="series"}function nA(e){throw new Error(e)}var hN="line-height:1";function pN(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",a=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+Hr(r+"")+"px;color:"+Hr(n)+";font-weight:"+Hr(i+""),valueStyle:"font-size:"+Hr(o+"")+"px;color:"+Hr(a)+";font-weight:"+Hr(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var ACe=[0,10,20,30],MCe=["",`
`,`

`,`


`];function Sh(e,t){return t.type=e,t}function Aw(e){return e.type==="section"}function vN(e){return Aw(e)?ICe:OCe}function gN(e){if(Aw(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return R(e.blocks,function(i){var a=gN(i);a>=t&&(t=a+ +(r&&(!a||Aw(i)&&!i.noHeader)))}),t}return 0}function ICe(e,t,n,r){var i=t.noHeader,a=PCe(gN(t)),o=[],s=t.blocks||[];bi(!s||Ce(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(ot(u,l)){var c=new dCe(u[l],null);s.sort(function(p,v){return c.evaluate(p.sortParam,v.sortParam)})}else l==="seriesDesc"&&s.reverse()}R(s,function(p,v){var m=t.valueFormatter,g=vN(p)(m?me(me({},e),{valueFormatter:m}):e,p,v>0?a.html:0,r);g!=null&&o.push(g)});var f=e.renderMode==="richText"?o.join(a.richText):Mw(o.join(""),i?n:a.html);if(i)return f;var d=Cw(t.header,"ordinal",e.useUTC),h=pN(r,e.renderMode).nameStyle;return e.renderMode==="richText"?mN(e,d,h)+a.richText+f:Mw('<div style="'+h+";"+hN+';">'+Hr(d)+"</div>"+f,n)}function OCe(e,t,n,r){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(b){return b=Ce(b)?b:[b],ke(b,function(S,w){return Cw(S,Ce(h)?h[w]:h,u)})};if(!(a&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),d=a?"":Cw(l,"ordinal",u),h=t.valueType,p=o?[]:c(t.value),v=!s||!a,m=!s&&a,g=pN(r,i),y=g.nameStyle,_=g.valueStyle;return i==="richText"?(s?"":f)+(a?"":mN(e,d,y))+(o?"":LCe(e,p,v,m,_)):Mw((s?"":f)+(a?"":RCe(d,!s,y))+(o?"":DCe(p,v,m,_)),n)}}function rA(e,t,n,r,i,a){if(e){var o=vN(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function PCe(e){return{html:ACe[e],richText:MCe[e]}}function Mw(e,t){var n='<div style="clear:both"></div>',r="margin: "+t+"px 0 0";return'<div style="'+r+";"+hN+';">'+e+n+"</div>"}function RCe(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+Hr(e)+"</span>"}function DCe(e,t,n,r){var i=n?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=Ce(e)?e:[e],'<span style="'+a+";"+r+'">'+ke(e,function(o){return Hr(o)}).join("&nbsp;&nbsp;")+"</span>"}function mN(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function LCe(e,t,n,r,i){var a=[i],o=r?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Ce(t)?t.join("  "):t,a)}function kCe(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return jl(r)}function yN(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var xb=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Pk()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var i=r==="richText"?this._generateStyleName():null,a=U$({color:n,type:t,renderMode:r,markerId:i});return Be(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};Ce(n)?R(n,function(a){return me(r,a)}):me(r,n);var i=this._generateStyleName();return this.richTextStyles[i]=r,"{"+i+"|"+t+"}"},e}();function $Ce(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(n),l=Ce(s),u=kCe(t,n),c,f,d,h;if(o>1||l&&!o){var p=NCe(s,t,n,a,u);c=p.inlineValues,f=p.inlineValueTypes,d=p.blocks,h=p.inlineValues[0]}else if(o){var v=i.getDimensionInfo(a[0]);h=c=Dc(i,n,a[0]),f=v.type}else h=c=l?s[0]:s;var m=D5(t),g=m&&t.name||"",y=i.getName(n),_=r?g:y;return Sh("section",{header:g,noHeader:r||!m,sortParam:h,blocks:[Sh("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Vi(_),value:c,valueType:f})].concat(d||[])})}function NCe(e,t,n,r,i){var a=t.getData(),o=Yi(e,function(f,d,h){var p=a.getDimensionInfo(h);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];r.length?R(r,function(f){c(Dc(a,n,f),f)}):R(e,c);function c(f,d){var h=a.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(o?u.push(Sh("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:f,valueType:h.type})):(s.push(f),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var xo=tn();function Cv(e,t){return e.getName(t)||e.getId(t)}var BCe="__universalTransitionEnabled",by=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=Ad({count:zCe,reset:VCe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var a=xo(this).sourceManager=new ECe(this);a.prepareSource();var o=this.getInitialData(n,i);aA(o,this),this.dataTask.context.data=o,xo(this).dataBeforeProcessed=o,iA(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=_h(this),a=i?wp(n):{},o=this.subType;Lt.hasClass(o)&&(o+="Series"),nt(n,r.getTheme().get(this.subType)),nt(n,this.getDefaultOption()),dw(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&ql(n,a,i)},t.prototype.mergeOption=function(n,r){n=nt(this.option,n,!0),this.fillDataTextStyle(n.data);var i=_h(this);i&&ql(this.option,n,i);var a=xo(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(n,r);aA(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,xo(this).dataBeforeProcessed=o,iA(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(n){if(n&&!$r(n))for(var r=["show"],i=0;i<n.length;i++)n[i]&&n[i].label&&dw(n[i],"label",r)},t.prototype.getInitialData=function(n,r){},t.prototype.appendData=function(n){var r=this.getRawData();r.appendData(n.data)},t.prototype.getData=function(n){var r=Iw(this);if(r){var i=r.context.data;return n==null?i:i.getLinkedData(n)}else return xo(this).data},t.prototype.getAllData=function(){var n=this.getData();return n&&n.getLinkedDataAll?n.getLinkedDataAll():[{data:n}]},t.prototype.setData=function(n){var r=Iw(this);if(r){var i=r.context;i.outputData=n,r!==this.dataTask&&(i.data=n)}xo(this).data=n},t.prototype.getEncode=function(){var n=this.get("encode",!0);if(n)return Qe(n)},t.prototype.getSourceManager=function(){return xo(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return xo(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var n=this.get("colorBy");return n||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var n=this.coordinateSystem;return n&&n.getBaseAxis&&n.getBaseAxis()},t.prototype.formatTooltip=function(n,r,i){return $Ce({series:this,dataIndex:n,multipleSeries:r})},t.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(vt.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var a=this.ecModel,o=ux.prototype.getColorFromPalette.call(this,n,r,i);return o||(o=a.getColorFromPalette(n,r,i)),o},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(r);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<n.length;s++){var l=n[s],u=Cv(o,l);i[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(n,r){for(var i=[],a=0;a<n.length;a++)i[0]=n[a],this.isSelected(n[a],r)?this.unselect(i,r):this.select(i,r)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var n=this._selectedDataIndicesMap,r=Dt(n),i=[],a=0;a<r.length;a++){var o=n[r[a]];o>=0&&i.push(o)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(r);return(i==="all"||i[Cv(a,n)])&&!a.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[BCe])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,a,o=this.option,s=o.selectedMode,l=r.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){ze(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c<l;c++){var f=r[c],d=Cv(n,f);u[d]=!0,this._selectedDataIndicesMap[d]=n.getRawIndex(f)}}else if(s==="single"||s===!0){var h=r[l-1],d=Cv(n,h);o.selectedMap=(i={},i[d]=!0,i),this._selectedDataIndicesMap=(a={},a[d]=n.getRawIndex(h),a)}}},t.prototype._initSelectedMapFromData=function(n){if(!this.option.selectedMap){var r=[];n.hasItemOption&&n.each(function(i){var a=n.getRawDataItem(i);a&&a.selected&&r.push(i)}),r.length>0&&this._innerSelect(n,r)}},t.registerClass=function(n){return Lt.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(Lt);xi(by,cCe);xi(by,ux);Fk(by,Lt);function iA(e){var t=e.name;D5(e)||(e.name=FCe(e)||t)}function FCe(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return R(n,function(i){var a=t.getDimensionInfo(i);a.displayName&&r.push(a.displayName)}),r.join(" ")}function zCe(e){return e.model.getRawData().count()}function VCe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),HCe}function HCe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function aA(e,t){R(X9(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Ct(WCe,t))})}function WCe(e,t){var n=Iw(e);return n&&n.setOutputEnd((t||this).count()),t}function Iw(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}const Xi=by;var px=function(){function e(){this.group=new qt,this.uid=bp("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();k5(px);Q0(px);const nr=px;function vx(){var e=tn();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,a=!!n.progressiveRender,o=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==o||a!==s)&&"reset"}}var bN=tn(),UCe=vx(),gx=function(){function e(){this.group=new qt,this.uid=bp("viewChart"),this.renderTask=Ad({plan:GCe,reset:jCe}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var a=t.getData(i&&i.dataType);a&&sA(a,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var a=t.getData(i&&i.dataType);a&&sA(a,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){uy(this.group,t)},e.markUpdateMethod=function(t,n){bN(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function oA(e,t,n){e&&bw(e)&&(t==="emphasis"?Pc:Rc)(e,n)}function sA(e,t,n){var r=Gl(e,t),i=t&&t.highlightKey!=null?uwe(t.highlightKey):null;r!=null?R(Sn(r),function(a){oA(e.getItemGraphicEl(a),n,i)}):e.eachItemGraphicEl(function(a){oA(a,n,i)})}k5(gx);Q0(gx);function GCe(e){return UCe(e.model)}function jCe(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&bN(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,n,r,i),qCe[l]}var qCe={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const Xr=gx;var Mm="\0__throttleOriginMethod",lA="\0__throttleRate",uA="\0__throttleType";function _y(e,t,n){var r,i=0,a=0,o=null,s,l,u,c;t=t||0;function f(){a=new Date().getTime(),o=null,e.apply(l,u||[])}var d=function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];r=new Date().getTime(),l=this,u=h;var v=c||t,m=c||n;c=null,s=r-(m?i:a)-v,clearTimeout(o),m?o=setTimeout(f,v):s>=0?f():o=setTimeout(f,-s),i=r};return d.clear=function(){o&&(clearTimeout(o),o=null)},d.debounceNextCall=function(h){c=h},d}function wy(e,t,n,r){var i=e[t];if(i){var a=i[Mm]||i,o=i[uA],s=i[lA];if(s!==n||o!==r){if(n==null||!r)return e[t]=a;i=e[t]=_y(a,n,r==="debounce"),i[Mm]=a,i[uA]=r,i[lA]=n}return i}}function Im(e,t){var n=e[t];n&&n[Mm]&&(n.clear&&n.clear(),e[t]=n[Mm])}var cA=tn(),fA={itemStyle:ph(L$,!0),lineStyle:ph(D$,!0)},KCe={lineStyle:"stroke",itemStyle:"fill"};function _N(e,t){var n=e.visualStyleMapper||fA[t];return n||(console.warn("Unknown style type '"+t+"'."),fA.itemStyle)}function wN(e,t){var n=e.visualDrawType||KCe[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var YCe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),a=_N(e,r),o=a(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=wN(e,r),u=o[l],c=Xe(u)?u:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[l]||c||f){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=d,n.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||Xe(o.fill)?d:o.fill,o.stroke=o.stroke==="auto"||Xe(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,p){var v=e.getDataParams(p),m=me({},o);m[l]=c(v),h.setItemVisual(p,"style",m)}}}},Tf=new wn,ZCe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=_N(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[r]){Tf.option=l[r];var u=i(Tf),c=o.ensureUniqueItemVisual(s,"style");me(c,u),Tf.option.decal&&(o.setItemVisual(s,"decal",Tf.option.decal),Tf.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},XCe={performRawSeries:!0,overallReset:function(e){var t=Qe();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,a=t.get(i);a||(a={},t.set(i,a)),cA(n).scope=a}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},a=n.getData(),o=cA(n).scope,s=n.visualStyleAccessPath||"itemStyle",l=wN(n,s);a.each(function(u){var c=a.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],f=a.getItemVisual(c,"colorFromPalette");if(f){var d=a.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",p=r.count();d[l]=n.getColorFromPalette(h,o,p)}})}})}},xv=Math.PI;function QCe(e,t){t=t||{},bt(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new qt,r=new Gt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new Ft({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Gt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(a);var o;return t.showSpinner&&(o=new ay({shape:{startAngle:-xv/2,endAngle:-xv/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:xv*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:xv*3/2}).delay(300).start("circularInOut"),n.add(o)),n.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),a.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var JCe=function(){function e(t,n,r,i){this._stageTaskMap=Qe(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,a=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,o=a?r.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=r.progressiveEnabled&&n.incrementalPrepareRender&&a>=r.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=r.context={progressiveRender:o,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=Qe();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;r.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;R(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";bi(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,n,r),i.overallReset&&this._createOverallStageTask(i,a,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var a=t.renderTask,o=a.context;o.model=n,o.ecModel=r,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(n,a)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var a=!1,o=this;R(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var c=o._stageTaskMap.get(l.uid),f=c.seriesTaskMap,d=c.overallTask;if(d){var h,p=d.agentStubMap;p.each(function(m){s(i,m)&&(m.dirty(),h=!0)}),h&&d.dirty(),o.updatePayload(d,r);var v=o.getPerformArgs(d,i.block);p.each(function(m){m.perform(v)}),d.perform(v)&&(a=!0)}else f&&f.each(function(m,g){s(i,m)&&m.dirty();var y=o.getPerformArgs(m,i.block);y.skip=!l.performRawSeries&&n.isSeriesFiltered(m.context.model),o.updatePayload(m,r),m.perform(y)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var a=this,o=n.seriesTaskMap,s=n.seriesTaskMap=Qe(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):l?r.eachRawSeriesByType(l,c):u&&u(r,i).each(c);function c(f){var d=f.uid,h=s.set(d,o&&o.get(d)||Ad({plan:i5e,reset:a5e,count:s5e}));h.context={model:f,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(f,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var a=this,o=n.overallTask=n.overallTask||Ad({reset:e5e});o.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=Qe(),u=t.seriesType,c=t.getTargetSeries,f=!0,d=!1,h="";bi(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,p):c?c(r,i).each(p):(f=!1,R(r.getSeries(),p));function p(v){var m=v.uid,g=l.set(m,s&&s.get(m)||(d=!0,Ad({reset:t5e,onDirty:r5e})));g.context={model:v,overallProgress:f},g.agent=o,g.__block=f,a._pipe(v,g)}d&&o.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return Xe(t)&&(t={overallReset:t,seriesType:l5e(t)}),t.uid=bp("stageHandler"),n&&(t.visualType=n),t},e}();function e5e(e){e.overallReset(e.ecModel,e.api,e.payload)}function t5e(e){return e.overallProgress&&n5e}function n5e(){this.agent.dirty(),this.getDownstream().dirty()}function r5e(){this.agent&&this.agent.dirty()}function i5e(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function a5e(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Sn(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?ke(t,function(n,r){return SN(r)}):o5e}var o5e=SN(0);function SN(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(r,a);else i&&i.progress&&i.progress(t,r)}}function s5e(e){return e.data.count()}function l5e(e){Om=null;try{e(Ch,CN)}catch{}return Om}var Ch={},CN={},Om;xN(Ch,eN);xN(CN,tN);Ch.eachSeriesByType=Ch.eachRawSeriesByType=function(e){Om=e};Ch.eachComponent=function(e){e.mainType==="series"&&e.subType&&(Om=e.subType)};function xN(e,t){for(var n in t.prototype)e[n]=zn}const TN=JCe;var dA=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const u5e={color:dA,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],dA]};var ar="#B9B8CE",hA="#100C2A",Tv=function(){return{axisLine:{lineStyle:{color:ar}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},pA=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],EN={darkMode:!0,color:pA,backgroundColor:hA,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ar}},textStyle:{color:ar},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ar}},dataZoom:{borderColor:"#71708A",textStyle:{color:ar},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ar}},timeline:{lineStyle:{color:ar},label:{color:ar},controlStyle:{color:ar,borderColor:ar}},calendar:{itemStyle:{color:hA},dayLabel:{color:ar},monthLabel:{color:ar},yearLabel:{color:ar}},timeAxis:Tv(),logAxis:Tv(),valueAxis:Tv(),categoryAxis:Tv(),line:{symbol:"circle"},graph:{color:pA},gauge:{title:{color:ar},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ar},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};EN.categoryAxis.splitLine.show=!1;const c5e=EN;var f5e=function(){function e(){}return e.prototype.normalizeQuery=function(t){var n={},r={},i={};if(Be(t)){var a=wa(t);n.mainType=a.main||null,n.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};R(t,function(l,u){for(var c=!1,f=0;f<o.length;f++){var d=o[f],h=u.lastIndexOf(d);if(h>0&&h===u.length-d.length){var p=u.slice(0,h);p!=="data"&&(n.mainType=p,n[d.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(r[u]=l,c=!0),c||(i[u]=l)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,a=r.packedEvent,o=r.model,s=r.view;if(!o||!s)return!0;var l=n.cptQuery,u=n.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,a,"name")&&c(u,a,"dataIndex")&&c(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,n.otherQuery,i,a));function c(f,d,h,p){return f[h]==null||d[p||h]===f[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Ow=["symbol","symbolSize","symbolRotate","symbolOffset"],vA=Ow.concat(["symbolKeepAspect"]),d5e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},a=!1,o=0;o<Ow.length;o++){var s=Ow[o],l=e.get(s);Xe(l)?(a=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual(me({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),t.isSeriesFiltered(e))return;var u=Dt(i);function c(f,d){for(var h=e.getRawValue(d),p=e.getDataParams(d),v=0;v<u.length;v++){var m=u[v];f.setItemVisual(d,m,i[m](h,p))}}return{dataEach:a?c:null}}},h5e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var n=e.getData();function r(i,a){for(var o=i.getItemModel(a),s=0;s<vA.length;s++){var l=vA[s],u=o.getShallow(l,!0);u!=null&&i.setItemVisual(a,l,u)}}return{dataEach:n.hasItemOption?r:null}}};function AN(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function MN(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function p5e(e,t,n,r){switch(n){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break}}function v5e(e,t){function n(r,i){var a=[];return r.eachComponent({mainType:"series",subType:e,query:i},function(o){a.push(o.seriesIndex)}),a}R([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(r){t(r[0],function(i,a,o){i=me({},i),o.dispatchAction(me(i,{type:r[1],seriesIndex:n(a,i)}))})})}function Mu(e,t,n,r,i){var a=e+t;n.isSilent(a)||r.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,l=o.option.selectedMap,u=i.selected,c=0;c<u.length;c++)if(u[c].seriesIndex===s){var f=o.getData(),d=Gl(f,i.fromActionPayload);n.trigger(a,{type:a,seriesId:o.id,name:Ce(d)?f.getName(d[0]):f.getName(d),selected:Be(l)?l:me({},l)})}})}function g5e(e,t,n){e.on("selectchanged",function(r){var i=n.getModel();r.isFromClick?(Mu("map","selectchanged",t,i,r),Mu("pie","selectchanged",t,i,r)):r.fromAction==="select"?(Mu("map","selected",t,i,r),Mu("pie","selected",t,i,r)):r.fromAction==="unselect"&&(Mu("map","unselected",t,i,r),Mu("pie","unselected",t,i,r))})}function ju(e,t,n){for(var r;e&&!(t(e)&&(r=e,n));)e=e.__hostTarget||e.parent;return r}var m5e=Math.round(Math.random()*9),y5e=typeof Object.defineProperty=="function",b5e=function(){function e(){this._id="__ec_inner_"+m5e++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,n){var r=this._guard(t);return y5e?Object.defineProperty(r,this._id,{value:n,enumerable:!1,configurable:!0}):r[this._id]=n,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}();const _5e=b5e;var w5e=Nt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,a=t.height/2;e.moveTo(n,r-a),e.lineTo(n+i,r+a),e.lineTo(n-i,r+a),e.closePath()}}),S5e=Nt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,a=t.height/2;e.moveTo(n,r-a),e.lineTo(n+i,r),e.lineTo(n,r+a),e.lineTo(n-i,r),e.closePath()}}),C5e=Nt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,a=Math.max(i,t.height),o=i/2,s=o*o/(a-o),l=r-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,f=Math.sin(u),d=Math.cos(u),h=o*.6,p=o*.7;e.moveTo(n-c,l+s),e.arc(n,l,o,Math.PI-u,Math.PI*2+u),e.bezierCurveTo(n+c-f*h,l+s+d*h,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+f*h,l+s+d*h,n-c,l+s),e.closePath()}}),x5e=Nt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,a=t.y,o=r/3*2;e.moveTo(i,a),e.lineTo(i+o,a+n),e.lineTo(i,a+n/4*3),e.lineTo(i-o,a+n),e.lineTo(i,a),e.closePath()}}),T5e={line:ps,rect:Gt,roundRect:Gt,square:Gt,circle:iy,diamond:S5e,pin:C5e,arrow:x5e,triangle:w5e},E5e={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var a=Math.min(n,r);i.x=e,i.y=t,i.width=a,i.height=a},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},Pm={};R(T5e,function(e,t){Pm[t]=new e});var A5e=Nt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=bm(e,t,n),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(r.y=n.y+n.height*.4),r},buildPath:function(e,t,n){var r=t.symbolType;if(r!=="none"){var i=Pm[r];i||(r="rect",i=Pm[r]),E5e[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function M5e(e,t){if(this.type!=="image"){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):this.shape.symbolType==="line"?n.stroke=e:n.fill=e,this.markRedraw()}}function Si(e,t,n,r,i,a,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var l;return e.indexOf("image://")===0?l=K5(e.slice(8),new Et(t,n,r,i),o?"center":"cover"):e.indexOf("path://")===0?l=sy(e.slice(7),{},new Et(t,n,r,i),o?"center":"cover"):l=new A5e({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),l.__isEmptyBrush=s,l.setColor=M5e,a&&l.setColor(a),l}function I5e(e){return Ce(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function IN(e,t){if(e!=null)return Ce(e)||(e=[e,e]),[Ht(e[0],t[0])||0,Ht(xt(e[1],e[0]),t[1])||0]}function cl(e){return isFinite(e)}function O5e(e,t,n){var r=t.x==null?0:t.x,i=t.x2==null?1:t.x2,a=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),r=cl(r)?r:0,i=cl(i)?i:1,a=cl(a)?a:0,o=cl(o)?o:0;var s=e.createLinearGradient(r,a,i,o);return s}function P5e(e,t,n){var r=n.width,i=n.height,a=Math.min(r,i),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,l=t.r==null?.5:t.r;t.global||(o=o*r+n.x,s=s*i+n.y,l=l*a),o=cl(o)?o:.5,s=cl(s)?s:.5,l=l>=0&&cl(l)?l:.5;var u=e.createRadialGradient(o,s,0,o,s,l);return u}function Pw(e,t,n){for(var r=t.type==="radial"?P5e(e,t,n):O5e(e,t,n),i=t.colorStops,a=0;a<i.length;a++)r.addColorStop(i[a].offset,i[a].color);return r}function R5e(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function Ev(e){return parseInt(e,10)}function Av(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||Ev(s[r])||Ev(e.style[r]))-(Ev(s[a])||0)-(Ev(s[o])||0)|0}function D5e(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Ut(e)?[e]:Ce(e)?e:null}function ON(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&D5e(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=ke(n,function(a){return a/i}),r/=i)}return[n,r]}var L5e=new hs(!0);function Rm(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function gA(e){return typeof e=="string"&&e!=="none"}function Dm(e){var t=e.fill;return t!=null&&t!=="none"}function mA(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function yA(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function Rw(e,t,n){var r=zk(t.image,t.__image,n);if(J0(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Q9),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function k5e(e,t,n,r){var i,a=Rm(n),o=Dm(n),s=n.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||L5e,f=t.__dirty;if(!r){var d=n.fill,h=n.stroke,p=o&&!!d.colorStops,v=a&&!!h.colorStops,m=o&&!!d.image,g=a&&!!h.image,y=void 0,_=void 0,b=void 0,S=void 0,w=void 0;(p||v)&&(w=t.getBoundingRect()),p&&(y=f?Pw(e,d,w):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(_=f?Pw(e,h,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),m&&(b=f||!t.__canvasFillPattern?Rw(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=b),g&&(S=f||!t.__canvasStrokePattern?Rw(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=b),p?e.fillStyle=y:m&&(b?e.fillStyle=b:o=!1),v?e.strokeStyle=_:g&&(S?e.strokeStyle=S:a=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var T,E;e.setLineDash&&n.lineDash&&(i=ON(t),T=i[0],E=i[1]);var M=!0;(u||f&zu)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),M=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),M&&c.rebuildPath(e,l?s:1),T&&(e.setLineDash(T),e.lineDashOffset=E),r||(n.strokeFirst?(a&&yA(e,n),o&&mA(e,n)):(o&&mA(e,n),a&&yA(e,n))),T&&e.setLineDash([])}function $5e(e,t,n){var r=t.__image=zk(n.image,t.__image,t,t.onload);if(!(!r||!J0(r))){var i=n.x||0,a=n.y||0,o=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,a,o,s)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=o-u,d=s-c;e.drawImage(r,u,c,f,d,i,a,o,s)}else e.drawImage(r,i,a,o,s)}}function N5e(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||Hl,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var a=void 0,o=void 0;e.setLineDash&&n.lineDash&&(r=ON(t),a=r[0],o=r[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),n.strokeFirst?(Rm(n)&&e.strokeText(i,n.x,n.y),Dm(n)&&e.fillText(i,n.x,n.y)):(Dm(n)&&e.fillText(i,n.x,n.y),Rm(n)&&e.strokeText(i,n.x,n.y)),a&&e.setLineDash([])}}var bA=["shadowBlur","shadowOffsetX","shadowOffsetY"],_A=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function PN(e,t,n,r,i){var a=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){xr(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?Cl.opacity:o}(r||t.blend!==n.blend)&&(a||(xr(e,i),a=!0),e.globalCompositeOperation=t.blend||Cl.blend);for(var s=0;s<bA.length;s++){var l=bA[s];(r||t[l]!==n[l])&&(a||(xr(e,i),a=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(a||(xr(e,i),a=!0),e.shadowColor=t.shadowColor||Cl.shadowColor),a}function wA(e,t,n,r,i){var a=xh(t,i.inHover),o=r?null:n&&xh(n,i.inHover)||{};if(a===o)return!1;var s=PN(e,a,o,r,i);if((r||a.fill!==o.fill)&&(s||(xr(e,i),s=!0),gA(a.fill)&&(e.fillStyle=a.fill)),(r||a.stroke!==o.stroke)&&(s||(xr(e,i),s=!0),gA(a.stroke)&&(e.strokeStyle=a.stroke)),(r||a.opacity!==o.opacity)&&(s||(xr(e,i),s=!0),e.globalAlpha=a.opacity==null?1:a.opacity),t.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(xr(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<_A.length;c++){var f=_A[c],d=f[0];(r||a[d]!==o[d])&&(s||(xr(e,i),s=!0),e[d]=a[d]||f[1])}return s}function B5e(e,t,n,r,i){return PN(e,xh(t,i.inHover),n&&xh(n,i.inHover),r,i)}function RN(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function F5e(e,t,n){for(var r=!1,i=0;i<e.length;i++){var a=e[i];r=r||a.isZeroArea(),RN(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}n.allClipped=r}function z5e(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var SA=1,CA=2,xA=3,TA=4;function V5e(e){var t=Dm(e),n=Rm(e);return!(e.lineDash||!(+t^+n)||t&&typeof e.fill!="string"||n&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function xr(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function xh(e,t){return t&&e.__hoverStyle||e.style}function mx(e,t){fl(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function fl(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){t.__dirty&=~Gr,t.__isRendered=!1;return}var a=t.__clipPaths,o=n.prevElClipPaths,s=!1,l=!1;if((!o||R5e(a,o))&&(o&&o.length&&(xr(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(xr(e,n),e.save(),F5e(a,e,n),s=!0),n.prevElClipPaths=a),n.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=t instanceof Nt&&t.autoBatch&&V5e(t.style);s||z5e(i,u.transform)?(xr(e,n),RN(e,t)):c||xr(e,n);var f=xh(t,n.inHover);t instanceof Nt?(n.lastDrawType!==SA&&(l=!0,n.lastDrawType=SA),wA(e,t,u,l,n),(!c||!n.batchFill&&!n.batchStroke)&&e.beginPath(),k5e(e,t,f,c),c&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof gw?(n.lastDrawType!==xA&&(l=!0,n.lastDrawType=xA),wA(e,t,u,l,n),N5e(e,t,f)):t instanceof Da?(n.lastDrawType!==CA&&(l=!0,n.lastDrawType=CA),B5e(e,t,u,l,n),$5e(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==TA&&(l=!0,n.lastDrawType=TA),H5e(e,t,n)),c&&r&&xr(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}function H5e(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover},o,s;for(o=t.getCursor(),s=r.length;o<s;o++){var l=r[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),fl(e,l,a,o===s-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),a.prevEl=l}for(var u=0,c=i.length;u<c;u++){var l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),fl(e,l,a,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),a.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var Tb=new _5e,EA=new dp(100),AA=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Dw(e,t){if(e==="none")return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i=r.painter.type==="svg";e.dirty&&Tb.delete(e);var a=Tb.get(e);if(a)return a;var o=bt(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=i?1:1/n,Tb.set(e,s),e.dirty=!1,s;function l(u){for(var c=[n],f=!0,d=0;d<AA.length;++d){var h=o[AA[d]];if(h!=null&&!Ce(h)&&!Be(h)&&!Ut(h)&&typeof h!="boolean"){f=!1;break}c.push(h)}var p;if(f){p=c.join(",")+(i?"-svg":"");var v=EA.get(p);v&&(i?u.svgElement=v:u.image=v)}var m=LN(o.dashArrayX),g=W5e(o.dashArrayY),y=DN(o.symbol),_=U5e(m),b=kN(g),S=!i&&io.createCanvas(),w=i&&{tag:"g",attrs:{},key:"dcl",children:[]},C=E(),T;S&&(S.width=C.width*n,S.height=C.height*n,T=S.getContext("2d")),M(),f&&EA.put(p,S||w),u.image=S,u.svgElement=w,u.svgWidth=C.width,u.svgHeight=C.height;function E(){for(var A=1,I=0,O=_.length;I<O;++I)A=FE(A,_[I]);for(var D=1,I=0,O=y.length;I<O;++I)D=FE(D,y[I].length);A*=D;var F=b*_.length*y.length;return{width:Math.max(1,Math.min(A,o.maxTileWidth)),height:Math.max(1,Math.min(F,o.maxTileHeight))}}function M(){T&&(T.clearRect(0,0,S.width,S.height),o.backgroundColor&&(T.fillStyle=o.backgroundColor,T.fillRect(0,0,S.width,S.height)));for(var A=0,I=0;I<g.length;++I)A+=g[I];if(A<=0)return;for(var O=-b,D=0,F=0,k=0;O<C.height;){if(D%2===0){for(var H=F/2%y.length,V=0,z=0,q=0;V<C.width*2;){for(var ae=0,I=0;I<m[k].length;++I)ae+=m[k][I];if(ae<=0)break;if(z%2===0){var oe=(1-o.symbolSize)*.5,xe=V+m[k][z]*oe,Ae=O+g[D]*oe,Ve=m[k][z]*o.symbolSize,De=g[D]*o.symbolSize,W=q/2%y[H].length;Z(xe,Ae,Ve,De,y[H][W])}V+=m[k][z],++q,++z,z===m[k].length&&(z=0)}++k,k===m.length&&(k=0)}O+=g[D],++F,++D,D===g.length&&(D=0)}function Z(J,ue,pe,L,B){var G=i?1:n,Q=Si(B,J*G,ue*G,pe*G,L*G,o.color,o.symbolKeepAspect);if(i){var te=r.painter.renderOneToVNode(Q);te&&w.children.push(te)}else mx(T,Q)}}}}function DN(e){if(!e||e.length===0)return[["rect"]];if(Be(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!Be(e[n])){t=!1;break}if(t)return DN([e]);for(var r=[],n=0;n<e.length;++n)Be(e[n])?r.push([e[n]]):r.push(e[n]);return r}function LN(e){if(!e||e.length===0)return[[0,0]];if(Ut(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!Ut(e[r])){n=!1;break}if(n)return LN([e]);for(var i=[],r=0;r<e.length;++r)if(Ut(e[r])){var t=Math.ceil(e[r]);i.push([t,t])}else{var t=ke(e[r],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function W5e(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(Ut(e)){var t=Math.ceil(e);return[t,t]}var n=ke(e,function(r){return Math.ceil(r)});return e.length%2?n.concat(n):n}function U5e(e){return ke(e,function(t){return kN(t)})}function kN(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?t*2:t}function G5e(e,t){e.eachRawSeries(function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(o){var s=r.getItemVisual(o,"decal");if(s){var l=r.ensureUniqueItemVisual(o,"style");l.decal=Dw(s,t)}});var i=r.getVisual("decal");if(i){var a=r.getVisual("style");a.decal=Dw(i,t)}}})}var j5e=new Ti;const ki=j5e;var $N={};function q5e(e,t){$N[e]=t}function NN(e){return $N[e]}var K5e="5.4.2",Y5e={zrender:"5.4.3"},Z5e=1,X5e=800,Q5e=900,J5e=1e3,exe=2e3,txe=5e3,BN=1e3,nxe=1100,yx=2e3,FN=3e3,rxe=4e3,Sy=4500,ixe=4600,axe=5e3,oxe=6e3,zN=7e3,VN={PROCESSOR:{FILTER:J5e,SERIES_FILTER:X5e,STATISTIC:txe},VISUAL:{LAYOUT:BN,PROGRESSIVE_LAYOUT:nxe,GLOBAL:yx,CHART:FN,POST_CHART_LAYOUT:ixe,COMPONENT:rxe,BRUSH:axe,CHART_ITEM:Sy,ARIA:oxe,DECAL:zN}},Un="__flagInMainProcess",mr="__pendingUpdate",Eb="__needsUpdateStatus",MA=/^[a-zA-Z0-9_]+$/,Ab="__connectUpdateStatus",IA=0,sxe=1,lxe=2;function HN(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this.isDisposed()){this.id;return}return UN(this,e,t)}}function WN(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return UN(this,e,t)}}function UN(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Ti.prototype[t].apply(e,n)}var GN=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Ti),jN=GN.prototype;jN.on=WN("on");jN.off=WN("off");var Iu,Mb,Mv,To,Ib,Ob,Pb,Ef,Af,OA,PA,Rb,RA,Iv,DA,qN,ei,LA,Lm=function(e){ve(t,e);function t(n,r,i){var a=e.call(this,new f5e)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},Be(r)&&(r=KN[r]),a._dom=n;var o="canvas",s="auto",l=!1,u=a._zr=cw(n,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:xt(i.useDirtyRect,l),useCoarsePointer:xt(i.useCoarsePointer,s),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=_y(Fe(u.flush,u),17),r=qe(r),r&&rN(r,!0),a._theme=r,a._locale=hSe(i.locale||k$),a._coordSysMgr=new gy;var c=a._api=DA(a);function f(d,h){return d.__prio-h.__prio}return vg($m,f),vg(Lw,f),a._scheduler=new TN(a,c,Lw,$m),a._messageCenter=new GN,a._initEvents(),a.resize=Fe(a.resize,a),u.animation.on("frame",a._onframe,a),OA(u,a),PA(u,a),cm(a),a}return t.prototype._onframe=function(){if(!this._disposed){LA(this);var n=this._scheduler;if(this[mr]){var r=this[mr].silent;this[Un]=!0;try{Iu(this),To.update.call(this,null,this[mr].updateParams)}catch(l){throw this[Un]=!1,this[mr]=null,l}this._zr.flush(),this[Un]=!1,this[mr]=null,Ef.call(this,r),Af.call(this,r)}else if(n.unfinished){var i=Z5e,a=this._model,o=this._api;n.unfinished=!1;do{var s=+new Date;n.performSeriesTasks(a),n.performDataProcessorTasks(a),Ob(this,a),n.performVisualTasks(a),Iv(this,this._model,o,"remain",{}),i-=+new Date-s}while(i>0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[Un]){if(this._disposed){this.id;return}var a,o,s;if(ze(r)&&(i=r.lazyUpdate,a=r.silent,o=r.replaceMerge,s=r.transition,r=r.notMerge),this[Un]=!0,!this._model||r){var l=new qSe(this._api),u=this._theme,c=this._model=new eN;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(n,{replaceMerge:o},kw);var f={seriesTransition:s,optionChanged:!0};if(i)this[mr]={silent:a,updateParams:f},this[Un]=!1,this.getZr().wakeUp();else{try{Iu(this),To.update.call(this,null,f)}catch(d){throw this[mr]=null,this[Un]=!1,d}this._ssr||this._zr.flush(),this[mr]=null,this[Un]=!1,Ef.call(this,a),Af.call(this,a)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||vt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(vt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return R(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,a=[],o=this;R(r,function(l){i.eachComponent({mainType:l},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(a.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return R(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(Nm[i]){var l=s,u=s,c=-s,f=-s,d=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();R(El,function(_,b){if(_.group===i){var S=r?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(qe(n)),w=_.getDom().getBoundingClientRect();l=a(w.left,l),u=a(w.top,u),c=o(w.right,c),f=o(w.bottom,f),d.push({dom:S,left:w.left,top:w.top})}}),l*=h,u*=h,c*=h,f*=h;var p=c-l,v=f-u,m=io.createCanvas(),g=cw(m,{renderer:r?"svg":"canvas"});if(g.resize({width:p,height:v}),r){var y="";return R(d,function(_){var b=_.left-l,S=_.top-u;y+='<g transform="translate('+b+","+S+')">'+_.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&g.painter.setBackgroundColor(n.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return n.connectedBackgroundColor&&g.add(new Gt({shape:{x:0,y:0,width:p,height:v},style:{fill:n.connectedBackgroundColor}})),R(d,function(_){var b=new Da({style:{x:_.left*h-l,y:_.top*h-u,image:_.dom}});g.add(b)}),g.refreshImmediately(),m.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return Ib(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return Ib(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,a,o=wd(i,n);return R(o,function(s,l){l.indexOf("Models")>=0&&R(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)a=a||!!c.containPoint(r);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(a=a||f.containPoint(r,u))}},this)},this),!!a},t.prototype.getVisual=function(n,r){var i=this._model,a=wd(i,n,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?AN(s,l,r):MN(s,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;R(uxe,function(r){var i=function(a){var o=n.getModel(),s=a.target,l,u=r==="globalout";if(u?l={}:s&&ju(s,function(p){var v=Pt(p);if(v&&v.dataIndex!=null){var m=v.dataModel||o.getSeriesByIndex(v.seriesIndex);return l=m&&m.getDataParams(v.dataIndex,v.dataType)||{},!0}else if(v.eventData)return l=me({},v.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var d=c&&f!=null&&o.getComponent(c,f),h=d&&n[d.mainType==="series"?"_chartsMap":"_componentsMap"][d.__viewId];l.event=a,l.type=r,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:d,view:h},n.trigger(r,l)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),R(Md,function(r,i){n._messageCenter.on(i,function(a){this.trigger(i,a)},n)}),R(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),g5e(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&Nk(this.getDom(),_x,"");var r=this,i=r._api,a=r._model;R(r._componentsViews,function(o){o.dispose(a,i)}),R(r._chartsViews,function(o){o.dispose(a,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete El[r.id]},t.prototype.resize=function(n){if(!this[Un]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),a=n&&n.silent;this[mr]&&(a==null&&(a=this[mr].silent),i=!0,this[mr]=null),this[Un]=!0;try{i&&Iu(this),To.update.call(this,{type:"resize",animation:me({duration:0},n&&n.animation)})}catch(o){throw this[Un]=!1,o}this[Un]=!1,Ef.call(this,a),Af.call(this,a)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(ze(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!$w[n]){var i=$w[n](this._api,r),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=me({},n);return r.type=Md[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(ze(r)||(r={silent:!!r}),!!km[n.type]&&this._model){if(this[Un]){this._pendingActions.push(n);return}var i=r.silent;Pb.call(this,n,i);var a=r.flush;a?this._zr.flush():a!==!1&&vt.browser.weChat&&this._throttledZrFlush(),Ef.call(this,i),Af.call(this,i)}},t.prototype.updateLabelLayout=function(){ki.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(r);a.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){Iu=function(f){var d=f._scheduler;d.restorePipelines(f._model),d.prepareStageTasks(),Mb(f,!0),Mb(f,!1),d.plan()},Mb=function(f,d){for(var h=f._model,p=f._scheduler,v=d?f._componentsViews:f._chartsViews,m=d?f._componentsMap:f._chartsMap,g=f._zr,y=f._api,_=0;_<v.length;_++)v[_].__alive=!1;d?h.eachComponent(function(w,C){w!=="series"&&b(C)}):h.eachSeries(b);function b(w){var C=w.__requireNewView;w.__requireNewView=!1;var T="_ec_"+w.id+"_"+w.type,E=!C&&m[T];if(!E){var M=wa(w.type),A=d?nr.getClass(M.main,M.sub):Xr.getClass(M.sub);E=new A,E.init(h,y),m[T]=E,v.push(E),g.add(E.group)}w.__viewId=E.__id=T,E.__alive=!0,E.__model=w,E.group.__ecComponentInfo={mainType:w.mainType,index:w.componentIndex},!d&&p.prepareView(E,w,h,y)}for(var _=0;_<v.length;){var S=v[_];S.__alive?_++:(!d&&S.renderTask.dispose(),g.remove(S.group),S.dispose(h,y),v.splice(_,1),m[S.__id]===S&&delete m[S.__id],S.__id=S.group.__ecComponentInfo=null)}},Mv=function(f,d,h,p,v){var m=f._model;if(m.setUpdatePayload(h),!p){R([].concat(f._componentsViews).concat(f._chartsViews),S);return}var g={};g[p+"Id"]=h[p+"Id"],g[p+"Index"]=h[p+"Index"],g[p+"Name"]=h[p+"Name"];var y={mainType:p,query:g};v&&(y.subType=v);var _=h.excludeSeriesId,b;_!=null&&(b=Qe(),R(Sn(_),function(w){var C=cr(w,null);C!=null&&b.set(C,!0)})),m&&m.eachComponent(y,function(w){var C=b&&b.get(w.id)!=null;if(!C)if(p4(h))if(w instanceof Xi)h.type===xl&&!h.notBlur&&!w.get(["emphasis","disabled"])&&twe(w,h,f._api);else{var T=F5(w.mainType,w.componentIndex,h.name,f._api),E=T.focusSelf,M=T.dispatchers;h.type===xl&&E&&!h.notBlur&&yw(w.mainType,w.componentIndex,f._api),M&&R(M,function(A){h.type===xl?Pc(A):Rc(A)})}else _w(h)&&w instanceof Xi&&(iwe(w,h,f._api),d4(w),ei(f))},f),m&&m.eachComponent(y,function(w){var C=b&&b.get(w.id)!=null;C||S(f[p==="series"?"_chartsMap":"_componentsMap"][w.__viewId])},f);function S(w){w&&w.__alive&&w[d]&&w[d](w.__model,m,f._api,h)}},To={prepareAndUpdate:function(f){Iu(this),To.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,d){var h=this._model,p=this._api,v=this._zr,m=this._coordSysMgr,g=this._scheduler;if(h){h.setUpdatePayload(f),g.restoreData(h,f),g.performSeriesTasks(h),m.create(h,p),g.performDataProcessorTasks(h,f),Ob(this,h),m.update(h,p),n(h),g.performVisualTasks(h,f),Rb(this,h,p,f,d);var y=h.get("backgroundColor")||"transparent",_=h.get("darkMode");v.setBackgroundColor(y),_!=null&&_!=="auto"&&v.setDarkMode(_),ki.trigger("afterupdate",h,p)}},updateTransform:function(f){var d=this,h=this._model,p=this._api;if(h){h.setUpdatePayload(f);var v=[];h.eachComponent(function(g,y){if(g!=="series"){var _=d.getViewOfComponentModel(y);if(_&&_.__alive)if(_.updateTransform){var b=_.updateTransform(y,h,p,f);b&&b.update&&v.push(_)}else v.push(_)}});var m=Qe();h.eachSeries(function(g){var y=d._chartsMap[g.__viewId];if(y.updateTransform){var _=y.updateTransform(g,h,p,f);_&&_.update&&m.set(g.uid,1)}else m.set(g.uid,1)}),n(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:m}),Iv(this,h,p,f,{},m),ki.trigger("afterupdate",h,p)}},updateView:function(f){var d=this._model;d&&(d.setUpdatePayload(f),Xr.markUpdateMethod(f,"updateView"),n(d),this._scheduler.performVisualTasks(d,f,{setDirty:!0}),Rb(this,d,this._api,f,{}),ki.trigger("afterupdate",d,this._api))},updateVisual:function(f){var d=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(p){p.getData().clearAllVisual()}),Xr.markUpdateMethod(f,"updateVisual"),n(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(p,v){if(p!=="series"){var m=d.getViewOfComponentModel(v);m&&m.__alive&&m.updateVisual(v,h,d._api,f)}}),h.eachSeries(function(p){var v=d._chartsMap[p.__viewId];v.updateVisual(p,h,d._api,f)}),ki.trigger("afterupdate",h,this._api))},updateLayout:function(f){To.update.call(this,f)}},Ib=function(f,d,h,p){if(f._disposed){f.id;return}for(var v=f._model,m=f._coordSysMgr.getCoordinateSystems(),g,y=wd(v,h),_=0;_<m.length;_++){var b=m[_];if(b[d]&&(g=b[d](v,y,p))!=null)return g}},Ob=function(f,d){var h=f._chartsMap,p=f._scheduler;d.eachSeries(function(v){p.updateStreamModes(v,h[v.__viewId])})},Pb=function(f,d){var h=this,p=this.getModel(),v=f.type,m=f.escapeConnect,g=km[v],y=g.actionInfo,_=(y.update||"update").split(":"),b=_.pop(),S=_[0]!=null&&wa(_[0]);this[Un]=!0;var w=[f],C=!1;f.batch&&(C=!0,w=ke(f.batch,function(D){return D=bt(me({},D),f),D.batch=null,D}));var T=[],E,M=_w(f),A=p4(f);if(A&&s$(this._api),R(w,function(D){if(E=g.action(D,h._model,h._api),E=E||me({},D),E.type=y.event||E.type,T.push(E),A){var F=L5(f),k=F.queryOptionMap,H=F.mainTypeSpecified,V=H?k.keys()[0]:"series";Mv(h,b,D,V),ei(h)}else M?(Mv(h,b,D,"series"),ei(h)):S&&Mv(h,b,D,S.main,S.sub)}),b!=="none"&&!A&&!M&&!S)try{this[mr]?(Iu(this),To.update.call(this,f),this[mr]=null):To[b].call(this,f)}catch(D){throw this[Un]=!1,D}if(C?E={type:y.event||v,escapeConnect:m,batch:T}:E=T[0],this[Un]=!1,!d){var I=this._messageCenter;if(I.trigger(E.type,E),M){var O={type:"selectchanged",escapeConnect:m,selected:awe(p),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};I.trigger(O.type,O)}}},Ef=function(f){for(var d=this._pendingActions;d.length;){var h=d.shift();Pb.call(this,h,f)}},Af=function(f){!f&&this.trigger("updated")},OA=function(f,d){f.on("rendered",function(h){d.trigger("rendered",h),f.animation.isFinished()&&!d[mr]&&!d._scheduler.unfinished&&!d._pendingActions.length&&d.trigger("finished")})},PA=function(f,d){f.on("mouseover",function(h){var p=h.target,v=ju(p,bw);v&&(nwe(v,h,d._api),ei(d))}).on("mouseout",function(h){var p=h.target,v=ju(p,bw);v&&(rwe(v,h,d._api),ei(d))}).on("click",function(h){var p=h.target,v=ju(p,function(y){return Pt(y).dataIndex!=null},!0);if(v){var m=v.selected?"unselect":"select",g=Pt(v);d._api.dispatchAction({type:m,dataType:g.dataType,dataIndexInside:g.dataIndex,seriesIndex:g.seriesIndex,isFromClick:!0})}})};function n(f){f.clearColorPalette(),f.eachSeries(function(d){d.clearColorPalette()})}function r(f){var d=[],h=[],p=!1;if(f.eachComponent(function(y,_){var b=_.get("zlevel")||0,S=_.get("z")||0,w=_.getZLevelKey();p=p||!!w,(y==="series"?h:d).push({zlevel:b,z:S,idx:_.componentIndex,type:y,key:w})}),p){var v=d.concat(h),m,g;vg(v,function(y,_){return y.zlevel===_.zlevel?y.z-_.z:y.zlevel-_.zlevel}),R(v,function(y){var _=f.getComponent(y.type,y.idx),b=y.zlevel,S=y.key;m!=null&&(b=Math.max(m,b)),S?(b===m&&S!==g&&b++,g=S):g&&(b===m&&b++,g=""),m=b,_.setZLevel(b)})}}Rb=function(f,d,h,p,v){r(d),RA(f,d,h,p,v),R(f._chartsViews,function(m){m.__alive=!1}),Iv(f,d,h,p,v),R(f._chartsViews,function(m){m.__alive||m.remove(d,h)})},RA=function(f,d,h,p,v,m){R(m||f._componentsViews,function(g){var y=g.__model;u(y,g),g.render(y,d,h,p),s(y,g),c(y,g)})},Iv=function(f,d,h,p,v,m){var g=f._scheduler;v=me(v||{},{updatedSeries:d.getSeries()}),ki.trigger("series:beforeupdate",d,h,v);var y=!1;d.eachSeries(function(_){var b=f._chartsMap[_.__viewId];b.__alive=!0;var S=b.renderTask;g.updatePayload(S,p),u(_,b),m&&m.get(_.uid)&&S.dirty(),S.perform(g.getPerformArgs(S))&&(y=!0),b.group.silent=!!_.get("silent"),o(_,b),d4(_)}),g.unfinished=y||g.unfinished,ki.trigger("series:layoutlabels",d,h,v),ki.trigger("series:transition",d,h,v),d.eachSeries(function(_){var b=f._chartsMap[_.__viewId];s(_,b),c(_,b)}),a(f,d),ki.trigger("series:afterupdate",d,h,v)},ei=function(f){f[Eb]=!0,f.getZr().wakeUp()},LA=function(f){f[Eb]&&(f.getZr().storage.traverse(function(d){Td(d)||i(d)}),f[Eb]=!1)};function i(f){for(var d=[],h=f.currentStates,p=0;p<h.length;p++){var v=h[p];v==="emphasis"||v==="blur"||v==="select"||d.push(v)}f.selected&&f.states.select&&d.push("select"),f.hoverState===ny&&f.states.emphasis?d.push("emphasis"):f.hoverState===ty&&f.states.blur&&d.push("blur"),f.useStates(d)}function a(f,d){var h=f._zr,p=h.storage,v=0;p.traverse(function(m){m.isGroup||v++}),v>d.get("hoverLayerThreshold")&&!vt.node&&!vt.worker&&d.eachSeries(function(m){if(!m.preventUsingHoverLayer){var g=f._chartsMap[m.__viewId];g.__alive&&g.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(f,d){var h=f.get("blendMode")||null;d.eachRendered(function(p){p.isGroup||(p.style.blend=h)})}function s(f,d){if(!f.preventAutoZ){var h=f.get("z")||0,p=f.get("zlevel")||0;d.eachRendered(function(v){return l(v,h,p,-1/0),!0})}}function l(f,d,h,p){var v=f.getTextContent(),m=f.getTextGuideLine(),g=f.isGroup;if(g)for(var y=f.childrenRef(),_=0;_<y.length;_++)p=Math.max(l(y[_],d,h,p),p);else f.z=d,f.zlevel=h,p=Math.max(f.z2,p);if(v&&(v.z=d,v.zlevel=h,isFinite(p)&&(v.z2=p+2)),m){var b=f.textGuideLineConfig;m.z=d,m.zlevel=h,isFinite(p)&&(m.z2=p+(b&&b.showAbove?1:-1))}return p}function u(f,d){d.eachRendered(function(h){if(!Td(h)){var p=h.getTextContent(),v=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function c(f,d){var h=f.getModel("stateAnimation"),p=f.isAnimationEnabled(),v=h.get("duration"),m=v>0?{duration:v,delay:h.get("delay"),easing:h.get("easing")}:null;d.eachRendered(function(g){if(g.states&&g.states.emphasis){if(Td(g))return;if(g instanceof Nt&&cwe(g),g.__dirty){var y=g.prevStates;y&&g.useStates(y)}if(p){g.stateTransition=m;var _=g.getTextContent(),b=g.getTextGuideLine();_&&(_.stateTransition=m),b&&(b.stateTransition=m)}g.__dirty&&i(g)}})}DA=function(f){return new(function(d){ve(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},h.prototype.enterEmphasis=function(p,v){Pc(p,v),ei(f)},h.prototype.leaveEmphasis=function(p,v){Rc(p,v),ei(f)},h.prototype.enterBlur=function(p){ewe(p),ei(f)},h.prototype.leaveBlur=function(p){r$(p),ei(f)},h.prototype.enterSelect=function(p){i$(p),ei(f)},h.prototype.leaveSelect=function(p){a$(p),ei(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},h.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},h}(tN))(f)},qN=function(f){function d(h,p){for(var v=0;v<h.length;v++){var m=h[v];m[Ab]=p}}R(Md,function(h,p){f._messageCenter.on(p,function(v){if(Nm[f.group]&&f[Ab]!==IA){if(v&&v.escapeConnect)return;var m=f.makeActionFromEvent(v),g=[];R(El,function(y){y!==f&&y.group===f.group&&g.push(y)}),d(g,IA),R(g,function(y){y[Ab]!==sxe&&y.dispatchAction(m)}),d(g,lxe)}})})}}(),t}(Ti),bx=Lm.prototype;bx.on=HN("on");bx.off=HN("off");bx.one=function(e,t,n){var r=this;function i(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];t&&t.apply&&t.apply(this,a),r.off(e,i)}this.on.call(this,e,i,n)};var uxe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var km={},Md={},Lw=[],kw=[],$m=[],KN={},$w={},El={},Nm={},cxe=+new Date-0,fxe=+new Date-0,_x="_echarts_instance_";function dxe(e,t,n){var r=!(n&&n.ssr);if(r){var i=Sx(e);if(i)return i}var a=new Lm(e,t,n);return a.id="ec_"+cxe++,El[a.id]=a,r&&Nk(e,_x,a.id),qN(a),ki.trigger("afterinit",a),a}function hxe(e){if(Ce(e)){var t=e;e=null,R(t,function(n){n.group!=null&&(e=n.group)}),e=e||"g_"+fxe++,R(t,function(n){n.group=e})}return Nm[e]=!0,e}function YN(e){Nm[e]=!1}var pxe=YN;function vxe(e){Be(e)?e=El[e]:e instanceof Lm||(e=Sx(e)),e instanceof Lm&&!e.isDisposed()&&e.dispose()}function Sx(e){return El[V_e(e,_x)]}function gxe(e){return El[e]}function Cx(e,t){KN[e]=t}function xx(e){ft(kw,e)<0&&kw.push(e)}function Tx(e,t){Ex(Lw,e,t,exe)}function ZN(e){Cy("afterinit",e)}function XN(e){Cy("afterupdate",e)}function Cy(e,t){ki.on(e,t)}function na(e,t,n){Xe(t)&&(n=t,t="");var r=ze(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,!Md[t]&&(bi(MA.test(r)&&MA.test(t)),km[r]||(km[r]={action:n,actionInfo:e}),Md[t]=r)}function QN(e,t){gy.register(e,t)}function mxe(e){var t=gy.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function JN(e,t){Ex($m,e,t,BN,"layout")}function _s(e,t){Ex($m,e,t,FN,"visual")}var kA=[];function Ex(e,t,n,r,i){if((Xe(t)||ze(t))&&(n=t,t=r),!(ft(kA,n)>=0)){kA.push(n);var a=TN.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function Ax(e,t){$w[e]=t}function yxe(e){U9({createCanvas:e})}function eB(e,t,n){var r=NN("registerMap");r&&r(e,t,n)}function bxe(e){var t=NN("getMap");return t&&t(e)}var tB=bCe;_s(yx,YCe);_s(Sy,ZCe);_s(Sy,XCe);_s(yx,d5e);_s(Sy,h5e);_s(zN,G5e);xx(rN);Tx(Q5e,tCe);Ax("default",QCe);na({type:xl,event:xl,update:xl},zn);na({type:Sg,event:Sg,update:Sg},zn);na({type:Sd,event:Sd,update:Sd},zn);na({type:Cg,event:Cg,update:Cg},zn);na({type:Cd,event:Cd,update:Cd},zn);Cx("light",u5e);Cx("dark",c5e);var _xe={};function Mf(e){return e==null?0:e.length||1}function $A(e){return e}var wxe=function(){function e(t,n,r,i,a,o){this._old=t,this._new=n,this._oldKeyGetter=r||$A,this._newKeyGetter=i||$A,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),a=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,a,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=i[o],l=r[s],u=Mf(l);if(u>1){var c=l.shift();l.length===1&&(r[s]=l[0]),this._update&&this._update(c,o)}else u===1?(r[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},a=[],o=[];this._initIndexMap(t,r,a,"_oldKeyGetter"),this._initIndexMap(n,i,o,"_newKeyGetter");for(var s=0;s<a.length;s++){var l=a[s],u=r[l],c=i[l],f=Mf(u),d=Mf(c);if(f>1&&d===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(f===1&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(f===1&&d===1)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(u[h]);else this._remove&&this._remove(u)}this._performRestAdd(o,i)},e.prototype._performRestAdd=function(t,n){for(var r=0;r<t.length;r++){var i=t[r],a=n[i],o=Mf(a);if(o>1)for(var s=0;s<o;s++)this._add&&this._add(a[s]);else o===1&&this._add&&this._add(a);n[i]=null}},e.prototype._initIndexMap=function(t,n,r,i){for(var a=this._diffModeMultiple,o=0;o<t.length;o++){var s="_ec_"+this[i](t[o],o);if(a||(r[o]=s),!!n){var l=n[s],u=Mf(l);u===0?(n[s]=o,a&&r.push(s)):u===1?n[s]=[l,o]:l.push(o)}}},e}();const Mx=wxe;var Sxe=function(){function e(t,n){this._encode=t,this._schema=n}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function Cxe(e,t){var n={},r=n.encode={},i=Qe(),a=[],o=[],s={};R(e.dimensions,function(d){var h=e.getDimensionInfo(d),p=h.coordDim;if(p){var v=h.coordDimIndex;Db(r,p)[v]=d,h.isExtraCoord||(i.set(p,1),Txe(h.type)&&(a[0]=d),Db(s,p)[v]=e.getDimensionIndex(h.name)),h.defaultTooltip&&o.push(d)}K$.each(function(m,g){var y=Db(r,g),_=h.otherDims[g];_!=null&&_!==!1&&(y[_]=h.name)})});var l=[],u={};i.each(function(d,h){var p=r[h];u[h]=p[0],l=l.concat(p)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=ke(l,function(d){return e.getDimensionInfo(d).storeDimIndex}),n.encodeFirstDimNotExtra=u;var c=r.label;c&&c.length&&(a=c.slice());var f=r.tooltip;return f&&f.length?o=f.slice():o.length||(o=a.slice()),r.defaultedLabel=a,r.defaultedTooltip=o,n.userOutput=new Sxe(s,t),n}function Db(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function xxe(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function Txe(e){return!(e==="ordinal"||e==="time")}var Exe=function(){function e(t){this.otherDims={},t!=null&&me(this,t)}return e}();const Ag=Exe;var Axe=tn(),Mxe={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},nB=function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=aB(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return xt(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var n=this.source.dimensionsDefine;if(n)return n[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,n=aN(this.source),r=!oB(t),i="",a=[],o=0,s=0;o<t;o++){var l=void 0,u=void 0,c=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===o)l=n?f.name:null,u=f.type,c=f.ordinalMeta,s++;else{var d=this.getSourceDimension(o);d&&(l=n?d.name:null,u=d.type)}a.push({property:l,type:u,ordinalMeta:c}),n&&l!=null&&(!f||!f.isCalculationCoord)&&(i+=r?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=Mxe[u]||"f",c&&(i+=c.uid),i+="$"}var h=this.source,p=[h.seriesLayoutBy,h.startIndex,i].join("$$");return{dimensions:a,hash:p}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],n=0,r=0;n<this._fullDimCount;n++){var i=void 0,a=this.dimensions[r];if(a&&a.storeDimIndex===n)a.isCalculationCoord||(i=a.name),r++;else{var o=this.getSourceDimension(n);o&&(i=o.name)}t.push(i)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function rB(e){return e instanceof nB}function iB(e){for(var t=Qe(),n=0;n<(e||[]).length;n++){var r=e[n],i=ze(r)?r.name:r;i!=null&&t.get(i)==null&&t.set(i,n)}return t}function aB(e){var t=Axe(e);return t.dimNameMap||(t.dimNameMap=iB(e.dimensionsDefine))}function oB(e){return e>30}var If=ze,Eo=ke,Ixe=typeof Int32Array>"u"?Array:Int32Array,Oxe="e\0\0",NA=-1,Pxe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Rxe=["_approximateExtent"],BA,Ov,Of,Pf,Lb,Pv,kb,Dxe=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,i=!1;rB(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var a={},o=[],s={},l=!1,u={},c=0;c<r.length;c++){var f=r[c],d=Be(f)?new Ag({name:f}):f instanceof Ag?f:new Ag(f),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var p=d.otherDims=d.otherDims||{};o.push(h),a[h]=d,u[h]!=null&&(l=!0),d.createInvertedIndices&&(s[h]=[]),p.itemName===0&&(this._nameDimIdx=c),p.itemId===0&&(this._idDimIdx=c),i&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=a,this._initGetDimensionInfo(l),this.hostModel=n,this._invertedIndicesMap=s,this._dimOmitted){var v=this._dimIdxToName=Qe();R(o,function(m){v.set(a[m].storeDimIndex,m)})}}return e.prototype.getDimension=function(t){var n=this._recognizeDimIndex(t);if(n==null)return t;if(n=t,!this._dimOmitted)return this.dimensions[n];var r=this._dimIdxToName.get(n);if(r!=null)return r;var i=this._schema.getSourceDimension(n);if(i)return i.name},e.prototype.getDimensionIndex=function(t){var n=this._recognizeDimIndex(t);if(n!=null)return n;if(t==null)return-1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(Ut(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var n=this.getDimensionIndex(t);return n},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var n=this._dimInfos;this._getDimInfo=t?function(r){return n.hasOwnProperty(r)?n[r]:void 0}:function(r){return n[r]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,n){var r=this._dimSummary;if(n==null)return r.encodeFirstDimNotExtra[t];var i=r.encode[t];return i?i[n]:null},e.prototype.mapDimensionsAll=function(t){var n=this._dimSummary,r=n.encode[t];return(r||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,n,r){var i=this,a;if(t instanceof Ew&&(a=t),!a){var o=this.dimensions,s=cx(t)||tr(t)?new oN(t,o.length):t;a=new Ew;var l=Eo(o,function(u){return{type:i._dimInfos[u].type,property:u}});a.initData(s,l,r)}this._store=a,this._nameList=(n||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=Cxe(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var n=this._store.appendData(t);this._doInit(n[0],n[1])},e.prototype.appendValues=function(t,n){var r=this._store.appendValues(t,n.length),i=r.start,a=r.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),n)for(var s=i;s<a;s++){var l=s-i;this._nameList[s]=n[l],o&&kb(this,s)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,n=this.dimensions,r=0;r<n.length;r++){var i=this._dimInfos[n[r]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==ss&&!t.fillStorage},e.prototype._doInit=function(t,n){if(!(t>=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===Ai;if(l&&!i.pure)for(var u=[],c=t;c<n;c++){var f=i.getItem(c,u);if(!this.hasItemOption&&M_e(f)&&(this.hasItemOption=!0),f){var d=f.name;a[c]==null&&d!=null&&(a[c]=cr(d,null));var h=f.id;o[c]==null&&h!=null&&(o[c]=cr(h,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<n;c++)kb(this,c);BA(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,n){n=this.getDimension(n),this._approximateExtent[n]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,n){If(t)?me(this._calculationInfo,t):this._calculationInfo[t]=n},e.prototype.getName=function(t){var n=this.getRawIndex(t),r=this._nameList[n];return r==null&&this._nameDimIdx!=null&&(r=Of(this,this._nameDimIdx,n)),r==null&&(r=""),r},e.prototype._getCategory=function(t,n){var r=this._store.get(t,n),i=this._store.getOrdinalMeta(t);return i?i.categories[r]:r},e.prototype.getId=function(t){return Ov(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,n){var r=this._store,i=this._dimInfos[t];if(i)return r.get(i.storeDimIndex,n)},e.prototype.getByRawIndex=function(t,n){var r=this._store,i=this._dimInfos[t];if(i)return r.getByRawIndex(i.storeDimIndex,n)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},e.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},e.prototype.getValues=function(t,n){var r=this,i=this._store;return Ce(t)?i.getValues(Eo(t,function(a){return r._getStoreDimIndex(a)}),n):i.getValues(t)},e.prototype.hasValue=function(t){for(var n=this._dimSummary.dataDimIndicesOnCoord,r=0,i=n.length;r<i;r++)if(isNaN(this._store.get(n[r],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var n=0,r=this._store.count();n<r;n++)if(this.getName(n)===t)return n;return-1},e.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},e.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},e.prototype.rawIndexOf=function(t,n){var r=t&&this._invertedIndicesMap[t],i=r[n];return i==null||isNaN(i)?NA:i},e.prototype.indicesOfNearest=function(t,n,r){return this._store.indicesOfNearest(this._getStoreDimIndex(t),n,r)},e.prototype.each=function(t,n,r){Xe(t)&&(r=n,n=t,t=[]);var i=r||this,a=Eo(Pf(t),this._getStoreDimIndex,this);this._store.each(a,i?Fe(n,i):n)},e.prototype.filterSelf=function(t,n,r){Xe(t)&&(r=n,n=t,t=[]);var i=r||this,a=Eo(Pf(t),this._getStoreDimIndex,this);return this._store=this._store.filter(a,i?Fe(n,i):n),this},e.prototype.selectRange=function(t){var n=this,r={},i=Dt(t);return R(i,function(a){var o=n._getStoreDimIndex(a);r[o]=t[a]}),this._store=this._store.selectRange(r),this},e.prototype.mapArray=function(t,n,r){Xe(t)&&(r=n,n=t,t=[]),r=r||this;var i=[];return this.each(t,function(){i.push(n&&n.apply(this,arguments))},r),i},e.prototype.map=function(t,n,r,i){var a=r||i||this,o=Eo(Pf(t),this._getStoreDimIndex,this),s=Pv(this);return s._store=this._store.map(o,a?Fe(n,a):n),s},e.prototype.modify=function(t,n,r,i){var a=r||i||this,o=Eo(Pf(t),this._getStoreDimIndex,this);this._store.modify(o,a?Fe(n,a):n)},e.prototype.downSample=function(t,n,r,i){var a=Pv(this);return a._store=this._store.downSample(this._getStoreDimIndex(t),n,r,i),a},e.prototype.lttbDownSample=function(t,n){var r=Pv(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),n),r},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var n=this.hostModel,r=this.getRawDataItem(t);return new wn(r,n,n&&n.ecModel)},e.prototype.diff=function(t){var n=this;return new Mx(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(r){return Ov(t,r)},function(r){return Ov(n,r)})},e.prototype.getVisual=function(t){var n=this._visual;return n&&n[t]},e.prototype.setVisual=function(t,n){this._visual=this._visual||{},If(t)?me(this._visual,t):this._visual[t]=n},e.prototype.getItemVisual=function(t,n){var r=this._itemVisuals[t],i=r&&r[n];return i??this.getVisual(n)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var a=i[n];return a==null&&(a=this.getVisual(n),Ce(a)?a=a.slice():If(a)&&(a=me({},a)),i[n]=a),a},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,If(n)?me(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){If(t)?me(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?me(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;U2e(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){R(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Eo(this.dimensions,this._getDimInfo,this),this.hostModel)),Lb(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];Xe(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(K0(arguments)))})},e.internalField=function(){BA=function(t){var n=t._invertedIndicesMap;R(n,function(r,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){r=n[i]=new Ixe(o.categories.length);for(var l=0;l<r.length;l++)r[l]=NA;for(var l=0;l<s.count();l++)r[s.get(a.storeDimIndex,l)]=l}})},Of=function(t,n,r){return cr(t._getCategory(n,r),null)},Ov=function(t,n){var r=t._idList[n];return r==null&&t._idDimIdx!=null&&(r=Of(t,t._idDimIdx,n)),r==null&&(r=Oxe+n),r},Pf=function(t){return Ce(t)||(t=t!=null?[t]:[]),t},Pv=function(t){var n=new e(t._schema?t._schema:Eo(t.dimensions,t._getDimInfo,t),t.hostModel);return Lb(n,t),n},Lb=function(t,n){R(Pxe.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(t[r]=n[r])}),t.__wrappedMethods=n.__wrappedMethods,R(Rxe,function(r){t[r]=qe(n[r])}),t._calculationInfo=me({},n._calculationInfo)},kb=function(t,n){var r=t._nameList,i=t._idList,a=t._nameDimIdx,o=t._idDimIdx,s=r[n],l=i[n];if(s==null&&a!=null&&(r[n]=s=Of(t,a,n)),l==null&&o!=null&&(i[n]=l=Of(t,o,n)),l==null&&s!=null){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),i[n]=l}}}(),e}();const Ix=Dxe;function Lxe(e,t){return Ox(e,t).dimensions}function Ox(e,t){cx(e)||(e=fx(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Qe(),a=[],o=$xe(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&oB(o),l=r===e.dimensionsDefine,u=l?aB(e):iB(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var f=Qe(c),d=new fN(o),h=0;h<d.length;h++)d[h]=-1;function p(E){var M=d[E];if(M<0){var A=r[E],I=ze(A)?A:{name:A},O=new Ag,D=I.name;D!=null&&u.get(D)!=null&&(O.name=O.displayName=D),I.type!=null&&(O.type=I.type),I.displayName!=null&&(O.displayName=I.displayName);var F=a.length;return d[E]=F,O.storeDimIndex=E,a.push(O),O}return a[M]}if(!s)for(var h=0;h<o;h++)p(h);f.each(function(E,M){var A=Sn(E).slice();if(A.length===1&&!Be(A[0])&&A[0]<0){f.set(M,!1);return}var I=f.set(M,[]);R(A,function(O,D){var F=Be(O)?u.get(O):O;F!=null&&F<o&&(I[D]=F,m(p(F),M,D))})});var v=0;R(n,function(E){var M,A,I,O;if(Be(E))M=E,O={};else{O=E,M=O.name;var D=O.ordinalMeta;O.ordinalMeta=null,O=me({},O),O.ordinalMeta=D,A=O.dimsDef,I=O.otherDims,O.name=O.coordDim=O.coordDimIndex=O.dimsDef=O.otherDims=null}var F=f.get(M);if(F!==!1){if(F=Sn(F),!F.length)for(var k=0;k<(A&&A.length||1);k++){for(;v<o&&p(v).coordDim!=null;)v++;v<o&&F.push(v++)}R(F,function(H,V){var z=p(H);if(l&&O.type!=null&&(z.type=O.type),m(bt(z,O),M,V),z.name==null&&A){var q=A[V];!ze(q)&&(q={name:q}),z.name=z.displayName=q.name,z.defaultTooltip=q.defaultTooltip}I&&bt(z.otherDims,I)})}});function m(E,M,A){K$.get(M)!=null?E.otherDims[M]=A:(E.coordDim=M,E.coordDimIndex=A,i.set(M,!0))}var g=t.generateCoord,y=t.generateCoordCount,_=y!=null;y=g?y||1:0;var b=g||"value";function S(E){E.name==null&&(E.name=E.coordDim)}if(s)R(a,function(E){S(E)}),a.sort(function(E,M){return E.storeDimIndex-M.storeDimIndex});else for(var w=0;w<o;w++){var C=p(w),T=C.coordDim;T==null&&(C.coordDim=Nxe(b,i,_),C.coordDimIndex=0,(!g||y<=0)&&(C.isExtraCoord=!0),y--),S(C),C.type==null&&(X$(e,w)===$n.Must||C.isExtraCoord&&(C.otherDims.itemName!=null||C.otherDims.seriesName!=null))&&(C.type="ordinal")}return kxe(a),new nB({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function kxe(e){for(var t=Qe(),n=0;n<e.length;n++){var r=e[n],i=r.name,a=t.get(i)||0;a>0&&(r.name=i+(a-1)),a++,t.set(i,a)}}function $xe(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return R(t,function(a){var o;ze(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function Nxe(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var Bxe=function(){function e(t){this.coordSysDims=[],this.axisMap=Qe(),this.categoryAxisMap=Qe(),this.coordSysName=t}return e}();function Fxe(e){var t=e.get("coordinateSystem"),n=new Bxe(t),r=zxe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var zxe={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",fr).models[0],a=e.getReferringComponents("yAxis",fr).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",a),Ou(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),Ou(a)&&(r.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",fr).models[0];t.coordSysDims=["single"],n.set("single",i),Ou(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",fr).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),Ou(a)&&(r.set("radius",a),t.firstCategoryDimIndex=0),Ou(o)&&(r.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();R(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),c=o[l];n.set(c,u),Ou(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function Ou(e){return e.get("type")==="category"}function sB(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,a,o,s;Vxe(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,d;if(R(a,function(y,_){Be(y)&&(a[_]=y={name:y}),l&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,p=c.type,v=0;R(a,function(y){y.coordDim===h&&v++});var m={name:f,coordDim:h,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:d,coordDim:d,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(d,p),g.storeDimIndex=s.ensureCalculationDimension(f,p)),o.appendCalculationDimension(m),o.appendCalculationDimension(g)):(a.push(m),a.push(g))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:d,stackResultDimension:f}}function Vxe(e){return!rB(e.schema)}function Kl(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function lB(e,t){return Kl(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Hxe(e,t){var n=e.get("coordinateSystem"),r=gy.get(n),i;return t&&t.coordSysDims&&(i=ke(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=xxe(l)}return o})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function Wxe(e,t,n){var r,i;return n&&R(e,function(a,o){var s=a.coordDim,l=n.categoryAxisMap.get(s);l&&(r==null&&(r=o),a.ordinalMeta=l.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function xy(e,t,n){n=n||{};var r=t.getSourceManager(),i,a=!1;e?(a=!0,i=fx(e)):(i=r.getSource(),a=i.sourceFormat===Ai);var o=Fxe(t),s=Hxe(t,o),l=n.useEncodeDefaulter,u=Xe(l)?l:l?Ct(ASe,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},f=Ox(i,c),d=Wxe(f.dimensions,n.createInvertedIndices,o),h=a?null:r.getSharedDataStore(f),p=sB(t,{schema:f,store:h}),v=new Ix(f,t);v.setCalculationInfo(p);var m=d!=null&&Uxe(i)?function(g,y,_,b){return b===d?_:this.defaultDimValueGetter(g,y,_,b)}:null;return v.hasItemOption=!1,v.initData(a?i:h,null,m),v}function Uxe(e){if(e.sourceFormat===Ai){var t=Gxe(e.data||[]);return!Ce(hp(t))}}function Gxe(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var uB=function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var n=this._extent;t[0]<n[0]&&(n[0]=t[0]),t[1]>n[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();Q0(uB);const po=uB;var jxe=0,qxe=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++jxe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&ke(r,Kxe);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Be(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Qe(this.categories))},e}();function Kxe(e){return ze(e)&&e.value!=null?e.value:e+""}const Nw=qxe;function Bw(e){return e.type==="interval"||e.type==="log"}function Yxe(e,t,n,r){var i={},a=e[1]-e[0],o=i.interval=R5(a/t,!0);n!=null&&o<n&&(o=i.interval=n),r!=null&&o>r&&(o=i.interval=r);var s=i.intervalPrecision=cB(o),l=i.niceTickExtent=[vn(Math.ceil(e[0]/o)*o,s),vn(Math.floor(e[1]/o)*o,s)];return Zxe(l,e),i}function $b(e){var t=Math.pow(10,X0(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,vn(n*t)}function cB(e){return _a(e)+2}function FA(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function Zxe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),FA(e,0,t),FA(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function Ty(e,t){return e>=t[0]&&e<=t[1]}function Ey(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function Ay(e,t){return e*(t[1]-t[0])+t[0]}var fB=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new Nw({})),Ce(i)&&(i=new Nw({categories:ke(i,function(a){return ze(a)?a.value:a})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Be(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),Ty(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),Ey(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(Ay(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,r.length);o<l;++o){var u=r[o];i[o]=u,a[u]=o}for(var c=0;o<s;++o){for(;a[c]!=null;)c++;i.push(c),a[c]=o}},t.prototype._getTickNumber=function(n){var r=this._ticksByOrdinalNumber;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getRawOrdinalNumber=function(n){var r=this._ordinalNumbersByTick;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getLabel=function(n){if(!this.isBlank()){var r=this.getRawOrdinalNumber(n.value),i=this._ordinalMeta.categories[r];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.isInExtentRange=function(n){return n=this._getTickNumber(n),this._extent[0]<=n&&this._extent[1]>=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(po);po.registerClass(fB);const dB=fB;var Gs=vn,hB=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return Ty(n,this._extent)},t.prototype.normalize=function(n){return Ey(n,this._extent)},t.prototype.scale=function(n){return Ay(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=cB(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!r)return s;var l=1e4;i[0]<a[0]&&(n?s.push({value:Gs(a[0]-r,o)}):s.push({value:i[0]}));for(var u=a[0];u<=a[1]&&(s.push({value:u}),u=Gs(u+r,o),u!==s[s.length-1].value);)if(s.length>l)return[];var c=s.length?s[s.length-1].value:a[1];return i[1]>c&&(n?s.push({value:Gs(c+r,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],a=this.getExtent(),o=1;o<r.length;o++){for(var s=r[o],l=r[o-1],u=0,c=[],f=s.value-l.value,d=f/n;u<n-1;){var h=Gs(l.value+(u+1)*d);h>a[0]&&h<a[1]&&c.push(h),u++}i.push(c)}return i},t.prototype.getLabel=function(n,r){if(n==null)return"";var i=r&&r.precision;i==null?i=_a(n.value)||0:i==="auto"&&(i=this._intervalPrecision);var a=Gs(n.value,i,!0);return rx(a)},t.prototype.calcNiceTicks=function(n,r,i){n=n||5;var a=this._extent,o=a[1]-a[0];if(isFinite(o)){o<0&&(o=-o,a.reverse());var s=Yxe(a,n,r,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var i=Math.abs(r[0]);n.fixMax||(r[1]+=i/2),r[0]-=i/2}else r[1]=1;var a=r[1]-r[0];isFinite(a)||(r[0]=0,r[1]=1),this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval);var o=this._interval;n.fixMin||(r[0]=Gs(Math.floor(r[0]/o)*o)),n.fixMax||(r[1]=Gs(Math.ceil(r[1]/o)*o))},t.prototype.setNiceExtent=function(n,r){this._niceExtent=[n,r]},t.type="interval",t}(po);po.registerClass(hB);const Sp=hB;var pB=typeof Float32Array<"u",Xxe=pB?Float32Array:Array;function Ya(e){return Ce(e)?pB?new Float32Array(e):e:new Xxe(e)}var Qxe="__ec_stack_";function Px(e){return e.get("stack")||Qxe+e.seriesIndex}function Rx(e){return e.dim+e.index}function vB(e,t){var n=[];return t.eachSeriesByType(e,function(r){mB(r)&&n.push(r)}),n}function Jxe(e){var t={};R(e,function(l){var u=l.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=l.getData(),d=c.dim+"_"+c.index,h=f.getDimensionIndex(f.mapDimension(c.dim)),p=f.getStore(),v=0,m=p.count();v<m;++v){var g=p.get(h,v);t[d]?t[d].push(g):t[d]=[g]}});var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort(function(l,u){return l-u});for(var a=null,o=1;o<i.length;++o){var s=i[o]-i[o-1];s>0&&(a=a===null?s:Math.min(a,s))}n[r]=a}}return n}function gB(e){var t=Jxe(e),n=[];return R(e,function(r){var i=r.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=t[l],c=Math.abs(o[1]-o[0]),f=a.scale.getExtent(),d=Math.abs(f[1]-f[0]);s=u?c/d*u:c}else{var h=r.getData();s=Math.abs(o[1]-o[0])/h.count()}var p=Ht(r.get("barWidth"),s),v=Ht(r.get("barMaxWidth"),s),m=Ht(r.get("barMinWidth")||(yB(r)?.5:1),s),g=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:m,barGap:g,barCategoryGap:y,axisKey:Rx(a),stackId:Px(r)})}),e3e(n)}function e3e(e){var t={};R(e,function(r,i){var a=r.axisKey,o=r.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[a]=s;var u=r.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=r.barMaxWidth;f&&(l[u].maxWidth=f);var d=r.barMinWidth;d&&(l[u].minWidth=d);var h=r.barGap;h!=null&&(s.gap=h);var p=r.barCategoryGap;p!=null&&(s.categoryGap=p)});var n={};return R(t,function(r,i){n[i]={};var a=r.stacks,o=r.bandWidth,s=r.categoryGap;if(s==null){var l=Dt(a).length;s=Math.max(35-l*4,15)+"%"}var u=Ht(s,o),c=Ht(r.gap,1),f=r.remainedWidth,d=r.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),R(a,function(g){var y=g.maxWidth,_=g.minWidth;if(g.width){var b=g.width;y&&(b=Math.min(b,y)),_&&(b=Math.max(b,_)),g.width=b,f-=b+c*b,d--}else{var b=h;y&&y<b&&(b=Math.min(y,f)),_&&_>b&&(b=_),b!==h&&(g.width=b,f-=b+c*b,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p=0,v;R(a,function(g,y){g.width||(g.width=h),v=g,p+=g.width*(1+c)}),v&&(p-=v.width*c);var m=-p/2;R(a,function(g,y){n[i][y]=n[i][y]||{bandWidth:o,offset:m,width:g.width},m+=g.width*(1+c)})}),n}function t3e(e,t,n){if(e&&t){var r=e[Rx(t)];return r!=null&&n!=null?r[Px(n)]:r}}function n3e(e,t){var n=vB(e,t),r=gB(n);R(n,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=Px(i),u=r[Rx(s)][l],c=u.offset,f=u.width;a.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function r3e(e){return{seriesType:e,plan:vx(),reset:function(t){if(mB(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),a=r.getOtherAxis(i),o=n.getDimensionIndex(n.mapDimension(a.dim)),s=n.getDimensionIndex(n.mapDimension(i.dim)),l=t.get("showBackground",!0),u=n.mapDimension(a.dim),c=n.getCalculationInfo("stackResultDimension"),f=Kl(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),d=a.isHorizontal(),h=i3e(i,a),p=yB(t),v=t.get("barMinHeight")||0,m=c&&n.getDimensionIndex(c),g=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(_,b){for(var S=_.count,w=p&&Ya(S*3),C=p&&l&&Ya(S*3),T=p&&Ya(S),E=r.master.getRect(),M=d?E.width:E.height,A,I=b.getStore(),O=0;(A=_.next())!=null;){var D=I.get(f?m:o,A),F=I.get(s,A),k=h,H=void 0;f&&(H=+D-I.get(o,A));var V=void 0,z=void 0,q=void 0,ae=void 0;if(d){var oe=r.dataToPoint([D,F]);if(f){var xe=r.dataToPoint([H,F]);k=xe[0]}V=k,z=oe[1]+y,q=oe[0]-k,ae=g,Math.abs(q)<v&&(q=(q<0?-1:1)*v)}else{var oe=r.dataToPoint([F,D]);if(f){var xe=r.dataToPoint([F,H]);k=xe[1]}V=oe[0]+y,z=k,q=g,ae=oe[1]-k,Math.abs(ae)<v&&(ae=(ae<=0?-1:1)*v)}p?(w[O]=V,w[O+1]=z,w[O+2]=d?q:ae,C&&(C[O]=d?E.x:V,C[O+1]=d?z:E.y,C[O+2]=M),T[A]=A):b.setItemLayout(A,{x:V,y:z,width:q,height:ae}),O+=3}p&&b.setLayout({largePoints:w,largeDataIndices:T,largeBackgroundPoints:C,valueAxisHorizontal:d})}}}}}}function mB(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function yB(e){return e.pipelineContext&&e.pipelineContext.large}function i3e(e,t){return t.toGlobalCoord(t.dataToCoord(t.type==="log"?1:0))}var a3e=function(e,t,n,r){for(;n<r;){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},bB=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;return r.type="time",r}return t.prototype.getLabel=function(n){var r=this.getSetting("useUTC");return _p(n.value,P4[mSe(sc(this._minLevelUnit))]||P4.second,r,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(n,r,i){var a=this.getSetting("useUTC"),o=this.getSetting("locale");return ySe(n,r,i,o,a)},t.prototype.getTicks=function(){var n=this._interval,r=this._extent,i=[];if(!n)return i;i.push({value:r[0],level:0});var a=this.getSetting("useUTC"),o=d3e(this._minLevelUnit,this._approxInterval,a,r);return i=i.concat(o),i.push({value:r[1],level:0}),i},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=fi,r[1]+=fi),r[1]===-1/0&&r[0]===1/0){var i=new Date;r[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),r[0]=r[1]-fi}this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval)},t.prototype.calcNiceTicks=function(n,r,i){n=n||10;var a=this._extent,o=a[1]-a[0];this._approxInterval=o/n,r!=null&&this._approxInterval<r&&(this._approxInterval=r),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var s=Rv.length,l=Math.min(a3e(Rv,this._approxInterval,0,s),s-1);this._interval=Rv[l][1],this._minLevelUnit=Rv[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Ut(n)?n:+_i(n)},t.prototype.contain=function(n){return Ty(this.parse(n),this._extent)},t.prototype.normalize=function(n){return Ey(this.parse(n),this._extent)},t.prototype.scale=function(n){return Ay(n,this._extent)},t.type="time",t}(Sp),Rv=[["second",ex],["minute",tx],["hour",Ed],["quarter-day",Ed*6],["half-day",Ed*12],["day",fi*1.2],["half-week",fi*3.5],["week",fi*7],["month",fi*31],["quarter",fi*95],["half-year",O4/2],["year",O4]];function o3e(e,t,n,r){var i=_i(t),a=_i(n),o=function(p){return R4(i,p,r)===R4(a,p,r)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},f=function(){return c()&&o("minute")},d=function(){return f()&&o("second")},h=function(){return d()&&o("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return h()}}function s3e(e,t){return e/=fi,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function l3e(e){var t=30*fi;return e/=t,e>6?6:e>3?3:e>2?2:1}function u3e(e){return e/=Ed,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function zA(e,t){return e/=t?tx:ex,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function c3e(e){return R5(e,!0)}function f3e(e,t,n){var r=new Date(e);switch(sc(t)){case"year":case"month":r[B$(n)](0);case"day":r[F$(n)](1);case"hour":r[z$(n)](0);case"minute":r[V$(n)](0);case"second":r[H$(n)](0),r[W$(n)](0)}return r.getTime()}function d3e(e,t,n,r){var i=1e4,a=$$,o=0;function s(M,A,I,O,D,F,k){for(var H=new Date(A),V=A,z=H[O]();V<I&&V<=r[1];)k.push({value:V}),z+=M,H[D](z),V=H.getTime();k.push({value:V,notAdd:!0})}function l(M,A,I){var O=[],D=!A.length;if(!o3e(sc(M),r[0],r[1],n)){D&&(A=[{value:f3e(new Date(r[0]),M,n)},{value:r[1]}]);for(var F=0;F<A.length-1;F++){var k=A[F].value,H=A[F+1].value;if(k!==H){var V=void 0,z=void 0,q=void 0,ae=!1;switch(M){case"year":V=Math.max(1,Math.round(t/fi/365)),z=nx(n),q=bSe(n);break;case"half-year":case"quarter":case"month":V=l3e(t),z=lc(n),q=B$(n);break;case"week":case"half-week":case"day":V=s3e(t),z=dy(n),q=F$(n),ae=!0;break;case"half-day":case"quarter-day":case"hour":V=u3e(t),z=bh(n),q=z$(n);break;case"minute":V=zA(t,!0),z=hy(n),q=V$(n);break;case"second":V=zA(t,!1),z=py(n),q=H$(n);break;case"millisecond":V=c3e(t),z=vy(n),q=W$(n);break}s(V,k,H,z,q,ae,O),M==="year"&&I.length>1&&F===0&&I.unshift({value:I[0].value-V})}}for(var F=0;F<O.length;F++)I.push(O[F]);return O}}for(var u=[],c=[],f=0,d=0,h=0;h<a.length&&o++<i;++h){var p=sc(a[h]);if(gSe(a[h])){l(a[h],u[u.length-1]||[],c);var v=a[h+1]?sc(a[h+1]):null;if(p!==v){if(c.length){d=f,c.sort(function(M,A){return M.value-A.value});for(var m=[],g=0;g<c.length;++g){var y=c[g].value;(g===0||c[g-1].value!==y)&&(m.push(c[g]),y>=r[0]&&y<=r[1]&&f++)}var _=(r[1]-r[0])/t;if(f>_*1.5&&d>_/1.5||(u.push(m),f>_||e===a[h]))break}c=[]}}}for(var b=hn(ke(u,function(M){return hn(M,function(A){return A.value>=r[0]&&A.value<=r[1]&&!A.notAdd})}),function(M){return M.length>0}),S=[],w=b.length-1,h=0;h<b.length;++h)for(var C=b[h],T=0;T<C.length;++T)S.push({value:C[T].value,level:w-h});S.sort(function(M,A){return M.value-A.value});for(var E=[],h=0;h<S.length;++h)(h===0||S[h].value!==S[h-1].value)&&E.push(S[h]);return E}po.registerClass(bB);const h3e=bB;var VA=po.prototype,Id=Sp.prototype,p3e=vn,v3e=Math.floor,g3e=Math.ceil,Dv=Math.pow,Pi=Math.log,Dx=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="log",n.base=10,n._originalScale=new Sp,n._interval=0,n}return t.prototype.getTicks=function(n){var r=this._originalScale,i=this._extent,a=r.getExtent(),o=Id.getTicks.call(this,n);return ke(o,function(s){var l=s.value,u=vn(Dv(this.base,l));return u=l===i[0]&&this._fixMin?Lv(u,a[0]):u,u=l===i[1]&&this._fixMax?Lv(u,a[1]):u,{value:u}},this)},t.prototype.setExtent=function(n,r){var i=Pi(this.base);n=Pi(Math.max(0,n))/i,r=Pi(Math.max(0,r))/i,Id.setExtent.call(this,n,r)},t.prototype.getExtent=function(){var n=this.base,r=VA.getExtent.call(this);r[0]=Dv(n,r[0]),r[1]=Dv(n,r[1]);var i=this._originalScale,a=i.getExtent();return this._fixMin&&(r[0]=Lv(r[0],a[0])),this._fixMax&&(r[1]=Lv(r[1],a[1])),r},t.prototype.unionExtent=function(n){this._originalScale.unionExtent(n);var r=this.base;n[0]=Pi(n[0])/Pi(r),n[1]=Pi(n[1])/Pi(r),VA.unionExtent.call(this,n)},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.calcNiceTicks=function(n){n=n||10;var r=this._extent,i=r[1]-r[0];if(!(i===1/0||i<=0)){var a=Ik(i),o=n/i*a;for(o<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var s=[vn(g3e(r[0]/a)*a),vn(v3e(r[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(n){Id.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Pi(n)/Pi(this.base),Ty(n,this._extent)},t.prototype.normalize=function(n){return n=Pi(n)/Pi(this.base),Ey(n,this._extent)},t.prototype.scale=function(n){return n=Ay(n,this._extent),Dv(this.base,n)},t.type="log",t}(po),_B=Dx.prototype;_B.getMinorTicks=Id.getMinorTicks;_B.getLabel=Id.getLabel;function Lv(e,t){return p3e(e,_a(t))}po.registerClass(Dx);const m3e=Dx;var y3e=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&n.getNeedCrossZero&&n.getNeedCrossZero();var a=this._modelMinRaw=n.get("min",!0);Xe(a)?this._modelMinNum=kv(t,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=kv(t,a));var o=this._modelMaxRaw=n.get("max",!0);if(Xe(o)?this._modelMaxNum=kv(t,o({min:r[0],max:r[1]})):o!=="dataMax"&&(this._modelMaxNum=kv(t,o)),i)this._axisDataLen=n.getCategories().length;else{var s=n.get("boundaryGap"),l=Ce(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Ma(l[0],1),Ma(l[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,n=this._dataMin,r=this._dataMax,i=this._axisDataLen,a=this._boundaryGapInner,o=t?null:r-n||Math.abs(n),s=this._modelMinRaw==="dataMin"?n:this._modelMinNum,l=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,u=s!=null,c=l!=null;s==null&&(s=t?i?0:NaN:n-a[0]*o),l==null&&(l=t?i?i-1:NaN:r+a[1]*o),(s==null||!isFinite(s))&&(s=NaN),(l==null||!isFinite(l))&&(l=NaN);var f=lh(s)||lh(l)||t&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return d!=null&&(s=d,u=!0),h!=null&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[_3e[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=b3e[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),b3e={min:"_determinedMin",max:"_determinedMax"},_3e={min:"_dataMin",max:"_dataMax"};function wB(e,t,n){var r=e.rawExtentInfo;return r||(r=new y3e(e,t,n),e.rawExtentInfo=r,r)}function kv(e,t){return t==null?null:lh(t)?NaN:e.parse(t)}function SB(e,t){var n=e.type,r=wB(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,a=r.max,o=t.ecModel;if(o&&n==="time"){var s=vB("bar",o),l=!1;if(R(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=gB(s),c=w3e(i,a,t,u);i=c.min,a=c.max}}return{extent:[i,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function w3e(e,t,n,r){var i=n.axis.getExtent(),a=i[1]-i[0],o=t3e(r,n.axis);if(o===void 0)return{min:e,max:t};var s=1/0;R(o,function(h){s=Math.min(h.offset,s)});var l=-1/0;R(o,function(h){l=Math.max(h.offset+h.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/a,d=c/f-c;return t+=d*(l/u),e-=d*(s/u),{min:e,max:t}}function Fw(e,t){var n=t,r=SB(e,n),i=r.extent,a=n.get("splitNumber");e instanceof m3e&&(e.base=n.get("logBase"));var o=e.type,s=n.get("interval"),l=o==="interval"||o==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function CB(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new dB({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new h3e({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(po.getClass(t)||Sp)}}function S3e(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function Cp(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,a){return e.scale.getFormattedLabel(i,a,r)}}(t):Be(t)?function(r){return function(i){var a=e.scale.getLabel(i),o=r.replace("{value}",a??"");return o}}(t):Xe(t)?function(r){return function(i,a){return n!=null&&(a=i.value-n),r(Lx(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function Lx(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function C3e(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,a=n.getExtent();n instanceof dB?i=n.count():(r=n.getTicks(),i=r.length);var o=e.getLabelModel(),s=Cp(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var f=r?r[c]:{value:a[0]+c},d=s(f,c),h=o.getTextRect(d),p=x3e(h,o.get("rotate")||0);l?l.union(p):l=p}return l}}function x3e(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,a=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),o=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n)),s=new Et(e.x,e.y,a,o);return s}function kx(e){var t=e.get("interval");return t??"auto"}function xB(e){return e.type==="category"&&kx(e.getLabelModel())===0}function TB(e,t){var n={};return R(e.mapDimensionsAll(t),function(r){n[lB(e,r)]=!0}),Dt(n)}function T3e(e,t,n){t&&R(TB(t,n),function(r){var i=t.getApproximateExtent(r);i[0]<e[0]&&(e[0]=i[0]),i[1]>e[1]&&(e[1]=i[1])})}var EB=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}();function E3e(e){return xy(null,e)}var A3e={isDimensionStacked:Kl,enableDataStack:sB,getStackedDimension:lB};function M3e(e,t){var n=t;t instanceof wn||(n=new wn(t));var r=CB(n);return r.setExtent(e[0],e[1]),Fw(r,n),r}function I3e(e){xi(e,EB)}function O3e(e,t){return t=t||{},Pr(e,null,null,t.state!=="normal")}const P3e=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:Lxe,createList:E3e,createScale:M3e,createSymbol:Si,createTextStyle:O3e,dataStack:A3e,enableHoverEmphasis:vh,getECData:Pt,getLayoutRect:Zi,mixinAxisModelCommonMethods:I3e},Symbol.toStringTag,{value:"Module"}));var HA=[],R3e={registerPreprocessor:xx,registerProcessor:Tx,registerPostInit:ZN,registerPostUpdate:XN,registerUpdateLifecycle:Cy,registerAction:na,registerCoordinateSystem:QN,registerLayout:JN,registerVisual:_s,registerTransform:tB,registerLoading:Ax,registerMap:eB,registerImpl:q5e,PRIORITY:VN,ComponentModel:Lt,ComponentView:nr,SeriesModel:Xi,ChartView:Xr,registerComponentModel:function(e){Lt.registerClass(e)},registerComponentView:function(e){nr.registerClass(e)},registerSeriesModel:function(e){Xi.registerClass(e)},registerChartView:function(e){Xr.registerClass(e)},registerSubTypeDefaulter:function(e,t){Lt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Tk(e,t)}};function Qr(e){if(Ce(e)){R(e,function(t){Qr(t)});return}ft(HA,e)>=0||(HA.push(e),Xe(e)&&(e={install:e}),e.install(R3e))}var D3e=1e-8;function WA(e,t){return Math.abs(e-t)<D3e}function UA(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var a=1;a<e.length;a++){var o=e[a];r+=Ua(i[0],i[1],o[0],o[1],t,n),i=o}var s=e[0];return(!WA(i[0],s[0])||!WA(i[1],s[1]))&&(r+=Ua(i[0],i[1],s[0],s[1],t,n)),r!==0}var L3e=[];function Nb(e,t){for(var n=0;n<e.length;n++)dr(e[n],e[n],t)}function GA(e,t,n,r){for(var i=0;i<e.length;i++){var a=e[i];r&&(a=r.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(Go(t,t,a),jo(n,n,a))}}function k3e(e){for(var t=0,n=0,r=0,i=e.length,a=e[i-1][0],o=e[i-1][1],s=0;s<i;s++){var l=e[s][0],u=e[s][1],c=a*u-l*o;t+=c,n+=(a+l)*c,r+=(o+u)*c,a=l,o=u}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}var AB=function(){function e(t){this.name=t}return e.prototype.setCenter=function(t){this._center=t},e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},e}(),jA=function(){function e(t,n){this.type="polygon",this.exterior=t,this.interiors=n}return e}(),qA=function(){function e(t){this.type="linestring",this.points=t}return e}(),$3e=function(e){ve(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.type="geoJSON",a.geometries=r,a._center=i&&[i[0],i[1]],a}return t.prototype.calcCenter=function(){for(var n=this.geometries,r,i=0,a=0;a<n.length;a++){var o=n[a],s=o.exterior,l=s&&s.length;l>i&&(r=o,i=l)}if(r)return k3e(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var i=[1/0,1/0],a=[-1/0,-1/0],o=this.geometries;return R(o,function(s){s.type==="polygon"?GA(s.exterior,i,a,n):R(s.points,function(l){GA(l,i,a,n)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(a[0])&&isFinite(a[1])||(i[0]=i[1]=a[0]=a[1]=0),r=new Et(i[0],i[1],a[0]-i[0],a[1]-i[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),i=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var a=0,o=i.length;a<o;a++){var s=i[a];if(s.type==="polygon"){var l=s.exterior,u=s.interiors;if(UA(l,n[0],n[1])){for(var c=0;c<(u?u.length:0);c++)if(UA(u[c],n[0],n[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(n,r,i,a){var o=this.getBoundingRect(),s=o.width/o.height;i?a||(a=i/s):i=s*a;for(var l=new Et(n,r,i,a),u=o.calculateTransform(l),c=this.geometries,f=0;f<c.length;f++){var d=c[f];d.type==="polygon"?(Nb(d.exterior,u),R(d.interiors,function(h){Nb(h,u)})):R(d.points,function(h){Nb(h,u)})}o=this._rect,o.copy(l),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(n){n==null&&(n=this.name);var r=new t(n,this.geometries,this._center);return r._rect=this._rect,r.transformTo=null,r},t}(AB);(function(e){ve(t,e);function t(n,r){var i=e.call(this,n)||this;return i.type="geoSVG",i._elOnlyForCalculate=r,i}return t.prototype.calcCenter=function(){for(var n=this._elOnlyForCalculate,r=n.getBoundingRect(),i=[r.x+r.width/2,r.y+r.height/2],a=cp(L3e),o=n;o&&!o.isGeoSVGGraphicRoot;)rs(a,o.getLocalTransform(),a),o=o.parent;return fp(a,a),dr(i,i,a),i},t})(AB);function N3e(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;n==null&&(n=1024);var r=t.features;return R(r,function(i){var a=i.geometry,o=a.encodeOffsets,s=a.coordinates;if(o)switch(a.type){case"LineString":a.coordinates=MB(s,o,n);break;case"Polygon":Bb(s,o,n);break;case"MultiLineString":Bb(s,o,n);break;case"MultiPolygon":R(s,function(l,u){return Bb(l,o[u],n)})}}),t.UTF8Encoding=!1,t}function Bb(e,t,n){for(var r=0;r<e.length;r++)e[r]=MB(e[r],t[r],n)}function MB(e,t,n){for(var r=[],i=t[0],a=t[1],o=0;o<e.length;o+=2){var s=e.charCodeAt(o)-64,l=e.charCodeAt(o+1)-64;s=s>>1^-(s&1),l=l>>1^-(l&1),s+=i,l+=a,i=s,a=l,r.push([s/n,l/n])}return r}function KA(e,t){return e=N3e(e),ke(hn(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,i=n.geometry,a=[];switch(i.type){case"Polygon":var o=i.coordinates;a.push(new jA(o[0],o.slice(1)));break;case"MultiPolygon":R(i.coordinates,function(l){l[0]&&a.push(new jA(l[0],l.slice(1)))});break;case"LineString":a.push(new qA([i.coordinates]));break;case"MultiLineString":a.push(new qA(i.coordinates))}var s=new $3e(r[t||"name"],a,r.cp);return s.properties=r,s})}const B3e=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:T_e,asc:Yo,getPercentWithPrecision:C_e,getPixelPrecision:O5,getPrecision:_a,getPrecisionSafe:Ak,isNumeric:Ok,isRadianAroundZero:fh,linearMap:en,nice:R5,numericToNumber:dh,parseDate:_i,quantile:A_e,quantity:Ik,quantityExponent:X0,reformIntervals:fw,remRadian:P5,round:vn},Symbol.toStringTag,{value:"Module"})),F3e=Object.freeze(Object.defineProperty({__proto__:null,format:_p,parse:_i},Symbol.toStringTag,{value:"Module"})),z3e=Object.freeze(Object.defineProperty({__proto__:null,Arc:ay,BezierCurve:W5,BoundingRect:Et,Circle:iy,CompoundPath:S$,Ellipse:V5,Group:qt,Image:Da,IncrementalDisplayable:T$,Line:ps,LinearGradient:oy,Polygon:Qc,Polyline:ou,RadialGradient:x$,Rect:Gt,Ring:H5,Sector:bs,Text:Ft,clipPointsByRect:Z5,clipRectByRect:P$,createIcon:vp,extendPath:A$,extendShape:E$,getShapeClass:q5,getTransform:as,initProps:Zr,makeImage:K5,makePath:sy,mergePath:I$,registerShape:Ei,resizePath:Y5,updateProps:Vn},Symbol.toStringTag,{value:"Module"})),V3e=Object.freeze(Object.defineProperty({__proto__:null,addCommas:rx,capitalFirst:SSe,encodeHTML:Hr,formatTime:wSe,formatTpl:ax,getTextRect:_Se,getTooltipMarker:U$,normalizeCssArray:ef,toCamelCase:ix,truncateText:Vk},Symbol.toStringTag,{value:"Module"})),H3e=Object.freeze(Object.defineProperty({__proto__:null,bind:Fe,clone:qe,curry:Ct,defaults:bt,each:R,extend:me,filter:hn,indexOf:ft,inherits:y5,isArray:Ce,isFunction:Xe,isObject:ze,isString:Be,map:ke,merge:nt,reduce:Yi},Symbol.toStringTag,{value:"Module"}));var Th=tn();function W3e(e){return e.type==="category"?G3e(e):q3e(e)}function U3e(e,t){return e.type==="category"?j3e(e,t):{ticks:ke(e.scale.getTicks(),function(n){return n.value})}}function G3e(e){var t=e.getLabelModel(),n=IB(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function IB(e,t){var n=OB(e,"labels"),r=kx(t),i=PB(n,r);if(i)return i;var a,o;return Xe(r)?a=LB(e,r):(o=r==="auto"?K3e(e):r,a=DB(e,o)),RB(n,r,{labels:a,labelCategoryInterval:o})}function j3e(e,t){var n=OB(e,"ticks"),r=kx(t),i=PB(n,r);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),Xe(r))a=LB(e,r,!0);else if(r==="auto"){var s=IB(e,e.getLabelModel());o=s.labelCategoryInterval,a=ke(s.labels,function(l){return l.tickValue})}else o=r,a=DB(e,o,!0);return RB(n,r,{ticks:a,tickCategoryInterval:o})}function q3e(e){var t=e.scale.getTicks(),n=Cp(e);return{labels:ke(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function OB(e,t){return Th(e)[t]||(Th(e)[t]=[])}function PB(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function RB(e,t,n){return e.push({key:t,value:n}),n}function K3e(e){var t=Th(e).autoInterval;return t??(Th(e).autoInterval=e.calculateCategoryInterval())}function Y3e(e){var t=Z3e(e),n=Cp(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,a=i.getExtent(),o=i.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=a[1];l+=s){var p=0,v=0,m=Z0(n({value:l}),t.font,"center","top");p=m.width*1.3,v=m.height*1.3,d=Math.max(d,p,7),h=Math.max(h,v,7)}var g=d/c,y=h/f;isNaN(g)&&(g=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(g,y))),b=Th(e.model),S=e.getExtent(),w=b.lastAutoInterval,C=b.lastTickCount;return w!=null&&C!=null&&Math.abs(w-_)<=1&&Math.abs(C-o)<=1&&w>_&&b.axisExtent0===S[0]&&b.axisExtent1===S[1]?_=w:(b.lastTickCount=o,b.lastAutoInterval=_,b.axisExtent0=S[0],b.axisExtent1=S[1]),_}function Z3e(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function DB(e,t,n){var r=Cp(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],c=i.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=xB(e),d=o.get("showMinLabel")||f,h=o.get("showMaxLabel")||f;d&&u!==a[0]&&v(a[0]);for(var p=u;p<=a[1];p+=l)v(p);h&&p-l!==a[1]&&v(a[1]);function v(m){var g={value:m};s.push(n?m:{formattedLabel:r(g),rawLabel:i.getLabel(g),tickValue:m})}return s}function LB(e,t,n){var r=e.scale,i=Cp(e),a=[];return R(r.getTicks(),function(o){var s=r.getLabel(o),l=o.value;t(o.value,s)&&a.push(n?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),a}var YA=[0,1],X3e=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return O5(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),ZA(r,i.count())),en(t,YA,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),ZA(r,i.count()));var a=en(t,r,YA,n);return this.scale.scale(a)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=U3e(this,n),i=r.ticks,a=ke(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=n.get("alignWithLabel");return Q3e(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=ke(r,function(a){return ke(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(){return W3e(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return Y3e(this)},e}();function ZA(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function Q3e(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var a=e.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[0]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;R(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s},t.push(o)}var f=a[0]>a[1];d(t[0].coord,a[0])&&(r?t[0].coord=a[0]:t.shift()),r&&d(a[0],t[0].coord)&&t.unshift({coord:a[0]}),d(a[1],o.coord)&&(r?o.coord=a[1]:t.pop()),r&&d(o.coord,a[1])&&t.push({coord:a[1]});function d(h,p){return h=vn(h),p=vn(p),f?h>p:h<p}}const kB=X3e;function J3e(e){var t=Lt.extend(e);return Lt.registerClass(t),t}function eTe(e){var t=nr.extend(e);return nr.registerClass(t),t}function tTe(e){var t=Xi.extend(e);return Xi.registerClass(t),t}function nTe(e){var t=Xr.extend(e);return Xr.registerClass(t),t}hs.CMD;function $B(e,t,n,r,i,a,o,s){var l=i-e,u=a-t,c=n-e,f=r-t,d=Math.sqrt(c*c+f*f);c/=d,f/=d;var h=l*c+u*f,p=h/d;s&&(p=Math.min(Math.max(p,0),1)),p*=d;var v=o[0]=e+p*c,m=o[1]=t+p*f;return Math.sqrt((v-i)*(v-i)+(m-a)*(m-a))}var Zo=new tt,sn=new tt,Nn=new tt,Xo=new tt,ya=new tt,Bm=[],ur=new tt;function rTe(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Zo.fromArray(e[0]),sn.fromArray(e[1]),Nn.fromArray(e[2]),tt.sub(Xo,Zo,sn),tt.sub(ya,Nn,sn);var n=Xo.len(),r=ya.len();if(!(n<.001||r<.001)){Xo.scale(1/n),ya.scale(1/r);var i=Xo.dot(ya),a=Math.cos(t);if(a<i){var o=$B(sn.x,sn.y,Nn.x,Nn.y,Zo.x,Zo.y,Bm,!1);ur.fromArray(Bm),ur.scaleAndAdd(ya,o/Math.tan(Math.PI-t));var s=Nn.x!==sn.x?(ur.x-sn.x)/(Nn.x-sn.x):(ur.y-sn.y)/(Nn.y-sn.y);if(isNaN(s))return;s<0?tt.copy(ur,sn):s>1&&tt.copy(ur,Nn),ur.toArray(e[1])}}}}function iTe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Zo.fromArray(e[0]),sn.fromArray(e[1]),Nn.fromArray(e[2]),tt.sub(Xo,sn,Zo),tt.sub(ya,Nn,sn);var r=Xo.len(),i=ya.len();if(!(r<.001||i<.001)){Xo.scale(1/r),ya.scale(1/i);var a=Xo.dot(t),o=Math.cos(n);if(a<o){var s=$B(sn.x,sn.y,Nn.x,Nn.y,Zo.x,Zo.y,Bm,!1);ur.fromArray(Bm);var l=Math.PI/2,u=Math.acos(ya.dot(t)),c=l+u-n;if(c>=l)tt.copy(ur,Nn);else{ur.scaleAndAdd(ya,s/Math.tan(Math.PI/2-c));var f=Nn.x!==sn.x?(ur.x-sn.x)/(Nn.x-sn.x):(ur.y-sn.y)/(Nn.y-sn.y);if(isNaN(f))return;f<0?tt.copy(ur,sn):f>1&&tt.copy(ur,Nn)}ur.toArray(e[1])}}}}function XA(e,t,n,r){var i=n==="normal",a=i?e:e.ensureState(n);a.ignore=t;var o=r.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):a.style=s}function aTe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=dm(r[0],r[1]),a=dm(r[1],r[2]);if(!i||!a){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var o=Math.min(i,a)*n,s=pg([],r[1],r[0],o/i),l=pg([],r[1],r[2],o/a),u=pg([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function oTe(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(!i){r&&e.removeTextGuideLine();return}for(var a=t.normal,o=a.get("show"),s=i.ignore,l=0;l<_m.length;l++){var u=_m[l],c=t[u],f=u==="normal";if(c){var d=c.get("show"),h=f?s:xt(i.states[u]&&i.states[u].ignore,s);if(h||!xt(d,o)){var p=f?r:r&&r.states[u];p&&(p.ignore=!0);continue}r||(r=new ou,e.setTextGuideLine(r),!f&&(s||!o)&&XA(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),XA(r,!1,u,c)}}if(r){bt(r.style,n),r.style.fill=null;var v=a.get("showAbove"),m=e.textGuideLineConfig=e.textGuideLineConfig||{};m.showAbove=v||!1,r.buildPath=aTe}}function sTe(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<wi.length;r++){var i=wi[r];n[i]=e.getModel([i,t])}return n}function lTe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,a=i.getComputedTransform(),o=i.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,l=i.style.margin||0,u=o.clone();u.applyTransform(a),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Sm(o,a):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:o,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:a})}}return t}function uTe(e,t,n,r,i,a){var o=e.length;if(o<2)return;e.sort(function(T,E){return T.rect[t]-E.rect[t]});for(var s=0,l,u=!1,c=0,f=0;f<o;f++){var d=e[f],h=d.rect;l=h[t]-s,l<0&&(h[t]-=l,d.label[t]-=l,u=!0);var p=Math.max(-l,0);c+=p,s=h[t]+h[n]}c>0&&a&&S(-c/o,0,o);var v=e[0],m=e[o-1],g,y;_(),g<0&&w(-g,.8),y<0&&w(y,.8),_(),b(g,y,1),b(y,g,-1),_(),g<0&&C(-g),y<0&&C(y);function _(){g=v.rect[t]-r,y=i-m.rect[t]-m.rect[n]}function b(T,E,M){if(T<0){var A=Math.min(E,-T);if(A>0){S(A*M,0,o);var I=A+T;I<0&&w(-I*M,1)}else w(-T*M,1)}}function S(T,E,M){T!==0&&(u=!0);for(var A=E;A<M;A++){var I=e[A],O=I.rect;O[t]+=T,I.label[t]+=T}}function w(T,E){for(var M=[],A=0,I=1;I<o;I++){var O=e[I-1].rect,D=Math.max(e[I].rect[t]-O[t]-O[n],0);M.push(D),A+=D}if(A){var F=Math.min(Math.abs(T)/A,E);if(T>0)for(var I=0;I<o-1;I++){var k=M[I]*F;S(k,0,I+1)}else for(var I=o-1;I>0;I--){var k=M[I-1]*F;S(-k,I,o)}}}function C(T){var E=T<0?-1:1;T=Math.abs(T);for(var M=Math.ceil(T/(o-1)),A=0;A<o-1;A++)if(E>0?S(M,0,A+1):S(-M,o-A-1,o),T-=M,T<=0)return}return u}function cTe(e,t,n,r){return uTe(e,"y","height",t,n,r)}function fTe(e){var t=[];e.sort(function(v,m){return m.priority-v.priority});var n=new Et(0,0,0,0);function r(v){if(!v.ignore){var m=v.ensureState("emphasis");m.ignore==null&&(m.ignore=!1)}v.ignore=!0}for(var i=0;i<e.length;i++){var a=e[i],o=a.axisAligned,s=a.localRect,l=a.transform,u=a.label,c=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=a.obb,d=!1,h=0;h<t.length;h++){var p=t[h];if(n.intersect(p.rect)){if(o&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new Sm(p.localRect,p.transform)),f||(f=new Sm(s,l)),f.intersect(p.obb)){d=!0;break}}}d?(r(u),c&&r(c)):(u.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),t.push(a))}}const NB=Object.freeze(Object.defineProperty({__proto__:null,Axis:kB,ChartView:Xr,ComponentModel:Lt,ComponentView:nr,List:Ix,Model:wn,PRIORITY:VN,SeriesModel:Xi,color:zbe,connect:hxe,dataTool:_xe,dependencies:Y5e,disConnect:YN,disconnect:pxe,dispose:vxe,env:vt,extendChartView:nTe,extendComponentModel:J3e,extendComponentView:eTe,extendSeriesModel:tTe,format:V3e,getCoordinateSystemDimensions:mxe,getInstanceByDom:Sx,getInstanceById:gxe,getMap:bxe,graphic:z3e,helper:P3e,init:dxe,innerDrawElementOnCanvas:mx,matrix:cbe,number:B3e,parseGeoJSON:KA,parseGeoJson:KA,registerAction:na,registerCoordinateSystem:QN,registerLayout:JN,registerLoading:Ax,registerLocale:J5,registerMap:eB,registerPostInit:ZN,registerPostUpdate:XN,registerPreprocessor:xx,registerProcessor:Tx,registerTheme:Cx,registerTransform:tB,registerUpdateLifecycle:Cy,registerVisual:_s,setCanvasCreator:yxe,setPlatformAPI:U9,throttle:_y,time:F3e,use:Qr,util:H3e,vector:q1e,version:K5e,zrUtil:N1e,zrender:w_e},Symbol.toStringTag,{value:"Module"}));function QA(e,t,n){var r=io.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=a*n,r}var dTe=function(e){ve(t,e);function t(n,r,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||ym,typeof n=="string"?o=QA(n,r,i):ze(n)&&(o=n,n=o.id),a.id=n,a.dom=o;var s=o.style;return s&&(_5(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=r,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var n=this.dpr;this.domBack=QA("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},t.prototype.createRepaintRects=function(n,r,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new Et(0,0,0,0);function c(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new Et(0,0,0,0);_.copy(y),o.push(_)}else{for(var b=!1,S=1/0,w=0,C=0;C<o.length;++C){var T=o[C];if(T.intersect(y)){var E=new Et(0,0,0,0);E.copy(T),E.union(y),o[C]=E,b=!0;break}else if(l){u.copy(y),u.union(T);var M=y.width*y.height,A=T.width*T.height,I=u.width*u.height,O=I-M-A;O<S&&(S=O,w=C)}}if(l&&(o[w].union(y),b=!0),!b){var _=new Et(0,0,0,0);_.copy(y),o.push(_)}l||(l=o.length>=s)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var d=n[f];if(d){var h=d.shouldBePainted(i,a,!0,!0),p=d.__isRendered&&(d.__dirty&Gr||!h)?d.getPrevPaintRect():null;p&&c(p);var v=h&&(d.__dirty&Gr||!d.__isRendered)?d.getPaintRect():null;v&&c(v)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var d=r[f],h=d.shouldBePainted(i,a,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered){var p=d.getPrevPaintRect();p&&c(p)}}var m;do{m=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var g=f+1;g<o.length;)o[f].intersect(o[g])?(m=!0,o[f].union(o[g]),o.splice(g,1)):g++;f++}}while(m);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(n,r){var i=this.dpr,a=this.dom,o=a.style,s=this.domBack;o&&(o.width=n+"px",o.height=r+"px"),a.width=n*i,a.height=r*i,s&&(s.width=n*i,s.height=r*i,i!==1&&this.ctxBack.scale(i,i))},t.prototype.clear=function(n,r,i){var a=this.dom,o=this.ctx,s=a.width,l=a.height;r=r||this.clearColor;var u=this.motionBlur&&!n,c=this.lastFrameAlpha,f=this.dpr,d=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,s/f,l/f));var h=this.domBack;function p(v,m,g,y){if(o.clearRect(v,m,g,y),r&&r!=="transparent"){var _=void 0;if(lp(r)){var b=r.global||r.__width===g&&r.__height===y;_=b&&r.__canvasGradient||Pw(o,r,{x:0,y:0,width:g,height:y}),r.__canvasGradient=_,r.__width=g,r.__height=y}else q9(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,_=Rw(o,r,{dirty:function(){d.setUnpainted(),d.__painter.refresh()}}));o.save(),o.fillStyle=_||r,o.fillRect(v,m,g,y),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(h,v,m,g,y),o.restore())}!i||u?p(0,0,s,l):i.length&&R(i,function(v){p(v.x*f,v.y*f,v.width*f,v.height*f)})},t}(Ti);const Fb=dTe;var JA=1e5,js=314159,$v=.01,hTe=.001;function pTe(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function vTe(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var gTe=function(){function e(t,n,r,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=r=me({},r||{}),this.dpr=r.devicePixelRatio||ym,this._singleCanvas=a,this.root=t;var o=t.style;o&&(_5(t),t.innerHTML=""),this.storage=n;var s=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(a){var c=t,f=c.width,d=c.height;r.width!=null&&(f=r.width),r.height!=null&&(d=r.height),this.dpr=r.devicePixelRatio||1,c.width=f*this.dpr,c.height=d*this.dpr,this._width=f,this._height=d;var h=new Fb(c,this,this.dpr);h.__builtin__=!0,h.initContext(),l[js]=h,h.zlevel=js,s.push(js),this._domRoot=t}else{this._width=Av(t,0,r),this._height=Av(t,1,r);var u=this._domRoot=vTe(this._width,this._height);t.appendChild(u)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var n=this.storage.getDisplayList(!0),r=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(n,r,t,this._redrawId);for(var a=0;a<i.length;a++){var o=i[a],s=this._layers[o];if(!s.__builtin__&&s.refresh){var l=a===0?this._backgroundColor:null;s.refresh(l)}}return this._opts.useDirtyRect&&(this._prevDisplayList=n.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var n=t.length,r=this._hoverlayer;if(r&&r.clear(),!!n){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},a,o=0;o<n;o++){var s=t[o];s.__inHover&&(r||(r=this._hoverlayer=this.getLayer(JA)),a||(a=r.ctx,a.save()),fl(a,s,i,o===n-1))}a&&a.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(JA)},e.prototype.paintOne=function(t,n){mx(t,n)},e.prototype._paintList=function(t,n,r,i){if(this._redrawId===i){r=r||!1,this._updateLayerStatus(t);var a=this._doPaintList(t,n,r),o=a.finished,s=a.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),o)this.eachLayer(function(u){u.afterBrush&&u.afterBrush()});else{var l=this;Q2(function(){l._paintList(t,n,r,i)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(js).ctx,n=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,n,r),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,n,r)})},e.prototype._doPaintList=function(t,n,r){for(var i=this,a=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||r)&&a.push(u)}for(var c=!0,f=!1,d=function(v){var m=a[v],g=m.ctx,y=o&&m.createRepaintRects(t,n,h._width,h._height),_=r?m.__startIndex:m.__drawIndex,b=!r&&m.incremental&&Date.now,S=b&&Date.now(),w=m.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(m.__startIndex===m.__endIndex)m.clear(!1,w,y);else if(_===m.__startIndex){var C=t[_];(!C.incremental||!C.notClear||r)&&m.clear(!1,w,y)}_===-1&&(console.error("For some unknown reason. drawIndex is -1"),_=m.__startIndex);var T,E=function(O){var D={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(T=_;T<m.__endIndex;T++){var F=t[T];if(F.__inHover&&(f=!0),i._doPaintEl(F,m,o,O,D,T===m.__endIndex-1),b){var k=Date.now()-S;if(k>15)break}}D.prevElClipPaths&&g.restore()};if(y)if(y.length===0)T=m.__endIndex;else for(var M=h.dpr,A=0;A<y.length;++A){var I=y[A];g.save(),g.beginPath(),g.rect(I.x*M,I.y*M,I.width*M,I.height*M),g.clip(),E(I),g.restore()}else g.save(),E(),g.restore();m.__drawIndex=T,m.__drawIndex<m.__endIndex&&(c=!1)},h=this,p=0;p<a.length;p++)d(p);return vt.wxa&&R(this._layers,function(v){v&&v.ctx&&v.ctx.draw&&v.ctx.draw()}),{finished:c,needsRefreshHover:f}},e.prototype._doPaintEl=function(t,n,r,i,a,o){var s=n.ctx;if(r){var l=t.getPaintRect();(!i||l&&l.intersect(i))&&(fl(s,t,a,o),t.setPrevPaintRect(l))}else fl(s,t,a,o)},e.prototype.getLayer=function(t,n){this._singleCanvas&&!this._needsManuallyCompositing&&(t=js);var r=this._layers[t];return r||(r=new Fb("zr_"+t,this,this.dpr),r.zlevel=t,r.__builtin__=!0,this._layerConfig[t]?nt(r,this._layerConfig[t],!0):this._layerConfig[t-$v]&&nt(r,this._layerConfig[t-$v],!0),n&&(r.virtual=n),this.insertLayer(t,r),r.initContext()),r},e.prototype.insertLayer=function(t,n){var r=this._layers,i=this._zlevelList,a=i.length,o=this._domRoot,s=null,l=-1;if(!r[t]&&pTe(n)){if(a>0&&t>i[0]){for(l=0;l<a-1&&!(i[l]<t&&i[l+1]>t);l++);s=r[i[l]]}if(i.splice(l+1,0,t),r[t]=n,!n.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(n.dom,u.nextSibling):o.appendChild(n.dom)}else o.firstChild?o.insertBefore(n.dom,o.firstChild):o.appendChild(n.dom);n.__painter=this}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,i=0;i<r.length;i++){var a=r[i];t.call(n,this._layers[a],a)}},e.prototype.eachBuiltinLayer=function(t,n){for(var r=this._zlevelList,i=0;i<r.length;i++){var a=r[i],o=this._layers[a];o.__builtin__&&t.call(n,o,a)}},e.prototype.eachOtherLayer=function(t,n){for(var r=this._zlevelList,i=0;i<r.length;i++){var a=r[i],o=this._layers[a];o.__builtin__||t.call(n,o,a)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(f,d){f.__dirty=f.__used=!1});function n(f){a&&(a.__endIndex!==f&&(a.__dirty=!0),a.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<t.length;r++){var i=t[r];if(i.zlevel!==t[r-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var a=null,o=0,s,l;for(l=0;l<t.length;l++){var i=t[l],u=i.zlevel,c=void 0;s!==u&&(s=u,o=0),i.incremental?(c=this.getLayer(u+hTe,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?$v:0),this._needsManuallyCompositing),c.__builtin__||q0("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==l&&(c.__dirty=!0),c.__startIndex=l,c.incremental?c.__drawIndex=-1:c.__drawIndex=l,n(l),a=c),i.__dirty&Gr&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=l))}n(l),this.eachBuiltinLayer(function(f,d){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,R(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?nt(r[t],n,!0):r[t]=n;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===t||a===t+$v){var o=this._layers[a];nt(o,r[t],!0)}}}},e.prototype.delLayer=function(t){var n=this._layers,r=this._zlevelList,i=n[t];i&&(i.dom.parentNode.removeChild(i.dom),delete n[t],r.splice(ft(r,t),1))},e.prototype.resize=function(t,n){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var i=this._opts,a=this.root;if(t!=null&&(i.width=t),n!=null&&(i.height=n),t=Av(a,0,i),n=Av(a,1,i),r.style.display="",this._width!==t||n!==this._height){r.style.width=t+"px",r.style.height=n+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,n);this.refresh(!0)}this._width=t,this._height=n}else{if(t==null||n==null)return;this._width=t,this._height=n,this.getLayer(js).resize(t,n)}return this},e.prototype.clearLayer=function(t){var n=this._layers[t];n&&n.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[js].dom;var n=new Fb("image",this,t.pixelRatio||this.dpr);n.initContext(),n.clear(!1,t.backgroundColor||this._backgroundColor);var r=n.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=n.dom.width,a=n.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,i,a):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},s=this.storage.getDisplayList(!0),l=0,u=s.length;l<u;l++){var c=s[l];fl(r,c,o,l===u-1)}return n.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const mTe=gTe;function yTe(e){e.registerPainter("canvas",mTe)}var bTe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n){return xy(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(n){var r=new qt,i=Si("line",0,n.itemHeight/2,n.itemWidth,0,n.lineStyle.stroke,!1);r.add(i),i.setStyle(n.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,l=n.itemHeight*.8,u=Si(s,(n.itemWidth-l)/2,(n.itemHeight-l)/2,l,l,n.itemStyle.fill);r.add(u),u.setStyle(n.itemStyle);var c=n.iconRotate==="inherit"?o:n.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([n.itemWidth/2,n.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Xi);const _Te=bTe;function $x(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=Dc(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var a=[],o=0;o<n.length;o++)a.push(Dc(e,t,n[o]));return a.join(" ")}}function BB(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!Ce(t))return t+"";for(var r=[],i=0;i<n.length;i++){var a=e.getDimensionIndex(n[i]);a>=0&&r.push(t[a])}return r.join(" ")}var wTe=function(e){ve(t,e);function t(n,r,i,a){var o=e.call(this)||this;return o.updateData(n,r,i,a),o}return t.prototype._createSymbol=function(n,r,i,a,o){this.removeAll();var s=Si(n,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=STe,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Pc(this.childAt(0))},t.prototype.downplay=function(){Rc(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,a){this.silent=!1;var o=n.getItemVisual(r,"symbol")||"circle",s=n.hostModel,l=t.getSymbolSize(n,r),u=o!==this._symbolType,c=a&&a.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(o,n,r,l,f)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};c?d.attr(h):Vn(d,h,s,r),j5(d)}if(this._updateCommon(n,r,l,i,a),u){var d=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,Zr(d,h,s,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,a,o){var s=this.childAt(0),l=n.hostModel,u,c,f,d,h,p,v,m,g;if(a&&(u=a.emphasisItemStyle,c=a.blurItemStyle,f=a.selectItemStyle,d=a.focus,h=a.blurScope,v=a.labelStatesModels,m=a.hoverScale,g=a.cursorStyle,p=a.emphasisDisabled),!a||n.hasItemOption){var y=a&&a.itemModel?a.itemModel:n.getItemModel(r),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),d=_.get("focus"),h=_.get("blurScope"),p=_.get("disabled"),v=yp(y),m=_.getShallow("scale"),g=y.getShallow("cursor")}var b=n.getItemVisual(r,"symbolRotate");s.attr("rotation",(b||0)*Math.PI/180||0);var S=IN(n.getItemVisual(r,"symbolOffset"),i);S&&(s.x=S[0],s.y=S[1]),g&&s.attr("cursor",g);var w=n.getItemVisual(r,"style"),C=w.fill;if(s instanceof Da){var T=s.style;s.useStyle(me({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},w))}else s.__isEmptyBrush?s.useStyle(me({},w)):s.useStyle(w),s.style.decal=null,s.setColor(C,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var E=n.getItemVisual(r,"liftZ"),M=this._z2;E!=null?M==null&&(this._z2=s.z2,s.z2+=E):M!=null&&(s.z2=M,this._z2=null);var A=o&&o.useNameLabel;mp(s,v,{labelFetcher:l,labelDataIndex:r,defaultText:I,inheritColor:C,defaultOpacity:w.opacity});function I(F){return A?n.getName(F):$x(n,F)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var O=s.ensureState("emphasis");O.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var D=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;O.scaleX=this._sizeX*D,O.scaleY=this._sizeY*D,this.setSymbolScale(1),gh(this,d,h,p)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var a=this.childAt(0),o=Pt(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&Cm(l,{style:{opacity:0}},r,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();Cm(a,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:o,cb:n,removeOpt:s})},t.getSymbolSize=function(n,r){return I5e(n.getItemVisual(r,"symbolSize"))},t}(qt);function STe(e,t){this.parent.drift(e,t)}const Nx=wTe;function zb(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function eM(e){return e!=null&&!ze(e)&&(e={isIgnore:e}),e||{}}function tM(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:yp(t),cursorStyle:t.get("cursor")}}var CTe=function(){function e(t){this.group=new qt,this._SymbolCtor=t||Nx}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=eM(n);var r=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=n.disableAnimation,l=tM(t),u={disableAnimation:s},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};a||r.removeAll(),t.diff(a).add(function(f){var d=c(f);if(zb(t,d,f,n)){var h=new o(t,f,l,u);h.setPosition(d),t.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,d){var h=a.getItemGraphicEl(d),p=c(f);if(!zb(t,p,f,n)){r.remove(h);return}var v=t.getItemVisual(f,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==v)r.remove(h),h=new o(t,f,l,u),h.setPosition(p);else{h.updateData(t,f,l,u);var g={x:p[0],y:p[1]};s?h.attr(g):Vn(h,g,i)}r.add(h),t.setItemGraphicEl(f,h)}).remove(function(f){var d=a.getItemGraphicEl(f);d&&d.fadeOut(function(){r.remove(d)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var a=t._getSymbolPoint(i);r.setPosition(a),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=tM(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=eM(r);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var o=n.getItemLayout(a);if(zb(n,o,a,r)){var s=new this._SymbolCtor(n,a,this._seriesScope);s.traverse(i),s.setPosition(o),this.group.add(s),n.setItemGraphicEl(a,s),this._progressiveEls.push(s)}}},e.prototype.eachRendered=function(t){uy(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var n=this.group,r=this._data;r&&t?r.eachItemGraphicEl(function(i){i.fadeOut(function(){n.remove(i)},r.hostModel)}):n.removeAll()},e}();const xTe=CTe;function FB(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),a=TTe(i,n),o=r.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=ke(e.dimensions,function(p){return t.mapDimension(p)}),d=!1,h=t.getCalculationInfo("stackResultDimension");return Kl(t,f[0])&&(d=!0,f[0]=h),Kl(t,f[1])&&(d=!0,f[1]=h),{dataDimsForPoint:f,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function TTe(e,t){var n=0,r=e.scale.getExtent();return t==="start"?n=r[0]:t==="end"?n=r[1]:Ut(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function zB(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,r),o[1-a]=i,t.dataToPoint(o)}function ETe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function ATe(e,t,n,r,i,a,o,s){for(var l=ETe(e,t),u=[],c=[],f=[],d=[],h=[],p=[],v=[],m=FB(i,t,o),g=e.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_<l.length;_++){var b=l[_],S=!0,w=void 0,C=void 0;switch(b.cmd){case"=":w=b.idx*2,C=b.idx1*2;var T=g[w],E=g[w+1],M=y[C],A=y[C+1];(isNaN(T)||isNaN(E))&&(T=M,E=A),u.push(T,E),c.push(M,A),f.push(n[w],n[w+1]),d.push(r[C],r[C+1]),v.push(t.getRawIndex(b.idx1));break;case"+":var I=b.idx,O=m.dataDimsForPoint,D=i.dataToPoint([t.get(O[0],I),t.get(O[1],I)]);C=I*2,u.push(D[0],D[1]),c.push(y[C],y[C+1]);var F=zB(m,i,t,I);f.push(F[0],F[1]),d.push(r[C],r[C+1]),v.push(t.getRawIndex(I));break;case"-":S=!1}S&&(h.push(b),p.push(p.length))}p.sort(function(Ve,De){return v[Ve]-v[De]});for(var k=u.length,H=Ya(k),V=Ya(k),z=Ya(k),q=Ya(k),ae=[],_=0;_<p.length;_++){var oe=p[_],xe=_*2,Ae=oe*2;H[xe]=u[Ae],H[xe+1]=u[Ae+1],V[xe]=c[Ae],V[xe+1]=c[Ae+1],z[xe]=f[Ae],z[xe+1]=f[Ae+1],q[xe]=d[Ae],q[xe+1]=d[Ae+1],ae[_]=h[oe]}return{current:H,next:V,stackedOnCurrent:z,stackedOnNext:q,status:ae}}var Ao=Math.min,Mo=Math.max;function Al(e,t){return isNaN(e)||isNaN(t)}function zw(e,t,n,r,i,a,o,s,l){for(var u,c,f,d,h,p,v=n,m=0;m<r;m++){var g=t[v*2],y=t[v*2+1];if(v>=i||v<0)break;if(Al(g,y)){if(l){v+=a;continue}break}if(v===n)e[a>0?"moveTo":"lineTo"](g,y),f=g,d=y;else{var _=g-u,b=y-c;if(_*_+b*b<.5){v+=a;continue}if(o>0){for(var S=v+a,w=t[S*2],C=t[S*2+1];w===g&&C===y&&m<r;)m++,S+=a,v+=a,w=t[S*2],C=t[S*2+1],g=t[v*2],y=t[v*2+1],_=g-u,b=y-c;var T=m+1;if(l)for(;Al(w,C)&&T<r;)T++,S+=a,w=t[S*2],C=t[S*2+1];var E=.5,M=0,A=0,I=void 0,O=void 0;if(T>=r||Al(w,C))h=g,p=y;else{M=w-u,A=C-c;var D=g-u,F=w-g,k=y-c,H=C-y,V=void 0,z=void 0;if(s==="x"){V=Math.abs(D),z=Math.abs(F);var q=M>0?1:-1;h=g-q*V*o,p=y,I=g+q*z*o,O=y}else if(s==="y"){V=Math.abs(k),z=Math.abs(H);var ae=A>0?1:-1;h=g,p=y-ae*V*o,I=g,O=y+ae*z*o}else V=Math.sqrt(D*D+k*k),z=Math.sqrt(F*F+H*H),E=z/(z+V),h=g-M*o*(1-E),p=y-A*o*(1-E),I=g+M*o*E,O=y+A*o*E,I=Ao(I,Mo(w,g)),O=Ao(O,Mo(C,y)),I=Mo(I,Ao(w,g)),O=Mo(O,Ao(C,y)),M=I-g,A=O-y,h=g-M*V/z,p=y-A*V/z,h=Ao(h,Mo(u,g)),p=Ao(p,Mo(c,y)),h=Mo(h,Ao(u,g)),p=Mo(p,Ao(c,y)),M=g-h,A=y-p,I=g+M*z/V,O=y+A*z/V}e.bezierCurveTo(f,d,h,p,g,y),f=I,d=O}else e.lineTo(g,y)}u=g,c=y,v+=a}return m}var VB=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),MTe=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new VB},t.prototype.buildPath=function(n,r){var i=r.points,a=0,o=i.length/2;if(r.connectNulls){for(;o>0&&Al(i[o*2-2],i[o*2-1]);o--);for(;a<o&&Al(i[a*2],i[a*2+1]);a++);}for(;a<o;)a+=zw(n,i,a,o,o,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},t.prototype.getPointOn=function(n,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,a=i.data,o=hs.CMD,s,l,u=r==="x",c=[],f=0;f<a.length;){var d=a[f++],h=void 0,p=void 0,v=void 0,m=void 0,g=void 0,y=void 0,_=void 0;switch(d){case o.M:s=a[f++],l=a[f++];break;case o.L:if(h=a[f++],p=a[f++],_=u?(n-s)/(h-s):(n-l)/(p-l),_<=1&&_>=0){var b=u?(p-l)*_+l:(h-s)*_+s;return u?[n,b]:[b,n]}s=h,l=p;break;case o.C:h=a[f++],p=a[f++],v=a[f++],m=a[f++],g=a[f++],y=a[f++];var S=u?vm(s,h,v,g,n,c):vm(l,p,m,y,n,c);if(S>0)for(var w=0;w<S;w++){var C=c[w];if(C<=1&&C>=0){var b=u?xn(l,p,m,y,C):xn(s,h,v,g,C);return u?[n,b]:[b,n]}}s=g,l=y;break}}},t}(Nt),ITe=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(VB),OTe=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new ITe},t.prototype.buildPath=function(n,r){var i=r.points,a=r.stackedOnPoints,o=0,s=i.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&Al(i[s*2-2],i[s*2-1]);s--);for(;o<s&&Al(i[o*2],i[o*2+1]);o++);}for(;o<s;){var u=zw(n,i,o,s,s,1,r.smooth,l,r.connectNulls);zw(n,a,o+u-1,u,s,-1,r.stackedOnSmooth,l,r.connectNulls),o+=u+1,n.closePath()}},t}(Nt);function HB(e,t,n,r,i){var a=e.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,c=n.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var f=new Gt({shape:{x:o,y:s,width:l,height:u}});if(t){var d=e.getBaseAxis(),h=d.isHorizontal(),p=d.inverse;h?(p&&(f.shape.x+=l),f.shape.width=0):(p||(f.shape.y+=u),f.shape.height=0);var v=Xe(i)?function(m){i(m,f)}:null;Zr(f,{shape:{width:l,height:u,x:o,y:s}},n,null,r,v)}return f}function WB(e,t,n){var r=e.getArea(),i=vn(r.r0,1),a=vn(r.r,1),o=new bs({shape:{cx:vn(e.cx,1),cy:vn(e.cy,1),r0:i,r:a,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s=e.getBaseAxis().dim==="angle";s?o.shape.endAngle=r.startAngle:o.shape.r=i,Zr(o,{shape:{endAngle:r.endAngle,r:a}},n)}return o}function PTe(e,t,n,r,i){if(e){if(e.type==="polar")return WB(e,t,n);if(e.type==="cartesian2d")return HB(e,t,n,r,i)}else return null;return null}function Bx(e,t){return e.type===t}function nM(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function rM(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,a=0;a<e.length;){var o=e[a++],s=e[a++];isNaN(o)||(t=Math.min(o,t),r=Math.max(o,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function iM(e,t){var n=rM(e),r=n[0],i=n[1],a=rM(t),o=a[0],s=a[1];return Math.max(Math.abs(r[0]-o[0]),Math.abs(r[1]-o[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function aM(e){return Ut(e)?e:e?.5:0}function RTe(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=Ya(r*2),a=0;a<r;a++){var o=zB(n,e,t,a);i[a*2]=o[0],i[a*2+1]=o[1]}return i}function Io(e,t,n,r){var i=t.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],c=[],f=[];if(r){for(s=0;s<e.length;s+=2)!isNaN(e[s])&&!isNaN(e[s+1])&&f.push(e[s],e[s+1]);e=f}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],o.push(u[0],u[1]),n){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var d=(u[a]+c[a])/2,h=[];l[a]=h[a]=d,l[1-a]=u[1-a],h[1-a]=c[1-a],o.push(l[0],l[1]),o.push(h[0],h[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(e[s++],e[s++]),o}function DTe(e,t){var n=[],r=e.length,i,a;function o(c,f,d){var h=c.coord,p=(d-h)/(f.coord-h),v=T5(p,[c.color,f.color]);return{coord:d,color:v}}for(var s=0;s<r;s++){var l=e[s],u=l.coord;if(u<0)i=l;else if(u>t){a?n.push(o(a,l,t)):i&&n.push(o(i,l,0),o(i,l,t));break}else i&&(n.push(o(i,l,0)),i=null),n.push(l),a=l}return n}function LTe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,a,o=r.length-1;o>=0;o--){var s=e.getDimensionInfo(r[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=r[o];break}}if(a){var l=t.getAxis(i),u=ke(a.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),c=u.length,f=a.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=DTe(u,i==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=d[0].coord-p,m=d[h-1].coord+p,g=m-v;if(g<.001)return"transparent";R(d,function(_){_.offset=(_.coord-v)/g}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var y=new oy(0,0,0,0,d,!0);return y[i]=v,y[i+"2"]=m,y}}}function kTe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var a=n.getAxesByScale("ordinal")[0];if(a&&!(i&&$Te(a,t))){var o=t.mapDimension(a.dim),s={};return R(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function $Te(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;o<i;o+=a)if(Nx.getSymbolSize(t,o)[e.isHorizontal()?1:0]*1.5>r)return!1;return!0}function NTe(e,t){return isNaN(e)||isNaN(t)}function BTe(e){for(var t=e.length/2;t>0&&NTe(e[t*2-2],e[t*2-1]);t--);return t-1}function oM(e,t){return[e[t*2],e[t*2+1]]}function FTe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,a,o,s=0,l=-1,u=0;u<r;u++)if(o=e[u*2+i],!(isNaN(o)||isNaN(e[u*2+1-i]))){if(u===0){a=o;continue}if(a<=t&&o>=t||a>=t&&o<=t){l=u;break}s=u,a=o}return{range:[s,l],t:(t-a)/(o-a)}}function UB(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<wi.length;t++)if(e.get([wi[t],"endLabel","show"]))return!0;return!1}function Vb(e,t,n,r){if(Bx(t,"cartesian2d")){var i=r.getModel("endLabel"),a=i.get("valueAnimation"),o=r.getData(),s={lastFrameIndex:0},l=UB(r)?function(h,p){e._endLabelOnDuring(h,p,o,s,a,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=HB(t,n,r,function(){var h=e._endLabel;h&&n&&s.originalX!=null&&h.attr({x:s.originalX,y:s.originalY})},l);if(!r.get("clip",!0)){var f=c.shape,d=Math.max(f.width,f.height);u?(f.y-=d,f.height+=d*2):(f.x-=d,f.width+=d*2)}return l&&l(1,c),c}else return WB(t,n,r)}function zTe(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,a=r?i?"right":"left":"center",o=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||a,verticalAlign:e.get("verticalAlign")||o}}}var VTe=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var n=new qt,r=new xTe;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=n},t.prototype.render=function(n,r,i){var a=this,o=n.coordinateSystem,s=this.group,l=n.getData(),u=n.getModel("lineStyle"),c=n.getModel("areaStyle"),f=l.getLayout("points")||[],d=o.type==="polar",h=this._coordSys,p=this._symbolDraw,v=this._polyline,m=this._polygon,g=this._lineGroup,y=!r.ssr&&n.isAnimationEnabled(),_=!c.isEmpty(),b=c.get("origin"),S=FB(o,l,b),w=_&&RTe(o,l,S),C=n.get("showSymbol"),T=n.get("connectNulls"),E=C&&!d&&kTe(n,l,o),M=this._data;M&&M.eachItemGraphicEl(function(De,W){De.__temp&&(s.remove(De),M.setItemGraphicEl(W,null))}),C||p.remove(),s.add(g);var A=d?!1:n.get("step"),I;o&&o.getArea&&n.get("clip",!0)&&(I=o.getArea(),I.width!=null?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var O=LTe(l,o,i)||l.getVisual("style")[l.getVisual("drawType")];if(!(v&&h.type===o.type&&A===this._step))C&&p.updateData(l,{isIgnore:E,clipShape:I,disableAnimation:!0,getSymbolPoint:function(De){return[f[De*2],f[De*2+1]]}}),y&&this._initSymbolLabelAnimation(l,o,I),A&&(f=Io(f,o,A,T),w&&(w=Io(w,o,A,T))),v=this._newPolyline(f),_?m=this._newPolygon(f,w):m&&(g.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(n,o,jl(O)),g.setClipPath(Vb(this,o,!0,n));else{_&&!m?m=this._newPolygon(f,w):m&&!_&&(g.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(n,o,jl(O));var D=g.getClipPath();if(D){var F=Vb(this,o,!1,n);Zr(D,{shape:F.shape},n)}else g.setClipPath(Vb(this,o,!0,n));C&&p.updateData(l,{isIgnore:E,clipShape:I,disableAnimation:!0,getSymbolPoint:function(De){return[f[De*2],f[De*2+1]]}}),(!nM(this._stackedOnPoints,w)||!nM(this._points,f))&&(y?this._doUpdateAnimation(l,w,o,i,A,b,T):(A&&(f=Io(f,o,A,T),w&&(w=Io(w,o,A,T))),v.setShape({points:f}),m&&m.setShape({points:f,stackedOnPoints:w})))}var k=n.getModel("emphasis"),H=k.get("focus"),V=k.get("blurScope"),z=k.get("disabled");if(v.useStyle(bt(u.getLineStyle(),{fill:"none",stroke:O,lineJoin:"bevel"})),wm(v,n,"lineStyle"),v.style.lineWidth>0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var q=v.getState("emphasis").style;q.lineWidth=+v.style.lineWidth+1}Pt(v).seriesIndex=n.seriesIndex,gh(v,H,V,z);var ae=aM(n.get("smooth")),oe=n.get("smoothMonotone");if(v.setShape({smooth:ae,smoothMonotone:oe,connectNulls:T}),m){var xe=l.getCalculationInfo("stackedOnSeries"),Ae=0;m.useStyle(bt(c.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),xe&&(Ae=aM(xe.get("smooth"))),m.setShape({smooth:ae,stackedOnSmooth:Ae,smoothMonotone:oe,connectNulls:T}),wm(m,n,"areaStyle"),Pt(m).seriesIndex=n.seriesIndex,gh(m,H,V,z)}var Ve=function(De){a._changePolyState(De)};l.eachItemGraphicEl(function(De){De&&(De.onHoverStateChange=Ve)}),this._polyline.onHoverStateChange=Ve,this._data=l,this._coordSys=o,this._stackedOnPoints=w,this._points=f,this._step=A,this._valueOrigin=b,n.get("triggerLineEvent")&&(this.packEventData(n,v),m&&this.packEventData(n,m))},t.prototype.packEventData=function(n,r){Pt(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,a){var o=n.getData(),s=Gl(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var d=n.get("zlevel")||0,h=n.get("z")||0;u=new Nx(o,s),u.x=c,u.y=f,u.setZ(d,h);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=d,p.z=h,p.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Xr.prototype.highlight.call(this,n,r,i,a)},t.prototype.downplay=function(n,r,i,a){var o=n.getData(),s=Gl(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Xr.prototype.downplay.call(this,n,r,i,a)},t.prototype._changePolyState=function(n){var r=this._polygon;u4(this._polyline,n),r&&u4(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new MTe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new OTe({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var a,o,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):r.type==="polar"&&(a=s.dim==="angle",o=!0);var u=n.hostModel,c=u.get("animationDuration");Xe(c)&&(c=c(null));var f=u.get("animationDelay")||0,d=Xe(f)?f(null):f;n.eachItemGraphicEl(function(h,p){var v=h;if(v){var m=[h.x,h.y],g=void 0,y=void 0,_=void 0;if(i)if(o){var b=i,S=r.pointToCoord(m);a?(g=b.startAngle,y=b.endAngle,_=-S[1]/180*Math.PI):(g=b.r0,y=b.r,_=S[0])}else{var w=i;a?(g=w.x,y=w.x+w.width,_=h.x):(g=w.y+w.height,y=w.y,_=h.y)}var C=y===g?0:(_-g)/(y-g);l&&(C=1-C);var T=Xe(f)?f(p):c*C+d,E=v.getSymbolPath(),M=E.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:T}),E.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var a=n.getModel("endLabel");if(UB(n)){var o=n.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Ft({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=BTe(l);c>=0&&(mp(s,yp(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?BB(o,h):$x(o,f)},enableTextSetter:!0},zTe(a,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,a,o,s,l){var u=this._endLabel,c=this._polyline;if(u){n<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var f=i.getLayout("points"),d=i.hostModel,h=d.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,m=l.getBaseAxis(),g=m.isHorizontal(),y=m.inverse,_=r.shape,b=y?g?_.x:_.y+_.height:g?_.x+_.width:_.y,S=(g?v:0)*(y?-1:1),w=(g?0:-v)*(y?-1:1),C=g?"x":"y",T=FTe(f,b,C),E=T.range,M=E[1]-E[0],A=void 0;if(M>=1){if(M>1&&!h){var I=oM(f,E[0]);u.attr({x:I[0]+S,y:I[1]+w}),o&&(A=d.getRawValue(E[0]))}else{var I=c.getPointOn(b,C);I&&u.attr({x:I[0]+S,y:I[1]+w});var O=d.getRawValue(E[0]),D=d.getRawValue(E[1]);o&&(A=W_e(i,p,O,D,T.t))}a.lastFrameIndex=E[0]}else{var F=n===1||a.lastFrameIndex>0?E[0]:0,I=oM(f,F);o&&(A=d.getRawValue(F)),u.attr({x:I[0]+S,y:I[1]+w})}o&&fy(u).setLabelText(A)}},t.prototype._doUpdateAnimation=function(n,r,i,a,o,s,l){var u=this._polyline,c=this._polygon,f=n.hostModel,d=ATe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=d.current,p=d.stackedOnCurrent,v=d.next,m=d.stackedOnNext;if(o&&(h=Io(d.current,i,o,l),p=Io(d.stackedOnCurrent,i,o,l),v=Io(d.next,i,o,l),m=Io(d.stackedOnNext,i,o,l)),iM(h,v)>3e3||c&&iM(p,m)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:m}));return}u.shape.__points=d.current,u.shape.points=h;var g={shape:{points:v}};d.current!==h&&(g.shape.__points=d.next),u.stopAnimation(),Vn(u,g,f),c&&(c.setShape({points:h,stackedOnPoints:p}),c.stopAnimation(),Vn(c,{shape:{stackedOnPoints:m}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],_=d.status,b=0;b<_.length;b++){var S=_[b].cmd;if(S==="="){var w=n.getItemGraphicEl(_[b].idx1);w&&y.push({el:w,ptIdx:b})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var C=u.shape.__points,T=0;T<y.length;T++){var E=y[T].el,M=y[T].ptIdx*2;E.x=C[M],E.y=C[M+1],E.markRedraw()}})},t.prototype.remove=function(n){var r=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(a,o){a.__temp&&(r.remove(a),i.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(Xr);const HTe=VTe;function WTe(e,t){return{seriesType:e,plan:vx(),reset:function(n){var r=n.getData(),i=n.coordinateSystem,a=n.pipelineContext,o=t||a.large;if(i){var s=ke(i.dimensions,function(h){return r.mapDimension(h)}).slice(0,2),l=s.length,u=r.getCalculationInfo("stackResultDimension");Kl(r,s[0])&&(s[0]=u),Kl(r,s[1])&&(s[1]=u);var c=r.getStore(),f=r.getDimensionIndex(s[0]),d=r.getDimensionIndex(s[1]);return l&&{progress:function(h,p){for(var v=h.end-h.start,m=o&&Ya(v*l),g=[],y=[],_=h.start,b=0;_<h.end;_++){var S=void 0;if(l===1){var w=c.get(f,_);S=i.dataToPoint(w,null,y)}else g[0]=c.get(f,_),g[1]=c.get(d,_),S=i.dataToPoint(g,null,y);o?(m[b++]=S[0],m[b++]=S[1]):p.setItemLayout(_,S.slice())}o&&p.setLayout("points",m)}}}}}}var UTe={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return n===0?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},GTe=function(e){return Math.round(e.length/2)};function GB(e){return{seriesType:e,reset:function(t,n,r){var i=t.getData(),a=t.get("sampling"),o=t.coordinateSystem,s=i.count();if(s>10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),f=r.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(f||1),h=Math.round(s/d);if(isFinite(h)&&h>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h));var p=void 0;Be(a)?p=UTe[a]:Xe(a)&&(p=a),p&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,p,GTe))}}}}}function jTe(e){e.registerChartView(HTe),e.registerSeriesModel(_Te),e.registerLayout(WTe("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,GB("line"))}var jB=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return xy(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var a=this.coordinateSystem;if(a&&a.clampData){var o=a.clampData(n),s=a.dataToPoint(o);if(i)R(a.getAxes(),function(d,h){if(d.type==="category"&&r!=null){var p=d.getTicksCoords(),v=o[h],m=r[h]==="x1"||r[h]==="y1";if(m&&(v+=1),p.length<2)return;if(p.length===2){s[h]=d.toGlobalCoord(d.getExtent()[m?1:0]);return}for(var g=void 0,y=void 0,_=1,b=0;b<p.length;b++){var S=p[b].coord,w=b===p.length-1?p[b-1].tickValue+_:p[b].tickValue;if(w===v){y=S;break}else if(w<v)g=S;else if(g!=null&&w>v){y=(S+g)/2;break}b===1&&(_=w-p[0].tickValue)}y==null&&(g?g&&(y=p[p.length-1].coord):y=p[0].coord),s[h]=d.toGlobalCoord(y)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=a.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Xi);Xi.registerClass(jB);const sM=jB;var qTe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return xy(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Jc(sM.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(sM);const KTe=qTe;var YTe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),ZTe=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new YTe},t.prototype.buildPath=function(n,r){var i=r.cx,a=r.cy,o=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-o)*.5,u=o+l,c=r.startAngle,f=r.endAngle,d=r.clockwise,h=Math.PI*2,p=d?f-c<h:c-f<h;p||(c=f-(d?h:-h));var v=Math.cos(c),m=Math.sin(c),g=Math.cos(f),y=Math.sin(f);p?(n.moveTo(v*o+i,m*o+a),n.arc(v*u+i,m*u+a,l,-Math.PI+c,c,!d)):n.moveTo(v*s+i,m*s+a),n.arc(i,a,s,c,f,!d),n.arc(g*u+i,y*u+a,l,f-Math.PI*2,f-Math.PI,!d),o!==0&&n.arc(i,a,o,f,c,d)},t}(Nt);const lM=ZTe;function XTe(e,t){t=t||{};var n=t.isRoundCap;return function(r,i,a){var o=i.position;if(!o||o instanceof Array)return bm(r,i,a);var s=e(o),l=i.distance!=null?i.distance:5,u=this.shape,c=u.cx,f=u.cy,d=u.r,h=u.r0,p=(d+h)/2,v=u.startAngle,m=u.endAngle,g=(v+m)/2,y=n?Math.abs(d-h)/2:0,_=Math.cos,b=Math.sin,S=c+d*_(v),w=f+d*b(v),C="left",T="top";switch(s){case"startArc":S=c+(h-l)*_(g),w=f+(h-l)*b(g),C="center",T="top";break;case"insideStartArc":S=c+(h+l)*_(g),w=f+(h+l)*b(g),C="center",T="bottom";break;case"startAngle":S=c+p*_(v)+Nv(v,l+y,!1),w=f+p*b(v)+Bv(v,l+y,!1),C="right",T="middle";break;case"insideStartAngle":S=c+p*_(v)+Nv(v,-l+y,!1),w=f+p*b(v)+Bv(v,-l+y,!1),C="left",T="middle";break;case"middle":S=c+p*_(g),w=f+p*b(g),C="center",T="middle";break;case"endArc":S=c+(d+l)*_(g),w=f+(d+l)*b(g),C="center",T="bottom";break;case"insideEndArc":S=c+(d-l)*_(g),w=f+(d-l)*b(g),C="center",T="top";break;case"endAngle":S=c+p*_(m)+Nv(m,l+y,!0),w=f+p*b(m)+Bv(m,l+y,!0),C="left",T="middle";break;case"insideEndAngle":S=c+p*_(m)+Nv(m,-l+y,!0),w=f+p*b(m)+Bv(m,-l+y,!0),C="right",T="middle";break;default:return bm(r,i,a)}return r=r||{},r.x=S,r.y=w,r.align=C,r.verticalAlign=T,r}}function QTe(e,t,n,r){if(Ut(r)){e.setTextConfig({rotation:r});return}else if(Ce(t)){e.setTextConfig({rotation:0});return}var i=e.shape,a=i.clockwise?i.startAngle:i.endAngle,o=i.clockwise?i.endAngle:i.startAngle,s=(a+o)/2,l,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=s;break;case"startAngle":case"insideStartAngle":l=a;break;case"endAngle":case"insideEndAngle":l=o;break;default:e.setTextConfig({rotation:0});return}var c=Math.PI*1.5-l;u==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),e.setTextConfig({rotation:c})}function Nv(e,t,n){return t*Math.sin(e)*(n?-1:1)}function Bv(e,t,n){return t*Math.cos(e)*(n?1:-1)}function Yf(e,t,n){var r=e.get("borderRadius");if(r==null)return n?{cornerRadius:0}:null;Ce(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:ke(r,function(a){return Ma(a,i)})}}var Hb=Math.max,Wb=Math.min;function JTe(e,t){var n=e.getArea&&e.getArea();if(Bx(e,"cartesian2d")){var r=e.getBaseAxis();if(r.type!=="category"||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=i*2):(n.y-=i,n.height+=i*2)}}return n}var e8e=function(e){ve(t,e);function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return t.prototype.render=function(n,r,i,a){this._model=n,this._removeOnRenderedListener(i),this._updateDrawMode(n);var o=n.get("coordinateSystem");(o==="cartesian2d"||o==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(n,r,i):this._renderNormal(n,r,i,a))},t.prototype.incrementalPrepareRender=function(n){this._clear(),this._updateDrawMode(n),this._updateLargeClip(n)},t.prototype.incrementalRender=function(n,r){this._progressiveEls=[],this._incrementalRenderLarge(n,r)},t.prototype.eachRendered=function(n){uy(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n,r,i,a){var o=this.group,s=n.getData(),l=this._data,u=n.coordinateSystem,c=u.getBaseAxis(),f;u.type==="cartesian2d"?f=c.isHorizontal():u.type==="polar"&&(f=c.dim==="angle");var d=n.isAnimationEnabled()?n:null,h=t8e(n,u);h&&this._enableRealtimeSort(h,s,i);var p=n.get("clip",!0)||h,v=JTe(u,s);o.removeClipPath();var m=n.get("roundCap",!0),g=n.get("showBackground",!0),y=n.getModel("backgroundStyle"),_=y.get("borderRadius")||0,b=[],S=this._backgroundEls,w=a&&a.isInitSort,C=a&&a.type==="changeAxisOrder";function T(A){var I=Fv[u.type](s,A),O=l8e(u,f,I);return O.useStyle(y.getItemStyle()),u.type==="cartesian2d"?O.setShape("r",_):O.setShape("cornerRadius",_),b[A]=O,O}s.diff(l).add(function(A){var I=s.getItemModel(A),O=Fv[u.type](s,A,I);if(g&&T(A),!(!s.hasValue(A)||!hM[u.type](O))){var D=!1;p&&(D=uM[u.type](v,O));var F=cM[u.type](n,s,A,O,f,d,c.model,!1,m);h&&(F.forceLabelAnimation=!0),pM(F,s,A,I,O,n,f,u.type==="polar"),w?F.attr({shape:O}):h?fM(h,d,F,O,A,f,!1,!1):Zr(F,{shape:O},n,A),s.setItemGraphicEl(A,F),o.add(F),F.ignore=D}}).update(function(A,I){var O=s.getItemModel(A),D=Fv[u.type](s,A,O);if(g){var F=void 0;S.length===0?F=T(I):(F=S[I],F.useStyle(y.getItemStyle()),u.type==="cartesian2d"?F.setShape("r",_):F.setShape("cornerRadius",_),b[A]=F);var k=Fv[u.type](s,A),H=KB(f,k,u);Vn(F,{shape:H},d,A)}var V=l.getItemGraphicEl(I);if(!s.hasValue(A)||!hM[u.type](D)){o.remove(V);return}var z=!1;if(p&&(z=uM[u.type](v,D),z&&o.remove(V)),V?j5(V):V=cM[u.type](n,s,A,D,f,d,c.model,!!V,m),h&&(V.forceLabelAnimation=!0),C){var q=V.getTextContent();if(q){var ae=fy(q);ae.prevValue!=null&&(ae.prevValue=ae.value)}}else pM(V,s,A,O,D,n,f,u.type==="polar");w?V.attr({shape:D}):h?fM(h,d,V,D,A,f,!0,C):Vn(V,{shape:D},n,A,null),s.setItemGraphicEl(A,V),V.ignore=z,o.add(V)}).remove(function(A){var I=l.getItemGraphicEl(A);I&&xm(I,n,A)}).execute();var E=this._backgroundGroup||(this._backgroundGroup=new qt);E.removeAll();for(var M=0;M<b.length;++M)E.add(b[M]);o.add(E),this._backgroundEls=b,this._data=s},t.prototype._renderLarge=function(n,r,i){this._clear(),gM(n,this.group),this._updateLargeClip(n)},t.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),gM(r,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(n){var r=n.get("clip",!0)&&PTe(n.coordinateSystem,!1,n),i=this.group;r?i.setClipPath(r):i.removeClipPath()},t.prototype._enableRealtimeSort=function(n,r,i){var a=this;if(r.count()){var o=n.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,n,i),this._isFirstFrame=!1;else{var s=function(l){var u=r.getItemGraphicEl(l),c=u&&u.shape;return c&&Math.abs(o.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){a._updateSortWithinSameData(r,s,o,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(n,r,i){var a=[];return n.each(n.mapDimension(r.dim),function(o,s){var l=i(s);l=l??NaN,a.push({dataIndex:s,mappedValue:l,ordinalNumber:o})}),a.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:ke(a,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(n,r,i){for(var a=i.scale,o=n.mapDimension(i.dim),s=Number.MAX_VALUE,l=0,u=a.getOrdinalMeta().categories.length;l<u;++l){var c=n.rawIndexOf(o,a.getRawOrdinalNumber(l)),f=c<0?Number.MIN_VALUE:r(n.indexOfRawIndex(c));if(f>s)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(n.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,a){if(this._isOrderChangedWithinSameData(n,r,i)){var o=this._dataSort(n,i,r);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(n,r,i){var a=r.baseAxis,o=this._dataSort(n,a,function(s){return n.get(n.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){xm(a,n,Pt(a).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(Xr),uM={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,a=e.y+e.height,o=Hb(t.x,e.x),s=Wb(t.x+t.width,i),l=Hb(t.y,e.y),u=Wb(t.y+t.height,a),c=s<o,f=u<l;return t.x=c&&o>i?s:o,t.y=f&&l>a?u:l,t.width=c?0:s-o,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=Wb(t.r,e.r),a=Hb(t.r0,e.r0);t.r=i,t.r0=a;var o=i-a<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return o}},cM={cartesian2d:function(e,t,n,r,i,a,o,s,l){var u=new Gt({shape:me({},r),z2:1});if(u.__dataIndex=n,u.name="item",a){var c=u.shape,f=i?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,i,a,o,s,l){var u=!i&&l?lM:bs,c=new u({shape:r,z2:1});c.name="item";var f=qB(i);if(c.calculateTextPosition=XTe(f,{isRoundCap:u===lM}),a){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?r.r0:r.startAngle,p[h]=r[h],(s?Vn:Zr)(c,{shape:p},a)}return c}};function t8e(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function fM(e,t,n,r,i,a,o,s){var l,u;a?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(o?Vn:Zr)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(o?Vn:Zr)(n,{shape:u},c,i)}function dM(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var n8e=["x","y","width","height"],r8e=["cx","cy","r","startAngle","endAngle"],hM={cartesian2d:function(e){return!dM(e,n8e)},polar:function(e){return!dM(e,r8e)}},Fv={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?a8e(n,r):0,a=r.width>0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function i8e(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function qB(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function pM(e,t,n,r,i,a,o,s){var l=t.getItemVisual(n,"style");if(s){if(!a.get("roundCap")){var c=e.shape,f=Yf(r.getModel("itemStyle"),c,!0);me(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var h=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=yp(r);mp(e,p,{labelFetcher:a,labelDataIndex:n,defaultText:$x(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var v=e.getTextContent();if(s&&v){var m=r.get(["label","position"]);e.textConfig.inside=m==="middle"?!0:null,QTe(e,m==="outside"?h:m,qB(o),r.get(["label","rotate"]))}eSe(v,p,a.getRawValue(n),function(y){return BB(t,y)});var g=r.getModel(["emphasis"]);gh(e,g.get("focus"),g.get("blurScope"),g.get("disabled")),wm(e,r),i8e(i)&&(e.style.fill="none",e.style.stroke="none",R(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function a8e(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,a)}var o8e=function(){function e(){}return e}(),vM=function(e){ve(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new o8e},t.prototype.buildPath=function(n,r){for(var i=r.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c<i.length;c+=3)l[a]=u,l[o]=i[c+2],s[a]=i[c+a],s[o]=i[c+o],n.rect(s[0],s[1],l[0],l[1])},t}(Nt);function gM(e,t,n,r){var i=e.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new vM({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),n&&n.push(c)}var f=new vM({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=a,f.largeDataIndices=o,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),Pt(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",mM),f.on("mousemove",mM)),n&&n.push(f)}var mM=_y(function(e){var t=this,n=s8e(t,e.offsetX,e.offsetY);Pt(t).dataIndex=n>=0?n:null},30,!1);function s8e(e,t,n){for(var r=e.baseDimIdx,i=1-r,a=e.shape.points,o=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=a.length/3;c<f;c++){var d=c*3;if(l[r]=u,l[i]=a[d+2],s[r]=a[d+r],s[i]=a[d+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return-1}function KB(e,t,n){if(Bx(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:a.r0,r:e?i.r:a.r,startAngle:e?a.startAngle:0,endAngle:e?a.endAngle:Math.PI*2}}}function l8e(e,t,n){var r=e.type==="polar"?bs:Gt;return new r({shape:KB(t,n,e),silent:!0,z2:0})}const u8e=e8e;function c8e(e){e.registerChartView(u8e),e.registerSeriesModel(KTe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Ct(n3e,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,r3e("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,GB("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var zv=Math.PI*2,yM=Math.PI/180;function YB(e,t){return Zi(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function ZB(e,t){var n=YB(e,t),r=e.get("center"),i=e.get("radius");Ce(i)||(i=[0,i]);var a=Ht(n.width,t.getWidth()),o=Ht(n.height,t.getHeight()),s=Math.min(a,o),l=Ht(i[0],s/2),u=Ht(i[1],s/2),c,f,d=e.coordinateSystem;if(d){var h=d.dataToPoint(r);c=h[0]||0,f=h[1]||0}else Ce(r)||(r=[r,r]),c=Ht(r[0],a)+n.x,f=Ht(r[1],o)+n.y;return{cx:c,cy:f,r0:l,r:u}}function f8e(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),a=i.mapDimension("value"),o=YB(r,n),s=ZB(r,n),l=s.cx,u=s.cy,c=s.r,f=s.r0,d=-r.get("startAngle")*yM,h=r.get("minAngle")*yM,p=0;i.each(a,function(M){!isNaN(M)&&p++});var v=i.getSum(a),m=Math.PI/(v||p)*2,g=r.get("clockwise"),y=r.get("roseType"),_=r.get("stillShowZeroSum"),b=i.getDataExtent(a);b[0]=0;var S=zv,w=0,C=d,T=g?1:-1;if(i.setLayout({viewRect:o,r:c}),i.each(a,function(M,A){var I;if(isNaN(M)){i.setItemLayout(A,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:l,cy:u,r0:f,r:y?NaN:c});return}y!=="area"?I=v===0&&_?m:M*m:I=zv/p,I<h?(I=h,S-=h):w+=M;var O=C+T*I;i.setItemLayout(A,{angle:I,startAngle:C,endAngle:O,clockwise:g,cx:l,cy:u,r0:f,r:y?en(M,b,[f,c]):c}),C=O}),S<zv&&p)if(S<=.001){var E=zv/p;i.each(a,function(M,A){if(!isNaN(M)){var I=i.getItemLayout(A);I.angle=E,I.startAngle=d+T*A*E,I.endAngle=d+T*(A+1)*E}})}else m=S/w,C=d,i.each(a,function(M,A){if(!isNaN(M)){var I=i.getItemLayout(A),O=I.angle===h?h:M*m;I.startAngle=C,I.endAngle=C+T*O,C+=T*O}})})}function d8e(e){return{seriesType:e,reset:function(t,n){var r=n.findComponents({mainType:"legend"});if(!(!r||!r.length)){var i=t.getData();i.filterSelf(function(a){for(var o=i.getName(a),s=0;s<r.length;s++)if(!r[s].isSelected(o))return!1;return!0})}}}}var h8e=Math.PI/180;function bM(e,t,n,r,i,a,o,s,l,u){if(e.length<2)return;function c(v){for(var m=v.rB,g=m*m,y=0;y<v.list.length;y++){var _=v.list[y],b=Math.abs(_.label.y-n),S=r+_.len,w=S*S,C=Math.sqrt((1-Math.abs(b*b/g))*w),T=t+(C+_.len2)*i,E=T-_.label.x,M=_.targetTextWidth-E*i;XB(_,M,!0),_.label.x=T}}function f(v){for(var m={list:[],maxY:0},g={list:[],maxY:0},y=0;y<v.length;y++)if(v[y].labelAlignTo==="none"){var _=v[y],b=_.label.y>n?g:m,S=Math.abs(_.label.y-n);if(S>=b.maxY){var w=_.label.x-t-_.len2*i,C=r+_.len,T=Math.abs(w)<C?Math.sqrt(S*S/(1-w*w/C/C)):C;b.rB=T,b.maxY=S}b.list.push(_)}c(m),c(g)}for(var d=e.length,h=0;h<d;h++)if(e[h].position==="outer"&&e[h].labelAlignTo==="labelLine"){var p=e[h].label.x-u;e[h].linePoints[1][0]+=p,e[h].label.x=u}cTe(e,l,l+o)&&f(e)}function p8e(e,t,n,r,i,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,d=0;d<e.length;d++){var h=e[d].label;Ub(e[d])||(h.x<t?(c=Math.min(c,h.x),l.push(e[d])):(f=Math.max(f,h.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var p=e[d];if(!Ub(p)&&p.linePoints){if(p.labelStyleWidth!=null)continue;var h=p.label,v=p.linePoints,m=void 0;p.labelAlignTo==="edge"?h.x<t?m=v[2][0]-p.labelDistance-o-p.edgeDistance:m=o+i-p.edgeDistance-v[2][0]-p.labelDistance:p.labelAlignTo==="labelLine"?h.x<t?m=c-o-p.bleedMargin:m=o+i-f-p.bleedMargin:h.x<t?m=h.x-o-p.bleedMargin:m=o+i-h.x-p.bleedMargin,p.targetTextWidth=m,XB(p,m)}}bM(u,t,n,r,1,i,a,o,s,f),bM(l,t,n,r,-1,i,a,o,s,c);for(var d=0;d<e.length;d++){var p=e[d];if(!Ub(p)&&p.linePoints){var h=p.label,v=p.linePoints,g=p.labelAlignTo==="edge",y=h.style.padding,_=y?y[1]+y[3]:0,b=h.style.backgroundColor?0:_,S=p.rect.width+b,w=v[1][0]-v[2][0];g?h.x<t?v[2][0]=o+p.edgeDistance+S+p.labelDistance:v[2][0]=o+i-p.edgeDistance-S-p.labelDistance:(h.x<t?v[2][0]=h.x+p.labelDistance:v[2][0]=h.x-p.labelDistance,v[1][0]=v[2][0]+w),v[1][1]=v[2][1]=h.y}}}function XB(e,t,n){if(n===void 0&&(n=!1),e.labelStyleWidth==null){var r=e.label,i=r.style,a=e.rect,o=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=a.width+(o?0:l);if(t<c||n){var f=a.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var d=r.getBoundingRect();r.setStyle("width",Math.ceil(d.width)),r.setStyle("backgroundColor",o)}else{var h=t-l,p=t<c?h:n?h>e.unconstrainedWidth?null:h:null;r.setStyle("width",p)}var v=r.getBoundingRect();a.width=v.width;var m=(r.style.margin||0)+2.1;a.height=v.height+m,a.y-=(a.height-f)/2}}}function Ub(e){return e.position==="center"}function v8e(e){var t=e.getData(),n=[],r,i,a=!1,o=(e.get("minShowLabelAngle")||0)*h8e,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,d=s.height;function h(w){w.ignore=!0}function p(w){if(!w.ignore)return!0;for(var C in w.states)if(w.states[C].ignore===!1)return!0;return!1}t.each(function(w){var C=t.getItemGraphicEl(w),T=C.shape,E=C.getTextContent(),M=C.getTextGuideLine(),A=t.getItemModel(w),I=A.getModel("label"),O=I.get("position")||A.get(["emphasis","label","position"]),D=I.get("distanceToLabelLine"),F=I.get("alignTo"),k=Ht(I.get("edgeDistance"),u),H=I.get("bleedMargin"),V=A.getModel("labelLine"),z=V.get("length");z=Ht(z,u);var q=V.get("length2");if(q=Ht(q,u),Math.abs(T.endAngle-T.startAngle)<o){R(E.states,h),E.ignore=!0,M&&(R(M.states,h),M.ignore=!0);return}if(p(E)){var ae=(T.startAngle+T.endAngle)/2,oe=Math.cos(ae),xe=Math.sin(ae),Ae,Ve,De,W;r=T.cx,i=T.cy;var Z=O==="inside"||O==="inner";if(O==="center")Ae=T.cx,Ve=T.cy,W="center";else{var J=(Z?(T.r+T.r0)/2*oe:T.r*oe)+r,ue=(Z?(T.r+T.r0)/2*xe:T.r*xe)+i;if(Ae=J+oe*3,Ve=ue+xe*3,!Z){var pe=J+oe*(z+l-T.r),L=ue+xe*(z+l-T.r),B=pe+(oe<0?-1:1)*q,G=L;F==="edge"?Ae=oe<0?c+k:c+u-k:Ae=B+(oe<0?-D:D),Ve=G,De=[[J,ue],[pe,L],[B,G]]}W=Z?"center":F==="edge"?oe>0?"right":"left":oe>0?"left":"right"}var Q=Math.PI,te=0,se=I.get("rotate");if(Ut(se))te=se*(Q/180);else if(O==="center")te=0;else if(se==="radial"||se===!0){var Te=oe<0?-ae+Q:-ae;te=Te}else if(se==="tangential"&&O!=="outside"&&O!=="outer"){var he=Math.atan2(oe,xe);he<0&&(he=Q*2+he);var ye=xe>0;ye&&(he=Q+he),te=he-Q}if(a=!!te,E.x=Ae,E.y=Ve,E.rotation=te,E.setStyle({verticalAlign:"middle"}),Z){E.setStyle({align:W});var Me=E.states.select;Me&&(Me.x+=E.x,Me.y+=E.y)}else{var le=E.getBoundingRect().clone();le.applyTransform(E.getComputedTransform());var Le=(E.style.margin||0)+2.1;le.y-=Le/2,le.height+=Le,n.push({label:E,labelLine:M,position:O,len:z,len2:q,minTurnAngle:V.get("minTurnAngle"),maxSurfaceAngle:V.get("maxSurfaceAngle"),surfaceNormal:new tt(oe,xe),linePoints:De,textAlign:W,labelDistance:D,labelAlignTo:F,edgeDistance:k,bleedMargin:H,rect:le,unconstrainedWidth:le.width,labelStyleWidth:E.style.width})}C.setTextConfig({inside:Z})}}),!a&&e.get("avoidLabelOverlap")&&p8e(n,r,i,l,u,d,c,f);for(var v=0;v<n.length;v++){var m=n[v],g=m.label,y=m.labelLine,_=isNaN(g.x)||isNaN(g.y);if(g){g.setStyle({align:m.textAlign}),_&&(R(g.states,h),g.ignore=!0);var b=g.states.select;b&&(b.x+=g.x,b.y+=g.y)}if(y){var S=m.linePoints;_||!S?(R(y.states,h),y.ignore=!0):(rTe(S,m.minTurnAngle),iTe(S,m.surfaceNormal,m.maxSurfaceAngle),y.setShape({points:S}),g.__hostTarget.textGuideLineConfig={anchor:new tt(S[0][0],S[0][1])})}}}var g8e=function(e){ve(t,e);function t(n,r,i){var a=e.call(this)||this;a.z2=2;var o=new Ft;return a.setTextContent(o),a.updateData(n,r,i,!0),a}return t.prototype.updateData=function(n,r,i,a){var o=this,s=n.hostModel,l=n.getItemModel(r),u=l.getModel("emphasis"),c=n.getItemLayout(r),f=me(Yf(l.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){o.setShape(f);return}if(a){o.setShape(f);var d=s.getShallow("animationType");s.ecModel.ssr?(Zr(o,{scaleX:0,scaleY:0},s,{dataIndex:r,isFrom:!0}),o.originX=f.cx,o.originY=f.cy):d==="scale"?(o.shape.r=c.r0,Zr(o,{shape:{r:c.r}},s,r)):i!=null?(o.setShape({startAngle:i,endAngle:i}),Zr(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,r)):(o.shape.endAngle=c.startAngle,Vn(o,{shape:{endAngle:c.endAngle}},s,r))}else j5(o),Vn(o,{shape:f},s,r);o.useStyle(n.getItemVisual(r,"style")),wm(o,l);var h=(c.startAngle+c.endAngle)/2,p=s.get("selectedOffset"),v=Math.cos(h)*p,m=Math.sin(h)*p,g=l.getShallow("cursor");g&&o.attr("cursor",g),this._updateLabel(s,n,r),o.ensureState("emphasis").shape=me({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},Yf(u.getModel("itemStyle"),c)),me(o.ensureState("select"),{x:v,y:m,shape:Yf(l.getModel(["select","itemStyle"]),c)}),me(o.ensureState("blur"),{shape:Yf(l.getModel(["blur","itemStyle"]),c)});var y=o.getTextGuideLine(),_=o.getTextContent();y&&me(y.ensureState("select"),{x:v,y:m}),me(_.ensureState("select"),{x:v,y:m}),gh(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r,i){var a=this,o=r.getItemModel(i),s=o.getModel("labelLine"),l=r.getItemVisual(i,"style"),u=l&&l.fill,c=l&&l.opacity;mp(a,yp(o),{labelFetcher:r.hostModel,labelDataIndex:i,inheritColor:u,defaultOpacity:c,defaultText:n.getFormattedLabel(i,"normal")||r.getName(i)});var f=a.getTextContent();a.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var d=n.get(["label","position"]);if(d!=="outside"&&d!=="outer")a.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new ou,this.setTextGuideLine(h)),oTe(this,sTe(o),{stroke:u,opacity:ic(s.get(["lineStyle","opacity"]),c,1)})}},t}(bs),m8e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,i,a){var o=n.getData(),s=this._data,l=this.group,u;if(!s&&o.count()>0){for(var c=o.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f<o.count();++f)c=o.getItemLayout(f);c&&(u=c.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),o.count()===0&&n.get("showEmptyCircle")){var d=new bs({shape:ZB(n,i)});d.useStyle(n.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,l.add(d)}o.diff(s).add(function(h){var p=new g8e(o,h,u);o.setItemGraphicEl(h,p),l.add(p)}).update(function(h,p){var v=s.getItemGraphicEl(p);v.updateData(o,h,u),v.off("click"),l.add(v),o.setItemGraphicEl(h,v)}).remove(function(h){var p=s.getItemGraphicEl(h);xm(p,n,h)}).execute(),v8e(n),n.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(n,r){var i=r.getData(),a=i.getItemLayout(0);if(a){var o=n[0]-a.cx,s=n[1]-a.cy,l=Math.sqrt(o*o+s*s);return l<=a.r&&l>=a.r0}},t.type="pie",t}(Xr);const y8e=m8e;function b8e(e,t,n){t=Ce(t)&&{coordDimensions:t}||me({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=Ox(r,t).dimensions,a=new Ix(i,e);return a.initData(r,n),a}var _8e=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}();const w8e=_8e;var S8e=tn(),C8e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new w8e(Fe(this.getData,this),Fe(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return b8e(this,{coordDimensions:["value"],encodeDefaulter:Ct(MSe,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=S8e(r),a=i.seats;if(!a){var o=[];r.each(r.mapDimension("value"),function(l){o.push(l)}),a=i.seats=Mk(o,r.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,n);return s.percent=a[n]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(n){dw(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Xi);const x8e=C8e;function T8e(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var a=r.mapDimension("value"),o=r.get(a,i);return!(Ut(o)&&!isNaN(o)&&o<0)})}}}function E8e(e){e.registerChartView(y8e),e.registerSeriesModel(x8e),v5e("pie",e.registerAction),e.registerLayout(Ct(f8e,"pie")),e.registerProcessor(d8e("pie")),e.registerProcessor(T8e("pie"))}var A8e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Lt);const M8e=A8e;var Vw=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",fr).models[0]},t.type="cartesian2dAxis",t}(Lt);xi(Vw,EB);var QB={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},I8e=nt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},QB),Fx=nt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},QB),O8e=nt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Fx),P8e=bt({logBase:10},Fx);const R8e={category:I8e,value:Fx,time:O8e,log:P8e};var D8e={value:1,category:1,time:1,log:1};function _M(e,t,n,r){R(D8e,function(i,a){var o=nt(nt({},R8e[a],!0),r,!0),s=function(l){ve(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+a,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var d=_h(this),h=d?wp(c):{},p=f.getTheme();nt(c,p.get(a+"Axis")),nt(c,this.getDefaultOption()),c.type=wM(c),d&&ql(c,h,d)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=Nw.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+a,u.defaultOption=o,u}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",wM)}function wM(e){return e.type||(e.data?"category":"value")}var L8e=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return ke(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),hn(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}();const k8e=L8e;var Hw=["x","y"];function SM(e){return e.type==="interval"||e.type==="time"}var $8e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=Hw,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!SM(n)||!SM(r))){var i=n.getExtent(),a=r.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),l=i[1]-i[0],u=a[1]-a[0];if(!(!l||!u)){var c=(s[0]-o[0])/l,f=(s[1]-o[1])/u,d=o[0]-i[0]*c,h=o[1]-a[0]*f,p=this._transform=[c,0,0,f,d,h];this._invTransform=fp([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),a=this.dataToPoint(r),o=this.getArea(),s=new Et(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var a=n[0],o=n[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return dr(i,n,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,r)),i[1]=l.toGlobalCoord(l.dataToCoord(o,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),l=i.parse(n[0]),u=a.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return dr(i,n,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(n[0]),r),i[1]=o.coordToData(o.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(){var n=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),i=Math.min(n[0],n[1]),a=Math.min(r[0],r[1]),o=Math.max(n[0],n[1])-i,s=Math.max(r[0],r[1])-a;return new Et(i,a,o,s)},t}(k8e),N8e=function(e){ve(t,e);function t(n,r,i,a,o){var s=e.call(this,n,r,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(kB);const B8e=N8e;function Ww(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,p=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(o){var v=o.toGlobalCoord(o.dataToCoord(0));p[d.onZero]=Math.max(Math.min(v,p[1]),p[0])}a.position=[u==="y"?p[d[l]]:f[0],u==="x"?p[d[l]]:f[3]],a.rotation=Math.PI/2*(u==="x"?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[s],a.labelOffset=o?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Wl(n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=t.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-g:g,a.z2=1,a}function CM(e){return e.get("coordinateSystem")==="cartesian2d"}function xM(e){var t={xAxisModel:null,yAxisModel:null};return R(t,function(n,r){var i=r.replace(/Model$/,""),a=e.getReferringComponents(i,fr).models[0];t[r]=a}),t}var Gb=Math.log;function F8e(e,t,n){var r=Sp.prototype,i=r.getTicks.call(n),a=r.getTicks.call(n,!0),o=i.length-1,s=r.getInterval.call(n),l=SB(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var d=Gb(e.base);u=[Gb(u[0])/d,Gb(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var p=r.getInterval.call(e),v=u[0],m=u[1];if(c&&f)p=(m-v)/o;else if(c)for(m=u[0]+p*o;m<u[1]&&isFinite(m)&&isFinite(u[1]);)p=$b(p),m=u[0]+p*o;else if(f)for(v=u[1]-p*o;v>u[0]&&isFinite(v)&&isFinite(u[0]);)p=$b(p),v=u[1]-p*o;else{var g=e.getTicks().length-1;g>o&&(p=$b(p));var y=p*o;m=Math.ceil(u[1]/p)*p,v=vn(m-y),v<0&&u[0]>=0?(v=0,m=vn(y)):m>0&&u[1]<=0&&(m=0,v=-vn(y))}var _=(i[0].value-a[0].value)/s,b=(i[o].value-a[o].value)/s;r.setExtent.call(e,v+p*_,m+p*b),r.setInterval.call(e,p),(_||b)&&r.setNiceExtent.call(e,v+p,m-p)}var z8e=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Hw,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=Dt(o),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var d=+l[f],h=o[d],p=h.model,v=h.scale;Bw(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(h):(Fw(v,p),Bw(v)&&(s=h))}c.length&&(s||(s=c.pop(),Fw(s.scale,s.model)),R(c,function(m){F8e(m.scale,m.model,s.scale)}))}}i(r.x),i(r.y);var a={};R(r.x,function(o){TM(r,"y",o,a)}),R(r.y,function(o){TM(r,"x",o,a)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),a=!r&&t.get("containLabel"),o=Zi(i,{width:n.getWidth(),height:n.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(R(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=C3e(u);if(c){var f=u.isHorizontal()?"height":"width",d=u.model.get(["axisLabel","margin"]);o[f]-=c[f]+d,u.position==="top"?o.y+=c.height+d:u.position==="left"&&(o.x+=c.width+d)}}}),l()),R(this._coordsList,function(u){u.calcAffineTransform()});function l(){R(s,function(u){var c=u.isHorizontal(),f=c?[0,o.width]:[0,o.height],d=u.inverse?1:0;u.setExtent(f[d],f[1-d]),V8e(u,c?o.x:o.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}ze(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===t||a[i].getAxis("y").index===n)return a[i]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,n,r){var i=this._findConvertTarget(n);return i.cartesian?i.cartesian.dataToPoint(r):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(r)):null},e.prototype.convertFromPixel=function(t,n,r){var i=this._findConvertTarget(n);return i.cartesian?i.cartesian.pointToData(r):i.axis?i.axis.coordToData(i.axis.toLocalCoord(r)):null},e.prototype._findConvertTarget=function(t){var n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",fr).models[0],i=t.yAxisModel||n&&n.getReferringComponents("yAxis",fr).models[0],a=t.gridModel,o=this._coordsList,s,l;if(n)s=n.coordinateSystem,ft(o,s)<0&&(s=null);else if(r&&i)s=this.getCartesian(r.componentIndex,i.componentIndex);else if(r)l=this.getAxis("x",r.componentIndex);else if(i)l=this.getAxis("y",i.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(s=this._coordsList[0])}return{cartesian:s,axis:l}},e.prototype.containPoint=function(t){var n=this._coordsList[0];if(n)return n.containPoint(t)},e.prototype._initCartesian=function(t,n,r){var i=this,a=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(n.eachComponent("xAxis",u("x"),this),n.eachComponent("yAxis",u("y"),this),!l.x||!l.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,R(s.x,function(c,f){R(s.y,function(d,h){var p="x"+f+"y"+h,v=new $8e(p);v.master=i,v.model=t,i._coordsMap[p]=v,i._coordsList.push(v),v.addAxis(c),v.addAxis(d)})});function u(c){return function(f,d){if(jb(f,t)){var h=f.get("position");c==="x"?h!=="top"&&h!=="bottom"&&(h=o.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=o.left?"right":"left"),o[h]=!0;var p=new B8e(c,CB(f),[0,0],f.get("type"),h),v=p.type==="category";p.onBand=v&&f.get("boundaryGap"),p.inverse=f.get("inverse"),f.axis=p,p.model=f,p.grid=a,p.index=d,a._axesList.push(p),s[c][d]=p,l[c]++}}}},e.prototype._updateScale=function(t,n){R(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var a=i.model.get("categorySortInfo");i.scale.setSortInfo(a)}}),t.eachSeries(function(i){if(CM(i)){var a=xM(i),o=a.xAxisModel,s=a.yAxisModel;if(!jb(o,n)||!jb(s,n))return;var l=this.getCartesian(o.componentIndex,s.componentIndex),u=i.getData(),c=l.getAxis("x"),f=l.getAxis("y");r(u,c),r(u,f)}},this);function r(i,a){R(TB(i,a.dim),function(o){a.scale.unionExtentFromData(i,o)})}},e.prototype.getTooltipAxes=function(t){var n=[],r=[];return R(this.getCartesians(),function(i){var a=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(a);ft(n,a)<0&&n.push(a),ft(r,o)<0&&r.push(o)}),{baseAxes:n,otherAxes:r}},e.create=function(t,n){var r=[];return t.eachComponent("grid",function(i,a){var o=new e(i,t,n);o.name="grid_"+a,o.resize(i,n,!0),i.coordinateSystem=o,r.push(o)}),t.eachSeries(function(i){if(CM(i)){var a=xM(i),o=a.xAxisModel,s=a.yAxisModel,l=o.getCoordSysModel(),u=l.coordinateSystem;i.coordinateSystem=u.getCartesian(o.componentIndex,s.componentIndex)}}),r},e.dimensions=Hw,e}();function jb(e,t){return e.getCoordSysModel()===t}function TM(e,t,n,r){n.getAxesOnZeroOf=function(){return a?[a]:[]};var i=e[t],a,o=n.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(l!=null)EM(i[l])&&(a=i[l]);else for(var u in i)if(i.hasOwnProperty(u)&&EM(i[u])&&!r[c(i[u])]){a=i[u];break}a&&(r[c(a)]=!0);function c(f){return f.dim+"_"+f.index}}function EM(e){return e&&e.type!=="category"&&e.type!=="time"&&S3e(e)}function V8e(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord=e.dim==="x"?function(i){return i+t}:function(i){return r-i+t},e.toLocalCoord=e.dim==="x"?function(i){return i-t}:function(i){return r-i+t}}const H8e=z8e;var Qo=Math.PI,Ml=function(){function e(t,n){this.group=new qt,this.opt=n,this.axisModel=t,bt(n,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new qt({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return e.prototype.hasBuilder=function(t){return!!AM[t]},e.prototype.add=function(t){AM[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,n,r){var i=P5(n-t),a,o;return fh(i)?(o=r>0?"top":"bottom",a="center"):fh(i-Qo)?(o=r>0?"bottom":"top",a="center"):(o="middle",i>0&&i<Qo?a=r>0?"right":"left":a=r>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),AM={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=r.transform,s=[a[0],0],l=[a[1],0],u=s[0]>l[0];o&&(dr(s,s,o),dr(l,l,o));var c=me({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new ps({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});mh(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var d=t.get(["axisLine","symbol"]);if(d!=null){var h=t.get(["axisLine","symbolSize"]);Be(d)&&(d=[d,d]),(Be(h)||Ut(h))&&(h=[h,h]);var p=IN(t.get(["axisLine","symbolOffset"])||0,h),v=h[0],m=h[1];R([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(g,y){if(d[y]!=="none"&&d[y]!=null){var _=Si(d[y],-v/2,-m/2,v,m,c.stroke,!0),b=g.r+g.offset,S=u?l:s;_.attr({rotation:g.rotate,x:S[0]+b*Math.cos(e.rotation),y:S[1]-b*Math.sin(e.rotation),silent:!0,z2:11}),n.add(_)}})}}},axisTickLabel:function(e,t,n,r){var i=G8e(n,r,t,e),a=q8e(n,r,t,e);if(U8e(t,a,i),j8e(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=lTe(ke(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));fTe(o)}},axisName:function(e,t,n,r){var i=Wl(e.axisName,t.get("name"));if(i){var a=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[a==="start"?u[0]-c*l:a==="end"?u[1]+c*l:(u[0]+u[1])/2,IM(a)?e.labelOffset+o*l:0],d,h=t.get("nameRotate");h!=null&&(h=h*Qo/180);var p;IM(a)?d=Ml.innerTextLayout(e.rotation,h??e.rotation,o):(d=W8e(e.rotation,a,h||0,u),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(d.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),m=t.get("nameTruncate",!0)||{},g=m.ellipsis,y=Wl(e.nameTruncateMaxWidth,m.maxWidth,p),_=new Ft({x:f[0],y:f[1],rotation:d.rotation,silent:Ml.isLabelSilent(t),style:Pr(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:g,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||d.textAlign,verticalAlign:s.get("verticalAlign")||d.textVerticalAlign}),z2:1});if(gp({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var b=Ml.makeAxisEventDataBase(t);b.targetType="axisName",b.name=i,Pt(_).eventData=b}r.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function W8e(e,t,n,r){var i=P5(n-e),a,o,s=r[0]>r[1],l=t==="start"&&!s||t!=="start"&&s;return fh(i-Qo/2)?(o=l?"bottom":"top",a="center"):fh(i-Qo*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",i<Qo*1.5&&i>Qo/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function U8e(e,t,n){if(!xB(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var a=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];r===!1?(ti(a),ti(u)):MM(a,o)&&(r?(ti(o),ti(c)):(ti(a),ti(u))),i===!1?(ti(s),ti(f)):MM(l,s)&&(i?(ti(l),ti(d)):(ti(s),ti(f)))}}function ti(e){e&&(e.ignore=!0)}function MM(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=cp([]);return Y0(i,i,-e.rotation),n.applyTransform(rs([],i,e.getLocalTransform())),r.applyTransform(rs([],i,t.getLocalTransform())),n.intersect(r)}}function IM(e){return e==="middle"||e==="center"}function JB(e,t,n,r,i){for(var a=[],o=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=n,t&&(dr(o,o,t),dr(s,s,t));var c=new ps({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});mh(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,a.push(c)}return a}function G8e(e,t,n,r){var i=n.axis,a=n.getModel("axisTick"),o=a.get("show");if(o==="auto"&&r.handleAutoShown&&(o=r.handleAutoShown("axisTick")),!(!o||i.scale.isBlank())){for(var s=a.getModel("lineStyle"),l=r.tickDirection*a.get("length"),u=i.getTicksCoords(),c=JB(u,t.transform,l,bt(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)e.add(c[f]);return c}}function j8e(e,t,n,r){var i=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=r*a.get("length"),u=bt(s.getLineStyle(),bt(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var f=JB(o[c],t.transform,l,u,"minorticks_"+c),d=0;d<f.length;d++)e.add(f[d])}}function q8e(e,t,n,r){var i=n.axis,a=Wl(r.axisLabelShow,n.get(["axisLabel","show"]));if(!(!a||i.scale.isBlank())){var o=n.getModel("axisLabel"),s=o.get("margin"),l=i.getViewLabels(),u=(Wl(r.labelRotate,o.get("rotate"))||0)*Qo/180,c=Ml.innerTextLayout(r.rotation,u,r.labelDirection),f=n.getCategories&&n.getCategories(!0),d=[],h=Ml.isLabelSilent(n),p=n.get("triggerEvent");return R(l,function(v,m){var g=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(v.tickValue):v.tickValue,y=v.formattedLabel,_=v.rawLabel,b=o;if(f&&f[g]){var S=f[g];ze(S)&&S.textStyle&&(b=new wn(S.textStyle,o,n.ecModel))}var w=b.getTextColor()||n.get(["axisLine","lineStyle","color"]),C=i.dataToCoord(g),T=new Ft({x:C,y:r.labelOffset+r.labelDirection*s,rotation:c.rotation,silent:h,z2:10+(v.level||0),style:Pr(b,{text:y,align:b.getShallow("align",!0)||c.textAlign,verticalAlign:b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||c.textVerticalAlign,fill:Xe(w)?w(i.type==="category"?_:i.type==="value"?g+"":g,m):w})});if(T.anid="label_"+g,p){var E=Ml.makeAxisEventDataBase(n);E.targetType="axisLabel",E.value=_,E.tickIndex=m,i.type==="category"&&(E.dataIndex=g),Pt(T).eventData=E}t.add(T),T.updateTransform(),d.push(T),e.add(T),T.decomposeTransform()}),d}}const eF=Ml;function K8e(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return Y8e(n,e,t),n.seriesInvolved&&X8e(n,e),n}function Y8e(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];R(n.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var l=Eh(s.model),u=e.coordSysAxesInfo[l]={};e.coordSysMap[l]=s;var c=s.model,f=c.getModel("tooltip",r);if(R(s.getAxes(),Ct(v,!1,null)),s.getTooltipAxes&&r&&f.get("show")){var d=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",p=s.getTooltipAxes(f.get(["axisPointer","axis"]));(d||h)&&R(p.baseAxes,Ct(v,h?"cross":!0,d)),h&&R(p.otherAxes,Ct(v,"cross",!1))}function v(m,g,y){var _=y.model.getModel("axisPointer",i),b=_.get("show");if(!(!b||b==="auto"&&!m&&!Uw(_))){g==null&&(g=_.get("triggerTooltip")),_=m?Z8e(y,f,i,t,m,g):_;var S=_.get("snap"),w=Eh(y.model),C=g||S||y.type==="category",T=e.axesInfo[w]={key:w,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:g,involveSeries:C,snap:S,useHandle:Uw(_),seriesModels:[],linkGroup:null};u[w]=T,e.seriesInvolved=e.seriesInvolved||C;var E=Q8e(a,y);if(E!=null){var M=o[E]||(o[E]={axesInfo:{}});M.axesInfo[w]=T,M.mapper=a[E].mapper,T.linkGroup=M}}}})}function Z8e(e,t,n,r,i,a){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};R(s,function(d){l[d]=qe(o.get(d))}),l.snap=e.type!=="category"&&!!a,o.get("type")==="cross"&&(l.type="line");var u=l.label||(l.label={});if(u.show==null&&(u.show=!1),i==="cross"){var c=o.get(["label","show"]);if(u.show=c??!0,!a){var f=l.lineStyle=o.get("crossStyle");f&&bt(u,f.textStyle)}}return e.model.getModel("axisPointer",new wn(l,n,r))}function X8e(e,t){t.eachSeries(function(n){var r=n.coordinateSystem,i=n.get(["tooltip","trigger"],!0),a=n.get(["tooltip","show"],!0);!r||i==="none"||i===!1||i==="item"||a===!1||n.get(["axisPointer","show"],!0)===!1||R(e.coordSysAxesInfo[Eh(r.model)],function(o){var s=o.axis;r.getAxis(s.dim)===s&&(o.seriesModels.push(n),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=n.getData().count())})})}function Q8e(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var a=e[i]||{};if(qb(a[r+"AxisId"],n.id)||qb(a[r+"AxisIndex"],n.componentIndex)||qb(a[r+"AxisName"],n.name))return i}}function qb(e,t){return e==="all"||Ce(e)&&ft(e,t)>=0||e===t}function J8e(e){var t=zx(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,a=n.get("status"),o=n.get("value");o!=null&&(o=r.parse(o));var s=Uw(n);a==null&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),i.value=o,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function zx(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Eh(e)]}function e6e(e){var t=zx(e);return t&&t.axisPointerModel}function Uw(e){return!!e.get(["handle","show"])}function Eh(e){return e.type+"||"+e.id}var OM={},t6e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i,a){this.axisPointerClass&&J8e(n),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(n,i,!0)},t.prototype.updateAxisPointer=function(n,r,i,a){this._doUpdateAxisPointerClass(n,i,!1)},t.prototype.remove=function(n,r){var i=this._axisPointer;i&&i.remove(r)},t.prototype.dispose=function(n,r){this._disposeAxisPointer(r),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(n,r,i){var a=t.getAxisPointerClass(this.axisPointerClass);if(a){var o=e6e(n);o?(this._axisPointer||(this._axisPointer=new a)).render(n,o,r,i):this._disposeAxisPointer(r)}},t.prototype._disposeAxisPointer=function(n){this._axisPointer&&this._axisPointer.dispose(n),this._axisPointer=null},t.registerAxisPointerClass=function(n,r){OM[n]=r},t.getAxisPointerClass=function(n){return n&&OM[n]},t.type="axis",t}(nr);const tF=t6e;var Gw=tn();function n6e(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var a=n.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=r.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var c=s.length,f=Gw(e).splitAreaColors,d=Qe(),h=0;if(f)for(var p=0;p<u.length;p++){var v=f.get(u[p].tickValue);if(v!=null){h=(v+(c-1)*p)%c;break}}var m=i.toGlobalCoord(u[0].coord),g=o.getAreaStyle();s=Ce(s)?s:[s];for(var p=1;p<u.length;p++){var y=i.toGlobalCoord(u[p].coord),_=void 0,b=void 0,S=void 0,w=void 0;i.isHorizontal()?(_=m,b=l.y,S=y-_,w=l.height,m=_+S):(_=l.x,b=m,S=l.width,w=y-b,m=b+w);var C=u[p-1].tickValue;C!=null&&d.set(C,h),t.add(new Gt({anid:C!=null?"area_"+C:null,shape:{x:_,y:b,width:S,height:w},style:bt({fill:s[h]},g),autoBatch:!0,silent:!0})),h=(h+1)%c}Gw(e).splitAreaColors=d}}}function r6e(e){Gw(e).splitAreaColors=null}var i6e=["axisLine","axisTickLabel","axisName"],a6e=["splitArea","splitLine","minorSplitLine"],nF=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return t.prototype.render=function(n,r,i,a){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new qt,this.group.add(this._axisGroup),!!n.get("show")){var s=n.getCoordSysModel(),l=Ww(s,n),u=new eF(n,me({handleAutoShown:function(f){for(var d=s.coordinateSystem.getCartesians(),h=0;h<d.length;h++)if(Bw(d[h].getOtherAxis(n.axis).scale))return!0;return!1}},l));R(i6e,u.add,u),this._axisGroup.add(u.getGroup()),R(a6e,function(f){n.get([f,"show"])&&o6e[f](this,this._axisGroup,n,s)},this);var c=a&&a.type==="changeAxisOrder"&&a.isInitSort;c||O$(o,this._axisGroup,n),e.prototype.render.call(this,n,r,i,a)}},t.prototype.remove=function(){r6e(this)},t.type="cartesianAxis",t}(tF),o6e={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=Ce(s)?s:[s];for(var l=r.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,f=i.getTicksCoords({tickModel:a}),d=[],h=[],p=o.getLineStyle(),v=0;v<f.length;v++){var m=i.toGlobalCoord(f[v].coord);u?(d[0]=m,d[1]=l.y,h[0]=m,h[1]=l.y+l.height):(d[0]=l.x,d[1]=m,h[0]=l.x+l.width,h[1]=m);var g=c++%s.length,y=f[v].tickValue,_=new ps({anid:y!=null?"line_"+f[v].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:bt({stroke:s[g]},p),silent:!0});mh(_.shape,p.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,a=n.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],f=[],d=o.getLineStyle(),h=0;h<u.length;h++)for(var p=0;p<u[h].length;p++){var v=i.toGlobalCoord(u[h][p].coord);l?(c[0]=v,c[1]=s.y,f[0]=v,f[1]=s.y+s.height):(c[0]=s.x,c[1]=v,f[0]=s.x+s.width,f[1]=v);var m=new ps({anid:"minor_line_"+u[h][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:d,silent:!0});mh(m.shape,d.lineWidth),t.add(m)}},splitArea:function(e,t,n,r){n6e(e,t,n,r)}},rF=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="xAxis",t}(nF),s6e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=rF.type,n}return t.type="yAxis",t}(nF),l6e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="grid",n}return t.prototype.render=function(n,r){this.group.removeAll(),n.get("show")&&this.group.add(new Gt({shape:n.coordinateSystem.getRect(),style:bt({fill:n.get("backgroundColor")},n.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(nr),PM={offset:0};function u6e(e){e.registerComponentView(l6e),e.registerComponentModel(M8e),e.registerCoordinateSystem("cartesian2d",H8e),_M(e,"x",Vw,PM),_M(e,"y",Vw,PM),e.registerComponentView(rF),e.registerComponentView(s6e),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var RM="\0_ec_interaction_mutex";function c6e(e,t,n){var r=Vx(e);r[t]=n}function f6e(e,t,n){var r=Vx(e),i=r[t];i===n&&(r[t]=null)}function DM(e,t){return!!Vx(e)[t]}function Vx(e){return e[RM]||(e[RM]={})}na({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},zn);var d6e=function(e){ve(t,e);function t(n){var r=e.call(this)||this;r._zr=n;var i=Fe(r._mousedownHandler,r),a=Fe(r._mousemoveHandler,r),o=Fe(r._mouseupHandler,r),s=Fe(r._mousewheelHandler,r),l=Fe(r._pinchHandler,r);return r.enable=function(u,c){this.disable(),this._opt=bt(qe(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),u==null&&(u=!0),(u===!0||u==="move"||u==="pan")&&(n.on("mousedown",i),n.on("mousemove",a),n.on("mouseup",o)),(u===!0||u==="scale"||u==="zoom")&&(n.on("mousewheel",s),n.on("pinch",l))},r.disable=function(){n.off("mousedown",i),n.off("mousemove",a),n.off("mouseup",o),n.off("mousewheel",s),n.off("pinch",l)},r}return t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(n){this.pointerChecker=n},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(n){if(!mE(n)){for(var r=n.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var i=n.offsetX,a=n.offsetY;this.pointerChecker&&this.pointerChecker(n,i,a)&&(this._x=i,this._y=a,this._dragging=!0)}},t.prototype._mousemoveHandler=function(n){if(!(!this._dragging||!Mg("moveOnMouseMove",n,this._opt)||n.gestureEvent==="pinch"||DM(this._zr,"globalPan"))){var r=n.offsetX,i=n.offsetY,a=this._x,o=this._y,s=r-a,l=i-o;this._x=r,this._y=i,this._opt.preventDefaultMouseMove&&ao(n.event),iF(this,"pan","moveOnMouseMove",n,{dx:s,dy:l,oldX:a,oldY:o,newX:r,newY:i,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(n){mE(n)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(n){var r=Mg("zoomOnMouseWheel",n,this._opt),i=Mg("moveOnMouseWheel",n,this._opt),a=n.wheelDelta,o=Math.abs(a),s=n.offsetX,l=n.offsetY;if(!(a===0||!r&&!i)){if(r){var u=o>3?1.4:o>1?1.2:1.1,c=a>0?u:1/u;Kb(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:s,originY:l,isAvailableBehavior:null})}if(i){var f=Math.abs(a),d=(a>0?1:-1)*(f>3?.4:f>1?.15:.05);Kb(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:d,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(n){if(!DM(this._zr,"globalPan")){var r=n.pinchScale>1?1.1:1/1.1;Kb(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t}(Ti);function Kb(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(ao(r.event),iF(e,t,n,r,i))}function iF(e,t,n,r,i){i.isAvailableBehavior=Fe(Mg,null,n,r),e.trigger(t,i)}function Mg(e,t,n){var r=n[e];return!e||r&&(!Be(r)||t.event[r+"Key"])}const h6e=d6e;var p6e={axisPointer:1,tooltip:1,brush:1};function v6e(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!p6e.hasOwnProperty(r.mainType)&&i&&i.model!==n}var Ah=R,g6e=ze,Fm=-1,Hx=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=qe(t);this.type=r,this.mappingMethod=n,this._normalizeData=b6e[n];var a=e.visualHandlers[r];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],n==="piecewise"?(Yb(i),m6e(i)):n==="category"?i.categories?y6e(i):Yb(i,!0):(bi(n!=="linear"||i.dataExtent),Yb(i))}return e.prototype.mapValueToVisual=function(t){var n=this._normalizeData(t);return this._normalizedToVisual(n,t)},e.prototype.getNormalizer=function(){return Fe(this._normalizeData,this)},e.listVisualTypes=function(){return Dt(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,n,r){ze(t)?R(t,n,r):n.call(r,t)},e.mapVisual=function(t,n,r){var i,a=Ce(t)?[]:ze(t)?{}:(i=!0,null);return e.eachVisual(t,function(o,s){var l=n.call(r,o,s);i?a=l:a[s]=l}),a},e.retrieveVisuals=function(t){var n={},r;return t&&Ah(e.visualHandlers,function(i,a){t.hasOwnProperty(a)&&(n[a]=t[a],r=!0)}),r?n:null},e.prepareVisualTypes=function(t){if(Ce(t))t=t.slice();else if(g6e(t)){var n=[];Ah(t,function(r,i){n.push(i)}),t=n}else return[];return t.sort(function(r,i){return i==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,n){return n==="color"?!!(t&&t.indexOf(n)===0):t===n},e.findPieceIndex=function(t,n,r){for(var i,a=1/0,o=0,s=n.length;o<s;o++){var l=n[o].value;if(l!=null){if(l===t||Be(l)&&l===t+"")return o;r&&d(l,o)}}for(var o=0,s=n.length;o<s;o++){var u=n[o],c=u.interval,f=u.close;if(c){if(c[0]===-1/0){if(Hv(f[1],t,c[1]))return o}else if(c[1]===1/0){if(Hv(f[0],c[0],t))return o}else if(Hv(f[0],c[0],t)&&Hv(f[1],t,c[1]))return o;r&&d(c[0],o),r&&d(c[1],o)}}if(r)return t===1/0?n.length-1:t===-1/0?0:i;function d(h,p){var v=Math.abs(h-t);v<a&&(a=v,i=p)}},e.visualHandlers={color:{applyVisual:Rf("color"),getColorMapper:function(){var t=this.option;return Fe(t.mappingMethod==="category"?function(n,r){return!r&&(n=this._normalizeData(n)),Zf.call(this,n)}:function(n,r,i){var a=!!i;return!r&&(n=this._normalizeData(n)),i=yd(n,t.parsedVisual,i),a?i:Gi(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Gi(yd(t,this.option.parsedVisual),"rgba")},category:Zf,piecewise:function(t,n){var r=qw.call(this,n);return r==null&&(r=Gi(yd(t,this.option.parsedVisual),"rgba")),r},fixed:Xs}},colorHue:Vv(function(t,n){return mg(t,n)}),colorSaturation:Vv(function(t,n){return mg(t,null,n)}),colorLightness:Vv(function(t,n){return mg(t,null,null,n)}),colorAlpha:Vv(function(t,n){return yk(t,n)}),decal:{applyVisual:Rf("decal"),_normalizedToVisual:{linear:null,category:Zf,piecewise:null,fixed:null}},opacity:{applyVisual:Rf("opacity"),_normalizedToVisual:jw([0,1])},liftZ:{applyVisual:Rf("liftZ"),_normalizedToVisual:{linear:Xs,category:Xs,piecewise:Xs,fixed:Xs}},symbol:{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("symbol",i)},_normalizedToVisual:{linear:LM,category:Zf,piecewise:function(t,n){var r=qw.call(this,n);return r==null&&(r=LM.call(this,t)),r},fixed:Xs}},symbolSize:{applyVisual:Rf("symbolSize"),_normalizedToVisual:jw([0,1])}},e}();function m6e(e){var t=e.pieceList;e.hasSpecialVisual=!1,R(t,function(n,r){n.originIndex=r,n.visual!=null&&(e.hasSpecialVisual=!0)})}function y6e(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(Ah(t,function(o,s){n[o]=s}),!Ce(r)){var i=[];ze(r)?Ah(r,function(o,s){var l=n[s];i[l??Fm]=o}):i[Fm]=r,r=aF(e,i)}for(var a=t.length-1;a>=0;a--)r[a]==null&&(delete n[t[a]],t.pop())}function Yb(e,t){var n=e.visual,r=[];ze(n)?Ah(n,function(a){r.push(a)}):n!=null&&r.push(n);var i={color:1,symbol:1};!t&&r.length===1&&!i.hasOwnProperty(e.type)&&(r[1]=r[0]),aF(e,r)}function Vv(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:jw([0,1])}}function LM(e){var t=this.option.visual;return t[Math.round(en(e,[0,1],[0,t.length-1],!0))]||{}}function Rf(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function Zf(e){var t=this.option.visual;return t[this.option.loop&&e!==Fm?e%t.length:e]}function Xs(){return this.option.visual[0]}function jw(e){return{linear:function(t){return en(t,e,this.option.visual,!0)},category:Zf,piecewise:function(t,n){var r=qw.call(this,n);return r==null&&(r=en(t,e,this.option.visual,!0)),r},fixed:Xs}}function qw(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=Hx.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function aF(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=ke(t,function(n){var r=Or(n);return r||[0,0,0,1]})),t}var b6e={linear:function(e){return en(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=Hx.findPieceIndex(e,t,!0);if(n!=null)return en(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t??Fm},fixed:zn};function Hv(e,t,n){return e?t<=n:t<n}const Rr=Hx;function rf(e,t,n,r,i,a){e=e||0;var o=n[1]-n[0];if(i!=null&&(i=Pu(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),r==="all"){var s=Math.abs(t[1]-t[0]);s=Pu(s,[0,o]),i=a=Pu(s,[i,a]),r=0}t[0]=Pu(t[0],n),t[1]=Pu(t[1],n);var l=Zb(t,r);t[r]+=e;var u=i||0,c=n.slice();l.sign<0?c[0]+=u:c[1]-=u,t[r]=Pu(t[r],c);var f;return f=Zb(t,r),i!=null&&(f.sign!==l.sign||f.span<i)&&(t[1-r]=t[r]+l.sign*i),f=Zb(t,r),a!=null&&f.span>a&&(t[1-r]=t[r]+f.sign*a),t}function Zb(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function Pu(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var Yl=!0,Mh=Math.min,Lc=Math.max,_6e=Math.pow,w6e=1e4,S6e=6,C6e=6,kM="globalPan",x6e={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},T6e={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},$M={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},E6e=0,A6e=function(e){ve(t,e);function t(n){var r=e.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=n,r.group=new qt,r._uid="brushController_"+E6e++,R(L6e,function(i,a){this._handlers[a]=Fe(i,this)},r),r}return t.prototype.enableBrush=function(n){return this._brushType&&this._doDisableBrush(),n.brushType&&this._doEnableBrush(n),this},t.prototype._doEnableBrush=function(n){var r=this._zr;this._enableGlobalPan||c6e(r,kM,this._uid),R(this._handlers,function(i,a){r.on(a,i)}),this._brushType=n.brushType,this._brushOption=nt(qe($M),n,!0)},t.prototype._doDisableBrush=function(){var n=this._zr;f6e(n,kM,this._uid),R(this._handlers,function(r,i){n.off(i,r)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(n){if(n&&n.length){var r=this._panels={};R(n,function(i){r[i.panelId]=qe(i)})}else this._panels=null;return this},t.prototype.mount=function(n){n=n||{},this._enableGlobalPan=n.enableGlobalPan;var r=this.group;return this._zr.add(r),r.attr({x:n.x||0,y:n.y||0,rotation:n.rotation||0,scaleX:n.scaleX||1,scaleY:n.scaleY||1}),this._transform=r.getLocalTransform(),this},t.prototype.updateCovers=function(n){n=ke(n,function(d){return nt(qe($M),d,!0)});var r="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new Mx(i,n,u,l).add(c).update(c).remove(f).execute(),this;function l(d,h){return(d.id!=null?d.id:r+h)+"-"+d.brushType}function u(d,h){return l(d.__brushOption,h)}function c(d,h){var p=n[d];if(h!=null&&i[h]===s)a[d]=i[h];else{var v=a[d]=h!=null?(i[h].__brushOption=p,i[h]):sF(o,oF(o,p));Wx(o,v)}}function f(d){i[d]!==s&&o.group.remove(i[d])}},t.prototype.unmount=function(){return this.enableBrush(!1),Kw(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Ti);function oF(e,t){var n=My[t.brushType].createCover(e,t);return n.__brushOption=t,uF(n,t),e.group.add(n),n}function sF(e,t){var n=Ux(t);return n.endCreating&&(n.endCreating(e,t),uF(t,t.__brushOption)),t}function lF(e,t){var n=t.__brushOption;Ux(t).updateCoverShape(e,t,n.range,n)}function uF(e,t){var n=t.z;n==null&&(n=w6e),e.traverse(function(r){r.z=n,r.z2=n})}function Wx(e,t){Ux(t).updateCommon(e,t),lF(e,t)}function Ux(e){return My[e.__brushOption.brushType]}function Gx(e,t,n){var r=e._panels;if(!r)return Yl;var i,a=e._transform;return R(r,function(o){o.isTargetByCursor(t,n,a)&&(i=o)}),i}function cF(e,t){var n=e._panels;if(!n)return Yl;var r=t.__brushOption.panelId;return r!=null?n[r]:Yl}function Kw(e){var t=e._covers,n=t.length;return R(t,function(r){e.group.remove(r)},e),t.length=0,!!n}function Zl(e,t){var n=ke(e._covers,function(r){var i=r.__brushOption,a=qe(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function M6e(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],a=n[1]-r[1],o=_6e(i*i+a*a,.5);return o>S6e}function fF(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function dF(e,t,n,r){var i=new qt;return i.add(new Gt({name:"main",style:jx(n),silent:!0,draggable:!0,cursor:"move",drift:Ct(NM,e,t,i,["n","s","w","e"]),ondragend:Ct(Zl,t,{isEnd:!0})})),R(r,function(a){i.add(new Gt({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Ct(NM,e,t,i,a),ondragend:Ct(Zl,t,{isEnd:!0})}))}),i}function hF(e,t,n,r){var i=r.brushStyle.lineWidth||0,a=Lc(i,C6e),o=n[0][0],s=n[1][0],l=o-i/2,u=s-i/2,c=n[0][1],f=n[1][1],d=c-a+i/2,h=f-a+i/2,p=c-o,v=f-s,m=p+i,g=v+i;Fa(e,t,"main",o,s,p,v),r.transformable&&(Fa(e,t,"w",l,u,a,g),Fa(e,t,"e",d,u,a,g),Fa(e,t,"n",l,u,m,a),Fa(e,t,"s",l,h,m,a),Fa(e,t,"nw",l,u,a,a),Fa(e,t,"ne",d,u,a,a),Fa(e,t,"sw",l,h,a,a),Fa(e,t,"se",d,h,a,a))}function Yw(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(jx(n)),i.attr({silent:!r,cursor:r?"move":"default"}),R([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(a){var o=t.childOfName(a.join("")),s=a.length===1?Zw(e,a[0]):O6e(e,a);o&&o.attr({silent:!r,invisible:!r,cursor:r?T6e[s]+"-resize":null})})}function Fa(e,t,n,r,i,a,o){var s=t.childOfName(n);s&&s.setShape(R6e(qx(e,t,[[r,i],[r+a,i+o]])))}function jx(e){return bt({strokeNoScale:!0},e.brushStyle)}function pF(e,t,n,r){var i=[Mh(e,n),Mh(t,r)],a=[Lc(e,n),Lc(t,r)];return[[i[0],a[0]],[i[1],a[1]]]}function I6e(e){return as(e.group)}function Zw(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=ly(n[t],I6e(e));return r[i]}function O6e(e,t){var n=[Zw(e,t[0]),Zw(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function NM(e,t,n,r,i,a){var o=n.__brushOption,s=e.toRectRange(o.range),l=vF(t,i,a);R(r,function(u){var c=x6e[u];s[c[0]][c[1]]+=l[c[0]]}),o.range=e.fromRectRange(pF(s[0][0],s[1][0],s[0][1],s[1][1])),Wx(t,n),Zl(t,{isEnd:!1})}function P6e(e,t,n,r){var i=t.__brushOption.range,a=vF(e,n,r);R(i,function(o){o[0]+=a[0],o[1]+=a[1]}),Wx(e,t),Zl(e,{isEnd:!1})}function vF(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),a=r.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function qx(e,t,n){var r=cF(e,t);return r&&r!==Yl?r.clipPath(n,e._transform):qe(n)}function R6e(e){var t=Mh(e[0][0],e[1][0]),n=Mh(e[0][1],e[1][1]),r=Lc(e[0][0],e[1][0]),i=Lc(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function D6e(e,t,n){if(!(!e._brushType||k6e(e,t.offsetX,t.offsetY))){var r=e._zr,i=e._covers,a=Gx(e,t,n);if(!e._dragging)for(var o=0;o<i.length;o++){var s=i[o].__brushOption;if(a&&(a===Yl||s.panelId===a.panelId)&&My[s.brushType].contain(i[o],n[0],n[1]))return}a&&r.setCursorStyle("crosshair")}}function Xw(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Qw(e,t,n){return e.childOfName("main").contain(t,n)}function gF(e,t,n,r){var i=e._creatingCover,a=e._creatingPanel,o=e._brushOption,s;if(e._track.push(n.slice()),M6e(e)||i){if(a&&!i){o.brushMode==="single"&&Kw(e);var l=qe(o);l.brushType=BM(l.brushType,a),l.panelId=a===Yl?null:a.panelId,i=e._creatingCover=oF(e,l),e._covers.push(i)}if(i){var u=My[BM(e._brushType,a)],c=i.__brushOption;c.range=u.getCreatingRange(qx(e,i,e._track)),r&&(sF(e,i),u.updateCommon(e,i)),lF(e,i),s={isEnd:r}}}else r&&o.brushMode==="single"&&o.removeOnClick&&Gx(e,t,n)&&Kw(e)&&(s={isEnd:r,removeOnClick:!0});return s}function BM(e,t){return e==="auto"?t.defaultBrushType:e}var L6e={mousedown:function(e){if(this._dragging)FM(this,e);else if(!e.target||!e.target.draggable){Xw(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=Gx(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(D6e(this,e,r),this._dragging){Xw(e);var i=gF(this,e,r,!1);i&&Zl(this,i)}},mouseup:function(e){FM(this,e)}};function FM(e,t){if(e._dragging){Xw(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),a=gF(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&Zl(e,a)}}function k6e(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var My={lineX:zM(0),lineY:zM(1),rect:{createCover:function(e,t){function n(r){return r}return dF({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=fF(e);return pF(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){hF(e,t,n,r)},updateCommon:Yw,contain:Qw},polygon:{createCover:function(e,t){var n=new qt;return n.add(new ou({name:"main",style:jx(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Qc({name:"main",draggable:!0,drift:Ct(P6e,e,t),ondragend:Ct(Zl,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:qx(e,t,n)})},updateCommon:Yw,contain:Qw}};function zM(e){return{createCover:function(t,n){return dF({toRectRange:function(r){var i=[r,[0,100]];return e&&i.reverse(),i},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=fF(t),r=Mh(n[0][e],n[1][e]),i=Lc(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var a,o=cF(t,n);if(o!==Yl&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,a];e&&l.reverse(),hF(t,n,l,i)},updateCommon:Yw,contain:Qw}}const $6e=A6e;function N6e(e){return e=Kx(e),function(t){return Z5(t,e)}}function B6e(e,t){return e=Kx(e),function(n){var r=t??n,i=r?e.width:e.height,a=r?e.x:e.y;return[a,a+(i||0)]}}function F6e(e,t,n){var r=Kx(e);return function(i,a){return r.contain(a[0],a[1])&&!v6e(i,t,n)}}function Kx(e){return Et.create(e)}function z6e(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||ot(e,"text")))}function V6e(e,t,n){var r=e,i,a,o;if(t==="text")o=r;else{o={},ot(r,"text")&&(o.text=r.text),ot(r,"rich")&&(o.rich=r.rich),ot(r,"textFill")&&(o.fill=r.textFill),ot(r,"textStroke")&&(o.stroke=r.textStroke),ot(r,"fontFamily")&&(o.fontFamily=r.fontFamily),ot(r,"fontSize")&&(o.fontSize=r.fontSize),ot(r,"fontStyle")&&(o.fontStyle=r.fontStyle),ot(r,"fontWeight")&&(o.fontWeight=r.fontWeight),a={type:"text",style:o,silent:!0},i={};var s=ot(r,"textPosition");n?i.position=s?r.textPosition:"inside":s&&(i.position=r.textPosition),ot(r,"textPosition")&&(i.position=r.textPosition),ot(r,"textOffset")&&(i.offset=r.textOffset),ot(r,"textRotation")&&(i.rotation=r.textRotation),ot(r,"textDistance")&&(i.distance=r.textDistance)}return VM(o,e),R(o.rich,function(l){VM(l,l)}),{textConfig:i,textContent:a}}function VM(e,t){t&&(t.font=t.textFont||t.font,ot(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),ot(t,"textAlign")&&(e.align=t.textAlign),ot(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),ot(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),ot(t,"textWidth")&&(e.width=t.textWidth),ot(t,"textHeight")&&(e.height=t.textHeight),ot(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),ot(t,"textPadding")&&(e.padding=t.textPadding),ot(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),ot(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),ot(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),ot(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),ot(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),ot(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),ot(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}var mF={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},HM=Dt(mF);Yi(Aa,function(e,t){return e[t]=1,e},{});Aa.join(", ");var zm=["","style","shape","extra"],kc=tn();function Yx(e,t,n,r,i){var a=e+"Animation",o=U5(e,r,i)||{},s=kc(t).userDuring;return o.duration>0&&(o.during=s?Fe(q6e,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=e),me(o,n[a]),o}function Xb(e,t,n,r){r=r||{};var i=r.dataIndex,a=r.isInit,o=r.clearStyle,s=n.isAnimationEnabled(),l=kc(e),u=t.style;l.userDuring=t.during;var c={},f={};if(Y6e(e,t,f),UM("shape",t,f),UM("extra",t,f),!a&&s&&(K6e(e,t,c),WM("shape",e,t,c),WM("extra",e,t,c),Z6e(e,t,u,c)),f.style=u,W6e(e,f,o),G6e(e,t),s)if(a){var d={};R(zm,function(p){var v=p?t[p]:t;v&&v.enterFrom&&(p&&(d[p]=d[p]||{}),me(p?d[p]:d,v.enterFrom))});var h=Yx("enter",e,t,n,i);h.duration>0&&e.animateFrom(d,h)}else U6e(e,t,i||0,n,c);yF(e,t),u?e.dirty():e.markRedraw()}function yF(e,t){for(var n=kc(e).leaveToProps,r=0;r<zm.length;r++){var i=zm[r],a=i?t[i]:t;a&&a.leaveTo&&(n||(n=kc(e).leaveToProps={}),i&&(n[i]=n[i]||{}),me(i?n[i]:n,a.leaveTo))}}function H6e(e,t,n,r){if(e){var i=e.parent,a=kc(e).leaveToProps;if(a){var o=Yx("update",e,t,n,0);o.done=function(){i.remove(e),r&&r()},e.animateTo(a,o)}else i.remove(e),r&&r()}}function Il(e){return e==="all"}function W6e(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var i=e.animators,a=0;a<i.length;a++){var o=i[a];o.targetName==="style"&&o.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}function U6e(e,t,n,r,i){if(i){var a=Yx("update",e,t,r,n);a.duration>0&&e.animateFrom(i,a)}}function G6e(e,t){ot(t,"silent")&&(e.silent=t.silent),ot(t,"ignore")&&(e.ignore=t.ignore),e instanceof au&&ot(t,"invisible")&&(e.invisible=t.invisible),e instanceof Nt&&ot(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var ca={},j6e={setTransform:function(e,t){return ca.el[e]=t,this},getTransform:function(e){return ca.el[e]},setShape:function(e,t){var n=ca.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=ca.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=ca.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=ca.el.style;if(t)return t[e]},setExtra:function(e,t){var n=ca.el.extra||(ca.el.extra={});return n[e]=t,this},getExtra:function(e){var t=ca.el.extra;if(t)return t[e]}};function q6e(){var e=this,t=e.el;if(t){var n=kc(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}ca.el=t,r(j6e)}}function WM(e,t,n,r){var i=n[e];if(i){var a=t[e],o;if(a){var s=n.transition,l=i.transition;if(l)if(!o&&(o=r[e]={}),Il(l))me(o,a);else for(var u=Sn(l),c=0;c<u.length;c++){var f=u[c],d=a[f];o[f]=d}else if(Il(s)||ft(s,e)>=0){!o&&(o=r[e]={});for(var h=Dt(a),c=0;c<h.length;c++){var f=h[c],d=a[f];X6e(i[f],d)&&(o[f]=d)}}}}}function UM(e,t,n){var r=t[e];if(r)for(var i=n[e]={},a=Dt(r),o=0;o<a.length;o++){var s=a[o];i[s]=bd(r[s])}}function K6e(e,t,n){for(var r=t.transition,i=Il(r)?Aa:Sn(r||[]),a=0;a<i.length;a++){var o=i[a];if(!(o==="style"||o==="shape"||o==="extra")){var s=e[o];n[o]=s}}}function Y6e(e,t,n){for(var r=0;r<HM.length;r++){var i=HM[r],a=mF[i],o=t[i];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(var r=0;r<Aa.length;r++){var s=Aa[r];t[s]!=null&&(n[s]=t[s])}}function Z6e(e,t,n,r){if(n){var i=e.style,a;if(i){var o=n.transition,s=t.transition;if(o&&!Il(o)){var l=Sn(o);!a&&(a=r.style={});for(var u=0;u<l.length;u++){var c=l[u],f=i[c];a[c]=f}}else if(e.getAnimationStyleProps&&(Il(s)||Il(o)||ft(s,"style")>=0)){var d=e.getAnimationStyleProps(),h=d?d.style:null;if(h){!a&&(a=r.style={});for(var p=Dt(n),u=0;u<p.length;u++){var c=p[u];if(h[c]){var f=i[c];a[c]=f}}}}}}}function X6e(e,t){return tr(e)?e!==t:e!=null&&isFinite(e)}var bF=tn(),Q6e=["percent","easing","shape","style","extra"];function J6e(e){e.stopAnimation("keyframe"),e.attr(bF(e))}function Jw(e,t,n){if(!(!n.isAnimationEnabled()||!t)){if(Ce(t)){R(t,function(s){Jw(e,s,n)});return}var r=t.keyframes,i=t.duration;if(n&&i==null){var a=U5("enter",n,0);i=a&&a.duration}if(!(!r||!i)){var o=bF(e);R(zm,function(s){if(!(s&&!e[s])){var l;r.sort(function(u,c){return u.percent-c.percent}),R(r,function(u){var c=e.animators,f=s?u[s]:u;if(f){var d=Dt(f);if(s||(d=hn(d,function(v){return ft(Q6e,v)<0})),!!d.length){l||(l=e.animate(s,t.loop,!0),l.scope="keyframe");for(var h=0;h<c.length;h++)c[h]!==l&&c[h].targetName===l.targetName&&c[h].stopTracks(d);s&&(o[s]=o[s]||{});var p=s?o[s]:o;R(d,function(v){p[v]=((s?e[s]:e)||{})[v]}),l.whenWithKeys(i*u.percent,f,d,u.easing)}}}),l&&l.delay(t.delay||0).duration(i).start(t.easing)}})}}}var nl=tn(),GM=qe,Qb=Fe,eEe=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,n,r,i){var a=n.get("value"),o=n.get("status");if(this._axisModel=t,this._axisPointerModel=n,this._api=r,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,a,t,n,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,n);if(!s)s=this._group=new qt,this.createPointerEl(s,u,t,n),this.createLabelEl(s,u,t,n),r.getZr().add(s);else{var d=Ct(jM,n,f);this.updatePointerEl(s,u,d),this.updateLabelEl(s,u,d,n)}KM(s,n,!0),this._renderHandle(a)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,n){var r=n.get("animation"),i=t.axis,a=i.type==="category",o=n.get("snap");if(!o&&!a)return!1;if(r==="auto"||r==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var l=zx(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,i,a){},e.prototype.createPointerEl=function(t,n,r,i){var a=n.pointer;if(a){var o=nl(t).pointerEl=new Ywe[a.type](GM(n.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,n,r,i){if(n.label){var a=nl(t).labelEl=new Ft(GM(n.label));t.add(a),qM(a,i)}},e.prototype.updatePointerEl=function(t,n,r){var i=nl(t).pointerEl;i&&n.pointer&&(i.setStyle(n.pointer.style),r(i,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,i){var a=nl(t).labelEl;a&&(a.setStyle(n.label.style),r(a,{x:n.label.x,y:n.label.y}),qM(a,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||o==="hide"){i&&r.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=vp(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){ao(u.event)},onmousedown:Qb(this._onHandleDragMove,this,0,0),drift:Qb(this._onHandleDragMove,this),ondragend:Qb(this._onHandleDragEnd,this)}),r.add(i)),KM(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");Ce(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,wy(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,n){jM(this._axisPointerModel,!n&&this._moveAnimation,this._handle,Jb(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var i=this.updateHandleTransform(Jb(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=i,r.stopAnimation(),r.attr(Jb(i)),nl(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,i=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),i&&n.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Im(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e}();function jM(e,t,n,r){_F(nl(n).lastProp,r)||(nl(n).lastProp=r,t?Vn(n,r,e):(n.stopAnimation(),n.attr(r)))}function _F(e,t){if(ze(e)&&ze(t)){var n=!0;return R(t,function(r,i){n=n&&_F(e[i],r)}),!!n}else return e===t}function qM(e,t){e[t.get(["label","show"])?"show":"hide"]()}function Jb(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function KM(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(r!=null&&(a.z=r),i!=null&&(a.zlevel=i),a.silent=n)})}const tEe=eEe;function nEe(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function rEe(e,t,n,r,i){var a=n.get("value"),o=wF(a,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=ef(s.get("padding")||0),u=s.getFont(),c=Z0(o,u),f=i.position,d=c.width+l[1]+l[3],h=c.height+l[0]+l[2],p=i.align;p==="right"&&(f[0]-=d),p==="center"&&(f[0]-=d/2);var v=i.verticalAlign;v==="bottom"&&(f[1]-=h),v==="middle"&&(f[1]-=h/2),iEe(f,d,h,r);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:Pr(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function iEe(e,t,n,r){var i=r.getWidth(),a=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,a)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function wF(e,t,n,r,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:Lx(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};R(r,function(l){var u=n.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,f=u&&u.getDataParams(c);f&&s.seriesData.push(f)}),Be(o)?a=o.replace("{value}",a):Xe(o)&&(a=o(s))}return a}function SF(e,t,n){var r=Ul();return Y0(r,r,n.rotation),hm(r,r,n.position),os([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function aEe(e,t,n,r,i,a){var o=eF.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),rEe(t,r,i,a,{position:SF(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function oEe(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function sEe(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}var lEe=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),c=YM(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(r,!0));if(u&&u!=="none"){var d=nEe(a),h=uEe[u](s,f,c);h.style=d,n.graphicKey=h.type,n.pointer=h}var p=Ww(l.model,i);aEe(r,n,p,i,a,o)},t.prototype.getHandleTransform=function(n,r,i){var a=Ww(r.axis.grid.model,r,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=SF(r.axis,n,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=YM(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[n.x,n.y];f[c]+=r[c],f[c]=Math.min(l[1],f[c]),f[c]=Math.max(l[0],f[c]);var d=(u[1]+u[0])/2,h=[d,d];h[c]=f[c];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:n.rotation,cursorPoint:h,tooltipOption:p[c]}},t}(tEe);function YM(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var uEe={line:function(e,t,n){var r=oEe([t,n[0]],[t,n[1]],ZM(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:sEe([t-r/2,n[0]],[r,i],ZM(e))}}};function ZM(e){return e.dim==="x"?0:1}const cEe=lEe;var fEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Lt);const dEe=fEe;var Za=tn(),hEe=R;function CF(e,t,n){if(!vt.node){var r=t.getZr();Za(r).records||(Za(r).records={}),pEe(r,t);var i=Za(r).records[e]||(Za(r).records[e]={});i.handler=n}}function pEe(e,t){if(Za(e).initialized)return;Za(e).initialized=!0,n("click",Ct(XM,"click")),n("mousemove",Ct(XM,"mousemove")),n("globalout",gEe);function n(r,i){e.on(r,function(a){var o=mEe(t);hEe(Za(e).records,function(s){s&&i(s,a,o.dispatchAction)}),vEe(o.pendings,t)})}}function vEe(e,t){var n=e.showTip.length,r=e.hideTip.length,i;n?i=e.showTip[n-1]:r&&(i=e.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function gEe(e,t,n){e.handler("leave",null,n)}function XM(e,t,n,r){t.handler(e,n,r)}function mEe(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function eS(e,t){if(!vt.node){var n=t.getZr(),r=(Za(n).records||{})[e];r&&(Za(n).records[e]=null)}}var yEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var a=r.getComponent("tooltip"),o=n.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";CF("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(n,r){eS("axisPointer",r)},t.prototype.dispose=function(n,r){eS("axisPointer",r)},t.type="axisPointer",t}(nr);const bEe=yEe;function xF(e,t){var n=[],r=e.seriesIndex,i;if(r==null||!(i=t.getSeriesByIndex(r)))return{point:[]};var a=i.getData(),o=Gl(a,e);if(o==null||o<0||Ce(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),f=c.dim,d=u.dim,h=f==="x"||f==="radius"?1:0,p=a.mapDimension(d),v=[];v[h]=a.get(p,o),v[1-h]=a.get(a.getCalculationInfo("stackResultDimension"),o),n=l.dataToPoint(v)||[]}else n=l.dataToPoint(a.getValues(ke(l.dimensions,function(g){return a.mapDimension(g)}),o))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),n=[m.x+m.width/2,m.y+m.height/2]}return{point:n,el:s}}var QM=tn();function _Ee(e,t,n){var r=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||Fe(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Ig(i)&&(i=xF({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Ig(i),u=a.axesInfo,c=s.axesInfo,f=r==="leave"||Ig(i),d={},h={},p={list:[],map:{}},v={showPointer:Ct(SEe,h),showTooltip:Ct(CEe,p)};R(s.coordSysMap,function(g,y){var _=l||g.containPoint(i);R(s.coordSysAxesInfo[y],function(b,S){var w=b.axis,C=AEe(u,b);if(!f&&_&&(!u||C)){var T=C&&C.value;T==null&&!l&&(T=w.pointToData(i)),T!=null&&JM(b,T,v,!1,d)}})});var m={};return R(c,function(g,y){var _=g.linkGroup;_&&!h[y]&&R(_.axesInfo,function(b,S){var w=h[S];if(b!==g&&w){var C=w.value;_.mapper&&(C=g.axis.scale.parse(_.mapper(C,eI(b),eI(g)))),m[g.key]=C}})}),R(m,function(g,y){JM(c[y],g,v,!0,d)}),xEe(h,c,d),TEe(p,i,e,o),EEe(c,o,n),d}}function JM(e,t,n,r,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var o=wEe(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&me(i,s[0]),!r&&e.snap&&a.containData(l)&&l!=null&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,o,l)}}function wEe(e,t){var n=t.axis,r=n.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return R(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(r),f,d;if(l.getAxisTooltipData){var h=l.getAxisTooltipData(c,e,n);d=h.dataIndices,f=h.nestestValue}else{if(d=l.getData().indicesOfNearest(c[0],e,n.type==="category"?.5:null),!d.length)return;f=l.getData().get(c[0],d[0])}if(!(f==null||!isFinite(f))){var p=e-f,v=Math.abs(p);v<=o&&((v<o||p>=0&&s<0)&&(o=v,s=p,i=f,a.length=0),R(d,function(m){a.push({seriesIndex:l.seriesIndex,dataIndexInside:m,dataIndex:l.getData().getRawIndex(m)})}))}}),{payloadBatch:a,snapToValue:i}}function SEe(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function CEe(e,t,n,r){var i=n.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=Eh(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function xEe(e,t,n){var r=n.axesInfo=[];R(t,function(i,a){var o=i.axisPointerModel.option,s=e[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&r.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function TEe(e,t,n,r){if(Ig(t)||!e.list.length){r({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function EEe(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",a=QM(r)[i]||{},o=QM(r)[i]={};R(e,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&R(f.seriesDataIndices,function(d){var h=d.seriesIndex+" | "+d.dataIndex;o[h]=d})});var s=[],l=[];R(a,function(u,c){!o[c]&&l.push(u)}),R(o,function(u,c){!a[c]&&s.push(u)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function AEe(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function eI(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function Ig(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function TF(e){tF.registerAxisPointerClass("CartesianAxisPointer",cEe),e.registerComponentModel(dEe),e.registerComponentView(bEe),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!Ce(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=K8e(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},_Ee)}function MEe(e){Qr(u6e),Qr(TF)}function IEe(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),t.parentId==null){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function tI(e,t){var n;return R(t,function(r){e[r]!=null&&e[r]!=="auto"&&(n=!0)}),n}function OEe(e,t,n){var r=me({},n),i=e[t],a=n.$action||"merge";a==="merge"?i?(nt(i,r,!0),ql(i,r,{ignoreSize:!0}),j$(n,i),Wv(n,i),Wv(n,i,"shape"),Wv(n,i,"style"),Wv(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:a==="replace"?e[t]=r:a==="remove"&&i&&(e[t]=null)}var EF=["transition","enterFrom","leaveTo"],PEe=EF.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Wv(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),!(!e||!t))for(var r=n?EF:PEe,i=0;i<r.length;i++){var a=r[i];e[a]==null&&t[a]!=null&&(e[a]=t[a])}}function REe(e,t){if(e&&(e.hv=t.hv=[tI(t,["left","right"]),tI(t,["top","bottom"])],e.type==="group")){var n=e,r=t;n.width==null&&(n.width=r.width=0),n.height==null&&(n.height=r.height=0)}}var DEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return t.prototype.mergeOption=function(n,r){var i=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,n,r),this.option.elements=i},t.prototype.optionUpdated=function(n,r){var i=this.option,a=(r?i:n).elements,o=i.elements=r?[]:i.elements,s=[];this._flatten(a,s,null);var l=kk(o,s,"normalMerge"),u=this._elOptionsToUpdate=[];R(l,function(c,f){var d=c.newOption;d&&(u.push(d),IEe(c,d),OEe(o,f,d),REe(o[f],d))},this),i.elements=hn(o,function(c){return c&&delete c.$action,c!=null})},t.prototype._flatten=function(n,r,i){R(n,function(a){if(a){i&&(a.parentOption=i),r.push(a);var o=a.children;o&&o.length&&this._flatten(o,r,a),delete a.children}},this)},t.prototype.useElOptionsToUpdate=function(){var n=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,n},t.type="graphic",t.defaultOption={elements:[]},t}(Lt),nI={path:null,compoundPath:null,group:qt,image:Da,text:Ft},si=tn(),LEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this._elMap=Qe()},t.prototype.render=function(n,r,i){n!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=n,this._updateElements(n),this._relocate(n,i)},t.prototype._updateElements=function(n){var r=n.useElOptionsToUpdate();if(r){var i=this._elMap,a=this.group,o=n.get("z"),s=n.get("zlevel");R(r,function(l){var u=cr(l.id,null),c=u!=null?i.get(u):null,f=cr(l.parentId,null),d=f!=null?i.get(f):a,h=l.type,p=l.style;h==="text"&&p&&l.hv&&l.hv[1]&&(p.textVerticalAlign=p.textBaseline=p.verticalAlign=p.align=null);var v=l.textContent,m=l.textConfig;if(p&&z6e(p,h,!!m,!!v)){var g=V6e(p,h,!0);!m&&g.textConfig&&(m=l.textConfig=g.textConfig),!v&&g.textContent&&(v=g.textContent)}var y=kEe(l),_=l.$action||"merge",b=_==="merge",S=_==="replace";if(b){var w=!c,C=c;w?C=rI(u,d,l.type,i):(C&&(si(C).isNew=!1),J6e(C)),C&&(Xb(C,y,n,{isInit:w}),iI(C,l,o,s))}else if(S){Og(c,l,i,n);var T=rI(u,d,l.type,i);T&&(Xb(T,y,n,{isInit:!0}),iI(T,l,o,s))}else _==="remove"&&(yF(c,l),Og(c,l,i,n));var E=i.get(u);if(E&&v)if(b){var M=E.getTextContent();M?M.attr(v):E.setTextContent(new Ft(v))}else S&&E.setTextContent(new Ft(v));if(E){var A=l.clipPath;if(A){var I=A.type,O=void 0,w=!1;if(b){var D=E.getClipPath();w=!D||si(D).type!==I,O=w?tS(I):D}else S&&(w=!0,O=tS(I));E.setClipPath(O),Xb(O,A,n,{isInit:w}),Jw(O,A.keyframeAnimation,n)}var F=si(E);E.setTextConfig(m),F.option=l,$Ee(E,n,l),gp({el:E,componentModel:n,itemName:E.name,itemTooltipOption:l.tooltip}),Jw(E,l.keyframeAnimation,n)}})}},t.prototype._relocate=function(n,r){for(var i=n.option.elements,a=this.group,o=this._elMap,s=r.getWidth(),l=r.getHeight(),u=["x","y"],c=0;c<i.length;c++){var f=i[c],d=cr(f.id,null),h=d!=null?o.get(d):null;if(!(!h||!h.isGroup)){var p=h.parent,v=p===a,m=si(h),g=si(p);m.width=Ht(m.option.width,v?s:g.width)||0,m.height=Ht(m.option.height,v?l:g.height)||0}}for(var c=i.length-1;c>=0;c--){var f=i[c],d=cr(f.id,null),h=d!=null?o.get(d):null;if(h){var p=h.parent,g=si(p),y=p===a?{width:s,height:l}:{width:g.width,height:g.height},_={},b=sx(h,f,y,null,{hv:f.hv,boundingMode:f.bounding},_);if(!si(h).isNew&&b){for(var S=f.transition,w={},C=0;C<u.length;C++){var T=u[C],E=_[T];S&&(Il(S)||ft(S,T)>=0)?w[T]=E:h[T]=E}Vn(h,w,n,0)}else h.attr(_)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(i){Og(i,si(i).option,r,n._lastGraphicModel)}),this._elMap=Qe()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(nr);function tS(e){var t=ot(nI,e)?nI[e]:q5(e),n=new t({});return si(n).type=e,n}function rI(e,t,n,r){var i=tS(n);return t.add(i),r.set(e,i),si(i).id=e,si(i).isNew=!0,i}function Og(e,t,n,r){var i=e&&e.parent;i&&(e.type==="group"&&e.traverse(function(a){Og(a,t,n,r)}),H6e(e,t,r),n.removeKey(si(e).id))}function iI(e,t,n,r){e.isGroup||R([["cursor",au.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(i){var a=i[0];ot(t,a)?e[a]=xt(t[a],i[1]):e[a]==null&&(e[a]=i[1])}),R(Dt(t),function(i){if(i.indexOf("on")===0){var a=t[i];e[i]=Xe(a)?a:null}}),ot(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function kEe(e){return e=me({},e),R(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(G$),function(t){delete e[t]}),e}function $Ee(e,t,n){var r=Pt(e).eventData;!e.silent&&!e.ignore&&!r&&(r=Pt(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function NEe(e){e.registerComponentModel(DEe),e.registerComponentView(LEe),e.registerPreprocessor(function(t){var n=t.graphic;Ce(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var aI=["x","y","radius","angle","single"],BEe=["cartesian2d","polar","singleAxis"];function FEe(e){var t=e.get("coordinateSystem");return ft(BEe,t)>=0}function Jo(e){return e+"Axis"}function zEe(e,t){var n=Qe(),r=[],i=Qe();e.eachComponent({mainType:"dataZoom",query:t},function(c){i.get(c.uid)||s(c)});var a;do a=!1,e.eachComponent("dataZoom",o);while(a);function o(c){!i.get(c.uid)&&l(c)&&(s(c),a=!0)}function s(c){i.set(c.uid,!0),r.push(c),u(c)}function l(c){var f=!1;return c.eachTargetAxis(function(d,h){var p=n.get(d);p&&p[h]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,d){(n.get(f)||n.set(f,[]))[d]=!0})}return r}function AF(e){var t=e.ecModel,n={infoList:[],infoMap:Qe()};return e.eachTargetAxis(function(r,i){var a=t.getComponent(Jo(r),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,l=n.infoMap.get(s);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(s,l)),l.axisModels.push(a)}}}),n}var e_=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),VEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,i){var a=oI(n);this.settledOption=a,this.mergeDefaultAndTheme(n,i),this._doInit(a)},t.prototype.mergeOption=function(n){var r=oI(n);nt(this.option,n,!0),nt(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var i=this.settledOption;R([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(r[a[0]]=i[a[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=Qe(),i=this._fillSpecifiedTargetAxis(r);i?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return R(aI,function(i){var a=this.getReferringComponents(Jo(i),z_e);if(a.specified){r=!0;var o=new e_;R(a.models,function(s){o.add(s.componentIndex)}),n.set(i,o)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var i=this.ecModel,a=!0;if(a){var o=r==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});l(s,"single")}function l(u,c){var f=u[0];if(f){var d=new e_;if(d.add(f.componentIndex),n.set(c,d),a=!1,c==="x"||c==="y"){var h=f.getReferringComponents("grid",fr).models[0];h&&R(u,function(p){f.componentIndex!==p.componentIndex&&h===p.getReferringComponents("grid",fr).models[0]&&d.add(p.componentIndex)})}}}a&&R(aI,function(u){if(a){var c=i.findComponents({mainType:Jo(u),filter:function(d){return d.get("type",!0)==="category"}});if(c[0]){var f=new e_;f.add(c[0].componentIndex),n.set(u,f),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,i=this.get("rangeMode");R([["start","startValue"],["end","endValue"]],function(a,o){var s=n[a[0]]!=null,l=n[a[1]]!=null;s&&!l?r[o]="percent":!s&&l?r[o]="value":i?r[o]=i[o]:s&&(r[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,i){n==null&&(n=this.ecModel.getComponent(Jo(r),i))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(i,a){R(i.indexList,function(o){n.call(r,a,o)})})},t.prototype.getAxisProxy=function(n,r){var i=this.getAxisModel(n,r);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var i=this._targetAxisInfoMap.get(n);if(i&&i.indexMap[r])return this.ecModel.getComponent(Jo(n),r)},t.prototype.setRawRange=function(n){var r=this.option,i=this.settledOption;R([["start","startValue"],["end","endValue"]],function(a){(n[a[0]]!=null||n[a[1]]!=null)&&(r[a[0]]=i[a[0]]=n[a[0]],r[a[1]]=i[a[1]]=n[a[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;R(["start","startValue","end","endValue"],function(i){r[i]=n[i]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,i=this._targetAxisInfoMap.keys(),a=0;a<i.length;a++)for(var o=i[a],s=this._targetAxisInfoMap.get(o),l=0;l<s.indexList.length;l++){var u=this.getAxisProxy(o,s.indexList[l]);if(u.hostedBy(this))return u;r||(r=u)}return r},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Lt);function oI(e){var t={};return R(["start","end","startValue","endValue","throttle"],function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}const Ih=VEe;var HEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.select",t}(Ih);const WEe=HEe;var UEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i,a){this.dataZoomModel=n,this.ecModel=r,this.api=i},t.type="dataZoom",t}(nr);const Zx=UEe;var GEe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.select",t}(Zx);const jEe=GEe;var Hu=R,sI=Yo,qEe=function(){function e(t,n,r,i){this._dimName=t,this._axisIndex=n,this.ecModel=i,this._dataZoomModel=r}return e.prototype.hostedBy=function(t){return this._dataZoomModel===t},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(n){if(FEe(n)){var r=Jo(this._dimName),i=n.getReferringComponents(r,fr).models[0];i&&this._axisIndex===i.componentIndex&&t.push(n)}},this),t},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return qe(this._minMaxSpan)},e.prototype.calculateDataWindow=function(t){var n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[],u;Hu(["start","end"],function(d,h){var p=t[d],v=t[d+"Value"];a[h]==="percent"?(p==null&&(p=o[h]),v=i.parse(en(p,o,n))):(u=!0,v=v==null?n[h]:i.parse(v),p=en(v,n,o)),l[h]=v==null||isNaN(v)?n[h]:v,s[h]=p==null||isNaN(p)?o[h]:p}),sI(l),sI(s);var c=this._minMaxSpan;u?f(l,s,n,o,!1):f(s,l,o,n,!0);function f(d,h,p,v,m){var g=m?"Span":"ValueSpan";rf(0,d,p,"all",c["min"+g],c["max"+g]);for(var y=0;y<2;y++)h[y]=en(d[y],p,v,!0),m&&(h[y]=i.parse(h[y]))}return{valueWindow:l,percentWindow:s}},e.prototype.reset=function(t){if(t===this._dataZoomModel){var n=this.getTargetSeriesModels();this._dataExtent=KEe(this,this._dimName,n),this._updateMinMaxSpan();var r=this.calculateDataWindow(t.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(t,n){if(t!==this._dataZoomModel)return;var r=this._dimName,i=this.getTargetSeriesModels(),a=t.get("filterMode"),o=this._valueWindow;if(a==="none")return;Hu(i,function(l){var u=l.getData(),c=u.mapDimensionsAll(r);if(c.length){if(a==="weakFilter"){var f=u.getStore(),d=ke(c,function(h){return u.getDimensionIndex(h)},u);u.filterSelf(function(h){for(var p,v,m,g=0;g<c.length;g++){var y=f.get(d[g],h),_=!isNaN(y),b=y<o[0],S=y>o[1];if(_&&!b&&!S)return!0;_&&(m=!0),b&&(p=!0),S&&(v=!0)}return m&&p&&v})}else Hu(c,function(h){if(a==="empty")l.setData(u=u.map(h,function(v){return s(v)?v:NaN}));else{var p={};p[h]=o,u.selectRange(p)}});Hu(c,function(h){u.setApproximateExtent(o,h)})}});function s(l){return l>=o[0]&&l<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;Hu(["min","max"],function(i){var a=n.get(i+"Span"),o=n.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=en(r[0]+o,r,[0,100],!0):a!=null&&(o=en(a,[0,100],r,!0)-r[0]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var i=O5(r,[0,500]);i=Math.min(i,20);var a=t.axis.scale.rawExtentInfo;n[0]!==0&&a.setDeterminedMinMax("min",+r[0].toFixed(i)),n[1]!==100&&a.setDeterminedMinMax("max",+r[1].toFixed(i)),a.freeze()}},e}();function KEe(e,t,n){var r=[1/0,-1/0];Hu(n,function(o){T3e(r,o.getData(),t)});var i=e.getAxisModel(),a=wB(i.axis.scale,i,r).calculate();return[a.min,a.max]}const YEe=qEe;var ZEe={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var l=e.getComponent(Jo(o),s);i(o,s,l,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var n=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new YEe(i,a,s,e),n.push(o.__dzAxisProxy))});var r=Qe();return R(n,function(i){R(i.getTargetSeriesModels(),function(a){r.set(a.uid,a)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).reset(n)}),n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var i=r.getDataPercentWindow(),a=r.getDataValueWindow();n.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};const XEe=ZEe;function QEe(e){e.registerAction("dataZoom",function(t,n){var r=zEe(n,t);R(r,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var lI=!1;function Xx(e){lI||(lI=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,XEe),QEe(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function JEe(e){e.registerComponentModel(WEe),e.registerComponentView(jEe),Xx(e)}var Ni=function(){function e(){}return e}(),MF={};function Df(e,t){MF[e]=t}function IF(e){return MF[e]}var e4e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;R(this.option.feature,function(r,i){var a=IF(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(n)),nt(r,a.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Lt);const t4e=e4e;function n4e(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=Zi(r,a,i);Tl(t.get("orient"),e,t.get("itemGap"),o.width,o.height),sx(e,r,a,i)}function OF(e,t){var n=ef(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new Gt({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var r4e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,a){var o=this.group;if(o.removeAll(),!n.get("show"))return;var s=+n.get("itemSize"),l=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),f=[];R(u,function(p,v){f.push(v)}),new Mx(this._featureNames||[],f).add(d).update(d).remove(Ct(d,null)).execute(),this._featureNames=f;function d(p,v){var m=f[p],g=f[v],y=u[m],_=new wn(y,n,n.ecModel),b;if(a&&a.newTitle!=null&&a.featureName===m&&(y.title=a.newTitle),m&&!g){if(i4e(m))b={onclick:_.option.onclick,featureName:m};else{var S=IF(m);if(!S)return;b=new S}c[m]=b}else if(b=c[g],!b)return;b.uid=bp("toolbox-feature"),b.model=_,b.ecModel=r,b.api=i;var w=b instanceof Ni;if(!m&&g){w&&b.dispose&&b.dispose(r,i);return}if(!_.get("show")||w&&b.unusable){w&&b.remove&&b.remove(r,i);return}h(_,b,m),_.setIconStatus=function(C,T){var E=this.option,M=this.iconPaths;E.iconStatus=E.iconStatus||{},E.iconStatus[C]=T,M[C]&&(T==="emphasis"?Pc:Rc)(M[C])},b instanceof Ni&&b.render&&b.render(_,r,i,a)}function h(p,v,m){var g=p.getModel("iconStyle"),y=p.getModel(["emphasis","iconStyle"]),_=v instanceof Ni&&v.getIcons?v.getIcons():p.get("icon"),b=p.get("title")||{},S,w;Be(_)?(S={},S[m]=_):S=_,Be(b)?(w={},w[m]=b):w=b;var C=p.iconPaths={};R(S,function(T,E){var M=vp(T,{},{x:-s/2,y:-s/2,width:s,height:s});M.setStyle(g.getItemStyle());var A=M.ensureState("emphasis");A.style=y.getItemStyle();var I=new Ft({style:{text:w[E],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null},ignore:!0});M.setTextContent(I),gp({el:M,componentModel:n,itemName:E,formatterParamsExtra:{title:w[E]}}),M.__title=w[E],M.on("mouseover",function(){var O=y.getItemStyle(),D=l?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";I.setStyle({fill:y.get("textFill")||O.fill||O.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),M.setTextConfig({position:y.get("textPosition")||D}),I.ignore=!n.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",E])!=="emphasis"&&i.leaveEmphasis(this),I.hide()}),(p.get(["iconStatus",E])==="emphasis"?Pc:Rc)(M),o.add(M),M.on("click",Fe(v.onclick,v,r,i,E)),C[E]=M})}n4e(o,n,i),o.add(OF(o.getBoundingRect(),n)),l||o.eachChild(function(p){var v=p.__title,m=p.ensureState("emphasis"),g=m.textConfig||(m.textConfig={}),y=p.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!Xe(_)&&v){var b=_.style||(_.style={}),S=Z0(v,Ft.makeFont(b)),w=p.x+o.x,C=p.y+o.y+s,T=!1;C+S.height>i.getHeight()&&(g.position="top",T=!0);var E=T?-5-S.height:s+10;w+S.width/2>i.getWidth()?(g.position=["100%",E],b.align="right"):w-S.width/2<0&&(g.position=[0,E],b.align="left")}})},t.prototype.updateView=function(n,r,i,a){R(this._features,function(o){o instanceof Ni&&o.updateView&&o.updateView(o.model,r,i,a)})},t.prototype.remove=function(n,r){R(this._features,function(i){i instanceof Ni&&i.remove&&i.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){R(this._features,function(i){i instanceof Ni&&i.dispose&&i.dispose(n,r)})},t.type="toolbox",t}(nr);function i4e(e){return e.indexOf("my")===0}const a4e=r4e;var o4e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var i=this.model,a=i.get("name")||n.get("title.0.text")||"echarts",o=r.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=r.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=vt.browser;if(Xe(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=a+"."+s,c.target="_blank",c.href=l;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||o){var d=l.split(","),h=d[0].indexOf("base64")>-1,p=o?decodeURIComponent(d[1]):d[1];h&&(p=window.atob(p));var v=a+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var m=p.length,g=new Uint8Array(m);m--;)g[m]=p.charCodeAt(m);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,v)}else{var _=document.createElement("iframe");document.body.appendChild(_);var b=_.contentWindow,S=b.document;S.open("image/svg+xml","replace"),S.write(p),S.close(),b.focus(),S.execCommand("SaveAs",!0,v),document.body.removeChild(_)}}else{var w=i.get("lang"),C='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',T=window.open();T.document.write(C),T.document.title=a}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t}(Ni);const s4e=o4e;var uI="__ec_magicType_stack__",l4e=[["line","bar"],["stack"]],u4e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),i={};return R(n.get("type"),function(a){r[a]&&(i[a]=r[a])}),i},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,i){var a=this.model,o=a.get(["seriesIndex",i]);if(cI[i]){var s={series:[]},l=function(f){var d=f.subType,h=f.id,p=cI[i](d,h,f,a);p&&(bt(p,f.option),s.series.push(p));var v=f.coordinateSystem;if(v&&v.type==="cartesian2d"&&(i==="line"||i==="bar")){var m=v.getAxesByScale("ordinal")[0];if(m){var g=m.dim,y=g+"Axis",_=f.getReferringComponents(y,fr).models[0],b=_.componentIndex;s[y]=s[y]||[];for(var S=0;S<=b;S++)s[y][b]=s[y][b]||{};s[y][b].boundaryGap=i==="bar"}}};R(l4e,function(f){ft(f,i)>=0&&R(f,function(d){a.setIconStatus(d,"normal")})}),a.setIconStatus(i,"emphasis"),n.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,c=i;i==="stack"&&(u=nt({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),a.get(["iconStatus",i])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:u,featureName:"magicType"})}},t}(Ni),cI={line:function(e,t,n,r){if(e==="bar")return nt({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return nt({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===uI;if(e==="line"||e==="bar")return r.setIconStatus("stack",i?"normal":"emphasis"),nt({id:t,stack:i?"":uI},r.get(["option","stack"])||{},!0)}};na({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const c4e=u4e;var Iy=new Array(60).join("-"),$c="	";function f4e(e){var t={},n=[],r=[];return e.eachRawSeries(function(i){var a=i.coordinateSystem;if(a&&(a.type==="cartesian2d"||a.type==="polar")){var o=a.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else n.push(i)}else n.push(i)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function d4e(e){var t=[];return R(e,function(n,r){var i=n.categoryAxis,a=n.valueAxis,o=a.dim,s=[" "].concat(ke(n.series,function(h){return h.name})),l=[i.model.getCategories()];R(n.series,function(h){var p=h.getRawData();l.push(h.getRawData().mapArray(p.mapDimension(o),function(v){return v}))});for(var u=[s.join($c)],c=0;c<l[0].length;c++){for(var f=[],d=0;d<l.length;d++)f.push(l[d][c]);u.push(f.join($c))}t.push(u.join(`
`))}),t.join(`

`+Iy+`

`)}function h4e(e){return ke(e,function(t){var n=t.getRawData(),r=[t.name],i=[];return n.each(n.dimensions,function(){for(var a=arguments.length,o=arguments[a-1],s=n.getName(o),l=0;l<a-1;l++)i[l]=arguments[l];r.push((s?s+$c:"")+i.join($c))}),r.join(`
`)}).join(`

`+Iy+`

`)}function p4e(e){var t=f4e(e);return{value:hn([d4e(t.seriesGroupByCategoryAxis),h4e(t.other)],function(n){return!!n.replace(/[\n\t\s]/g,"")}).join(`

`+Iy+`

`),meta:t.meta}}function Vm(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function v4e(e){var t=e.slice(0,e.indexOf(`
`));if(t.indexOf($c)>=0)return!0}var nS=new RegExp("["+$c+"]+","g");function g4e(e){for(var t=e.split(/\n+/g),n=Vm(t.shift()).split(nS),r=[],i=ke(n,function(l){return{name:l,data:[]}}),a=0;a<t.length;a++){var o=Vm(t[a]).split(nS);r.push(o.shift());for(var s=0;s<o.length;s++)i[s]&&(i[s].data[a]=o[s])}return{series:i,categories:r}}function m4e(e){for(var t=e.split(/\n+/g),n=Vm(t.shift()),r=[],i=0;i<t.length;i++){var a=Vm(t[i]);if(a){var o=a.split(nS),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);l.length===1&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}function y4e(e,t){var n=e.split(new RegExp(`
*`+Iy+`
*`,"g")),r={series:[]};return R(n,function(i,a){if(v4e(i)){var o=g4e(i),s=t[a],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=m4e(i);r.series.push(o)}}),r}var b4e=function(e){ve(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 i=r.getDom(),a=this.model;this._dom&&i.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=a.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=a.get("lang")||[];s.innerHTML=l[0]||a.get("title"),s.style.cssText="margin:10px 20px",s.style.color=a.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var f=a.get("optionToContent"),d=a.get("contentToOption"),h=p4e(n);if(Xe(f)){var p=f(r.getOption());Be(p)?u.innerHTML=p:Oc(p)&&u.appendChild(p)}else{c.readOnly=a.get("readOnly");var v=c.style;v.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",v.color=a.get("textColor"),v.borderColor=a.get("textareaBorderColor"),v.backgroundColor=a.get("textareaColor"),c.value=h.value,u.appendChild(c)}var m=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),b=document.createElement("div");y+=";background-color:"+a.get("buttonColor"),y+=";color:"+a.get("buttonTextColor");var S=this;function w(){i.removeChild(o),S._dom=null}X2(_,"click",w),X2(b,"click",function(){if(d==null&&f!=null||d!=null&&f==null){w();return}var C;try{Xe(d)?C=d(u,r.getOption()):C=y4e(c.value,m)}catch(T){throw w(),new Error("Data view format error "+T)}C&&r.dispatchAction({type:"changeDataView",newOption:C}),w()}),_.innerHTML=l[1],b.innerHTML=l[2],b.style.cssText=_.style.cssText=y,!a.get("readOnly")&&g.appendChild(b),g.appendChild(_),o.appendChild(s),o.appendChild(u),o.appendChild(g),u.style.height=i.clientHeight-80+"px",i.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}(Ni);function _4e(e,t){return ke(e,function(n,r){var i=t&&t[r];if(ze(i)&&!Ce(i)){var a=ze(n)&&!Ce(n);a||(n={value:n});var o=i.name!=null&&n.name==null;return n=bt(n,i),o&&delete n.name,n}else return n})}na({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];R(e.newOption.series,function(r){var i=t.getSeriesByName(r.name)[0];if(!i)n.push(me({type:"scatter"},r));else{var a=i.get("data");n.push({name:r.name,data:_4e(r.data,a)})}}),t.mergeOption(bt({series:n},e.newOption))});const w4e=b4e;var PF=R,RF=tn();function S4e(e,t){var n=Qx(e);PF(t,function(r,i){for(var a=n.length-1;a>=0;a--){var o=n[a];if(o[i])break}if(a<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();n[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),n.push(t)}function C4e(e){var t=Qx(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return PF(n,function(i,a){for(var o=t.length-1;o>=0;o--)if(i=t[o][a],i){r[a]=i;break}}),r}function x4e(e){RF(e).snapshots=null}function T4e(e){return Qx(e).length}function Qx(e){var t=RF(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var E4e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){x4e(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(Ni);na({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const A4e=E4e;var M4e=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],I4e=function(){function e(t,n,r){var i=this;this._targetInfoList=[];var a=fI(n,t);R(O4e,function(o,s){(!r||!r.include||ft(r.include,s)>=0)&&o(a,i._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,i,a){if((r.coordRanges||(r.coordRanges=[])).push(i),!r.coordRange){r.coordRange=i;var o=t_[r.brushType](0,a,i);r.__rangeOffset={offset:vI[r.brushType](o.values,r.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){R(t,function(i){var a=this.findTargetInfo(i,n);a&&a!==!0&&R(a.coordSyses,function(o){var s=t_[i.brushType](1,o,i.range,!0);r(i,s.values,o,n)})},this)},e.prototype.setInputRanges=function(t,n){R(t,function(r){var i=this.findTargetInfo(r,n);if(r.range=r.range||[],i&&i!==!0){r.panelId=i.panelId;var a=t_[r.brushType](0,i.coordSys,r.coordRange),o=r.__rangeOffset;r.range=o?vI[r.brushType](a.values,o.offset,P4e(a.xyMinMax,o.xyMinMax)):a.values}},this)},e.prototype.makePanelOpts=function(t,n){return ke(this._targetInfoList,function(r){var i=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:N6e(i),isTargetByCursor:F6e(i,t,r.coordSysModel),getLinearBrushOtherExtent:B6e(i)}})},e.prototype.controlSeries=function(t,n,r){var i=this.findTargetInfo(t,r);return i===!0||i&&ft(i.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,i=fI(n,t),a=0;a<r.length;a++){var o=r[a],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var l=0;l<dI.length;l++)if(dI[l](i,o))return o}return!0},e}();function rS(e){return e[0]>e[1]&&e.reverse(),e}function fI(e,t){return wd(e,t,{includeMainTypes:M4e})}var O4e={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,a=Qe(),o={},s={};!n&&!r&&!i||(R(n,function(l){var u=l.axis.grid.model;a.set(u.id,u),o[u.id]=!0}),R(r,function(l){var u=l.axis.grid.model;a.set(u.id,u),s[u.id]=!0}),R(i,function(l){a.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),a.each(function(l){var u=l.coordinateSystem,c=[];R(u.getCartesians(),function(f,d){(ft(n,f.getAxis("x").model)>=0||ft(r,f.getAxis("y").model)>=0)&&c.push(f)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:c[0],coordSyses:c,getPanelRect:hI.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(e,t){R(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:hI.geo})})}},dI=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],hI={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(as(e)),t}},t_={lineX:Ct(pI,0),lineY:Ct(pI,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),a=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),o=[rS([i[0],a[0]]),rS([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],a=ke(n,function(o){var s=e?t.pointToData(o,r):t.dataToPoint(o,r);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:a,xyMinMax:i}}};function pI(e,t,n,r){var i=n.getAxis(["x","y"][e]),a=rS(ke([0,1],function(s){return t?i.coordToData(i.toLocalCoord(r[s]),!0):i.toGlobalCoord(i.dataToCoord(r[s]))})),o=[];return o[e]=a,o[1-e]=[NaN,NaN],{values:a,xyMinMax:o}}var vI={lineX:Ct(gI,0),lineY:Ct(gI,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return ke(e,function(r,i){return[r[0]-n[0]*t[i][0],r[1]-n[1]*t[i][1]]})}};function gI(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function P4e(e,t){var n=mI(e),r=mI(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function mI(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const DF=I4e;var iS=R,R4e=k_e("toolbox-dataZoom_"),D4e=function(e){ve(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,a){this._brushController||(this._brushController=new $6e(i.getZr()),this._brushController.on("brush",Fe(this._onBrush,this)).mount()),$4e(n,r,this,a,i),k4e(n,r)},t.prototype.onclick=function(n,r,i){L4e[i].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var i={},a=this.ecModel;this._brushController.updateCovers([]);var o=new DF(Jx(this.model),a,{include:["grid"]});o.matchOutputRanges(r,a,function(u,c,f){if(f.type==="cartesian2d"){var d=u.brushType;d==="rect"?(s("x",f,c[0]),s("y",f,c[1])):s({lineX:"x",lineY:"y"}[d],f,c)}}),S4e(a,i),this._dispatchZoomAction(i);function s(u,c,f){var d=c.getAxis(u),h=d.model,p=l(u,h,a),v=p.findRepresentativeAxisProxy(h).getMinMaxSpan();(v.minValueSpan!=null||v.maxValueSpan!=null)&&(f=rf(0,f.slice(),d.scale.getExtent(),0,v.minValueSpan,v.maxValueSpan)),p&&(i[p.id]={dataZoomId:p.id,startValue:f[0],endValue:f[1]})}function l(u,c,f){var d;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(h){var p=h.getAxisModel(u,c.componentIndex);p&&(d=h)}),d}},t.prototype._dispatchZoomAction=function(n){var r=[];iS(n,function(i,a){r.push(qe(i))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},t}(Ni),L4e={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(C4e(this.ecModel))}};function Jx(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function k4e(e,t){e.setIconStatus("back",T4e(t)>1?"emphasis":"normal")}function $4e(e,t,n,r,i){var a=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(a=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var o=new DF(Jx(e),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(a&&s.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}OSe("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),i=[],a=Jx(r),o=wd(e,a);iS(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),iS(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,c){var f=l.componentIndex,d={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:R4e+u+f};d[c]=f,i.push(d)}return i});const N4e=D4e;function B4e(e){e.registerComponentModel(t4e),e.registerComponentView(a4e),Df("saveAsImage",s4e),Df("magicType",c4e),Df("dataView",w4e),Df("dataZoom",N4e),Df("restore",A4e),Qr(JEe)}var F4e=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Lt);const z4e=F4e;function LF(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function kF(e){if(vt.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}}var $F=kF(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),V4e=kF(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function NF(e,t){if(!e)return t;t=ix(t,!0);var n=e.indexOf(t);return e=n===-1?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function H4e(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}var W4e=NF(V4e,"transition"),e3=NF($F,"transform"),U4e="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(vt.transform3dSupported?"will-change:transform;":"");function G4e(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function j4e(e,t,n){if(!Be(n)||n==="inside")return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=jl(t);var a=G4e(n),o=Math.max(Math.round(i)*1.5,6),s="",l=e3+":",u;ft(["left","right"],a)>-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=o+i,d=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),h=Math.round(((d-Math.SQRT2*i)/2+Math.SQRT2*i-(d-f)/2)*100)/100;s+=";"+a+":-"+h+"px";var p=t+" solid "+i+"px;",v=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+r+";"];return'<div style="'+v.join("")+'"></div>'}function q4e(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=vt.transformSupported?","+e3+r:",left"+r+",top"+r),W4e+":"+i}function yI(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!vt.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var a=vt.transform3dSupported,o="translate"+(a?"3d":"")+"("+r+","+i+(a?",0":"")+")";return n?"top:0;left:0;"+e3+":"+o+";":[["top",0],["left",0],[$F,o]]}function K4e(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(n*3/2)+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),R(["decoration","align"],function(l){var u=e.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function Y4e(e,t,n){var r=[],i=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=yN(e,"html"),d=l+"px "+u+"px "+o+"px "+s;return r.push("box-shadow:"+d),t&&i&&r.push(q4e(i,n)),a&&r.push("background-color:"+a),R(["width","color","radius"],function(h){var p="border-"+h,v=ix(p),m=e.get(v);m!=null&&r.push(p+":"+m+(h==="color"?"":"px"))}),r.push(K4e(c)),f!=null&&r.push("padding:"+ef(f).join("px ")+"px"),r.join(";")+";"}function bI(e,t,n,r,i){var a=t&&t.painter;if(n){var o=a&&a.getViewportRoot();o&&Q1e(e,o,document.body,r,i)}else{e[0]=r,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Z4e=function(){function e(t,n,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,vt.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var a=this._zr=n.getZr(),o=this._appendToBody=r&&r.appendToBody;bI(this._styleCoord,a,o,n.getWidth()/2,n.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=a.handler,c=a.painter.getViewportRoot();ri(c,l,!0),u.dispatch("mousemove",l)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){var n=this._container,r=H4e(n,"position"),i=n.style;i.position!=="absolute"&&r!=="absolute"&&(i.position="relative");var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,i=r.style,a=this._styleCoord;r.innerHTML?i.cssText=U4e+Y4e(t,!this._firstShow,this._longHide)+yI(a[0],a[1],!0)+("border-color:"+jl(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Be(a)&&r.get("trigger")==="item"&&!LF(r)&&(s=j4e(r,i,a)),Be(t))o.innerHTML=t+s;else if(t){o.innerHTML="",Ce(t)||(t=[t]);for(var l=0;l<t.length;l++)Oc(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(s&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=s,o.appendChild(u)}}},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},e.prototype.moveTo=function(t,n){var r=this._styleCoord;if(bI(r,this._zr,this._appendToBody,t,n),r[0]!=null&&r[1]!=null){var i=this.el.style,a=yI(r[0],r[1]);R(a,function(o){i[o[0]]=o[1]})}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),n*this._zr.getHeight())},e.prototype.hide=function(){var t=this,n=this.el.style;n.visibility="hidden",n.opacity="0",vt.transform3dSupported&&(n.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Fe(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();const X4e=Z4e;var Q4e=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),wI(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var n=t.get("alwaysShowContent");n&&this._moveIfResized(),this._alwaysShowContent=n},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,n,r,i,a){var o=this;ze(t)&&Cr(""),this.el&&this._zr.remove(this.el);var s=r.getModel("textStyle");this.el=new Ft({style:{rich:n.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:yN(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),R(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(u){o.el.style[u]=r.get(u)}),R(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(u){o.el.style[u]=s.get(u)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,n=this.el.getBoundingRect(),r=_I(t.style);return[n.width+r.left+r.right,n.height+r.top+r.bottom]},e.prototype.moveTo=function(t,n){var r=this.el;if(r){var i=this._styleCoord;wI(i,this._zr,t,n),t=i[0],n=i[1];var a=r.style,o=ko(a.borderWidth||0),s=_I(a);r.x=t+o+s.left,r.y=n+o+s.top,r.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),n*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Fe(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function ko(e){return Math.max(0,e)}function _I(e){var t=ko(e.shadowBlur||0),n=ko(e.shadowOffsetX||0),r=ko(e.shadowOffsetY||0);return{left:ko(t-n),right:ko(t+n),top:ko(t-r),bottom:ko(t+r)}}function wI(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const J4e=Q4e;var eAe=new Gt({shape:{x:-1,y:-1,width:2,height:2}}),tAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){if(!(vt.node||!r.getDom())){var i=n.getComponent("tooltip"),a=this._renderMode=H_e(i.get("renderMode"));this._tooltipContent=a==="richText"?new J4e(r):new X4e(r.getDom(),r,{appendToBody:i.get("appendToBody",!0)})}},t.prototype.render=function(n,r,i){if(!(vt.node||!i.getDom())){this.group.removeAll(),this._tooltipModel=n,this._ecModel=r,this._api=i;var a=this._tooltipContent;a.update(n),a.setEnterable(n.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&n.get("transitionDuration")?wy(this,"_updatePosition",50,"fixRate"):Im(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var n=this._tooltipModel,r=n.get("triggerOn");CF("itemTooltip",this._api,Fe(function(i,a,o){r!=="none"&&(r.indexOf(i)>=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,i=this._api,a=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(n,r,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,i,a){if(!(a.from===this.uid||vt.node||!i.getDom())){var o=SI(a,i);this._ticket="";var s=a.dataByCoordSys,l=aAe(a,r,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var c=eAe;c.x=a.x,c.y=a.y,c.update(),Pt(c).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:c},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,i,a))return;var f=xF(a,r),d=f.point[0],h=f.point[1];d!=null&&h!=null&&this._tryShow({offsetX:d,offsetY:h,target:f.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(n,r,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(SI(a,i))},t.prototype._manuallyAxisShowTip=function(n,r,i,a){var o=a.seriesIndex,s=a.dataIndex,l=r.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=r.getSeriesByIndex(o);if(u){var c=u.getData(),f=Lf([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(n,r){var i=n.target,a=this._tooltipModel;if(a){this._lastX=n.offsetX,this._lastY=n.offsetY;var o=n.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,n);else if(i){this._lastDataByCoordSys=null;var s,l;ju(i,function(u){if(Pt(u).dataIndex!=null)return s=u,!0;if(Pt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(n,s,r):l?this._showComponentItemTooltip(n,l,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var i=n.get("showDelay");r=Fe(r,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(r,i):r()},t.prototype._showAxisTooltip=function(n,r){var i=this._ecModel,a=this._tooltipModel,o=[r.offsetX,r.offsetY],s=Lf([r.tooltipOption],a),l=this._renderMode,u=[],c=Sh("section",{blocks:[],noHeader:!0}),f=[],d=new xb;R(n,function(y){R(y.dataByAxis,function(_){var b=i.getComponent(_.axisDim+"Axis",_.axisIndex),S=_.value;if(!(!b||S==null)){var w=wF(S,b.axis,i,_.seriesDataIndices,_.valueLabelOpt),C=Sh("section",{header:w,noHeader:!Vi(w),sortBlocks:!0,blocks:[]});c.blocks.push(C),R(_.seriesDataIndices,function(T){var E=i.getSeriesByIndex(T.seriesIndex),M=T.dataIndexInside,A=E.getDataParams(M);if(!(A.dataIndex<0)){A.axisDim=_.axisDim,A.axisIndex=_.axisIndex,A.axisType=_.axisType,A.axisId=_.axisId,A.axisValue=Lx(b.axis,{value:S}),A.axisValueLabel=w,A.marker=d.makeTooltipMarker("item",jl(A.color),l);var I=Q4(E.formatTooltip(M,!0,null)),O=I.frag;if(O){var D=Lf([E],a).get("valueFormatter");C.blocks.push(D?me({valueFormatter:D},O):O)}I.text&&f.push(I.text),u.push(A)}})}})}),c.blocks.reverse(),f.reverse();var h=r.position,p=s.get("order"),v=rA(c,d,l,p,i.get("useUTC"),s.get("textStyle"));v&&f.unshift(v);var m=l==="richText"?`

`:"<br/>",g=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(s,h,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",o[0],o[1],h,null,d)})},t.prototype._showSeriesItemTooltip=function(n,r,i){var a=this._ecModel,o=Pt(r),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,d=u.getData(f),h=this._renderMode,p=n.positionDefault,v=Lf([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),m=v.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(c,f),y=new xb;g.marker=y.makeTooltipMarker("item",jl(g.color),h);var _=Q4(u.formatTooltip(c,!1,f)),b=v.get("order"),S=v.get("valueFormatter"),w=_.frag,C=w?rA(S?me({valueFormatter:S},w):w,y,h,b,a.get("useUTC"),v.get("textStyle")):_.text,T="item_"+u.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,C,g,T,n.offsetX,n.offsetY,n.position,n.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,i){var a=Pt(r),o=a.tooltipConfig,s=o.option||{};if(Be(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&u.push(c),u.push({formatter:s.content});var f=n.positionDefault,d=Lf(u,this._tooltipModel,f?{position:f}:null),h=d.get("content"),p=Math.random()+"",v=new xb;this._showOrMove(d,function(){var m=qe(d.get("formatterParams")||{});this._showTooltipContent(d,h,m,p,n.offsetX,n.offsetY,n.position,r,v)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,i,a,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 h=r,p=this._getNearestPoint([o,s],i,n.get("trigger"),n.get("borderColor")),v=p.color;if(d)if(Be(d)){var m=n.ecModel.get("useUTC"),g=Ce(i)?i[0]:i,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=d,y&&(h=_p(g.axisValue,h,m)),h=ax(h,i,!0)}else if(Xe(d)){var _=Fe(function(b,S){b===this._ticket&&(f.setContent(S,c,n,v,l),this._updatePosition(n,l,o,s,f,i,u))},this);this._ticket=a,h=d(i,a,_)}else h=d;f.setContent(h,c,n,v,l),f.show(n,v),this._updatePosition(n,l,o,s,f,i,u)}},t.prototype._getNearestPoint=function(n,r,i,a){if(i==="axis"||Ce(r))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!Ce(r))return{color:a||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,i,a,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"),h=n.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),Xe(r)&&(r=r([i,a],s,o.el,p,{viewSize:[u,c],contentSize:f.slice()})),Ce(r))i=Ht(r[0],u),a=Ht(r[1],c);else if(ze(r)){var v=r;v.width=f[0],v.height=f[1];var m=Zi(v,{width:u,height:c});i=m.x,a=m.y,d=null,h=null}else if(Be(r)&&l){var g=iAe(r,p,f,n.get("borderWidth"));i=g[0],a=g[1]}else{var g=nAe(i,a,o,u,c,d?null:20,h?null:20);i=g[0],a=g[1]}if(d&&(i-=CI(d)?f[0]/2:d==="right"?f[0]:0),h&&(a-=CI(h)?f[1]/2:h==="bottom"?f[1]:0),LF(n)){var g=rAe(i,a,o,u,c);i=g[0],a=g[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===n.length;return o&&R(i,function(s,l){var u=s.dataByAxis||[],c=n[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&R(u,function(d,h){var p=f[h]||{},v=d.seriesDataIndices||[],m=p.seriesDataIndices||[];o=o&&d.value===p.value&&d.axisType===p.axisType&&d.axisId===p.axisId&&v.length===m.length,o&&R(v,function(g,y){var _=m[y];o=o&&g.seriesIndex===_.seriesIndex&&g.dataIndex===_.dataIndex}),a&&R(d.seriesDataIndices,function(g){var y=g.seriesIndex,_=r[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!o},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){vt.node||!r.getDom()||(Im(this,"_updatePosition"),this._tooltipContent.dispose(),eS("itemTooltip",r))},t.type="tooltip",t}(nr);function Lf(e,t,n){var r=t.ecModel,i;n?(i=new wn(n,r,r),i=new wn(t.option,i,r)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof wn&&(o=o.get("tooltip",!0)),Be(o)&&(o={formatter:o}),o&&(i=new wn(o,i,r)))}return i}function SI(e,t){return e.dispatchAction||Fe(t.dispatchAction,t)}function nAe(e,t,n,r,i,a,o){var s=n.getSize(),l=s[0],u=s[1];return a!=null&&(e+l+a+2>r?e-=l+a:e+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[e,t]}function rAe(e,t,n,r,i){var a=n.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,r)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function iAe(e,t,n,r){var i=n[0],a=n[1],o=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+o;break;case"left":s=t.x-i-o,l=t.y+c/2-a/2;break;case"right":s=t.x+u+o,l=t.y+c/2-a/2}return[s,l]}function CI(e){return e==="center"||e==="middle"}function aAe(e,t,n){var r=L5(e).queryOptionMap,i=r.keys()[0];if(!(!i||i==="series")){var a=pp(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=n.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var c=Pt(u).tooltipConfig;if(c&&c.name===e.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}const oAe=tAe;function sAe(e){Qr(TF),e.registerComponentModel(z4e),e.registerComponentView(oAe),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},zn),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},zn)}var xI=R;function TI(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function EI(e,t,n){var r={};return xI(t,function(a){var o=r[a]=i();xI(e[a],function(s,l){if(Rr.isValidType(l)){var u={type:l,visual:s};n&&n(u,a),o[l]=new Rr(u),l==="opacity"&&(u=qe(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Rr(u))}})}),r;function i(){var a=function(){};a.prototype.__hidden=a.prototype;var o=new a;return o}}function lAe(e,t,n){var r;R(n,function(i){t.hasOwnProperty(i)&&TI(t[i])&&(r=!0)}),r&&R(n,function(i){t.hasOwnProperty(i)&&TI(t[i])?e[i]=qe(t[i]):delete e[i]})}function uAe(e,t,n,r){var i={};return R(e,function(a){var o=Rr.prepareVisualTypes(t[a]);i[a]=o}),{progress:function(o,s){var l;r!=null&&(l=s.getDimensionIndex(r));function u(S){return AN(s,f,S)}function c(S,w){p5e(s,f,S,w)}for(var f,d=s.getStore();(f=o.next())!=null;){var h=s.getRawDataItem(f);if(!(h&&h.visualMap===!1))for(var p=r!=null?d.get(l,f):f,v=n(p),m=t[v],g=i[v],y=0,_=g.length;y<_;y++){var b=g[y];m[b]&&m[b].applyVisual(p,u,c)}}}}}var cAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Lt),fAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){if(this.group.removeAll(),!!n.get("show")){var a=this.group,o=n.getModel("textStyle"),s=n.getModel("subtextStyle"),l=n.get("textAlign"),u=xt(n.get("textBaseline"),n.get("textVerticalAlign")),c=new Ft({style:Pr(o,{text:n.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),d=n.get("subtext"),h=new Ft({style:Pr(s,{text:d,fill:s.getTextColor(),y:f.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=n.get("link"),v=n.get("sublink"),m=n.get("triggerEvent",!0);c.silent=!p&&!m,h.silent=!v&&!m,p&&c.on("click",function(){L4(p,"_"+n.get("target"))}),v&&h.on("click",function(){L4(v,"_"+n.get("subtarget"))}),Pt(c).eventData=Pt(h).eventData=m?{componentType:"title",componentIndex:n.componentIndex}:null,a.add(c),d&&a.add(h);var g=a.getBoundingRect(),y=n.getBoxLayoutParams();y.width=g.width,y.height=g.height;var _=Zi(y,{width:i.getWidth(),height:i.getHeight()},n.get("padding"));l||(l=n.get("left")||n.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=n.get("top")||n.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var b={align:l,verticalAlign:u};c.setStyle(b),h.setStyle(b),g=a.getBoundingRect();var S=_.margin,w=n.getItemStyle(["color","opacity"]);w.fill=n.get("backgroundColor");var C=new Gt({shape:{x:g.x-S[3],y:g.y-S[0],width:g.width+S[1]+S[3],height:g.height+S[0]+S[2],r:n.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});a.add(C)}},t.type="title",t}(nr);function dAe(e){e.registerComponentModel(cAe),e.registerComponentView(fAe)}var hAe=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},pAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i),n.selected=n.selected||{},this._updateSelector(n)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),this._updateSelector(n)},t.prototype._updateSelector=function(n){var r=n.selector,i=this.ecModel;r===!0&&(r=n.selector=["all","inverse"]),Ce(r)&&R(r,function(a,o){Be(a)&&(a={type:a}),r[o]=nt(a,hAe(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var r=!1,i=0;i<n.length;i++){var a=n[i].get("name");if(this.isSelected(a)){this.select(a),r=!0;break}}!r&&this.select(n[0].get("name"))}},t.prototype._updateData=function(n){var r=[],i=[];n.eachRawSeries(function(l){var u=l.name;i.push(u);var c;if(l.legendVisualProvider){var f=l.legendVisualProvider,d=f.getAllNames();n.isSeriesFiltered(l)||(i=i.concat(d)),d.length?r=r.concat(d):c=!0}else c=!0;c&&D5(l)&&r.push(l.name)}),this._availableNames=i;var a=this.get("data")||r,o=Qe(),s=ke(a,function(l){return(Be(l)||Ut(l))&&(l={name:l}),o.get(l.name)?null:(o.set(l.name,!0),new wn(l,this,this.ecModel))},this);this._data=hn(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(n){var r=this.option.selected,i=this.get("selectedMode");if(i==="single"){var a=this._data;R(a,function(o){r[o.get("name")]=!1})}r[n]=!0},t.prototype.unSelect=function(n){this.get("selectedMode")!=="single"&&(this.option.selected[n]=!1)},t.prototype.toggleSelected=function(n){var r=this.option.selected;r.hasOwnProperty(n)||(r[n]=!0),this[r[n]?"unSelect":"select"](n)},t.prototype.allSelect=function(){var n=this._data,r=this.option.selected;R(n,function(i){r[i.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var n=this._data,r=this.option.selected;R(n,function(i){var a=i.get("name",!0);r.hasOwnProperty(a)||(r[a]=!0),r[a]=!r[a]})},t.prototype.isSelected=function(n){var r=this.option.selected;return!(r.hasOwnProperty(n)&&!r[n])&&ft(this._availableNames,n)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Lt);const aS=pAe;var Ru=Ct,oS=R,Uv=qt,vAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new Uv),this.group.add(this._selectorGroup=new Uv),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var o=n.get("align"),s=n.get("orient");(!o||o==="auto")&&(o=n.get("left")==="right"&&s==="vertical"?"right":"left");var l=n.get("selector",!0),u=n.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,n,r,i,l,s,u);var c=n.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},d=n.get("padding"),h=Zi(c,f,d),p=this.layoutInner(n,o,h,a,l,u),v=Zi(bt({width:p.width,height:p.height},c),f,d);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=OF(p,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,a,o,s,l){var u=this.getContentGroup(),c=Qe(),f=r.get("selectedMode"),d=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&d.push(h.id)}),oS(r.getData(),function(h,p){var v=h.get("name");if(!this.newlineDisabled&&(v===""||v===`
`)){var m=new Uv;m.newline=!0,u.add(m);return}var g=i.getSeriesByName(v)[0];if(!c.get(v))if(g){var y=g.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),S=y.getVisual("style"),w=this._createItem(g,v,p,h,r,n,_,S,b,f,a);w.on("click",Ru(AI,v,null,a,d)).on("mouseover",Ru(sS,g.name,null,a,d)).on("mouseout",Ru(lS,g.name,null,a,d)),c.set(v,!0)}else i.eachRawSeries(function(C){if(!c.get(v)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(v))return;var E=T.indexOfName(v),M=T.getItemVisual(E,"style"),A=T.getItemVisual(E,"legendIcon"),I=Or(M.fill);I&&I[3]===0&&(I[3]=.2,M=me(me({},M),{fill:Gi(I,"rgba")}));var O=this._createItem(C,v,p,h,r,n,{},M,A,f,a);O.on("click",Ru(AI,null,v,a,d)).on("mouseover",Ru(sS,null,v,a,d)).on("mouseout",Ru(lS,null,v,a,d)),c.set(v,!0)}},this)},this),o&&this._createSelector(o,r,a,s,l)},t.prototype._createSelector=function(n,r,i,a,o){var s=this.getSelectorGroup();oS(n,function(u){var c=u.type,f=new Ft({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);mp(f,{normal:d,emphasis:h},{defaultText:u.title}),vh(f)})},t.prototype._createItem=function(n,r,i,a,o,s,l,u,c,f,d){var h=n.visualDrawType,p=o.get("itemWidth"),v=o.get("itemHeight"),m=o.isSelected(r),g=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");c=_||c||"roundRect";var b=gAe(c,a,l,u,h,m,d),S=new Uv,w=a.getModel("textStyle");if(Xe(n.getLegendIcon)&&(!_||_==="inherit"))S.add(n.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:g,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var C=_==="inherit"&&n.getData().getVisual("symbol")?g==="inherit"?n.getData().getVisual("symbolRotate"):g:0;S.add(mAe({itemWidth:p,itemHeight:v,icon:c,iconRotate:C,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var T=s==="left"?p+5:-5,E=s,M=o.get("formatter"),A=r;Be(M)&&M?A=M.replace("{name}",r??""):Xe(M)&&(A=M(r));var I=a.get("inactiveColor");S.add(new Ft({style:Pr(w,{text:A,x:T,y:v/2,fill:m?w.getTextColor():I,align:E,verticalAlign:"middle"})}));var O=new Gt({shape:S.getBoundingRect(),invisible:!0}),D=a.getModel("tooltip");return D.get("show")&&gp({el:O,componentModel:o,itemName:r,itemTooltipOption:D.option}),S.add(O),S.eachChild(function(F){F.silent=!0}),O.silent=!f,this.getContentGroup().add(S),vh(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(n,r,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Tl(n.get("orient"),l,n.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Tl("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],p=n.get("selectorButtonGap",!0),v=n.getOrient().index,m=v===0?"width":"height",g=v===0?"height":"width",y=v===0?"y":"x";s==="end"?h[v]+=c[m]+p:f[v]+=d[m]+p,h[1-v]+=c[g]/2-d[g]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var _={x:0,y:0};return _[m]=c[m]+p+d[m],_[g]=Math.max(c[g],d[g]),_[y]=Math.min(0,d[y]+h[1-v]),_}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}(nr);function gAe(e,t,n,r,i,a,o){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),oS(m,function(y,_){m[_]==="inherit"&&(m[_]=g[_])})}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:Dw(f,o),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!a){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function mAe(e){var t=e.icon||"roundRect",n=Si(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function AI(e,t,n,r){lS(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),sS(e,t,n,r)}function BF(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;r<i&&!(n=t[r].states.emphasis);)r++;return n&&n.hoverLayer}function sS(e,t,n,r){BF(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function lS(e,t,n,r){BF(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}const FF=vAe;function yAe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(n){for(var r=0;r<t.length;r++)if(!t[r].isSelected(n.name))return!1;return!0})}function kf(e,t,n){var r={},i=e==="toggleSelected",a;return n.eachComponent("legend",function(o){i&&a!=null?o[a?"select":"unSelect"](t.name):e==="allSelect"||e==="inverseSelect"?o[e]():(o[e](t.name),a=o.isSelected(t.name));var s=o.getData();R(s,function(l){var u=l.get("name");if(!(u===`
`||u==="")){var c=o.isSelected(u);r.hasOwnProperty(u)?r[u]=r[u]&&c:r[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:r}:{name:t.name,selected:r}}function bAe(e){e.registerAction("legendToggleSelect","legendselectchanged",Ct(kf,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Ct(kf,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Ct(kf,"inverseSelect")),e.registerAction("legendSelect","legendselected",Ct(kf,"select")),e.registerAction("legendUnSelect","legendunselected",Ct(kf,"unSelect"))}function zF(e){e.registerComponentModel(aS),e.registerComponentView(FF),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,yAe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),bAe(e)}var _Ae=function(e){ve(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,i){var a=wp(n);e.prototype.init.call(this,n,r,i),MI(this,n,a)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),MI(this,this.option,n)},t.type="legend.scroll",t.defaultOption=Jc(aS.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}(aS);function MI(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,ql(t,n,{type:"box",ignoreSize:!!i})}const wAe=_Ae;var II=qt,n_=["width","height"],r_=["x","y"],SAe=function(e){ve(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 II),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new II)},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,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,n,r,i,a,o,s,l);var c=this._controllerGroup,f=r.get("pageIconSize",!0),d=Ce(f)?f:[f,f];p("pagePrev",0);var h=r.getModel("pageTextStyle");c.add(new Ft({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(v,m){var g=v+"DataIndex",y=vp(r.get("pageIcons",!0)[r.getOrient().name][m],{onclick:Fe(u._pageGo,u,g,r,a)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});y.name=v,c.add(y)}},t.prototype.layoutInner=function(n,r,i,a,o,s){var l=this.getSelectorGroup(),u=n.getOrient().index,c=n_[u],f=r_[u],d=n_[1-u],h=r_[1-u];o&&Tl("horizontal",l,n.get("selectorItemGap",!0));var p=n.get("selectorButtonGap",!0),v=l.getBoundingRect(),m=[-v.x,-v.y],g=qe(i);o&&(g[c]=i[c]-v[c]-p);var y=this._layoutContentAndController(n,a,g,u,c,d,h,f);if(o){if(s==="end")m[u]+=y[c]+p;else{var _=v[c]+p;m[u]-=_,y[f]-=_}y[c]+=v[c]+p,m[1-u]+=y[h]+y[d]/2-v[d]/2,y[d]=Math.max(y[d],v[d]),y[h]=Math.min(y[h],v[h]+m[1-u]),l.x=m[0],l.y=m[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(n,r,i,a,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Tl(n.get("orient"),c,n.get("itemGap"),a?i.width:null,a?null:i.height),Tl("horizontal",d,n.get("pageButtonItemGap",!0));var h=c.getBoundingRect(),p=d.getBoundingRect(),v=this._showController=h[o]>i[o],m=[-h.x,-h.y];r||(m[a]=c[u]);var g=[0,0],y=[-p.x,-p.y],_=xt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(v){var b=n.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-p[o]:g[a]+=p[o]+_}y[1-a]+=h[s]/2-p[s]/2,c.setPosition(m),f.setPosition(g),d.setPosition(y);var S={x:0,y:0};if(S[o]=v?i[o]:h[o],S[s]=Math.max(h[s],p[s]),S[l]=Math.min(0,p[l]+y[1-a]),f.__rectSize=i[o],v){var w={x:0,y:0};w[o]=Math.max(i[o]-p[o]-_,0),w[s]=S[s],f.setClipPath(new Gt({shape:w})),f.__rectSize=w[o]}else d.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(n);return C.pageIndex!=null&&Vn(c,{x:C.contentPosition[0],y:C.contentPosition[1]},v?n:null),this._updatePageInfoView(n,C),S},t.prototype._pageGo=function(n,r,i){var a=this._getPageInfo(r)[n];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var i=this._controllerGroup;R(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",d=r[f]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",d?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var a=i.childOfName("pageText"),o=n.get("pageFormatter"),s=r.pageIndex,l=s!=null?s+1:0,u=r.pageCount;a&&o&&a.setStyle("text",Be(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=n.getOrient().index,s=n_[o],l=r_[o],u=this._findTargetItemIndex(r),c=i.children(),f=c[u],d=c.length,h=d?1:0,p={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var v=b(f);p.contentPosition[o]=-v.s;for(var m=u+1,g=v,y=v,_=null;m<=d;++m)_=b(c[m]),(!_&&y.e>g.s+a||_&&!S(_,g.s))&&(y.i>g.i?g=y:g=_,g&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=g.i),++p.pageCount)),y=_;for(var m=u-1,g=v,y=v,_=null;m>=-1;--m)_=b(c[m]),(!_||!S(y,_.s))&&g.i<y.i&&(y=g,p.pagePrevDataIndex==null&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=_;return p;function b(w){if(w){var C=w.getBoundingRect(),T=C[l]+w[l];return{s:T,e:T+C[s],i:w.__legendDataIndex}}}function S(w,C){return w.e>=C&&w.s<=C+a}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===n&&(r=s)}),r??a},t.type="legend.scroll",t}(FF);const CAe=SAe;function xAe(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function TAe(e){Qr(zF),e.registerComponentModel(wAe),e.registerComponentView(CAe),xAe(e)}function EAe(e){Qr(zF),Qr(TAe)}var AAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=Jc(Ih.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Ih);const MAe=AAe;var t3=tn();function IAe(e,t,n){t3(e).coordSysRecordMap.each(function(r){var i=r.dataZoomInfoMap.get(t.uid);i&&(i.getRange=n)})}function OAe(e,t){for(var n=t3(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var a=r[i],o=n.get(a),s=o.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||VF(n,o))}}}function VF(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function PAe(e,t){var n={model:t,containsPoint:Ct(DAe,t),dispatchAction:Ct(RAe,e),dataZoomInfoMap:null,controller:null},r=n.controller=new h6e(e.getZr());return R(["pan","zoom","scrollMove"],function(i){r.on(i,function(a){var o=[];n.dataZoomInfoMap.each(function(s){if(a.isAvailableBehavior(s.model.option)){var l=(s.getRange||{})[i],u=l&&l(s.dzReferCoordSysInfo,n.model.mainType,n.controller,a);!s.model.get("disabled",!0)&&u&&o.push({dataZoomId:s.model.id,start:u[0],end:u[1]})}}),o.length&&n.dispatchAction(o)})}),n}function RAe(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function DAe(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function LAe(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each(function(a){var o=a.model,s=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;r[n+s]>r[n+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function kAe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=t3(n),i=r.coordSysRecordMap||(r.coordSysRecordMap=Qe());i.each(function(a){a.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=AF(a);R(o.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,PAe(n,s.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=Qe());c.set(a.uid,{dzReferCoordSysInfo:s,model:a,getRange:null})})}),i.each(function(a){var o=a.controller,s,l=a.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){VF(i,a);return}var c=LAe(l);o.enable(c.controlType,c.opt),o.setPointerChecker(a.containsPoint),wy(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var $Ae=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,i){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),IAe(i,n,{pan:Fe(i_.pan,this),zoom:Fe(i_.zoom,this),scrollMove:Fe(i_.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){OAe(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(Zx),i_={zoom:function(e,t,n,r){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=a_[t](null,[r.originX,r.originY],o,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/r.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(rf(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:OI(function(e,t,n,r,i,a){var o=a_[r]([a.oldX,a.oldY],[a.newX,a.newY],t,i,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:OI(function(e,t,n,r,i,a){var o=a_[r]([0,0],[a.scrollDelta,a.scrollDelta],t,i,n);return o.signal*(e[1]-e[0])*a.scrollDelta})};function OI(e){return function(t,n,r,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var l=e(o,s,t,n,r,i);if(rf(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var a_={grid:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],a.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),n.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,n,r,i){var a=n.axis,o=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],a.orient==="horizontal"?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};const NAe=$Ae;function BAe(e){Xx(e),e.registerComponentModel(MAe),e.registerComponentView(NAe),kAe(e)}var FAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Jc(Ih.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Ih);const zAe=FAe;var $f=Gt,PI=7,VAe=1,o_=30,HAe=7,Nf="horizontal",RI="vertical",WAe=5,UAe=["line","bar","candlestick","scatter"],GAe={easing:"cubicOut",duration:100,delay:0},jAe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=Fe(this._onBrush,this),this._onBrushEnd=Fe(this._onBrushEnd,this)},t.prototype.render=function(n,r,i,a){if(e.prototype.render.apply(this,arguments),wy(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Im(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new qt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,i=n.get("brushSelect"),a=i?HAe:0,o=this._findCoordRect(),s={width:r.getWidth(),height:r.getHeight()},l=this._orient===Nf?{right:s.width-o.x-o.width,top:s.height-o_-PI-a,width:o.width,height:o_}:{right:PI,top:o.y,width:o_,height:o.height},u=wp(n.option);R(["right","top","width","height"],function(f){u[f]==="ph"&&(u[f]=l[f])});var c=Zi(u,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===RI&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,i=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),o=a&&a.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===Nf&&!o?{scaleY:l?1:-1,scaleX:1}:i===Nf&&o?{scaleY:l?1:-1,scaleX:-1}:i===RI&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([s]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,i=this._displayables.sliderGroup,a=n.get("brushSelect");i.add(new $f({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var o=new $f({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:Fe(this._onClickPanel,this)}),s=this.api.getZr();a?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,i=this._shadowSize||[],a=n.series,o=a.getRawData(),s=a.getShadowDim&&a.getShadowDim(),l=s&&o.getDimensionInfo(s)?a.getShadowDim():n.otherDim;if(l==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||r[0]!==i[0]||r[1]!==i[1]){var f=o.getDataExtent(l),d=(f[1]-f[0])*.3;f=[f[0]-d,f[1]+d];var h=[0,r[1]],p=[0,r[0]],v=[[r[0],0],[0,0]],m=[],g=p[1]/(o.count()-1),y=0,_=Math.round(o.count()/r[0]),b;o.each([l],function(E,M){if(_>0&&M%_){y+=g;return}var A=E==null||isNaN(E)||E==="",I=A?0:en(E,f,h,!0);A&&!b&&M?(v.push([v[v.length-1][0],0]),m.push([m[m.length-1][0],0])):!A&&b&&(v.push([y,0]),m.push([y,0])),v.push([y,I]),m.push([y,I]),y+=g,b=A}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=m}this._shadowData=o,this._shadowDim=l,this._shadowSize=[r[0],r[1]];var S=this.dataZoomModel;function w(E){var M=S.getModel(E?"selectedDataBackground":"dataBackground"),A=new qt,I=new Qc({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),O=new ou({shape:{points:c},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return A.add(I),A.add(O),A}for(var C=0;C<3;C++){var T=w(C===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var i,a=this.ecModel;return n.eachTargetAxis(function(o,s){var l=n.getAxisProxy(o,s).getTargetSeriesModels();R(l,function(u){if(!i&&!(r!==!0&&ft(UAe,u.get("type"))<0)){var c=a.getComponent(Jo(o),s).axis,f=qAe(o),d,h=u.coordinateSystem;f!=null&&h.getOtherAxis&&(d=h.getOtherAxis(c).inverse),f=u.getData().mapDimension(f),i={thisAxis:c,series:u,thisDim:o,otherDim:f,otherAxisInverse:d}}},this)},this),i}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,i=r.handles=[null,null],a=r.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,c=l.get("borderRadius")||0,f=l.get("brushSelect"),d=r.filler=new $f({silent:f,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(d),o.add(new $f({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:c},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:VAe,fill:"rgba(0,0,0,0)"}})),R([0,1],function(_){var b=l.get("handleIcon");!Pm[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b);var S=Si(b,-1,0,2,2,null,!0);S.attr({cursor:DI(this._orient),draggable:!0,drift:Fe(this._onDragMove,this,_),ondragend:Fe(this._onDragEnd,this),onmouseover:Fe(this._showDataInfo,this,!0),onmouseout:Fe(this._showDataInfo,this,!1),z2:5});var w=S.getBoundingRect(),C=l.get("handleSize");this._handleHeight=Ht(C,this._size[1]),this._handleWidth=w.width/w.height*this._handleHeight,S.setStyle(l.getModel("handleStyle").getItemStyle()),S.style.strokeNoScale=!0,S.rectHover=!0,S.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),vh(S);var T=l.get("handleColor");T!=null&&(S.style.fill=T),o.add(i[_]=S);var E=l.getModel("textStyle");n.add(a[_]=new Ft({silent:!0,invisible:!0,style:Pr(E,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:E.getTextColor(),font:E.getFont()}),z2:10}))},this);var h=d;if(f){var p=Ht(l.get("moveHandleSize"),s[1]),v=r.moveHandle=new Gt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),m=p*.8,g=r.moveHandleIcon=Si(l.get("moveHandleIcon"),-m/2,-m/2,m,m,"#fff",!0);g.silent=!0,g.y=s[1]+p/2-.5,v.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(p,10));h=r.moveZone=new Gt({invisible:!0,shape:{y:s[1]-y,height:p+y}}),h.on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),o.add(v),o.add(g),o.add(h)}h.attr({draggable:!0,cursor:DI(this._orient),drift:Fe(this._onDragMove,this,"all"),ondragstart:Fe(this._showDataInfo,this,!0),ondragend:Fe(this._onDragEnd,this),onmouseover:Fe(this._showDataInfo,this,!0),onmouseout:Fe(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[en(n[0],[0,100],r,!0),en(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];rf(r,a,o,i.get("zoomLock")?"all":n,s.minSpan!=null?en(s.minSpan,l,o,!0):null,s.maxSpan!=null?en(s.maxSpan,l,o,!0):null);var u=this._range,c=this._range=Yo([en(a[0],o,l,!0),en(a[1],o,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,i=this._handleEnds,a=Yo(i.slice()),o=this._size;R([0,1],function(h){var p=r.handles[h],v=this._handleHeight;p.attr({scaleX:v/2,scaleY:v/2,x:i[h]+(h?-1:1),y:o[1]/2-v/2})},this),r.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:o[1]});var s={x:a[0],width:a[1]-a[0]};r.moveHandle&&(r.moveHandle.setShape(s),r.moveZone.setShape(s),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=r.dataShadowSegs,u=[0,a[0],a[1],o[0]],c=0;c<l.length;c++){var f=l[c],d=f.getClipPath();d||(d=new Gt,f.setClipPath(d)),d.setShape({x:u[c],y:0,width:u[c+1]-u[c],height:o[1]})}this._updateDataInfo(n)},t.prototype._updateDataInfo=function(n){var r=this.dataZoomModel,i=this._displayables,a=i.handleLabels,o=this._orient,s=["",""];if(r.get("showDetail")){var l=r.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,f=n?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(f[0],u),this._formatLabel(f[1],u)]}}var d=Yo(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(p){var v=as(i.handles[p].parent,this.group),m=ly(p===0?"right":"left",v),g=this._handleWidth/2+WAe,y=os([d[p]+(p===0?-g:g),this._size[1]/2],v);a[p].setStyle({x:y[0],y:y[1],verticalAlign:o===Nf?"middle":m,align:o===Nf?m:"center",text:s[p]})}},t.prototype._formatLabel=function(n,r){var i=this.dataZoomModel,a=i.get("labelFormatter"),o=i.get("labelPrecision");(o==null||o==="auto")&&(o=r.getPixelPrecision());var s=n==null||isNaN(n)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(n)}):n.toFixed(Math.min(o,20));return Xe(a)?a(n,s):Be(a)?a.replace("{value}",s):s},t.prototype._showDataInfo=function(n){n=this._dragging||n;var r=this._displayables,i=r.handleLabels;i[0].attr("invisible",!n),i[1].attr("invisible",!n),r.moveHandle&&this.api[n?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},t.prototype._onDragMove=function(n,r,i,a){this._dragging=!0,ao(a.event);var o=this._displayables.sliderGroup.getLocalTransform(),s=os([r,i],o,!0),l=this._updateInterval(n,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var n=this.dataZoomModel.get("realtime");!n&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(n){var r=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(n.offsetX,n.offsetY);if(!(i[0]<0||i[0]>r[0]||i[1]<0||i[1]>r[1])){var a=this._handleEnds,o=(a[0]+a[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,i=n.offsetY;this._brushStart=new tt(r,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var i=r.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Yo([en(i.x,o,s,!0),en(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(ao(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new $f({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(n,r),c=l.transformCoordToLocal(s.x,s.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),o.setShape({x:c[0],y:0,width:u[0]-c[0],height:f[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?GAe:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=AF(this.dataZoomModel).infoList;if(!n&&r.length){var i=r[0].model.coordinateSystem;n=i.getRect&&i.getRect()}if(!n){var a=this.api.getWidth(),o=this.api.getHeight();n={x:a*.2,y:o*.2,width:a*.6,height:o*.6}}return n},t.type="dataZoom.slider",t}(Zx);function qAe(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function DI(e){return e==="vertical"?"ns-resize":"ew-resize"}const KAe=jAe;function YAe(e){e.registerComponentModel(zAe),e.registerComponentView(KAe),Xx(e)}function ZAe(e){Qr(BAe),Qr(YAe)}var XAe={get:function(e,t,n){var r=qe((QAe[e]||{})[t]);return n&&Ce(r)?r[r.length-1]:r}},QAe={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const HF=XAe;var LI=Rr.mapVisual,JAe=Rr.eachVisual,eMe=Ce,kI=R,tMe=Yo,nMe=en,rMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i)},t.prototype.optionUpdated=function(n,r){var i=this.option;!r&&lAe(i,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=Fe(n,this),this.controllerVisuals=EI(this.option.controller,r,n),this.targetVisuals=EI(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,r=[];return n==null||n==="all"?this.ecModel.eachSeries(function(i,a){r.push(a)}):r=Sn(n),r},t.prototype.eachTargetSeries=function(n,r){R(this.getTargetSeriesIndices(),function(i){var a=this.ecModel.getSeriesByIndex(i);a&&n.call(r,a)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(i){i===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,i){var a=this.option,o=a.precision,s=this.dataBound,l=a.formatter,u;i=i||["<",">"],Ce(n)&&(n=n.slice(),u=!0);var c=r?n:u?[f(n[0]),f(n[1])]:f(n);if(Be(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(Xe(l))return u?l(n[0],n[1]):l(n);if(u)return n[0]===s[0]?i[0]+" "+c[1]:n[1]===s[1]?i[1]+" "+c[0]:c[0]+" - "+c[1];return c;function f(d){return d===s[0]?"min":d===s[1]?"max":(+d).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var n=this.option,r=tMe([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var i=n.dimensions,a=i.length-1;a>=0;a--){var o=i[a],s=n.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},a=r.target||(r.target={}),o=r.controller||(r.controller={});nt(a,i),nt(o,i);var s=this.isCategory();l.call(this,a),l.call(this,o),u.call(this,a,"inRange","outOfRange"),c.call(this,o);function l(f){eMe(r.color)&&!f.inRange&&(f.inRange={color:r.color.slice().reverse()}),f.inRange=f.inRange||{color:n.get("gradientColor")}}function u(f,d,h){var p=f[d],v=f[h];p&&!v&&(v=f[h]={},kI(p,function(m,g){if(Rr.isValidType(g)){var y=HF.get(g,"inactive",s);y!=null&&(v[g]=y,g==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(f){var d=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,h=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),v=this.getItemSymbol(),m=v||"roundRect";kI(this.stateList,function(g){var y=this.itemSize,_=f[g];_||(_=f[g]={color:s?p:[p]}),_.symbol==null&&(_.symbol=d&&qe(d)||(s?m:[m])),_.symbolSize==null&&(_.symbolSize=h&&qe(h)||(s?y[0]:[y[0],y[0]])),_.symbol=LI(_.symbol,function(w){return w==="none"?m:w});var b=_.symbolSize;if(b!=null){var S=-1/0;JAe(b,function(w){w>S&&(S=w)}),_.symbolSize=LI(b,function(w){return nMe(w,[0,S],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Lt);const Hm=rMe;var $I=[20,140],iMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=$I[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=$I[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):Ce(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),R(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=Yo((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]<n[0]&&(r[0]=n[0]),r[1]<n[0]&&(r[1]=n[0]),r},t.prototype.getValueState=function(n){var r=this.option.range,i=this.getExtent();return(r[0]<=i[0]||r[0]<=n)&&(r[1]>=i[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(i){var a=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(s,l){n[0]<=s&&s<=n[1]&&a.push(l)},this),r.push({seriesId:i.id,dataIndex:a})},this),r},t.prototype.getVisualMeta=function(n){var r=NI(this,"outOfRange",this.getExtent()),i=NI(this,"inRange",this.option.range.slice()),a=[];function o(h,p){a.push({value:h,color:n(h,p)})}for(var s=0,l=0,u=i.length,c=r.length;l<c&&(!i.length||r[l]<=i[0]);l++)r[l]<i[s]&&o(r[l],"outOfRange");for(var f=1;s<u;s++,f=0)f&&a.length&&o(i[s],"outOfRange"),o(i[s],"inRange");for(var f=1;l<c;l++)(!i.length||i[i.length-1]<r[l])&&(f&&(a.length&&o(a[a.length-1].value,"outOfRange"),f=0),o(r[l],"outOfRange"));var d=a.length;return{stops:a,outerColors:[d?a[0].color:"transparent",d?a[d-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Jc(Hm.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(Hm);function NI(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,a=n[0],o=[],s=0;s<=r&&a<n[1];s++)o.push(a),a+=i;return o.push(n[1]),o}const aMe=iMe;var oMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return t.prototype.init=function(n,r){this.ecModel=n,this.api=r},t.prototype.render=function(n,r,i,a){if(this.visualMapModel=n,n.get("show")===!1){this.group.removeAll();return}this.doRender(n,r,i,a)},t.prototype.renderBackground=function(n){var r=this.visualMapModel,i=ef(r.get("padding")||0),a=n.getBoundingRect();n.add(new Gt({z2:-1,silent:!0,shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[3]+i[1],height:a.height+i[0]+i[2]},style:{fill:r.get("backgroundColor"),stroke:r.get("borderColor"),lineWidth:r.get("borderWidth")}}))},t.prototype.getControllerVisual=function(n,r,i){i=i||{};var a=i.forceState,o=this.visualMapModel,s={};if(r==="color"){var l=o.get("contentColor");s.color=l}function u(h){return s[h]}function c(h,p){s[h]=p}var f=o.controllerVisuals[a||o.getValueState(n)],d=Rr.prepareVisualTypes(f);return R(d,function(h){var p=f[h];i.convertOpacityToAlpha&&h==="opacity"&&(h="colorAlpha",p=f.__alphaForOpacity),Rr.dependsOn(h,r)&&p&&p.applyVisual(n,u,c)}),s[r]},t.prototype.positionGroup=function(n){var r=this.visualMapModel,i=this.api;sx(n,r.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},t.prototype.doRender=function(n,r,i,a){},t.type="visualMap",t}(nr);const WF=oMe;var BI=[["left","right","width"],["top","bottom","height"]];function UF(e,t,n){var r=e.option,i=r.align;if(i!=null&&i!=="auto")return i;for(var a={width:t.getWidth(),height:t.getHeight()},o=r.orient==="horizontal"?1:0,s=BI[o],l=[0,null,10],u={},c=0;c<3;c++)u[BI[1-o][c]]=l[c],u[s[c]]=c===2?n[0]:r[s[c]];var f=[["x","width",3],["y","height",0]][o],d=Zi(u,a,r.padding);return s[(d.margin[f[2]]||0)+d[f[0]]+d[f[1]]*.5<a[f[1]]*.5?0:1]}function Pg(e,t){return R(e||[],function(n){n.dataIndex!=null&&(n.dataIndexInside=n.dataIndex,n.dataIndex=null),n.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}var fa=en,sMe=R,FI=Math.min,s_=Math.max,lMe=12,uMe=6,cMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return t.prototype.doRender=function(n,r,i,a){this._api=i,(!a||a.type!=="selectDataRange"||a.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var n=this.visualMapModel,r=this.group;this._orient=n.get("orient"),this._useHandle=n.get("calculable"),this._resetInterval(),this._renderBar(r);var i=n.get("text");this._renderEndsText(r,i,0),this._renderEndsText(r,i,1),this._updateView(!0),this.renderBackground(r),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(r)},t.prototype._renderEndsText=function(n,r,i){if(r){var a=r[1-i];a=a!=null?a+"":"";var o=this.visualMapModel,s=o.get("textGap"),l=o.itemSize,u=this._shapes.mainGroup,c=this._applyTransform([l[0]/2,i===0?-s:l[1]+s],u),f=this._applyTransform(i===0?"bottom":"top",u),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new Ft({style:Pr(h,{x:c[0],y:c[1],verticalAlign:d==="horizontal"?"middle":f,align:d==="horizontal"?f:"center",text:a})}))}},t.prototype._renderBar=function(n){var r=this.visualMapModel,i=this._shapes,a=r.itemSize,o=this._orient,s=this._useHandle,l=UF(r,this.api,a),u=i.mainGroup=this._createBarGroup(l),c=new qt;u.add(c),c.add(i.outOfRange=zI()),c.add(i.inRange=zI(null,s?HI(this._orient):null,Fe(this._dragHandle,this,"all",!1),Fe(this._dragHandle,this,"all",!0))),c.setClipPath(new Gt({shape:{x:0,y:0,width:a[0],height:a[1],r:3}}));var f=r.textStyleModel.getTextRect("国"),d=s_(f.width,f.height);s&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(r,u,0,a,d,o),this._createHandle(r,u,1,a,d,o)),this._createIndicator(r,u,a,d,o),n.add(u)},t.prototype._createHandle=function(n,r,i,a,o,s){var l=Fe(this._dragHandle,this,i,!1),u=Fe(this._dragHandle,this,i,!0),c=Ma(n.get("handleSize"),a[0]),f=Si(n.get("handleIcon"),-c/2,-c/2,c,c,null,!0),d=HI(this._orient);f.attr({cursor:d,draggable:!0,drift:l,ondragend:u,onmousemove:function(g){ao(g.event)}}),f.x=a[0]/2,f.useStyle(n.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=n.getModel(["emphasis","handleStyle"]).getItemStyle(),z5(f,!0),r.add(f);var h=this.visualMapModel.textStyleModel,p=new Ft({cursor:d,draggable:!0,drift:l,onmousemove:function(g){ao(g.event)},ondragend:u,style:Pr(h,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var v=[c,0],m=this._shapes;m.handleThumbs[i]=f,m.handleLabelPoints[i]=v,m.handleLabels[i]=p},t.prototype._createIndicator=function(n,r,i,a,o){var s=Ma(n.get("indicatorSize"),i[0]),l=Si(n.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);l.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var u=n.getModel("indicatorStyle").getItemStyle();if(l instanceof Da){var c=l.style;l.useStyle(me({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},u))}else l.useStyle(u);r.add(l);var f=this.visualMapModel.textStyleModel,d=new Ft({silent:!0,invisible:!0,style:Pr(f,{x:0,y:0,text:""})});this.group.add(d);var h=[(o==="horizontal"?a/2:uMe)+i[0]/2,0],p=this._shapes;p.indicator=l,p.indicatorLabel=d,p.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(n,r,i,a){if(this._useHandle){if(this._dragging=!r,!r){var o=this._applyTransform([i,a],this._shapes.mainGroup,!0);this._updateInterval(n,o[1]),this._hideIndicator(),this._updateView()}r===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),r?!this._hovering&&this._clearHoverLinkToSeries():VI(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[n],!1)}},t.prototype._resetInterval=function(){var n=this.visualMapModel,r=this._dataInterval=n.getSelected(),i=n.getExtent(),a=[0,n.itemSize[1]];this._handleEnds=[fa(r[0],i,a,!0),fa(r[1],i,a,!0)]},t.prototype._updateInterval=function(n,r){r=r||0;var i=this.visualMapModel,a=this._handleEnds,o=[0,i.itemSize[1]];rf(r,a,o,n,0);var s=i.getExtent();this._dataInterval=[fa(a[0],o,s,!0),fa(a[1],o,s,!0)]},t.prototype._updateView=function(n){var r=this.visualMapModel,i=r.getExtent(),a=this._shapes,o=[0,r.itemSize[1]],s=n?o:this._handleEnds,l=this._createBarVisual(this._dataInterval,i,s,"inRange"),u=this._createBarVisual(i,i,o,"outOfRange");a.inRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),a.outOfRange.setStyle({fill:u.barColor}).setShape("points",u.barPoints),this._updateHandle(s,l)},t.prototype._createBarVisual=function(n,r,i,a){var o={forceState:a,convertOpacityToAlpha:!0},s=this._makeColorGradient(n,o),l=[this.getControllerVisual(n[0],"symbolSize",o),this.getControllerVisual(n[1],"symbolSize",o)],u=this._createBarPoints(i,l);return{barColor:new oy(0,0,0,1,s),barPoints:u,handlesColor:[s[0].color,s[s.length-1].color]}},t.prototype._makeColorGradient=function(n,r){var i=100,a=[],o=(n[1]-n[0])/i;a.push({color:this.getControllerVisual(n[0],"color",r),offset:0});for(var s=1;s<i;s++){var l=n[0]+o*s;if(l>n[1])break;a.push({color:this.getControllerVisual(l,"color",r),offset:s/i})}return a.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),a},t.prototype._createBarPoints=function(n,r){var i=this.visualMapModel.itemSize;return[[i[0]-r[0],n[0]],[i[0],n[0]],[i[0],n[1]],[i[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,i=this.visualMapModel.get("inverse");return new qt(r==="horizontal"&&!i?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&i?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!i?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var i=this._shapes,a=this.visualMapModel,o=i.handleThumbs,s=i.handleLabels,l=a.itemSize,u=a.getExtent();sMe([0,1],function(c){var f=o[c];f.setStyle("fill",r.handlesColor[c]),f.y=n[c];var d=fa(n[c],[0,l[1]],u,!0),h=this.getControllerVisual(d,"symbolSize");f.scaleX=f.scaleY=h/l[0],f.x=l[0]-h/2;var p=os(i.handleLabelPoints[c],as(f,this.group));s[c].setStyle({x:p[0],y:p[1],text:a.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,i,a){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],c=this._shapes,f=c.indicator;if(f){f.attr("invisible",!1);var d={convertOpacityToAlpha:!0},h=this.getControllerVisual(n,"color",d),p=this.getControllerVisual(n,"symbolSize"),v=fa(n,s,u,!0),m=l[0]-p/2,g={x:f.x,y:f.y};f.y=v,f.x=m;var y=os(c.indicatorLabelPoint,as(f,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var b=this._applyTransform("left",c.mainGroup),S=this._orient,w=S==="horizontal";_.setStyle({text:(i||"")+o.formatValueText(r),verticalAlign:w?b:"middle",align:w?"center":b});var C={x:m,y:v,style:{fill:h}},T={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var E={duration:100,easing:"cubicInOut",additive:!0};f.x=g.x,f.y=g.y,f.animateTo(C,E),_.animateTo(T,E)}else f.attr(C),_.attr(T);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var A=0;A<M.length;A++)this._api.enterBlur(M[A])}},t.prototype._enableHoverLinkToSeries=function(){var n=this;this._shapes.mainGroup.on("mousemove",function(r){if(n._hovering=!0,!n._dragging){var i=n.visualMapModel.itemSize,a=n._applyTransform([r.offsetX,r.offsetY],n._shapes.mainGroup,!0,!0);a[1]=FI(s_(0,a[1]),i[1]),n._doHoverLinkToSeries(a[1],0<=a[0]&&a[0]<=i[0])}}).on("mouseout",function(){n._hovering=!1,!n._dragging&&n._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var n=this.api.getZr();this.visualMapModel.option.hoverLink?(n.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),n.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(n,r){var i=this.visualMapModel,a=i.itemSize;if(i.option.hoverLink){var o=[0,a[1]],s=i.getExtent();n=FI(s_(o[0],n),o[1]);var l=fMe(i,s,o),u=[n-l,n+l],c=fa(n,o,s,!0),f=[fa(u[0],o,s,!0),fa(u[1],o,s,!0)];u[0]<o[0]&&(f[0]=-1/0),u[1]>o[1]&&(f[1]=1/0),r&&(f[0]===-1/0?this._showIndicator(c,f[1],"< ",l):f[1]===1/0?this._showIndicator(c,f[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,h=[];(r||VI(i))&&(h=this._hoverLinkDataIndices=i.findTargetDataIndices(f));var p=B_e(d,h);this._dispatchHighDown("downplay",Pg(p[0],i)),this._dispatchHighDown("highlight",Pg(p[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(ju(n.target,function(l){var u=Pt(l);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var i=this.ecModel.getSeriesByIndex(r.seriesIndex),a=this.visualMapModel;if(a.isTargetSeries(i)){var o=i.getData(r.dataType),s=o.getStore().get(a.getDataDimensionIndex(o),r.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var i=0;i<r.length;i++)this._api.leaveBlur(r[i])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var n=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",Pg(n,this.visualMapModel)),n.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var n=this.api.getZr();n.off("mouseover",this._hoverLinkFromSeriesMouseOver),n.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(n,r,i,a){var o=as(r,a?null:this.group);return Ce(n)?os(n,o,i):ly(n,o,i)},t.prototype._dispatchHighDown=function(n,r){r&&r.length&&this.api.dispatchAction({type:n,batch:r})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(WF);function zI(e,t,n,r){return new Qc({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(i){ao(i.event)},ondragend:r})}function fMe(e,t,n){var r=lMe/2,i=e.get("hoverLinkDataSize");return i&&(r=fa(i,t,n,!0)/2),r}function VI(e){var t=e.get("hoverLinkOnHandle");return!!(t??e.get("realtime"))}function HI(e){return e==="vertical"?"ns-resize":"ew-resize"}const dMe=cMe;var hMe={type:"selectDataRange",event:"dataRangeSelected",update:"update"},pMe=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(n){n.setSelected(e.selected)})},vMe=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",function(r){var i=e.pipelineContext;!r.isTargetSeries(e)||i&&i.large||n.push(uAe(r.stateList,r.targetVisuals,Fe(r.getValueState,r),r.getDataDimensionIndex(e.getData())))}),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",function(i){if(i.isTargetSeries(e)){var a=i.getVisualMeta(Fe(gMe,null,e,i))||{stops:[],outerColors:[]},o=i.getDataDimensionIndex(n);o>=0&&(a.dimension=o,r.push(a))}}),e.getData().setVisual("visualMeta",r)}}];function gMe(e,t,n,r){for(var i=t.targetVisuals[r],a=Rr.prepareVisualTypes(i),o={color:MN(e.getData(),"color")},s=0,l=a.length;s<l;s++){var u=a[s],c=i[u==="opacity"?"__alphaForOpacity":u];c&&c.applyVisual(n,f,d)}return o.color;function f(h){return o[h]}function d(h,p){o[h]=p}}var WI=R;function mMe(e){var t=e&&e.visualMap;Ce(t)||(t=t?[t]:[]),WI(t,function(n){if(n){Du(n,"splitList")&&!Du(n,"pieces")&&(n.pieces=n.splitList,delete n.splitList);var r=n.pieces;r&&Ce(r)&&WI(r,function(i){ze(i)&&(Du(i,"start")&&!Du(i,"min")&&(i.min=i.start),Du(i,"end")&&!Du(i,"max")&&(i.max=i.end))})}})}function Du(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var UI=!1;function GF(e){UI||(UI=!0,e.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(hMe,pMe),R(vMe,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(mMe))}function yMe(e){e.registerComponentModel(aMe),e.registerComponentView(dMe),GF(e)}var bMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],_Me[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var a=this.option.categories;this.resetVisual(function(o,s){i==="categories"?(o.mappingMethod="category",o.categories=qe(a)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=ke(this._pieceList,function(l){return l=qe(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},i=Rr.listVisualTypes(),a=this.isCategory();R(n.pieces,function(s){R(i,function(l){s.hasOwnProperty(l)&&(r[l]=1)})}),R(r,function(s,l){var u=!1;R(this.stateList,function(c){u=u||o(n,c,l)||o(n.target,c,l)},this),!u&&R(this.stateList,function(c){(n[c]||(n[c]={}))[l]=HF.get(l,c==="inRange"?"active":"inactive",a)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var i=this.option,a=this._pieceList,o=(r?i:n).selected||{};if(i.selected=o,R(a,function(l,u){var c=this.getSelectedMapKey(l);o.hasOwnProperty(c)||(o[c]=!0)},this),i.selectedMode==="single"){var s=!1;R(a,function(l,u){var c=this.getSelectedMapKey(l);o[c]&&(s?o[c]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=qe(n)},t.prototype.getValueState=function(n){var r=Rr.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],i=this._pieceList;return this.eachTargetSeries(function(a){var o=[],s=a.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var c=Rr.findPieceIndex(l,i);c===n&&o.push(u)},this),r.push({seriesId:a.id,dataIndex:o})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var i=n.interval||[];r=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],i=["",""],a=this;function o(c,f){var d=a.getRepresentValue({interval:c});f||(f=a.getValueState(d));var h=n(d,f);c[0]===-1/0?i[0]=h:c[1]===1/0?i[1]=h:r.push({value:c[0],color:h},{value:c[1],color:h})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return R(s,function(c){var f=c.interval;f&&(f[0]>u&&o([u,f[0]],"outOfRange"),o(f.slice()),u=f[1])},this),{stops:r,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=Jc(Hm.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(Hm),_Me={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var a=(r[1]-r[0])/i;+a.toFixed(n)!==a&&n<5;)n++;t.precision=n,a=+a.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var o=0,s=r[0];o<i;s+=a,o++){var l=o===i-1?r[1]:s+a;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),fw(e),R(e,function(u,c){u.index=c,u.text=this.formatValueText(u.interval)},this)},categories:function(e){var t=this.option;R(t.categories,function(n){e.push({text:this.formatValueText(n,!0),value:n})},this),GI(t,e)},pieces:function(e){var t=this.option;R(t.pieces,function(n,r){ze(n)||(n={value:n});var i={text:"",index:r};if(n.label!=null&&(i.text=n.label),n.hasOwnProperty("value")){var a=i.value=n.value;i.interval=[a,a],i.close=[1,1]}else{for(var o=i.interval=[],s=i.close=[0,0],l=[1,0,1],u=[-1/0,1/0],c=[],f=0;f<2;f++){for(var d=[["gte","gt","min"],["lte","lt","max"]][f],h=0;h<3&&o[f]==null;h++)o[f]=n[d[h]],s[f]=l[h],c[f]=h===2;o[f]==null&&(o[f]=u[f])}c[0]&&o[1]===1/0&&(s[0]=0),c[1]&&o[0]===-1/0&&(s[1]=0),o[0]===o[1]&&s[0]&&s[1]&&(i.value=o[0])}i.visual=Rr.retrieveVisuals(n),e.push(i)},this),GI(t,e),fw(e),R(e,function(n){var r=n.close,i=[["<","≤"][r[1]],[">","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,i)},this)}};function GI(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}const wMe=bMe;var SMe=function(e){ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,i=r.get("textGap"),a=r.textStyleModel,o=a.getFont(),s=a.getTextColor(),l=this._getItemAlign(),u=r.itemSize,c=this._getViewData(),f=c.endsText,d=Wl(r.get("showLabel",!0),!f);f&&this._renderEndsText(n,f[0],u,d,l),R(c.viewPieceList,function(h){var p=h.piece,v=new qt;v.onclick=Fe(this._onItemClick,this,p),this._enableHoverLink(v,h.indexInModelPieceList);var m=r.getRepresentValue(p);if(this._createItemSymbol(v,m,[0,0,u[0],u[1]]),d){var g=this.visualMapModel.getValueState(m);v.add(new Ft({style:{x:l==="right"?-i:u[0]+i,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:g==="outOfRange"?.5:1}}))}n.add(v)},this),f&&this._renderEndsText(n,f[1],u,d,l),Tl(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var i=this;n.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(o){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:o,batch:Pg(s.findTargetDataIndices(r),s)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return UF(n,this.api,n.itemSize);var i=r.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(n,r,i,a,o){if(r){var s=new qt,l=this.visualMapModel.textStyleModel;s.add(new Ft({style:Pr(l,{x:a?o==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:a?o:"center",text:r})})),n.add(s)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=ke(n.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),i=n.get("text"),a=n.get("orient"),o=n.get("inverse");return(a==="horizontal"?o:!o)?r.reverse():i&&(i=i.slice().reverse()),{viewPieceList:r,endsText:i}},t.prototype._createItemSymbol=function(n,r,i){n.add(Si(this.getControllerVisual(r,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(r,"color")))},t.prototype._onItemClick=function(n){var r=this.visualMapModel,i=r.option,a=i.selectedMode;if(a){var o=qe(i.selected),s=r.getSelectedMapKey(n);a==="single"||a===!0?(o[s]=!0,R(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(WF);const CMe=SMe;function xMe(e){e.registerComponentModel(wMe),e.registerComponentView(CMe),GF(e)}function TMe(e){Qr(yMe),Qr(xMe)}const{use:EMe}=NB;EMe([E8e,c8e,jTe,yTe,MEe,dAe,EAe,NEe,B4e,sAe,ZAe,TMe]);function AMe(e){e.config.globalProperties.$echarts=NB}var n3=Object.defineProperty,MMe=Object.getOwnPropertyDescriptor,IMe=Object.getOwnPropertyNames,OMe=Object.prototype.hasOwnProperty,PMe=(e,t,n)=>t in e?n3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RMe=(e,t)=>{for(var n in t)n3(e,n,{get:t[n],enumerable:!0})},jI=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of IMe(t))!OMe.call(e,i)&&i!==n&&n3(e,i,{get:()=>t[i],enumerable:!(r=MMe(t,i))||r.enumerable});return e},DMe=(e,t,n)=>(jI(e,t,"default"),n&&jI(n,t,"default")),qI=(e,t,n)=>(PMe(e,typeof t!="symbol"?t+"":t,n),n),r3={};RMe(r3,{Vue:()=>u0});DMe(r3,u0);var Wm=class{static install(e,t){let{nameSpace:n=this._nameSpace,memory:r}=t;return r&&this.clearAll(n,r),new Wm(e,t)}static clearAll(e,t){Object.keys(t).forEach(n=>{let r=e+n;Object.prototype.hasOwnProperty.call(window.localStorage,r)&&window.localStorage.removeItem(r)})}static get(e){return JSON.parse(window.localStorage.getItem(e))}static set(e,t){t=typeof t=="object"?JSON.stringify(t):t,window.localStorage.setItem(e,t)}static getData(e,t){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(t,e)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(t,e)))}constructor(e,t){let n=Wm,{version:r=3,nameSpace:i=n._nameSpace,memory:a}=t,o=u=>i+u,s=r===3?(0,r3.reactive)(a):a;Object.keys(s).length===0&&console.warn("key cannot be empty"),Object.keys(s).forEach(u=>{let c=s[u];n.set(o(u),c),Reflect.defineProperty(s,u,{get:()=>n.get(o(u)),set:f=>n.set(o(u),f),configurable:!0}),r===2&&e.util.defineReactive(s,u,s[u])});let l=r===3?e.config.globalProperties:e.prototype;Reflect.defineProperty(l,"$storage",{get:()=>s})}},qu=Wm;qI(qu,"_nameSpace","rs-"),qI(qu,"_getStaticKey",(e,t)=>`${e??Wm._nameSpace}${t}`);const LMe=(e,t)=>{const n=Ks(),r=Object.assign({layout:qu.getData("layout",n)??{layout:t.Layout??"vertical",theme:t.Theme??"default",darkMode:t.DarkMode??!1,sidebarStatus:t.SidebarStatus??!0,epThemeColor:t.EpThemeColor??"#409EFF"},configure:qu.getData("configure",n)??{grey:t.Grey??!1,weak:t.Weak??!1,hideTabs:t.HideTabs??!1,showLogo:t.ShowLogo??!0,showModel:t.ShowModel??"smart",multiTagsCache:t.MultiTagsCache??!1}},t.MultiTagsCache?{tags:qu.getData("tags",n)??QC}:{});e.use(qu,{nameSpace:n,memory:r})};/*!
 * vuex v4.1.0
 * (c) 2022 Evan You
 * @license MIT
 */var jF="store";function nPe(e){return e===void 0&&(e=null),Se(e!==null?e:jF)}function af(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function kMe(e){return e!==null&&typeof e=="object"}function $Me(e){return e&&typeof e.then=="function"}function NMe(e,t){return function(){return e(t)}}function qF(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function KF(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Oy(e,n,[],e._modules.root,!0),i3(e,n,t)}function i3(e,t,n){var r=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={},s={},l=Km(!0);l.run(function(){af(a,function(u,c){o[c]=NMe(u,e),s[c]=P(function(){return o[c]()}),Object.defineProperty(e.getters,c,{get:function(){return s[c].value},enumerable:!0})})}),e._state=Qt({data:t}),e._scope=l,e.strict&&HMe(e),r&&n&&e._withCommit(function(){r.data=null}),i&&i.stop()}function Oy(e,t,n,r,i){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!i){var s=a3(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){s[l]=r.state})}var u=r.context=BMe(e,o,n);r.forEachMutation(function(c,f){var d=o+f;FMe(e,d,c,u)}),r.forEachAction(function(c,f){var d=c.root?f:o+f,h=c.handler||c;zMe(e,d,h,u)}),r.forEachGetter(function(c,f){var d=o+f;VMe(e,d,c,u)}),r.forEachChild(function(c,f){Oy(e,t,n.concat(f),c,i)})}function BMe(e,t,n){var r=t==="",i={dispatch:r?e.dispatch:function(a,o,s){var l=Um(a,o,s),u=l.payload,c=l.options,f=l.type;return(!c||!c.root)&&(f=t+f),e.dispatch(f,u)},commit:r?e.commit:function(a,o,s){var l=Um(a,o,s),u=l.payload,c=l.options,f=l.type;(!c||!c.root)&&(f=t+f),e.commit(f,u,c)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return YF(e,t)}},state:{get:function(){return a3(e.state,n)}}}),i}function YF(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function FMe(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(o){n.call(e,r.state,o)})}function zMe(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(o){var s=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},o);return $Me(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):s})}function VMe(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(a){return n(r.state,r.getters,a.state,a.getters)})}function HMe(e){ce(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function a3(e,t){return t.reduce(function(n,r){return n[r]},e)}function Um(e,t,n){return kMe(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var WMe="vuex bindings",KI="vuex:mutations",l_="vuex:actions",Lu="vuex",UMe=0;function GMe(e,t){Fve({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[WMe]},function(n){n.addTimelineLayer({id:KI,label:"Vuex Mutations",color:YI}),n.addTimelineLayer({id:l_,label:"Vuex Actions",color:YI}),n.addInspector({id:Lu,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Lu)if(r.filter){var i=[];JF(i,t._modules.root,r.filter,""),r.rootNodes=i}else r.rootNodes=[QF(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Lu){var i=r.nodeId;YF(t,i),r.state=KMe(ZMe(t._modules,i),i==="root"?t.getters:t._makeLocalGettersCache,i)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Lu){var i=r.nodeId,a=r.path;i!=="root"&&(a=i.split("/").filter(Boolean).concat(a)),t._withCommit(function(){r.set(t._state.data,a,r.state.value)})}}),t.subscribe(function(r,i){var a={};r.payload&&(a.payload=r.payload),a.state=i,n.notifyComponentUpdate(),n.sendInspectorTree(Lu),n.sendInspectorState(Lu),n.addTimelineEvent({layerId:KI,event:{time:Date.now(),title:r.type,data:a}})}),t.subscribeAction({before:function(r,i){var a={};r.payload&&(a.payload=r.payload),r._id=UMe++,r._time=Date.now(),a.state=i,n.addTimelineEvent({layerId:l_,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:a}})},after:function(r,i){var a={},o=Date.now()-r._time;a.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},r.payload&&(a.payload=r.payload),a.state=i,n.addTimelineEvent({layerId:l_,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:a}})}})})}var YI=8702998,jMe=6710886,qMe=16777215,ZF={label:"namespaced",textColor:qMe,backgroundColor:jMe};function XF(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function QF(e,t){return{id:t||"root",label:XF(t),tags:e.namespaced?[ZF]:[],children:Object.keys(e._children).map(function(n){return QF(e._children[n],t+n+"/")})}}function JF(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[ZF]:[]}),Object.keys(t._children).forEach(function(i){JF(e,t._children[i],n,r+i+"/")})}function KMe(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map(function(o){return{key:o,editable:!0,value:e.state[o]}})};if(r.length){var a=YMe(t);i.getters=Object.keys(a).map(function(o){return{key:o.endsWith("/")?XF(o):o,editable:!1,value:uS(function(){return a[o]})}})}return i}function YMe(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var i=t,a=r.pop();r.forEach(function(o){i[o]||(i[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),i=i[o]._custom.value}),i[a]=uS(function(){return e[n]})}else t[n]=uS(function(){return e[n]})}),t}function ZMe(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,i,a){var o=r[i];if(!o)throw new Error('Missing module "'+i+'" for path "'+t+'".');return a===n.length-1?o:o._children},t==="root"?e:e.root._children)}function uS(e){try{return e()}catch(t){return t}}var ra=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},ez={namespaced:{configurable:!0}};ez.namespaced.get=function(){return!!this._rawModule.namespaced};ra.prototype.addChild=function(t,n){this._children[t]=n};ra.prototype.removeChild=function(t){delete this._children[t]};ra.prototype.getChild=function(t){return this._children[t]};ra.prototype.hasChild=function(t){return t in this._children};ra.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};ra.prototype.forEachChild=function(t){af(this._children,t)};ra.prototype.forEachGetter=function(t){this._rawModule.getters&&af(this._rawModule.getters,t)};ra.prototype.forEachAction=function(t){this._rawModule.actions&&af(this._rawModule.actions,t)};ra.prototype.forEachMutation=function(t){this._rawModule.mutations&&af(this._rawModule.mutations,t)};Object.defineProperties(ra.prototype,ez);var lu=function(t){this.register([],t,!1)};lu.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};lu.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,i){return n=n.getChild(i),r+(n.namespaced?i+"/":"")},"")};lu.prototype.update=function(t){tz([],this.root,t)};lu.prototype.register=function(t,n,r){var i=this;r===void 0&&(r=!0);var a=new ra(n,r);if(t.length===0)this.root=a;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],a)}n.modules&&af(n.modules,function(s,l){i.register(t.concat(l),s,r)})};lu.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],i=n.getChild(r);i&&i.runtime&&n.removeChild(r)};lu.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function tz(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;tz(e.concat(r),t.getChild(r),n.modules[r])}}function XMe(e){return new Br(e)}var Br=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var i=t.strict;i===void 0&&(i=!1);var a=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new lu(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=a;var o=this,s=this,l=s.dispatch,u=s.commit;this.dispatch=function(d,h){return l.call(o,d,h)},this.commit=function(d,h,p){return u.call(o,d,h,p)},this.strict=i;var c=this._modules.root.state;Oy(this,c,[],this._modules.root),i3(this,c),r.forEach(function(f){return f(n)})},o3={state:{configurable:!0}};Br.prototype.install=function(t,n){t.provide(n||jF,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&GMe(t,this)};o3.state.get=function(){return this._state.data};o3.state.set=function(e){};Br.prototype.commit=function(t,n,r){var i=this,a=Um(t,n,r),o=a.type,s=a.payload,l={type:o,payload:s},u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(f){f(s)})}),this._subscribers.slice().forEach(function(c){return c(l,i.state)}))};Br.prototype.dispatch=function(t,n){var r=this,i=Um(t,n),a=i.type,o=i.payload,s={type:a,payload:o},l=this._actions[a];if(l){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(s,r.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(c){return c(o)})):l[0](o);return new Promise(function(c,f){u.then(function(d){try{r._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(s,r.state)})}catch{}c(d)},function(d){try{r._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(s,r.state,d)})}catch{}f(d)})})}};Br.prototype.subscribe=function(t,n){return qF(t,this._subscribers,n)};Br.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return qF(r,this._actionSubscribers,n)};Br.prototype.watch=function(t,n,r){var i=this;return ce(function(){return t(i.state,i.getters)},n,Object.assign({},r))};Br.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Br.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Oy(this,this.state,t,this._modules.get(t),r.preserveState),i3(this,this.state)};Br.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=a3(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),KF(this)};Br.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Br.prototype.hotUpdate=function(t){this._modules.update(t),KF(this,!0)};Br.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Br.prototype,o3);window._iconfont_svg_string_2208059='<svg><symbol id="pure-iconfont-tabs" viewBox="0 0 1024 1024"><path d="M400.43383789 497.82763673c4.20227051 3.95507813 6.50939942 9.64050293 6.26220703 15.40832519 0.32958983 5.85021973-2.05993653 11.53564453-6.26220703 15.40832519-4.36706543 3.87268067-10.1348877 5.93261719-15.90270996 5.6854248h-57.3486328v193.71643067c0.16479492 6.09741211-2.38952637 11.86523438-6.92138672 15.73791504-4.53186037 4.44946289-10.62927247 6.83898926-16.8914795 6.67419433-6.26220703 0.24719239-12.4420166-2.22473145-16.89147949-6.67419436-4.36706543-4.03747559-6.7565918-9.80529786-6.67419434-15.73791501v-193.6340332H222.78491211c-5.93261719 0.24719239-11.70043946-1.89514161-15.90270997-6.01501466-4.28466797-3.95507813-6.59179689-9.64050293-6.26220701-15.40832519-0.24719239-5.76782227 2.05993653-11.28845215 6.26220702-15.07873536 4.36706543-3.95507813 10.05249023-6.01501465 15.90270996-5.76782224h163.4765625c5.19104004 0 10.21728516 2.05993653 14.17236328 5.6854248z m177.73132325 57.76062011c4.28466797 4.20227051 6.59179689 10.05249023 6.34460448 16.14990234v156.47277832c0.24719239 5.93261719-2.05993653 11.70043946-6.34460449 15.73791504-3.95507813 4.36706543-9.64050293 6.83898926-15.57312011 6.67419433-5.85021973 0.08239747-11.45324708-2.22473145-15.57312013-6.34460449-3.95507813-4.28466797-6.26220703-9.8876953-6.26220703-15.73791504-14.83154297 16.06750489-35.34851075 25.37841797-57.01904297 25.87280274-16.23229981 0.24719239-32.05261231-4.36706543-45.7305908-13.1011963-14.17236327-8.81652833-25.70800781-21.50573731-33.20617677-36.58447265-15.90270997-33.28857422-15.90270997-72.18017578 0-105.46875 7.33337403-15.16113281 18.86901856-27.85034179 33.20617677-36.58447266 13.18359375-8.6517334 28.67431641-13.26599122 44.41223145-13.10119628 21.67053223-0.08239747 42.68188475 8.07495117 58.66699218 22.82409667-0.16479492-6.01501465 2.14233398-11.86523438 6.34460448-16.14990234 8.73413086-8.40454102 22.41210938-8.40454102 31.14624024 0l-0.41198731-0.65917969z m-50.42724611 139.0045166c19.85778809-26.03759766 19.85778809-62.29248047 0-88.33007813-9.47570801-11.78283692-23.81286622-18.37463379-38.80920409-17.79785156-14.7491455-0.41198731-28.92150879 6.09741211-38.15002442 17.79785156-9.97009278 12.35961914-15.24353028 28.01513673-14.91394043 44.00024414-0.49438477 16.06750489 4.69665529 31.80541991 14.58435058 44.32983399 9.55810548 11.45324708 23.73046875 17.88024903 38.47961427 17.46826172 14.91394043 0.32958983 29.08630372-6.09741211 38.8092041-17.46826172zM778.47338867 562.26245117c14.08996583 8.81652833 25.54321289 21.34094239 33.20617676 36.25488281 8.15734864 16.31469727 12.27722169 34.44213867 11.94763184 52.734375 0.32958983 18.37463379-3.7902832 36.58447265-11.94763184 53.06396485-7.41577148 15.07873536-18.95141602 27.76794434-33.20617676 36.58447266-13.18359375 8.73413086-28.67431641 13.26599122-44.41223144 13.10119629-11.45324708 0.16479492-22.82409669-2.38952637-33.20617676-7.41577149-9.55810548-4.11987305-18.20983887-10.05249023-25.54321289-17.46826171v2.30712889c0.16479492 5.93261719-2.05993653 11.70043946-6.17980957 15.98510744-4.11987305 4.20227051-9.80529786 6.59179689-15.73791506 6.5093994-5.85021973 0.24719239-11.53564453-2.05993653-15.5731201-6.34460449-4.28466797-4.20227051-6.59179689-10.05249023-6.26220704-16.14990233V499.80517578c-0.16479492-6.01501465 2.05993653-11.86523438 6.26220705-16.14990234 8.73413086-8.48693847 22.41210938-8.48693847 31.14624023 0 4.20227051 4.28466797 6.50939942 10.05249023 6.26220703 16.14990234v76.87683106c6.59179689-8.07495117 14.83154297-14.58435059 24.22485352-19.11621094 10.21728516-5.60302734 21.58813477-8.48693847 33.20617675-8.40454102 16.23229981-0.16479492 32.13500977 4.36706543 45.81298828 13.10119629z m-12.93640137 134.30786133c10.05249023-12.4420166 15.32592773-28.26232911 14.91394043-44.32983398 0.49438477-15.98510742-4.69665529-31.55822755-14.58435059-44.00024415-9.8876953-11.04125977-23.89526367-17.38586426-38.64440917-17.38586426s-28.75671387 6.3446045-38.64440918 17.38586426c-19.85778809 26.03759766-19.85778809 62.29248047 0 88.33007813 9.55810548 11.61804201 23.89526367 18.20983887 38.8092041 17.79785156 15.07873536-0.16479492 29.16870117-7.49816895 38.15002442-19.77539062v1.97753906zM673.5814209 299.00256347c-12.77160645 0-23.07128906-10.29968262-23.07128907-23.07128905V183.5637207c-0.08239747-6.59179689 0-13.10119629 0-19.6105957V154.31262207c0-12.77160645 10.29968262-23.07128906 23.07128906-23.07128906H820.16650391c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592773 9.31091309 9.31091309 14.66674805 21.42333983 15.32592773 34.44213868 0.08239747 0.57678223 0.08239747 1.15356445 0.08239746 1.73034667v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128906 23.07128906H673.5814209z m23.07128906-46.1425781h129.69360352v-69.29626467c0-1.64794922-0.65917969-3.21350098-1.81274415-4.44946289-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274414H696.65270999v75.5584717zM396.56115722 299.90893555c-12.77160645 0-23.07128906-10.29968262-23.07128905-23.07128908V155.13659668c0-12.68920898 10.29968262-22.98889161 22.9888916-23.07128906l175.83618164-0.90637207h0.08239746c14.00756836 0 27.10876465 5.43823242 37.07885742 15.32592774 9.8876953 9.97009278 15.32592773 23.07128906 15.32592775 37.07885741v93.27392579c0 12.77160645-10.29968262 23.07128906-23.07128907 23.07128906h-205.16967775z m23.07128907-46.22497559h159.0270996v-70.20263671c0-1.64794922-0.65917969-3.21350098-1.81274413-4.44946289-1.15356445-1.15356445-2.71911623-1.81274414-4.36706543-1.81274414l-152.84729005 0.74157713v75.72326662z"  ></path><path d="M149.78076171 892.84106445c-14.25476075 0-27.60314942-5.52062989-37.65563964-15.40832519-10.05249023-9.97009278-15.57312012-23.15368653-15.57312012-37.16125488V183.72851562c0-29.00390624 23.89526367-52.56958007 53.22875978-52.56958007h139.25170897c14.25476075 0 27.60314942 5.43823242 37.65563966 15.40832519 10.05249023 9.8876953 15.57312012 23.15368653 15.57312011 37.16125489V323.30981445c0 1.64794922 0.65917969 3.21350098 1.89514162 4.44946289 1.23596192 1.15356445 2.80151367 1.81274414 4.44946288 1.81274414h525.61340332c14.25476075 0 27.60314942 5.43823242 37.65563964 15.4083252 10.05249023 9.8876953 15.57312012 23.07128906 15.57312012 37.16125488v458.12988281c0 14.08996583-5.52062989 27.27355958-15.57312012 37.16125489s-23.40087891 15.40832519-37.65563964 15.40832519H149.78076171z m6.34460451-709.11254882c-3.54309083 0-6.3446045 2.80151367-6.34460449 6.26220703v649.86877441c0 1.64794922 0.65917969 3.29589844 1.8951416 4.4494629 1.15356445 1.15356445 2.80151367 1.81274414 4.44946288 1.81274415h718.09387208c1.73034668 0 3.29589844-0.65917969 4.44946288-1.81274415 1.23596192-1.15356445 1.89514161-2.71911623 1.89514161-4.4494629V379.01049805c0-1.64794922-0.65917969-3.21350098-1.81274413-4.36706544-1.23596192-1.23596192-2.80151367-1.89514161-4.44946291-1.89514159h-525.69580077c-14.25476075 0-27.60314942-5.52062989-37.65563966-15.4083252-10.05249023-9.8876953-15.57312012-23.15368653-15.57312012-37.16125488V189.90832519c0-1.64794922-0.65917969-3.21350098-1.8951416-4.44946288-1.15356445-1.15356445-2.80151367-1.81274414-4.44946289-1.81274416H156.12536621z"  ></path></symbol><symbol id="pure-iconfont-logo" viewBox="0 0 1024 1024"><path d="M410.558481 0.10861C410.558481 211.083075 109.682285 361.860579 109.682285 633.656511c0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527C711.407525 361.751969 410.558481 210.974465 410.558481 0.10861z" fill="#386BF3" ></path><path d="M613.468671 73.664572c0 211.055922-300.876197 361.914883-300.876196 633.547901 0 174.943176 134.703259 316.787527 300.876196 316.787527s300.876197-141.817198 300.876197-316.787527c-0.054305-271.633018-300.876197-422.491979-300.876197-633.547901z" fill="#C3D2FB" ></path><path d="M312.592475 707.212473c0-183.713414 137.635722-312.171612 226.72288-441.390078 81.701694 106.111739 172.119322 218.740063 172.119323 367.725506a309.755045 309.755045 0 0 1-291.074166 316.516003 323.114046 323.114046 0 0 1-107.768037-242.851431z" fill="#303F5B" ></path></symbol><symbol id="pure-iconfont-new" viewBox="0 0 1024 1024"><path d="M466.73632812 228.81640625l-33.31054687 255.41015625c34.36523438 20.21484375 78.31054688 42.62695313 131.22070313 62.2265625 55.1953125 20.47851563 105.1171875 32.43164063 145.54687499 39.46289063 127.44140625-161.27929688 147.39257813-224.38476563 141.59179688-215.59570313-10.45898438 15.99609375-62.05078125 20.390625-76.20117188 15.29296875-28.30078125-10.10742188-53.4375-37.52929688-65.30273437-81.29882813-14.85351563-54.66796875-43.50585938-50.53710938-94.5703125-21.35742187-58.88671875 33.48632813-121.46484375 4.39453125-148.97460938-54.140625z" fill="#FFFFFF" ></path><path d="M444.76367187 228.81640625c-3.77929688 28.828125-7.55859375 57.74414063-11.33789062 86.57226563l-17.9296875 137.37304687c-1.40625 10.45898438-2.72460938 21.00585938-4.13085937 31.46484375-0.96679688 7.3828125 4.83398438 15.46875 10.8984375 18.984375 69.78515625 40.86914063 145.63476563 71.98242188 224.12109374 91.66992188 19.16015625 4.83398438 38.49609375 8.87695313 57.91992188 12.30468749 7.20703125 1.23046875 16.34765625 0.703125 21.35742188-5.625C767.49804688 548.65039063 808.3671875 494.421875 843.34765625 436.58984375c7.91015625-13.09570313 15.55664063-26.3671875 22.1484375-40.16601563 2.4609375-5.09765625 4.74609375-10.37109375 6.85546875-15.64453125 1.31835938-3.33984375 2.37304688-7.11914063 2.28515625-10.72265625-0.43945313-12.04101563-9.4921875-22.32421875-22.06054688-22.32421875-8.4375 0-14.94140625 4.5703125-19.42382812 11.33789063-1.93359375 2.8125 3.33984375-3.42773438 1.58203125-2.109375-0.43945313 0.3515625-0.87890625 0.79101563-1.23046875 1.14257812-1.31835938 1.49414063-3.33984375 1.14257813 2.54882813-1.84570312-1.23046875 0.61523438-2.37304688 1.58203125-3.60351563 2.28515625-1.14257813 0.61523438-2.28515625 1.14257813-3.33984375 1.66992187-3.33984375 1.66992188 5.53710938-2.109375 1.93359375-0.87890625-0.61523438 0.17578125-1.14257813 0.43945313-1.7578125 0.61523438-3.07617188 1.0546875-6.24023438 1.93359375-9.40429688 2.72460937-3.33984375 0.79101563-6.76757813 1.40625-10.10742187 2.02148438-5.625 0.87890625 5.36132813-0.61523438-0.3515625 0.08789062-1.66992188 0.17578125-3.42773438 0.3515625-5.09765625 0.52734375-6.15234375 0.52734375-12.3046875 0.703125-18.45703125 0.26367188-2.28515625-0.17578125-7.03125-1.40625 1.40625 0.3515625-1.0546875-0.17578125-2.109375-0.3515625-3.1640625-0.61523438-0.703125-0.17578125-1.40625-0.3515625-2.109375-0.61523437-0.79101563-0.26367188-1.58203125-0.61523438-2.37304688-0.87890625-3.42773438-1.23046875 5.09765625 2.37304688 1.49414063 0.61523437-2.98828125-1.40625-5.88867188-2.8125-8.70117188-4.48242187-1.31835938-0.79101563-2.72460938-1.66992188-3.95507812-2.54882813l-2.63671875-1.84570312c-1.40625-1.0546875-3.69140625-3.69140625 1.0546875 0.79101562-2.37304688-2.28515625-5.09765625-4.30664063-7.47070313-6.59179687-2.98828125-2.98828125-5.44921875-6.59179688-8.52539062-9.4921875 0.17578125 0.17578125 3.33984375 4.48242188 1.23046875 1.58203125-0.61523438-0.79101563-1.23046875-1.66992188-1.7578125-2.4609375-1.0546875-1.49414063-2.109375-3.07617188-3.07617188-4.65820313-2.4609375-3.77929688-4.65820313-7.734375-6.67968749-11.77734375-0.87890625-1.7578125-1.7578125-3.60351563-2.63671875-5.44921875-0.17578125-0.43945313-0.3515625-0.79101563-0.52734375-1.23046875-0.96679688-2.19726563-0.703125-1.66992188 0.61523437 1.40625 0.08789063-0.3515625-0.96679688-2.54882813-1.0546875-2.63671875-1.7578125-4.48242188-3.25195313-9.140625-4.65820313-13.7109375-2.72460938-9.22851563-5.625-18.19335938-9.66796874-26.89453125-6.85546875-14.50195313-18.19335938-26.10351563-33.31054688-31.640625-13.18359375-4.83398438-28.38867188-3.07617188-41.484375 1.0546875-16.171875 5.09765625-30.84960938 13.44726563-45.61523438 21.4453125-2.02148438 1.0546875-3.95507813 2.109375-6.06445312 3.07617188-0.52734375 0.26367188-4.65820313 1.84570313-0.96679688 0.52734375 3.60351563-1.40625-0.43945313 0.17578125-0.96679687 0.3515625-3.95507813 1.49414063-7.99804688 2.8125-12.04101563 3.8671875-2.02148438 0.52734375-3.95507813 0.96679688-5.9765625 1.31835937-0.79101563 0.17578125-1.58203125 0.26367188-2.37304687 0.43945313-4.48242188 0.79101563 5.625-0.52734375 1.0546875-0.17578125-3.95507813 0.3515625-7.91015625 0.61523438-11.86523438 0.52734375-1.93359375 0-3.8671875-0.08789063-5.88867187-0.26367188-0.79101563-0.08789063-1.58203125-0.17578125-2.28515625-0.17578125-4.30664063-0.3515625 4.74609375 0.79101563 1.84570312 0.26367188-3.95507813-0.79101563-7.99804688-1.40625-11.86523437-2.54882813-3.515625-0.96679688-6.94335938-2.37304688-10.37109375-3.60351562-2.72460938-0.96679688 5.2734375 2.4609375 1.49414062 0.61523437-0.703125-0.3515625-1.40625-0.61523438-2.109375-0.96679687-2.109375-1.0546875-4.13085938-2.109375-6.24023437-3.25195313-3.07617188-1.7578125-6.06445313-3.69140625-8.96484375-5.71289062-0.96679688-0.703125-1.84570313-1.49414063-2.90039063-2.109375 0.26367188 0.17578125 4.30664063 3.515625 1.58203125 1.23046875-1.66992188-1.40625-3.42773438-2.8125-5.00976562-4.30664063-2.90039063-2.63671875-5.625-5.36132813-8.17382813-8.17382812-1.40625-1.49414063-2.72460938-3.07617188-4.04296875-4.65820313-0.52734375-0.61523438-0.96679688-1.40625-1.58203125-1.93359375 4.39453125 4.39453125 1.14257813 1.40625 0-0.08789062-4.921875-6.85546875-9.140625-14.0625-12.65625-21.70898438-4.921875-10.37109375-20.65429688-13.97460938-30.05859375-7.91015625-10.72265625 6.94335938-13.18359375 18.89648438-7.91015625 30.05859375 15.8203125 33.31054688 43.68164063 60.20507813 78.48632813 72.68554688 15.55664063 5.625 33.13476563 7.734375 49.5703125 5.80078125 9.58007813-1.14257813 18.984375-2.8125 28.125-6.15234375 9.66796875-3.515625 18.54492188-8.0859375 27.421875-13.0078125 6.85546875-3.77929688 14.23828125-8.52539063 21.70898437-10.8984375-0.08789063 0-5.44921875 2.19726563-2.28515625 0.96679688 0.79101563-0.3515625 1.58203125-0.61523438 2.4609375-0.96679688 1.40625-0.52734375 2.8125-1.0546875 4.30664063-1.58203125 2.90039063-0.96679688 5.88867188-1.84570313 8.96484375-2.54882813 1.40625-0.26367188 2.8125-0.43945313 4.21875-0.79101562-7.64648438 1.84570313-3.42773438 0.43945313-1.0546875 0.3515625 1.14257813-0.08789063 2.28515625-0.08789063 3.42773437 0 0.61523438 0 1.23046875 0.08789063 1.84570313 0.08789063 3.25195313 0.08789063-6.06445313-1.31835938-2.98828125-0.3515625 1.14257813 0.3515625 2.28515625 0.52734375 3.42773437 0.87890625 0.43945313 0.17578125 0.87890625 0.3515625 1.31835938 0.43945312 3.07617188 0.87890625-5.09765625-2.4609375-2.98828125-1.23046875 0.96679688 0.52734375 1.93359375 0.96679688 2.8125 1.49414063 0.52734375 0.3515625 0.96679688 0.703125 1.49414062 0.96679687 1.93359375 1.14257813-5.00976563-4.21875-2.109375-1.58203125 0.87890625 0.79101563 1.7578125 1.58203125 2.54882813 2.37304688 1.93359375 2.02148438 2.90039063 5.00976563-0.26367188-0.703125 1.49414063 2.63671875 3.42773438 5.00976563 4.83398438 7.73437499 0.79101563 1.49414063 1.40625 3.07617188 2.19726562 4.5703125-3.42773438-6.59179688-0.43945313-1.0546875 0.26367188 0.96679688 1.40625 3.95507813 2.63671875 8.0859375 3.77929687 12.12890625 5.09765625 18.10546875 12.83203125 36.12304688 23.90625 51.41601563 10.37109375 14.23828125 22.76367188 26.80664063 38.14453125 35.59570312 6.41601563 3.69140625 13.53515625 7.29492188 20.7421875 8.96484375 6.41601563 1.49414063 13.27148438 2.02148438 19.86328125 2.02148438 14.67773438 0.08789063 30.05859375-1.7578125 44.12109375-5.88867188 6.85546875-2.02148438 13.88671875-4.5703125 19.95117188-8.34960938 6.59179688-4.13085938 9.84375-8.4375 14.67773437-14.23828124-3.515625 4.21875-2.90039063 4.48242188-7.47070312 7.47070312-2.63671875 1.66992188-7.734375 3.1640625-10.98632813 2.98828125-1.84570313-0.52734375-3.69140625-0.96679688-5.53710937-1.49414063-5.88867188-0.61523438-10.37109375-3.69140625-13.359375-9.31640624-1.84570313-3.1640625-3.07617188-7.47070313-2.98828125-10.81054688 0-0.26367188 1.7578125-7.99804688 0.43945312-4.13085938-0.3515625 1.0546875-0.703125 2.109375-1.14257812 3.16406251-0.26367188 0.61523438-0.52734375 1.31835938-0.79101563 1.93359375-1.0546875 2.72460938 2.90039063-6.59179688 1.58203125-3.77929688-0.17578125 0.43945313-0.3515625 0.87890625-0.61523437 1.31835938-5.18554688 11.68945313-11.33789063 22.8515625-17.75390625 33.92578125-29.53125 51.15234375-64.59960938 99.140625-100.546875 145.81054687-0.703125 0.87890625-1.31835938 1.7578125-2.02148438 2.54882813-2.37304688 3.1640625 0 0 0.43945313-0.52734375-1.66992188 2.19726563-3.42773438 4.39453125-5.09765625 6.59179687-3.515625 4.5703125-7.11914063 9.05273438-10.63476563 13.53515625 7.11914063-1.84570313 14.23828125-3.77929688 21.35742188-5.625-36.82617188-6.50390625-73.125-15.46875-108.72070313-26.80664063-20.65429688-6.59179688-40.95703125-13.97460938-60.99609375-22.14843749-2.28515625-0.87890625-4.48242188-1.84570313-6.76757812-2.81250001-4.921875-2.02148438 3.1640625 1.40625 0.08789062 0l-3.69140625-1.58203125c-4.74609375-2.109375-9.58007813-4.21875-14.32617187-6.328125-8.61328125-3.8671875-17.13867188-7.99804688-25.6640625-12.12890624-17.49023438-8.61328125-34.62890625-17.9296875-51.41601563-27.77343751 3.60351563 6.328125 7.29492188 12.65625 10.8984375 18.98437501 3.77929688-28.828125 7.55859375-57.74414063 11.33789063-86.57226563l17.9296875-137.37304688c1.40625-10.45898438 2.72460938-21.00585938 4.13085937-31.46484374 0.703125-5.18554688-2.90039063-12.04101563-6.41601562-15.55664063-3.77929688-3.77929688-10.10742188-6.6796875-15.55664063-6.41601562-5.71289063 0.26367188-11.6015625 2.109375-15.55664062 6.41601562-4.04296875 4.65820313-5.44921875 9.4921875-6.24023438 15.64453125z" fill="#FFCB40" ></path><path d="M496.61914062 458.73828125c47.54882813 31.640625 101.07421875 54.75585938 156.70898438 67.58789063 11.16210938 2.54882813 24.34570313-3.42773438 27.0703125-15.38085938 2.54882813-11.25-3.33984375-24.2578125-15.38085938-27.0703125-13.18359375-3.07617188-26.27929688-6.6796875-39.19921874-10.8984375-6.41601563-2.109375-12.83203125-4.30664063-19.16015625-6.76757813-3.42773438-1.31835938-6.85546875-2.63671875-10.1953125-3.95507812-1.49414063-0.61523438-2.90039063-1.14257813-4.30664063-1.7578125-4.13085938-1.7578125 4.04296875 1.7578125-1.23046875-0.52734375-25.13671875-10.8984375-49.21875-24.08203125-72.0703125-39.28710938-9.58007813-6.41601563-24.69726563-2.19726563-30.05859375 7.91015625-5.88867188 11.07421875-2.37304688 23.29101563 7.82226563 30.14648438z" fill="#FFCB40" ></path><path d="M245.77929687 729.6171875v-72.50976563-115.04882812V515.515625c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703124 11.07421875 11.42578125 24.16992188 22.8515625 48.42773438 34.18945312 72.59765625 18.01757813 38.23242188 36.12304688 76.55273438 54.140625 114.78515625 4.21875 8.87695313 8.34960938 17.75390625 12.56835938 26.54296875 3.95507813 8.34960938 16.171875 12.91992188 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976563V541.8828125v-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421875-11.42578125-24.16992188-22.8515625-48.42773438-34.18945312-72.59765625-18.01757813-38.23242188-36.12304688-76.55273438-54.140625-114.78515625-4.21875-8.87695313-8.34960938-17.75390625-12.56835938-26.54296875-3.95507813-8.34960938-16.171875-12.91992188-24.78515624-10.10742188-9.22851563 2.98828125-16.171875 11.25-16.17187501 21.18164063v214.1015625c0 11.51367188 10.10742188 22.5 21.97265626 21.97265625 11.953125-0.52734375 21.97265625-9.66796875 21.97265624-21.97265625zM501.8046875 493.63085937H400.90625c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265626v211.55273437c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265625h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H400.90625l21.97265625 21.97265625v-71.27929688-114.16992187-26.10351563l-21.97265625 21.97265626h100.8984375c11.51367188 0 22.5-10.10742188 21.97265625-21.97265626-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265624z" fill="#4381FF" ></path><path d="M478.16210937 595.75976563c-25.75195313 0.17578125-51.50390625 0.43945313-77.25585937-1e-8-11.51367188-0.17578125-22.5 10.1953125-21.97265625 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.75195313 0.43945313 51.50390625 0.17578125 77.25585938 0 11.51367188-0.08789063 22.5-10.01953125 21.97265624-21.97265625-0.52734375-11.86523438-9.58007813-22.06054688-21.97265625-21.97265625zM553.57226563 515.60351563v214.10156249c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742187 18.72070313-31.20117188 37.44140625-62.40234375 56.25-93.69140626 2.63671875-4.48242188 5.36132813-8.87695313 7.99804687-13.359375h-37.96875c18.72070313 31.20117188 37.44140625 62.40234375 56.25 93.69140625 2.63671875 4.48242188 5.36132813 8.87695313 7.99804688 13.359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515624 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.17187501-21.18164063v-72.50976562-115.04882813-26.54296875c0-11.51367188-10.10742188-22.5-21.97265626-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265624 21.97265625v214.10156251c13.62304688-3.69140625 27.33398438-7.3828125 40.95703124-11.07421876-18.72070313-31.20117188-37.44140625-62.40234375-56.25-93.69140624-2.63671875-4.48242188-5.36132813-8.87695313-7.99804687-13.359375-8.52539063-14.23828125-29.44335938-14.23828125-37.96875 0-18.72070313 31.20117188-37.44140625 62.40234375-56.25 93.69140625-2.63671875 4.48242188-5.36132813 8.87695313-7.99804688 13.359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703126 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#4381FF" ></path><path d="M225.30078125 709.49023438v-72.50976563-115.04882813-26.54296874c-13.62304688 3.69140625-27.33398438 7.3828125-40.95703125 11.07421875 11.42578125 24.08203125 22.76367188 48.1640625 34.18945313 72.33398437 18.19335938 38.40820313 36.38671875 76.81640625 54.4921875 115.22460938 4.13085938 8.7890625 8.34960938 17.66601563 12.48046875 26.45507812 3.95507813 8.34960938 16.171875 12.91992188 24.78515625 10.10742187 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164062v-72.50976563-115.04882812V495.30078125c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-11.42578125-24.08203125-22.76367188-48.1640625-34.18945313-72.33398438-18.19335938-38.40820313-36.38671875-76.81640625-54.4921875-115.22460937-4.13085938-8.7890625-8.34960938-17.66601563-12.48046875-26.45507813-3.95507813-8.34960938-16.171875-12.91992188-24.78515625-10.10742187-9.22851563 2.98828125-16.171875 11.25-16.171875 21.18164063v214.10156249c0 11.51367188 10.10742188 22.5 21.97265625 21.97265626 11.86523438-0.52734375 21.97265625-9.66796875 21.97265625-21.97265625zM482.29296875 473.50390625H381.04296875c-11.86523438 0-21.97265625 10.10742188-21.97265625 21.97265625v211.55273438c0 11.86523438 10.10742188 21.97265625 21.97265625 21.97265624h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625H381.04296875l21.97265625 21.97265625v-71.27929687-114.16992188-26.10351562l-21.97265625 21.97265625h101.25c11.51367188 0 22.5-10.10742188 21.97265625-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625z" fill="#FF642E" ></path><path d="M458.5625 575.6328125c-25.83984375 0.17578125-51.76757813 0.43945313-77.60742188 0-11.51367188-0.17578125-22.5 10.1953125-21.97265624 21.97265625 0.52734375 12.04101563 9.66796875 21.796875 21.97265625 21.97265625 25.83984375 0.43945313 51.76757813 0.17578125 77.60742187 0 11.51367188-0.08789063 22.5-10.01953125 21.97265625-21.97265625-0.52734375-11.86523438-9.58007813-21.97265625-21.97265625-21.97265625zM534.32421875 495.4765625v214.1015625c0 9.31640625 6.76757813 19.07226563 16.171875 21.18164063 9.58007813 2.19726563 19.59960938-1.49414063 24.78515625-10.10742188 18.80859375-31.2890625 37.6171875-62.49023438 56.51367188-93.77929688 2.63671875-4.39453125 5.2734375-8.7890625 7.99804687-13.18359374h-37.96875c18.80859375 31.2890625 37.6171875 62.49023438 56.51367188 93.77929687 2.63671875 4.39453125 5.2734375 8.7890625 7.99804687 13.18359375 4.83398438 7.99804688 15.55664063 13.09570313 24.78515625 10.10742188 9.22851563-2.98828125 16.171875-11.25 16.171875-21.18164063v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625v214.1015625c13.62304688-3.69140625 27.33398438-7.3828125 40.95703125-11.07421875-18.80859375-31.2890625-37.6171875-62.49023438-56.51367188-93.77929688-2.63671875-4.39453125-5.2734375-8.7890625-7.99804687-13.18359374-8.52539063-14.23828125-29.35546875-14.23828125-37.96875 0-18.80859375 31.2890625-37.6171875 62.49023438-56.51367188 93.77929687-2.63671875 4.39453125-5.2734375 8.7890625-7.99804687 13.18359375 13.62304688 3.69140625 27.33398438 7.3828125 40.95703125 11.07421875v-72.50976563-115.04882812-26.54296875c0-11.51367188-10.10742188-22.5-21.97265625-21.97265625-11.86523438 0.52734375-21.97265625 9.66796875-21.97265625 21.97265625z" fill="#FF642E" ></path><path d="M629.0703125 793.77734375h74.8828125" fill="#FFFFFF" ></path><path d="M629.0703125 815.75h74.97070313c11.51367188 0 22.5-10.10742188 21.97265624-21.97265625-0.52734375-11.86523438-9.66796875-21.97265625-21.97265625-21.97265625h-74.97070312c-11.51367188 0-22.5 10.10742188-21.97265625 21.97265625 0.52734375 11.86523438 9.66796875 21.97265625 21.97265625 21.97265625z" fill="#FFCB40" ></path><path d="M552.16601563 793.77734375h5.71289062" fill="#FFFFFF" ></path><path d="M552.16601563 815.75h5.71289062c2.98828125 0.08789063 5.88867188-0.52734375 8.4375-1.93359375 2.72460938-0.87890625 5.09765625-2.37304688 7.03125-4.5703125 2.109375-2.02148438 3.69140625-4.30664063 4.5703125-7.03125 1.40625-2.63671875 2.02148438-5.44921875 1.93359375-8.4375l-0.79101562-5.80078125c-1.0546875-3.69140625-2.90039063-6.94335938-5.625-9.66796875-4.30664063-3.95507813-9.58007813-6.41601563-15.55664063-6.41601563h-5.71289062c-2.98828125-0.08789063-5.88867188 0.52734375-8.4375 1.93359376-2.72460938 0.87890625-5.09765625 2.37304688-7.03125 4.5703125-2.109375 2.02148438-3.69140625 4.30664063-4.5703125 7.03125-1.40625 2.63671875-2.02148438 5.44921875-1.93359375 8.43749999l0.79101562 5.80078126c1.0546875 3.69140625 2.90039063 6.94335938 5.625 9.66796874 4.30664063 3.95507813 9.58007813 6.41601563 15.55664063 6.41601563z" fill="#FFCB40" ></path></symbol></svg>',function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var r,i,a,o,s,l=function(f,d){d.parentNode.insertBefore(f,d)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(f){console&&console.log(f)}}r=function(){var f,d=document.createElement("div");d.innerHTML=e._iconfont_svg_string_2208059,(d=d.getElementsByTagName("svg")[0])&&(d.setAttribute("aria-hidden","true"),d.style.position="absolute",d.style.width=0,d.style.height=0,d.style.overflow="hidden",d=d,(f=document.body).firstChild?l(d,f.firstChild):f.appendChild(d))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),r()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=r,o=e.document,s=!1,c(),o.onreadystatechange=function(){o.readyState=="complete"&&(o.onreadystatechange=null,u())})}function u(){s||(s=!0,a())}function c(){try{o.documentElement.doScroll("left")}catch{return void setTimeout(c,50)}u()}}(window);const QMe={mounted(e,t){var r;const{value:n}=t;if(n)!e9(n)&&((r=e.parentNode)==null||r.removeChild(e));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}};const ZI=(e,t)=>{if(t){const{icon:n,type:r="info",dangerouslyUseHTMLString:i=!1,customClass:a="antd",duration:o=2e3,showClose:s=!1,center:l=!1,offset:u=20,appendTo:c=document.body,grouping:f=!1,onClose:d}=t;return K8({message:e,type:r,icon:n,dangerouslyUseHTMLString:i,duration:o,showClose:s,center:l,offset:u,appendTo:c,grouping:f,customClass:a==="antd"?"pure-message":"",onClose:()=>ec(d)?d():null})}else return K8({message:e,customClass:"pure-message"})},JMe={mounted(e,t){const{value:n}=t;if(n){e.copyValue=n;const r=t.arg??"dblclick";rn(e,r,()=>{qfe(e.copyValue)?ZI("复制成功",{type:"success"}):ZI("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(e,t){e.copyValue=t.value}},eIe={mounted(e,t){var r;const n=t.value;if(n&&ec(n)){let i=null,a=null,o=500,s=null;const l=((r=t==null?void 0:t.arg)==null?void 0:r.includes(":"))??!1;l?(o=Number(Hfe(t.arg,":")),s=Number(Wfe(t.arg,":"))):t.arg&&(o=Number(t.arg));const u=()=>{i&&(clearTimeout(i),i=null),a&&(clearInterval(a),a=null)},c=d=>{d.preventDefault(),a===null&&(a=setInterval(()=>n(),s))};rn(e,"pointerdown",d=>{u(),d.preventDefault(),i===null&&(i=setTimeout(l?()=>{n(),c(d)}:()=>n(),o))}),rn(e,"pointerup",u),rn(e,"pointerleave",u)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},tIe={mounted(e,t){const{value:n}=t,r=t.arg??"debounce",i=["debounce","throttle"].find(a=>a===r);if(i)if(n&&n.event&&ec(n.fn)){let a=n==null?void 0:n.params;if(a)if(GD(a)||u2(a))a=u2(a)?Array.of(a):a;else throw new Error("[Directive: optimize]: `params` must be an array or object");rn(e,n.event,i==="debounce"?YD(a?()=>n.fn(...a):n.fn,(n==null?void 0:n.timeout)??200,(n==null?void 0:n.immediate)??!1):Bfe(a?()=>n.fn(...a):n.fn,(n==null?void 0:n.timeout)??1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},XI=Object.freeze(Object.defineProperty({__proto__:null,auth:QMe,copy:JMe,longpress:eIe,optimize:tIe},Symbol.toStringTag,{value:"Module"})),nz=Object.freeze({left:0,top:0,width:16,height:16}),rz=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),s3=Object.freeze({...nz,...rz});Object.freeze({...s3,body:"",hidden:!1});({...nz});const iz=Object.freeze({width:null,height:null}),az=Object.freeze({...iz,...rz});function nIe(e,t){const n={...e};for(const r in t){const i=t[r],a=typeof i;r in iz?(i===null||i&&(a==="string"||a==="number"))&&(n[r]=i):a===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const rIe=/[\s,]+/;function iIe(e,t){t.split(rIe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function aIe(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/i,a%1===0?r(a):0)}}return t}const oIe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sIe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function QI(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oIe);if(r===null||!r.length)return e;const i=[];let a=r.shift(),o=sIe.test(a);for(;;){if(o){const s=parseFloat(a);isNaN(s)?i.push(a):i.push(Math.ceil(s*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join("");o=!o}}const lIe=e=>e==="unset"||e==="undefined"||e==="none";function uIe(e,t){const n={...s3,...e},r={...az,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),v.push("scale(-1 1)"),i.top=i.left=0):g&&(v.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),v.push("scale(1 -1)"),i.top=i.left=0);let _;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:_=i.height/2+i.top,v.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:v.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,v.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}y%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),v.length&&(a='<g transform="'+v.join(" ")+'">'+a+"</g>")});const o=r.width,s=r.height,l=i.width,u=i.height;let c,f;o===null?(f=s===null?"1em":s==="auto"?u:s,c=QI(f,l/u)):(c=o==="auto"?l:o,f=s===null?QI(c,u/l):s==="auto"?u:s);const d={},h=(p,v)=>{lIe(v)||(d[p]=v.toString())};return h("width",c),h("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:d,body:a}}const cIe=/\sid="(\S+)"/g,fIe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let dIe=0;function hIe(e,t=fIe){const n=[];let r;for(;r=cIe.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(a=>{const o=typeof t=="function"?t(a):t+(dIe++).toString(),s=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}function pIe(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function vIe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function gIe(e){return"data:image/svg+xml,"+vIe(e)}function mIe(e){return'url("'+gIe(e)+'")'}const JI={...az,inline:!1},yIe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},bIe={display:"inline-block"},cS={backgroundColor:"currentColor"},oz={backgroundColor:"transparent"},eO={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},tO={webkitMask:cS,mask:cS,background:oz};for(const e in tO){const t=tO[e];for(const n in eO)t[e+n]=eO[n]}const Rg={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Rg[e+"-flip"]=t,Rg[e.slice(0,1)+"-flip"]=t,Rg[e+"Flip"]=t});function nO(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const _Ie=(e,t)=>{const n=nIe(JI,t),r={...yIe},i=t.mode||"svg",a={},o=t.style,s=typeof o=="object"&&!(o instanceof Array)?o:{};for(let v in t){const m=t[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&iIe(n,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?n[v]=aIe(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=Rg[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):JI[v]===void 0&&(r[v]=m)}}}const l=uIe(e,n),u=l.attributes;if(n.inline&&(a.verticalAlign="-0.125em"),i==="svg"){r.style={...a,...s},Object.assign(r,u);let v=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=hIe(l.body,m?()=>m+"ID"+v++:"iconifyVue"),be("svg",r)}const{body:c,width:f,height:d}=e,h=i==="mask"||(i==="bg"?!1:c.indexOf("currentColor")!==-1),p=pIe(c,{...u,width:f+"",height:d+""});return r.style={...a,"--svg":mIe(p),width:nO(u.width),height:nO(u.height),...bIe,...h?cS:oz,...s},be("span",r)},sz=Object.create(null);function wIe(e,t){sz[e]=t}const rO=j({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?sz[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:_Ie({...s3,...n},e)}}),SIe=j({name:"IconifyIconOffline",components:{IconifyIcon:rO},props:{icon:{default:null}},render(){typeof this.icon=="object"&&wIe(this.icon,this.icon);const e=this.$attrs;return be(rO,{icon:this.icon,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"},...e},{default:()=>[]})}}),Od=/^[a-z0-9]+(-[a-z0-9]+)*$/,Py=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),l=i.pop(),u={provider:i.length>0?i[0]:r,prefix:l,name:s};return t&&!Dg(u)?null:u}const a=i[0],o=a.split("-");if(o.length>1){const s={provider:r,prefix:o.shift(),name:o.join("-")};return t&&!Dg(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:a};return t&&!Dg(s,n)?null:s}return null},Dg=(e,t)=>e?!!((e.provider===""||e.provider.match(Od))&&(t&&e.prefix===""||e.prefix.match(Od))&&e.name.match(Od)):!1,lz=Object.freeze({left:0,top:0,width:16,height:16}),Gm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ry=Object.freeze({...lz,...Gm}),fS=Object.freeze({...Ry,body:"",hidden:!1});function CIe(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function iO(e,t){const n=CIe(e,t);for(const r in fS)r in Gm?r in e&&!(r in n)&&(n[r]=Gm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function xIe(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(o){if(n[o])return i[o]=[];if(!(o in i)){i[o]=null;const s=r[o]&&r[o].parent,l=s&&a(s);l&&(i[o]=[s].concat(l))}return i[o]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function TIe(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let a={};function o(s){a=iO(r[s]||i[s],a)}return o(t),n.forEach(o),iO(e,a)}function uz(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=xIe(e);for(const i in r){const a=r[i];a&&(t(i,TIe(e,i,a)),n.push(i))}return n}const EIe={provider:"",aliases:{},not_found:{},...lz};function u_(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function cz(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!u_(e,EIe))return null;const n=t.icons;for(const i in n){const a=n[i];if(!i.match(Od)||typeof a.body!="string"||!u_(a,fS))return null}const r=t.aliases||Object.create(null);for(const i in r){const a=r[i],o=a.parent;if(!i.match(Od)||typeof o!="string"||!n[o]&&!r[o]||!u_(a,fS))return null}return t}const aO=Object.create(null);function AIe(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Xl(e,t){const n=aO[e]||(aO[e]=Object.create(null));return n[t]||(n[t]=AIe(e,t))}function l3(e,t){return cz(t)?uz(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function MIe(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Oh=!1;function fz(e){return typeof e=="boolean"&&(Oh=e),Oh}function IIe(e){const t=typeof e=="string"?Py(e,!0,Oh):e;if(t){const n=Xl(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function OIe(e,t){const n=Py(e,!0,Oh);if(!n)return!1;const r=Xl(n.provider,n.prefix);return MIe(r,n.name,t)}function PIe(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Oh&&!t&&!e.prefix){let i=!1;return cz(e)&&(e.prefix="",uz(e,(a,o)=>{o&&OIe(a,o)&&(i=!0)})),i}const n=e.prefix;if(!Dg({provider:t,prefix:n,name:"a"}))return!1;const r=Xl(t,n);return!!l3(r,e)}const dz=Object.freeze({width:null,height:null}),hz=Object.freeze({...dz,...Gm}),RIe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,DIe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function oO(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(RIe);if(r===null||!r.length)return e;const i=[];let a=r.shift(),o=DIe.test(a);for(;;){if(o){const s=parseFloat(a);isNaN(s)?i.push(a):i.push(Math.ceil(s*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join("");o=!o}}const LIe=e=>e==="unset"||e==="undefined"||e==="none";function kIe(e,t){const n={...Ry,...e},r={...hz,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),v.push("scale(-1 1)"),i.top=i.left=0):g&&(v.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),v.push("scale(1 -1)"),i.top=i.left=0);let _;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:_=i.height/2+i.top,v.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:v.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,v.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}y%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),v.length&&(a='<g transform="'+v.join(" ")+'">'+a+"</g>")});const o=r.width,s=r.height,l=i.width,u=i.height;let c,f;o===null?(f=s===null?"1em":s==="auto"?u:s,c=oO(f,l/u)):(c=o==="auto"?l:o,f=s===null?oO(c,u/l):s==="auto"?u:s);const d={},h=(p,v)=>{LIe(v)||(d[p]=v.toString())};return h("width",c),h("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:d,body:a}}const $Ie=/\sid="(\S+)"/g,NIe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let BIe=0;function FIe(e,t=NIe){const n=[];let r;for(;r=$Ie.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(a=>{const o=typeof t=="function"?t(a):t+(BIe++).toString(),s=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const dS=Object.create(null);function zIe(e,t){dS[e]=t}function hS(e){return dS[e]||dS[""]}function u3(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const c3=Object.create(null),Bf=["https://api.simplesvg.com","https://api.unisvg.com"],Lg=[];for(;Bf.length>0;)Bf.length===1||Math.random()>.5?Lg.push(Bf.shift()):Lg.push(Bf.pop());c3[""]=u3({resources:["https://api.iconify.design"].concat(Lg)});function VIe(e,t){const n=u3(t);return n===null?!1:(c3[e]=n,!0)}function f3(e){return c3[e]}const HIe=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let sO=HIe();function WIe(e,t){const n=f3(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(o=>{i=Math.max(i,o.length)});const a=t+".json?icons=";r=n.maxURL-i-n.path.length-a.length}return r}function UIe(e){return e===404}const GIe=(e,t,n)=>{const r=[],i=WIe(e,t),a="icons";let o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,u)=>{s+=l.length+1,s>=i&&u>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=l.length),o.icons.push(l)}),r.push(o),r};function jIe(e){if(typeof e=="string"){const t=f3(e);if(t)return t.path}return"/"}const qIe=(e,t,n)=>{if(!sO){n("abort",424);return}let r=jIe(t.provider);switch(t.type){case"icons":{const a=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});r+=a+".json?"+l.toString();break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:n("abort",400);return}let i=503;sO(e+r).then(a=>{const o=a.status;if(o!==200){setTimeout(()=>{n(UIe(o)?"abort":"next",o)});return}return i=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?n("abort",a):n("next",i)});return}setTimeout(()=>{n("success",a)})}).catch(()=>{n("next",i)})},KIe={prepare:GIe,send:qIe};function YIe(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,a)=>i.provider!==a.provider?i.provider.localeCompare(a.provider):i.prefix!==a.prefix?i.prefix.localeCompare(a.prefix):i.name.localeCompare(a.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const a=i.provider,o=i.prefix,s=i.name,l=n[a]||(n[a]=Object.create(null)),u=l[o]||(l[o]=Xl(a,o));let c;s in u.icons?c=t.loaded:o===""||u.missing.has(s)?c=t.missing:c=t.pending;const f={provider:a,prefix:o,name:s};c.push(f)}),t}function pz(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function ZIe(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(a=>{const o=a.icons,s=o.pending.length;o.pending=o.pending.filter(l=>{if(l.prefix!==i)return!0;const u=l.name;if(e.icons[u])o.loaded.push({provider:r,prefix:i,name:u});else if(e.missing.has(u))o.missing.push({provider:r,prefix:i,name:u});else return n=!0,!0;return!1}),o.pending.length!==s&&(n||pz([e],a.id),a.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),a.abort))})}))}let XIe=0;function QIe(e,t,n){const r=XIe++,i=pz.bind(null,n,r);if(!t.pending.length)return i;const a={id:r,icons:t,callback:e,abort:i};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(a)}),i}function JIe(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const a=typeof i=="string"?Py(i,t,n):i;a&&r.push(a)}),r}var eOe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function tOe(e,t,n,r){const i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index;let o;if(e.random){let w=e.resources.slice(0);for(o=[];w.length>1;){const C=Math.floor(Math.random()*w.length);o.push(w[C]),w=w.slice(0,C).concat(w.slice(C+1))}o=o.concat(w)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));const s=Date.now();let l="pending",u=0,c,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){l==="pending"&&(l="aborted"),p(),d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function m(w,C){C&&(h=[]),typeof w=="function"&&h.push(w)}function g(){return{startTime:s,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:m,abort:v}}function y(){l="failed",h.forEach(w=>{w(void 0,c)})}function _(){d.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),d=[]}function b(w,C,T){const E=C!=="success";switch(d=d.filter(M=>M!==w),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(C==="abort"){c=T,y();return}if(E){c=T,d.length||(o.length?S():y());return}if(p(),_(),!e.random){const M=e.resources.indexOf(w.resource);M!==-1&&M!==e.index&&(e.index=M)}l="completed",h.forEach(M=>{M(T)})}function S(){if(l!=="pending")return;p();const w=o.shift();if(w===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(_(),y())},e.timeout);return}y();return}const C={status:"pending",resource:w,callback:(T,E)=>{b(C,T,E)}};d.push(C),u++,f=setTimeout(S,e.rotate),n(w,t,C.callback)}return setTimeout(S),g}function vz(e){const t={...eOe,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,l,u){const c=tOe(t,s,l,(f,d)=>{r(),u&&u(f,d)});return n.push(c),c}function a(s){return n.find(l=>s(l))||null}return{query:i,find:a,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function lO(){}const c_=Object.create(null);function nOe(e){if(!c_[e]){const t=f3(e);if(!t)return;const n=vz(t),r={config:t,redundancy:n};c_[e]=r}return c_[e]}function rOe(e,t,n){let r,i;if(typeof e=="string"){const a=hS(e);if(!a)return n(void 0,424),lO;i=a.send;const o=nOe(e);o&&(r=o.redundancy)}else{const a=u3(e);if(a){r=vz(a);const o=e.resources?e.resources[0]:"",s=hS(o);s&&(i=s.send)}}return!r||!i?(n(void 0,424),lO):r.query(t,i,n)().abort}const uO="iconify2",Ph="iconify",gz=Ph+"-count",cO=Ph+"-version",mz=36e5,iOe=168;function pS(e,t){try{return e.getItem(t)}catch{}}function d3(e,t,n){try{return e.setItem(t,n),!0}catch{}}function fO(e,t){try{e.removeItem(t)}catch{}}function vS(e,t){return d3(e,gz,t.toString())}function gS(e){return parseInt(pS(e,gz))||0}const Dy={local:!0,session:!0},yz={local:new Set,session:new Set};let h3=!1;function aOe(e){h3=e}let Gv=typeof window>"u"?{}:window;function bz(e){const t=e+"Storage";try{if(Gv&&Gv[t]&&typeof Gv[t].length=="number")return Gv[t]}catch{}Dy[e]=!1}function _z(e,t){const n=bz(e);if(!n)return;const r=pS(n,cO);if(r!==uO){if(r){const s=gS(n);for(let l=0;l<s;l++)fO(n,Ph+l.toString())}d3(n,cO,uO),vS(n,0);return}const i=Math.floor(Date.now()/mz)-iOe,a=s=>{const l=Ph+s.toString(),u=pS(n,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>i&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,s))return!0}catch{}fO(n,l)}};let o=gS(n);for(let s=o-1;s>=0;s--)a(s)||(s===o-1?(o--,vS(n,o)):yz[e].add(s))}function wz(){if(!h3){aOe(!0);for(const e in Dy)_z(e,t=>{const n=t.data,r=t.provider,i=n.prefix,a=Xl(r,i);if(!l3(a,n).length)return!1;const o=n.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,o):o,!0})}}function oOe(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Dy)_z(r,i=>{const a=i.data;return i.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function sOe(e,t){h3||wz();function n(r){let i;if(!Dy[r]||!(i=bz(r)))return;const a=yz[r];let o;if(a.size)a.delete(o=Array.from(a).shift());else if(o=gS(i),!vS(i,o+1))return;const s={cached:Math.floor(Date.now()/mz),provider:e.provider,data:t};return d3(i,Ph+o.toString(),JSON.stringify(s))}t.lastModified&&!oOe(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function dO(){}function lOe(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ZIe(e)}))}function uOe(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let a;if(!i||!(a=hS(n)))return;a.prepare(n,r,i).forEach(s=>{rOe(n,s,l=>{if(typeof l!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=l3(e,l);if(!u.length)return;const c=e.pendingIcons;c&&u.forEach(f=>{c.delete(f)}),sOe(e,l)}catch(u){console.error(u)}lOe(e)})})}))}const cOe=(e,t)=>{const n=JIe(e,!0,fz()),r=YIe(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,dO)}),()=>{l=!1}}const i=Object.create(null),a=[];let o,s;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===s&&u===o)return;o=u,s=c,a.push(Xl(u,c));const f=i[u]||(i[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,d=Xl(u,c),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),i[u][c].push(f))}),a.forEach(l=>{const{provider:u,prefix:c}=l;i[u][c].length&&uOe(l,i[u][c])}),t?QIe(t,r,a):dO};function fOe(e,t){const n={...e};for(const r in t){const i=t[r],a=typeof i;r in dz?(i===null||i&&(a==="string"||a==="number"))&&(n[r]=i):a===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const dOe=/[\s,]+/;function hOe(e,t){t.split(dOe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pOe(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/i,a%1===0?r(a):0)}}return t}function vOe(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function gOe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function mOe(e){return"data:image/svg+xml,"+gOe(e)}function yOe(e){return'url("'+mOe(e)+'")'}const hO={...hz,inline:!1},bOe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},_Oe={display:"inline-block"},mS={backgroundColor:"currentColor"},Sz={backgroundColor:"transparent"},pO={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},vO={webkitMask:mS,mask:mS,background:Sz};for(const e in vO){const t=vO[e];for(const n in pO)t[e+n]=pO[n]}const kg={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kg[e+"-flip"]=t,kg[e.slice(0,1)+"-flip"]=t,kg[e+"Flip"]=t});function gO(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const mO=(e,t)=>{const n=fOe(hO,t),r={...bOe},i=t.mode||"svg",a={},o=t.style,s=typeof o=="object"&&!(o instanceof Array)?o:{};for(let v in t){const m=t[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&hOe(n,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?n[v]=pOe(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=kg[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):hO[v]===void 0&&(r[v]=m)}}}const l=kIe(e,n),u=l.attributes;if(n.inline&&(a.verticalAlign="-0.125em"),i==="svg"){r.style={...a,...s},Object.assign(r,u);let v=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=FIe(l.body,m?()=>m+"ID"+v++:"iconifyVue"),be("svg",r)}const{body:c,width:f,height:d}=e,h=i==="mask"||(i==="bg"?!1:c.indexOf("currentColor")!==-1),p=vOe(c,{...u,width:f+"",height:d+""});return r.style={...a,"--svg":yOe(p),width:gO(u.width),height:gO(u.height),..._Oe,...h?mS:Sz,...s},be("span",r)};fz(!0);zIe("",KIe);if(typeof document<"u"&&typeof window<"u"){wz();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!PIe(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;VIe(n,i)||console.error(r)}catch{console.error(r)}}}}const wOe={...Ry,body:""},yO=j({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Py(e,!1,!0))===null)return this.abortLoading(),null;const r=IIe(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:cOe([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return mO(wOe,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),mO({...Ry,...t.data},n)}}),SOe=j({name:"IconifyIconOnline",components:{IconifyIcon:yO},props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return be(yO,{icon:`${this.icon}`,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"},...e},{default:()=>[]})}}),COe=j({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return Object.keys(e).includes("uni")||(e==null?void 0:e.iconType)==="uni"?be("i",{class:"iconfont",...e},this.icon):Object.keys(e).includes("svg")||(e==null?void 0:e.iconType)==="svg"?be("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[be("use",{"xlink:href":`#${this.icon}`})]}):be("i",{class:`iconfont ${this.icon}`,...e})}}),xOe=SIe,TOe=SOe,EOe=COe,AOe=j({name:"Auth",props:{value:{type:void 0,default:[]}},setup(e,{slots:t}){return()=>{var n;return t&&e9(e.value)?ie(Ye,null,[(n=t.default)==null?void 0:n.call(t)]):null}}}),MOe=AOe,wr=US(Dme);Object.keys(XI).forEach(e=>{wr.directive(e,XI[e])});wr.component("IconifyIconOffline",xOe);wr.component("IconifyIconOnline",TOe);wr.component("FontIcon",EOe);wr.component("Auth",MOe);ige(wr).then(async e=>{wr.use(ln),await ln.isReady(),LMe(wr,e),jve(wr),wr.use(g1e).use($me).use(AMe);const t=XMe({state(){return{Signal:{network_type:"LTE",sub_network_type:"",rssi:"",rscp:"",lte_rsrp:""},NetWork:{modem_main_state:"",pin_status:"0",blc_wan_mode:"AUTO",blc_wan_auto_mode:"AUTO_PPP",loginfo:"",fota_new_version_state:"",fota_current_upgrade_state:"",fota_upgrade_selector:"",network_provider:"",is_mandatory:"",sta_count:"1",m_sta_count:"0",signalbar:"4",network_type:"LTE",sub_network_type:"",ppp_status:"ppp_connected",internet_status:"",EX_SSID1:"Ufi_",sta_ip_status:"",EX_wifi_profile:"",m_ssid_enable:"",wifi_cur_state:"1",SSID1:"",simcard_roam:"",lan_ipaddr:"",battery_charging:"",battery_vol_percent:"",battery_pers:"",spn_name_data:"",spn_b1_flag:"",spn_b2_flag:"",realtime_tx_bytes:"",realtime_rx_bytes:"",realtime_time:"",realtime_tx_thrpt:"0",realtime_rx_thrpt:"0",monthly_rx_bytes:"",monthly_tx_bytes:"",traffic_alined_delta:"",monthly_time:"",date_month:"",data_volume_limit_switch:"",data_volume_limit_size:"",data_volume_alert_percent:"",data_volume_limit_unit:"",roam_setting_option:"",upg_roam_switch:"",fota_package_already_download:"",ssid:"",show_ssid_on_lcd:"",dial_mode:"",ethwan_mode:"",default_wan_name:"",vpn_state:"",connect_status:"",sms_received_flag:"",sts_received_flag:"",sms_unread_num:"",show_qrcode_flag:"",NoForwarding:""},NetInfo:{Sleep_interval:"",wifi_coverage:"",m_ssid_enable:"",imei:"",HideSSID:"",network_type:"LTE",sub_network_type:"",rssi:"",rscp:"",lte_rsrp:"",ziccid:"",imsi:"",sim_imsi:"460086103308384",cr_version:"XFNJ_P38_U01_MF761F_V1.0_OM_OM_ESOUND4U3_M_P001",hw_version:"",MAX_Access_num:"",SSID1:"",AuthMode:"",WPAPSK1_encode:"",m_SSID:"",m_AuthMode:"",m_HideSSID:"",m_WPAPSK1_encode:"",m_MAX_Access_num:"",lan_ipaddr:"",mac_address:"",msisdn:"",LocalDomain:"",wan_ipaddr:"",static_wan_ipaddr:"",ipv6_wan_ipaddr:"",ipv6_pdp_type:"",pdp_type:"",ppp_status:"ppp_connected",sta_ip_status:"",rj45_state:"",ethwan_mode:"",detail_cell_rsrq:"",detail_cell_rssi:"",detail_cell_pci:"",detail_cell_sinr:"",detail_cell_id:""},LanList:[{hostname:"",mac_addr:""}],WIFIList:[{dev_type:"",mac_addr:"",hostname:"",ip_addr:"",duration:"",rx:"",tx:"",timestamp:"",ip_type:""}],Messages:[{id:"",number:"",content:"",tag:"",date:"",draft_group_id:""}],BandInfo:N(),CellInfo:{detail_cell_rsrq:"",detail_cell_rssi:"",detail_cell_pci:"",detail_cell_sinr:"",detail_cell_id:""}}},mutations:{updateSignal(a,o){a.Signal=o},updateNetWork(a,o){a.NetWork=o},updateNetInfo(a,o){a.NetInfo=o},updateLanList(a,o){a.LanList=o},updateWIFIList(a,o){a.WIFIList=o},updateMessages(a,o){a.Messages=o},updateBandInfo(a,o){a.BandInfo=o},updateCellInfo(a,o){a.CellInfo=o}},actions:{}});wr.use(t);const n=N(null);function r(){n.value===null&&(n.value=setInterval(()=>{mu("multi_data=1&sms_received_flag_flag=0&sts_received_flag_flag=0&cmd=modem_main_state%2Cpin_status%2Cblc_wan_mode%2Cblc_wan_auto_mode%2Cloginfo%2Cfota_new_version_state%2Cfota_current_upgrade_state%2Cfota_upgrade_selector%2Cnetwork_provider%2Cis_mandatory%2Csta_count%2Cm_sta_count%2Csignalbar%2Cnetwork_type%2Csub_network_type%2Cppp_status%2Cinternet_status%2CEX_SSID1%2Csta_ip_status%2CEX_wifi_profile%2Cm_ssid_enable%2Cwifi_cur_state%2CSSID1%2Csimcard_roam%2Clan_ipaddr%2Cbattery_charging%2Cbattery_vol_percent%2Cbattery_pers%2Cspn_name_data%2Cspn_b1_flag%2Cspn_b2_flag%2Crealtime_tx_bytes%2Crealtime_rx_bytes%2Crealtime_time%2Crealtime_tx_thrpt%2Crealtime_rx_thrpt%2Cmonthly_rx_bytes%2Cmonthly_tx_bytes%2Ctraffic_alined_delta%2Cmonthly_time%2Cdate_month%2Cdata_volume_limit_switch%2Cdata_volume_limit_size%2Cdata_volume_alert_percent%2Cdata_volume_limit_unit%2Croam_setting_option%2Cupg_roam_switch%2Cfota_package_already_download%2Cssid%2Cshow_ssid_on_lcd%2Cdial_mode%2Cethwan_mode%2Cdefault_wan_name%2Cvpn_state%2Cconnect_status%2Csms_received_flag%2Csts_received_flag%2Csms_unread_num%2Cshow_qrcode_flag%2CNoForwarding",!0).then(a=>{t.commit("updateNetWork",a),a.loginfo!=="ok"&&(typeof i=="function"&&i(),D2().logOut())}),mu("cmd=network_type%2Csub_network_type%2Crssi%2Crscp%2Clte_rsrp&multi_data=1",!0).then(a=>{t.state.NetWork.modem_main_state=="modem_sim_undetected"&&(a.rssi=a.lte_rsrp=0),t.commit("updateSignal",a)}),Ime().then(a=>{t.commit("updateLanList",a.lan_station_list)}),mu("cmd=wifi_coverage%2CSleep_interval%2Cm_ssid_enable%2Cimei%2Cnetwork_type%2Csub_network_type%2Crssi%2Crscp%2Clte_rsrp%2Cziccid%2Cimsi%2Csim_imsi%2Ccr_version%2Chw_version%2CMAX_Access_num%2CSSID1%2CAuthMode%2CWPAPSK1_encode%2Cm_SSID%2Cm_AuthMode%2Cm_HideSSID%2CHideSSID%2Cm_WPAPSK1_encode%2Cm_MAX_Access_num%2Clan_ipaddr%2Cmac_address%2Cmsisdn%2CLocalDomain%2Cwan_ipaddr%2Cstatic_wan_ipaddr%2Cipv6_wan_ipaddr%2Cipv6_pdp_type%2Cpdp_type%2Cppp_status%2Csta_ip_status%2Crj45_state%2Cethwan_mode%2Cdetail_cell_rsrq%2Cdetail_cell_rssi%2Cdetail_cell_pci%2Cdetail_cell_sinr%2Cdetail_cell_id&multi_data=1",!0).then(a=>{t.state.NetWork.modem_main_state=="modem_sim_undetected"&&(a.rssi=a.lte_rsrp=0),t.commit("updateNetInfo",a)}),mu("cmd=sms_data_total&page=0&data_per_page=500&mem_store=1&tags=10&order_by=order+by+id+desc",!0).then(a=>{t.commit("updateMessages",a.messages)}),mu("cmd=detail_cell_rsrq%2Cdetail_cell_rssi%2Cdetail_cell_pci%2Cdetail_cell_sinr%2Cdetail_cell_id&multi_data=1",!0).then(a=>{t.commit("updateCellInfo",a)}),mu("cmd=GET_RESIDE_BAND",!0).then(a=>{t.commit("updateBandInfo",a.result)})},1e3))}function i(){n.value!==null&&(clearInterval(n.value),n.value=null)}wr.provide("startTimer",r),wr.provide("stopTimer",i),wr.mount("#app")});export{$Oe as $,Ze as A,_e as B,di as C,rh as D,ga as E,Ye as F,VOe as G,FOe as H,It as I,Ke as J,ZI as K,nPe as L,mu as M,Ho as N,XOe as O,hi as P,ePe as Q,QOe as R,Eme as S,rt as T,ce as U,U as V,YOe as W,XL as X,KOe as Y,nc as Z,Pme as _,RH as a,ZOe as a$,WP as a0,dn as a1,c2 as a2,Qt as a3,Ia as a4,RV as a5,DV as a6,hu as a7,Ks as a8,Yfe as a9,UOe as aA,$e as aB,un as aC,Oe as aD,pR as aE,Yg as aF,Ar as aG,yt as aH,Re as aI,bQ as aJ,Ud as aK,lt as aL,kt as aM,Cn as aN,Nl as aO,Ge as aP,Wd as aQ,wQ as aR,Se as aS,D2 as aT,dme as aU,age as aV,EOe as aW,xOe as aX,TOe as aY,jOe as aZ,ln as a_,rn as aa,Rfe as ab,LOe as ac,kOe as ad,vme as ae,WOe as af,YD as ag,cn as ah,Dn as ai,Qn as aj,Z6 as ak,X8 as al,QC as am,Kfe as an,XV as ao,be as ap,zOe as aq,ge as ar,NOe as as,zh as at,Cme as au,xa as av,_me as aw,Ire as ax,xC as ay,on as az,a0 as b,OOe as b0,nh as b1,ER as b2,yC as b3,Sae as b4,F7 as b5,z7 as b6,ro as b7,PQ as b8,BQ as b9,Ci as ba,or as bb,aR as bc,ct as bd,st as be,gc as bf,Ne as bg,JOe as bh,tPe as bi,BOe as bj,a1 as bk,K as c,j as d,ie as e,x as f,ee as g,an as h,de as i,re as j,wIe as k,XC as l,np as m,N as n,$ as o,P as p,HOe as q,et as r,F0 as s,dt as t,qOe as u,Er as v,Wt as w,it as x,Rt as y,Ue as z};
