st-comp 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,33 @@
1
- (function(K,k){typeof exports=="object"&&typeof module<"u"?k(exports):typeof define=="function"&&define.amd?define(["exports"],k):(K=typeof globalThis<"u"?globalThis:K||self,k(K.Bundle={}))})(this,function(K){"use strict";function k(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const C=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Lt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Xe=()=>{},Yt=/^on[^a-z]/,Qt=e=>Yt.test(e),I=Object.assign,Xt=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zt=Object.prototype.hasOwnProperty,m=(e,t)=>Zt.call(e,t),h=Array.isArray,L=e=>ie(e)==="[object Map]",kt=e=>ie(e)==="[object Set]",E=e=>typeof e=="function",R=e=>typeof e=="string",xe=e=>typeof e=="symbol",b=e=>e!==null&&typeof e=="object",en=e=>b(e)&&E(e.then)&&E(e.catch),tn=Object.prototype.toString,ie=e=>tn.call(e),Ze=e=>ie(e).slice(8,-1),nn=e=>ie(e)==="[object Object]",Ve=e=>R(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),ce=(e,t)=>!Object.is(e,t),on=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ke;const ve=()=>ke||(ke=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ie(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=R(o)?un(o):Ie(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if(R(e))return e;if(b(e))return e}}const sn=/;(?![^(]*\))/g,cn=/:([^]+)/,ln=/\/\*[^]*?\*\//g;function un(e){const t={};return e.replace(ln,"").split(sn).forEach(n=>{if(n){const o=n.split(cn);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ye(e){let t="";if(R(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=ye(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function et(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let tt;function an(e,t=tt){t&&t.active&&t.effects.push(e)}function fn(){return tt}const Re=e=>{const t=new Set(e);return t.w=0,t.n=0,t},nt=e=>(e.w&$)>0,rt=e=>(e.n&$)>0,pn=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=$},dn=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];nt(r)&&!rt(r)?r.delete(e):t[n++]=r,r.w&=~$,r.n&=~$}t.length=n}},De=new WeakMap;let ee=0,$=1;const Te=30;let O;const H=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Ce=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class hn{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,an(this,o)}run(){if(!this.active)return this.fn();let t=O,n=U;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=O,O=this,U=!0,$=1<<++ee,ee<=Te?pn(this):ot(this),this.fn()}finally{ee<=Te&&dn(this),$=1<<--ee,O=this.parent,U=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){O===this?this.deferStop=!0:this.active&&(ot(this),this.onStop&&this.onStop(),this.active=!1)}}function ot(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let U=!0;const st=[];function it(){st.push(U),U=!1}function ct(){const e=st.pop();U=e===void 0?!0:e}function S(e,t,n){if(U&&O){let o=De.get(e);o||De.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Re());const s=process.env.NODE_ENV!=="production"?{effect:O,target:e,type:t,key:n}:void 0;_n(r,s)}}function _n(e,t){let n=!1;ee<=Te?rt(e)||(e.n|=$,n=!nt(e)):n=!e.has(O),n&&(e.add(O),O.deps.push(e),process.env.NODE_ENV!=="production"&&O.onTrack&&O.onTrack(I({effect:O},t)))}function M(e,t,n,o,r,s){const i=De.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&h(e)){const a=Number(o);i.forEach((d,l)=>{(l==="length"||l>=a)&&c.push(d)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":h(e)?Ve(n)&&c.push(i.get("length")):(c.push(i.get(H)),L(e)&&c.push(i.get(Ce)));break;case"delete":h(e)||(c.push(i.get(H)),L(e)&&c.push(i.get(Ce)));break;case"set":L(e)&&c.push(i.get(H));break}const u=process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0;if(c.length===1)c[0]&&(process.env.NODE_ENV!=="production"?le(c[0],u):le(c[0]));else{const a=[];for(const d of c)d&&a.push(...d);process.env.NODE_ENV!=="production"?le(Re(a),u):le(Re(a))}}function le(e,t){const n=h(e)?e:[...e];for(const o of n)o.computed&&lt(o,t);for(const o of n)o.computed||lt(o,t)}function lt(e,t){(e!==O||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(I({effect:e},t)),e.scheduler?e.scheduler():e.run())}const gn=k("__proto__,__v_isRef,__isVue"),ut=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xe)),mn=Pe(),En=Pe(!0),wn=Pe(!0,!0),at=Nn();function Nn(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=p(this);for(let s=0,i=this.length;s<i;s++)S(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(p)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){it();const o=p(this)[t].apply(this,n);return ct(),o}}),e}function bn(e){const t=p(this);return S(t,"has",e),t.hasOwnProperty(e)}function Pe(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?wt:Et:t?An:mt).get(o))return o;const i=h(o);if(!e){if(i&&m(at,r))return Reflect.get(at,r,s);if(r==="hasOwnProperty")return bn}const c=Reflect.get(o,r,s);return(xe(r)?ut.has(r):gn(r))||(e||S(o,"get",r),t)?c:x(c)?i&&Ve(r)?c:c.value:b(c)?e?bt(c):Nt(c):c}}const On=Sn();function Sn(e=!1){return function(n,o,r,s){let i=n[o];if(B(i)&&x(i)&&!x(r))return!1;if(!e&&(!Ae(r)&&!B(r)&&(i=p(i),r=p(r)),!h(n)&&x(i)&&!x(r)))return i.value=r,!0;const c=h(n)&&Ve(o)?Number(o)<n.length:m(n,o),u=Reflect.set(n,o,r,s);return n===p(s)&&(c?ce(r,i)&&M(n,"set",o,r,i):M(n,"add",o,r)),u}}function xn(e,t){const n=m(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&M(e,"delete",t,void 0,o),r}function Vn(e,t){const n=Reflect.has(e,t);return(!xe(t)||!ut.has(t))&&S(e,"has",t),n}function vn(e){return S(e,"iterate",h(e)?"length":H),Reflect.ownKeys(e)}const In={get:mn,set:On,deleteProperty:xn,has:Vn,ownKeys:vn},ft={get:En,set(e,t){return process.env.NODE_ENV!=="production"&&et(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return process.env.NODE_ENV!=="production"&&et(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},yn=I({},ft,{get:wn}),$e=e=>e,ue=e=>Reflect.getPrototypeOf(e);function ae(e,t,n=!1,o=!1){e=e.__v_raw;const r=p(e),s=p(t);n||(t!==s&&S(r,"get",t),S(r,"get",s));const{has:i}=ue(r),c=o?$e:n?Ke:ze;if(i.call(r,t))return c(e.get(t));if(i.call(r,s))return c(e.get(s));e!==r&&e.get(t)}function fe(e,t=!1){const n=this.__v_raw,o=p(n),r=p(e);return t||(e!==r&&S(o,"has",e),S(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function pe(e,t=!1){return e=e.__v_raw,!t&&S(p(e),"iterate",H),Reflect.get(e,"size",e)}function pt(e){e=p(e);const t=p(this);return ue(t).has.call(t,e)||(t.add(e),M(t,"add",e,e)),this}function dt(e,t){t=p(t);const n=p(this),{has:o,get:r}=ue(n);let s=o.call(n,e);s?process.env.NODE_ENV!=="production"&&gt(n,o,e):(e=p(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?ce(t,i)&&M(n,"set",e,t,i):M(n,"add",e,t),this}function ht(e){const t=p(this),{has:n,get:o}=ue(t);let r=n.call(t,e);r?process.env.NODE_ENV!=="production"&&gt(t,n,e):(e=p(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&M(t,"delete",e,void 0,s),i}function _t(){const e=p(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?L(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&M(e,"clear",void 0,void 0,n),o}function de(e,t){return function(o,r){const s=this,i=s.__v_raw,c=p(i),u=t?$e:e?Ke:ze;return!e&&S(c,"iterate",H),i.forEach((a,d)=>o.call(r,u(a),u(d),s))}}function he(e,t,n){return function(...o){const r=this.__v_raw,s=p(r),i=L(s),c=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,a=r[e](...o),d=n?$e:t?Ke:ze;return!t&&S(s,"iterate",u?Ce:H),{next(){const{value:l,done:f}=a.next();return f?{value:l,done:f}:{value:c?[d(l[0]),d(l[1])]:d(l),done:f}},[Symbol.iterator](){return this}}}}function F(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${rn(e)} operation ${n}failed: target is readonly.`,p(this))}return e==="delete"?!1:this}}function Rn(){const e={get(s){return ae(this,s)},get size(){return pe(this)},has:fe,add:pt,set:dt,delete:ht,clear:_t,forEach:de(!1,!1)},t={get(s){return ae(this,s,!1,!0)},get size(){return pe(this)},has:fe,add:pt,set:dt,delete:ht,clear:_t,forEach:de(!1,!0)},n={get(s){return ae(this,s,!0)},get size(){return pe(this,!0)},has(s){return fe.call(this,s,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:de(!0,!1)},o={get(s){return ae(this,s,!0,!0)},get size(){return pe(this,!0)},has(s){return fe.call(this,s,!0)},add:F("add"),set:F("set"),delete:F("delete"),clear:F("clear"),forEach:de(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=he(s,!1,!1),n[s]=he(s,!0,!1),t[s]=he(s,!1,!0),o[s]=he(s,!0,!0)}),[e,n,t,o]}const[Dn,Tn,Cn,Pn]=Rn();function Me(e,t){const n=t?e?Pn:Cn:e?Tn:Dn;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(m(n,r)&&r in o?n:o,r,s)}const $n={get:Me(!1,!1)},Mn={get:Me(!0,!1)},Fn={get:Me(!0,!0)};function gt(e,t,n){const o=p(n);if(o!==n&&t.call(e,o)){const r=Ze(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const mt=new WeakMap,An=new WeakMap,Et=new WeakMap,wt=new WeakMap;function jn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zn(e){return e.__v_skip||!Object.isExtensible(e)?0:jn(Ze(e))}function Nt(e){return B(e)?e:Fe(e,!1,In,$n,mt)}function bt(e){return Fe(e,!0,ft,Mn,Et)}function _e(e){return Fe(e,!0,yn,Fn,wt)}function Fe(e,t,n,o,r){if(!b(e))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=zn(e);if(i===0)return e;const c=new Proxy(e,i===2?o:n);return r.set(e,c),c}function W(e){return B(e)?W(e.__v_raw):!!(e&&e.__v_isReactive)}function B(e){return!!(e&&e.__v_isReadonly)}function Ae(e){return!!(e&&e.__v_isShallow)}function je(e){return W(e)||B(e)}function p(e){const t=e&&e.__v_raw;return t?p(t):e}function Kn(e){return on(e,"__v_skip",!0),e}const ze=e=>b(e)?Nt(e):e,Ke=e=>b(e)?bt(e):e;function x(e){return!!(e&&e.__v_isRef===!0)}function Hn(e){return x(e)?e.value:e}const Un={get:(e,t,n)=>Hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return x(r)&&!x(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Wn(e){return W(e)?e:new Proxy(e,Un)}const J=[];function Bn(e){J.push(e)}function Jn(){J.pop()}function w(e,...t){if(process.env.NODE_ENV==="production")return;it();const n=J.length?J[J.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=qn();if(o)q(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${Jt(n,s.type)}>`).join(`
1
+ (function(bt,Nt){typeof exports=="object"&&typeof module<"u"?module.exports=Nt():typeof define=="function"&&define.amd?define(Nt):(bt=typeof globalThis<"u"?globalThis:bt||self,bt.Bundle=Nt())})(this,function(){"use strict";const bt=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const s=e==null?void 0:e(r);if(n===!1||!s)return t==null?void 0:t(r)};function Nt(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Ae=process.env.NODE_ENV!=="production"?Object.freeze({}):{},po=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Ue=()=>{},Na=()=>!1,Vp=/^on[^a-z]/,Fo=e=>Vp.test(e),Rr=e=>e.startsWith("onUpdate:"),De=Object.assign,ai=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Bp=Object.prototype.hasOwnProperty,ue=(e,t)=>Bp.call(e,t),G=Array.isArray,Rn=e=>Bo(e)==="[object Map]",Ir=e=>Bo(e)==="[object Set]",xa=e=>Bo(e)==="[object Date]",oe=e=>typeof e=="function",_e=e=>typeof e=="string",Vo=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",ui=e=>de(e)&&oe(e.then)&&oe(e.catch),Sa=Object.prototype.toString,Bo=e=>Sa.call(e),ci=e=>Bo(e).slice(8,-1),Ta=e=>Bo(e)==="[object Object]",fi=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kr=Nt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hp=Nt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Dr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jp=/-(\w)/g,It=Dr(e=>e.replace(jp,(t,n)=>n?n.toUpperCase():"")),Wp=/\B([A-Z])/g,en=Dr(e=>e.replace(Wp,"-$1").toLowerCase()),In=Dr(e=>e.charAt(0).toUpperCase()+e.slice(1)),kn=Dr(e=>e?`on${In(e)}`:""),Ho=(e,t)=>!Object.is(e,t),ho=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Mr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kp=e=>{const t=_e(e)?Number(e):NaN;return isNaN(t)?e:t};let $a;const Lr=()=>$a||($a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tt(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=_e(o)?Yp(o):tt(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if(_e(e))return e;if(de(e))return e}}const Up=/;(?![^(]*\))/g,qp=/:([^]+)/,Gp=/\/\*[^]*?\*\//g;function Yp(e){const t={};return e.replace(Gp,"").split(Up).forEach(n=>{if(n){const o=n.split(qp);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function re(e){let t="";if(_e(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const o=re(e[n]);o&&(t+=o+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xp="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",Jp="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Zp=Nt(Xp),Qp=Nt(Jp),eh=Nt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Aa(e){return!!e||e===""}function th(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Fr(e[o],t[o]);return n}function Fr(e,t){if(e===t)return!0;let n=xa(e),o=xa(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=Vo(e),o=Vo(t),n||o)return e===t;if(n=G(e),o=G(t),n||o)return n&&o?th(e,t):!1;if(n=de(e),o=de(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,s=Object.keys(t).length;if(r!==s)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Fr(e[i],t[i]))return!1}}return String(e)===String(t)}function Pa(e,t){return e.findIndex(n=>Fr(n,t))}const nt=e=>_e(e)?e:e==null?"":G(e)||de(e)&&(e.toString===Sa||!oe(e.toString))?JSON.stringify(e,Ra,2):String(e),Ra=(e,t)=>t&&t.__v_isRef?Ra(e,t.value):Rn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Ir(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!G(t)&&!Ta(t)?String(t):t;function Vr(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let yt;class nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yt;try{return yt=this,t()}finally{yt=n}}else process.env.NODE_ENV!=="production"&&Vr("cannot run an inactive effect scope.")}on(){yt=this}off(){yt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function oh(e,t=yt){t&&t.active&&t.effects.push(e)}function Ia(){return yt}function rh(e){yt?yt.cleanups.push(e):process.env.NODE_ENV!=="production"&&Vr("onScopeDispose() is called when there is no active effect scope to be associated with.")}const jo=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ka=e=>(e.w&pn)>0,Da=e=>(e.n&pn)>0,sh=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=pn},ih=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];ka(r)&&!Da(r)?r.delete(e):t[n++]=r,r.w&=~pn,r.n&=~pn}t.length=n}},Br=new WeakMap;let Wo=0,pn=1;const di=30;let ct;const Dn=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),pi=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class hi{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,oh(this,o)}run(){if(!this.active)return this.fn();let t=ct,n=hn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,hn=!0,pn=1<<++Wo,Wo<=di?sh(this):Ma(this),this.fn()}finally{Wo<=di&&ih(this),pn=1<<--Wo,ct=this.parent,hn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(Ma(this),this.onStop&&this.onStop(),this.active=!1)}}function Ma(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let hn=!0;const La=[];function Mn(){La.push(hn),hn=!1}function Ln(){const e=La.pop();hn=e===void 0?!0:e}function ot(e,t,n){if(hn&&ct){let o=Br.get(e);o||Br.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=jo());const s=process.env.NODE_ENV!=="production"?{effect:ct,target:e,type:t,key:n}:void 0;vi(r,s)}}function vi(e,t){let n=!1;Wo<=di?Da(e)||(e.n|=pn,n=!ka(e)):n=!e.has(ct),n&&(e.add(ct),ct.deps.push(e),process.env.NODE_ENV!=="production"&&ct.onTrack&&ct.onTrack(De({effect:ct},t)))}function Wt(e,t,n,o,r,s){const i=Br.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&G(e)){const u=Number(o);i.forEach((c,f)=>{(f==="length"||f>=u)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":G(e)?fi(n)&&l.push(i.get("length")):(l.push(i.get(Dn)),Rn(e)&&l.push(i.get(pi)));break;case"delete":G(e)||(l.push(i.get(Dn)),Rn(e)&&l.push(i.get(pi)));break;case"set":Rn(e)&&l.push(i.get(Dn));break}const a=process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0;if(l.length===1)l[0]&&(process.env.NODE_ENV!=="production"?vo(l[0],a):vo(l[0]));else{const u=[];for(const c of l)c&&u.push(...c);process.env.NODE_ENV!=="production"?vo(jo(u),a):vo(jo(u))}}function vo(e,t){const n=G(e)?e:[...e];for(const o of n)o.computed&&Fa(o,t);for(const o of n)o.computed||Fa(o,t)}function Fa(e,t){(e!==ct||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(De({effect:e},t)),e.scheduler?e.scheduler():e.run())}function lh(e,t){var n;return(n=Br.get(e))==null?void 0:n.get(t)}const ah=Nt("__proto__,__v_isRef,__isVue"),Va=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vo)),uh=Hr(),ch=Hr(!1,!0),fh=Hr(!0),dh=Hr(!0,!0),Ba=ph();function ph(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ae(this);for(let s=0,i=this.length;s<i;s++)ot(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(ae)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mn();const o=ae(this)[t].apply(this,n);return Ln(),o}}),e}function hh(e){const t=ae(this);return ot(t,"has",e),t.hasOwnProperty(e)}function Hr(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?Za:Ja:t?Xa:Ya).get(o))return o;const i=G(o);if(!e){if(i&&ue(Ba,r))return Reflect.get(Ba,r,s);if(r==="hasOwnProperty")return hh}const l=Reflect.get(o,r,s);return(Vo(r)?Va.has(r):ah(r))||(e||ot(o,"get",r),t)?l:Pe(l)?i&&fi(r)?l:l.value:de(l)?e?mi(l):go(l):l}}const vh=Ha(),gh=Ha(!0);function Ha(e=!1){return function(n,o,r,s){let i=n[o];if(gn(i)&&Pe(i)&&!Pe(r))return!1;if(!e&&(!Xr(r)&&!gn(r)&&(i=ae(i),r=ae(r)),!G(n)&&Pe(i)&&!Pe(r)))return i.value=r,!0;const l=G(n)&&fi(o)?Number(o)<n.length:ue(n,o),a=Reflect.set(n,o,r,s);return n===ae(s)&&(l?Ho(r,i)&&Wt(n,"set",o,r,i):Wt(n,"add",o,r)),a}}function mh(e,t){const n=ue(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&Wt(e,"delete",t,void 0,o),r}function bh(e,t){const n=Reflect.has(e,t);return(!Vo(t)||!Va.has(t))&&ot(e,"has",t),n}function yh(e){return ot(e,"iterate",G(e)?"length":Dn),Reflect.ownKeys(e)}const ja={get:uh,set:vh,deleteProperty:mh,has:bh,ownKeys:yh},Wa={get:fh,set(e,t){return process.env.NODE_ENV!=="production"&&Vr(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return process.env.NODE_ENV!=="production"&&Vr(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},wh=De({},ja,{get:ch,set:gh}),Eh=De({},Wa,{get:dh}),gi=e=>e,jr=e=>Reflect.getPrototypeOf(e);function Wr(e,t,n=!1,o=!1){e=e.__v_raw;const r=ae(e),s=ae(t);n||(t!==s&&ot(r,"get",t),ot(r,"get",s));const{has:i}=jr(r),l=o?gi:n?bi:Ko;if(i.call(r,t))return l(e.get(t));if(i.call(r,s))return l(e.get(s));e!==r&&e.get(t)}function zr(e,t=!1){const n=this.__v_raw,o=ae(n),r=ae(e);return t||(e!==r&&ot(o,"has",e),ot(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Kr(e,t=!1){return e=e.__v_raw,!t&&ot(ae(e),"iterate",Dn),Reflect.get(e,"size",e)}function za(e){e=ae(e);const t=ae(this);return jr(t).has.call(t,e)||(t.add(e),Wt(t,"add",e,e)),this}function Ka(e,t){t=ae(t);const n=ae(this),{has:o,get:r}=jr(n);let s=o.call(n,e);s?process.env.NODE_ENV!=="production"&&Ga(n,o,e):(e=ae(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Ho(t,i)&&Wt(n,"set",e,t,i):Wt(n,"add",e,t),this}function Ua(e){const t=ae(this),{has:n,get:o}=jr(t);let r=n.call(t,e);r?process.env.NODE_ENV!=="production"&&Ga(t,n,e):(e=ae(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&Wt(t,"delete",e,void 0,s),i}function qa(){const e=ae(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Rn(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Wt(e,"clear",void 0,void 0,n),o}function Ur(e,t){return function(o,r){const s=this,i=s.__v_raw,l=ae(i),a=t?gi:e?bi:Ko;return!e&&ot(l,"iterate",Dn),i.forEach((u,c)=>o.call(r,a(u),a(c),s))}}function qr(e,t,n){return function(...o){const r=this.__v_raw,s=ae(r),i=Rn(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...o),c=n?gi:t?bi:Ko;return!t&&ot(s,"iterate",a?pi:Dn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function vn(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${In(e)} operation ${n}failed: target is readonly.`,ae(this))}return e==="delete"?!1:this}}function _h(){const e={get(s){return Wr(this,s)},get size(){return Kr(this)},has:zr,add:za,set:Ka,delete:Ua,clear:qa,forEach:Ur(!1,!1)},t={get(s){return Wr(this,s,!1,!0)},get size(){return Kr(this)},has:zr,add:za,set:Ka,delete:Ua,clear:qa,forEach:Ur(!1,!0)},n={get(s){return Wr(this,s,!0)},get size(){return Kr(this,!0)},has(s){return zr.call(this,s,!0)},add:vn("add"),set:vn("set"),delete:vn("delete"),clear:vn("clear"),forEach:Ur(!0,!1)},o={get(s){return Wr(this,s,!0,!0)},get size(){return Kr(this,!0)},has(s){return zr.call(this,s,!0)},add:vn("add"),set:vn("set"),delete:vn("delete"),clear:vn("clear"),forEach:Ur(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=qr(s,!1,!1),n[s]=qr(s,!0,!1),t[s]=qr(s,!1,!0),o[s]=qr(s,!0,!0)}),[e,n,t,o]}const[Ch,Oh,Nh,xh]=_h();function Gr(e,t){const n=t?e?xh:Nh:e?Oh:Ch;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(ue(n,r)&&r in o?n:o,r,s)}const Sh={get:Gr(!1,!1)},Th={get:Gr(!1,!0)},$h={get:Gr(!0,!1)},Ah={get:Gr(!0,!0)};function Ga(e,t,n){const o=ae(n);if(o!==n&&t.call(e,o)){const r=ci(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ya=new WeakMap,Xa=new WeakMap,Ja=new WeakMap,Za=new WeakMap;function Ph(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rh(e){return e.__v_skip||!Object.isExtensible(e)?0:Ph(ci(e))}function go(e){return gn(e)?e:Yr(e,!1,ja,Sh,Ya)}function Ih(e){return Yr(e,!1,wh,Th,Xa)}function mi(e){return Yr(e,!0,Wa,$h,Ja)}function zo(e){return Yr(e,!0,Eh,Ah,Za)}function Yr(e,t,n,o,r){if(!de(e))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Rh(e);if(i===0)return e;const l=new Proxy(e,i===2?o:n);return r.set(e,l),l}function Fn(e){return gn(e)?Fn(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function Xr(e){return!!(e&&e.__v_isShallow)}function Jr(e){return Fn(e)||gn(e)}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Qa(e){return Mr(e,"__v_skip",!0),e}const Ko=e=>de(e)?go(e):e,bi=e=>de(e)?mi(e):e;function eu(e){hn&&ct&&(e=ae(e),process.env.NODE_ENV!=="production"?vi(e.dep||(e.dep=jo()),{target:e,type:"get",key:"value"}):vi(e.dep||(e.dep=jo())))}function tu(e,t){e=ae(e);const n=e.dep;n&&(process.env.NODE_ENV!=="production"?vo(n,{target:e,type:"set",key:"value",newValue:t}):vo(n))}function Pe(e){return!!(e&&e.__v_isRef===!0)}function A(e){return nu(e,!1)}function kh(e){return nu(e,!0)}function nu(e,t){return Pe(e)?e:new Dh(e,t)}class Dh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ae(t),this._value=n?t:Ko(t)}get value(){return eu(this),this._value}set value(t){const n=this.__v_isShallow||Xr(t)||gn(t);t=n?t:ae(t),Ho(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ko(t),tu(this,t))}}function w(e){return Pe(e)?e.value:e}const Mh={get:(e,t,n)=>w(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Pe(r)&&!Pe(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ou(e){return Fn(e)?e:new Proxy(e,Mh)}function yi(e){process.env.NODE_ENV!=="production"&&!Jr(e)&&console.warn("toRefs() expects a reactive object but received a plain one.");const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=ru(e,n);return t}class Lh{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,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 lh(ae(this._object),this._key)}}class Fh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zt(e,t,n){return Pe(e)?e:oe(e)?new Fh(e):de(e)&&arguments.length>1?ru(e,t,n):A(e)}function ru(e,t,n){const o=e[t];return Pe(o)?o:new Lh(e,t,n)}class Vh{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new hi(t,()=>{this._dirty||(this._dirty=!0,tu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=ae(this);return eu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Bh(e,t,n=!1){let o,r;const s=oe(e);s?(o=e,r=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:Ue):(o=e.get,r=e.set);const i=new Vh(o,r,s||!r,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const Vn=[];function Zr(e){Vn.push(e)}function Qr(){Vn.pop()}function F(e,...t){if(process.env.NODE_ENV==="production")return;Mn();const n=Vn.length?Vn[Vn.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=Hh();if(o)tn(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${ms(n,s.type)}>`).join(`
2
2
  `),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
3
- `,...Gn(r)),console.warn(...s)}ct()}function qn(){let e=J[J.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Gn(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
4
- `],...Ln(n))}),t}function Ln({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Jt(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...Yn(e.props),s]:[r+s]}function Yn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Ot(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Ot(e,t,n){return R(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:x(t)?(t=Ot(e,p(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=p(t),n?t:[`${e}=`,t])}const St={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function q(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){xt(s,t,n)}return r}function He(e,t,n,o){if(E(e)){const s=q(e,t,n,o);return s&&en(s)&&s.catch(i=>{xt(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(He(e[s],t,n,o));return r}function xt(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,c=process.env.NODE_ENV!=="production"?St[n]:n;for(;s;){const a=s.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,c)===!1)return}s=s.parent}const u=t.appContext.config.errorHandler;if(u){q(u,null,10,[e,i,c]);return}}Qn(e,n,r,o)}function Qn(e,t,n,o=!0){if(process.env.NODE_ENV!=="production"){const r=St[t];if(n&&Bn(n),w(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Jn(),o)throw e;console.error(e)}else console.error(e)}let ge=!1,Ue=!1;const D=[];let A=0;const Y=[];let P=null,j=0;const Vt=Promise.resolve();let We=null;const Xn=100;function Zn(e){const t=We||Vt;return e?t.then(this?e.bind(this):e):t}function kn(e){let t=A+1,n=D.length;for(;t<n;){const o=t+n>>>1;te(D[o])<e?t=o+1:n=o}return t}function Be(e){(!D.length||!D.includes(e,ge&&e.allowRecurse?A+1:A))&&(e.id==null?D.push(e):D.splice(kn(e.id),0,e),vt())}function vt(){!ge&&!Ue&&(Ue=!0,We=Vt.then(yt))}function It(e){h(e)?Y.push(...e):(!P||!P.includes(e,e.allowRecurse?j+1:j))&&Y.push(e),vt()}function er(e){if(Y.length){const t=[...new Set(Y)];if(Y.length=0,P){P.push(...t);return}for(P=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),P.sort((n,o)=>te(n)-te(o)),j=0;j<P.length;j++)process.env.NODE_ENV!=="production"&&Rt(e,P[j])||P[j]();P=null,j=0}}const te=e=>e.id==null?1/0:e.id,tr=(e,t)=>{const n=te(e)-te(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yt(e){Ue=!1,ge=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),D.sort(tr);const t=process.env.NODE_ENV!=="production"?n=>Rt(e,n):Xe;try{for(A=0;A<D.length;A++){const n=D[A];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;q(n,null,14)}}}finally{A=0,D.length=0,er(e),ge=!1,We=null,(D.length||Y.length)&&yt(e)}}function Rt(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Xn){const o=t.ownerInstance,r=o&&Bt(o.type);return w(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}const ne=new Set;process.env.NODE_ENV!=="production"&&(ve().__VUE_HMR_RUNTIME__={createRecord:Je(nr),rerender:Je(rr),reload:Je(or)});const me=new Map;function nr(e,t){return me.has(e)?!1:(me.set(e,{initialDef:re(t),instances:new Set}),!0)}function re(e){return qt(e)?e.__vccOpts:e}function rr(e,t){const n=me.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,re(o.type).render=t),o.renderCache=[],o.update()}))}function or(e,t){const n=me.get(e);if(!n)return;t=re(t),Dt(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=re(r.type);ne.has(s)||(s!==n.initialDef&&Dt(s,t),ne.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(ne.add(s),r.ceReload(t.styles),ne.delete(s)):r.parent?Be(r.parent.update):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}It(()=>{for(const r of o)ne.delete(re(r.type))})}function Dt(e,t){I(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Je(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let z=null,sr=null;function Jr(){}const ir=e=>e.__isSuspense;function cr(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):It(e)}const Ee={};function lr(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=C){var c;process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&w('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&w('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const u=g=>{w("Invalid watch source: ",g,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},a=fn()===((c=X)==null?void 0:c.scope)?X:null;let d,l=!1,f=!1;if(x(e)?(d=()=>e.value,l=Ae(e)):W(e)?(d=()=>e,o=!0):h(e)?(f=!0,l=e.some(g=>W(g)||Ae(g)),d=()=>e.map(g=>{if(x(g))return g.value;if(W(g))return Q(g);if(E(g))return q(g,a,2);process.env.NODE_ENV!=="production"&&u(g)})):E(e)?t?d=()=>q(e,a,2):d=()=>{if(!(a&&a.isUnmounted))return _&&_(),He(e,a,3,[V])}:(d=Xe,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const g=d;d=()=>Q(g())}let _,V=g=>{_=y.onStop=()=>{q(g,a,4)}},v=f?new Array(e.length).fill(Ee):Ee;const G=()=>{if(y.active)if(t){const g=y.run();(o||l||(f?g.some((Ur,Wr)=>ce(Ur,v[Wr])):ce(g,v)))&&(_&&_(),He(t,a,3,[g,v===Ee?void 0:f&&v[0]===Ee?[]:v,V]),v=g)}else y.run()};G.allowRecurse=!!t;let Se;r==="sync"?Se=G:r==="post"?Se=()=>Mt(G,a&&a.suspense):(G.pre=!0,a&&(G.id=a.uid),Se=()=>Be(G));const y=new hn(d,Se);return process.env.NODE_ENV!=="production"&&(y.onTrack=s,y.onTrigger=i),t?n?G():v=y.run():r==="post"?Mt(y.run.bind(y),a&&a.suspense):y.run(),()=>{y.stop(),a&&a.scope&&Xt(a.scope.effects,y)}}function ur(e,t,n){const o=this.proxy,r=R(e)?e.includes(".")?ar(o,e):()=>o[e]:e.bind(o,o);let s;E(t)?s=t:(s=t.handler,n=t);const i=X;Wt(this);const c=lr(r,s.bind(o),n);return i?Wt(i):Tr(),c}function ar(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Q(e,t){if(!b(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),x(e))Q(e.value,t);else if(h(e))for(let n=0;n<e.length;n++)Q(e[n],t);else if(kt(e)||L(e))e.forEach(n=>{Q(n,t)});else if(nn(e))for(const n in e)Q(e[n],t);return e}const fr=Symbol.for("v-ndc"),qe=e=>e?Cr(e)?Pr(e)||e.proxy:qe(e.parent):null,oe=I(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?_e(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?_e(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?_e(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?_e(e.refs):e.refs,$parent:e=>qe(e.parent),$root:e=>qe(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=()=>Be(e.update)),$nextTick:e=>e.n||(e.n=Zn.bind(e.proxy)),$watch:e=>ur.bind(e)}),pr=e=>e==="_"||e==="$",Ge=(e,t)=>e!==C&&!e.__isScriptSetup&&m(e,t),dr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:u}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let a;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Ge(o,t))return i[t]=1,o[t];if(r!==C&&m(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&m(a,t))return i[t]=3,s[t];if(n!==C&&m(n,t))return i[t]=4,n[t];i[t]=0}}const d=oe[t];let l,f;if(d)return t==="$attrs"?(S(e,"get",t),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&S(e,"get",t),d(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==C&&m(n,t))return i[t]=4,n[t];if(f=u.config.globalProperties,m(f,t))return f[t];process.env.NODE_ENV!=="production"&&z&&(!R(t)||t.indexOf("__v")!==0)&&(r!==C&&pr(t[0])&&m(r,t)?w(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===z&&w(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Ge(r,t)?(r[t]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&m(r,t)?(w(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&m(o,t)?(o[t]=n,!0):m(e.props,t)?(process.env.NODE_ENV!=="production"&&w(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&w(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let c;return!!n[i]||e!==C&&m(e,i)||Ge(t,i)||(c=s[0])&&m(c,i)||m(o,i)||m(oe,i)||m(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:m(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(dr.ownKeys=e=>(w("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Tt(e){return h(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let u;return c?u=c:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(a=>we(u,a,i,!0)),we(u,t,i)),b(t)&&s.set(t,u),u}function we(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&we(e,s,n,!0),r&&r.forEach(i=>we(e,i,n,!0));for(const i in t)if(o&&i==="expose")process.env.NODE_ENV!=="production"&&w('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=_r[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const _r={data:Ct,props:$t,emits:$t,methods:se,computed:se,beforeCreate:N,created:N,beforeMount:N,mounted:N,beforeUpdate:N,updated:N,beforeDestroy:N,beforeUnmount:N,destroyed:N,unmounted:N,activated:N,deactivated:N,errorCaptured:N,serverPrefetch:N,components:se,directives:se,watch:mr,provide:Ct,inject:gr};function Ct(e,t){return t?e?function(){return I(E(e)?e.call(this,this):e,E(t)?t.call(this,this):t)}:t:e}function gr(e,t){return se(Pt(e),Pt(t))}function Pt(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function N(e,t){return e?[...new Set([].concat(e,t))]:t}function se(e,t){return e?I(Object.create(null),e,t):t}function $t(e,t){return e?h(e)&&h(t)?[...new Set([...e,...t])]:I(Object.create(null),Tt(e),Tt(t??{})):t}function mr(e,t){if(!e)return t;if(!t)return e;const n=I(Object.create(null),e);for(const o in t)n[o]=N(e[o],t[o]);return n}const Mt=cr,Er=e=>e.__isTeleport,Ft=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Nr=Symbol.for("v-cmt"),Ne=[];let T=null;function br(e=!1){Ne.push(T=e?null:[])}function Or(){Ne.pop(),T=Ne[Ne.length-1]||null}function Sr(e){return e.dynamicChildren=T||Lt,Or(),T&&T.push(e),e}function xr(e,t,n,o,r,s){return Sr(zt(e,t,n,o,r,s,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}const vr=(...e)=>Kt(...e),At="__vInternal",jt=({key:e})=>e??null,be=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?R(e)||x(e)||E(e)?{i:z,r:e,k:t,f:!!n}:e:null);function zt(e,t=null,n=null,o=0,r=null,s=e===Ft?0:1,i=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jt(t),ref:t&&be(t),scopeId:sr,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:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:z};return c?(Le(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=R(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&w("VNode created with invalid key (NaN). VNode type:",u.type),!i&&T&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&T.push(u),u}const Ir=process.env.NODE_ENV!=="production"?vr:Kt;function Kt(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===fr)&&(process.env.NODE_ENV!=="production"&&!e&&w(`Invalid vnode type when creating vnode: ${e}.`),e=Nr),Vr(e)){const c=Oe(e,t,!0);return n&&Le(c,n),!s&&T&&(c.shapeFlag&6?T[T.indexOf(e)]=c:T.push(c)),c.patchFlag|=-2,c}if(qt(e)&&(e=e.__vccOpts),t){t=yr(t);let{class:c,style:u}=t;c&&!R(c)&&(t.class=ye(c)),b(u)&&(je(u)&&!h(u)&&(u=I({},u)),t.style=Ie(u))}const i=R(e)?1:ir(e)?128:Er(e)?64:b(e)?4:E(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&je(e)&&(e=p(e),w("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
5
- Component that was made reactive: `,e)),zt(e,t,n,o,r,i,s,!0)}function yr(e){return e?je(e)||At in e?I({},e):e:null}function Oe(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Dr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&jt(c),ref:t&&t.ref?n&&r?h(r)?r.concat(be(t)):[r,be(t)]:be(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&h(i)?i.map(Ht):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ft?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oe(e.ssContent),ssFallback:e.ssFallback&&Oe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ht(e){const t=Oe(e);return h(e.children)&&(t.children=e.children.map(Ht)),t}function Rr(e=" ",t=0){return Ir(wr,null,e,t)}function Le(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(h(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Le(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(At in t)?t._ctx=z:r===3&&z&&(z.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else E(t)?(t={default:t,_ctx:z},n=32):(t=String(t),o&64?(n=16,t=[Rr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=ye([t.class,o.class]));else if(r==="style")t.style=Ie([t.style,o.style]);else if(Qt(r)){const s=t[r],i=o[r];i&&s!==i&&!(h(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}let X=null,Ye,Z,Ut="__VUE_INSTANCE_SETTERS__";(Z=ve()[Ut])||(Z=ve()[Ut]=[]),Z.push(e=>X=e),Ye=e=>{Z.length>1?Z.forEach(t=>t(e)):Z[0](e)};const Wt=e=>{Ye(e),e.scope.on()},Tr=()=>{X&&X.scope.off(),Ye(null)};function Cr(e){return e.vnode.shapeFlag&4}function Pr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wn(Kn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in oe)return oe[n](e)},has(t,n){return n in t||n in oe}}))}const $r=/(?:^|[-_])(\w)/g,Mr=e=>e.replace($r,t=>t.toUpperCase()).replace(/[-_]/g,"");function Bt(e,t=!0){return E(e)?e.displayName||e.name:e.name||t&&e.__name}function Jt(e,t,n=!1){let o=Bt(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?Mr(o):n?"App":"Anonymous"}function qt(e){return E(e)&&"__vccOpts"in e}function Qe(e){return!!(e&&e.__v_isShallow)}function Fr(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header(l){return b(l)?l.__isVue?["div",e,"VueInstance"]:x(l)?["div",{},["span",e,d(l)],"<",c(l.value),">"]:W(l)?["div",{},["span",e,Qe(l)?"ShallowReactive":"Reactive"],"<",c(l),`>${B(l)?" (readonly)":""}`]:B(l)?["div",{},["span",e,Qe(l)?"ShallowReadonly":"Readonly"],"<",c(l),">"]:null:null},hasBody(l){return l&&l.__isVue},body(l){if(l&&l.__isVue)return["div",{},...s(l.$)]}};function s(l){const f=[];l.type.props&&l.props&&f.push(i("props",p(l.props))),l.setupState!==C&&f.push(i("setup",l.setupState)),l.data!==C&&f.push(i("data",p(l.data)));const _=u(l,"computed");_&&f.push(i("computed",_));const V=u(l,"inject");return V&&f.push(i("injected",V)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:l}]]),f}function i(l,f){return f=I({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},l],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(_=>["div",{},["span",o,_+": "],c(f[_],!1)])]]:["span",{}]}function c(l,f=!0){return typeof l=="number"?["span",t,l]:typeof l=="string"?["span",n,JSON.stringify(l)]:typeof l=="boolean"?["span",o,l]:b(l)?["object",{object:f?p(l):l}]:["span",n,String(l)]}function u(l,f){const _=l.type;if(E(_))return;const V={};for(const v in l.ctx)a(_,v,f)&&(V[v]=l.ctx[v]);return V}function a(l,f,_){const V=l[_];if(h(V)&&V.includes(f)||b(V)&&f in V||l.extends&&a(l.extends,f,_)||l.mixins&&l.mixins.some(v=>a(v,f,_)))return!0}function d(l){return Qe(l)?"ShallowRef":l.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}function Ar(){Fr()}process.env.NODE_ENV!=="production"&&Ar();const jr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},zr={};function Kr(e,t){return br(),xr("button",null,"123456")}const Gt=jr(zr,[["render",Kr]]),Hr={install(e){e.component("StButton",Gt)}};K.StButton=Gt,K.default=Hr,Object.defineProperties(K,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
3
+ `,...jh(r)),console.warn(...s)}Ln()}function Hh(){let e=Vn[Vn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function jh(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
4
+ `],...Wh(n))}),t}function Wh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${ms(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...zh(e.props),s]:[r+s]}function zh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...su(o,e[o]))}),n.length>3&&t.push(" ..."),t}function su(e,t,n){return _e(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Pe(t)?(t=su(e,ae(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):oe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ae(t),n?t:[`${e}=`,t])}function Kh(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?F(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&F(`${t} is NaN - the duration expression might be incorrect.`))}const wi={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function tn(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){es(s,t,n)}return r}function xt(e,t,n,o){if(oe(e)){const s=tn(e,t,n,o);return s&&ui(s)&&s.catch(i=>{es(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(xt(e[s],t,n,o));return r}function es(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=process.env.NODE_ENV!=="production"?wi[n]:n;for(;s;){const u=s.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,l)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){tn(a,null,10,[e,i,l]);return}}Uh(e,n,r,o)}function Uh(e,t,n,o=!0){if(process.env.NODE_ENV!=="production"){const r=wi[t];if(n&&Zr(n),F(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Qr(),o)throw e;console.error(e)}else console.error(e)}let Uo=!1,Ei=!1;const at=[];let Kt=0;const mo=[];let Ut=null,mn=0;const iu=Promise.resolve();let _i=null;const qh=100;function ut(e){const t=_i||iu;return e?t.then(this?e.bind(this):e):t}function Gh(e){let t=Kt+1,n=at.length;for(;t<n;){const o=t+n>>>1;qo(at[o])<e?t=o+1:n=o}return t}function ts(e){(!at.length||!at.includes(e,Uo&&e.allowRecurse?Kt+1:Kt))&&(e.id==null?at.push(e):at.splice(Gh(e.id),0,e),lu())}function lu(){!Uo&&!Ei&&(Ei=!0,_i=iu.then(fu))}function Yh(e){const t=at.indexOf(e);t>Kt&&at.splice(t,1)}function au(e){G(e)?mo.push(...e):(!Ut||!Ut.includes(e,e.allowRecurse?mn+1:mn))&&mo.push(e),lu()}function uu(e,t=Uo?Kt+1:0){for(process.env.NODE_ENV!=="production"&&(e=e||new Map);t<at.length;t++){const n=at[t];if(n&&n.pre){if(process.env.NODE_ENV!=="production"&&Ci(e,n))continue;at.splice(t,1),t--,n()}}}function cu(e){if(mo.length){const t=[...new Set(mo)];if(mo.length=0,Ut){Ut.push(...t);return}for(Ut=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Ut.sort((n,o)=>qo(n)-qo(o)),mn=0;mn<Ut.length;mn++)process.env.NODE_ENV!=="production"&&Ci(e,Ut[mn])||Ut[mn]();Ut=null,mn=0}}const qo=e=>e.id==null?1/0:e.id,Xh=(e,t)=>{const n=qo(e)-qo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function fu(e){Ei=!1,Uo=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),at.sort(Xh);const t=process.env.NODE_ENV!=="production"?n=>Ci(e,n):Ue;try{for(Kt=0;Kt<at.length;Kt++){const n=at[Kt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;tn(n,null,14)}}}finally{Kt=0,at.length=0,cu(e),Uo=!1,_i=null,(at.length||mo.length)&&fu(e)}}function Ci(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>qh){const o=t.ownerInstance,r=o&&Ji(o.type);return F(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let bn=!1;const bo=new Set;process.env.NODE_ENV!=="production"&&(Lr().__VUE_HMR_RUNTIME__={createRecord:Oi(du),rerender:Oi(Qh),reload:Oi(ev)});const Bn=new Map;function Jh(e){const t=e.type.__hmrId;let n=Bn.get(t);n||(du(t,e.type),n=Bn.get(t)),n.instances.add(e)}function Zh(e){Bn.get(e.type.__hmrId).instances.delete(e)}function du(e,t){return Bn.has(e)?!1:(Bn.set(e,{initialDef:Go(t),instances:new Set}),!0)}function Go(e){return fc(e)?e.__vccOpts:e}function Qh(e,t){const n=Bn.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,Go(o.type).render=t),o.renderCache=[],bn=!0,o.update(),bn=!1}))}function ev(e,t){const n=Bn.get(e);if(!n)return;t=Go(t),pu(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=Go(r.type);bo.has(s)||(s!==n.initialDef&&pu(s,t),bo.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(bo.add(s),r.ceReload(t.styles),bo.delete(s)):r.parent?ts(r.parent.update):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}au(()=>{for(const r of o)bo.delete(Go(r.type))})}function pu(e,t){De(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Oi(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let qt,Yo=[],Ni=!1;function Xo(e,...t){qt?qt.emit(e,...t):Ni||Yo.push({event:e,args:t})}function hu(e,t){var n,o;qt=e,qt?(qt.enabled=!0,Yo.forEach(({event:r,args:s})=>qt.emit(r,...s)),Yo=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{hu(s,t)}),setTimeout(()=>{qt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ni=!0,Yo=[])},3e3)):(Ni=!0,Yo=[])}function tv(e,t){Xo("app:init",e,t,{Fragment:Ve,Text:Un,Comment:qe,Static:ps})}function nv(e){Xo("app:unmount",e)}const ov=xi("component:added"),vu=xi("component:updated"),rv=xi("component:removed"),sv=e=>{qt&&typeof qt.cleanupBuffer=="function"&&!qt.cleanupBuffer(e)&&rv(e)};function xi(e){return t=>{Xo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const iv=gu("perf:start"),lv=gu("perf:end");function gu(e){return(t,n,o)=>{Xo(e,t.appContext.app,t.uid,t,n,o)}}function av(e,t,n){Xo("component:emit",e.appContext.app,e,t,n)}function uv(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Ae;if(process.env.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[f]}=e;if(c)if(!(t in c))(!f||!(kn(t)in f))&&F(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${kn(t)}" prop.`);else{const d=c[t];oe(d)&&(d(...n)||F(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=o[c]||Ae;d&&(r=n.map(h=>_e(h)?h.trim():h)),f&&(r=n.map(zp))}if(process.env.NODE_ENV!=="production"&&av(e,t,r),process.env.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&o[kn(c)]&&F(`Event "${c}" is emitted in component ${ms(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${en(t)}" instead of "${t}".`)}let l,a=o[l=kn(t)]||o[l=kn(It(t))];!a&&s&&(a=o[l=kn(en(t))]),a&&xt(a,e,6,r);const u=o[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xt(u,e,6,r)}}function mu(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},l=!1;if(!oe(e)){const a=u=>{const c=mu(u,t,!0);c&&(l=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(de(e)&&o.set(e,null),null):(G(s)?s.forEach(a=>i[a]=null):De(i,s),de(e)&&o.set(e,i),i)}function ns(e,t){return!e||!Fo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,en(t))||ue(e,t))}let Je=null,bu=null;function os(e){const t=Je;return Je=e,bu=e&&e.type.__scopeId||null,t}function he(e,t=Je,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ec(-1);const s=os(t);let i;try{i=e(...r)}finally{os(s),o._d&&ec(1)}return process.env.NODE_ENV!=="production"&&vu(t),i};return o._n=!0,o._c=!0,o._d=!0,o}let Si=!1;function rs(){Si=!0}function Ti(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:a,emit:u,render:c,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e;let g,m;const _=os(e);process.env.NODE_ENV!=="production"&&(Si=!1);try{if(n.shapeFlag&4){const O=r||o;g=Lt(c.call(O,O,f,s,h,d,p)),m=a}else{const O=t;process.env.NODE_ENV!=="production"&&a===s&&rs(),g=Lt(O.length>1?O(s,process.env.NODE_ENV!=="production"?{get attrs(){return rs(),a},slots:l,emit:u}:{attrs:a,slots:l,emit:u}):O(s,null)),m=t.props?a:fv(a)}}catch(O){rr.length=0,es(O,e,1),g=we(qe)}let N=g,b;if(process.env.NODE_ENV!=="production"&&g.patchFlag>0&&g.patchFlag&2048&&([N,b]=cv(g)),m&&v!==!1){const O=Object.keys(m),{shapeFlag:S}=N;if(O.length){if(S&7)i&&O.some(Rr)&&(m=dv(m,i)),N=Dt(N,m);else if(process.env.NODE_ENV!=="production"&&!Si&&N.type!==qe){const E=Object.keys(a),x=[],R=[];for(let B=0,W=E.length;B<W;B++){const T=E[B];Fo(T)?Rr(T)||x.push(T[2].toLowerCase()+T.slice(3)):R.push(T)}R.length&&F(`Extraneous non-props attributes (${R.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),x.length&&F(`Extraneous non-emits event listeners (${x.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!wu(N)&&F("Runtime directive used on component with non-element root node. The directives will not function as intended."),N=Dt(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!wu(N)&&F("Component inside <Transition> renders non-element root node that cannot be animated."),N.transition=n.transition),process.env.NODE_ENV!=="production"&&b?b(N):g=N,os(_),g}const cv=e=>{const t=e.children,n=e.dynamicChildren,o=yu(t);if(!o)return[e,void 0];const r=t.indexOf(o),s=n?n.indexOf(o):-1,i=l=>{t[r]=l,n&&(s>-1?n[s]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Lt(o),i]};function yu(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(Eo(o)){if(o.type!==qe||o.children==="v-if"){if(t)return;t=o}}else return}return t}const fv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fo(n))&&((t||(t={}))[n]=e[n]);return t},dv=(e,t)=>{const n={};for(const o in e)(!Rr(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},wu=e=>e.shapeFlag&7||e.type===qe;function pv(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:a}=t,u=s.emitsOptions;if(process.env.NODE_ENV!=="production"&&(r||l)&&bn||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Eu(o,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==o[d]&&!ns(u,d))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===i?!1:o?i?Eu(o,i,u):!0:!!i;return!1}function Eu(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!ns(n,s))return!0}return!1}function hv({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const vv=e=>e.__isSuspense;function gv(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):au(e)}function Jo(e,t){return $i(e,null,t)}const ss={};function ve(e,t,n){return process.env.NODE_ENV!=="production"&&!oe(t)&&F("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),$i(e,t,n)}function $i(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=Ae){var l;process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&F('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&F('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=O=>{F("Invalid watch source: ",O,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=Ia()===((l=Ze)==null?void 0:l.scope)?Ze:null;let c,f=!1,d=!1;if(Pe(e)?(c=()=>e.value,f=Xr(e)):Fn(e)?(c=()=>e,o=!0):G(e)?(d=!0,f=e.some(O=>Fn(O)||Xr(O)),c=()=>e.map(O=>{if(Pe(O))return O.value;if(Fn(O))return Hn(O);if(oe(O))return tn(O,u,2);process.env.NODE_ENV!=="production"&&a(O)})):oe(e)?t?c=()=>tn(e,u,2):c=()=>{if(!(u&&u.isUnmounted))return h&&h(),xt(e,u,3,[p])}:(c=Ue,process.env.NODE_ENV!=="production"&&a(e)),t&&o){const O=c;c=()=>Hn(O())}let h,p=O=>{h=N.onStop=()=>{tn(O,u,4)}},v;if(ir)if(p=Ue,t?n&&xt(t,u,3,[c(),d?[]:void 0,p]):c(),r==="sync"){const O=wg();v=O.__watcherHandles||(O.__watcherHandles=[])}else return Ue;let g=d?new Array(e.length).fill(ss):ss;const m=()=>{if(N.active)if(t){const O=N.run();(o||f||(d?O.some((S,E)=>Ho(S,g[E])):Ho(O,g)))&&(h&&h(),xt(t,u,3,[O,g===ss?void 0:d&&g[0]===ss?[]:g,p]),g=O)}else N.run()};m.allowRecurse=!!t;let _;r==="sync"?_=m:r==="post"?_=()=>pt(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),_=()=>ts(m));const N=new hi(c,_);process.env.NODE_ENV!=="production"&&(N.onTrack=s,N.onTrigger=i),t?n?m():g=N.run():r==="post"?pt(N.run.bind(N),u&&u.suspense):N.run();const b=()=>{N.stop(),u&&u.scope&&ai(u.scope.effects,N)};return v&&v.push(b),b}function mv(e,t,n){const o=this.proxy,r=_e(e)?e.includes(".")?_u(o,e):()=>o[e]:e.bind(o,o);let s;oe(t)?s=t:(s=t.handler,n=t);const i=Ze;Co(this);const l=$i(r,s.bind(o),n);return i?Co(i):Gn(),l}function _u(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Hn(e,t){if(!de(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Pe(e))Hn(e.value,t);else if(G(e))for(let n=0;n<e.length;n++)Hn(e[n],t);else if(Ir(e)||Rn(e))e.forEach(n=>{Hn(n,t)});else if(Ta(e))for(const n in e)Hn(e[n],t);return e}function Cu(e){Hp(e)&&F("Do not use built-in directive ids as custom directive id: "+e)}function wt(e,t){const n=Je;if(n===null)return process.env.NODE_ENV!=="production"&&F("withDirectives can only be used inside render functions."),e;const o=gs(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,l,a,u=Ae]=t[s];i&&(oe(i)&&(i={mounted:i,updated:i}),i.deep&&Hn(l),r.push({dir:i,instance:o,value:l,oldValue:void 0,arg:a,modifiers:u}))}return e}function jn(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];s&&(l.oldValue=s[i].value);let a=l.dir[o];a&&(Mn(),xt(a,n,8,[e.el,l,e,t]),Ln())}}function bv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return et(()=>{e.isMounted=!0}),Et(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Ou={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:St,onEnter:St,onAfterEnter:St,onEnterCancelled:St,onBeforeLeave:St,onLeave:St,onAfterLeave:St,onLeaveCancelled:St,onBeforeAppear:St,onAppear:St,onAfterAppear:St,onAppearCancelled:St},yv={name:"BaseTransition",props:Ou,setup(e,{slots:t}){const n=Le(),o=bv();let r;return()=>{const s=t.default&&Su(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){let v=!1;for(const g of s)if(g.type!==qe){if(process.env.NODE_ENV!=="production"&&v){F("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(i=g,v=!0,process.env.NODE_ENV==="production")break}}const l=ae(e),{mode:a}=l;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&F(`invalid <transition> mode: ${a}`),o.isLeaving)return Pi(i);const u=xu(i);if(!u)return Pi(i);const c=Ai(u,l,o,n);Ri(u,c);const f=n.subTree,d=f&&xu(f);let h=!1;const{getTransitionKey:p}=u.type;if(p){const v=p();r===void 0?r=v:v!==r&&(r=v,h=!0)}if(d&&d.type!==qe&&(!qn(u,d)||h)){const v=Ai(d,l,o,n);if(Ri(d,v),a==="out-in")return o.isLeaving=!0,v.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},Pi(i);a==="in-out"&&u.type!==qe&&(v.delayLeave=(g,m,_)=>{const N=Nu(o,d);N[String(d.key)]=d,g._leaveCb=()=>{m(),g._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=_})}return i}}};function Nu(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ai(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:g,onAfterAppear:m,onAppearCancelled:_}=t,N=String(e.key),b=Nu(n,e),O=(x,R)=>{x&&xt(x,o,9,R)},S=(x,R)=>{const B=R[1];O(x,R),G(x)?x.every(W=>W.length<=1)&&B():x.length<=1&&B()},E={mode:s,persisted:i,beforeEnter(x){let R=l;if(!n.isMounted)if(r)R=v||l;else return;x._leaveCb&&x._leaveCb(!0);const B=b[N];B&&qn(e,B)&&B.el._leaveCb&&B.el._leaveCb(),O(R,[x])},enter(x){let R=a,B=u,W=c;if(!n.isMounted)if(r)R=g||a,B=m||u,W=_||c;else return;let T=!1;const q=x._enterCb=ne=>{T||(T=!0,ne?O(W,[x]):O(B,[x]),E.delayedLeave&&E.delayedLeave(),x._enterCb=void 0)};R?S(R,[x,q]):q()},leave(x,R){const B=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return R();O(f,[x]);let W=!1;const T=x._leaveCb=q=>{W||(W=!0,R(),q?O(p,[x]):O(h,[x]),x._leaveCb=void 0,b[B]===e&&delete b[B])};b[B]=e,d?S(d,[x,T]):T()},clone(x){return Ai(x,t,n,o)}};return E}function Pi(e){if(Qo(e))return e=Dt(e),e.children=null,e}function xu(e){return Qo(e)?e.children?e.children[0]:void 0:e}function Ri(e,t){e.shapeFlag&6&&e.component?Ri(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 Su(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ve?(i.patchFlag&128&&r++,o=o.concat(Su(i.children,t,l))):(t||i.type!==qe)&&o.push(l!=null?Dt(i,{key:l}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function ie(e,t){return oe(e)?(()=>De({name:e.name},t,{setup:e}))():e}const Zo=e=>!!e.type.__asyncLoader,Qo=e=>e.type.__isKeepAlive;function wv(e,t){$u(e,"a",t)}function Tu(e,t){$u(e,"da",t)}function $u(e,t,n=Ze){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(is(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Qo(r.parent.vnode)&&Ev(o,t,n,r),r=r.parent}}function Ev(e,t,n,o){const r=is(t,e,o,!0);yo(()=>{ai(o[t],r)},n)}function is(e,t,n=Ze,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Mn(),Co(n);const l=xt(t,n,e,i);return Gn(),Ln(),l});return o?r.unshift(s):r.push(s),s}else if(process.env.NODE_ENV!=="production"){const r=kn(wi[e].replace(/ hook$/,""));F(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const nn=e=>(t,n=Ze)=>(!ir||e==="sp")&&is(e,(...o)=>t(...o),n),ls=nn("bm"),et=nn("m"),_v=nn("bu"),Ii=nn("u"),Et=nn("bum"),yo=nn("um"),Cv=nn("sp"),Ov=nn("rtg"),Nv=nn("rtc");function xv(e,t=Ze){is("ec",e,t)}const as="components",Sv="directives";function Tt(e,t){return ki(as,e,!0,t)||e}const Au=Symbol.for("v-ndc");function Wn(e){return _e(e)?ki(as,e,!1)||e:e||Au}function Pu(e){return ki(Sv,e)}function ki(e,t,n=!0,o=!1){const r=Je||Ze;if(r){const s=r.type;if(e===as){const l=Ji(s,!1);if(l&&(l===t||l===It(t)||l===In(It(t))))return s}const i=Ru(r[e]||s[e],t)||Ru(r.appContext[e],t);if(!i&&o)return s;if(process.env.NODE_ENV!=="production"&&n&&!i){const l=e===as?`
5
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";F(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return i}else process.env.NODE_ENV!=="production"&&F(`resolve${In(e.slice(0,-1))} can only be used in render() or setup().`)}function Ru(e,t){return e&&(e[t]||e[It(t)]||e[In(It(t))])}function er(e,t,n,o){let r;const s=n&&n[o];if(G(e)||_e(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&F(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s&&s[i])}else if(de(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,s&&s[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const u=i[l];r[l]=t(e[u],u,l,s&&s[l])}}else r=[];return n&&(n[o]=r),r}function Tv(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(G(o))for(let r=0;r<o.length;r++)e[o[r].name]=o[r].fn;else o&&(e[o.name]=o.key?(...r)=>{const s=o.fn(...r);return s&&(s.key=o.key),s}:o.fn)}return e}function Me(e,t,n={},o,r){if(Je.isCE||Je.parent&&Zo(Je.parent)&&Je.parent.isCE)return t!=="default"&&(n.name=t),we("slot",n,o&&o());let s=e[t];process.env.NODE_ENV!=="production"&&s&&s.length>1&&(F("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),K();const i=s&&Iu(s(n)),l=Oe(Ve,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Iu(e){return e.some(t=>Eo(t)?!(t.type===qe||t.type===Ve&&!Iu(t.children)):!0)?e:null}const Di=e=>e?ic(e)?gs(e)||e.proxy:Di(e.parent):null,zn=De(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?zo(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?zo(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?zo(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?zo(e.refs):e.refs,$parent:e=>Di(e.parent),$root:e=>Di(e.root),$emit:e=>e.emit,$options:e=>Bi(e),$forceUpdate:e=>e.f||(e.f=()=>ts(e.update)),$nextTick:e=>e.n||(e.n=ut.bind(e.proxy)),$watch:e=>mv.bind(e)}),Mi=e=>e==="_"||e==="$",Li=(e,t)=>e!==Ae&&!e.__isScriptSetup&&ue(e,t),ku={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Li(o,t))return i[t]=1,o[t];if(r!==Ae&&ue(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&ue(u,t))return i[t]=3,s[t];if(n!==Ae&&ue(n,t))return i[t]=4,n[t];Vi&&(i[t]=0)}}const c=zn[t];let f,d;if(c)return t==="$attrs"?(ot(e,"get",t),process.env.NODE_ENV!=="production"&&rs()):process.env.NODE_ENV!=="production"&&t==="$slots"&&ot(e,"get",t),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Ae&&ue(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ue(d,t))return d[t];process.env.NODE_ENV!=="production"&&Je&&(!_e(t)||t.indexOf("__v")!==0)&&(r!==Ae&&Mi(t[0])&&ue(r,t)?F(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Je&&F(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Li(r,t)?(r[t]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&ue(r,t)?(F(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==Ae&&ue(o,t)?(o[t]=n,!0):ue(e.props,t)?(process.env.NODE_ENV!=="production"&&F(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&F(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==Ae&&ue(e,i)||Li(t,i)||(l=s[0])&&ue(l,i)||ue(o,i)||ue(zn,i)||ue(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(ku.ownKeys=e=>(F("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function $v(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(zn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>zn[n](e),set:Ue})}),t}function Av(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:Ue})})}function Pv(e){const{ctx:t,setupState:n}=e;Object.keys(ae(n)).forEach(o=>{if(!n.__isScriptSetup){if(Mi(o[0])){F(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:Ue})}})}function Fi(){return Rv().slots}function Rv(){const e=Le();return process.env.NODE_ENV!=="production"&&!e&&F("useContext() called without active instance."),e.setupContext||(e.setupContext=cc(e))}function Du(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Iv(){const e=Object.create(null);return(t,n)=>{e[n]?F(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let Vi=!0;function kv(e){const t=Bi(e),n=e.proxy,o=e.ctx;Vi=!1,t.beforeCreate&&Mu(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:_,destroyed:N,unmounted:b,render:O,renderTracked:S,renderTriggered:E,errorCaptured:x,serverPrefetch:R,expose:B,inheritAttrs:W,components:T,directives:q,filters:ne}=t,le=process.env.NODE_ENV!=="production"?Iv():null;if(process.env.NODE_ENV!=="production"){const[L]=e.propsOptions;if(L)for(const Y in L)le("Props",Y)}if(u&&Dv(u,o,le),i)for(const L in i){const Y=i[L];oe(Y)?(process.env.NODE_ENV!=="production"?Object.defineProperty(o,L,{value:Y.bind(n),configurable:!0,enumerable:!0,writable:!0}):o[L]=Y.bind(n),process.env.NODE_ENV!=="production"&&le("Methods",L)):process.env.NODE_ENV!=="production"&&F(`Method "${L}" has type "${typeof Y}" in the component definition. Did you reference the function correctly?`)}if(r){process.env.NODE_ENV!=="production"&&!oe(r)&&F("The data option must be a function. Plain object usage is no longer supported.");const L=r.call(n,n);if(process.env.NODE_ENV!=="production"&&ui(L)&&F("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!de(L))process.env.NODE_ENV!=="production"&&F("data() should return an object.");else if(e.data=go(L),process.env.NODE_ENV!=="production")for(const Y in L)le("Data",Y),Mi(Y[0])||Object.defineProperty(o,Y,{configurable:!0,enumerable:!0,get:()=>L[Y],set:Ue})}if(Vi=!0,s)for(const L in s){const Y=s[L],I=oe(Y)?Y.bind(n,n):oe(Y.get)?Y.get.bind(n,n):Ue;process.env.NODE_ENV!=="production"&&I===Ue&&F(`Computed property "${L}" has no getter.`);const J=!oe(Y)&&oe(Y.set)?Y.set.bind(n):process.env.NODE_ENV!=="production"?()=>{F(`Write operation failed: computed property "${L}" is readonly.`)}:Ue,pe=P({get:I,set:J});Object.defineProperty(o,L,{enumerable:!0,configurable:!0,get:()=>pe.value,set:Ee=>pe.value=Ee}),process.env.NODE_ENV!=="production"&&le("Computed",L)}if(l)for(const L in l)Lu(l[L],o,n,L);if(a){const L=oe(a)?a.call(n):a;Reflect.ownKeys(L).forEach(Y=>{dt(Y,L[Y])})}c&&Mu(c,e,"c");function ee(L,Y){G(Y)?Y.forEach(I=>L(I.bind(n))):Y&&L(Y.bind(n))}if(ee(ls,f),ee(et,d),ee(_v,h),ee(Ii,p),ee(wv,v),ee(Tu,g),ee(xv,x),ee(Nv,S),ee(Ov,E),ee(Et,_),ee(yo,b),ee(Cv,R),G(B))if(B.length){const L=e.exposed||(e.exposed={});B.forEach(Y=>{Object.defineProperty(L,Y,{get:()=>n[Y],set:I=>n[Y]=I})})}else e.exposed||(e.exposed={});O&&e.render===Ue&&(e.render=O),W!=null&&(e.inheritAttrs=W),T&&(e.components=T),q&&(e.directives=q)}function Dv(e,t,n=Ue){G(e)&&(e=Hi(e));for(const o in e){const r=e[o];let s;de(r)?"default"in r?s=ye(r.from||o,r.default,!0):s=ye(r.from||o):s=ye(r),Pe(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s,process.env.NODE_ENV!=="production"&&n("Inject",o)}}function Mu(e,t,n){xt(G(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lu(e,t,n,o){const r=o.includes(".")?_u(n,o):()=>n[o];if(_e(e)){const s=t[e];oe(s)?ve(r,s):process.env.NODE_ENV!=="production"&&F(`Invalid watch handler specified by key "${e}"`,s)}else if(oe(e))ve(r,e.bind(n));else if(de(e))if(G(e))e.forEach(s=>Lu(s,t,n,o));else{const s=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(s)?ve(r,s,e):process.env.NODE_ENV!=="production"&&F(`Invalid watch handler specified by key "${e.handler}"`,s)}else process.env.NODE_ENV!=="production"&&F(`Invalid watch option: "${o}"`,e)}function Bi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!r.length&&!n&&!o?a=t:(a={},r.length&&r.forEach(u=>us(a,u,i,!0)),us(a,t,i)),de(t)&&s.set(t,a),a}function us(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&us(e,s,n,!0),r&&r.forEach(i=>us(e,i,n,!0));for(const i in t)if(o&&i==="expose")process.env.NODE_ENV!=="production"&&F('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Mv[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Mv={data:Fu,props:Vu,emits:Vu,methods:tr,computed:tr,beforeCreate:ft,created:ft,beforeMount:ft,mounted:ft,beforeUpdate:ft,updated:ft,beforeDestroy:ft,beforeUnmount:ft,destroyed:ft,unmounted:ft,activated:ft,deactivated:ft,errorCaptured:ft,serverPrefetch:ft,components:tr,directives:tr,watch:Fv,provide:Fu,inject:Lv};function Fu(e,t){return t?e?function(){return De(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function Lv(e,t){return tr(Hi(e),Hi(t))}function Hi(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ft(e,t){return e?[...new Set([].concat(e,t))]:t}function tr(e,t){return e?De(Object.create(null),e,t):t}function Vu(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:De(Object.create(null),Du(e),Du(t??{})):t}function Fv(e,t){if(!e)return t;if(!t)return e;const n=De(Object.create(null),e);for(const o in t)n[o]=ft(e[o],t[o]);return n}function Bu(){return{app:null,config:{isNativeTag:Na,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 Vv=0;function Bv(e,t){return function(o,r=null){oe(o)||(o=De({},o)),r!=null&&!de(r)&&(process.env.NODE_ENV!=="production"&&F("root props passed to app.mount() must be an object."),r=null);const s=Bu();process.env.NODE_ENV!=="production"&&Object.defineProperty(s.config,"unwrapInjectedRef",{get(){return!0},set(){F("app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API.")}});const i=new Set;let l=!1;const a=s.app={_uid:Vv++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:dc,get config(){return s.config},set config(u){process.env.NODE_ENV!=="production"&&F("app.config cannot be replaced. Modify individual options instead.")},use(u,...c){return i.has(u)?process.env.NODE_ENV!=="production"&&F("Plugin has already been applied to target app."):u&&oe(u.install)?(i.add(u),u.install(a,...c)):oe(u)?(i.add(u),u(a,...c)):process.env.NODE_ENV!=="production"&&F('A plugin must either be a function or an object with an "install" function.'),a},mixin(u){return s.mixins.includes(u)?process.env.NODE_ENV!=="production"&&F("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):s.mixins.push(u),a},component(u,c){return process.env.NODE_ENV!=="production"&&Yi(u,s.config),c?(process.env.NODE_ENV!=="production"&&s.components[u]&&F(`Component "${u}" has already been registered in target app.`),s.components[u]=c,a):s.components[u]},directive(u,c){return process.env.NODE_ENV!=="production"&&Cu(u),c?(process.env.NODE_ENV!=="production"&&s.directives[u]&&F(`Directive "${u}" has already been registered in target app.`),s.directives[u]=c,a):s.directives[u]},mount(u,c,f){if(l)process.env.NODE_ENV!=="production"&&F("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&F("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const d=we(o,r);return d.appContext=s,process.env.NODE_ENV!=="production"&&(s.reload=()=>{e(Dt(d),u,f)}),c&&t?t(d,u):e(d,u,f),l=!0,a._container=u,u.__vue_app__=a,process.env.NODE_ENV!=="production"&&(a._instance=d.component,tv(a,dc)),gs(d.component)||d.component.proxy}},unmount(){l?(e(null,a._container),process.env.NODE_ENV!=="production"&&(a._instance=null,nv(a)),delete a._container.__vue_app__):process.env.NODE_ENV!=="production"&&F("Cannot unmount an app that is not mounted.")},provide(u,c){return process.env.NODE_ENV!=="production"&&u in s.provides&&F(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),s.provides[u]=c,a},runWithContext(u){cs=a;try{return u()}finally{cs=null}}};return a}}let cs=null;function dt(e,t){if(!Ze)process.env.NODE_ENV!=="production"&&F("provide() can only be used inside setup().");else{let n=Ze.provides;const o=Ze.parent&&Ze.parent.provides;o===n&&(n=Ze.provides=Object.create(o)),n[e]=t}}function ye(e,t,n=!1){const o=Ze||Je;if(o||cs){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:cs._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&oe(t)?t.call(o&&o.proxy):t;process.env.NODE_ENV!=="production"&&F(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&F("inject() can only be used inside setup() or functional components.")}function Hv(e,t,n,o=!1){const r={},s={};Mr(s,hs,1),e.propsDefaults=Object.create(null),Hu(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);process.env.NODE_ENV!=="production"&&Uu(t||{},r,e),n?e.props=o?r:Ih(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function jv(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Wv(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=ae(r),[a]=e.propsOptions;let u=!1;if(!(process.env.NODE_ENV!=="production"&&jv(e))&&(o||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(ns(e.emitsOptions,d))continue;const h=t[d];if(a)if(ue(s,d))h!==s[d]&&(s[d]=h,u=!0);else{const p=It(d);r[p]=ji(a,l,p,h,e,!1)}else h!==s[d]&&(s[d]=h,u=!0)}}}else{Hu(e,t,r,s)&&(u=!0);let c;for(const f in l)(!t||!ue(t,f)&&((c=en(f))===f||!ue(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=ji(a,l,f,void 0,e,!0)):delete r[f]);if(s!==l)for(const f in s)(!t||!ue(t,f))&&(delete s[f],u=!0)}u&&Wt(e,"set","$attrs"),process.env.NODE_ENV!=="production"&&Uu(t||{},r,e)}function Hu(e,t,n,o){const[r,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(kr(a))continue;const u=t[a];let c;r&&ue(r,c=It(a))?!s||!s.includes(c)?n[c]=u:(l||(l={}))[c]=u:ns(e.emitsOptions,a)||(!(a in o)||u!==o[a])&&(o[a]=u,i=!0)}if(s){const a=ae(n),u=l||Ae;for(let c=0;c<s.length;c++){const f=s[c];n[f]=ji(r,a,f,u[f],e,!ue(u,f))}}return i}function ji(e,t,n,o,r,s){const i=e[n];if(i!=null){const l=ue(i,"default");if(l&&o===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&oe(a)){const{propsDefaults:u}=r;n in u?o=u[n]:(Co(r),o=u[n]=a.call(null,t),Gn())}else o=a}i[0]&&(s&&!l?o=!1:i[1]&&(o===""||o===en(n))&&(o=!0))}return o}function ju(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},l=[];let a=!1;if(!oe(e)){const c=f=>{a=!0;const[d,h]=ju(f,t,!0);De(i,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!a)return de(e)&&o.set(e,po),po;if(G(s))for(let c=0;c<s.length;c++){process.env.NODE_ENV!=="production"&&!_e(s[c])&&F("props must be strings when using array syntax.",s[c]);const f=It(s[c]);Wu(f)&&(i[f]=Ae)}else if(s){process.env.NODE_ENV!=="production"&&!de(s)&&F("invalid props options",s);for(const c in s){const f=It(c);if(Wu(f)){const d=s[c],h=i[f]=G(d)||oe(d)?{type:d}:De({},d);if(h){const p=Ku(Boolean,h.type),v=Ku(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||ue(h,"default"))&&l.push(f)}}}}const u=[i,l];return de(e)&&o.set(e,u),u}function Wu(e){return e[0]!=="$"?!0:(process.env.NODE_ENV!=="production"&&F(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Wi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zu(e,t){return Wi(e)===Wi(t)}function Ku(e,t){return G(t)?t.findIndex(n=>zu(n,e)):oe(t)&&zu(t,e)?0:-1}function Uu(e,t,n){const o=ae(t),r=n.propsOptions[0];for(const s in r){let i=r[s];i!=null&&zv(s,o[s],i,!ue(e,s)&&!ue(e,en(s)))}}function zv(e,t,n,o){const{type:r,required:s,validator:i,skipCheck:l}=n;if(s&&o){F('Missing required prop: "'+e+'"');return}if(!(t==null&&!s)){if(r!=null&&r!==!0&&!l){let a=!1;const u=G(r)?r:[r],c=[];for(let f=0;f<u.length&&!a;f++){const{valid:d,expectedType:h}=Uv(t,u[f]);c.push(h||""),a=d}if(!a){F(qv(e,t,c));return}}i&&!i(t)&&F('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Kv=Nt("String,Number,Boolean,Function,Symbol,BigInt");function Uv(e,t){let n;const o=Wi(t);if(Kv(o)){const r=typeof e;n=r===o.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else o==="Object"?n=de(e):o==="Array"?n=G(e):o==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:o}}function qv(e,t,n){let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(In).join(" | ")}`;const r=n[0],s=ci(t),i=qu(t,r),l=qu(t,s);return n.length===1&&Gu(r)&&!Gv(r,s)&&(o+=` with value ${i}`),o+=`, got ${s} `,Gu(s)&&(o+=`with value ${l}.`),o}function qu(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Gu(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Gv(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Yu=e=>e[0]==="_"||e==="$stable",zi=e=>G(e)?e.map(Lt):[Lt(e)],Yv=(e,t,n)=>{if(t._n)return t;const o=he((...r)=>(process.env.NODE_ENV!=="production"&&Ze&&F(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),zi(t(...r))),n);return o._c=!1,o},Xu=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Yu(r))continue;const s=e[r];if(oe(s))t[r]=Yv(r,s,o);else if(s!=null){process.env.NODE_ENV!=="production"&&F(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const i=zi(s);t[r]=()=>i}}},Ju=(e,t)=>{process.env.NODE_ENV!=="production"&&!Qo(e.vnode)&&F("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=zi(t);e.slots.default=()=>n},Xv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ae(t),Mr(t,"_",n)):Xu(t,e.slots={})}else e.slots={},t&&Ju(e,t);Mr(e.slots,hs,1)},Jv=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=Ae;if(o.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&bn?(De(r,t),Wt(e,"set","$slots")):n&&l===1?s=!1:(De(r,t),!n&&l===1&&delete r._):(s=!t.$stable,Xu(t,r)),i=t}else t&&(Ju(e,t),i={default:1});if(s)for(const l in r)!Yu(l)&&!(l in i)&&delete r[l]};function Ki(e,t,n,o,r=!1){if(G(e)){e.forEach((d,h)=>Ki(d,t&&(G(t)?t[h]:t),n,o,r));return}if(Zo(o)&&!r)return;const s=o.shapeFlag&4?gs(o.component)||o.component.proxy:o.el,i=r?null:s,{i:l,r:a}=e;if(process.env.NODE_ENV!=="production"&&!l){F("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=l.refs===Ae?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==a&&(_e(u)?(c[u]=null,ue(f,u)&&(f[u]=null)):Pe(u)&&(u.value=null)),oe(a))tn(a,l,12,[i,c]);else{const d=_e(a),h=Pe(a);if(d||h){const p=()=>{if(e.f){const v=d?ue(f,a)?f[a]:c[a]:a.value;r?G(v)&&ai(v,s):G(v)?v.includes(s)||v.push(s):d?(c[a]=[s],ue(f,a)&&(f[a]=c[a])):(a.value=[s],e.k&&(c[e.k]=a.value))}else d?(c[a]=i,ue(f,a)&&(f[a]=i)):h?(a.value=i,e.k&&(c[e.k]=i)):process.env.NODE_ENV!=="production"&&F("Invalid template ref type:",a,`(${typeof a})`)};i?(p.id=-1,pt(p,n)):p()}else process.env.NODE_ENV!=="production"&&F("Invalid template ref type:",a,`(${typeof a})`)}}let nr,yn;function on(e,t){e.appContext.config.performance&&fs()&&yn.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&iv(e,t,fs()?yn.now():Date.now())}function rn(e,t){if(e.appContext.config.performance&&fs()){const n=`vue-${t}-${e.uid}`,o=n+":end";yn.mark(o),yn.measure(`<${ms(e,e.type)}> ${t}`,n,o),yn.clearMarks(n),yn.clearMarks(o)}process.env.NODE_ENV!=="production"&&lv(e,t,fs()?yn.now():Date.now())}function fs(){return nr!==void 0||(typeof window<"u"&&window.performance?(nr=!0,yn=window.performance):nr=!1),nr}function Zv(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
6
+
7
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const pt=gv;function Qv(e){return eg(e)}function eg(e,t){Zv();const n=Lr();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&hu(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:s,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Ue,insertStaticContent:p}=e,v=(y,C,$,D=null,k=null,H=null,z=!1,V=null,j=process.env.NODE_ENV!=="production"&&bn?!1:!!C.dynamicChildren)=>{if(y===C)return;y&&!qn(y,C)&&(D=Fe(y),Ne(y,k,H,!0),y=null),C.patchFlag===-2&&(j=!1,C.dynamicChildren=null);const{type:M,ref:Z,shapeFlag:X}=C;switch(M){case Un:g(y,C,$,D);break;case qe:m(y,C,$,D);break;case ps:y==null?_(C,$,D,z):process.env.NODE_ENV!=="production"&&N(y,C,$,z);break;case Ve:q(y,C,$,D,k,H,z,V,j);break;default:X&1?S(y,C,$,D,k,H,z,V,j):X&6?ne(y,C,$,D,k,H,z,V,j):X&64||X&128?M.process(y,C,$,D,k,H,z,V,j,Xe):process.env.NODE_ENV!=="production"&&F("Invalid VNode type:",M,`(${typeof M})`)}Z!=null&&k&&Ki(Z,y&&y.ref,H,C||y,!C)},g=(y,C,$,D)=>{if(y==null)o(C.el=l(C.children),$,D);else{const k=C.el=y.el;C.children!==y.children&&u(k,C.children)}},m=(y,C,$,D)=>{y==null?o(C.el=a(C.children||""),$,D):C.el=y.el},_=(y,C,$,D)=>{[y.el,y.anchor]=p(y.children,C,$,D,y.el,y.anchor)},N=(y,C,$,D)=>{if(C.children!==y.children){const k=d(y.anchor);O(y),[C.el,C.anchor]=p(C.children,$,k,D)}else C.el=y.el,C.anchor=y.anchor},b=({el:y,anchor:C},$,D)=>{let k;for(;y&&y!==C;)k=d(y),o(y,$,D),y=k;o(C,$,D)},O=({el:y,anchor:C})=>{let $;for(;y&&y!==C;)$=d(y),r(y),y=$;r(C)},S=(y,C,$,D,k,H,z,V,j)=>{z=z||C.type==="svg",y==null?E(C,$,D,k,H,z,V,j):B(y,C,k,H,z,V,j)},E=(y,C,$,D,k,H,z,V)=>{let j,M;const{type:Z,props:X,shapeFlag:Q,transition:se,dirs:ge}=y;if(j=y.el=i(y.type,H,X&&X.is,X),Q&8?c(j,y.children):Q&16&&R(y.children,j,null,D,k,H&&Z!=="foreignObject",z,V),ge&&jn(y,null,D,"created"),x(j,y,y.scopeId,z,D),X){for(const $e in X)$e!=="value"&&!kr($e)&&s(j,$e,null,X[$e],H,y.children,D,k,je);"value"in X&&s(j,"value",null,X.value),(M=X.onVnodeBeforeMount)&&Gt(M,D,y)}process.env.NODE_ENV!=="production"&&(Object.defineProperty(j,"__vnode",{value:y,enumerable:!1}),Object.defineProperty(j,"__vueParentComponent",{value:D,enumerable:!1})),ge&&jn(y,null,D,"beforeMount");const Te=(!k||k&&!k.pendingBranch)&&se&&!se.persisted;Te&&se.beforeEnter(j),o(j,C,$),((M=X&&X.onVnodeMounted)||Te||ge)&&pt(()=>{M&&Gt(M,D,y),Te&&se.enter(j),ge&&jn(y,null,D,"mounted")},k)},x=(y,C,$,D,k)=>{if($&&h(y,$),D)for(let H=0;H<D.length;H++)h(y,D[H]);if(k){let H=k.subTree;if(process.env.NODE_ENV!=="production"&&H.patchFlag>0&&H.patchFlag&2048&&(H=yu(H.children)||H),C===H){const z=k.vnode;x(y,z,z.scopeId,z.slotScopeIds,k.parent)}}},R=(y,C,$,D,k,H,z,V,j=0)=>{for(let M=j;M<y.length;M++){const Z=y[M]=V?wn(y[M]):Lt(y[M]);v(null,Z,C,$,D,k,H,z,V)}},B=(y,C,$,D,k,H,z)=>{const V=C.el=y.el;let{patchFlag:j,dynamicChildren:M,dirs:Z}=C;j|=y.patchFlag&16;const X=y.props||Ae,Q=C.props||Ae;let se;$&&Kn($,!1),(se=Q.onVnodeBeforeUpdate)&&Gt(se,$,C,y),Z&&jn(C,y,$,"beforeUpdate"),$&&Kn($,!0),process.env.NODE_ENV!=="production"&&bn&&(j=0,z=!1,M=null);const ge=k&&C.type!=="foreignObject";if(M?(W(y.dynamicChildren,M,V,$,D,ge,H),process.env.NODE_ENV!=="production"&&or(y,C)):z||I(y,C,V,null,$,D,ge,H,!1),j>0){if(j&16)T(V,C,X,Q,$,D,k);else if(j&2&&X.class!==Q.class&&s(V,"class",null,Q.class,k),j&4&&s(V,"style",X.style,Q.style,k),j&8){const Te=C.dynamicProps;for(let $e=0;$e<Te.length;$e++){const U=Te[$e],te=X[U],me=Q[U];(me!==te||U==="value")&&s(V,U,te,me,k,y.children,$,D,je)}}j&1&&y.children!==C.children&&c(V,C.children)}else!z&&M==null&&T(V,C,X,Q,$,D,k);((se=Q.onVnodeUpdated)||Z)&&pt(()=>{se&&Gt(se,$,C,y),Z&&jn(C,y,$,"updated")},D)},W=(y,C,$,D,k,H,z)=>{for(let V=0;V<C.length;V++){const j=y[V],M=C[V],Z=j.el&&(j.type===Ve||!qn(j,M)||j.shapeFlag&70)?f(j.el):$;v(j,M,Z,null,D,k,H,z,!0)}},T=(y,C,$,D,k,H,z)=>{if($!==D){if($!==Ae)for(const V in $)!kr(V)&&!(V in D)&&s(y,V,$[V],null,z,C.children,k,H,je);for(const V in D){if(kr(V))continue;const j=D[V],M=$[V];j!==M&&V!=="value"&&s(y,V,M,j,z,C.children,k,H,je)}"value"in D&&s(y,"value",$.value,D.value)}},q=(y,C,$,D,k,H,z,V,j)=>{const M=C.el=y?y.el:l(""),Z=C.anchor=y?y.anchor:l("");let{patchFlag:X,dynamicChildren:Q,slotScopeIds:se}=C;process.env.NODE_ENV!=="production"&&(bn||X&2048)&&(X=0,j=!1,Q=null),se&&(V=V?V.concat(se):se),y==null?(o(M,$,D),o(Z,$,D),R(C.children,$,Z,k,H,z,V,j)):X>0&&X&64&&Q&&y.dynamicChildren?(W(y.dynamicChildren,Q,$,k,H,z,V),process.env.NODE_ENV!=="production"?or(y,C):(C.key!=null||k&&C===k.subTree)&&or(y,C,!0)):I(y,C,$,Z,k,H,z,V,j)},ne=(y,C,$,D,k,H,z,V,j)=>{C.slotScopeIds=V,y==null?C.shapeFlag&512?k.ctx.activate(C,$,D,z,j):le(C,$,D,k,H,z,j):ee(y,C,j)},le=(y,C,$,D,k,H,z)=>{const V=y.component=fg(y,D,k);if(process.env.NODE_ENV!=="production"&&V.type.__hmrId&&Jh(V),process.env.NODE_ENV!=="production"&&(Zr(y),on(V,"mount")),Qo(y)&&(V.ctx.renderer=Xe),process.env.NODE_ENV!=="production"&&on(V,"init"),pg(V),process.env.NODE_ENV!=="production"&&rn(V,"init"),V.asyncDep){if(k&&k.registerDep(V,L),!y.el){const j=V.subTree=we(qe);m(null,j,C,$)}return}L(V,y,C,$,k,H,z),process.env.NODE_ENV!=="production"&&(Qr(),rn(V,"mount"))},ee=(y,C,$)=>{const D=C.component=y.component;if(pv(y,C,$))if(D.asyncDep&&!D.asyncResolved){process.env.NODE_ENV!=="production"&&Zr(C),Y(D,C,$),process.env.NODE_ENV!=="production"&&Qr();return}else D.next=C,Yh(D.update),D.update();else C.el=y.el,D.vnode=C},L=(y,C,$,D,k,H,z)=>{const V=()=>{if(y.isMounted){let{next:Z,bu:X,u:Q,parent:se,vnode:ge}=y,Te=Z,$e;process.env.NODE_ENV!=="production"&&Zr(Z||y.vnode),Kn(y,!1),Z?(Z.el=ge.el,Y(y,Z,z)):Z=ge,X&&ho(X),($e=Z.props&&Z.props.onVnodeBeforeUpdate)&&Gt($e,se,Z,ge),Kn(y,!0),process.env.NODE_ENV!=="production"&&on(y,"render");const U=Ti(y);process.env.NODE_ENV!=="production"&&rn(y,"render");const te=y.subTree;y.subTree=U,process.env.NODE_ENV!=="production"&&on(y,"patch"),v(te,U,f(te.el),Fe(te),y,k,H),process.env.NODE_ENV!=="production"&&rn(y,"patch"),Z.el=U.el,Te===null&&hv(y,U.el),Q&&pt(Q,k),($e=Z.props&&Z.props.onVnodeUpdated)&&pt(()=>Gt($e,se,Z,ge),k),process.env.NODE_ENV!=="production"&&vu(y),process.env.NODE_ENV!=="production"&&Qr()}else{let Z;const{el:X,props:Q}=C,{bm:se,m:ge,parent:Te}=y,$e=Zo(C);if(Kn(y,!1),se&&ho(se),!$e&&(Z=Q&&Q.onVnodeBeforeMount)&&Gt(Z,Te,C),Kn(y,!0),X&&fo){const U=()=>{process.env.NODE_ENV!=="production"&&on(y,"render"),y.subTree=Ti(y),process.env.NODE_ENV!=="production"&&rn(y,"render"),process.env.NODE_ENV!=="production"&&on(y,"hydrate"),fo(X,y.subTree,y,k,null),process.env.NODE_ENV!=="production"&&rn(y,"hydrate")};$e?C.type.__asyncLoader().then(()=>!y.isUnmounted&&U()):U()}else{process.env.NODE_ENV!=="production"&&on(y,"render");const U=y.subTree=Ti(y);process.env.NODE_ENV!=="production"&&rn(y,"render"),process.env.NODE_ENV!=="production"&&on(y,"patch"),v(null,U,$,D,y,k,H),process.env.NODE_ENV!=="production"&&rn(y,"patch"),C.el=U.el}if(ge&&pt(ge,k),!$e&&(Z=Q&&Q.onVnodeMounted)){const U=C;pt(()=>Gt(Z,Te,U),k)}(C.shapeFlag&256||Te&&Zo(Te.vnode)&&Te.vnode.shapeFlag&256)&&y.a&&pt(y.a,k),y.isMounted=!0,process.env.NODE_ENV!=="production"&&ov(y),C=$=D=null}},j=y.effect=new hi(V,()=>ts(M),y.scope),M=y.update=()=>j.run();M.id=y.uid,Kn(y,!0),process.env.NODE_ENV!=="production"&&(j.onTrack=y.rtc?Z=>ho(y.rtc,Z):void 0,j.onTrigger=y.rtg?Z=>ho(y.rtg,Z):void 0,M.ownerInstance=y),M()},Y=(y,C,$)=>{C.component=y;const D=y.vnode.props;y.vnode=C,y.next=null,Wv(y,C.props,D,$),Jv(y,C.children,$),Mn(),uu(),Ln()},I=(y,C,$,D,k,H,z,V,j=!1)=>{const M=y&&y.children,Z=y?y.shapeFlag:0,X=C.children,{patchFlag:Q,shapeFlag:se}=C;if(Q>0){if(Q&128){pe(M,X,$,D,k,H,z,V,j);return}else if(Q&256){J(M,X,$,D,k,H,z,V,j);return}}se&8?(Z&16&&je(M,k,H),X!==M&&c($,X)):Z&16?se&16?pe(M,X,$,D,k,H,z,V,j):je(M,k,H,!0):(Z&8&&c($,""),se&16&&R(X,$,D,k,H,z,V,j))},J=(y,C,$,D,k,H,z,V,j)=>{y=y||po,C=C||po;const M=y.length,Z=C.length,X=Math.min(M,Z);let Q;for(Q=0;Q<X;Q++){const se=C[Q]=j?wn(C[Q]):Lt(C[Q]);v(y[Q],se,$,null,k,H,z,V,j)}M>Z?je(y,k,H,!0,!1,X):R(C,$,D,k,H,z,V,j,X)},pe=(y,C,$,D,k,H,z,V,j)=>{let M=0;const Z=C.length;let X=y.length-1,Q=Z-1;for(;M<=X&&M<=Q;){const se=y[M],ge=C[M]=j?wn(C[M]):Lt(C[M]);if(qn(se,ge))v(se,ge,$,null,k,H,z,V,j);else break;M++}for(;M<=X&&M<=Q;){const se=y[X],ge=C[Q]=j?wn(C[Q]):Lt(C[Q]);if(qn(se,ge))v(se,ge,$,null,k,H,z,V,j);else break;X--,Q--}if(M>X){if(M<=Q){const se=Q+1,ge=se<Z?C[se].el:D;for(;M<=Q;)v(null,C[M]=j?wn(C[M]):Lt(C[M]),$,ge,k,H,z,V,j),M++}}else if(M>Q)for(;M<=X;)Ne(y[M],k,H,!0),M++;else{const se=M,ge=M,Te=new Map;for(M=ge;M<=Q;M++){const ke=C[M]=j?wn(C[M]):Lt(C[M]);ke.key!=null&&(process.env.NODE_ENV!=="production"&&Te.has(ke.key)&&F("Duplicate keys found during update:",JSON.stringify(ke.key),"Make sure keys are unique."),Te.set(ke.key,M))}let $e,U=0;const te=Q-ge+1;let me=!1,be=0;const xe=new Array(te);for(M=0;M<te;M++)xe[M]=0;for(M=se;M<=X;M++){const ke=y[M];if(U>=te){Ne(ke,k,H,!0);continue}let lt;if(ke.key!=null)lt=Te.get(ke.key);else for($e=ge;$e<=Q;$e++)if(xe[$e-ge]===0&&qn(ke,C[$e])){lt=$e;break}lt===void 0?Ne(ke,k,H,!0):(xe[lt-ge]=M+1,lt>=be?be=lt:me=!0,v(ke,C[lt],$,null,k,H,z,V,j),U++)}const Qe=me?tg(xe):po;for($e=Qe.length-1,M=te-1;M>=0;M--){const ke=ge+M,lt=C[ke],Rt=ke+1<Z?C[ke+1].el:D;xe[M]===0?v(null,lt,$,Rt,k,H,z,V,j):me&&($e<0||M!==Qe[$e]?Ee(lt,$,Rt,2):$e--)}}},Ee=(y,C,$,D,k=null)=>{const{el:H,type:z,transition:V,children:j,shapeFlag:M}=y;if(M&6){Ee(y.component.subTree,C,$,D);return}if(M&128){y.suspense.move(C,$,D);return}if(M&64){z.move(y,C,$,Xe);return}if(z===Ve){o(H,C,$);for(let X=0;X<j.length;X++)Ee(j[X],C,$,D);o(y.anchor,C,$);return}if(z===ps){b(y,C,$);return}if(D!==2&&M&1&&V)if(D===0)V.beforeEnter(H),o(H,C,$),pt(()=>V.enter(H),k);else{const{leave:X,delayLeave:Q,afterLeave:se}=V,ge=()=>o(H,C,$),Te=()=>{X(H,()=>{ge(),se&&se()})};Q?Q(H,ge,Te):Te()}else o(H,C,$)},Ne=(y,C,$,D=!1,k=!1)=>{const{type:H,props:z,ref:V,children:j,dynamicChildren:M,shapeFlag:Z,patchFlag:X,dirs:Q}=y;if(V!=null&&Ki(V,null,$,y,!0),Z&256){C.ctx.deactivate(y);return}const se=Z&1&&Q,ge=!Zo(y);let Te;if(ge&&(Te=z&&z.onVnodeBeforeUnmount)&&Gt(Te,C,y),Z&6)Ke(y.component,$,D);else{if(Z&128){y.suspense.unmount($,D);return}se&&jn(y,null,C,"beforeUnmount"),Z&64?y.type.remove(y,C,$,k,Xe,D):M&&(H!==Ve||X>0&&X&64)?je(M,C,$,!1,!0):(H===Ve&&X&384||!k&&Z&16)&&je(j,C,$),D&&Se(y)}(ge&&(Te=z&&z.onVnodeUnmounted)||se)&&pt(()=>{Te&&Gt(Te,C,y),se&&jn(y,null,C,"unmounted")},$)},Se=y=>{const{type:C,el:$,anchor:D,transition:k}=y;if(C===Ve){process.env.NODE_ENV!=="production"&&y.patchFlag>0&&y.patchFlag&2048&&k&&!k.persisted?y.children.forEach(z=>{z.type===qe?r(z.el):Se(z)}):He($,D);return}if(C===ps){O(y);return}const H=()=>{r($),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(y.shapeFlag&1&&k&&!k.persisted){const{leave:z,delayLeave:V}=k,j=()=>z($,H);V?V(y.el,H,j):j()}else H()},He=(y,C)=>{let $;for(;y!==C;)$=d(y),r(y),y=$;r(C)},Ke=(y,C,$)=>{process.env.NODE_ENV!=="production"&&y.type.__hmrId&&Zh(y);const{bum:D,scope:k,update:H,subTree:z,um:V}=y;D&&ho(D),k.stop(),H&&(H.active=!1,Ne(z,y,C,$)),V&&pt(V,C),pt(()=>{y.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve()),process.env.NODE_ENV!=="production"&&sv(y)},je=(y,C,$,D=!1,k=!1,H=0)=>{for(let z=H;z<y.length;z++)Ne(y[z],C,$,D,k)},Fe=y=>y.shapeFlag&6?Fe(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el),it=(y,C,$)=>{y==null?C._vnode&&Ne(C._vnode,null,null,!0):v(C._vnode||null,y,C,null,null,null,$),uu(),cu(),C._vnode=y},Xe={p:v,um:Ne,m:Ee,r:Se,mt:le,mc:R,pc:I,pbc:W,n:Fe,o:e};let dn,fo;return t&&([dn,fo]=t(Xe)),{render:it,hydrate:dn,createApp:Bv(it,dn)}}function Kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function or(e,t,n=!1){const o=e.children,r=t.children;if(G(o)&&G(r))for(let s=0;s<o.length;s++){const i=o[s];let l=r[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[s]=wn(r[s]),l.el=i.el),n||or(i,l)),l.type===Un&&(l.el=i.el),process.env.NODE_ENV!=="production"&&l.type===qe&&!l.el&&(l.el=i.el)}}function tg(e){const t=e.slice(),n=[0];let o,r,s,i,l;const a=e.length;for(o=0;o<a;o++){const u=e[o];if(u!==0){if(r=n[n.length-1],e[r]<u){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<u?s=l+1:i=l;u<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const ng=e=>e.__isTeleport,wo=e=>e&&(e.disabled||e.disabled===""),Zu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ui=(e,t)=>{const n=e&&e.to;if(_e(n))if(t){const o=t(n);return o||process.env.NODE_ENV!=="production"&&F(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),o}else return process.env.NODE_ENV!=="production"&&F("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!wo(e)&&F(`Invalid Teleport target: ${n}`),n},og={__isTeleport:!0,process(e,t,n,o,r,s,i,l,a,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:g}}=u,m=wo(t.props);let{shapeFlag:_,children:N,dynamicChildren:b}=t;if(process.env.NODE_ENV!=="production"&&bn&&(a=!1,b=null),e==null){const O=t.el=process.env.NODE_ENV!=="production"?g("teleport start"):v(""),S=t.anchor=process.env.NODE_ENV!=="production"?g("teleport end"):v("");h(O,n,o),h(S,n,o);const E=t.target=Ui(t.props,p),x=t.targetAnchor=v("");E?(h(x,E),i=i||Zu(E)):process.env.NODE_ENV!=="production"&&!m&&F("Invalid Teleport target on mount:",E,`(${typeof E})`);const R=(B,W)=>{_&16&&c(N,B,W,r,s,i,l,a)};m?R(n,S):E&&R(E,x)}else{t.el=e.el;const O=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor,x=wo(e.props),R=x?n:S,B=x?O:E;if(i=i||Zu(S),b?(d(e.dynamicChildren,b,R,r,s,i,l),or(e,t,!0)):a||f(e,t,R,B,r,s,i,l,!1),m)x||ds(t,n,O,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Ui(t.props,p);W?ds(t,W,null,u,0):process.env.NODE_ENV!=="production"&&F("Invalid Teleport target on update:",S,`(${typeof S})`)}else x&&ds(t,S,E,u,1)}Qu(t)},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:a,anchor:u,targetAnchor:c,target:f,props:d}=e;if(f&&s(c),(i||!wo(d))&&(s(u),l&16))for(let h=0;h<a.length;h++){const p=a[h];r(p,t,n,!0,!!p.dynamicChildren)}},move:ds,hydrate:rg};function ds(e,t,n,{o:{insert:o},m:r},s=2){s===0&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,f=s===2;if(f&&o(i,t,n),(!f||wo(c))&&a&16)for(let d=0;d<u.length;d++)r(u[d],t,n,2);f&&o(l,t,n)}function rg(e,t,n,o,r,s,{o:{nextSibling:i,parentNode:l,querySelector:a}},u){const c=t.target=Ui(t.props,a);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(wo(t.props))t.anchor=u(i(e),t,l(e),n,o,r,s),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,c._lpa=t.targetAnchor&&i(t.targetAnchor);break}u(f,t,c,n,o,r,s)}Qu(t)}return t.anchor&&i(t.anchor)}const sg=og;function Qu(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 Ve=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),ps=Symbol.for("v-stc"),rr=[];let kt=null;function K(e=!1){rr.push(kt=e?null:[])}function ig(){rr.pop(),kt=rr[rr.length-1]||null}let sr=1;function ec(e){sr+=e}function tc(e){return e.dynamicChildren=sr>0?kt||po:null,ig(),sr>0&&kt&&kt.push(e),e}function ce(e,t,n,o,r,s){return tc(Re(e,t,n,o,r,s,!0))}function Oe(e,t,n,o,r){return tc(we(e,t,n,o,r,!0))}function Eo(e){return e?e.__v_isVNode===!0:!1}function qn(e,t){return process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&bo.has(t.type)?(e.shapeFlag&=-257,t.shapeFlag&=-513,!1):e.type===t.type&&e.key===t.key}const lg=(...e)=>oc(...e),hs="__vInternal",nc=({key:e})=>e??null,vs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Pe(e)||oe(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function Re(e,t=null,n=null,o=0,r=null,s=e===Ve?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nc(t),ref:t&&vs(t),scopeId:bu,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:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Je};return l?(qi(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=_e(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&F("VNode created with invalid key (NaN). VNode type:",a.type),sr>0&&!i&&kt&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&kt.push(a),a}const we=process.env.NODE_ENV!=="production"?lg:oc;function oc(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Au)&&(process.env.NODE_ENV!=="production"&&!e&&F(`Invalid vnode type when creating vnode: ${e}.`),e=qe),Eo(e)){const l=Dt(e,t,!0);return n&&qi(l,n),sr>0&&!s&&kt&&(l.shapeFlag&6?kt[kt.indexOf(e)]=l:kt.push(l)),l.patchFlag|=-2,l}if(fc(e)&&(e=e.__vccOpts),t){t=ag(t);let{class:l,style:a}=t;l&&!_e(l)&&(t.class=re(l)),de(a)&&(Jr(a)&&!G(a)&&(a=De({},a)),t.style=tt(a))}const i=_e(e)?1:vv(e)?128:ng(e)?64:de(e)?4:oe(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Jr(e)&&(e=ae(e),F("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
8
+ Component that was made reactive: `,e)),Re(e,t,n,o,r,i,s,!0)}function ag(e){return e?Jr(e)||hs in e?De({},e):e:null}function Dt(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?En(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&nc(l),ref:t&&t.ref?n&&r?G(r)?r.concat(vs(t)):[r,vs(t)]:vs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&G(i)?i.map(rc):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function rc(e){const t=Dt(e);return G(e.children)&&(t.children=e.children.map(rc)),t}function Mt(e=" ",t=0){return we(Un,null,e,t)}function ze(e="",t=!1){return t?(K(),Oe(qe,null,e)):we(qe,null,e)}function Lt(e){return e==null||typeof e=="boolean"?we(qe):G(e)?we(Ve,null,e.slice()):typeof e=="object"?wn(e):we(Un,null,String(e))}function wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function qi(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),qi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(hs in t)?t._ctx=Je:r===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),o&64?(n=16,t=[Mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function En(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=re([t.class,o.class]));else if(r==="style")t.style=tt([t.style,o.style]);else if(Fo(r)){const s=t[r],i=o[r];i&&s!==i&&!(G(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function Gt(e,t,n,o=null){xt(e,t,7,[n,o])}const ug=Bu();let cg=0;function fg(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||ug,s={uid:cg++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new nh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ju(o,r),emitsOptions:mu(o,r),emit:null,emitted:null,propsDefaults:Ae,inheritAttrs:o.inheritAttrs,ctx:Ae,data:Ae,props:Ae,attrs:Ae,slots:Ae,refs:Ae,setupState:Ae,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 process.env.NODE_ENV!=="production"?s.ctx=$v(s):s.ctx={_:s},s.root=t?t.root:s,s.emit=uv.bind(null,s),e.ce&&e.ce(s),s}let Ze=null;const Le=()=>Ze||Je;let Gi,_o,sc="__VUE_INSTANCE_SETTERS__";(_o=Lr()[sc])||(_o=Lr()[sc]=[]),_o.push(e=>Ze=e),Gi=e=>{_o.length>1?_o.forEach(t=>t(e)):_o[0](e)};const Co=e=>{Gi(e),e.scope.on()},Gn=()=>{Ze&&Ze.scope.off(),Gi(null)},dg=Nt("slot,component");function Yi(e,t){const n=t.isNativeTag||Na;(dg(e)||n(e))&&F("Do not use built-in or reserved HTML elements as component id: "+e)}function ic(e){return e.vnode.shapeFlag&4}let ir=!1;function pg(e,t=!1){ir=t;const{props:n,children:o}=e.vnode,r=ic(e);Hv(e,n,r,t),Xv(e,o);const s=r?hg(e,t):void 0;return ir=!1,s}function hg(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&Yi(o.name,e.appContext.config),o.components){const s=Object.keys(o.components);for(let i=0;i<s.length;i++)Yi(s[i],e.appContext.config)}if(o.directives){const s=Object.keys(o.directives);for(let i=0;i<s.length;i++)Cu(s[i])}o.compilerOptions&&vg()&&F('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=Qa(new Proxy(e.ctx,ku)),process.env.NODE_ENV!=="production"&&Av(e);const{setup:r}=o;if(r){const s=e.setupContext=r.length>1?cc(e):null;Co(e),Mn();const i=tn(r,e,0,[process.env.NODE_ENV!=="production"?zo(e.props):e.props,s]);if(Ln(),Gn(),ui(i)){if(i.then(Gn,Gn),t)return i.then(l=>{lc(e,l,t)}).catch(l=>{es(l,e,0)});if(e.asyncDep=i,process.env.NODE_ENV!=="production"&&!e.suspense){const l=(n=o.name)!=null?n:"Anonymous";F(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else lc(e,i,t)}else ac(e,t)}function lc(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)?(process.env.NODE_ENV!=="production"&&Eo(t)&&F("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=ou(t),process.env.NODE_ENV!=="production"&&Pv(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&F(`setup() should return an object. Received: ${t===null?"null":typeof t}`),ac(e,n)}let Xi;const vg=()=>!Xi;function ac(e,t,n){const o=e.type;if(!e.render){if(!t&&Xi&&!o.render){const r=o.template||Bi(e).template;if(r){process.env.NODE_ENV!=="production"&&on(e,"compile");const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=o,u=De(De({isCustomElement:s,delimiters:l},i),a);o.render=Xi(r,u),process.env.NODE_ENV!=="production"&&rn(e,"compile")}}e.render=o.render||Ue}Co(e),Mn(),kv(e),Ln(),Gn(),process.env.NODE_ENV!=="production"&&!o.render&&e.render===Ue&&!t&&(o.template?F('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):F("Component is missing template or render function."))}function uc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,process.env.NODE_ENV!=="production"?{get(t,n){return rs(),ot(e,"get","$attrs"),t[n]},set(){return F("setupContext.attrs is readonly."),!1},deleteProperty(){return F("setupContext.attrs is readonly."),!1}}:{get(t,n){return ot(e,"get","$attrs"),t[n]}}))}function gg(e){return e.slotsProxy||(e.slotsProxy=new Proxy(e.slots,{get(t,n){return ot(e,"get","$slots"),t[n]}}))}function cc(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&F("expose() should be called only once per setup()."),n!=null)){let o=typeof n;o==="object"&&(G(n)?o="array":Pe(n)&&(o="ref")),o!=="object"&&F(`expose() should be passed a plain object, received ${o}.`)}e.exposed=n||{}};return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return uc(e)},get slots(){return gg(e)},get emit(){return(n,...o)=>e.emit(n,...o)},expose:t}):{get attrs(){return uc(e)},slots:e.slots,emit:e.emit,expose:t}}function gs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ou(Qa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zn)return zn[n](e)},has(t,n){return n in t||n in zn}}))}const mg=/(?:^|[-_])(\w)/g,bg=e=>e.replace(mg,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ji(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function ms(e,t,n=!1){let o=Ji(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?bg(o):n?"App":"Anonymous"}function fc(e){return oe(e)&&"__vccOpts"in e}const P=(e,t)=>Bh(e,t,ir);function fe(e,t,n){const o=arguments.length;return o===2?de(t)&&!G(t)?Eo(t)?we(e,null,[t]):we(e,t):we(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Eo(n)&&(n=[n]),we(e,t,n))}const yg=Symbol.for("v-scx"),wg=()=>{{const e=ye(yg);return e||process.env.NODE_ENV!=="production"&&F("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Zi(e){return!!(e&&e.__v_isShallow)}function Eg(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header(f){return de(f)?f.__isVue?["div",e,"VueInstance"]:Pe(f)?["div",{},["span",e,c(f)],"<",l(f.value),">"]:Fn(f)?["div",{},["span",e,Zi(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${gn(f)?" (readonly)":""}`]:gn(f)?["div",{},["span",e,Zi(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...s(f.$)]}};function s(f){const d=[];f.type.props&&f.props&&d.push(i("props",ae(f.props))),f.setupState!==Ae&&d.push(i("setup",f.setupState)),f.data!==Ae&&d.push(i("data",ae(f.data)));const h=a(f,"computed");h&&d.push(i("computed",h));const p=a(f,"inject");return p&&d.push(i("injected",p)),d.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function i(f,d){return d=De({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",o,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",o,f]:de(f)?["object",{object:d?ae(f):f}]:["span",n,String(f)]}function a(f,d){const h=f.type;if(oe(h))return;const p={};for(const v in f.ctx)u(h,v,d)&&(p[v]=f.ctx[v]);return p}function u(f,d,h){const p=f[h];if(G(p)&&p.includes(d)||de(p)&&d in p||f.extends&&u(f.extends,d,h)||f.mixins&&f.mixins.some(v=>u(v,d,h)))return!0}function c(f){return Zi(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const dc="3.3.4",_g="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,pc=Yn&&Yn.createElement("template"),Cg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?Yn.createElementNS(_g,e):Yn.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{pc.innerHTML=o?`<svg>${e}</svg>`:e;const l=pc.content;if(o){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Og(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ng(e,t,n){const o=e.style,r=_e(n);if(n&&!r){if(t&&!_e(t))for(const s in t)n[s]==null&&Qi(o,s,"");for(const s in n)Qi(o,s,n[s])}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}const xg=/[^\\];\s*$/,hc=/\s*!important$/;function Qi(e,t,n){if(G(n))n.forEach(o=>Qi(e,t,o));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&xg.test(n)&&F(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const o=Sg(e,t);hc.test(n)?e.setProperty(en(o),n.replace(hc,""),"important"):e[o]=n}}const vc=["Webkit","Moz","ms"],el={};function Sg(e,t){const n=el[t];if(n)return n;let o=It(t);if(o!=="filter"&&o in e)return el[t]=o;o=In(o);for(let r=0;r<vc.length;r++){const s=vc[r]+o;if(s in e)return el[t]=s}return t}const gc="http://www.w3.org/1999/xlink";function Tg(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(gc,t.slice(6,t.length)):e.setAttributeNS(gc,t,n);else{const s=eh(t);n==null||s&&!Aa(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function $g(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,c=n??"";u!==c&&(e.value=c),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Aa(n):n==null&&u==="string"?(n="",a=!0):u==="number"&&(n=0,a=!0)}try{e[t]=n}catch(u){process.env.NODE_ENV!=="production"&&!a&&F(`Failed setting prop "${t}" on <${l.toLowerCase()}>: value ${n} is invalid.`,u)}a&&e.removeAttribute(t)}function mc(e,t,n,o){e.addEventListener(t,n,o)}function Ag(e,t,n,o){e.removeEventListener(t,n,o)}function Pg(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[l,a]=Rg(t);if(o){const u=s[t]=Dg(o,r);mc(e,l,u,a)}else i&&(Ag(e,l,i,a),s[t]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function Rg(e){let t;if(bc.test(e)){t={};let o;for(;o=e.match(bc);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):en(e.slice(2)),t]}let tl=0;const Ig=Promise.resolve(),kg=()=>tl||(Ig.then(()=>tl=0),tl=Date.now());function Dg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;xt(Mg(o,n.value),t,5,[o])};return n.value=e,n.attached=kg(),n}function Mg(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const yc=/^on[a-z]/,Lg=(e,t,n,o,r=!1,s,i,l,a)=>{t==="class"?Og(e,o,r):t==="style"?Ng(e,n,o):Fo(t)?Rr(t)||Pg(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Fg(e,t,o,r))?$g(e,t,o,s,i,l,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Tg(e,t,o,r))};function Fg(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&yc.test(t)&&oe(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||yc.test(t)&&_e(n)?!1:t in e}const _n="transition",lr="animation",ar=(e,{slots:t})=>fe(yv,Vg(e),t);ar.displayName="Transition";const wc={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};ar.props=De({},Ou,wc);const Xn=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ec=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Vg(e){const t={};for(const T in e)T in wc||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Bg(r),v=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:N,onLeave:b,onLeaveCancelled:O,onBeforeAppear:S=m,onAppear:E=_,onAppearCancelled:x=N}=t,R=(T,q,ne)=>{Jn(T,q?c:l),Jn(T,q?u:i),ne&&ne()},B=(T,q)=>{T._isLeaving=!1,Jn(T,f),Jn(T,h),Jn(T,d),q&&q()},W=T=>(q,ne)=>{const le=T?E:_,ee=()=>R(q,T,ne);Xn(le,[q,ee]),_c(()=>{Jn(q,T?a:s),Cn(q,T?c:l),Ec(le)||Cc(q,o,v,ee)})};return De(t,{onBeforeEnter(T){Xn(m,[T]),Cn(T,s),Cn(T,i)},onBeforeAppear(T){Xn(S,[T]),Cn(T,a),Cn(T,u)},onEnter:W(!1),onAppear:W(!0),onLeave(T,q){T._isLeaving=!0;const ne=()=>B(T,q);Cn(T,f),Wg(),Cn(T,d),_c(()=>{T._isLeaving&&(Jn(T,f),Cn(T,h),Ec(b)||Cc(T,o,g,ne))}),Xn(b,[T,ne])},onEnterCancelled(T){R(T,!1),Xn(N,[T])},onAppearCancelled(T){R(T,!0),Xn(x,[T])},onLeaveCancelled(T){B(T),Xn(O,[T])}})}function Bg(e){if(e==null)return null;if(de(e))return[nl(e.enter),nl(e.leave)];{const t=nl(e);return[t,t]}}function nl(e){const t=Kp(e);return process.env.NODE_ENV!=="production"&&Kh(t,"<transition> explicit duration"),t}function Cn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Jn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function _c(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hg=0;function Cc(e,t,n,o){const r=e._endId=++Hg,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=jg(e,t);if(!i)return o();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=h=>{h.target===e&&++c>=a&&f()};setTimeout(()=>{c<a&&f()},l+1),e.addEventListener(u,d)}function jg(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),r=o(`${_n}Delay`),s=o(`${_n}Duration`),i=Oc(r,s),l=o(`${lr}Delay`),a=o(`${lr}Duration`),u=Oc(l,a);let c=null,f=0,d=0;t===_n?i>0&&(c=_n,f=i,d=s.length):t===lr?u>0&&(c=lr,f=u,d=a.length):(f=Math.max(i,u),c=f>0?i>u?_n:lr:null,d=c?c===_n?s.length:a.length:0);const h=c===_n&&/\b(transform|all)(,|$)/.test(o(`${_n}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function Oc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Nc(n)+Nc(e[o])))}function Nc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Wg(){return document.body.offsetHeight}const xc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>ho(t,n):t},bs={deep:!0,created(e,t,n){e._assign=xc(n),mc(e,"change",()=>{const o=e._modelValue,r=zg(e),s=e.checked,i=e._assign;if(G(o)){const l=Pa(o,r),a=l!==-1;if(s&&!a)i(o.concat(r));else if(!s&&a){const u=[...o];u.splice(l,1),i(u)}}else if(Ir(o)){const l=new Set(o);s?l.add(r):l.delete(r),i(l)}else i(Tc(e,s))})},mounted:Sc,beforeUpdate(e,t,n){e._assign=xc(n),Sc(e,t,n)}};function Sc(e,{value:t,oldValue:n},o){e._modelValue=t,G(t)?e.checked=Pa(t,o.props.value)>-1:Ir(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Fr(t,Tc(e,!0)))}function zg(e){return"_value"in e?e._value:e.value}function Tc(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Kg=["ctrl","shift","alt","meta"],Ug={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)=>Kg.some(n=>e[`${n}Key`]&&!t.includes(n))},ys=(e,t)=>(n,...o)=>{for(let r=0;r<t.length;r++){const s=Ug[t[r]];if(s&&s(n,t))return}return e(n,...o)},ur={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):cr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),cr(e,!0),o.enter(e)):o.leave(e,()=>{cr(e,!1)}):cr(e,t))},beforeUnmount(e,{value:t}){cr(e,t)}};function cr(e,t){e.style.display=t?e._vod:"none"}const qg=De({patchProp:Lg},Cg);let $c;function Gg(){return $c||($c=Qv(qg))}const Yg=(...e)=>{const t=Gg().createApp(...e);process.env.NODE_ENV!=="production"&&(Xg(t),Jg(t));const{mount:n}=t;return t.mount=o=>{const r=Zg(o);if(!r)return;const s=t._component;!oe(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Xg(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Zp(t)||Qp(t),writable:!1})}function Jg(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){F("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,o='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return F(o),n},set(){F(o)}})}}function Zg(e){if(_e(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&F(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&F('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}function Qg(){Eg()}process.env.NODE_ENV!=="production"&&Qg();var Ac;const Ge=typeof window<"u",em=e=>typeof e=="string",Pc=()=>{},tm=Ge&&((Ac=window==null?void 0:window.navigator)==null?void 0:Ac.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Rc(e){return typeof e=="function"?e():w(e)}function nm(e){return e}function ol(e){return Ia()?(rh(e),!0):!1}function om(e,t=!0){Le()?et(e):t?e():ut(e)}function On(e){var t;const n=Rc(e);return(t=n==null?void 0:n.$el)!=null?t:n}const rl=Ge?window:void 0;function Nn(...e){let t,n,o,r;if(em(e[0])||Array.isArray(e[0])?([n,o,r]=e,t=rl):[t,n,o,r]=e,!t)return Pc;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],i=()=>{s.forEach(c=>c()),s.length=0},l=(c,f,d,h)=>(c.addEventListener(f,d,h),()=>c.removeEventListener(f,d,h)),a=ve(()=>[On(t),Rc(r)],([c,f])=>{i(),c&&s.push(...n.flatMap(d=>o.map(h=>l(c,d,h,f))))},{immediate:!0,flush:"post"}),u=()=>{a(),i()};return ol(u),u}let Ic=!1;function rm(e,t,n={}){const{window:o=rl,ignore:r=[],capture:s=!0,detectIframe:i=!1}=n;if(!o)return;tm&&!Ic&&(Ic=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",Pc)));let l=!0;const a=d=>r.some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=On(h);return p&&(d.target===p||d.composedPath().includes(p))}}),c=[Nn(o,"click",d=>{const h=On(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(l=!a(d)),!l){l=!0;return}t(d)}},{passive:!0,capture:s}),Nn(o,"pointerdown",d=>{const h=On(e);h&&(l=!d.composedPath().includes(h)&&!a(d))},{passive:!0}),i&&Nn(o,"blur",d=>{var h;const p=On(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function sm(e,t=!1){const n=A(),o=()=>n.value=!!e();return o(),om(o,t),n}const kc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dc="__vueuse_ssr_handlers__";kc[Dc]=kc[Dc]||{};var Mc=Object.getOwnPropertySymbols,im=Object.prototype.hasOwnProperty,lm=Object.prototype.propertyIsEnumerable,am=(e,t)=>{var n={};for(var o in e)im.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Mc)for(var o of Mc(e))t.indexOf(o)<0&&lm.call(e,o)&&(n[o]=e[o]);return n};function sl(e,t,n={}){const o=n,{window:r=rl}=o,s=am(o,["window"]);let i;const l=sm(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},u=ve(()=>On(e),f=>{a(),l.value&&r&&f&&(i=new ResizeObserver(t),i.observe(f,s))},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return ol(c),{isSupported:l,stop:c}}var Lc;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Lc||(Lc={}));var um=Object.defineProperty,Fc=Object.getOwnPropertySymbols,cm=Object.prototype.hasOwnProperty,fm=Object.prototype.propertyIsEnumerable,Vc=(e,t,n)=>t in e?um(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dm=(e,t)=>{for(var n in t||(t={}))cm.call(t,n)&&Vc(e,n,t[n]);if(Fc)for(var n of Fc(t))fm.call(t,n)&&Vc(e,n,t[n]);return e};dm({linear:nm},{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]});var pm=typeof global=="object"&&global&&global.Object===Object&&global;const Bc=pm;var hm=typeof self=="object"&&self&&self.Object===Object&&self,vm=Bc||hm||Function("return this")();const Ft=vm;var gm=Ft.Symbol;const Yt=gm;var Hc=Object.prototype,mm=Hc.hasOwnProperty,bm=Hc.toString,fr=Yt?Yt.toStringTag:void 0;function ym(e){var t=mm.call(e,fr),n=e[fr];try{e[fr]=void 0;var o=!0}catch{}var r=bm.call(e);return o&&(t?e[fr]=n:delete e[fr]),r}var wm=Object.prototype,Em=wm.toString;function _m(e){return Em.call(e)}var Cm="[object Null]",Om="[object Undefined]",jc=Yt?Yt.toStringTag:void 0;function Zn(e){return e==null?e===void 0?Om:Cm:jc&&jc in Object(e)?ym(e):_m(e)}function xn(e){return e!=null&&typeof e=="object"}var Nm="[object Symbol]";function ws(e){return typeof e=="symbol"||xn(e)&&Zn(e)==Nm}function Wc(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var xm=Array.isArray;const _t=xm;var Sm=1/0,zc=Yt?Yt.prototype:void 0,Kc=zc?zc.toString:void 0;function Uc(e){if(typeof e=="string")return e;if(_t(e))return Wc(e,Uc)+"";if(ws(e))return Kc?Kc.call(e):"";var t=e+"";return t=="0"&&1/e==-Sm?"-0":t}var Tm=/\s/;function $m(e){for(var t=e.length;t--&&Tm.test(e.charAt(t)););return t}var Am=/^\s+/;function Pm(e){return e&&e.slice(0,$m(e)+1).replace(Am,"")}function Ct(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var qc=0/0,Rm=/^[-+]0x[0-9a-f]+$/i,Im=/^0b[01]+$/i,km=/^0o[0-7]+$/i,Dm=parseInt;function Gc(e){if(typeof e=="number")return e;if(ws(e))return qc;if(Ct(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ct(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Pm(e);var n=Im.test(e);return n||km.test(e)?Dm(e.slice(2),n?2:8):Rm.test(e)?qc:+e}function il(e){return e}var Mm="[object AsyncFunction]",Lm="[object Function]",Fm="[object GeneratorFunction]",Vm="[object Proxy]";function ll(e){if(!Ct(e))return!1;var t=Zn(e);return t==Lm||t==Fm||t==Mm||t==Vm}var Bm=Ft["__core-js_shared__"];const al=Bm;var Yc=function(){var e=/[^.]+$/.exec(al&&al.keys&&al.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Hm(e){return!!Yc&&Yc in e}var jm=Function.prototype,Wm=jm.toString;function Qn(e){if(e!=null){try{return Wm.call(e)}catch{}try{return e+""}catch{}}return""}var zm=/[\\^$.*+?()[\]{}|]/g,Km=/^\[object .+?Constructor\]$/,Um=Function.prototype,qm=Object.prototype,Gm=Um.toString,Ym=qm.hasOwnProperty,Xm=RegExp("^"+Gm.call(Ym).replace(zm,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jm(e){if(!Ct(e)||Hm(e))return!1;var t=ll(e)?Xm:Km;return t.test(Qn(e))}function Zm(e,t){return e==null?void 0:e[t]}function eo(e,t){var n=Zm(e,t);return Jm(n)?n:void 0}var Qm=eo(Ft,"WeakMap");const ul=Qm;var Xc=Object.create,eb=function(){function e(){}return function(t){if(!Ct(t))return{};if(Xc)return Xc(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const tb=eb;function nb(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 ob(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var rb=800,sb=16,ib=Date.now;function lb(e){var t=0,n=0;return function(){var o=ib(),r=sb-(o-n);if(n=o,r>0){if(++t>=rb)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ab(e){return function(){return e}}var ub=function(){try{var e=eo(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Es=ub;var cb=Es?function(e,t){return Es(e,"toString",{configurable:!0,enumerable:!1,value:ab(t),writable:!0})}:il,fb=lb(cb);const Jc=fb;var db=9007199254740991,pb=/^(?:0|[1-9]\d*)$/;function _s(e,t){var n=typeof e;return t=t??db,!!t&&(n=="number"||n!="symbol"&&pb.test(e))&&e>-1&&e%1==0&&e<t}function cl(e,t,n){t=="__proto__"&&Es?Es(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function dr(e,t){return e===t||e!==e&&t!==t}var hb=Object.prototype,vb=hb.hasOwnProperty;function Zc(e,t,n){var o=e[t];(!(vb.call(e,t)&&dr(o,n))||n===void 0&&!(t in e))&&cl(e,t,n)}function gb(e,t,n,o){var r=!n;n||(n={});for(var s=-1,i=t.length;++s<i;){var l=t[s],a=o?o(n[l],e[l],l,n,e):void 0;a===void 0&&(a=e[l]),r?cl(n,l,a):Zc(n,l,a)}return n}var Qc=Math.max;function ef(e,t,n){return t=Qc(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,s=Qc(o.length-t,0),i=Array(s);++r<s;)i[r]=o[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=o[r];return l[t]=n(i),nb(e,this,l)}}function mb(e,t){return Jc(ef(e,t,il),e+"")}var bb=9007199254740991;function fl(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bb}function Oo(e){return e!=null&&fl(e.length)&&!ll(e)}function yb(e,t,n){if(!Ct(n))return!1;var o=typeof t;return(o=="number"?Oo(n)&&_s(t,n.length):o=="string"&&t in n)?dr(n[t],e):!1}function wb(e){return mb(function(t,n){var o=-1,r=n.length,s=r>1?n[r-1]:void 0,i=r>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(r--,s):void 0,i&&yb(n[0],n[1],i)&&(s=r<3?void 0:s,r=1),t=Object(t);++o<r;){var l=n[o];l&&e(t,l,o,s)}return t})}var Eb=Object.prototype;function dl(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Eb;return e===n}function _b(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var Cb="[object Arguments]";function tf(e){return xn(e)&&Zn(e)==Cb}var nf=Object.prototype,Ob=nf.hasOwnProperty,Nb=nf.propertyIsEnumerable,xb=tf(function(){return arguments}())?tf:function(e){return xn(e)&&Ob.call(e,"callee")&&!Nb.call(e,"callee")};const pr=xb;function Sb(){return!1}var of=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rf=of&&typeof module=="object"&&module&&!module.nodeType&&module,Tb=rf&&rf.exports===of,sf=Tb?Ft.Buffer:void 0,$b=sf?sf.isBuffer:void 0,Ab=$b||Sb;const Cs=Ab;var Pb="[object Arguments]",Rb="[object Array]",Ib="[object Boolean]",kb="[object Date]",Db="[object Error]",Mb="[object Function]",Lb="[object Map]",Fb="[object Number]",Vb="[object Object]",Bb="[object RegExp]",Hb="[object Set]",jb="[object String]",Wb="[object WeakMap]",zb="[object ArrayBuffer]",Kb="[object DataView]",Ub="[object Float32Array]",qb="[object Float64Array]",Gb="[object Int8Array]",Yb="[object Int16Array]",Xb="[object Int32Array]",Jb="[object Uint8Array]",Zb="[object Uint8ClampedArray]",Qb="[object Uint16Array]",ey="[object Uint32Array]",Be={};Be[Ub]=Be[qb]=Be[Gb]=Be[Yb]=Be[Xb]=Be[Jb]=Be[Zb]=Be[Qb]=Be[ey]=!0,Be[Pb]=Be[Rb]=Be[zb]=Be[Ib]=Be[Kb]=Be[kb]=Be[Db]=Be[Mb]=Be[Lb]=Be[Fb]=Be[Vb]=Be[Bb]=Be[Hb]=Be[jb]=Be[Wb]=!1;function ty(e){return xn(e)&&fl(e.length)&&!!Be[Zn(e)]}function ny(e){return function(t){return e(t)}}var lf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hr=lf&&typeof module=="object"&&module&&!module.nodeType&&module,oy=hr&&hr.exports===lf,pl=oy&&Bc.process,ry=function(){try{var e=hr&&hr.require&&hr.require("util").types;return e||pl&&pl.binding&&pl.binding("util")}catch{}}();const af=ry;var uf=af&&af.isTypedArray,sy=uf?ny(uf):ty;const hl=sy;var iy=Object.prototype,ly=iy.hasOwnProperty;function cf(e,t){var n=_t(e),o=!n&&pr(e),r=!n&&!o&&Cs(e),s=!n&&!o&&!r&&hl(e),i=n||o||r||s,l=i?_b(e.length,String):[],a=l.length;for(var u in e)(t||ly.call(e,u))&&!(i&&(u=="length"||r&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||_s(u,a)))&&l.push(u);return l}function ff(e,t){return function(n){return e(t(n))}}var ay=ff(Object.keys,Object);const uy=ay;var cy=Object.prototype,fy=cy.hasOwnProperty;function dy(e){if(!dl(e))return uy(e);var t=[];for(var n in Object(e))fy.call(e,n)&&n!="constructor"&&t.push(n);return t}function vl(e){return Oo(e)?cf(e):dy(e)}function py(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var hy=Object.prototype,vy=hy.hasOwnProperty;function gy(e){if(!Ct(e))return py(e);var t=dl(e),n=[];for(var o in e)o=="constructor"&&(t||!vy.call(e,o))||n.push(o);return n}function df(e){return Oo(e)?cf(e,!0):gy(e)}var my=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,by=/^\w*$/;function gl(e,t){if(_t(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ws(e)?!0:by.test(e)||!my.test(e)||t!=null&&e in Object(t)}var yy=eo(Object,"create");const vr=yy;function wy(){this.__data__=vr?vr(null):{},this.size=0}function Ey(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var _y="__lodash_hash_undefined__",Cy=Object.prototype,Oy=Cy.hasOwnProperty;function Ny(e){var t=this.__data__;if(vr){var n=t[e];return n===_y?void 0:n}return Oy.call(t,e)?t[e]:void 0}var xy=Object.prototype,Sy=xy.hasOwnProperty;function Ty(e){var t=this.__data__;return vr?t[e]!==void 0:Sy.call(t,e)}var $y="__lodash_hash_undefined__";function Ay(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=vr&&t===void 0?$y:t,this}function to(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}to.prototype.clear=wy,to.prototype.delete=Ey,to.prototype.get=Ny,to.prototype.has=Ty,to.prototype.set=Ay;function Py(){this.__data__=[],this.size=0}function Os(e,t){for(var n=e.length;n--;)if(dr(e[n][0],t))return n;return-1}var Ry=Array.prototype,Iy=Ry.splice;function ky(e){var t=this.__data__,n=Os(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():Iy.call(t,n,1),--this.size,!0}function Dy(e){var t=this.__data__,n=Os(t,e);return n<0?void 0:t[n][1]}function My(e){return Os(this.__data__,e)>-1}function Ly(e,t){var n=this.__data__,o=Os(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function sn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}sn.prototype.clear=Py,sn.prototype.delete=ky,sn.prototype.get=Dy,sn.prototype.has=My,sn.prototype.set=Ly;var Fy=eo(Ft,"Map");const gr=Fy;function Vy(){this.size=0,this.__data__={hash:new to,map:new(gr||sn),string:new to}}function By(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ns(e,t){var n=e.__data__;return By(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Hy(e){var t=Ns(this,e).delete(e);return this.size-=t?1:0,t}function jy(e){return Ns(this,e).get(e)}function Wy(e){return Ns(this,e).has(e)}function zy(e,t){var n=Ns(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function ln(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ln.prototype.clear=Vy,ln.prototype.delete=Hy,ln.prototype.get=jy,ln.prototype.has=Wy,ln.prototype.set=zy;var Ky="Expected a function";function ml(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Ky);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],s=n.cache;if(s.has(r))return s.get(r);var i=e.apply(this,o);return n.cache=s.set(r,i)||s,i};return n.cache=new(ml.Cache||ln),n}ml.Cache=ln;var Uy=500;function qy(e){var t=ml(e,function(o){return n.size===Uy&&n.clear(),o}),n=t.cache;return t}var Gy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yy=/\\(\\)?/g,Xy=qy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Gy,function(n,o,r,s){t.push(r?s.replace(Yy,"$1"):o||n)}),t});const Jy=Xy;function Zy(e){return e==null?"":Uc(e)}function xs(e,t){return _t(e)?e:gl(e,t)?[e]:Jy(Zy(e))}var Qy=1/0;function mr(e){if(typeof e=="string"||ws(e))return e;var t=e+"";return t=="0"&&1/e==-Qy?"-0":t}function bl(e,t){t=xs(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[mr(t[n++])];return n&&n==o?e:void 0}function br(e,t,n){var o=e==null?void 0:bl(e,t);return o===void 0?n:o}function pf(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var hf=Yt?Yt.isConcatSpreadable:void 0;function e0(e){return _t(e)||pr(e)||!!(hf&&e&&e[hf])}function yl(e,t,n,o,r){var s=-1,i=e.length;for(n||(n=e0),r||(r=[]);++s<i;){var l=e[s];t>0&&n(l)?t>1?yl(l,t-1,n,o,r):pf(r,l):o||(r[r.length]=l)}return r}function t0(e){var t=e==null?0:e.length;return t?yl(e,1):[]}function n0(e){return Jc(ef(e,void 0,t0),e+"")}var o0=ff(Object.getPrototypeOf,Object);const vf=o0;var r0="[object Object]",s0=Function.prototype,i0=Object.prototype,gf=s0.toString,l0=i0.hasOwnProperty,a0=gf.call(Object);function u0(e){if(!xn(e)||Zn(e)!=r0)return!1;var t=vf(e);if(t===null)return!0;var n=l0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&gf.call(n)==a0}function c0(){this.__data__=new sn,this.size=0}function f0(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function d0(e){return this.__data__.get(e)}function p0(e){return this.__data__.has(e)}var h0=200;function v0(e,t){var n=this.__data__;if(n instanceof sn){var o=n.__data__;if(!gr||o.length<h0-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new ln(o)}return n.set(e,t),this.size=n.size,this}function Xt(e){var t=this.__data__=new sn(e);this.size=t.size}Xt.prototype.clear=c0,Xt.prototype.delete=f0,Xt.prototype.get=d0,Xt.prototype.has=p0,Xt.prototype.set=v0;var mf=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bf=mf&&typeof module=="object"&&module&&!module.nodeType&&module,g0=bf&&bf.exports===mf,yf=g0?Ft.Buffer:void 0,wf=yf?yf.allocUnsafe:void 0;function m0(e,t){if(t)return e.slice();var n=e.length,o=wf?wf(n):new e.constructor(n);return e.copy(o),o}function b0(e,t){for(var n=-1,o=e==null?0:e.length,r=0,s=[];++n<o;){var i=e[n];t(i,n,e)&&(s[r++]=i)}return s}function y0(){return[]}var w0=Object.prototype,E0=w0.propertyIsEnumerable,Ef=Object.getOwnPropertySymbols,_0=Ef?function(e){return e==null?[]:(e=Object(e),b0(Ef(e),function(t){return E0.call(e,t)}))}:y0;const C0=_0;function O0(e,t,n){var o=t(e);return _t(e)?o:pf(o,n(e))}function _f(e){return O0(e,vl,C0)}var N0=eo(Ft,"DataView");const wl=N0;var x0=eo(Ft,"Promise");const El=x0;var S0=eo(Ft,"Set");const _l=S0;var Cf="[object Map]",T0="[object Object]",Of="[object Promise]",Nf="[object Set]",xf="[object WeakMap]",Sf="[object DataView]",$0=Qn(wl),A0=Qn(gr),P0=Qn(El),R0=Qn(_l),I0=Qn(ul),no=Zn;(wl&&no(new wl(new ArrayBuffer(1)))!=Sf||gr&&no(new gr)!=Cf||El&&no(El.resolve())!=Of||_l&&no(new _l)!=Nf||ul&&no(new ul)!=xf)&&(no=function(e){var t=Zn(e),n=t==T0?e.constructor:void 0,o=n?Qn(n):"";if(o)switch(o){case $0:return Sf;case A0:return Cf;case P0:return Of;case R0:return Nf;case I0:return xf}return t});const Tf=no;var k0=Ft.Uint8Array;const Ss=k0;function D0(e){var t=new e.constructor(e.byteLength);return new Ss(t).set(new Ss(e)),t}function M0(e,t){var n=t?D0(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function L0(e){return typeof e.constructor=="function"&&!dl(e)?tb(vf(e)):{}}var F0="__lodash_hash_undefined__";function V0(e){return this.__data__.set(e,F0),this}function B0(e){return this.__data__.has(e)}function Ts(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ln;++t<n;)this.add(e[t])}Ts.prototype.add=Ts.prototype.push=V0,Ts.prototype.has=B0;function H0(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function j0(e,t){return e.has(t)}var W0=1,z0=2;function $f(e,t,n,o,r,s){var i=n&W0,l=e.length,a=t.length;if(l!=a&&!(i&&a>l))return!1;var u=s.get(e),c=s.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,h=n&z0?new Ts:void 0;for(s.set(e,t),s.set(t,e);++f<l;){var p=e[f],v=t[f];if(o)var g=i?o(v,p,f,t,e,s):o(p,v,f,e,t,s);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!H0(t,function(m,_){if(!j0(h,_)&&(p===m||r(p,m,n,o,s)))return h.push(_)})){d=!1;break}}else if(!(p===v||r(p,v,n,o,s))){d=!1;break}}return s.delete(e),s.delete(t),d}function K0(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function U0(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var q0=1,G0=2,Y0="[object Boolean]",X0="[object Date]",J0="[object Error]",Z0="[object Map]",Q0="[object Number]",ew="[object RegExp]",tw="[object Set]",nw="[object String]",ow="[object Symbol]",rw="[object ArrayBuffer]",sw="[object DataView]",Af=Yt?Yt.prototype:void 0,Cl=Af?Af.valueOf:void 0;function iw(e,t,n,o,r,s,i){switch(n){case sw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rw:return!(e.byteLength!=t.byteLength||!s(new Ss(e),new Ss(t)));case Y0:case X0:case Q0:return dr(+e,+t);case J0:return e.name==t.name&&e.message==t.message;case ew:case nw:return e==t+"";case Z0:var l=K0;case tw:var a=o&q0;if(l||(l=U0),e.size!=t.size&&!a)return!1;var u=i.get(e);if(u)return u==t;o|=G0,i.set(e,t);var c=$f(l(e),l(t),o,r,s,i);return i.delete(e),c;case ow:if(Cl)return Cl.call(e)==Cl.call(t)}return!1}var lw=1,aw=Object.prototype,uw=aw.hasOwnProperty;function cw(e,t,n,o,r,s){var i=n&lw,l=_f(e),a=l.length,u=_f(t),c=u.length;if(a!=c&&!i)return!1;for(var f=a;f--;){var d=l[f];if(!(i?d in t:uw.call(t,d)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var v=!0;s.set(e,t),s.set(t,e);for(var g=i;++f<a;){d=l[f];var m=e[d],_=t[d];if(o)var N=i?o(_,m,d,t,e,s):o(m,_,d,e,t,s);if(!(N===void 0?m===_||r(m,_,n,o,s):N)){v=!1;break}g||(g=d=="constructor")}if(v&&!g){var b=e.constructor,O=t.constructor;b!=O&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof O=="function"&&O instanceof O)&&(v=!1)}return s.delete(e),s.delete(t),v}var fw=1,Pf="[object Arguments]",Rf="[object Array]",$s="[object Object]",dw=Object.prototype,If=dw.hasOwnProperty;function pw(e,t,n,o,r,s){var i=_t(e),l=_t(t),a=i?Rf:Tf(e),u=l?Rf:Tf(t);a=a==Pf?$s:a,u=u==Pf?$s:u;var c=a==$s,f=u==$s,d=a==u;if(d&&Cs(e)){if(!Cs(t))return!1;i=!0,c=!1}if(d&&!c)return s||(s=new Xt),i||hl(e)?$f(e,t,n,o,r,s):iw(e,t,a,n,o,r,s);if(!(n&fw)){var h=c&&If.call(e,"__wrapped__"),p=f&&If.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,g=p?t.value():t;return s||(s=new Xt),r(v,g,n,o,s)}}return d?(s||(s=new Xt),cw(e,t,n,o,r,s)):!1}function As(e,t,n,o,r){return e===t?!0:e==null||t==null||!xn(e)&&!xn(t)?e!==e&&t!==t:pw(e,t,n,o,As,r)}var hw=1,vw=2;function gw(e,t,n,o){var r=n.length,s=r,i=!o;if(e==null)return!s;for(e=Object(e);r--;){var l=n[r];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<s;){l=n[r];var a=l[0],u=e[a],c=l[1];if(i&&l[2]){if(u===void 0&&!(a in e))return!1}else{var f=new Xt;if(o)var d=o(u,c,a,e,t,f);if(!(d===void 0?As(c,u,hw|vw,o,f):d))return!1}}return!0}function kf(e){return e===e&&!Ct(e)}function mw(e){for(var t=vl(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,kf(r)]}return t}function Df(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function bw(e){var t=mw(e);return t.length==1&&t[0][2]?Df(t[0][0],t[0][1]):function(n){return n===e||gw(n,e,t)}}function yw(e,t){return e!=null&&t in Object(e)}function ww(e,t,n){t=xs(t,e);for(var o=-1,r=t.length,s=!1;++o<r;){var i=mr(t[o]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++o!=r?s:(r=e==null?0:e.length,!!r&&fl(r)&&_s(i,r)&&(_t(e)||pr(e)))}function Mf(e,t){return e!=null&&ww(e,t,yw)}var Ew=1,_w=2;function Cw(e,t){return gl(e)&&kf(t)?Df(mr(e),t):function(n){var o=br(n,e);return o===void 0&&o===t?Mf(n,e):As(t,o,Ew|_w)}}function Ow(e){return function(t){return t==null?void 0:t[e]}}function Nw(e){return function(t){return bl(t,e)}}function xw(e){return gl(e)?Ow(mr(e)):Nw(e)}function Sw(e){return typeof e=="function"?e:e==null?il:typeof e=="object"?_t(e)?Cw(e[0],e[1]):bw(e):xw(e)}function Tw(e){return function(t,n,o){for(var r=-1,s=Object(t),i=o(t),l=i.length;l--;){var a=i[e?l:++r];if(n(s[a],a,s)===!1)break}return t}}var $w=Tw();const Lf=$w;function Aw(e,t){return e&&Lf(e,t,vl)}function Pw(e,t){return function(n,o){if(n==null)return n;if(!Oo(n))return e(n,o);for(var r=n.length,s=t?r:-1,i=Object(n);(t?s--:++s<r)&&o(i[s],s,i)!==!1;);return n}}var Rw=Pw(Aw);const Iw=Rw;var kw=function(){return Ft.Date.now()};const Ol=kw;var Dw="Expected a function",Mw=Math.max,Lw=Math.min;function Ps(e,t,n){var o,r,s,i,l,a,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(Dw);t=Gc(t)||0,Ct(n)&&(c=!!n.leading,f="maxWait"in n,s=f?Mw(Gc(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function h(S){var E=o,x=r;return o=r=void 0,u=S,i=e.apply(x,E),i}function p(S){return u=S,l=setTimeout(m,t),c?h(S):i}function v(S){var E=S-a,x=S-u,R=t-E;return f?Lw(R,s-x):R}function g(S){var E=S-a,x=S-u;return a===void 0||E>=t||E<0||f&&x>=s}function m(){var S=Ol();if(g(S))return _(S);l=setTimeout(m,v(S))}function _(S){return l=void 0,d&&o?h(S):(o=r=void 0,i)}function N(){l!==void 0&&clearTimeout(l),u=0,o=a=r=l=void 0}function b(){return l===void 0?i:_(Ol())}function O(){var S=Ol(),E=g(S);if(o=arguments,r=this,a=S,E){if(l===void 0)return p(a);if(f)return clearTimeout(l),l=setTimeout(m,t),h(a)}return l===void 0&&(l=setTimeout(m,t)),i}return O.cancel=N,O.flush=b,O}function Nl(e,t,n){(n!==void 0&&!dr(e[t],n)||n===void 0&&!(t in e))&&cl(e,t,n)}function Fw(e){return xn(e)&&Oo(e)}function xl(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Vw(e){return gb(e,df(e))}function Bw(e,t,n,o,r,s,i){var l=xl(e,n),a=xl(t,n),u=i.get(a);if(u){Nl(e,n,u);return}var c=s?s(l,a,n+"",e,t,i):void 0,f=c===void 0;if(f){var d=_t(a),h=!d&&Cs(a),p=!d&&!h&&hl(a);c=a,d||h||p?_t(l)?c=l:Fw(l)?c=ob(l):h?(f=!1,c=m0(a,!0)):p?(f=!1,c=M0(a,!0)):c=[]:u0(a)||pr(a)?(c=l,pr(l)?c=Vw(l):(!Ct(l)||ll(l))&&(c=L0(a))):f=!1}f&&(i.set(a,c),r(c,a,o,s,i),i.delete(a)),Nl(e,n,c)}function Ff(e,t,n,o,r){e!==t&&Lf(t,function(s,i){if(r||(r=new Xt),Ct(s))Bw(e,t,i,n,Ff,o,r);else{var l=o?o(xl(e,i),s,i+"",e,t,r):void 0;l===void 0&&(l=s),Nl(e,i,l)}},df)}function Hw(e,t){var n=-1,o=Oo(e)?Array(e.length):[];return Iw(e,function(r,s,i){o[++n]=t(r,s,i)}),o}function jw(e,t){var n=_t(e)?Wc:Hw;return n(e,Sw(t))}function Ww(e,t){return yl(jw(e,t),1)}function Sl(e){for(var t=-1,n=e==null?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}function zw(e,t){return As(e,t)}function Tl(e){return e==null}function Kw(e){return e===void 0}var Uw=wb(function(e,t,n){Ff(e,t,n)});const Vf=Uw;function Bf(e,t,n,o){if(!Ct(e))return e;t=xs(t,e);for(var r=-1,s=t.length,i=s-1,l=e;l!=null&&++r<s;){var a=mr(t[r]),u=n;if(a==="__proto__"||a==="constructor"||a==="prototype")return e;if(r!=i){var c=l[a];u=o?o(c,a,l):void 0,u===void 0&&(u=Ct(c)?c:_s(t[r+1])?[]:{})}Zc(l,a,u),l=l[a]}return e}function qw(e,t,n){for(var o=-1,r=t.length,s={};++o<r;){var i=t[o],l=bl(e,i);n(l,i)&&Bf(s,xs(i,e),l)}return s}function Gw(e,t){return qw(e,t,function(n,o){return Mf(e,o)})}var Yw=n0(function(e,t){return e==null?{}:Gw(e,t)});const Xw=Yw;function Jw(e,t,n){return e==null?e:Bf(e,t,n)}const yr=e=>e===void 0,oo=e=>typeof e=="boolean",Vt=e=>typeof e=="number",No=e=>typeof Element>"u"?!1:e instanceof Element,Zw=e=>_e(e)?!Number.isNaN(Number(e)):!1,Hf=e=>Object.keys(e),Qw=(e,t,n)=>({get value(){return br(e,t,n)},set value(o){Jw(e,t,o)}});class jf extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Wf(e,t){throw new jf(`[${e}] ${t}`)}function Bt(e,t){if(process.env.NODE_ENV!=="production"){const n=_e(e)?new jf(`[${e}] ${t}`):e;console.warn(n)}}const eE="utils/dom/style",zf=(e="")=>e.split(" ").filter(t=>!!t.trim()),Rs=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Is=(e,t)=>{!e||!t.trim()||e.classList.add(...zf(t))},ro=(e,t)=>{!e||!t.trim()||e.classList.remove(...zf(t))},wr=(e,t)=>{var n;if(!Ge||!e||!t)return"";let o=It(t);o==="float"&&(o="cssFloat");try{const r=e.style[o];if(r)return r;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[o]:""}catch{return e.style[o]}};function Er(e,t="px"){if(!e)return"";if(Vt(e)||Zw(e))return`${e}${t}`;if(_e(e))return e;Bt(eE,"binding value must be a string or number")}/*! Element Plus Icons Vue v2.1.0 */var xo=(e,t)=>{let n=e.__vccOpts||e;for(let[o,r]of t)n[o]=r;return n},tE={name:"ArrowDown"},nE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},oE=Re("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),rE=[oE];function sE(e,t,n,o,r,s){return K(),ce("svg",nE,rE)}var iE=xo(tE,[["render",sE],["__file","arrow-down.vue"]]),lE={name:"ArrowRight"},aE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},uE=Re("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),cE=[uE];function fE(e,t,n,o,r,s){return K(),ce("svg",aE,cE)}var Kf=xo(lE,[["render",fE],["__file","arrow-right.vue"]]),dE={name:"ArrowUp"},pE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},hE=Re("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),vE=[hE];function gE(e,t,n,o,r,s){return K(),ce("svg",pE,vE)}var mE=xo(dE,[["render",gE],["__file","arrow-up.vue"]]),bE={name:"Loading"},yE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wE=Re("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),EE=[wE];function _E(e,t,n,o,r,s){return K(),ce("svg",yE,EE)}var Uf=xo(bE,[["render",_E],["__file","loading.vue"]]),CE={name:"MoreFilled"},OE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},NE=Re("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),xE=[NE];function SE(e,t,n,o,r,s){return K(),ce("svg",OE,xE)}var TE=xo(CE,[["render",SE],["__file","more-filled.vue"]]),$E={name:"QuestionFilled"},AE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},PE=Re("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),RE=[PE];function IE(e,t,n,o,r,s){return K(),ce("svg",AE,RE)}var kE=xo($E,[["render",IE],["__file","question-filled.vue"]]);const qf="__epPropKey",Ce=e=>e,DE=e=>de(e)&&!!e[qf],ks=(e,t)=>{if(!de(e)||DE(e))return e;const{values:n,required:o,default:r,type:s,validator:i}=e,a={type:s,required:!!o,validator:n||i?u=>{let c=!1,f=[];if(n&&(f=Array.from(n),ue(e,"default")&&f.push(r),c||(c=f.includes(u))),i&&(c||(c=i(u))),!c&&f.length>0){const d=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");F(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${d}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[qf]:!0};return ue(e,"default")&&(a.default=r),a},Ye=e=>Sl(Object.entries(e).map(([t,n])=>[t,ks(n,t)])),Ds=Ce([String,Object,Function]),an=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t??{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},ME=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Ms=e=>(e.install=Ue,e),Ls={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"},Fs="update:modelValue",LE=["","default","small","large"],FE=e=>Ge?window.requestAnimationFrame(e):setTimeout(e,16),VE=({from:e,replacement:t,scope:n,version:o,ref:r,type:s="API"},i)=>{ve(()=>w(i),l=>{l&&Bt(n,`[${s}] ${e} is about to be deprecated in version ${o}, please use ${t} instead.
9
+ For more detail, please visit: ${r}
10
+ `)},{immediate:!0})};var BE={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 HE=e=>(t,n)=>jE(t,n,w(e)),jE=(e,t,n)=>br(n,e,e).replace(/\{(\w+)\}/g,(o,r)=>{var s;return`${(s=t==null?void 0:t[r])!=null?s:`{${r}}`}`}),WE=e=>{const t=P(()=>w(e).name),n=Pe(e)?e:A(e);return{lang:t,locale:n,t:HE(e)}},Gf=Symbol("localeContextKey"),Vs=e=>{const t=e||ye(Gf,A());return WE(P(()=>t.value||BE))},Bs="el",zE="is-",so=(e,t,n,o,r)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),o&&(s+=`__${o}`),r&&(s+=`--${r}`),s},Yf=Symbol("namespaceContextKey"),$l=e=>{const t=e||(Le()?ye(Yf,A(Bs)):A(Bs));return P(()=>w(t)||Bs)},Ie=(e,t)=>{const n=$l(t);return{namespace:n,b:(v="")=>so(n.value,e,v,"",""),e:v=>v?so(n.value,e,"",v,""):"",m:v=>v?so(n.value,e,"","",v):"",be:(v,g)=>v&&g?so(n.value,e,v,g,""):"",em:(v,g)=>v&&g?so(n.value,e,"",v,g):"",bm:(v,g)=>v&&g?so(n.value,e,v,"",g):"",bem:(v,g,m)=>v&&g&&m?so(n.value,e,v,g,m):"",is:(v,...g)=>{const m=g.length>=1?g[0]:!0;return v&&m?`${zE}${v}`:""},cssVar:v=>{const g={};for(const m in v)v[m]&&(g[`--${n.value}-${m}`]=v[m]);return g},cssVarName:v=>`--${n.value}-${v}`,cssVarBlock:v=>{const g={};for(const m in v)v[m]&&(g[`--${n.value}-${e}-${m}`]=v[m]);return g},cssVarBlockName:v=>`--${n.value}-${e}-${v}`}},KE=ks({type:Ce(Boolean),default:null}),UE=ks({type:Ce(Function)}),Xf=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:KE,[n]:UE};return{useModelToggle:({indicator:i,toggleReason:l,shouldHideWhenRouteChanges:a,shouldProceed:u,onShow:c,onHide:f})=>{const d=Le(),{emit:h}=d,p=d.props,v=P(()=>oe(p[n])),g=P(()=>p[e]===null),m=E=>{i.value!==!0&&(i.value=!0,l&&(l.value=E),oe(c)&&c(E))},_=E=>{i.value!==!1&&(i.value=!1,l&&(l.value=E),oe(f)&&f(E))},N=E=>{if(p.disabled===!0||oe(u)&&!u())return;const x=v.value&&Ge;x&&h(t,!0),(g.value||!x)&&m(E)},b=E=>{if(p.disabled===!0||!Ge)return;const x=v.value&&Ge;x&&h(t,!1),(g.value||!x)&&_(E)},O=E=>{oo(E)&&(p.disabled&&E?v.value&&h(t,!1):i.value!==E&&(E?m():_()))},S=()=>{i.value?b():N()};return ve(()=>p[e],O),a&&d.appContext.config.globalProperties.$route!==void 0&&ve(()=>({...d.proxy.$route}),()=>{a.value&&i.value&&b()}),et(()=>{O(p[e])}),{hide:b,show:N,toggle:S,hasUpdateHandler:v}},useModelToggleProps:r,useModelToggleEmits:o}};Xf("modelValue");const Jf=e=>{const t=Le();return P(()=>{var n,o;return(o=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:o[e]})};var ht="top",$t="bottom",At="right",vt="left",Al="auto",_r=[ht,$t,At,vt],So="start",Cr="end",qE="clippingParents",Zf="viewport",Or="popper",GE="reference",Qf=_r.reduce(function(e,t){return e.concat([t+"-"+So,t+"-"+Cr])},[]),Pl=[].concat(_r,[Al]).reduce(function(e,t){return e.concat([t,t+"-"+So,t+"-"+Cr])},[]),YE="beforeRead",XE="read",JE="afterRead",ZE="beforeMain",QE="main",e_="afterMain",t_="beforeWrite",n_="write",o_="afterWrite",r_=[YE,XE,JE,ZE,QE,e_,t_,n_,o_];function Jt(e){return e?(e.nodeName||"").toLowerCase():null}function Ht(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function To(e){var t=Ht(e).Element;return e instanceof t||e instanceof Element}function Pt(e){var t=Ht(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Rl(e){if(typeof ShadowRoot>"u")return!1;var t=Ht(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function s_(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},s=t.elements[n];!Pt(s)||!Jt(s)||(Object.assign(s.style,o),Object.keys(r).forEach(function(i){var l=r[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function i_(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(o){var r=t.elements[o],s=t.attributes[o]||{},i=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),l=i.reduce(function(a,u){return a[u]="",a},{});!Pt(r)||!Jt(r)||(Object.assign(r.style,l),Object.keys(s).forEach(function(a){r.removeAttribute(a)}))})}}var ed={name:"applyStyles",enabled:!0,phase:"write",fn:s_,effect:i_,requires:["computeStyles"]};function Zt(e){return e.split("-")[0]}var io=Math.max,Hs=Math.min,$o=Math.round;function Ao(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(Pt(e)&&t){var s=e.offsetHeight,i=e.offsetWidth;i>0&&(o=$o(n.width)/i||1),s>0&&(r=$o(n.height)/s||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function Il(e){var t=Ao(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function td(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Rl(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function un(e){return Ht(e).getComputedStyle(e)}function l_(e){return["table","td","th"].indexOf(Jt(e))>=0}function Sn(e){return((To(e)?e.ownerDocument:e.document)||window.document).documentElement}function js(e){return Jt(e)==="html"?e:e.assignedSlot||e.parentNode||(Rl(e)?e.host:null)||Sn(e)}function nd(e){return!Pt(e)||un(e).position==="fixed"?null:e.offsetParent}function a_(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Pt(e)){var o=un(e);if(o.position==="fixed")return null}var r=js(e);for(Rl(r)&&(r=r.host);Pt(r)&&["html","body"].indexOf(Jt(r))<0;){var s=un(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function Nr(e){for(var t=Ht(e),n=nd(e);n&&l_(n)&&un(n).position==="static";)n=nd(n);return n&&(Jt(n)==="html"||Jt(n)==="body"&&un(n).position==="static")?t:n||a_(e)||t}function kl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xr(e,t,n){return io(e,Hs(t,n))}function u_(e,t,n){var o=xr(e,t,n);return o>n?n:o}function od(){return{top:0,right:0,bottom:0,left:0}}function rd(e){return Object.assign({},od(),e)}function sd(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var c_=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,rd(typeof e!="number"?e:sd(e,_r))};function f_(e){var t,n=e.state,o=e.name,r=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Zt(n.placement),a=kl(l),u=[vt,At].indexOf(l)>=0,c=u?"height":"width";if(!(!s||!i)){var f=c_(r.padding,n),d=Il(s),h=a==="y"?ht:vt,p=a==="y"?$t:At,v=n.rects.reference[c]+n.rects.reference[a]-i[a]-n.rects.popper[c],g=i[a]-n.rects.reference[a],m=Nr(s),_=m?a==="y"?m.clientHeight||0:m.clientWidth||0:0,N=v/2-g/2,b=f[h],O=_-d[c]-f[p],S=_/2-d[c]/2+N,E=xr(b,S,O),x=a;n.modifiersData[o]=(t={},t[x]=E,t.centerOffset=E-S,t)}}function d_(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!td(t.elements.popper,r)||(t.elements.arrow=r))}var p_={name:"arrow",enabled:!0,phase:"main",fn:f_,effect:d_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Po(e){return e.split("-")[1]}var h_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function v_(e){var t=e.x,n=e.y,o=window,r=o.devicePixelRatio||1;return{x:$o(t*r)/r||0,y:$o(n*r)/r||0}}function id(e){var t,n=e.popper,o=e.popperRect,r=e.placement,s=e.variation,i=e.offsets,l=e.position,a=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=i.x,h=d===void 0?0:d,p=i.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var m=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),N=vt,b=ht,O=window;if(u){var S=Nr(n),E="clientHeight",x="clientWidth";if(S===Ht(n)&&(S=Sn(n),un(S).position!=="static"&&l==="absolute"&&(E="scrollHeight",x="scrollWidth")),S=S,r===ht||(r===vt||r===At)&&s===Cr){b=$t;var R=f&&S===O&&O.visualViewport?O.visualViewport.height:S[E];v-=R-o.height,v*=a?1:-1}if(r===vt||(r===ht||r===$t)&&s===Cr){N=At;var B=f&&S===O&&O.visualViewport?O.visualViewport.width:S[x];h-=B-o.width,h*=a?1:-1}}var W=Object.assign({position:l},u&&h_),T=c===!0?v_({x:h,y:v}):{x:h,y:v};if(h=T.x,v=T.y,a){var q;return Object.assign({},W,(q={},q[b]=_?"0":"",q[N]=m?"0":"",q.transform=(O.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",q))}return Object.assign({},W,(t={},t[b]=_?v+"px":"",t[N]=m?h+"px":"",t.transform="",t))}function g_(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,s=n.adaptive,i=s===void 0?!0:s,l=n.roundOffsets,a=l===void 0?!0:l,u={placement:Zt(t.placement),variation:Po(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,id(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,id(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ld={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:g_,data:{}},Ws={passive:!0};function m_(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,s=r===void 0?!0:r,i=o.resize,l=i===void 0?!0:i,a=Ht(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ws)}),l&&a.addEventListener("resize",n.update,Ws),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ws)}),l&&a.removeEventListener("resize",n.update,Ws)}}var ad={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:m_,data:{}},b_={left:"right",right:"left",bottom:"top",top:"bottom"};function zs(e){return e.replace(/left|right|bottom|top/g,function(t){return b_[t]})}var y_={start:"end",end:"start"};function ud(e){return e.replace(/start|end/g,function(t){return y_[t]})}function Dl(e){var t=Ht(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function Ml(e){return Ao(Sn(e)).left+Dl(e).scrollLeft}function w_(e){var t=Ht(e),n=Sn(e),o=t.visualViewport,r=n.clientWidth,s=n.clientHeight,i=0,l=0;return o&&(r=o.width,s=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=o.offsetLeft,l=o.offsetTop)),{width:r,height:s,x:i+Ml(e),y:l}}function E_(e){var t,n=Sn(e),o=Dl(e),r=(t=e.ownerDocument)==null?void 0:t.body,s=io(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=io(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+Ml(e),a=-o.scrollTop;return un(r||n).direction==="rtl"&&(l+=io(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function Ll(e){var t=un(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function cd(e){return["html","body","#document"].indexOf(Jt(e))>=0?e.ownerDocument.body:Pt(e)&&Ll(e)?e:cd(js(e))}function Sr(e,t){var n;t===void 0&&(t=[]);var o=cd(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ht(o),i=r?[s].concat(s.visualViewport||[],Ll(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(Sr(js(i)))}function Fl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function __(e){var t=Ao(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 fd(e,t){return t===Zf?Fl(w_(e)):To(t)?__(t):Fl(E_(Sn(e)))}function C_(e){var t=Sr(js(e)),n=["absolute","fixed"].indexOf(un(e).position)>=0,o=n&&Pt(e)?Nr(e):e;return To(o)?t.filter(function(r){return To(r)&&td(r,o)&&Jt(r)!=="body"}):[]}function O_(e,t,n){var o=t==="clippingParents"?C_(e):[].concat(t),r=[].concat(o,[n]),s=r[0],i=r.reduce(function(l,a){var u=fd(e,a);return l.top=io(u.top,l.top),l.right=Hs(u.right,l.right),l.bottom=Hs(u.bottom,l.bottom),l.left=io(u.left,l.left),l},fd(e,s));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function dd(e){var t=e.reference,n=e.element,o=e.placement,r=o?Zt(o):null,s=o?Po(o):null,i=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(r){case ht:a={x:i,y:t.y-n.height};break;case $t:a={x:i,y:t.y+t.height};break;case At:a={x:t.x+t.width,y:l};break;case vt:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var u=r?kl(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case So:a[u]=a[u]-(t[c]/2-n[c]/2);break;case Cr:a[u]=a[u]+(t[c]/2-n[c]/2);break}}return a}function Tr(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,s=n.boundary,i=s===void 0?qE:s,l=n.rootBoundary,a=l===void 0?Zf:l,u=n.elementContext,c=u===void 0?Or:u,f=n.altBoundary,d=f===void 0?!1:f,h=n.padding,p=h===void 0?0:h,v=rd(typeof p!="number"?p:sd(p,_r)),g=c===Or?GE:Or,m=e.rects.popper,_=e.elements[d?g:c],N=O_(To(_)?_:_.contextElement||Sn(e.elements.popper),i,a),b=Ao(e.elements.reference),O=dd({reference:b,element:m,strategy:"absolute",placement:r}),S=Fl(Object.assign({},m,O)),E=c===Or?S:b,x={top:N.top-E.top+v.top,bottom:E.bottom-N.bottom+v.bottom,left:N.left-E.left+v.left,right:E.right-N.right+v.right},R=e.modifiersData.offset;if(c===Or&&R){var B=R[r];Object.keys(x).forEach(function(W){var T=[At,$t].indexOf(W)>=0?1:-1,q=[ht,$t].indexOf(W)>=0?"y":"x";x[W]+=B[q]*T})}return x}function N_(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,s=n.rootBoundary,i=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,u=a===void 0?Pl:a,c=Po(o),f=c?l?Qf:Qf.filter(function(p){return Po(p)===c}):_r,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]=Tr(e,{placement:v,boundary:r,rootBoundary:s,padding:i})[Zt(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function x_(e){if(Zt(e)===Al)return[];var t=zs(e);return[ud(e),t,ud(t)]}function S_(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,s=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!0:i,a=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,g=t.options.placement,m=Zt(g),_=m===g,N=a||(_||!p?[zs(g)]:x_(g)),b=[g].concat(N).reduce(function(Se,He){return Se.concat(Zt(He)===Al?N_(t,{placement:He,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):He)},[]),O=t.rects.reference,S=t.rects.popper,E=new Map,x=!0,R=b[0],B=0;B<b.length;B++){var W=b[B],T=Zt(W),q=Po(W)===So,ne=[ht,$t].indexOf(T)>=0,le=ne?"width":"height",ee=Tr(t,{placement:W,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),L=ne?q?At:vt:q?$t:ht;O[le]>S[le]&&(L=zs(L));var Y=zs(L),I=[];if(s&&I.push(ee[T]<=0),l&&I.push(ee[L]<=0,ee[Y]<=0),I.every(function(Se){return Se})){R=W,x=!1;break}E.set(W,I)}if(x)for(var J=p?3:1,pe=function(Se){var He=b.find(function(Ke){var je=E.get(Ke);if(je)return je.slice(0,Se).every(function(Fe){return Fe})});if(He)return R=He,"break"},Ee=J;Ee>0;Ee--){var Ne=pe(Ee);if(Ne==="break")break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}}var T_={name:"flip",enabled:!0,phase:"main",fn:S_,requiresIfExists:["offset"],data:{_skip:!1}};function pd(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 hd(e){return[ht,At,$t,vt].some(function(t){return e[t]>=0})}function $_(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,i=Tr(t,{elementContext:"reference"}),l=Tr(t,{altBoundary:!0}),a=pd(i,o),u=pd(l,r,s),c=hd(a),f=hd(u);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var A_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$_};function P_(e,t,n){var o=Zt(e),r=[vt,ht].indexOf(o)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=s[0],l=s[1];return i=i||0,l=(l||0)*r,[vt,At].indexOf(o)>=0?{x:l,y:i}:{x:i,y:l}}function R_(e){var t=e.state,n=e.options,o=e.name,r=n.offset,s=r===void 0?[0,0]:r,i=Pl.reduce(function(c,f){return c[f]=P_(f,t.rects,s),c},{}),l=i[t.placement],a=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=i}var I_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:R_};function k_(e){var t=e.state,n=e.name;t.modifiersData[n]=dd({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var vd={name:"popperOffsets",enabled:!0,phase:"read",fn:k_,data:{}};function D_(e){return e==="x"?"y":"x"}function M_(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,s=r===void 0?!0:r,i=n.altAxis,l=i===void 0?!1:i,a=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,g=Tr(t,{boundary:a,rootBoundary:u,padding:f,altBoundary:c}),m=Zt(t.placement),_=Po(t.placement),N=!_,b=kl(m),O=D_(b),S=t.modifiersData.popperOffsets,E=t.rects.reference,x=t.rects.popper,R=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,B=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(s){var q,ne=b==="y"?ht:vt,le=b==="y"?$t:At,ee=b==="y"?"height":"width",L=S[b],Y=L+g[ne],I=L-g[le],J=h?-x[ee]/2:0,pe=_===So?E[ee]:x[ee],Ee=_===So?-x[ee]:-E[ee],Ne=t.elements.arrow,Se=h&&Ne?Il(Ne):{width:0,height:0},He=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:od(),Ke=He[ne],je=He[le],Fe=xr(0,E[ee],Se[ee]),it=N?E[ee]/2-J-Fe-Ke-B.mainAxis:pe-Fe-Ke-B.mainAxis,Xe=N?-E[ee]/2+J+Fe+je+B.mainAxis:Ee+Fe+je+B.mainAxis,dn=t.elements.arrow&&Nr(t.elements.arrow),fo=dn?b==="y"?dn.clientTop||0:dn.clientLeft||0:0,y=(q=W==null?void 0:W[b])!=null?q:0,C=L+it-y-fo,$=L+Xe-y,D=xr(h?Hs(Y,C):Y,L,h?io(I,$):I);S[b]=D,T[b]=D-L}if(l){var k,H=b==="x"?ht:vt,z=b==="x"?$t:At,V=S[O],j=O==="y"?"height":"width",M=V+g[H],Z=V-g[z],X=[ht,vt].indexOf(m)!==-1,Q=(k=W==null?void 0:W[O])!=null?k:0,se=X?M:V-E[j]-x[j]-Q+B.altAxis,ge=X?V+E[j]+x[j]-Q-B.altAxis:Z,Te=h&&X?u_(se,V,ge):xr(h?se:M,V,h?ge:Z);S[O]=Te,T[O]=Te-V}t.modifiersData[o]=T}}var L_={name:"preventOverflow",enabled:!0,phase:"main",fn:M_,requiresIfExists:["offset"]};function F_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function V_(e){return e===Ht(e)||!Pt(e)?Dl(e):F_(e)}function B_(e){var t=e.getBoundingClientRect(),n=$o(t.width)/e.offsetWidth||1,o=$o(t.height)/e.offsetHeight||1;return n!==1||o!==1}function H_(e,t,n){n===void 0&&(n=!1);var o=Pt(t),r=Pt(t)&&B_(t),s=Sn(t),i=Ao(e,r),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!n)&&((Jt(t)!=="body"||Ll(s))&&(l=V_(t)),Pt(t)?(a=Ao(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=Ml(s))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function j_(e){var t=new Map,n=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function r(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&r(a)}}),o.push(s)}return e.forEach(function(s){n.has(s.name)||r(s)}),o}function W_(e){var t=j_(e);return r_.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function z_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function K_(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var gd={placement:"bottom",modifiers:[],strategy:"absolute"};function md(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Vl(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,r=t.defaultOptions,s=r===void 0?gd:r;return function(i,l,a){a===void 0&&(a=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},gd,s),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},c=[],f=!1,d={state:u,setOptions:function(v){var g=typeof v=="function"?v(u.options):v;p(),u.options=Object.assign({},s,u.options,g),u.scrollParents={reference:To(i)?Sr(i):i.contextElement?Sr(i.contextElement):[],popper:Sr(l)};var m=W_(K_([].concat(o,u.options.modifiers)));return u.orderedModifiers=m.filter(function(_){return _.enabled}),h(),d.update()},forceUpdate:function(){if(!f){var v=u.elements,g=v.reference,m=v.popper;if(md(g,m)){u.rects={reference:H_(g,Nr(m),u.options.strategy==="fixed"),popper:Il(m)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(x){return u.modifiersData[x.name]=Object.assign({},x.data)});for(var _=0;_<u.orderedModifiers.length;_++){if(u.reset===!0){u.reset=!1,_=-1;continue}var N=u.orderedModifiers[_],b=N.fn,O=N.options,S=O===void 0?{}:O,E=N.name;typeof b=="function"&&(u=b({state:u,options:S,name:E,instance:d})||u)}}}},update:z_(function(){return new Promise(function(v){d.forceUpdate(),v(u)})}),destroy:function(){p(),f=!0}};if(!md(i,l))return d;d.setOptions(a).then(function(v){!f&&a.onFirstUpdate&&a.onFirstUpdate(v)});function h(){u.orderedModifiers.forEach(function(v){var g=v.name,m=v.options,_=m===void 0?{}:m,N=v.effect;if(typeof N=="function"){var b=N({state:u,name:g,instance:d,options:_}),O=function(){};c.push(b||O)}})}function p(){c.forEach(function(v){return v()}),c=[]}return d}}Vl();var U_=[ad,vd,ld,ed];Vl({defaultModifiers:U_});var q_=[ad,vd,ld,ed,I_,T_,L_,p_,A_],bd=Vl({defaultModifiers:q_});const G_=(e,t,n={})=>{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:a})=>{const u=Y_(a);Object.assign(i.value,u)},requires:["computeStyles"]},r=P(()=>{const{onFirstUpdate:a,placement:u,strategy:c,modifiers:f}=w(n);return{onFirstUpdate:a,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),s=kh(),i=A({styles:{popper:{position:w(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return ve(r,a=>{const u=w(s);u&&u.setOptions(a)},{deep:!0}),ve([e,t],([a,u])=>{l(),!(!a||!u)&&(s.value=bd(a,u,w(r)))}),Et(()=>{l()}),{state:P(()=>{var a;return{...((a=w(s))==null?void 0:a.state)||{}}}),styles:P(()=>w(i).styles),attributes:P(()=>w(i).attributes),update:()=>{var a;return(a=w(s))==null?void 0:a.update()},forceUpdate:()=>{var a;return(a=w(s))==null?void 0:a.forceUpdate()},instanceRef:P(()=>w(s))}};function Y_(e){const t=Object.keys(e.elements),n=Sl(t.map(r=>[r,e.styles[r]||{}])),o=Sl(t.map(r=>[r,e.attributes[r]]));return{styles:n,attributes:o}}function yd(){let e;const t=(o,r)=>{n(),e=window.setTimeout(o,r)},n=()=>window.clearTimeout(e);return ol(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Bl={prefix:Math.floor(Math.random()*1e4),current:0},X_=Symbol("elIdInjection"),wd=()=>Le()?ye(X_,Bl):Bl,Ed=e=>{const t=wd();!Ge&&t===Bl&&Bt("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
11
+ usage: app.provide(ID_INJECTION_KEY, {
12
+ prefix: number,
13
+ current: number,
14
+ })`);const n=$l();return P(()=>w(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Ro=[];const _d=e=>{const t=e;t.key===Ls.esc&&Ro.forEach(n=>n(t))},J_=e=>{et(()=>{Ro.length===0&&document.addEventListener("keydown",_d),Ge&&Ro.push(e)}),Et(()=>{Ro=Ro.filter(t=>t!==e),Ro.length===0&&Ge&&document.removeEventListener("keydown",_d)})};let Cd;const Od=()=>{const e=$l(),t=wd(),n=P(()=>`${e.value}-popper-container-${t.prefix}`),o=P(()=>`#${n.value}`);return{id:n,selector:o}},Z_=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Q_=()=>{const{id:e,selector:t}=Od();return ls(()=>{Ge&&(process.env.NODE_ENV==="test"||!Cd&&!document.body.querySelector(t.value))&&(Cd=Z_(e.value))}),{id:e,selector:t}},eC=Ye({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Nd=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:s}=yd(),{registerTimeout:i,cancelTimeout:l}=yd();return{onOpen:c=>{s(()=>{o(c);const f=w(n);Vt(f)&&f>0&&i(()=>{r(c)},f)},w(e))},onClose:c=>{l(),s(()=>{r(c)},w(t))}}},xd=Symbol("elForwardRef"),tC=e=>{dt(xd,{setForwardRef:n=>{e.value=n}})},nC=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Sd=A(0),Td=2e3,$d=Symbol("zIndexContextKey"),Hl=e=>{const t=e||(Le()?ye($d,void 0):void 0),n=P(()=>{const s=w(t);return Vt(s)?s:Td}),o=P(()=>n.value+Sd.value);return{initialZIndex:n,currentZIndex:o,nextZIndex:()=>(Sd.value++,o.value)}},Ks=ks({type:String,values:LE,required:!1}),Ad=Symbol("size"),oC=()=>{const e=ye(Ad,{});return P(()=>w(e.size)||"")},Pd=Symbol(),Us=A();function jl(e,t=void 0){const n=Le()?ye(Pd,Us):Us;return e?P(()=>{var o,r;return(r=(o=n.value)==null?void 0:o[e])!=null?r:t}):n}function rC(e,t){const n=jl(),o=Ie(e,P(()=>{var l;return((l=n.value)==null?void 0:l.namespace)||Bs})),r=Vs(P(()=>{var l;return(l=n.value)==null?void 0:l.locale})),s=Hl(P(()=>{var l;return((l=n.value)==null?void 0:l.zIndex)||Td})),i=P(()=>{var l;return w(t)||((l=n.value)==null?void 0:l.size)||""});return sC(P(()=>w(n)||{})),{ns:o,locale:r,zIndex:s,size:i}}const sC=(e,t,n=!1)=>{var o;const r=!!Le(),s=r?jl():void 0,i=(o=t==null?void 0:t.provide)!=null?o:r?dt:void 0;if(!i){Bt("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const l=P(()=>{const a=w(e);return s!=null&&s.value?iC(s.value,a):a});return i(Pd,l),i(Gf,P(()=>l.value.locale)),i(Yf,P(()=>l.value.namespace)),i($d,P(()=>l.value.zIndex)),i(Ad,{size:P(()=>l.value.size||"")}),(n||!Us.value)&&(Us.value=l.value),l},iC=(e,t)=>{var n;const o=[...new Set([...Hf(e),...Hf(t)])],r={};for(const s of o)r[s]=(n=t[s])!=null?n:e[s];return r};var We=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const lC=Ye({size:{type:Ce([Number,String])},color:{type:String}}),aC=ie({name:"ElIcon",inheritAttrs:!1}),uC=ie({...aC,props:lC,setup(e){const t=e,n=Ie("icon"),o=P(()=>{const{size:r,color:s}=t;return!r&&!s?{}:{fontSize:yr(r)?void 0:Er(r),"--color":s}});return(r,s)=>(K(),ce("i",En({class:w(n).b(),style:w(o)},r.$attrs),[Me(r.$slots,"default")],16))}});var cC=We(uC,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const lo=an(cC),Wl=Symbol("formContextKey"),qs=Symbol("formItemContextKey"),Gs=(e,t={})=>{const n=A(void 0),o=t.prop?n:Jf("size"),r=t.global?n:oC(),s=t.form?{size:void 0}:ye(Wl,void 0),i=t.formItem?{size:void 0}:ye(qs,void 0);return P(()=>o.value||w(e)||(i==null?void 0:i.size)||(s==null?void 0:s.size)||r.value||"")},zl=e=>{const t=Jf("disabled"),n=ye(Wl,void 0);return P(()=>t.value||w(e)||(n==null?void 0:n.disabled)||!1)},Ys=()=>{const e=ye(Wl,void 0),t=ye(qs,void 0);return{form:e,formItem:t}},Rd=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=A(!1)),o||(o=A(!1));const r=A();let s;const i=P(()=>{var l;return!!(!e.label&&t&&t.inputIds&&((l=t.inputIds)==null?void 0:l.length)<=1)});return et(()=>{s=ve([zt(e,"id"),n],([l,a])=>{const u=l??(a?void 0:Ed().value);u!==r.value&&(t!=null&&t.removeInputId&&(r.value&&t.removeInputId(r.value),!(o!=null&&o.value)&&!a&&u&&t.addInputId(u)),r.value=u)},{immediate:!0})}),yo(()=>{s&&s(),t!=null&&t.removeInputId&&r.value&&t.removeInputId(r.value)}),{isLabeledByFormItem:i,inputId:r}},Io=4,fC={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"}},dC=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),Id=Symbol("scrollbarContextKey"),pC=Ye({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),hC="Thumb";var kd=We(ie({__name:"thumb",props:pC,setup(e){const t=e,n=ye(Id),o=Ie("scrollbar");n||Wf(hC,"can not inject scrollbar context");const r=A(),s=A(),i=A({}),l=A(!1);let a=!1,u=!1,c=Ge?document.onselectstart:null;const f=P(()=>fC[t.vertical?"vertical":"horizontal"]),d=P(()=>dC({size:t.size,move:t.move,bar:f.value})),h=P(()=>r.value[f.value.offset]**2/n.wrapElement[f.value.scrollSize]/t.ratio/s.value[f.value.offset]),p=S=>{var E;if(S.stopPropagation(),S.ctrlKey||[1,2].includes(S.button))return;(E=window.getSelection())==null||E.removeAllRanges(),g(S);const x=S.currentTarget;x&&(i.value[f.value.axis]=x[f.value.offset]-(S[f.value.client]-x.getBoundingClientRect()[f.value.direction]))},v=S=>{if(!s.value||!r.value||!n.wrapElement)return;const E=Math.abs(S.target.getBoundingClientRect()[f.value.direction]-S[f.value.client]),x=s.value[f.value.offset]/2,R=(E-x)*100*h.value/r.value[f.value.offset];n.wrapElement[f.value.scroll]=R*n.wrapElement[f.value.scrollSize]/100},g=S=>{S.stopImmediatePropagation(),a=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",_),c=document.onselectstart,document.onselectstart=()=>!1},m=S=>{if(!r.value||!s.value||a===!1)return;const E=i.value[f.value.axis];if(!E)return;const x=(r.value.getBoundingClientRect()[f.value.direction]-S[f.value.client])*-1,R=s.value[f.value.offset]-E,B=(x-R)*100*h.value/r.value[f.value.offset];n.wrapElement[f.value.scroll]=B*n.wrapElement[f.value.scrollSize]/100},_=()=>{a=!1,i.value[f.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",_),O(),u&&(l.value=!1)},N=()=>{u=!1,l.value=!!t.size},b=()=>{u=!0,l.value=a};Et(()=>{O(),document.removeEventListener("mouseup",_)});const O=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Nn(zt(n,"scrollbarElement"),"mousemove",N),Nn(zt(n,"scrollbarElement"),"mouseleave",b),(S,E)=>(K(),Oe(ar,{name:w(o).b("fade"),persisted:""},{default:he(()=>[wt(Re("div",{ref_key:"instance",ref:r,class:re([w(o).e("bar"),w(o).is(w(f).key)]),onMousedown:v},[Re("div",{ref_key:"thumb",ref:s,class:re(w(o).e("thumb")),style:tt(w(d)),onMousedown:p},null,38)],34),[[ur,S.always||l.value]])]),_:1},8,["name"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const vC=Ye({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}});var gC=We(ie({__name:"bar",props:vC,setup(e,{expose:t}){const n=e,o=A(0),r=A(0);return t({handleScroll:i=>{if(i){const l=i.offsetHeight-Io,a=i.offsetWidth-Io;r.value=i.scrollTop*100/l*n.ratioY,o.value=i.scrollLeft*100/a*n.ratioX}}}),(i,l)=>(K(),ce(Ve,null,[we(kd,{move:o.value,ratio:i.ratioX,size:i.width,always:i.always},null,8,["move","ratio","size","always"]),we(kd,{move:r.value,ratio:i.ratioY,size:i.height,vertical:"",always:i.always},null,8,["move","ratio","size","always"])],64))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const mC=Ye({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Ce([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}}),bC={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Vt)},Kl="ElScrollbar",yC=ie({name:Kl}),wC=ie({...yC,props:mC,emits:bC,setup(e,{expose:t,emit:n}){const o=e,r=Ie("scrollbar");let s,i;const l=A(),a=A(),u=A(),c=A("0"),f=A("0"),d=A(),h=A(1),p=A(1),v=P(()=>{const E={};return o.height&&(E.height=Er(o.height)),o.maxHeight&&(E.maxHeight=Er(o.maxHeight)),[o.wrapStyle,E]}),g=P(()=>[o.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!o.native}]),m=P(()=>[r.e("view"),o.viewClass]),_=()=>{var E;a.value&&((E=d.value)==null||E.handleScroll(a.value),n("scroll",{scrollTop:a.value.scrollTop,scrollLeft:a.value.scrollLeft}))};function N(E,x){de(E)?a.value.scrollTo(E):Vt(E)&&Vt(x)&&a.value.scrollTo(E,x)}const b=E=>{if(!Vt(E)){Bt(Kl,"value must be a number");return}a.value.scrollTop=E},O=E=>{if(!Vt(E)){Bt(Kl,"value must be a number");return}a.value.scrollLeft=E},S=()=>{if(!a.value)return;const E=a.value.offsetHeight-Io,x=a.value.offsetWidth-Io,R=E**2/a.value.scrollHeight,B=x**2/a.value.scrollWidth,W=Math.max(R,o.minSize),T=Math.max(B,o.minSize);h.value=R/(E-R)/(W/(E-W)),p.value=B/(x-B)/(T/(x-T)),f.value=W+Io<E?`${W}px`:"",c.value=T+Io<x?`${T}px`:""};return ve(()=>o.noresize,E=>{E?(s==null||s(),i==null||i()):({stop:s}=sl(u,S),i=Nn("resize",S))},{immediate:!0}),ve(()=>[o.maxHeight,o.height],()=>{o.native||ut(()=>{var E;S(),a.value&&((E=d.value)==null||E.handleScroll(a.value))})}),dt(Id,go({scrollbarElement:l,wrapElement:a})),et(()=>{o.native||ut(()=>{S()})}),Ii(()=>S()),t({wrapRef:a,update:S,scrollTo:N,setScrollTop:b,setScrollLeft:O,handleScroll:_}),(E,x)=>(K(),ce("div",{ref_key:"scrollbarRef",ref:l,class:re(w(r).b())},[Re("div",{ref_key:"wrapRef",ref:a,class:re(w(g)),style:tt(w(v)),onScroll:_},[(K(),Oe(Wn(E.tag),{ref_key:"resizeRef",ref:u,class:re(w(m)),style:tt(E.viewStyle)},{default:he(()=>[Me(E.$slots,"default")]),_:3},8,["class","style"]))],38),E.native?ze("v-if",!0):(K(),Oe(gC,{key:0,ref_key:"barRef",ref:d,height:f.value,width:c.value,always:E.always,"ratio-x":p.value,"ratio-y":h.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var EC=We(wC,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const Dd=an(EC),Ul=Symbol("popper"),Md=Symbol("popperContent"),Ld=Ye({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),_C=ie({name:"ElPopper",inheritAttrs:!1}),CC=ie({..._C,props:Ld,setup(e,{expose:t}){const n=e,o=A(),r=A(),s=A(),i=A(),l=P(()=>n.role),a={triggerRef:o,popperInstanceRef:r,contentRef:s,referenceRef:i,role:l};return t(a),dt(Ul,a),(u,c)=>Me(u.$slots,"default")}});var OC=We(CC,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Fd=Ye({arrowOffset:{type:Number,default:5}}),NC=ie({name:"ElPopperArrow",inheritAttrs:!1}),xC=ie({...NC,props:Fd,setup(e,{expose:t}){const n=e,o=Ie("popper"),{arrowOffset:r,arrowRef:s,arrowStyle:i}=ye(Md,void 0);return ve(()=>n.arrowOffset,l=>{r.value=l}),Et(()=>{s.value=void 0}),t({arrowRef:s}),(l,a)=>(K(),ce("span",{ref_key:"arrowRef",ref:s,class:re(w(o).e("arrow")),style:tt(w(i)),"data-popper-arrow":""},null,6))}});var SC=We(xC,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const ql="ElOnlyChild",TC=ie({name:ql,setup(e,{slots:t,attrs:n}){var o;const r=ye(xd),s=nC((o=r==null?void 0:r.setForwardRef)!=null?o:Ue);return()=>{var i;const l=(i=t.default)==null?void 0:i.call(t,n);if(!l)return null;if(l.length>1)return Bt(ql,"requires exact only one valid child."),null;const a=Vd(l);return a?wt(Dt(a,n),[[s]]):(Bt(ql,"no valid child node found"),null)}}});function Vd(e){if(!e)return null;const t=e;for(const n of t){if(de(n))switch(n.type){case qe:continue;case Un:case"svg":return Bd(n);case Ve:return Vd(n.children);default:return n}return Bd(n)}return null}function Bd(e){const t=Ie("only-child");return we("span",{class:t.e("content")},[e])}const Hd=Ye({virtualRef:{type:Ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:Ce(Function)},onMouseleave:{type:Ce(Function)},onClick:{type:Ce(Function)},onKeydown:{type:Ce(Function)},onFocus:{type:Ce(Function)},onBlur:{type:Ce(Function)},onContextmenu:{type:Ce(Function)},id:String,open:Boolean}),$C=ie({name:"ElPopperTrigger",inheritAttrs:!1}),AC=ie({...$C,props:Hd,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=ye(Ul,void 0);tC(r);const s=P(()=>l.value?n.id:void 0),i=P(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),l=P(()=>{if(o&&o.value!=="tooltip")return o.value}),a=P(()=>l.value?`${n.open}`:void 0);let u;return et(()=>{ve(()=>n.virtualRef,c=>{c&&(r.value=On(c))},{immediate:!0}),ve(r,(c,f)=>{u==null||u(),u=void 0,No(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=ve([s,i,l,a],d=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,p)=>{Tl(d[p])?c.removeAttribute(h):c.setAttribute(h,d[p])})},{immediate:!0})),No(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(d=>f.removeAttribute(d))},{immediate:!0})}),Et(()=>{u==null||u(),u=void 0}),t({triggerRef:r}),(c,f)=>c.virtualTriggering?ze("v-if",!0):(K(),Oe(w(TC),En({key:0},c.$attrs,{"aria-controls":w(s),"aria-describedby":w(i),"aria-expanded":w(a),"aria-haspopup":w(l)}),{default:he(()=>[Me(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var PC=We(AC,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Gl="focus-trap.focus-after-trapped",Yl="focus-trap.focus-after-released",RC="focus-trap.focusout-prevented",jd={cancelable:!0,bubbles:!1},IC={cancelable:!0,bubbles:!1},Wd="focusAfterTrapped",zd="focusAfterReleased",kC=Symbol("elFocusTrap"),Xl=A(),Xs=A(0),Jl=A(0);let Js=0;const Kd=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Ud=(e,t)=>{for(const n of e)if(!DC(n,t))return n},DC=(e,t)=>{if(process.env.NODE_ENV==="test")return!1;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},MC=e=>{const t=Kd(e),n=Ud(t,e),o=Ud(t.reverse(),e);return[n,o]},LC=e=>e instanceof HTMLInputElement&&"select"in e,Tn=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),Jl.value=window.performance.now(),e!==n&&LC(e)&&t&&e.select()}};function qd(e,t){const n=[...e],o=e.indexOf(t);return o!==-1&&n.splice(o,1),n}const FC=()=>{let e=[];return{push:o=>{const r=e[0];r&&o!==r&&r.pause(),e=qd(e,o),e.unshift(o)},remove:o=>{var r,s;e=qd(e,o),(s=(r=e[0])==null?void 0:r.resume)==null||s.call(r)}}},VC=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(Tn(o,t),document.activeElement!==n)return},Gd=FC(),BC=()=>Xs.value>Jl.value,Zs=()=>{Xl.value="pointer",Xs.value=window.performance.now()},Yd=()=>{Xl.value="keyboard",Xs.value=window.performance.now()},HC=()=>(et(()=>{Js===0&&(document.addEventListener("mousedown",Zs),document.addEventListener("touchstart",Zs),document.addEventListener("keydown",Yd)),Js++}),Et(()=>{Js--,Js<=0&&(document.removeEventListener("mousedown",Zs),document.removeEventListener("touchstart",Zs),document.removeEventListener("keydown",Yd))}),{focusReason:Xl,lastUserFocusTimestamp:Xs,lastAutomatedFocusTimestamp:Jl}),Qs=e=>new CustomEvent(RC,{...IC,detail:e}),jC=ie({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Wd,zd,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=A();let o,r;const{focusReason:s}=HC();J_(p=>{e.trapped&&!i.paused&&t("release-requested",p)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=p=>{if(!e.loop&&!e.trapped||i.paused)return;const{key:v,altKey:g,ctrlKey:m,metaKey:_,currentTarget:N,shiftKey:b}=p,{loop:O}=e,S=v===Ls.tab&&!g&&!m&&!_,E=document.activeElement;if(S&&E){const x=N,[R,B]=MC(x);if(R&&B){if(!b&&E===B){const T=Qs({focusReason:s.value});t("focusout-prevented",T),T.defaultPrevented||(p.preventDefault(),O&&Tn(R,!0))}else if(b&&[R,x].includes(E)){const T=Qs({focusReason:s.value});t("focusout-prevented",T),T.defaultPrevented||(p.preventDefault(),O&&Tn(B,!0))}}else if(E===x){const T=Qs({focusReason:s.value});t("focusout-prevented",T),T.defaultPrevented||p.preventDefault()}}};dt(kC,{focusTrapRef:n,onKeydown:l}),ve(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),ve([n],([p],[v])=>{p&&(p.addEventListener("keydown",l),p.addEventListener("focusin",c),p.addEventListener("focusout",f)),v&&(v.removeEventListener("keydown",l),v.removeEventListener("focusin",c),v.removeEventListener("focusout",f))});const a=p=>{t(Wd,p)},u=p=>t(zd,p),c=p=>{const v=w(n);if(!v)return;const g=p.target,m=p.relatedTarget,_=g&&v.contains(g);e.trapped||m&&v.contains(m)||(o=m),_&&t("focusin",p),!i.paused&&e.trapped&&(_?r=g:Tn(r,!0))},f=p=>{const v=w(n);if(!(i.paused||!v))if(e.trapped){const g=p.relatedTarget;!Tl(g)&&!v.contains(g)&&setTimeout(()=>{if(!i.paused&&e.trapped){const m=Qs({focusReason:s.value});t("focusout-prevented",m),m.defaultPrevented||Tn(r,!0)}},0)}else{const g=p.target;g&&v.contains(g)||t("focusout",p)}};async function d(){await ut();const p=w(n);if(p){Gd.push(i);const v=p.contains(document.activeElement)?o:document.activeElement;if(o=v,!p.contains(v)){const m=new Event(Gl,jd);p.addEventListener(Gl,a),p.dispatchEvent(m),m.defaultPrevented||ut(()=>{let _=e.focusStartEl;_e(_)||(Tn(_),document.activeElement!==_&&(_="first")),_==="first"&&VC(Kd(p),!0),(document.activeElement===v||_==="container")&&Tn(p)})}}}function h(){const p=w(n);if(p){p.removeEventListener(Gl,a);const v=new CustomEvent(Yl,{...jd,detail:{focusReason:s.value}});p.addEventListener(Yl,u),p.dispatchEvent(v),!v.defaultPrevented&&(s.value=="keyboard"||!BC()||p.contains(document.activeElement))&&Tn(o??document.body),p.removeEventListener(Yl,u),Gd.remove(i)}}return et(()=>{e.trapped&&d(),ve(()=>e.trapped,p=>{p?d():h()})}),Et(()=>{e.trapped&&h()}),{onKeydown:l}}});function WC(e,t,n,o,r,s){return Me(e.$slots,"default",{handleKeydown:e.onKeydown})}var zC=We(jC,[["render",WC],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const KC=["fixed","absolute"],UC=Ye({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Ce(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Pl,default:"bottom"},popperOptions:{type:Ce(Object),default:()=>({})},strategy:{type:String,values:KC,default:"absolute"}}),Xd=Ye({...UC,id:String,style:{type:Ce([String,Array,Object])},className:{type:Ce([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:Ce([String,Array,Object])},popperStyle:{type:Ce([String,Array,Object])},referenceEl:{type:Ce(Object)},triggerTargetEl:{type:Ce(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),qC={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},GC=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,s={placement:n,strategy:o,...r,modifiers:[...XC(e),...t]};return JC(s,r==null?void 0:r.modifiers),s},YC=e=>{if(Ge)return On(e)};function XC(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=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:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function JC(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const ZC=0,QC=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=ye(Ul,void 0),s=A(),i=A(),l=P(()=>({name:"eventListeners",enabled:!!e.visible})),a=P(()=>{var m;const _=w(s),N=(m=w(i))!=null?m:ZC;return{name:"arrow",enabled:!Kw(_),options:{element:_,padding:N}}}),u=P(()=>({onFirstUpdate:()=>{p()},...GC(e,[w(a),w(l)])})),c=P(()=>YC(e.referenceEl)||w(o)),{attributes:f,state:d,styles:h,update:p,forceUpdate:v,instanceRef:g}=G_(c,n,u);return ve(g,m=>t.value=m),et(()=>{ve(()=>{var m;return(m=w(c))==null?void 0:m.getBoundingClientRect()},()=>{p()})}),{attributes:f,arrowRef:s,contentRef:n,instanceRef:g,state:d,styles:h,role:r,forceUpdate:v,update:p}},e1=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=Hl(),s=Ie("popper"),i=P(()=>w(t).popper),l=A(e.zIndex||r()),a=P(()=>[s.b(),s.is("pure",e.pure),s.is(e.effect),e.popperClass]),u=P(()=>[{zIndex:w(l)},w(n).popper,e.popperStyle||{}]),c=P(()=>o.value==="dialog"?"false":void 0),f=P(()=>w(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:i,contentClass:a,contentStyle:u,contentZIndex:l,updateZIndex:()=>{l.value=e.zIndex||r()}}},t1=(e,t)=>{const n=A(!1),o=A();return{focusStartRef:o,trapped:n,onFocusAfterReleased:u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(o.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")}}},n1=ie({name:"ElPopperContent"}),o1=ie({...n1,props:Xd,emits:qC,setup(e,{expose:t,emit:n}){const o=e,{focusStartRef:r,trapped:s,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:a,onFocusoutPrevented:u,onReleaseRequested:c}=t1(o,n),{attributes:f,arrowRef:d,contentRef:h,styles:p,instanceRef:v,role:g,update:m}=QC(o),{ariaModal:_,arrowStyle:N,contentAttrs:b,contentClass:O,contentStyle:S,updateZIndex:E}=e1(o,{styles:p,attributes:f,role:g}),x=ye(qs,void 0),R=A();dt(Md,{arrowStyle:N,arrowRef:d,arrowOffset:R}),x&&(x.addInputId||x.removeInputId)&&dt(qs,{...x,addInputId:Ue,removeInputId:Ue});let B;const W=(q=!0)=>{m(),q&&E()},T=()=>{W(!1),o.visible&&o.focusOnShow?s.value=!0:o.visible===!1&&(s.value=!1)};return et(()=>{ve(()=>o.triggerTargetEl,(q,ne)=>{B==null||B(),B=void 0;const le=w(q||h.value),ee=w(ne||h.value);No(le)&&(B=ve([g,()=>o.ariaLabel,_,()=>o.id],L=>{["role","aria-label","aria-modal","id"].forEach((Y,I)=>{Tl(L[I])?le.removeAttribute(Y):le.setAttribute(Y,L[I])})},{immediate:!0})),ee!==le&&No(ee)&&["role","aria-label","aria-modal","id"].forEach(L=>{ee.removeAttribute(L)})},{immediate:!0}),ve(()=>o.visible,T,{immediate:!0})}),Et(()=>{B==null||B(),B=void 0}),t({popperContentRef:h,popperInstanceRef:v,updatePopper:W,contentStyle:S}),(q,ne)=>(K(),ce("div",En({ref_key:"contentRef",ref:h},w(b),{style:w(S),class:w(O),tabindex:"-1",onMouseenter:ne[0]||(ne[0]=le=>q.$emit("mouseenter",le)),onMouseleave:ne[1]||(ne[1]=le=>q.$emit("mouseleave",le))}),[we(w(zC),{trapped:w(s),"trap-on-focus-in":!0,"focus-trap-el":w(h),"focus-start-el":w(r),onFocusAfterTrapped:w(l),onFocusAfterReleased:w(i),onFocusin:w(a),onFocusoutPrevented:w(u),onReleaseRequested:w(c)},{default:he(()=>[Me(q.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var r1=We(o1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const s1=an(OC),Zl=Symbol("elTooltip"),gt=Ye({...eC,...Xd,appendTo:{type:Ce([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Ce(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),$r=Ye({...Hd,disabled:Boolean,trigger:{type:Ce([String,Array]),default:"hover"},triggerKeys:{type:Ce(Array),default:()=>[Ls.enter,Ls.space]}}),{useModelToggleProps:i1,useModelToggleEmits:l1,useModelToggle:a1}=Xf("visible"),u1=Ye({...Ld,...i1,...gt,...$r,...Fd,showArrow:{type:Boolean,default:!0}}),c1=[...l1,"before-show","before-hide","show","hide","open","close"],f1=(e,t)=>G(e)?e.includes(t):e===t,ko=(e,t,n)=>o=>{f1(w(e),t)&&n(o)},d1=ie({name:"ElTooltipTrigger"}),p1=ie({...d1,props:$r,setup(e,{expose:t}){const n=e,o=Ie("tooltip"),{controlled:r,id:s,open:i,onOpen:l,onClose:a,onToggle:u}=ye(Zl,void 0),c=A(null),f=()=>{if(w(r)||n.disabled)return!0},d=zt(n,"trigger"),h=bt(f,ko(d,"hover",l)),p=bt(f,ko(d,"hover",a)),v=bt(f,ko(d,"click",b=>{b.button===0&&u(b)})),g=bt(f,ko(d,"focus",l)),m=bt(f,ko(d,"focus",a)),_=bt(f,ko(d,"contextmenu",b=>{b.preventDefault(),u(b)})),N=bt(f,b=>{const{code:O}=b;n.triggerKeys.includes(O)&&(b.preventDefault(),u(b))});return t({triggerRef:c}),(b,O)=>(K(),Oe(w(PC),{id:w(s),"virtual-ref":b.virtualRef,open:w(i),"virtual-triggering":b.virtualTriggering,class:re(w(o).e("trigger")),onBlur:w(m),onClick:w(v),onContextmenu:w(_),onFocus:w(g),onMouseenter:w(h),onMouseleave:w(p),onKeydown:w(N)},{default:he(()=>[Me(b.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var h1=We(p1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const v1=ie({name:"ElTooltipContent",inheritAttrs:!1}),g1=ie({...v1,props:gt,setup(e,{expose:t}){const n=e,{selector:o}=Od(),r=Ie("tooltip"),s=A(null),i=A(!1),{controlled:l,id:a,open:u,trigger:c,onClose:f,onOpen:d,onShow:h,onHide:p,onBeforeShow:v,onBeforeHide:g}=ye(Zl,void 0),m=P(()=>n.transition||`${r.namespace.value}-fade-in-linear`),_=P(()=>process.env.NODE_ENV==="test"?!0:n.persistent);Et(()=>{i.value=!0});const N=P(()=>w(_)?!0:w(u)),b=P(()=>n.disabled?!1:w(u)),O=P(()=>n.appendTo||o.value),S=P(()=>{var L;return(L=n.style)!=null?L:{}}),E=P(()=>!w(u)),x=()=>{p()},R=()=>{if(w(l))return!0},B=bt(R,()=>{n.enterable&&w(c)==="hover"&&d()}),W=bt(R,()=>{w(c)==="hover"&&f()}),T=()=>{var L,Y;(Y=(L=s.value)==null?void 0:L.updatePopper)==null||Y.call(L),v==null||v()},q=()=>{g==null||g()},ne=()=>{h(),ee=rm(P(()=>{var L;return(L=s.value)==null?void 0:L.popperContentRef}),()=>{if(w(l))return;w(c)!=="hover"&&f()})},le=()=>{n.virtualTriggering||f()};let ee;return ve(()=>w(u),L=>{L||ee==null||ee()},{flush:"post"}),ve(()=>n.content,()=>{var L,Y;(Y=(L=s.value)==null?void 0:L.updatePopper)==null||Y.call(L)}),t({contentRef:s}),(L,Y)=>(K(),Oe(sg,{disabled:!L.teleported,to:w(O)},[we(ar,{name:w(m),onAfterLeave:x,onBeforeEnter:T,onAfterEnter:ne,onBeforeLeave:q},{default:he(()=>[w(N)?wt((K(),Oe(w(r1),En({key:0,id:w(a),ref_key:"contentRef",ref:s},L.$attrs,{"aria-label":L.ariaLabel,"aria-hidden":w(E),"boundaries-padding":L.boundariesPadding,"fallback-placements":L.fallbackPlacements,"gpu-acceleration":L.gpuAcceleration,offset:L.offset,placement:L.placement,"popper-options":L.popperOptions,strategy:L.strategy,effect:L.effect,enterable:L.enterable,pure:L.pure,"popper-class":L.popperClass,"popper-style":[L.popperStyle,w(S)],"reference-el":L.referenceEl,"trigger-target-el":L.triggerTargetEl,visible:w(b),"z-index":L.zIndex,onMouseenter:w(B),onMouseleave:w(W),onBlur:le,onClose:w(f)}),{default:he(()=>[i.value?ze("v-if",!0):Me(L.$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"])),[[ur,w(b)]]):ze("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var m1=We(g1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const b1=["innerHTML"],y1={key:1},w1=ie({name:"ElTooltip"}),E1=ie({...w1,props:u1,emits:c1,setup(e,{expose:t,emit:n}){const o=e;Q_();const r=Ed(),s=A(),i=A(),l=()=>{var m;const _=w(s);_&&((m=_.popperInstanceRef)==null||m.update())},a=A(!1),u=A(),{show:c,hide:f,hasUpdateHandler:d}=a1({indicator:a,toggleReason:u}),{onOpen:h,onClose:p}=Nd({showAfter:zt(o,"showAfter"),hideAfter:zt(o,"hideAfter"),autoClose:zt(o,"autoClose"),open:c,close:f}),v=P(()=>oo(o.visible)&&!d.value);dt(Zl,{controlled:v,id:r,open:mi(a),trigger:zt(o,"trigger"),onOpen:m=>{h(m)},onClose:m=>{p(m)},onToggle:m=>{w(a)?p(m):h(m)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:l}),ve(()=>o.disabled,m=>{m&&a.value&&(a.value=!1)});const g=m=>{var _,N;const b=(N=(_=i.value)==null?void 0:_.contentRef)==null?void 0:N.popperContentRef,O=(m==null?void 0:m.relatedTarget)||document.activeElement;return b&&b.contains(O)};return Tu(()=>a.value&&f()),t({popperRef:s,contentRef:i,isFocusInsideContent:g,updatePopper:l,onOpen:h,onClose:p,hide:f}),(m,_)=>(K(),Oe(w(s1),{ref_key:"popperRef",ref:s,role:m.role},{default:he(()=>[we(h1,{disabled:m.disabled,trigger:m.trigger,"trigger-keys":m.triggerKeys,"virtual-ref":m.virtualRef,"virtual-triggering":m.virtualTriggering},{default:he(()=>[m.$slots.default?Me(m.$slots,"default",{key:0}):ze("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),we(m1,{ref_key:"contentRef",ref:i,"aria-label":m.ariaLabel,"boundaries-padding":m.boundariesPadding,content:m.content,disabled:m.disabled,effect:m.effect,enterable:m.enterable,"fallback-placements":m.fallbackPlacements,"hide-after":m.hideAfter,"gpu-acceleration":m.gpuAcceleration,offset:m.offset,persistent:m.persistent,"popper-class":m.popperClass,"popper-style":m.popperStyle,placement:m.placement,"popper-options":m.popperOptions,pure:m.pure,"raw-content":m.rawContent,"reference-el":m.referenceEl,"trigger-target-el":m.triggerTargetEl,"show-after":m.showAfter,strategy:m.strategy,teleported:m.teleported,transition:m.transition,"virtual-triggering":m.virtualTriggering,"z-index":m.zIndex,"append-to":m.appendTo},{default:he(()=>[Me(m.$slots,"content",{},()=>[m.rawContent?(K(),ce("span",{key:0,innerHTML:m.content},null,8,b1)):(K(),ce("span",y1,nt(m.content),1))]),m.showArrow?(K(),Oe(w(SC),{key:0,"arrow-offset":m.arrowOffset},null,8,["arrow-offset"])):ze("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 _1=We(E1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const Ql=an(_1),Jd=Symbol("buttonGroupContextKey"),C1=(e,t)=>{VE({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=ye(Jd,void 0),o=jl("button"),{form:r}=Ys(),s=Gs(P(()=>n==null?void 0:n.size)),i=zl(),l=A(),a=Fi(),u=P(()=>e.type||(n==null?void 0:n.type)||""),c=P(()=>{var p,v,g;return(g=(v=e.autoInsertSpace)!=null?v:(p=o.value)==null?void 0:p.autoInsertSpace)!=null?g:!1}),f=P(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),d=P(()=>{var p;const v=(p=a.default)==null?void 0:p.call(a);if(c.value&&(v==null?void 0:v.length)===1){const g=v[0];if((g==null?void 0:g.type)===Un){const m=g.children;return/^\p{Unified_Ideograph}{2}$/u.test(m.trim())}}return!1});return{_disabled:i,_size:s,_type:u,_ref:l,_props:f,shouldAddSpace:d,handleClick:p=>{e.nativeType==="reset"&&(r==null||r.resetFields()),t("click",p)}}},ea=["default","primary","success","warning","info","danger","text",""],ta=Ye({size:Ks,disabled:Boolean,type:{type:String,values:ea,default:""},icon:{type:Ds},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Ds,default:()=>Uf},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:Ce([String,Object]),default:"button"}}),O1={click:e=>e instanceof MouseEvent};function rt(e,t){N1(e)&&(e="100%");var n=x1(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 ei(e){return Math.min(1,Math.max(0,e))}function N1(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function x1(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Zd(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ti(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ao(e){return e.length===1?"0"+e:String(e)}function S1(e,t,n){return{r:rt(e,255)*255,g:rt(t,255)*255,b:rt(n,255)*255}}function Qd(e,t,n){e=rt(e,255),t=rt(t,255),n=rt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),s=0,i=0,l=(o+r)/2;if(o===r)i=0,s=0;else{var a=o-r;switch(i=l>.5?a/(2-o-r):a/(o+r),o){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:i,l}}function na(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 T1(e,t,n){var o,r,s;if(e=rt(e,360),t=rt(t,100),n=rt(n,100),t===0)r=n,s=n,o=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;o=na(l,i,e+1/3),r=na(l,i,e),s=na(l,i,e-1/3)}return{r:o*255,g:r*255,b:s*255}}function ep(e,t,n){e=rt(e,255),t=rt(t,255),n=rt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),s=0,i=o,l=o-r,a=o===0?0:l/o;if(o===r)s=0;else{switch(o){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,v:i}}function $1(e,t,n){e=rt(e,360)*6,t=rt(t,100),n=rt(n,100);var o=Math.floor(e),r=e-o,s=n*(1-t),i=n*(1-r*t),l=n*(1-(1-r)*t),a=o%6,u=[n,i,s,s,l,n][a],c=[l,n,n,i,s,s][a],f=[s,s,l,n,n,i][a];return{r:u*255,g:c*255,b:f*255}}function tp(e,t,n,o){var r=[ao(Math.round(e).toString(16)),ao(Math.round(t).toString(16)),ao(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function A1(e,t,n,o,r){var s=[ao(Math.round(e).toString(16)),ao(Math.round(t).toString(16)),ao(Math.round(n).toString(16)),ao(P1(o))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function P1(e){return Math.round(parseFloat(e)*255).toString(16)}function np(e){return Ot(e)/255}function Ot(e){return parseInt(e,16)}function R1(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var oa={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 I1(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,s=null,i=!1,l=!1;return typeof e=="string"&&(e=M1(e)),typeof e=="object"&&(cn(e.r)&&cn(e.g)&&cn(e.b)?(t=S1(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):cn(e.h)&&cn(e.s)&&cn(e.v)?(o=ti(e.s),r=ti(e.v),t=$1(e.h,o,r),i=!0,l="hsv"):cn(e.h)&&cn(e.s)&&cn(e.l)&&(o=ti(e.s),s=ti(e.l),t=T1(e.h,o,s),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Zd(n),{ok:i,format:e.format||l,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 k1="[-\\+]?\\d+%?",D1="[-\\+]?\\d*\\.\\d+%?",$n="(?:".concat(D1,")|(?:").concat(k1,")"),ra="[\\s|\\(]+(".concat($n,")[,|\\s]+(").concat($n,")[,|\\s]+(").concat($n,")\\s*\\)?"),sa="[\\s|\\(]+(".concat($n,")[,|\\s]+(").concat($n,")[,|\\s]+(").concat($n,")[,|\\s]+(").concat($n,")\\s*\\)?"),jt={CSS_UNIT:new RegExp($n),rgb:new RegExp("rgb"+ra),rgba:new RegExp("rgba"+sa),hsl:new RegExp("hsl"+ra),hsla:new RegExp("hsla"+sa),hsv:new RegExp("hsv"+ra),hsva:new RegExp("hsva"+sa),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 M1(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(oa[e])e=oa[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=jt.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=jt.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=jt.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=jt.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=jt.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=jt.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=jt.hex8.exec(e),n?{r:Ot(n[1]),g:Ot(n[2]),b:Ot(n[3]),a:np(n[4]),format:t?"name":"hex8"}:(n=jt.hex6.exec(e),n?{r:Ot(n[1]),g:Ot(n[2]),b:Ot(n[3]),format:t?"name":"hex"}:(n=jt.hex4.exec(e),n?{r:Ot(n[1]+n[1]),g:Ot(n[2]+n[2]),b:Ot(n[3]+n[3]),a:np(n[4]+n[4]),format:t?"name":"hex8"}:(n=jt.hex3.exec(e),n?{r:Ot(n[1]+n[1]),g:Ot(n[2]+n[2]),b:Ot(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function cn(e){return!!jt.CSS_UNIT.exec(String(e))}var L1=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=R1(t)),this.originalInput=t;var r=I1(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.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=r.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,o,r,s=t.r/255,i=t.g/255,l=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),i<=.03928?o=i/12.92:o=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Zd(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=ep(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=ep(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Qd(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=Qd(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),tp(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),A1(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),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(rt(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(rt(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="#"+tp(this.r,this.g,this.b,!1),n=0,o=Object.entries(oa);n<o.length;n++){var r=o[n],s=r[0],i=r[1];if(t===i)return s}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var o=!1,r=this.a<1&&this.a>=0,s=!n&&r&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||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=ei(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=ei(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=ei(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=ei(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),s=n/100,i={r:(r.r-o.r)*s+o.r,g:(r.g-o.g)*s+o.g,b:(r.b-o.b)*s+o.b,a:(r.a-o.a)*s+o.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,s=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,s.push(new e(o));return s},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(),o=n.h,r=n.s,s=n.v,i=[],l=1/t;t--;)i.push(new e({h:o,s:r,v:s})),s=(s+l)%1;return i},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(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},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(),o=n.h,r=[this],s=360/t,i=1;i<t;i++)r.push(new e({h:(o+i*s)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function An(e,t=20){return e.mix("#141414",t).toString()}function F1(e){const t=zl(),n=Ie("button");return P(()=>{let o={};const r=e.color;if(r){const s=new L1(r),i=e.dark?s.tint(20).toString():An(s,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?An(s,90):s.tint(90).toString(),"text-color":r,"border-color":e.dark?An(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?An(s,90):s.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?An(s,50):s.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?An(s,80):s.tint(80).toString());else{const l=e.dark?An(s,30):s.tint(30).toString(),a=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":r,"text-color":a,"border-color":r,"hover-bg-color":l,"hover-text-color":a,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const u=e.dark?An(s,50):s.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=u,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=u}}}return o})}const V1=ie({name:"ElButton"}),B1=ie({...V1,props:ta,emits:O1,setup(e,{expose:t,emit:n}){const o=e,r=F1(o),s=Ie("button"),{_ref:i,_size:l,_type:a,_disabled:u,_props:c,shouldAddSpace:f,handleClick:d}=C1(o,n);return t({ref:i,size:l,type:a,disabled:u,shouldAddSpace:f}),(h,p)=>(K(),Oe(Wn(h.tag),En({ref_key:"_ref",ref:i},w(c),{class:[w(s).b(),w(s).m(w(a)),w(s).m(w(l)),w(s).is("disabled",w(u)),w(s).is("loading",h.loading),w(s).is("plain",h.plain),w(s).is("round",h.round),w(s).is("circle",h.circle),w(s).is("text",h.text),w(s).is("link",h.link),w(s).is("has-bg",h.bg)],style:w(r),onClick:w(d)}),{default:he(()=>[h.loading?(K(),ce(Ve,{key:0},[h.$slots.loading?Me(h.$slots,"loading",{key:0}):(K(),Oe(w(lo),{key:1,class:re(w(s).is("loading"))},{default:he(()=>[(K(),Oe(Wn(h.loadingIcon)))]),_:1},8,["class"]))],64)):h.icon||h.$slots.icon?(K(),Oe(w(lo),{key:1},{default:he(()=>[h.icon?(K(),Oe(Wn(h.icon),{key:0})):Me(h.$slots,"icon",{key:1})]),_:3})):ze("v-if",!0),h.$slots.default?(K(),ce("span",{key:2,class:re({[w(s).em("text","expand")]:w(f)})},[Me(h.$slots,"default")],2)):ze("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var H1=We(B1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const j1={size:ta.size,type:ta.type},W1=ie({name:"ElButtonGroup"}),z1=ie({...W1,props:j1,setup(e){const t=e;dt(Jd,go({size:zt(t,"size"),type:zt(t,"type")}));const n=Ie("button");return(o,r)=>(K(),ce("div",{class:re(`${w(n).b("group")}`)},[Me(o.$slots,"default")],2))}});var op=We(z1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ia=an(H1,{ButtonGroup:op});Ms(op);function K1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Pn=new Map;let rp;Ge&&(document.addEventListener("mousedown",e=>rp=e),document.addEventListener("mouseup",e=>{for(const t of Pn.values())for(const{documentHandler:n}of t)n(e,rp)}));function sp(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:No(t.arg)&&n.push(t.arg),function(o,r){const s=t.instance.popperRef,i=o.target,l=r==null?void 0:r.target,a=!t||!t.instance,u=!i||!l,c=e.contains(i)||e.contains(l),f=e===i,d=n.length&&n.some(p=>p==null?void 0:p.contains(i))||n.length&&n.includes(l),h=s&&(s.contains(i)||s.contains(l));a||u||c||f||d||h||t.value(o,r)}}const U1={beforeMount(e,t){Pn.has(e)||Pn.set(e,[]),Pn.get(e).push({documentHandler:sp(e,t),bindingFn:t.value})},updated(e,t){Pn.has(e)||Pn.set(e,[]);const n=Pn.get(e),o=n.findIndex(s=>s.bindingFn===t.oldValue),r={documentHandler:sp(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){Pn.delete(e)}};var ip=!1,uo,la,aa,ni,oi,lp,ri,ua,ca,fa,ap,da,pa,up,cp;function mt(){if(!ip){ip=!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(da=/\b(iPhone|iP[ao]d)/.exec(e),pa=/\b(iP[ao]d)/.exec(e),fa=/Android/i.exec(e),up=/FBAN\/\w+;/i.exec(e),cp=/Mobile/i.exec(e),ap=!!/Win64/.exec(e),t){uo=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,uo&&document&&document.documentMode&&(uo=document.documentMode);var o=/(?:Trident\/(\d+.\d+))/.exec(e);lp=o?parseFloat(o[1])+4:uo,la=t[2]?parseFloat(t[2]):NaN,aa=t[3]?parseFloat(t[3]):NaN,ni=t[4]?parseFloat(t[4]):NaN,ni?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),oi=t&&t[1]?parseFloat(t[1]):NaN):oi=NaN}else uo=la=aa=oi=ni=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ri=r?parseFloat(r[1].replace("_",".")):!0}else ri=!1;ua=!!n[2],ca=!!n[3]}else ri=ua=ca=!1}}var ha={ie:function(){return mt()||uo},ieCompatibilityMode:function(){return mt()||lp>uo},ie64:function(){return ha.ie()&&ap},firefox:function(){return mt()||la},opera:function(){return mt()||aa},webkit:function(){return mt()||ni},safari:function(){return ha.webkit()},chrome:function(){return mt()||oi},windows:function(){return mt()||ua},osx:function(){return mt()||ri},linux:function(){return mt()||ca},iphone:function(){return mt()||da},mobile:function(){return mt()||da||pa||fa||cp},nativeApp:function(){return mt()||up},android:function(){return mt()||fa},ipad:function(){return mt()||pa}},q1=ha,si=!!(typeof window<"u"&&window.document&&window.document.createElement),G1={canUseDOM:si,canUseWorkers:typeof Worker<"u",canUseEventListeners:si&&!!(window.addEventListener||window.attachEvent),canUseViewport:si&&!!window.screen,isInWorker:!si},fp=G1,dp;fp.canUseDOM&&(dp=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Y1(e,t){if(!fp.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o=typeof r[n]=="function"}return!o&&dp&&e==="wheel"&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var X1=Y1,pp=10,hp=40,vp=800;function gp(e){var t=0,n=0,o=0,r=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),o=t*pp,r=n*pp,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(e.deltaMode==1?(o*=hp,r*=hp):(o*=vp,r*=vp)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}gp.getEventType=function(){return q1.firefox()?"DOMMouseScroll":X1("wheel")?"wheel":"mousewheel"};var J1=gp;/**
15
+ * Checks if an event is supported in the current execution environment.
16
+ *
17
+ * NOTE: This will not work correctly for non-generic events such as `change`,
18
+ * `reset`, `load`, `error`, and `select`.
19
+ *
20
+ * Borrows from Modernizr.
21
+ *
22
+ * @param {string} eventNameSuffix Event name, e.g. "click".
23
+ * @param {?boolean} capture Check if the capture phase is supported.
24
+ * @return {boolean} True if the event is supported.
25
+ * @internal
26
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
27
+ */const Z1=function(e,t){if(e&&e.addEventListener){const n=function(o){const r=J1(o);t&&Reflect.apply(t,this,[o,r])};e.addEventListener("wheel",n,{passive:!0})}},Q1={beforeMount(e,t){Z1(e,t.value)}},mp={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:Ks,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},bp={[Fs]:e=>_e(e)||Vt(e)||oo(e),change:e=>_e(e)||Vt(e)||oo(e)},Do=Symbol("checkboxGroupContextKey"),eO=({model:e,isChecked:t})=>{const n=ye(Do,void 0),o=P(()=>{var s,i;const l=(s=n==null?void 0:n.max)==null?void 0:s.value,a=(i=n==null?void 0:n.min)==null?void 0:i.value;return!yr(l)&&e.value.length>=l&&!t.value||!yr(a)&&e.value.length<=a&&t.value});return{isDisabled:zl(P(()=>(n==null?void 0:n.disabled.value)||o.value)),isLimitDisabled:o}},tO=(e,{model:t,isLimitExceeded:n,hasOwnLabel:o,isDisabled:r,isLabeledByFormItem:s})=>{const i=ye(Do,void 0),{formItem:l}=Ys(),{emit:a}=Le();function u(p){var v,g;return p===e.trueLabel||p===!0?(v=e.trueLabel)!=null?v:!0:(g=e.falseLabel)!=null?g:!1}function c(p,v){a("change",u(p),v)}function f(p){if(n.value)return;const v=p.target;a("change",u(v.checked),p)}async function d(p){n.value||!o.value&&!r.value&&s.value&&(p.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await ut(),c(t.value,p)))}const h=P(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return ve(()=>e.modelValue,()=>{h.value&&(l==null||l.validate("change").catch(p=>Bt(p)))}),{handleChange:f,onClickRoot:d}},nO=e=>{const t=A(!1),{emit:n}=Le(),o=ye(Do,void 0),r=P(()=>yr(o)===!1),s=A(!1);return{model:P({get(){var l,a;return r.value?(l=o==null?void 0:o.modelValue)==null?void 0:l.value:(a=e.modelValue)!=null?a:t.value},set(l){var a,u;r.value&&G(l)?(s.value=((a=o==null?void 0:o.max)==null?void 0:a.value)!==void 0&&l.length>(o==null?void 0:o.max.value),s.value===!1&&((u=o==null?void 0:o.changeEvent)==null||u.call(o,l))):(n(Fs,l),t.value=l)}}),isGroup:r,isLimitExceeded:s}},oO=(e,t,{model:n})=>{const o=ye(Do,void 0),r=A(!1),s=P(()=>{const u=n.value;return oo(u)?u:G(u)?de(e.label)?u.map(ae).some(c=>zw(c,e.label)):u.map(ae).includes(e.label):u!=null?u===e.trueLabel:!!u}),i=Gs(P(()=>{var u;return(u=o==null?void 0:o.size)==null?void 0:u.value}),{prop:!0}),l=Gs(P(()=>{var u;return(u=o==null?void 0:o.size)==null?void 0:u.value})),a=P(()=>!!(t.default||e.label));return{checkboxButtonSize:i,isChecked:s,isFocused:r,checkboxSize:l,hasOwnLabel:a}},rO=(e,{model:t})=>{function n(){G(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},yp=(e,t)=>{const{formItem:n}=Ys(),{model:o,isGroup:r,isLimitExceeded:s}=nO(e),{isFocused:i,isChecked:l,checkboxButtonSize:a,checkboxSize:u,hasOwnLabel:c}=oO(e,t,{model:o}),{isDisabled:f}=eO({model:o,isChecked:l}),{inputId:d,isLabeledByFormItem:h}=Rd(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:r}),{handleChange:p,onClickRoot:v}=tO(e,{model:o,isLimitExceeded:s,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return rO(e,{model:o}),{inputId:d,isLabeledByFormItem:h,isChecked:l,isDisabled:f,isFocused:i,checkboxButtonSize:a,checkboxSize:u,hasOwnLabel:c,model:o,handleChange:p,onClickRoot:v}},sO=["tabindex","role","aria-checked"],iO=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],lO=["id","aria-hidden","disabled","value","name","tabindex"],aO=ie({name:"ElCheckbox"}),uO=ie({...aO,props:mp,emits:bp,setup(e){const t=e,n=Fi(),{inputId:o,isLabeledByFormItem:r,isChecked:s,isDisabled:i,isFocused:l,checkboxSize:a,hasOwnLabel:u,model:c,handleChange:f,onClickRoot:d}=yp(t,n),h=Ie("checkbox"),p=P(()=>[h.b(),h.m(a.value),h.is("disabled",i.value),h.is("bordered",t.border),h.is("checked",s.value)]),v=P(()=>[h.e("input"),h.is("disabled",i.value),h.is("checked",s.value),h.is("indeterminate",t.indeterminate),h.is("focus",l.value)]);return(g,m)=>(K(),Oe(Wn(!w(u)&&w(r)?"span":"label"),{class:re(w(p)),"aria-controls":g.indeterminate?g.controls:null,onClick:w(d)},{default:he(()=>[Re("span",{class:re(w(v)),tabindex:g.indeterminate?0:void 0,role:g.indeterminate?"checkbox":void 0,"aria-checked":g.indeterminate?"mixed":void 0},[g.trueLabel||g.falseLabel?wt((K(),ce("input",{key:0,id:w(o),"onUpdate:modelValue":m[0]||(m[0]=_=>Pe(c)?c.value=_:null),class:re(w(h).e("original")),type:"checkbox","aria-hidden":g.indeterminate?"true":"false",name:g.name,tabindex:g.tabindex,disabled:w(i),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:m[1]||(m[1]=(..._)=>w(f)&&w(f)(..._)),onFocus:m[2]||(m[2]=_=>l.value=!0),onBlur:m[3]||(m[3]=_=>l.value=!1),onClick:m[4]||(m[4]=ys(()=>{},["stop"]))},null,42,iO)),[[bs,w(c)]]):wt((K(),ce("input",{key:1,id:w(o),"onUpdate:modelValue":m[5]||(m[5]=_=>Pe(c)?c.value=_:null),class:re(w(h).e("original")),type:"checkbox","aria-hidden":g.indeterminate?"true":"false",disabled:w(i),value:g.label,name:g.name,tabindex:g.tabindex,onChange:m[6]||(m[6]=(..._)=>w(f)&&w(f)(..._)),onFocus:m[7]||(m[7]=_=>l.value=!0),onBlur:m[8]||(m[8]=_=>l.value=!1),onClick:m[9]||(m[9]=ys(()=>{},["stop"]))},null,42,lO)),[[bs,w(c)]]),Re("span",{class:re(w(h).e("inner"))},null,2)],10,sO),w(u)?(K(),ce("span",{key:0,class:re(w(h).e("label"))},[Me(g.$slots,"default"),g.$slots.default?ze("v-if",!0):(K(),ce(Ve,{key:0},[Mt(nt(g.label),1)],64))],2)):ze("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var cO=We(uO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const fO=["name","tabindex","disabled","true-value","false-value"],dO=["name","tabindex","disabled","value"],pO=ie({name:"ElCheckboxButton"}),hO=ie({...pO,props:mp,emits:bp,setup(e){const t=e,n=Fi(),{isFocused:o,isChecked:r,isDisabled:s,checkboxButtonSize:i,model:l,handleChange:a}=yp(t,n),u=ye(Do,void 0),c=Ie("checkbox"),f=P(()=>{var h,p,v,g;const m=(p=(h=u==null?void 0:u.fill)==null?void 0:h.value)!=null?p:"";return{backgroundColor:m,borderColor:m,color:(g=(v=u==null?void 0:u.textColor)==null?void 0:v.value)!=null?g:"",boxShadow:m?`-1px 0 0 0 ${m}`:void 0}}),d=P(()=>[c.b("button"),c.bm("button",i.value),c.is("disabled",s.value),c.is("checked",r.value),c.is("focus",o.value)]);return(h,p)=>(K(),ce("label",{class:re(w(d))},[h.trueLabel||h.falseLabel?wt((K(),ce("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=v=>Pe(l)?l.value=v:null),class:re(w(c).be("button","original")),type:"checkbox",name:h.name,tabindex:h.tabindex,disabled:w(s),"true-value":h.trueLabel,"false-value":h.falseLabel,onChange:p[1]||(p[1]=(...v)=>w(a)&&w(a)(...v)),onFocus:p[2]||(p[2]=v=>o.value=!0),onBlur:p[3]||(p[3]=v=>o.value=!1),onClick:p[4]||(p[4]=ys(()=>{},["stop"]))},null,42,fO)),[[bs,w(l)]]):wt((K(),ce("input",{key:1,"onUpdate:modelValue":p[5]||(p[5]=v=>Pe(l)?l.value=v:null),class:re(w(c).be("button","original")),type:"checkbox",name:h.name,tabindex:h.tabindex,disabled:w(s),value:h.label,onChange:p[6]||(p[6]=(...v)=>w(a)&&w(a)(...v)),onFocus:p[7]||(p[7]=v=>o.value=!0),onBlur:p[8]||(p[8]=v=>o.value=!1),onClick:p[9]||(p[9]=ys(()=>{},["stop"]))},null,42,dO)),[[bs,w(l)]]),h.$slots.default||h.label?(K(),ce("span",{key:2,class:re(w(c).be("button","inner")),style:tt(w(r)?w(f):void 0)},[Me(h.$slots,"default",{},()=>[Mt(nt(h.label),1)])],6)):ze("v-if",!0)],2))}});var wp=We(hO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const vO=Ye({modelValue:{type:Ce(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:Ks,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),gO={[Fs]:e=>G(e),change:e=>G(e)},mO=ie({name:"ElCheckboxGroup"}),bO=ie({...mO,props:vO,emits:gO,setup(e,{emit:t}){const n=e,o=Ie("checkbox"),{formItem:r}=Ys(),{inputId:s,isLabeledByFormItem:i}=Rd(n,{formItemContext:r}),l=async u=>{t(Fs,u),await ut(),t("change",u)},a=P({get(){return n.modelValue},set(u){l(u)}});return dt(Do,{...Xw(yi(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:a,changeEvent:l}),ve(()=>n.modelValue,()=>{n.validateEvent&&(r==null||r.validate("change").catch(u=>Bt(u)))}),(u,c)=>{var f;return K(),Oe(Wn(u.tag),{id:w(s),class:re(w(o).b("group")),role:"group","aria-label":w(i)?void 0:u.label||"checkbox-group","aria-labelledby":w(i)?(f=w(r))==null?void 0:f.labelId:void 0},{default:he(()=>[Me(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var Ep=We(bO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const Mo=an(cO,{CheckboxButton:wp,CheckboxGroup:Ep});Ms(wp),Ms(Ep);const yO=ie({inheritAttrs:!1});function wO(e,t,n,o,r,s){return Me(e.$slots,"default")}var EO=We(yO,[["render",wO],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _O=ie({name:"ElCollectionItem",inheritAttrs:!1});function CO(e,t,n,o,r,s){return Me(e.$slots,"default")}var OO=We(_O,[["render",CO],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const NO="data-el-collection-item",xO=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),r=Symbol(n),s={...EO,name:t,setup(){const l=A(null),a=new Map;dt(o,{itemMap:a,getItems:()=>{const c=w(l);if(!c)return[];const f=Array.from(c.querySelectorAll(`[${NO}]`));return[...a.values()].sort((h,p)=>f.indexOf(h.ref)-f.indexOf(p.ref))},collectionRef:l})}},i={...OO,name:n,setup(l,{attrs:a}){const u=A(null),c=ye(o,void 0);dt(r,{collectionItemRef:u}),et(()=>{const f=w(u);f&&c.itemMap.set(f,{ref:f,...a})}),Et(()=>{const f=w(u);c.itemMap.delete(f)})}};return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:s,ElCollectionItem:i}},va=Ye({trigger:$r.trigger,effect:{...gt.effect,default:"light"},type:{type:Ce(String)},placement:{type:Ce(String),default:"bottom"},popperOptions:{type:Ce(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:Ce([Number,String]),default:0},maxHeight:{type:Ce([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Ce(Object)},teleported:gt.teleported});Ye({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Ds}}),Ye({onKeydown:{type:Ce(Function)}}),xO("Dropdown");const SO=Ye({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:ea,default:"primary"},cancelButtonType:{type:String,values:ea,default:"text"},icon:{type:Ds,default:()=>kE},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:gt.teleported,persistent:gt.persistent,width:{type:[String,Number],default:150}}),TO={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},$O=ie({name:"ElPopconfirm"}),AO=ie({...$O,props:SO,emits:TO,setup(e,{emit:t}){const n=e,{t:o}=Vs(),r=Ie("popconfirm"),s=A(),i=()=>{var d,h;(h=(d=s.value)==null?void 0:d.onClose)==null||h.call(d)},l=P(()=>({width:Er(n.width)})),a=d=>{t("confirm",d),i()},u=d=>{t("cancel",d),i()},c=P(()=>n.confirmButtonText||o("el.popconfirm.confirmButtonText")),f=P(()=>n.cancelButtonText||o("el.popconfirm.cancelButtonText"));return(d,h)=>(K(),Oe(w(Ql),En({ref_key:"tooltipRef",ref:s,trigger:"click",effect:"light"},d.$attrs,{"popper-class":`${w(r).namespace.value}-popover`,"popper-style":w(l),teleported:d.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":d.hideAfter,persistent:d.persistent}),{content:he(()=>[Re("div",{class:re(w(r).b())},[Re("div",{class:re(w(r).e("main"))},[!d.hideIcon&&d.icon?(K(),Oe(w(lo),{key:0,class:re(w(r).e("icon")),style:tt({color:d.iconColor})},{default:he(()=>[(K(),Oe(Wn(d.icon)))]),_:1},8,["class","style"])):ze("v-if",!0),Mt(" "+nt(d.title),1)],2),Re("div",{class:re(w(r).e("action"))},[we(w(ia),{size:"small",type:d.cancelButtonType==="text"?"":d.cancelButtonType,text:d.cancelButtonType==="text",onClick:u},{default:he(()=>[Mt(nt(w(f)),1)]),_:1},8,["type","text"]),we(w(ia),{size:"small",type:d.confirmButtonType==="text"?"":d.confirmButtonType,text:d.confirmButtonType==="text",onClick:a},{default:he(()=>[Mt(nt(w(c)),1)]),_:1},8,["type","text"])],2)],2)]),default:he(()=>[d.$slots.reference?Me(d.$slots,"reference",{key:0}):ze("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var PO=We(AO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const RO=an(PO),IO=Ye({trigger:$r.trigger,placement:va.placement,disabled:$r.disabled,visible:gt.visible,transition:gt.transition,popperOptions:va.popperOptions,tabindex:va.tabindex,content:gt.content,popperStyle:gt.popperStyle,popperClass:gt.popperClass,enterable:{...gt.enterable,default:!0},effect:{...gt.effect,default:"light"},teleported:gt.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}}),kO={"update:visible":e=>oo(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},DO="onUpdate:visible",MO=ie({name:"ElPopover"}),LO=ie({...MO,props:IO,emits:kO,setup(e,{expose:t,emit:n}){const o=e,r=P(()=>o[DO]),s=Ie("popover"),i=A(),l=P(()=>{var g;return(g=w(i))==null?void 0:g.popperRef}),a=P(()=>[{width:Er(o.width)},o.popperStyle]),u=P(()=>[s.b(),o.popperClass,{[s.m("plain")]:!!o.content}]),c=P(()=>o.transition===`${s.namespace.value}-fade-in-linear`),f=()=>{var g;(g=i.value)==null||g.hide()},d=()=>{n("before-enter")},h=()=>{n("before-leave")},p=()=>{n("after-enter")},v=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:l,hide:f}),(g,m)=>(K(),Oe(w(Ql),En({ref_key:"tooltipRef",ref:i},g.$attrs,{trigger:g.trigger,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":w(u),"popper-style":w(a),teleported:g.teleported,persistent:g.persistent,"gpu-acceleration":w(c),"onUpdate:visible":w(r),onBeforeShow:d,onBeforeHide:h,onShow:p,onHide:v}),{content:he(()=>[g.title?(K(),ce("div",{key:0,class:re(w(s).e("title")),role:"title"},nt(g.title),3)):ze("v-if",!0),Me(g.$slots,"default",{},()=>[Mt(nt(g.content),1)])]),default:he(()=>[g.$slots.reference?Me(g.$slots,"reference",{key:0}):ze("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 FO=We(LO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const _p=(e,t)=>{const n=t.arg||t.value,o=n==null?void 0:n.popperRef;o&&(o.triggerRef=e)};var VO={mounted(e,t){_p(e,t)},updated(e,t){_p(e,t)}};const BO=ME(VO,"popover"),HO=an(FO,{directive:BO});/*!
28
+ * escape-html
29
+ * Copyright(c) 2012-2013 TJ Holowaychuk
30
+ * Copyright(c) 2015 Andreas Lubbe
31
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
32
+ * MIT Licensed
33
+ */var jO=/["'&<>]/,WO=zO;function zO(e){var t=""+e,n=jO.exec(t);if(!n)return t;var o,r="",s=0,i=0;for(s=n.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}i!==s&&(r+=t.substring(i,s)),i=s+1,r+=o}return i!==s?r+t.substring(i,s):r}const KO=K1(WO),ga=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},UO=function(e,t,n,o,r){if(!t&&!o&&(!r||Array.isArray(r)&&!r.length))return e;typeof n=="string"?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const s=o?null:function(l,a){return r?(Array.isArray(r)||(r=[r]),r.map(u=>typeof u=="string"?br(l,u):u(l,a,e))):(t!=="$key"&&de(l)&&"$value"in l&&(l=l.$value),[de(l)?br(l,t):l])},i=function(l,a){if(o)return o(l.value,a.value);for(let u=0,c=l.key.length;u<c;u++){if(l.key[u]<a.key[u])return-1;if(l.key[u]>a.key[u])return 1}return 0};return e.map((l,a)=>({value:l,index:a,key:s?s(l,a):null})).sort((l,a)=>{let u=i(l,a);return u||(u=l.index-a.index),u*+n}).map(l=>l.value)},Cp=function(e,t){let n=null;return e.columns.forEach(o=>{o.id===t&&(n=o)}),n},qO=function(e,t){let n=null;for(let o=0;o<e.columns.length;o++){const r=e.columns[o];if(r.columnKey===t){n=r;break}}return n||Wf("ElTable",`No column matching with column-key: ${t}`),n},Op=function(e,t,n){const o=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return o?Cp(e,o[0]):null},st=(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 o=e;for(const r of n)o=o[r];return`${o}`}else if(typeof t=="function")return t.call(null,e)},co=function(e,t){const n={};return(e||[]).forEach((o,r)=>{n[st(o,t)]={row:o,index:r}}),n};function GO(e,t){const n={};let o;for(o in e)n[o]=e[o];for(o in t)if(ue(t,o)){const r=t[o];typeof r<"u"&&(n[o]=r)}return n}function ma(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Np(e){return e===""||e!==void 0&&(e=ma(e),Number.isNaN(e)&&(e=80)),e}function YO(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function XO(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function Ar(e,t,n){let o=!1;const r=e.indexOf(t),s=r!==-1,i=l=>{l==="add"?e.push(t):e.splice(r,1),o=!0,G(t.children)&&t.children.forEach(a=>{Ar(e,a,n??!s)})};return oo(n)?n&&!s?i("add"):!n&&s&&i("remove"):i(s?"remove":"add"),o}function JO(e,t,n="children",o="hasChildren"){const r=i=>!(Array.isArray(i)&&i.length);function s(i,l,a){t(i,l,a),l.forEach(u=>{if(u[o]){t(u,null,a+1);return}const c=u[n];r(c)||s(u,c,a+1)})}e.forEach(i=>{if(i[o]){t(i,null,0);return}const l=i[n];r(l)||s(i,l,0)})}let fn;function ZO(e,t,n,o,r){r=Vf({enterable:!0,showArrow:!0},r);const s=e==null?void 0:e.dataset.prefix,i=e==null?void 0:e.querySelector(`.${s}-scrollbar__wrap`);function l(){const g=r.effect==="light",m=document.createElement("div");return m.className=[`${s}-popper`,g?"is-light":"is-dark",r.popperClass||""].join(" "),n=KO(n),m.innerHTML=n,m.style.zIndex=String(o()),e==null||e.appendChild(m),m}function a(){const g=document.createElement("div");return g.className=`${s}-popper__arrow`,g}function u(){c&&c.update()}fn==null||fn(),fn=()=>{try{c&&c.destroy(),h&&(e==null||e.removeChild(h)),t.removeEventListener("mouseenter",f),t.removeEventListener("mouseleave",d),i==null||i.removeEventListener("scroll",fn),fn=void 0}catch{}};let c=null,f=u,d=fn;r.enterable&&({onOpen:f,onClose:d}=Nd({showAfter:r.showAfter,hideAfter:r.hideAfter,open:u,close:fn}));const h=l();h.onmouseenter=f,h.onmouseleave=d;const p=[];if(r.offset&&p.push({name:"offset",options:{offset:[0,r.offset]}}),r.showArrow){const g=h.appendChild(a());p.push({name:"arrow",options:{element:g,padding:10}})}const v=r.popperOptions||{};return c=bd(t,h,{placement:r.placement||"top",strategy:"fixed",...v,modifiers:v.modifiers?p.concat(v.modifiers):p}),t.addEventListener("mouseenter",f),t.addEventListener("mouseleave",d),i==null||i.addEventListener("scroll",fn),c}function xp(e){return e.children?Ww(e.children,xp):[e]}function Sp(e,t){return e+t.colSpan}const Tp=(e,t,n,o)=>{let r=0,s=e;const i=n.states.columns.value;if(o){const a=xp(o[e]);r=i.slice(0,i.indexOf(a[0])).reduce(Sp,0),s=r+a.reduce(Sp,0)-1}else r=e;let l;switch(t){case"left":s<n.states.fixedLeafColumnsLength.value&&(l="left");break;case"right":r>=i.length-n.states.rightFixedLeafColumnsLength.value&&(l="right");break;default:s<n.states.fixedLeafColumnsLength.value?l="left":r>=i.length-n.states.rightFixedLeafColumnsLength.value&&(l="right")}return l?{direction:l,start:r,after:s}:{}},ba=(e,t,n,o,r,s=0)=>{const i=[],{direction:l,start:a,after:u}=Tp(t,n,o,r);if(l){const c=l==="left";i.push(`${e}-fixed-column--${l}`),c&&u+s===o.states.fixedLeafColumnsLength.value-1?i.push("is-last-column"):!c&&a-s===o.states.columns.value.length-o.states.rightFixedLeafColumnsLength.value&&i.push("is-first-column")}return i};function $p(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const ya=(e,t,n,o)=>{const{direction:r,start:s=0,after:i=0}=Tp(e,t,n,o);if(!r)return;const l={},a=r==="left",u=n.states.columns.value;return a?l.left=u.slice(0,s).reduce($p,0):l.right=u.slice(i+1).reverse().reduce($p,0),l},Lo=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function QO(e){const t=Le(),n=A(!1),o=A([]);return{updateExpandRows:()=>{const a=e.data.value||[],u=e.rowKey.value;if(n.value)o.value=a.slice();else if(u){const c=co(o.value,u);o.value=a.reduce((f,d)=>{const h=st(d,u);return c[h]&&f.push(d),f},[])}else o.value=[]},toggleRowExpansion:(a,u)=>{Ar(o.value,a,u)&&t.emit("expand-change",a,o.value.slice())},setExpandRowKeys:a=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,f=co(u,c);o.value=a.reduce((d,h)=>{const p=f[h];return p&&d.push(p.row),d},[])},isRowExpanded:a=>{const u=e.rowKey.value;return u?!!co(o.value,u)[st(a,u)]:o.value.includes(a)},states:{expandRows:o,defaultExpandAll:n}}}function eN(e){const t=Le(),n=A(null),o=A(null),r=u=>{t.store.assertRowKey(),n.value=u,i(u)},s=()=>{n.value=null},i=u=>{const{data:c,rowKey:f}=e;let d=null;f.value&&(d=(w(c)||[]).find(h=>st(h,f.value)===u)),o.value=d,t.emit("current-change",o.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:s,setCurrentRowByKey:i,updateCurrentRow:u=>{const c=o.value;if(u&&u!==c){o.value=u,t.emit("current-change",o.value,c);return}!u&&c&&(o.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],f=o.value;if(!c.includes(f)&&f){if(u){const d=st(f,u);i(d)}else o.value=null;o.value===null&&t.emit("current-change",null,f)}else n.value&&(i(n.value),s())},states:{_currentRowKey:n,currentRow:o}}}function tN(e){const t=A([]),n=A({}),o=A(16),r=A(!1),s=A({}),i=A("hasChildren"),l=A("children"),a=Le(),u=P(()=>{if(!e.rowKey.value)return{};const m=e.data.value||[];return f(m)}),c=P(()=>{const m=e.rowKey.value,_=Object.keys(s.value),N={};return _.length&&_.forEach(b=>{if(s.value[b].length){const O={children:[]};s.value[b].forEach(S=>{const E=st(S,m);O.children.push(E),S[i.value]&&!N[E]&&(N[E]={children:[]})}),N[b]=O}}),N}),f=m=>{const _=e.rowKey.value,N={};return JO(m,(b,O,S)=>{const E=st(b,_);Array.isArray(O)?N[E]={children:O.map(x=>st(x,_)),level:S}:r.value&&(N[E]={children:[],lazy:!0,level:S})},l.value,i.value),N},d=(m=!1,_=(N=>(N=a.store)==null?void 0:N.states.defaultExpandAll.value)())=>{var N;const b=u.value,O=c.value,S=Object.keys(b),E={};if(S.length){const x=w(n),R=[],B=(T,q)=>{if(m)return t.value?_||t.value.includes(q):!!(_||T!=null&&T.expanded);{const ne=_||t.value&&t.value.includes(q);return!!(T!=null&&T.expanded||ne)}};S.forEach(T=>{const q=x[T],ne={...b[T]};if(ne.expanded=B(q,T),ne.lazy){const{loaded:le=!1,loading:ee=!1}=q||{};ne.loaded=!!le,ne.loading=!!ee,R.push(T)}E[T]=ne});const W=Object.keys(O);r.value&&W.length&&R.length&&W.forEach(T=>{const q=x[T],ne=O[T].children;if(R.includes(T)){if(E[T].children.length!==0)throw new Error("[ElTable]children must be an empty array.");E[T].children=ne}else{const{loaded:le=!1,loading:ee=!1}=q||{};E[T]={lazy:!0,loaded:!!le,loading:!!ee,expanded:B(q,T),children:ne,level:""}}})}n.value=E,(N=a.store)==null||N.updateTableScrollY()};ve(()=>t.value,()=>{d(!0)}),ve(()=>u.value,()=>{d()}),ve(()=>c.value,()=>{d()});const h=m=>{t.value=m,d()},p=(m,_)=>{a.store.assertRowKey();const N=e.rowKey.value,b=st(m,N),O=b&&n.value[b];if(b&&O&&"expanded"in O){const S=O.expanded;_=typeof _>"u"?!O.expanded:_,n.value[b].expanded=_,S!==_&&a.emit("expand-change",m,_),a.store.updateTableScrollY()}},v=m=>{a.store.assertRowKey();const _=e.rowKey.value,N=st(m,_),b=n.value[N];r.value&&b&&"loaded"in b&&!b.loaded?g(m,N,b):p(m,void 0)},g=(m,_,N)=>{const{load:b}=a.props;b&&!n.value[_].loaded&&(n.value[_].loading=!0,b(m,N,O=>{if(!Array.isArray(O))throw new TypeError("[ElTable] data must be an array");n.value[_].loading=!1,n.value[_].loaded=!0,n.value[_].expanded=!0,O.length&&(s.value[_]=O),a.emit("expand-change",m,!0)}))};return{loadData:g,loadOrToggle:v,toggleTreeExpansion:p,updateTreeExpandKeys:h,updateTreeData:d,normalize:f,states:{expandRowKeys:t,treeData:n,indent:o,lazy:r,lazyTreeNodeMap:s,lazyColumnIdentifier:i,childrenColumnName:l}}}const nN=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:UO(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},ii=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,ii(n.children)):t.push(n)}),t};function oN(){var e;const t=Le(),{size:n}=yi((e=t.proxy)==null?void 0:e.$props),o=A(null),r=A([]),s=A([]),i=A(!1),l=A([]),a=A([]),u=A([]),c=A([]),f=A([]),d=A([]),h=A([]),p=A([]),v=[],g=A(0),m=A(0),_=A(0),N=A(!1),b=A([]),O=A(!1),S=A(!1),E=A(null),x=A({}),R=A(null),B=A(null),W=A(null),T=A(null),q=A(null);ve(r,()=>t.state&&L(!1),{deep:!0});const ne=()=>{if(!o.value)throw new Error("[ElTable] prop row-key is required")},le=U=>{var te;(te=U.children)==null||te.forEach(me=>{me.fixed=U.fixed,le(me)})},ee=()=>{l.value.forEach(xe=>{le(xe)}),c.value=l.value.filter(xe=>xe.fixed===!0||xe.fixed==="left"),f.value=l.value.filter(xe=>xe.fixed==="right"),c.value.length>0&&l.value[0]&&l.value[0].type==="selection"&&!l.value[0].fixed&&(l.value[0].fixed=!0,c.value.unshift(l.value[0]));const U=l.value.filter(xe=>!xe.fixed);a.value=[].concat(c.value).concat(U).concat(f.value);const te=ii(U),me=ii(c.value),be=ii(f.value);g.value=te.length,m.value=me.length,_.value=be.length,u.value=[].concat(me).concat(te).concat(be),i.value=c.value.length>0||f.value.length>0},L=(U,te=!1)=>{U&&ee(),te?t.state.doLayout():t.state.debouncedUpdateLayout()},Y=U=>b.value.includes(U),I=()=>{N.value=!1,b.value.length&&(b.value=[],t.emit("selection-change",[]))},J=()=>{let U;if(o.value){U=[];const te=co(b.value,o.value),me=co(r.value,o.value);for(const be in te)ue(te,be)&&!me[be]&&U.push(te[be].row)}else U=b.value.filter(te=>!r.value.includes(te));if(U.length){const te=b.value.filter(me=>!U.includes(me));b.value=te,t.emit("selection-change",te.slice())}},pe=()=>(b.value||[]).slice(),Ee=(U,te=void 0,me=!0)=>{if(Ar(b.value,U,te)){const xe=(b.value||[]).slice();me&&t.emit("select",xe,U),t.emit("selection-change",xe)}},Ne=()=>{var U,te;const me=S.value?!N.value:!(N.value||b.value.length);N.value=me;let be=!1,xe=0;const Qe=(te=(U=t==null?void 0:t.store)==null?void 0:U.states)==null?void 0:te.rowKey.value;r.value.forEach((ke,lt)=>{const Rt=lt+xe;E.value?E.value.call(null,ke,Rt)&&Ar(b.value,ke,me)&&(be=!0):Ar(b.value,ke,me)&&(be=!0),xe+=Ke(st(ke,Qe))}),be&&t.emit("selection-change",b.value?b.value.slice():[]),t.emit("select-all",b.value)},Se=()=>{const U=co(b.value,o.value);r.value.forEach(te=>{const me=st(te,o.value),be=U[me];be&&(b.value[be.index]=te)})},He=()=>{var U,te,me;if(((U=r.value)==null?void 0:U.length)===0){N.value=!1;return}let be;o.value&&(be=co(b.value,o.value));const xe=function(Rt){return be?!!be[st(Rt,o.value)]:b.value.includes(Rt)};let Qe=!0,ke=0,lt=0;for(let Rt=0,sx=(r.value||[]).length;Rt<sx;Rt++){const ix=(me=(te=t==null?void 0:t.store)==null?void 0:te.states)==null?void 0:me.rowKey.value,lx=Rt+lt,Oa=r.value[Rt],ax=E.value&&E.value.call(null,Oa,lx);if(xe(Oa))ke++;else if(!E.value||ax){Qe=!1;break}lt+=Ke(st(Oa,ix))}ke===0&&(Qe=!1),N.value=Qe},Ke=U=>{var te;if(!t||!t.store)return 0;const{treeData:me}=t.store.states;let be=0;const xe=(te=me.value[U])==null?void 0:te.children;return xe&&(be+=xe.length,xe.forEach(Qe=>{be+=Ke(Qe)})),be},je=(U,te)=>{Array.isArray(U)||(U=[U]);const me={};return U.forEach(be=>{x.value[be.id]=te,me[be.columnKey||be.id]=te}),me},Fe=(U,te,me)=>{B.value&&B.value!==U&&(B.value.order=null),B.value=U,W.value=te,T.value=me},it=()=>{let U=w(s);Object.keys(x.value).forEach(te=>{const me=x.value[te];if(!me||me.length===0)return;const be=Cp({columns:u.value},te);be&&be.filterMethod&&(U=U.filter(xe=>me.some(Qe=>be.filterMethod.call(null,Qe,xe,be))))}),R.value=U},Xe=()=>{r.value=nN(R.value,{sortingColumn:B.value,sortProp:W.value,sortOrder:T.value})},dn=(U=void 0)=>{U&&U.filter||it(),Xe()},fo=U=>{const{tableHeaderRef:te}=t.refs;if(!te)return;const me=Object.assign({},te.filterPanels),be=Object.keys(me);if(be.length)if(typeof U=="string"&&(U=[U]),Array.isArray(U)){const xe=U.map(Qe=>qO({columns:u.value},Qe));be.forEach(Qe=>{const ke=xe.find(lt=>lt.id===Qe);ke&&(ke.filteredValue=[])}),t.store.commit("filterChange",{column:xe,values:[],silent:!0,multi:!0})}else be.forEach(xe=>{const Qe=u.value.find(ke=>ke.id===xe);Qe&&(Qe.filteredValue=[])}),x.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},y=()=>{B.value&&(Fe(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:C,toggleRowExpansion:$,updateExpandRows:D,states:k,isRowExpanded:H}=QO({data:r,rowKey:o}),{updateTreeExpandKeys:z,toggleTreeExpansion:V,updateTreeData:j,loadOrToggle:M,states:Z}=tN({data:r,rowKey:o}),{updateCurrentRowData:X,updateCurrentRow:Q,setCurrentRowKey:se,states:ge}=eN({data:r,rowKey:o});return{assertRowKey:ne,updateColumns:ee,scheduleLayout:L,isSelected:Y,clearSelection:I,cleanSelection:J,getSelectionRows:pe,toggleRowSelection:Ee,_toggleAllSelection:Ne,toggleAllSelection:null,updateSelectionByRowKey:Se,updateAllSelected:He,updateFilters:je,updateCurrentRow:Q,updateSort:Fe,execFilter:it,execSort:Xe,execQuery:dn,clearFilter:fo,clearSort:y,toggleRowExpansion:$,setExpandRowKeysAdapter:U=>{C(U),z(U)},setCurrentRowKey:se,toggleRowExpansionAdapter:(U,te)=>{u.value.some(({type:be})=>be==="expand")?$(U,te):V(U,te)},isRowExpanded:H,updateExpandRows:D,updateCurrentRowData:X,loadOrToggle:M,updateTreeData:j,states:{tableSize:n,rowKey:o,data:r,_data:s,isComplex:i,_columns:l,originColumns:a,columns:u,fixedColumns:c,rightFixedColumns:f,leafColumns:d,fixedLeafColumns:h,rightFixedLeafColumns:p,updateOrderFns:v,leafColumnsLength:g,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:_,isAllSelected:N,selection:b,reserveSelection:O,selectOnIndeterminate:S,selectable:E,filters:x,filteredData:R,sortingColumn:B,sortProp:W,sortOrder:T,hoverRow:q,...k,...Z,...ge}}}function wa(e,t){return e.map(n=>{var o;return n.id===t.id?t:((o=n.children)!=null&&o.length&&(n.children=wa(n.children,t)),n)})}function Ea(e){e.forEach(t=>{var n,o;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(o=t.children)!=null&&o.length&&Ea(t.children)}),e.sort((t,n)=>t.no-n.no)}function rN(){const e=Le(),t=oN();return{ns:Ie("table"),...t,mutations:{setData(i,l){const a=w(i._data)!==l;i.data.value=l,i._data.value=l,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),w(i.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):a?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,l,a,u){const c=w(i._columns);let f=[];a?(a&&!a.children&&(a.children=[]),a.children.push(l),f=wa(c,a)):(c.push(l),f=c),Ea(f),i._columns.value=f,i.updateOrderFns.push(u),l.type==="selection"&&(i.selectable.value=l.selectable,i.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(i,l){var a;((a=l.getColumnIndex)==null?void 0:a.call(l))!==l.no&&(Ea(i._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(i,l,a,u){const c=w(i._columns)||[];if(a)a.children.splice(a.children.findIndex(d=>d.id===l.id),1),ut(()=>{var d;((d=a.children)==null?void 0:d.length)===0&&delete a.children}),i._columns.value=wa(c,a);else{const d=c.indexOf(l);d>-1&&(c.splice(d,1),i._columns.value=c)}const f=i.updateOrderFns.indexOf(u);f>-1&&i.updateOrderFns.splice(f,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,l){const{prop:a,order:u,init:c}=l;if(a){const f=w(i.columns).find(d=>d.property===a);f&&(f.order=u,e.store.updateSort(f,a,u),e.store.commit("changeSortCondition",{init:c}))}},changeSortCondition(i,l){const{sortingColumn:a,sortProp:u,sortOrder:c}=i,f=w(a),d=w(u),h=w(c);h===null&&(i.sortingColumn.value=null,i.sortProp.value=null);const p={filter:!0};e.store.execQuery(p),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:f,prop:d,order:h}),e.store.updateTableScrollY()},filterChange(i,l){const{column:a,values:u,silent:c}=l,f=e.store.updateFilters(a,u);e.store.execQuery(),c||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(i,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(i,l){i.hoverRow.value=l},setCurrentRow(i,l){e.store.updateCurrentRow(l)}},commit:function(i,...l){const a=e.store.mutations;if(a[i])a[i].apply(e,[e.store.states].concat(l));else throw new Error(`Action not found: ${i}`)},updateTableScrollY:function(){ut(()=>e.layout.updateScrollY.apply(e.layout))}}}const Pr={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 sN(e,t){if(!e)throw new Error("Table is required.");const n=rN();return n.toggleAllSelection=Ps(n._toggleAllSelection,10),Object.keys(Pr).forEach(o=>{Ap(Pp(t,o),o,n)}),iN(n,t),n}function iN(e,t){Object.keys(Pr).forEach(n=>{ve(()=>Pp(t,n),o=>{Ap(o,n,e)})})}function Ap(e,t,n){let o=e,r=Pr[t];typeof Pr[t]=="object"&&(r=r.key,o=o||Pr[t].default),n.states[r].value=o}function Pp(e,t){if(t.includes(".")){const n=t.split(".");let o=e;return n.forEach(r=>{o=o[r]}),o}else return e[t]}class lN{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=A(null),this.scrollX=A(!1),this.scrollY=A(!1),this.bodyWidth=A(null),this.fixedWidth=A(null),this.rightFixedWidth=A(null),this.gutterWidth=0;for(const n in t)ue(t,n)&&(Pe(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 o=!0;const r=this.scrollY.value;return o=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=o,r!==o}return!1}setHeight(t,n="height"){if(!Ge)return;const o=this.table.vnode.el;if(t=YO(t),this.height.value=Number(t),!o&&(t||t===0))return ut(()=>this.setHeight(t,n));typeof t=="number"?(o.style[n]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(o.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(o=>{o.isColumnGroup?t.push.apply(t,o.columns):t.push(o)}),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(!Ge)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let o=0;const r=this.getFlattenColumns(),s=r.filter(a=>typeof a.width!="number");if(r.forEach(a=>{typeof a.width=="number"&&a.realWidth&&(a.realWidth=null)}),s.length>0&&t){if(r.forEach(a=>{o+=Number(a.width||a.minWidth||80)}),o<=n){this.scrollX.value=!1;const a=n-o;if(s.length===1)s[0].realWidth=Number(s[0].minWidth||80)+a;else{const u=s.reduce((d,h)=>d+Number(h.minWidth||80),0),c=a/u;let f=0;s.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}),s[0].realWidth=Number(s[0].minWidth||80)+a-f}}else this.scrollX.value=!0,s.forEach(a=>{a.realWidth=Number(a.minWidth)});this.bodyWidth.value=Math.max(o,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(a=>{!a.width&&!a.minWidth?a.realWidth=80:a.realWidth=Number(a.width||a.minWidth),o+=a.realWidth}),this.scrollX.value=o>n,this.bodyWidth.value=o;const i=this.store.states.fixedColumns.value;if(i.length>0){let a=0;i.forEach(u=>{a+=Number(u.realWidth||u.width)}),this.fixedWidth.value=a}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let a=0;l.forEach(u=>{a+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=a}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(o=>{var r,s;switch(t){case"columns":(r=o.state)==null||r.onColumnsChange(this);break;case"scrollable":(s=o.state)==null||s.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:aN}=Mo,uN=ie({name:"ElTableFilterPanel",components:{ElCheckbox:Mo,ElCheckboxGroup:aN,ElScrollbar:Dd,ElTooltip:Ql,ElIcon:lo,ArrowDown:iE,ArrowUp:mE},directives:{ClickOutside:U1},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=Le(),{t:n}=Vs(),o=Ie("table-filter"),r=t==null?void 0:t.parent;r.filterPanels.value[e.column.id]||(r.filterPanels.value[e.column.id]=t);const s=A(!1),i=A(null),l=P(()=>e.column&&e.column.filters),a=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===a.value,d=()=>{s.value=!1},h=b=>{b.stopPropagation(),s.value=!s.value},p=()=>{s.value=!1},v=()=>{_(u.value),d()},g=()=>{u.value=[],_(u.value),d()},m=b=>{a.value=b,_(typeof b<"u"&&b!==null?u.value:[]),d()},_=b=>{e.store.commit("filterChange",{column:e.column,values:b}),e.store.updateAllSelected()};ve(s,b=>{e.column&&e.upDataColumn("filterOpened",b)},{immediate:!0});const N=P(()=>{var b,O;return(O=(b=i.value)==null?void 0:b.popperRef)==null?void 0:O.contentRef});return{tooltipVisible:s,multiple:c,filteredValue:u,filterValue:a,filters:l,handleConfirm:v,handleReset:g,handleSelect:m,isActive:f,t:n,ns:o,showFilterPanel:h,hideFilterPanel:p,popperPaneRef:N,tooltip:i}}}),cN={key:0},fN=["disabled"],dN=["label","onClick"];function pN(e,t,n,o,r,s){const i=Tt("el-checkbox"),l=Tt("el-checkbox-group"),a=Tt("el-scrollbar"),u=Tt("arrow-up"),c=Tt("arrow-down"),f=Tt("el-icon"),d=Tt("el-tooltip"),h=Pu("click-outside");return K(),Oe(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:he(()=>[e.multiple?(K(),ce("div",cN,[Re("div",{class:re(e.ns.e("content"))},[we(a,{"wrap-class":e.ns.e("wrap")},{default:he(()=>[we(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.filteredValue=p),class:re(e.ns.e("checkbox-group"))},{default:he(()=>[(K(!0),ce(Ve,null,er(e.filters,p=>(K(),Oe(i,{key:p.value,label:p.value},{default:he(()=>[Mt(nt(p.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),Re("div",{class:re(e.ns.e("bottom"))},[Re("button",{class:re({[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))},nt(e.t("el.table.confirmFilter")),11,fN),Re("button",{type:"button",onClick:t[2]||(t[2]=(...p)=>e.handleReset&&e.handleReset(...p))},nt(e.t("el.table.resetFilter")),1)],2)])):(K(),ce("ul",{key:1,class:re(e.ns.e("list"))},[Re("li",{class:re([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))},nt(e.t("el.table.clearFilter")),3),(K(!0),ce(Ve,null,er(e.filters,p=>(K(),ce("li",{key:p.value,class:re([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),label:p.value,onClick:v=>e.handleSelect(p.value)},nt(p.text),11,dN))),128))],2))]),default:he(()=>[wt((K(),ce("span",{class:re([`${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))},[we(f,null,{default:he(()=>[e.column.filterOpened?(K(),Oe(u,{key:0})):(K(),Oe(c,{key:1}))]),_:1})],2)),[[h,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var hN=We(uN,[["render",pN],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function Rp(e){const t=Le();ls(()=>{n.value.addObserver(t)}),et(()=>{o(n.value),r(n.value)}),Ii(()=>{o(n.value),r(n.value)}),yo(()=>{n.value.removeObserver(t)});const n=P(()=>{const s=e.layout;if(!s)throw new Error("Can not find table layout.");return s}),o=s=>{var i;const l=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col"))||[];if(!l.length)return;const a=s.getFlattenColumns(),u={};a.forEach(c=>{u[c.id]=c});for(let c=0,f=l.length;c<f;c++){const d=l[c],h=d.getAttribute("name"),p=u[h];p&&d.setAttribute("width",p.realWidth||p.width)}},r=s=>{var i,l;const a=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,f=a.length;c<f;c++)a[c].setAttribute("width",s.scrollY.value?s.gutterWidth:"0");const u=((l=e.vnode.el)==null?void 0:l.querySelectorAll("th.gutter"))||[];for(let c=0,f=u.length;c<f;c++){const d=u[c];d.style.width=s.scrollY.value?`${s.gutterWidth}px`:"0",d.style.display=s.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:o,onScrollableChange:r}}const Qt=Symbol("ElTable");function vN(e,t){const n=Le(),o=ye(Qt),r=v=>{v.stopPropagation()},s=(v,g)=>{!g.filters&&g.sortable?p(v,g,!1):g.filterable&&!g.sortable&&r(v),o==null||o.emit("header-click",g,v)},i=(v,g)=>{o==null||o.emit("header-contextmenu",g,v)},l=A(null),a=A(!1),u=A({}),c=(v,g)=>{if(Ge&&!(g.children&&g.children.length>0)&&l.value&&e.border){a.value=!0;const m=o;t("set-drag-visible",!0);const N=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,b=n.vnode.el.querySelector(`th.${g.id}`),O=b.getBoundingClientRect(),S=O.left-N+30;Is(b,"noclick"),u.value={startMouseLeft:v.clientX,startLeft:O.right-N,startColumnLeft:O.left-N,tableLeft:N};const E=m==null?void 0:m.refs.resizeProxy;E.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const x=B=>{const W=B.clientX-u.value.startMouseLeft,T=u.value.startLeft+W;E.style.left=`${Math.max(S,T)}px`},R=()=>{if(a.value){const{startColumnLeft:B,startLeft:W}=u.value,q=Number.parseInt(E.style.left,10)-B;g.width=g.realWidth=q,m==null||m.emit("header-dragend",g.width,W-B,g,v),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",a.value=!1,l.value=null,u.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",R),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{ro(b,"noclick")},0)};document.addEventListener("mousemove",x),document.addEventListener("mouseup",R)}},f=(v,g)=>{if(g.children&&g.children.length>0)return;const m=v.target;if(!No(m))return;const _=m==null?void 0:m.closest("th");if(!(!g||!g.resizable)&&!a.value&&e.border){const N=_.getBoundingClientRect(),b=document.body.style;N.width>12&&N.right-v.pageX<8?(b.cursor="col-resize",Rs(_,"is-sortable")&&(_.style.cursor="col-resize"),l.value=g):a.value||(b.cursor="",Rs(_,"is-sortable")&&(_.style.cursor="pointer"),l.value=null)}},d=()=>{Ge&&(document.body.style.cursor="")},h=({order:v,sortOrders:g})=>{if(v==="")return g[0];const m=g.indexOf(v||null);return g[m>g.length-2?0:m+1]},p=(v,g,m)=>{var _;v.stopPropagation();const N=g.order===m?null:m||h(g),b=(_=v.target)==null?void 0:_.closest("th");if(b&&Rs(b,"noclick")){ro(b,"noclick");return}if(!g.sortable)return;const O=e.store.states;let S=O.sortProp.value,E;const x=O.sortingColumn.value;(x!==g||x===g&&x.order===null)&&(x&&(x.order=null),O.sortingColumn.value=g,S=g.property),N?E=g.order=N:E=g.order=null,O.sortProp.value=S,O.sortOrder.value=E,o==null||o.store.commit("changeSortCondition")};return{handleHeaderClick:s,handleHeaderContextMenu:i,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:p,handleFilterClick:r}}function gN(e){const t=ye(Qt),n=Ie("table");return{getHeaderRowStyle:l=>{const a=t==null?void 0:t.props.headerRowStyle;return typeof a=="function"?a.call(null,{rowIndex:l}):a},getHeaderRowClass:l=>{const a=[],u=t==null?void 0:t.props.headerRowClassName;return typeof u=="string"?a.push(u):typeof u=="function"&&a.push(u.call(null,{rowIndex:l})),a.join(" ")},getHeaderCellStyle:(l,a,u,c)=>{var f;let d=(f=t==null?void 0:t.props.headerCellStyle)!=null?f:{};typeof d=="function"&&(d=d.call(null,{rowIndex:l,columnIndex:a,row:u,column:c}));const h=ya(a,c.fixed,e.store,u);return Lo(h,"left"),Lo(h,"right"),Object.assign({},d,h)},getHeaderCellClass:(l,a,u,c)=>{const f=ba(n.b(),a,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:l,columnIndex:a,row:u,column:c})),d.push(n.e("cell")),d.filter(p=>!!p).join(" ")}}}const Ip=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,Ip(n.children))):t.push(n)}),t},mN=e=>{let t=1;const n=(s,i)=>{if(i&&(s.level=i.level+1,t<s.level&&(t=s.level)),s.children){let l=0;s.children.forEach(a=>{n(a,s),l+=a.colSpan}),s.colSpan=l}else s.colSpan=1};e.forEach(s=>{s.level=1,n(s,void 0)});const o=[];for(let s=0;s<t;s++)o.push([]);return Ip(e).forEach(s=>{s.children?(s.rowSpan=1,s.children.forEach(i=>i.isSubColumn=!0)):s.rowSpan=t-s.level+1,o[s.level-1].push(s)}),o};function bN(e){const t=ye(Qt),n=P(()=>mN(e.store.states.originColumns.value));return{isGroup:P(()=>{const s=n.value.length>1;return s&&t&&(t.state.isGroup.value=!0),s}),toggleAllSelection:s=>{s.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var yN=ie({name:"ElTableHeader",components:{ElCheckbox:Mo},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=Le(),o=ye(Qt),r=Ie("table"),s=A({}),{onColumnsChange:i,onScrollableChange:l}=Rp(o);et(async()=>{await ut(),await ut();const{prop:S,order:E}=e.defaultSort;o==null||o.store.commit("sort",{prop:S,order:E,init:!0})});const{handleHeaderClick:a,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:p}=vN(e,t),{getHeaderRowStyle:v,getHeaderRowClass:g,getHeaderCellStyle:m,getHeaderCellClass:_}=gN(e),{isGroup:N,toggleAllSelection:b,columnRows:O}=bN(e);return n.state={onColumnsChange:i,onScrollableChange:l},n.filterPanels=s,{ns:r,filterPanels:s,onColumnsChange:i,onScrollableChange:l,columnRows:O,getHeaderRowClass:g,getHeaderRowStyle:v,getHeaderCellClass:_,getHeaderCellStyle:m,handleHeaderClick:a,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:p,isGroup:N,toggleAllSelection:b}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:o,getHeaderCellClass:r,getHeaderRowClass:s,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:a,handleMouseDown:u,handleMouseMove:c,handleSortClick:f,handleMouseOut:d,store:h,$parent:p}=this;let v=1;return fe("thead",{class:{[e.is("group")]:t}},n.map((g,m)=>fe("tr",{class:s(m),key:m,style:i(m)},g.map((_,N)=>(_.rowSpan>v&&(v=_.rowSpan),fe("th",{class:r(m,N,g,_),colspan:_.colSpan,key:`${_.id}-thead`,rowspan:_.rowSpan,style:o(m,N,g,_),onClick:b=>l(b,_),onContextmenu:b=>a(b,_),onMousedown:b=>u(b,_),onMousemove:b=>c(b,_),onMouseout:d},[fe("div",{class:["cell",_.filteredValue&&_.filteredValue.length>0?"highlight":""]},[_.renderHeader?_.renderHeader({column:_,$index:N,store:h,_self:p}):_.label,_.sortable&&fe("span",{onClick:b=>f(b,_),class:"caret-wrapper"},[fe("i",{onClick:b=>f(b,_,"ascending"),class:"sort-caret ascending"}),fe("i",{onClick:b=>f(b,_,"descending"),class:"sort-caret descending"})]),_.filterable&&fe(hN,{store:h,placement:_.filterPlacement||"bottom-start",column:_,upDataColumn:(b,O)=>{_[b]=O}})])]))))))}});function wN(e){const t=ye(Qt),n=A(""),o=A(fe("div")),{nextZIndex:r}=Hl(),s=(p,v,g)=>{var m;const _=t,N=ga(p);let b;const O=(m=_==null?void 0:_.vnode.el)==null?void 0:m.dataset.prefix;N&&(b=Op({columns:e.store.states.columns.value},N,O),b&&(_==null||_.emit(`cell-${g}`,v,b,N,p))),_==null||_.emit(`row-${g}`,v,b,p)},i=(p,v)=>{s(p,v,"dblclick")},l=(p,v)=>{e.store.commit("setCurrentRow",v),s(p,v,"click")},a=(p,v)=>{s(p,v,"contextmenu")},u=Ps(p=>{e.store.commit("setHoverRow",p)},30),c=Ps(()=>{e.store.commit("setHoverRow",null)},30),f=p=>{const v=window.getComputedStyle(p,null),g=Number.parseInt(v.paddingLeft,10)||0,m=Number.parseInt(v.paddingRight,10)||0,_=Number.parseInt(v.paddingTop,10)||0,N=Number.parseInt(v.paddingBottom,10)||0;return{left:g,right:m,top:_,bottom:N}};return{handleDoubleClick:i,handleClick:l,handleContextMenu:a,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(p,v,g)=>{var m;const _=t,N=ga(p),b=(m=_==null?void 0:_.vnode.el)==null?void 0:m.dataset.prefix;if(N){const L=Op({columns:e.store.states.columns.value},N,b),Y=_.hoverState={cell:N,column:L,row:v};_==null||_.emit("cell-mouse-enter",Y.row,Y.column,Y.cell,p)}if(!g)return;const O=p.target.querySelector(".cell");if(!(Rs(O,`${b}-tooltip`)&&O.childNodes.length))return;const S=document.createRange();S.setStart(O,0),S.setEnd(O,O.childNodes.length);let E=S.getBoundingClientRect().width,x=S.getBoundingClientRect().height;E-Math.floor(E)<.001&&(E=Math.floor(E)),x-Math.floor(x)<.001&&(x=Math.floor(x));const{top:W,left:T,right:q,bottom:ne}=f(O),le=T+q,ee=W+ne;(E+le>O.offsetWidth||x+ee>O.offsetHeight||O.scrollWidth>O.offsetWidth)&&ZO(t==null?void 0:t.refs.tableWrapper,N,N.innerText||N.textContent,r,g)},handleCellMouseLeave:p=>{if(!ga(p))return;const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,p)},tooltipContent:n,tooltipTrigger:o}}function EN(e){const t=ye(Qt),n=Ie("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=ya(c,e==null?void 0:e.fixed,e.store);return Lo(v,"left"),Lo(v,"right"),Object.assign({},p,v)},getCellClass:(u,c,f,d,h)=>{const p=ba(n.b(),c,e==null?void 0:e.fixed,e.store,void 0,h),v=[d.id,d.align,d.className,...p],g=t==null?void 0:t.props.cellClassName;return typeof g=="string"?v.push(g):typeof g=="function"&&v.push(g.call(null,{rowIndex:u,columnIndex:c,row:f,column:d})),v.push(n.e("cell")),v.filter(m=>!!m).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 g=v({row:u,column:c,rowIndex:f,columnIndex:d});Array.isArray(g)?(h=g[0],p=g[1]):typeof g=="object"&&(h=g.rowspan,p=g.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 _N(e){const t=ye(Qt),n=Ie("table"),{handleDoubleClick:o,handleClick:r,handleContextMenu:s,handleMouseEnter:i,handleMouseLeave:l,handleCellMouseEnter:a,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:f}=wN(e),{getRowStyle:d,getRowClass:h,getCellStyle:p,getCellClass:v,getSpan:g,getColspanRealWidth:m}=EN(e),_=P(()=>e.store.states.columns.value.findIndex(({type:E})=>E==="default")),N=(E,x)=>{const R=t.props.rowKey;return R?st(E,R):x},b=(E,x,R,B=!1)=>{const{tooltipEffect:W,tooltipOptions:T,store:q}=e,{indent:ne,columns:le}=q.states,ee=h(E,x);let L=!0;return R&&(ee.push(n.em("row",`level-${R.level}`)),L=R.display),fe("tr",{style:[L?null:{display:"none"},d(E,x)],class:ee,key:N(E,x),onDblclick:I=>o(I,E),onClick:I=>r(I,E),onContextmenu:I=>s(I,E),onMouseenter:()=>i(x),onMouseleave:l},le.value.map((I,J)=>{const{rowspan:pe,colspan:Ee}=g(E,I,x,J);if(!pe||!Ee)return null;const Ne=Object.assign({},I);Ne.realWidth=m(le.value,Ee,J);const Se={store:e.store,_self:e.context||t,column:Ne,row:E,$index:x,cellIndex:J,expanded:B};J===_.value&&R&&(Se.treeNode={indent:R.level*ne.value,level:R.level},typeof R.expanded=="boolean"&&(Se.treeNode.expanded=R.expanded,"loading"in R&&(Se.treeNode.loading=R.loading),"noLazyChildren"in R&&(Se.treeNode.noLazyChildren=R.noLazyChildren)));const He=`${x},${J}`,Ke=Ne.columnKey||Ne.rawColumnKey||"",je=O(J,I,Se),Fe=I.showOverflowTooltip&&Vf({effect:W},T,I.showOverflowTooltip);return fe("td",{style:p(x,J,E,I),class:v(x,J,E,I,Ee-1),key:`${Ke}${He}`,rowspan:pe,colspan:Ee,onMouseenter:it=>a(it,E,Fe),onMouseleave:u},[je])}))},O=(E,x,R)=>x.renderCell(R);return{wrappedRowRender:(E,x)=>{const R=e.store,{isRowExpanded:B,assertRowKey:W}=R,{treeData:T,lazyTreeNodeMap:q,childrenColumnName:ne,rowKey:le}=R.states,ee=R.states.columns.value;if(ee.some(({type:Y})=>Y==="expand")){const Y=B(E),I=b(E,x,void 0,Y),J=t.renderExpanded;return Y?J?[[I,fe("tr",{key:`expanded-row__${I.key}`},[fe("td",{colspan:ee.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[J({row:E,$index:x,store:R,expanded:Y})])])]]:(console.error("[Element Error]renderExpanded is required."),I):[[I]]}else if(Object.keys(T.value).length){W();const Y=st(E,le.value);let I=T.value[Y],J=null;I&&(J={expanded:I.expanded,level:I.level,display:!0},typeof I.lazy=="boolean"&&(typeof I.loaded=="boolean"&&I.loaded&&(J.noLazyChildren=!(I.children&&I.children.length)),J.loading=I.loading));const pe=[b(E,x,J)];if(I){let Ee=0;const Ne=(He,Ke)=>{He&&He.length&&Ke&&He.forEach(je=>{const Fe={display:Ke.display&&Ke.expanded,level:Ke.level+1,expanded:!1,noLazyChildren:!1,loading:!1},it=st(je,le.value);if(it==null)throw new Error("For nested data item, row-key is required.");if(I={...T.value[it]},I&&(Fe.expanded=I.expanded,I.level=I.level||Fe.level,I.display=!!(I.expanded&&Fe.display),typeof I.lazy=="boolean"&&(typeof I.loaded=="boolean"&&I.loaded&&(Fe.noLazyChildren=!(I.children&&I.children.length)),Fe.loading=I.loading)),Ee++,pe.push(b(je,x+Ee,Fe)),I){const Xe=q.value[it]||je[ne.value];Ne(Xe,I)}})};I.display=!0;const Se=q.value[Y]||E[ne.value];Ne(Se,I)}return pe}else return b(E,x,void 0)},tooltipContent:c,tooltipTrigger:f}}var CN=ie({name:"ElTableBody",props:{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},setup(e){const t=Le(),n=ye(Qt),o=Ie("table"),{wrappedRowRender:r,tooltipContent:s,tooltipTrigger:i}=_N(e),{onColumnsChange:l,onScrollableChange:a}=Rp(n);return ve(e.store.states.hoverRow,(u,c)=>{!e.store.states.isComplex.value||!Ge||FE(()=>{const f=t==null?void 0:t.vnode.el,d=Array.from((f==null?void 0:f.children)||[]).filter(v=>v==null?void 0:v.classList.contains(`${o.e("row")}`)),h=d[c],p=d[u];h&&ro(h,"hover-row"),p&&Is(p,"hover-row")})}),yo(()=>{var u;(u=fn)==null||u()}),{ns:o,onColumnsChange:l,onScrollableChange:a,wrappedRowRender:r,tooltipContent:s,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return fe("tbody",{tabIndex:-1},[n.reduce((o,r)=>o.concat(e(r,o.length)),[])])}});function _a(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(r=>r.width===void 0)&&(n=[]);const o=r=>{const s={key:`${e.tableLayout}_${r.id}`,style:{},name:void 0};return t?s.style={width:`${r.width}px`}:s.name=r.id,s};return fe("colgroup",{},n.map(r=>fe("col",o(r))))}_a.props=["columns","tableLayout"];function ON(){const e=ye(Qt),t=e==null?void 0:e.store,n=P(()=>t.states.fixedLeafColumnsLength.value),o=P(()=>t.states.rightFixedColumns.value.length),r=P(()=>t.states.columns.value.length),s=P(()=>t.states.fixedColumns.value.length),i=P(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:o,columnsCount:r,leftFixedCount:s,rightFixedCount:i,columns:t.states.columns}}function NN(e){const{columns:t}=ON(),n=Ie("table");return{getCellClasses:(s,i)=>{const l=s[i],a=[n.e("cell"),l.id,l.align,l.labelClassName,...ba(n.b(),i,l.fixed,e.store)];return l.className&&a.push(l.className),l.children||a.push(n.is("leaf")),a},getCellStyles:(s,i)=>{const l=ya(i,s.fixed,e.store);return Lo(l,"left"),Lo(l,"right"),l},columns:t}}var xN=ie({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:o}=NN(e);return{ns:Ie("table"),getCellClasses:t,getCellStyles:n,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:o,sumText:r,ns:s}=this,i=this.store.states.data.value;let l=[];return o?l=o({columns:e,data:i}):e.forEach((a,u)=>{if(u===0){l[u]=r;return}const c=i.map(p=>Number(p[a.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?l[u]="":l[u]=c.reduce((p,v)=>{const g=Number(v);return Number.isNaN(+g)?p:Number.parseFloat((p+v).toFixed(Math.min(h,20)))},0)}),fe("table",{class:s.e("footer"),cellspacing:"0",cellpadding:"0",border:"0"},[_a({columns:e}),fe("tbody",[fe("tr",{},[...e.map((a,u)=>fe("td",{key:u,colspan:a.colSpan,rowspan:a.rowSpan,class:n(e,u),style:t(a,u)},[fe("div",{class:["cell",a.labelClassName]},[l[u]])]))])])])}});function SN(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 TN(e,t,n,o){const r=A(!1),s=A(null),i=A(!1),l=I=>{i.value=I},a=A({width:null,height:null,headerHeight:null}),u=A(!1),c={display:"inline-block",verticalAlign:"middle"},f=A(),d=A(0),h=A(0),p=A(0),v=A(0),g=A(0);Jo(()=>{t.setHeight(e.height)}),Jo(()=>{t.setMaxHeight(e.maxHeight)}),ve(()=>[e.currentRowKey,n.states.rowKey],([I,J])=>{!w(J)||!w(I)||n.setCurrentRowKey(`${I}`)},{immediate:!0}),ve(()=>e.data,I=>{o.store.commit("setData",I)},{immediate:!0,deep:!0}),Jo(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const m=()=>{o.store.commit("setHoverRow",null),o.hoverState&&(o.hoverState=null)},_=(I,J)=>{const{pixelX:pe,pixelY:Ee}=J;Math.abs(pe)>=Math.abs(Ee)&&(o.refs.bodyWrapper.scrollLeft+=J.pixelX/5)},N=P(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),b=P(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),O=()=>{N.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(R)};et(async()=>{await ut(),n.updateColumns(),B(),requestAnimationFrame(O);const I=o.vnode.el,J=o.refs.headerWrapper;e.flexible&&I&&I.parentElement&&(I.parentElement.style.minWidth="0"),a.value={width:f.value=I.offsetWidth,height:I.offsetHeight,headerHeight:e.showHeader&&J?J.offsetHeight:null},n.states.columns.value.forEach(pe=>{pe.filteredValue&&pe.filteredValue.length&&o.store.commit("filterChange",{column:pe,values:pe.filteredValue,silent:!0})}),o.$ready=!0});const S=(I,J)=>{if(!I)return;const pe=Array.from(I.classList).filter(Ee=>!Ee.startsWith("is-scrolling-"));pe.push(t.scrollX.value?J:"is-scrolling-none"),I.className=pe.join(" ")},E=I=>{const{tableWrapper:J}=o.refs;S(J,I)},x=I=>{const{tableWrapper:J}=o.refs;return!!(J&&J.classList.contains(I))},R=function(){if(!o.refs.scrollBarRef)return;if(!t.scrollX.value){const Ke="is-scrolling-none";x(Ke)||E(Ke);return}const I=o.refs.scrollBarRef.wrapRef;if(!I)return;const{scrollLeft:J,offsetWidth:pe,scrollWidth:Ee}=I,{headerWrapper:Ne,footerWrapper:Se}=o.refs;Ne&&(Ne.scrollLeft=J),Se&&(Se.scrollLeft=J);const He=Ee-pe-1;J>=He?E("is-scrolling-right"):E(J===0?"is-scrolling-left":"is-scrolling-middle")},B=()=>{o.refs.scrollBarRef&&(o.refs.scrollBarRef.wrapRef&&Nn(o.refs.scrollBarRef.wrapRef,"scroll",R,{passive:!0}),e.fit?sl(o.vnode.el,W):Nn(window,"resize",W),sl(o.refs.bodyWrapper,()=>{var I,J;W(),(J=(I=o.refs)==null?void 0:I.scrollBarRef)==null||J.update()}))},W=()=>{var I,J,pe,Ee;const Ne=o.vnode.el;if(!o.$ready||!Ne)return;let Se=!1;const{width:He,height:Ke,headerHeight:je}=a.value,Fe=f.value=Ne.offsetWidth;He!==Fe&&(Se=!0);const it=Ne.offsetHeight;(e.height||N.value)&&Ke!==it&&(Se=!0);const Xe=e.tableLayout==="fixed"?o.refs.headerWrapper:(I=o.refs.tableHeaderRef)==null?void 0:I.$el;e.showHeader&&(Xe==null?void 0:Xe.offsetHeight)!==je&&(Se=!0),d.value=((J=o.refs.tableWrapper)==null?void 0:J.scrollHeight)||0,p.value=(Xe==null?void 0:Xe.scrollHeight)||0,v.value=((pe=o.refs.footerWrapper)==null?void 0:pe.offsetHeight)||0,g.value=((Ee=o.refs.appendWrapper)==null?void 0:Ee.offsetHeight)||0,h.value=d.value-p.value-v.value-g.value,Se&&(a.value={width:Fe,height:it,headerHeight:e.showHeader&&(Xe==null?void 0:Xe.offsetHeight)||0},O())},T=Gs(),q=P(()=>{const{bodyWidth:I,scrollY:J,gutterWidth:pe}=t;return I.value?`${I.value-(J.value?pe:0)}px`:""}),ne=P(()=>e.maxHeight?"fixed":e.tableLayout),le=P(()=>{if(e.data&&e.data.length)return null;let I="100%";e.height&&h.value&&(I=`${h.value}px`);const J=f.value;return{width:J?`${J}px`:"",height:I}}),ee=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`}:{}),L=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:r,renderExpanded:s,setDragVisible:l,isGroup:u,handleMouseLeave:m,handleHeaderFooterMousewheel:_,tableSize:T,emptyBlockStyle:le,handleFixedMousewheel:(I,J)=>{const pe=o.refs.bodyWrapper;if(Math.abs(J.spinY)>0){const Ee=pe.scrollTop;J.pixelY<0&&Ee!==0&&I.preventDefault(),J.pixelY>0&&pe.scrollHeight-pe.clientHeight>Ee&&I.preventDefault(),pe.scrollTop+=Math.ceil(J.pixelY/5)}else pe.scrollLeft+=Math.ceil(J.pixelX/5)},resizeProxyVisible:i,bodyWidth:q,resizeState:a,doLayout:O,tableBodyStyles:b,tableLayout:ne,scrollbarViewStyle:c,tableInnerStyle:ee,scrollbarStyle:L}}function $N(e){const t=A(),n=()=>{const r=e.vnode.el.querySelector(".hidden-columns"),s={childList:!0,subtree:!0},i=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{i.forEach(l=>l())}),t.value.observe(r,s)};et(()=>{n()}),yo(()=>{var o;(o=t.value)==null||o.disconnect()})}var AN={data:{type:Array,default:()=>[]},size:Ks,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,showOverflowTooltip:[Boolean,Object]};const PN=()=>{const e=A(),t=(s,i)=>{const l=e.value;l&&l.scrollTo(s,i)},n=(s,i)=>{const l=e.value;l&&Vt(i)&&["Top","Left"].includes(s)&&l[`setScroll${s}`](i)};return{scrollBarRef:e,scrollTo:t,setScrollTop:s=>n("Top",s),setScrollLeft:s=>n("Left",s)}};let RN=1;const IN=ie({name:"ElTable",directives:{Mousewheel:Q1},components:{TableHeader:yN,TableBody:CN,TableFooter:xN,ElScrollbar:Dd,hColgroup:_a},props:AN,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}=Vs(),n=Ie("table"),o=Le();dt(Qt,o);const r=sN(o,e);o.store=r;const s=new lN({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=s;const i=P(()=>(r.states.data.value||[]).length===0),{setCurrentRow:l,getSelectionRows:a,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:p,sort:v}=SN(r),{isHidden:g,renderExpanded:m,setDragVisible:_,isGroup:N,handleMouseLeave:b,handleHeaderFooterMousewheel:O,tableSize:S,emptyBlockStyle:E,handleFixedMousewheel:x,resizeProxyVisible:R,bodyWidth:B,resizeState:W,doLayout:T,tableBodyStyles:q,tableLayout:ne,scrollbarViewStyle:le,tableInnerStyle:ee,scrollbarStyle:L}=TN(e,s,r,o),{scrollBarRef:Y,scrollTo:I,setScrollLeft:J,setScrollTop:pe}=PN(),Ee=Ps(T,50),Ne=`${n.namespace.value}-table_${RN++}`;o.tableId=Ne,o.state={isGroup:N,resizeState:W,doLayout:T,debouncedUpdateLayout:Ee};const Se=P(()=>e.sumText||t("el.table.sumText")),He=P(()=>e.emptyText||t("el.table.emptyText"));return $N(o),{ns:n,layout:s,store:r,handleHeaderFooterMousewheel:O,handleMouseLeave:b,tableId:Ne,tableSize:S,isHidden:g,isEmpty:i,renderExpanded:m,resizeProxyVisible:R,resizeState:W,isGroup:N,bodyWidth:B,tableBodyStyles:q,emptyBlockStyle:E,debouncedUpdateLayout:Ee,handleFixedMousewheel:x,setCurrentRow:l,getSelectionRows:a,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:p,doLayout:T,sort:v,t,setDragVisible:_,context:o,computedSumText:Se,computedEmptyText:He,tableLayout:ne,scrollbarViewStyle:le,tableInnerStyle:ee,scrollbarStyle:L,scrollBarRef:Y,scrollTo:I,setScrollLeft:J,setScrollTop:pe}}}),kN=["data-prefix"],DN={ref:"hiddenColumns",class:"hidden-columns"};function MN(e,t,n,o,r,s){const i=Tt("hColgroup"),l=Tt("table-header"),a=Tt("table-body"),u=Tt("el-scrollbar"),c=Tt("table-footer"),f=Pu("mousewheel");return K(),ce("div",{ref:"tableWrapper",class:re([{[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:tt(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=(...d)=>e.handleMouseLeave&&e.handleMouseLeave(...d))},[Re("div",{class:re(e.ns.e("inner-wrapper")),style:tt(e.tableInnerStyle)},[Re("div",DN,[Me(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?wt((K(),ce("div",{key:0,ref:"headerWrapper",class:re(e.ns.e("header-wrapper"))},[Re("table",{ref:"tableHeader",class:re(e.ns.e("header")),style:tt(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[we(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),we(l,{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]]):ze("v-if",!0),Re("div",{ref:"bodyWrapper",class:re(e.ns.e("body-wrapper"))},[we(u,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn},{default:he(()=>[Re("table",{ref:"tableBody",class:re(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:tt({width:e.bodyWidth,tableLayout:e.tableLayout})},[we(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(K(),Oe(l,{key:0,ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])):ze("v-if",!0),we(a,{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(),ce("div",{key:0,ref:"emptyBlock",style:tt(e.emptyBlockStyle),class:re(e.ns.e("empty-block"))},[Re("span",{class:re(e.ns.e("empty-text"))},[Me(e.$slots,"empty",{},()=>[Mt(nt(e.computedEmptyText),1)])],2)],6)):ze("v-if",!0),e.$slots.append?(K(),ce("div",{key:1,ref:"appendWrapper",class:re(e.ns.e("append-wrapper"))},[Me(e.$slots,"append")],2)):ze("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),e.showSummary?wt((K(),ce("div",{key:1,ref:"footerWrapper",class:re(e.ns.e("footer-wrapper"))},[we(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,style:tt(e.tableBodyStyles),"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","style","sum-text","summary-method"])],2)),[[ur,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):ze("v-if",!0),e.border||e.isGroup?(K(),ce("div",{key:2,class:re(e.ns.e("border-left-patch"))},null,2)):ze("v-if",!0)],6),wt(Re("div",{ref:"resizeProxy",class:re(e.ns.e("column-resize-proxy"))},null,2),[[ur,e.resizeProxyVisible]])],46,kN)}var LN=We(IN,[["render",MN],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const FN={selection:"table-column--selection",expand:"table__expand-column"},VN={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:""}},BN=e=>FN[e]||"",HN={selection:{renderHeader({store:e,column:t}){function n(){return e.states.data.value&&e.states.data.value.length===0}return fe(Mo,{disabled:n(),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,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:o}){return fe(Mo,{disabled:t.selectable?!t.selectable.call(null,e,o):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const o=e.index;return typeof o=="number"?n=t+o:typeof o=="function"&&(n=o(t)),fe("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:o}=t,r=[o.e("expand-icon")];return n&&r.push(o.em("expand-icon","expanded")),fe("div",{class:r,onClick:function(i){i.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[fe(lo,null,{default:()=>[fe(Kf)]})]})},sortable:!1,resizable:!1}};function jN({row:e,column:t,$index:n}){var o;const r=t.property,s=r&&Qw(e,r).value;return t&&t.formatter?t.formatter(e,t,s,n):((o=s==null?void 0:s.toString)==null?void 0:o.call(s))||""}function WN({row:e,treeNode:t,store:n},o=!1){const{ns:r}=n;if(!t)return o?[fe("span",{class:r.e("placeholder")})]:null;const s=[],i=function(l){l.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&s.push(fe("span",{class:r.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const l=[r.e("expand-icon"),t.expanded?r.em("expand-icon","expanded"):""];let a=Kf;t.loading&&(a=Uf),s.push(fe("div",{class:l,onClick:i},{default:()=>[fe(lo,{class:{[r.is("loading")]:t.loading}},{default:()=>[fe(a)]})]}))}else s.push(fe("span",{class:r.e("placeholder")}));return s}function kp(e,t){return e.reduce((n,o)=>(n[o]=o,n),t)}function zN(e,t){const n=Le();return{registerComplexWatchers:()=>{const s=["fixed"],i={realWidth:"width",realMinWidth:"minWidth"},l=kp(s,i);Object.keys(l).forEach(a=>{const u=i[a];ue(t,u)&&ve(()=>t[u],c=>{let f=c;u==="width"&&a==="realWidth"&&(f=ma(c)),u==="minWidth"&&a==="realMinWidth"&&(f=Np(c)),n.columnConfig.value[u]=f,n.columnConfig.value[a]=f;const d=u==="fixed";e.value.store.scheduleLayout(d)})})},registerNormalWatchers:()=>{const s=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=kp(s,i);Object.keys(l).forEach(a=>{const u=i[a];ue(t,u)&&ve(()=>t[u],c=>{n.columnConfig.value[a]=c})})}}}function KN(e,t,n){const o=Le(),r=A(""),s=A(!1),i=A(),l=A(),a=Ie("table");Jo(()=>{i.value=e.align?`is-${e.align}`:null,i.value}),Jo(()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:i.value,l.value});const u=P(()=>{let b=o.vnode.vParent||o.parent;for(;b&&!b.tableId&&!b.columnId;)b=b.vnode.vParent||b.parent;return b}),c=P(()=>{const{store:b}=o.parent;if(!b)return!1;const{treeData:O}=b.states,S=O.value;return S&&Object.keys(S).length>0}),f=A(ma(e.width)),d=A(Np(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 O=b.type,S=HN[O]||{};Object.keys(S).forEach(x=>{const R=S[x];x!=="className"&&R!==void 0&&(b[x]=R)});const E=BN(O);if(E){const x=`${w(a.namespace)}-${E}`;b.className=b.className?`${b.className} ${x}`:x}return b},v=b=>{Array.isArray(b)?b.forEach(S=>O(S)):O(b);function O(S){var E;((E=S==null?void 0:S.type)==null?void 0:E.name)==="ElTableColumn"&&(S.vParent=o)}};return{columnId:r,realAlign:i,isSubColumn:s,realHeaderAlign:l,columnOrTableParent:u,setColumnWidth:h,setColumnForcedProps:p,setColumnRenders:b=>{e.renderHeader?Bt("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):b.type!=="selection"&&(b.renderHeader=S=>{o.columnConfig.value.label;const E=t.header;return E?E(S):b.label});let O=b.renderCell;return b.type==="expand"?(b.renderCell=S=>fe("div",{class:"cell"},[O(S)]),n.value.renderExpanded=S=>t.default?t.default(S):t.default):(O=O||jN,b.renderCell=S=>{let E=null;if(t.default){const q=t.default(S);E=q.some(ne=>ne.type!==qe)?q:O(S)}else E=O(S);const{columns:x}=n.value.store.states,R=x.value.findIndex(q=>q.type==="default"),B=c.value&&S.cellIndex===R,W=WN(S,B),T={class:"cell",style:{}};return b.showOverflowTooltip&&(T.class=`${T.class} ${w(a.namespace)}-tooltip`,T.style={width:`${(S.column.realWidth||Number(S.column.width))-1}px`}),v(E),fe("div",T,[W,E])}),b},getPropsData:(...b)=>b.reduce((O,S)=>(Array.isArray(S)&&S.forEach(E=>{O[E]=e[E]}),O),{}),getColumnElIndex:(b,O)=>Array.prototype.indexOf.call(b,O),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",o.columnConfig.value)}}}var UN={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:{type:[Boolean,Object],default:void 0},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 qN=1;var Dp=ie({name:"ElTableColumn",components:{ElCheckbox:Mo},props:UN,setup(e,{slots:t}){const n=Le(),o=A({}),r=P(()=>{let N=n.parent;for(;N&&!N.tableId;)N=N.parent;return N}),{registerNormalWatchers:s,registerComplexWatchers:i}=zN(r,e),{columnId:l,isSubColumn:a,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:d,setColumnRenders:h,getPropsData:p,getColumnElIndex:v,realAlign:g,updateColumnOrder:m}=KN(e,t,r),_=c.value;l.value=`${_.tableId||_.columnId}_column_${qN++}`,ls(()=>{a.value=r.value!==_;const N=e.type||"default",b=e.sortable===""?!0:e.sortable,O=yr(e.showOverflowTooltip)?_.props.showOverflowTooltip:e.showOverflowTooltip,S={...VN[N],id:l.value,type:N,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:O,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:b,index:e.index,rawColumnKey:n.vnode.key};let W=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);W=GO(S,W),W=XO(h,f,d)(W),o.value=W,s(),i()}),et(()=>{var N;const b=c.value,O=a.value?b.vnode.el.children:(N=b.refs.hiddenColumns)==null?void 0:N.children,S=()=>v(O||[],n.vnode.el);o.value.getColumnIndex=S,S()>-1&&r.value.store.commit("insertColumn",o.value,a.value?b.columnConfig.value:null,m)}),Et(()=>{r.value.store.commit("removeColumn",o.value,a.value?_.columnConfig.value:null,m)}),n.columnId=l.value,n.columnConfig=o},render(){var e,t,n;try{const o=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),r=[];if(Array.isArray(o))for(const i of o)((n=i.type)==null?void 0:n.name)==="ElTableColumn"||i.shapeFlag&2?r.push(i):i.type===Ve&&Array.isArray(i.children)&&i.children.forEach(l=>{(l==null?void 0:l.patchFlag)!==1024&&!_e(l==null?void 0:l.children)&&r.push(l)});return fe("div",r)}catch{return fe("div",[])}}});const GN=an(LN,{TableColumn:Dp}),YN=Ms(Dp);function XN(e){let t;const n=A(!1),o=go({...e,originalPosition:"",originalOverflow:"",visible:!1});function r(d){o.text=d}function s(){const d=o.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()):(ro(d,h.bm("parent","relative")),d.removeAttribute("loading-number")),ro(d,h.bm("parent","hidden"))}i(),c.unmount()}function i(){var d,h;(h=(d=f.$el)==null?void 0:d.parentNode)==null||h.removeChild(f.$el)}function l(){var d;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=window.setTimeout(a,400),o.visible=!1,(d=e.closed)==null||d.call(e))}function a(){if(!n.value)return;const d=o.parent;n.value=!1,d.vLoadingAddClassList=void 0,s()}const u=ie({name:"ElLoading",setup(d,{expose:h}){const{ns:p,zIndex:v}=rC("loading");return h({ns:p,zIndex:v}),()=>{const g=o.spinner||o.svg,m=fe("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...g?{innerHTML:g}:{}},[fe("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),_=o.text?fe("p",{class:p.b("text")},[o.text]):void 0;return fe(ar,{name:p.b("fade"),onAfterLeave:a},{default:he(()=>[wt(we("div",{style:{backgroundColor:o.background||""},class:[p.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[fe("div",{class:p.b("spinner")},[m,_])]),[[ur,o.visible]])])})}}}),c=Yg(u),f=c.mount(document.createElement("div"));return{...yi(o),setText:r,removeElLoadingChild:i,close:l,handleAfterLeave:a,vm:f,get $el(){return f.$el}}}let li;const JN=function(e={}){if(!Ge)return;const t=ZN(e);if(t.fullscreen&&li)return li;const n=XN({...t,closed:()=>{var r;(r=t.closed)==null||r.call(t),t.fullscreen&&(li=void 0)}});QN(t,t.parent,n),Mp(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Mp(t,t.parent,n);let o=t.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(n.$el),ut(()=>n.visible.value=t.visible),t.fullscreen&&(li=n),n},ZN=e=>{var t,n,o,r;let s;return _e(e.target)?s=(t=document.querySelector(e.target))!=null?t:document.body:s=e.target||document.body,{parent:s===document.body||e.body?document.body:s,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:s===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(o=e.lock)!=null?o:!1,customClass:e.customClass||"",visible:(r=e.visible)!=null?r:!0,target:s}},QN=async(e,t,n)=>{const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,r={};if(e.fullscreen)n.originalPosition.value=wr(document.body,"position"),n.originalOverflow.value=wr(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=wr(document.body,"position"),await ut();for(const s of["top","left"]){const i=s==="top"?"scrollTop":"scrollLeft";r[s]=`${e.target.getBoundingClientRect()[s]+document.body[i]+document.documentElement[i]-Number.parseInt(wr(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])r[s]=`${e.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=wr(t,"position");for(const[s,i]of Object.entries(r))n.$el.style[s]=i},Mp=(e,t,n)=>{const o=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?ro(t,o.bm("parent","relative")):Is(t,o.bm("parent","relative")),e.fullscreen&&e.lock?Is(t,o.bm("parent","hidden")):ro(t,o.bm("parent","hidden"))},Ca=Symbol("ElLoading"),Lp=(e,t)=>{var n,o,r,s;const i=t.instance,l=d=>de(t.value)?t.value[d]:void 0,a=d=>{const h=_e(d)&&(i==null?void 0:i[d])||d;return h&&A(h)},u=d=>a(l(d)||e.getAttribute(`element-loading-${en(d)}`)),c=(n=l("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:(o=l("target"))!=null?o:c?void 0:e,body:(r=l("body"))!=null?r:t.modifiers.body,lock:(s=l("lock"))!=null?s:t.modifiers.lock};e[Ca]={options:f,instance:JN(f)}},ex=(e,t)=>{for(const n of Object.keys(t))Pe(t[n])&&(t[n].value=e[n])},tx={mounted(e,t){t.value&&Lp(e,t)},updated(e,t){const n=e[Ca];t.oldValue!==t.value&&(t.value&&!t.oldValue?Lp(e,t):t.value&&t.oldValue?de(t.value)&&ex(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[Ca])==null||t.instance.close()}},yx="",wx="",Ex="",_x="",Cx="",Ox="",Nx="",xx="",Sx="",Tx="",$x="",Ax="",Px="",Fp=ie({__name:"index",props:{option:{type:Object,required:!0},scope:{type:Object,required:!0}},setup(e){const t=e,n=P(()=>{const{option:o,scope:r}=t;return typeof o.show=="function"?o.show(r.row,r.$index):o.show!==!1});return(o,r)=>{const s=ia,i=RO;return n.value?(K(),ce(Ve,{key:0},[e.option.needCheck?(K(),Oe(i,{key:0,title:e.option.needCheck.title,onConfirm:r[0]||(r[0]=l=>e.option.onClick(e.scope.row,e.scope.$index))},{reference:he(()=>[we(s,{type:e.option.type,disabled:typeof e.option.disabled=="function"?e.option.disabled(e.scope.row,e.scope.$index):e.option.disabled},{default:he(()=>[Mt(nt(typeof e.option.text=="function"?e.option.text(e.scope.row,e.scope.$index):e.option.text),1)]),_:1},8,["type","disabled"])]),_:1},8,["title"])):(K(),Oe(s,{key:1,type:e.option.type,disabled:typeof e.option.disabled=="function"?e.option.disabled(e.scope.row,e.scope.$index):e.option.disabled,onClick:r[1]||(r[1]=l=>e.option.onClick(e.scope.row,e.scope.$index))},{default:he(()=>[Mt(nt(typeof e.option.text=="function"?e.option.text(e.scope.row,e.scope.$index):e.option.text),1)]),_:1},8,["type","disabled"]))],64)):ze("",!0)}}}),nx=ie({__name:"index",props:{option:{type:Object,required:!0},scope:{type:Object,required:!0}},setup(e){return(t,n)=>(K(),ce("div",{style:tt(typeof e.option.style=="function"?e.option.style(e.scope.row[e.option.prop],e.scope.row):e.option.style)},nt(typeof e.option.formatter=="function"?e.option.formatter(e.scope.row[e.option.prop],e.scope.row):e.scope.row[e.option.prop]),5))}}),ox=ie({__name:"index",props:{data:{type:Array,default:()=>[]},column:{type:Array,default:()=>[]},loading:{type:Boolean,default:()=>!1}},emits:["sortChange"],setup(e,{emit:t}){const n=e,o=P(()=>n.column.filter(s=>s.show!==!1)),r=s=>{t("sortChange",s)};return(s,i)=>{const l=lo,a=HO,u=YN,c=GN,f=tx;return wt((K(),Oe(c,{data:e.data,stripe:"",style:{width:"100%"},onSortChange:r},{default:he(()=>[(K(!0),ce(Ve,null,er(o.value,d=>(K(),Oe(u,{key:d.prop,prop:d.prop,label:d.label,sortable:d.sortable,width:d.width,"min-width":d.minWidth},Tv({_:2},[d.type==="formatter"?{name:"default",fn:he(h=>[we(nx,{option:d,scope:h},null,8,["option","scope"])]),key:"0"}:d.type==="slot"?{name:"default",fn:he(h=>[Me(s.$slots,d.slot,{row:h.row})]),key:"1"}:d.type==="btns"?{name:"default",fn:he(h=>[(K(!0),ce(Ve,null,er(d.btns,(p,v)=>(K(),ce(Ve,{key:`${p.text}-${v}`},[p.children?(K(),Oe(a,{key:0,placement:"bottom",trigger:"hover","popper-style":{minWidth:"0px",width:null}},{reference:he(()=>[we(l,{style:{marginLeft:"10px",verticalAlign:"-5px",cursor:"pointer"},size:"20"},{default:he(()=>[we(w(TE))]),_:1})]),default:he(()=>[(K(!0),ce(Ve,null,er(p.children,(g,m)=>(K(),ce("div",{key:`${g.text}-${m}`,style:tt({marginTop:m===0?0:"10px"})},[we(Fp,{option:g,scope:h},null,8,["option","scope"])],4))),128))]),_:2},1024)):(K(),Oe(Fp,{key:1,option:p,scope:h},null,8,["option","scope"]))],64))),128))]),key:"2"}:void 0]),1032,["prop","label","sortable","width","min-width"]))),128))]),_:1},8,["data"])),[[f,e.loading]])}}}),rx={install(e){e.component("st-table",ox)}};return{install(e){rx.install(e)}}});