diff --git "a/assets/index-zLjmWA9i.js" "b/assets/index-zLjmWA9i.js" deleted file mode 100644--- "a/assets/index-zLjmWA9i.js" +++ /dev/null @@ -1,17 +0,0 @@ -var oa=Object.defineProperty;var la=(e,t,n)=>t in e?oa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>la(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Pr(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Xr(e,t,n=".",r){if(!Pr(t))return Xr(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:Pr(o)&&Pr(s[i])?s[i]=Xr(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function aa(e){return(...t)=>t.reduce((n,r)=>Xr(n,r,"",e),{})}const Zi=aa();/** -* @vue/shared v3.5.14 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},$t=[],tt=()=>{},ca=()=>!1,cr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),_s=e=>e.startsWith("onUpdate:"),ve=Object.assign,ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ua=Object.prototype.hasOwnProperty,te=(e,t)=>ua.call(e,t),D=Array.isArray,Ut=e=>xn(e)==="[object Map]",ur=e=>xn(e)==="[object Set]",Zs=e=>xn(e)==="[object Date]",$=e=>typeof e=="function",pe=e=>typeof e=="string",nt=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",Xi=e=>(ie(e)||$(e))&&$(e.then)&&$(e.catch),Qi=Object.prototype.toString,xn=e=>Qi.call(e),fa=e=>xn(e).slice(8,-1),eo=e=>xn(e)==="[object Object]",Ss=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,en=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},da=/-(\w)/g,bt=fr(e=>e.replace(da,(t,n)=>n?n.toUpperCase():"")),pa=/\B([A-Z])/g,kt=fr(e=>e.replace(pa,"-$1").toLowerCase()),to=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ir=fr(e=>e?`on${to(e)}`:""),yt=(e,t)=>!Object.is(e,t),$n=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},qn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ha=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Xs;const dr=()=>Xs||(Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _n(e){if(D(e)){const t={};for(let n=0;n{if(n){const r=n.split(ma);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Bt(e){let t="";if(pe(e))t=e;else if(D(e))for(let n=0;npr(n,t))}const so=e=>!!(e&&e.__v_isRef===!0),We=e=>pe(e)?e:e==null?"":D(e)||ie(e)&&(e.toString===Qi||!$(e.toString))?so(e)?We(e.value):JSON.stringify(e,io,2):String(e),io=(e,t)=>so(t)?io(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[jr(r,i)+" =>"]=s,n),{})}:ur(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>jr(n))}:nt(t)?jr(t):ie(t)&&!D(t)&&!eo(t)?String(t):t,jr=(e,t="")=>{var n;return nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.14 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Se;class Sa{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Se=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(nn){let t=nn;for(nn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;tn;){let t=tn;for(tn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fo(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Cs(r),Ta(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Qr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(po(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function po(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===fn)||(e.globalVersion=fn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qr(e))))return;e.flags|=2;const t=e.dep,n=ce,r=ze;ce=e,ze=!0;try{uo(e);const s=e.fn(e._value);(t.version===0||yt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,ze=r,fo(e),e.flags&=-3}}function Cs(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Cs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ta(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ze=!0;const ho=[];function ut(){ho.push(ze),ze=!1}function ft(){const e=ho.pop();ze=e===void 0?!0:e}function Qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let fn=0;class Ca{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ce||!ze||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Ca(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,go(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,fn++,this.notify(t)}notify(t){Os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ts()}}}function go(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)go(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Gn=new WeakMap,jt=Symbol(""),es=Symbol(""),dn=Symbol("");function Oe(e,t,n){if(ze&&ce){let r=Gn.get(e);r||Gn.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new hr),s.map=r,s.key=n),s.track()}}function lt(e,t,n,r,s,i){const o=Gn.get(e);if(!o){fn++;return}const l=a=>{a&&a.trigger()};if(Os(),t==="clear")o.forEach(l);else{const a=D(e),u=a&&Ss(n);if(a&&n==="length"){const c=Number(r);o.forEach((f,h)=>{(h==="length"||h===dn||!nt(h)&&h>=c)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(dn)),t){case"add":a?u&&l(o.get("length")):(l(o.get(jt)),Ut(e)&&l(o.get(es)));break;case"delete":a||(l(o.get(jt)),Ut(e)&&l(o.get(es)));break;case"set":Ut(e)&&l(o.get(jt));break}}Ts()}function Aa(e,t){const n=Gn.get(e);return n&&n.get(t)}function Vt(e){const t=Z(e);return t===e?t:(Oe(t,"iterate",dn),Ue(e)?t:t.map(xe))}function gr(e){return Oe(e=Z(e),"iterate",dn),e}const Ea={__proto__:null,[Symbol.iterator](){return kr(this,Symbol.iterator,xe)},concat(...e){return Vt(this).concat(...e.map(t=>D(t)?Vt(t):t))},entries(){return kr(this,"entries",e=>(e[1]=xe(e[1]),e))},every(e,t){return st(this,"every",e,t,void 0,arguments)},filter(e,t){return st(this,"filter",e,t,n=>n.map(xe),arguments)},find(e,t){return st(this,"find",e,t,xe,arguments)},findIndex(e,t){return st(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return st(this,"findLast",e,t,xe,arguments)},findLastIndex(e,t){return st(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return st(this,"forEach",e,t,void 0,arguments)},includes(...e){return Lr(this,"includes",e)},indexOf(...e){return Lr(this,"indexOf",e)},join(e){return Vt(this).join(e)},lastIndexOf(...e){return Lr(this,"lastIndexOf",e)},map(e,t){return st(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return st(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Vt(this).toReversed()},toSorted(e){return Vt(this).toSorted(e)},toSpliced(...e){return Vt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return kr(this,"values",xe)}};function kr(e,t,n){const r=gr(e),s=r[t]();return r!==e&&!Ue(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const Ma=Array.prototype;function st(e,t,n,r,s,i){const o=gr(e),l=o!==e&&!Ue(e),a=o[t];if(a!==Ma[t]){const f=a.apply(e,i);return l?xe(f):f}let u=n;o!==e&&(l?u=function(f,h){return n.call(this,xe(f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=a.call(o,u,r);return l&&s?s(c):c}function ei(e,t,n,r){const s=gr(e);let i=n;return s!==e&&(Ue(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,xe(l),a,e)}),s[t](i,...r)}function Lr(e,t,n){const r=Z(e);Oe(r,"iterate",dn);const s=r[t](...n);return(s===-1||s===!1)&&Ms(n[0])?(n[0]=Z(n[0]),r[t](...n)):s}function Zt(e,t,n=[]){ut(),Os();const r=Z(e)[t].apply(e,n);return Ts(),ft(),r}const Ra=xs("__proto__,__v_isRef,__isVue"),mo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt));function Pa(e){nt(e)||(e=String(e));const t=Z(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class vo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?$a:_o:i?xo:bo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=D(t);if(!s){let a;if(o&&(a=Ea[n]))return a;if(n==="hasOwnProperty")return Pa}const l=Reflect.get(t,n,me(t)?t:r);return(nt(n)?mo.has(n):Ra(n))||(s||Oe(t,"get",n),i)?l:me(l)?o&&Ss(n)?l:l.value:ie(l)?s?mr(l):Lt(l):l}}class yo extends vo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=xt(i);if(!Ue(r)&&!xt(r)&&(i=Z(i),r=Z(r)),!D(t)&&me(i)&&!me(r))return a?!1:(i.value=r,!0)}const o=D(t)&&Ss(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function La(e,t,n){return function(...r){const s=this.__v_raw,i=Z(s),o=Ut(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=s[e](...r),c=n?ts:t?Yn:xe;return!t&&Oe(i,"iterate",a?es:jt),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Na(e,t){const n={get(s){const i=this.__v_raw,o=Z(i),l=Z(s);e||(yt(s,l)&&Oe(o,"get",s),Oe(o,"get",l));const{has:a}=In(o),u=t?ts:e?Yn:xe;if(a.call(o,s))return u(i.get(s));if(a.call(o,l))return u(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Oe(Z(s),"iterate",jt),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=Z(i),l=Z(s);return e||(yt(s,l)&&Oe(o,"has",s),Oe(o,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const o=this,l=o.__v_raw,a=Z(l),u=t?ts:e?Yn:xe;return!e&&Oe(a,"iterate",jt),l.forEach((c,f)=>s.call(i,u(c),u(f),o))}};return ve(n,e?{add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear")}:{add(s){!t&&!Ue(s)&&!xt(s)&&(s=Z(s));const i=Z(this);return In(i).has.call(i,s)||(i.add(s),lt(i,"add",s,s)),this},set(s,i){!t&&!Ue(i)&&!xt(i)&&(i=Z(i));const o=Z(this),{has:l,get:a}=In(o);let u=l.call(o,s);u||(s=Z(s),u=l.call(o,s));const c=a.call(o,s);return o.set(s,i),u?yt(i,c)&<(o,"set",s,i):lt(o,"add",s,i),this},delete(s){const i=Z(this),{has:o,get:l}=In(i);let a=o.call(i,s);a||(s=Z(s),a=o.call(i,s)),l&&l.call(i,s);const u=i.delete(s);return a&<(i,"delete",s,void 0),u},clear(){const s=Z(this),i=s.size!==0,o=s.clear();return i&<(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=La(s,e,t)}),n}function As(e,t){const n=Na(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(te(n,s)&&s in r?n:r,s,i)}const Da={get:As(!1,!1)},Va={get:As(!1,!0)},Ha={get:As(!0,!1)};const bo=new WeakMap,xo=new WeakMap,_o=new WeakMap,$a=new WeakMap;function Ua(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ba(e){return e.__v_skip||!Object.isExtensible(e)?0:Ua(fa(e))}function Lt(e){return xt(e)?e:Es(e,!1,ja,Da,bo)}function Wa(e){return Es(e,!1,ka,Va,xo)}function mr(e){return Es(e,!0,Fa,Ha,_o)}function Es(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Ba(e);if(i===0)return e;const o=s.get(e);if(o)return o;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Wt(e){return xt(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function xt(e){return!!(e&&e.__v_isReadonly)}function Ue(e){return!!(e&&e.__v_isShallow)}function Ms(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function za(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&no(e,"__v_skip",!0),e}const xe=e=>ie(e)?Lt(e):e,Yn=e=>ie(e)?mr(e):e;function me(e){return e?e.__v_isRef===!0:!1}function z(e){return wo(e,!1)}function he(e){return wo(e,!0)}function wo(e,t){return me(e)?e:new Ka(e,t)}class Ka{constructor(t,n){this.dep=new hr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:xe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ue(t)||xt(t);t=r?t:Z(t),yt(t,n)&&(this._rawValue=t,this._value=r?t:xe(t),this.dep.trigger())}}function ge(e){return me(e)?e.value:e}function Ke(e){return $(e)?e():ge(e)}const qa={get:(e,t,n)=>t==="__v_raw"?e:ge(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return me(s)&&!me(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function So(e){return Wt(e)?e:new Proxy(e,qa)}class Ga{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new hr,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ya(e){return new Ga(e)}class Ja{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Aa(Z(this._object),this._key)}}class Za{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Xa(e,t,n){return me(e)?e:$(e)?new Za(e):ie(e)&&arguments.length>1?Qa(e,t,n):z(e)}function Qa(e,t,n){const r=e[t];return me(r)?r:new Ja(e,t,n)}class ec{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new hr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return co(this,!0),!0}get value(){const t=this.dep.track();return po(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tc(e,t,n=!1){let r,s;return $(e)?r=e:(r=e.get,s=e.set),new ec(r,s,n)}const Fn={},Jn=new WeakMap;let Mt;function nc(e,t=!1,n=Mt){if(n){let r=Jn.get(n);r||Jn.set(n,r=[]),r.push(e)}}function rc(e,t,n=le){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:a}=n,u=x=>s?x:Ue(x)||s===!1||s===0?at(x,1):at(x);let c,f,h,m,g=!1,y=!1;if(me(e)?(f=()=>e.value,g=Ue(e)):Wt(e)?(f=()=>u(e),g=!0):D(e)?(y=!0,g=e.some(x=>Wt(x)||Ue(x)),f=()=>e.map(x=>{if(me(x))return x.value;if(Wt(x))return u(x);if($(x))return a?a(x,2):x()})):$(e)?t?f=a?()=>a(e,2):e:f=()=>{if(h){ut();try{h()}finally{ft()}}const x=Mt;Mt=c;try{return a?a(e,3,[m]):e(m)}finally{Mt=x}}:f=tt,t&&s){const x=f,j=s===!0?1/0:s;f=()=>at(x(),j)}const C=oo(),T=()=>{c.stop(),C&&C.active&&ws(C.effects,c)};if(i&&t){const x=t;t=(...j)=>{x(...j),T()}}let O=y?new Array(e.length).fill(Fn):Fn;const M=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(t){const j=c.run();if(s||g||(y?j.some((V,K)=>yt(V,O[K])):yt(j,O))){h&&h();const V=Mt;Mt=c;try{const K=[j,O===Fn?void 0:y&&O[0]===Fn?[]:O,m];a?a(t,3,K):t(...K),O=j}finally{Mt=V}}}else c.run()};return l&&l(M),c=new lo(f),c.scheduler=o?()=>o(M,!1):M,m=x=>nc(x,!1,c),h=c.onStop=()=>{const x=Jn.get(c);if(x){if(a)a(x,4);else for(const j of x)j();Jn.delete(c)}},t?r?M(!0):O=c.run():o?o(M.bind(null,!0),!0):c.run(),T.pause=c.pause.bind(c),T.resume=c.resume.bind(c),T.stop=T,T}function at(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,me(e))at(e.value,t,n);else if(D(e))for(let r=0;r{at(r,t,n)});else if(eo(e)){for(const r in e)at(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&at(e[r],t,n)}return e}/** -* @vue/runtime-core v3.5.14 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function wn(e,t,n,r){try{return r?e(...r):e()}catch(s){vr(s,t,n)}}function Ge(e,t,n,r){if($(e)){const s=wn(e,t,n,r);return s&&Xi(s)&&s.catch(i=>{vr(i,t,n)}),s}if(D(e)){const s=[];for(let i=0;i>>1,s=Me[r],i=pn(s);i=pn(n)?Me.push(e):Me.splice(ic(t),0,e),e.flags|=1,To()}}function To(){Zn||(Zn=Oo.then(Ao))}function oc(e){D(e)?zt.push(...e):ht&&e.id===-1?ht.splice(Ht+1,0,e):e.flags&1||(zt.push(e),e.flags|=1),To()}function ti(e,t,n=Qe+1){for(;npn(n)-pn(r));if(zt.length=0,ht){ht.push(...t);return}for(ht=t,Ht=0;Hte.id==null?e.flags&2?-1:1/0:e.id;function Ao(e){try{for(Qe=0;Qe{r._d&&di(-1);const i=Xn(t);let o;try{o=e(...s)}finally{Xn(i),r._d&&di(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function kn(e,t){if(Fe===null)return e;const n=Tr(Fe),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,gt=Symbol("_leaveCb"),Ln=Symbol("_enterCb");function ac(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yt(()=>{e.isMounted=!0}),Do(()=>{e.isUnmounting=!0}),e}const $e=[Function,Array],Po={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$e,onEnter:$e,onAfterEnter:$e,onEnterCancelled:$e,onBeforeLeave:$e,onLeave:$e,onAfterLeave:$e,onLeaveCancelled:$e,onBeforeAppear:$e,onAppear:$e,onAfterAppear:$e,onAppearCancelled:$e},Io=e=>{const t=e.subTree;return t.component?Io(t.component):t},cc={name:"BaseTransition",props:Po,setup(e,{slots:t}){const n=Sn(),r=ac();return()=>{const s=t.default&&ko(t.default(),!0);if(!s||!s.length)return;const i=jo(s),o=Z(e),{mode:l}=o;if(r.isLeaving)return Nr(i);const a=ni(i);if(!a)return Nr(i);let u=ns(a,o,r,n,f=>u=f);a.type!==Re&&hn(a,u);let c=n.subTree&&ni(n.subTree);if(c&&c.type!==Re&&!Rt(a,c)&&Io(n).type!==Re){let f=ns(c,o,r,n);if(hn(c,f),l==="out-in"&&a.type!==Re)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Nr(i);l==="in-out"&&a.type!==Re?f.delayLeave=(h,m,g)=>{const y=Fo(r,c);y[String(c.key)]=c,h[gt]=()=>{m(),h[gt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function jo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Re){t=n;break}}return t}const uc=cc;function Fo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ns(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:y,onBeforeAppear:C,onAppear:T,onAfterAppear:O,onAppearCancelled:M}=t,x=String(e.key),j=Fo(n,e),V=(F,W)=>{F&&Ge(F,r,9,W)},K=(F,W)=>{const q=W[1];V(F,W),D(F)?F.every(P=>P.length<=1)&&q():F.length<=1&&q()},oe={mode:o,persisted:l,beforeEnter(F){let W=a;if(!n.isMounted)if(i)W=C||a;else return;F[gt]&&F[gt](!0);const q=j[x];q&&Rt(e,q)&&q.el[gt]&&q.el[gt](),V(W,[F])},enter(F){let W=u,q=c,P=f;if(!n.isMounted)if(i)W=T||u,q=O||c,P=M||f;else return;let G=!1;const L=F[Ln]=ee=>{G||(G=!0,ee?V(P,[F]):V(q,[F]),oe.delayedLeave&&oe.delayedLeave(),F[Ln]=void 0)};W?K(W,[F,L]):L()},leave(F,W){const q=String(e.key);if(F[Ln]&&F[Ln](!0),n.isUnmounting)return W();V(h,[F]);let P=!1;const G=F[gt]=L=>{P||(P=!0,W(),L?V(y,[F]):V(g,[F]),F[gt]=void 0,j[q]===e&&delete j[q])};j[q]=e,m?K(m,[F,G]):G()},clone(F){const W=ns(F,t,n,r,s);return s&&s(W),W}};return oe}function Nr(e){if(xr(e))return e=_t(e),e.children=null,e}function ni(e){if(!xr(e))return Ro(e.type)&&e.children?jo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(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 ko(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iQn(g,t&&(D(t)?t[y]:t),n,r,s));return}if(rn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Qn(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Tr(r.component):r.el,o=s?null:i,{i:l,r:a}=e,u=t&&t.r,c=l.refs===le?l.refs={}:l.refs,f=l.setupState,h=Z(f),m=f===le?()=>!1:g=>te(h,g);if(u!=null&&u!==a&&(pe(u)?(c[u]=null,m(u)&&(f[u]=null)):me(u)&&(u.value=null)),$(a))wn(a,l,12,[o,c]);else{const g=pe(a),y=me(a);if(g||y){const C=()=>{if(e.f){const T=g?m(a)?f[a]:c[a]:a.value;s?D(T)&&ws(T,i):D(T)?T.includes(i)||T.push(i):g?(c[a]=[i],m(a)&&(f[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else g?(c[a]=o,m(a)&&(f[a]=o)):y&&(a.value=o,e.k&&(c[e.k]=o))};o?(C.id=-1,De(C,n)):C()}}}dr().requestIdleCallback;dr().cancelIdleCallback;const rn=e=>!!e.type.__asyncLoader,xr=e=>e.type.__isKeepAlive;function fc(e,t){No(e,"a",t)}function dc(e,t){No(e,"da",t)}function No(e,t,n=_e){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(_r(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xr(s.parent.vnode)&&pc(r,t,n,s),s=s.parent}}function pc(e,t,n,r){const s=_r(t,e,r,!0);wr(()=>{ws(r[t],s)},n)}function _r(e,t,n=_e,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ut();const l=On(n),a=Ge(t,n,e,o);return l(),ft(),a});return r?s.unshift(i):s.push(i),i}}const dt=e=>(t,n=_e)=>{(!mn||e==="sp")&&_r(e,(...r)=>t(...r),n)},hc=dt("bm"),Yt=dt("m"),gc=dt("bu"),mc=dt("u"),Do=dt("bum"),wr=dt("um"),vc=dt("sp"),yc=dt("rtg"),bc=dt("rtc");function xc(e,t=_e){_r("ec",e,t)}const _c=Symbol.for("v-ndc");function ri(e,t,n,r){let s;const i=n,o=D(e);if(o||pe(e)){const l=o&&Wt(e);let a=!1,u=!1;l&&(a=!Ue(e),u=xt(e),e=gr(e)),s=new Array(e.length);for(let c=0,f=e.length;ct(l,a,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,u=l.length;ae?il(e)?Tr(e):rs(e.parent):null,sn=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>rs(e.parent),$root:e=>rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$o(e),$forceUpdate:e=>e.f||(e.f=()=>{Rs(e.update)}),$nextTick:e=>e.n||(e.n=yr.bind(e.proxy)),$watch:e=>zc.bind(e)}),Dr=(e,t)=>e!==le&&!e.__isScriptSetup&&te(e,t),wc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Dr(r,t))return o[t]=1,r[t];if(s!==le&&te(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&te(u,t))return o[t]=3,i[t];if(n!==le&&te(n,t))return o[t]=4,n[t];ss&&(o[t]=0)}}const c=sn[t];let f,h;if(c)return t==="$attrs"&&Oe(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==le&&te(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Dr(s,t)?(s[t]=n,!0):r!==le&&te(r,t)?(r[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==le&&te(e,o)||Dr(t,o)||(l=i[0])&&te(l,o)||te(r,o)||te(sn,o)||te(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vo(){return Sc().slots}function Sc(){const e=Sn();return e.setupContext||(e.setupContext=ll(e))}function si(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ss=!0;function Oc(e){const t=$o(e),n=e.proxy,r=e.ctx;ss=!1,t.beforeCreate&&ii(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:g,activated:y,deactivated:C,beforeDestroy:T,beforeUnmount:O,destroyed:M,unmounted:x,render:j,renderTracked:V,renderTriggered:K,errorCaptured:oe,serverPrefetch:F,expose:W,inheritAttrs:q,components:P,directives:G,filters:L}=t;if(u&&Tc(u,r,null),o)for(const ue in o){const re=o[ue];$(re)&&(r[ue]=re.bind(n))}if(s){const ue=s.call(n,n);ie(ue)&&(e.data=Lt(ue))}if(ss=!0,i)for(const ue in i){const re=i[ue],rt=$(re)?re.bind(n,n):$(re.get)?re.get.bind(n,n):tt,Dt=!$(re)&&$(re.set)?re.set.bind(n):tt,Ce=de({get:rt,set:Dt});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:ke=>Ce.value=ke})}if(l)for(const ue in l)Ho(l[ue],r,n,ue);if(a){const ue=$(a)?a.call(n):a;Reflect.ownKeys(ue).forEach(re=>{Pc(re,ue[re])})}c&&ii(c,e,"c");function X(ue,re){D(re)?re.forEach(rt=>ue(rt.bind(n))):re&&ue(re.bind(n))}if(X(hc,f),X(Yt,h),X(gc,m),X(mc,g),X(fc,y),X(dc,C),X(xc,oe),X(bc,V),X(yc,K),X(Do,O),X(wr,x),X(vc,F),D(W))if(W.length){const ue=e.exposed||(e.exposed={});W.forEach(re=>{Object.defineProperty(ue,re,{get:()=>n[re],set:rt=>n[re]=rt})})}else e.exposed||(e.exposed={});j&&e.render===tt&&(e.render=j),q!=null&&(e.inheritAttrs=q),P&&(e.components=P),G&&(e.directives=G),F&&Lo(e)}function Tc(e,t,n=tt){D(e)&&(e=is(e));for(const r in e){const s=e[r];let i;ie(s)?"default"in s?i=Kt(s.from||r,s.default,!0):i=Kt(s.from||r):i=Kt(s),me(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function ii(e,t,n){Ge(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ho(e,t,n,r){let s=r.includes(".")?el(n,r):()=>n[r];if(pe(e)){const i=t[e];$(i)&&fe(s,i)}else if($(e))fe(s,e.bind(n));else if(ie(e))if(D(e))e.forEach(i=>Ho(i,t,n,r));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&fe(s,i,e)}}function $o(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>er(a,u,o,!0)),er(a,t,o)),ie(t)&&i.set(t,a),a}function er(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&er(e,i,n,!0),s&&s.forEach(o=>er(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Cc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Cc={data:oi,props:li,emits:li,methods:Qt,computed:Qt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:Qt,directives:Qt,watch:Ec,provide:oi,inject:Ac};function oi(e,t){return t?e?function(){return ve($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Ac(e,t){return Qt(is(e),is(t))}function is(e){if(D(e)){const t={};for(let n=0;n1)return n&&$(t)?t.call(r&&r.proxy):t}}function Bo(){return!!(_e||Fe||Ft)}const Wo={},zo=()=>Object.create(Wo),Ko=e=>Object.getPrototypeOf(e)===Wo;function Ic(e,t,n,r=!1){const s={},i=zo();e.propsDefaults=Object.create(null),qo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Wa(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function jc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=Z(s),[a]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[h,m]=Go(f,t,!0);ve(o,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return ie(e)&&r.set(e,$t),$t;if(D(i))for(let c=0;ce[0]==="_"||e==="$stable",Is=e=>D(e)?e.map(et):[et(e)],kc=(e,t,n)=>{if(t._n)return t;const r=Mo((...s)=>Is(t(...s)),n);return r._c=!1,r},Yo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ps(s))continue;const i=e[s];if($(i))t[s]=kc(s,i,r);else if(i!=null){const o=Is(i);t[s]=()=>o}}},Jo=(e,t)=>{const n=Is(t);e.slots.default=()=>n},Zo=(e,t,n)=>{for(const r in t)(n||!Ps(r))&&(e[r]=t[r])},Lc=(e,t,n)=>{const r=e.slots=zo();if(e.vnode.shapeFlag&32){const s=t._;s?(Zo(r,t,n),n&&no(r,"_",s,!0)):Yo(t,r)}else t&&Jo(e,t)},Nc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=le;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Zo(s,t,n):(i=!t.$stable,Yo(t,s)),o=t}else t&&(Jo(e,t),o={default:1});if(i)for(const l in s)!Ps(l)&&o[l]==null&&delete s[l]},De=Xc;function Dc(e){return Vc(e)}function Vc(e,t){const n=dr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:m=tt,insertStaticContent:g}=e,y=(d,p,v,w=null,b=null,_=null,R=void 0,E=null,A=!!p.dynamicChildren)=>{if(d===p)return;d&&!Rt(d,p)&&(w=U(d),ke(d,b,_,!0),d=null),p.patchFlag===-2&&(A=!1,p.dynamicChildren=null);const{type:S,ref:N,shapeFlag:I}=p;switch(S){case Or:C(d,p,v,w);break;case Re:T(d,p,v,w);break;case Hr:d==null&&O(p,v,w,R);break;case Te:P(d,p,v,w,b,_,R,E,A);break;default:I&1?j(d,p,v,w,b,_,R,E,A):I&6?G(d,p,v,w,b,_,R,E,A):(I&64||I&128)&&S.process(d,p,v,w,b,_,R,E,A,Be)}N!=null&&b&&Qn(N,d&&d.ref,_,p||d,!p)},C=(d,p,v,w)=>{if(d==null)r(p.el=l(p.children),v,w);else{const b=p.el=d.el;p.children!==d.children&&u(b,p.children)}},T=(d,p,v,w)=>{d==null?r(p.el=a(p.children||""),v,w):p.el=d.el},O=(d,p,v,w)=>{[d.el,d.anchor]=g(d.children,p,v,w,d.el,d.anchor)},M=({el:d,anchor:p},v,w)=>{let b;for(;d&&d!==p;)b=h(d),r(d,v,w),d=b;r(p,v,w)},x=({el:d,anchor:p})=>{let v;for(;d&&d!==p;)v=h(d),s(d),d=v;s(p)},j=(d,p,v,w,b,_,R,E,A)=>{p.type==="svg"?R="svg":p.type==="math"&&(R="mathml"),d==null?V(p,v,w,b,_,R,E,A):F(d,p,b,_,R,E,A)},V=(d,p,v,w,b,_,R,E)=>{let A,S;const{props:N,shapeFlag:I,transition:k,dirs:H}=d;if(A=d.el=o(d.type,_,N&&N.is,N),I&8?c(A,d.children):I&16&&oe(d.children,A,null,w,b,Vr(d,_),R,E),H&&St(d,null,w,"created"),K(A,d,d.scopeId,R,w),N){for(const ae in N)ae!=="value"&&!en(ae)&&i(A,ae,null,N[ae],_,w);"value"in N&&i(A,"value",null,N.value,_),(S=N.onVnodeBeforeMount)&&Xe(S,w,d)}H&&St(d,null,w,"beforeMount");const Q=Hc(b,k);Q&&k.beforeEnter(A),r(A,p,v),((S=N&&N.onVnodeMounted)||Q||H)&&De(()=>{S&&Xe(S,w,d),Q&&k.enter(A),H&&St(d,null,w,"mounted")},b)},K=(d,p,v,w,b)=>{if(v&&m(d,v),w)for(let _=0;_{for(let S=A;S{const E=p.el=d.el;let{patchFlag:A,dynamicChildren:S,dirs:N}=p;A|=d.patchFlag&16;const I=d.props||le,k=p.props||le;let H;if(v&&Ot(v,!1),(H=k.onVnodeBeforeUpdate)&&Xe(H,v,p,d),N&&St(p,d,v,"beforeUpdate"),v&&Ot(v,!0),(I.innerHTML&&k.innerHTML==null||I.textContent&&k.textContent==null)&&c(E,""),S?W(d.dynamicChildren,S,E,v,w,Vr(p,b),_):R||re(d,p,E,null,v,w,Vr(p,b),_,!1),A>0){if(A&16)q(E,I,k,v,b);else if(A&2&&I.class!==k.class&&i(E,"class",null,k.class,b),A&4&&i(E,"style",I.style,k.style,b),A&8){const Q=p.dynamicProps;for(let ae=0;ae{H&&Xe(H,v,p,d),N&&St(p,d,v,"updated")},w)},W=(d,p,v,w,b,_,R)=>{for(let E=0;E{if(p!==v){if(p!==le)for(const _ in p)!en(_)&&!(_ in v)&&i(d,_,p[_],null,b,w);for(const _ in v){if(en(_))continue;const R=v[_],E=p[_];R!==E&&_!=="value"&&i(d,_,E,R,b,w)}"value"in v&&i(d,"value",p.value,v.value,b)}},P=(d,p,v,w,b,_,R,E,A)=>{const S=p.el=d?d.el:l(""),N=p.anchor=d?d.anchor:l("");let{patchFlag:I,dynamicChildren:k,slotScopeIds:H}=p;H&&(E=E?E.concat(H):H),d==null?(r(S,v,w),r(N,v,w),oe(p.children||[],v,N,b,_,R,E,A)):I>0&&I&64&&k&&d.dynamicChildren?(W(d.dynamicChildren,k,v,b,_,R,E),(p.key!=null||b&&p===b.subTree)&&Xo(d,p,!0)):re(d,p,v,N,b,_,R,E,A)},G=(d,p,v,w,b,_,R,E,A)=>{p.slotScopeIds=E,d==null?p.shapeFlag&512?b.ctx.activate(p,v,w,R,A):L(p,v,w,b,_,R,A):ee(d,p,A)},L=(d,p,v,w,b,_,R)=>{const E=d.component=lu(d,w,b);if(xr(d)&&(E.ctx.renderer=Be),au(E,!1,R),E.asyncDep){if(b&&b.registerDep(E,X,R),!d.el){const A=E.subTree=Pe(Re);T(null,A,p,v)}}else X(E,d,p,v,b,_,R)},ee=(d,p,v)=>{const w=p.component=d.component;if(Jc(d,p,v))if(w.asyncDep&&!w.asyncResolved){ue(w,p,v);return}else w.next=p,w.update();else p.el=d.el,w.vnode=p},X=(d,p,v,w,b,_,R)=>{const E=()=>{if(d.isMounted){let{next:I,bu:k,u:H,parent:Q,vnode:ae}=d;{const Je=Qo(d);if(Je){I&&(I.el=ae.el,ue(d,I,R)),Je.asyncDep.then(()=>{d.isUnmounted||E()});return}}let ne=I,Le;Ot(d,!1),I?(I.el=ae.el,ue(d,I,R)):I=ae,k&&$n(k),(Le=I.props&&I.props.onVnodeBeforeUpdate)&&Xe(Le,Q,I,ae),Ot(d,!0);const Ie=ui(d),Ye=d.subTree;d.subTree=Ie,y(Ye,Ie,f(Ye.el),U(Ye),d,b,_),I.el=Ie.el,ne===null&&Zc(d,Ie.el),H&&De(H,b),(Le=I.props&&I.props.onVnodeUpdated)&&De(()=>Xe(Le,Q,I,ae),b)}else{let I;const{el:k,props:H}=p,{bm:Q,m:ae,parent:ne,root:Le,type:Ie}=d,Ye=rn(p);Ot(d,!1),Q&&$n(Q),!Ye&&(I=H&&H.onVnodeBeforeMount)&&Xe(I,ne,p),Ot(d,!0);{Le.ce&&Le.ce._injectChildStyle(Ie);const Je=d.subTree=ui(d);y(null,Je,v,w,d,b,_),p.el=Je.el}if(ae&&De(ae,b),!Ye&&(I=H&&H.onVnodeMounted)){const Je=p;De(()=>Xe(I,ne,Je),b)}(p.shapeFlag&256||ne&&rn(ne.vnode)&&ne.vnode.shapeFlag&256)&&d.a&&De(d.a,b),d.isMounted=!0,p=v=w=null}};d.scope.on();const A=d.effect=new lo(E);d.scope.off();const S=d.update=A.run.bind(A),N=d.job=A.runIfDirty.bind(A);N.i=d,N.id=d.uid,A.scheduler=()=>Rs(N),Ot(d,!0),S()},ue=(d,p,v)=>{p.component=d;const w=d.vnode.props;d.vnode=p,d.next=null,jc(d,p.props,w,v),Nc(d,p.children,v),ut(),ti(d),ft()},re=(d,p,v,w,b,_,R,E,A=!1)=>{const S=d&&d.children,N=d?d.shapeFlag:0,I=p.children,{patchFlag:k,shapeFlag:H}=p;if(k>0){if(k&128){Dt(S,I,v,w,b,_,R,E,A);return}else if(k&256){rt(S,I,v,w,b,_,R,E,A);return}}H&8?(N&16&&se(S,b,_),I!==S&&c(v,I)):N&16?H&16?Dt(S,I,v,w,b,_,R,E,A):se(S,b,_,!0):(N&8&&c(v,""),H&16&&oe(I,v,w,b,_,R,E,A))},rt=(d,p,v,w,b,_,R,E,A)=>{d=d||$t,p=p||$t;const S=d.length,N=p.length,I=Math.min(S,N);let k;for(k=0;kN?se(d,b,_,!0,!1,I):oe(p,v,w,b,_,R,E,A,I)},Dt=(d,p,v,w,b,_,R,E,A)=>{let S=0;const N=p.length;let I=d.length-1,k=N-1;for(;S<=I&&S<=k;){const H=d[S],Q=p[S]=A?mt(p[S]):et(p[S]);if(Rt(H,Q))y(H,Q,v,null,b,_,R,E,A);else break;S++}for(;S<=I&&S<=k;){const H=d[I],Q=p[k]=A?mt(p[k]):et(p[k]);if(Rt(H,Q))y(H,Q,v,null,b,_,R,E,A);else break;I--,k--}if(S>I){if(S<=k){const H=k+1,Q=Hk)for(;S<=I;)ke(d[S],b,_,!0),S++;else{const H=S,Q=S,ae=new Map;for(S=Q;S<=k;S++){const Ne=p[S]=A?mt(p[S]):et(p[S]);Ne.key!=null&&ae.set(Ne.key,S)}let ne,Le=0;const Ie=k-Q+1;let Ye=!1,Je=0;const Jt=new Array(Ie);for(S=0;S=Ie){ke(Ne,b,_,!0);continue}let Ze;if(Ne.key!=null)Ze=ae.get(Ne.key);else for(ne=Q;ne<=k;ne++)if(Jt[ne-Q]===0&&Rt(Ne,p[ne])){Ze=ne;break}Ze===void 0?ke(Ne,b,_,!0):(Jt[Ze-Q]=S+1,Ze>=Je?Je=Ze:Ye=!0,y(Ne,p[Ze],v,null,b,_,R,E,A),Le++)}const Ys=Ye?$c(Jt):$t;for(ne=Ys.length-1,S=Ie-1;S>=0;S--){const Ne=Q+S,Ze=p[Ne],Js=Ne+1{const{el:_,type:R,transition:E,children:A,shapeFlag:S}=d;if(S&6){Ce(d.component.subTree,p,v,w);return}if(S&128){d.suspense.move(p,v,w);return}if(S&64){R.move(d,p,v,Be);return}if(R===Te){r(_,p,v);for(let I=0;IE.enter(_),b);else{const{leave:I,delayLeave:k,afterLeave:H}=E,Q=()=>{d.ctx.isUnmounted?s(_):r(_,p,v)},ae=()=>{I(_,()=>{Q(),H&&H()})};k?k(_,Q,ae):ae()}else r(_,p,v)},ke=(d,p,v,w=!1,b=!1)=>{const{type:_,props:R,ref:E,children:A,dynamicChildren:S,shapeFlag:N,patchFlag:I,dirs:k,cacheIndex:H}=d;if(I===-2&&(b=!1),E!=null&&(ut(),Qn(E,null,v,d,!0),ft()),H!=null&&(p.renderCache[H]=void 0),N&256){p.ctx.deactivate(d);return}const Q=N&1&&k,ae=!rn(d);let ne;if(ae&&(ne=R&&R.onVnodeBeforeUnmount)&&Xe(ne,p,d),N&6)Rr(d.component,v,w);else{if(N&128){d.suspense.unmount(v,w);return}Q&&St(d,null,p,"beforeUnmount"),N&64?d.type.remove(d,p,v,Be,w):S&&!S.hasOnce&&(_!==Te||I>0&&I&64)?se(S,p,v,!1,!0):(_===Te&&I&384||!b&&N&16)&&se(A,p,v),w&&Rn(d)}(ae&&(ne=R&&R.onVnodeUnmounted)||Q)&&De(()=>{ne&&Xe(ne,p,d),Q&&St(d,null,p,"unmounted")},v)},Rn=d=>{const{type:p,el:v,anchor:w,transition:b}=d;if(p===Te){Mr(v,w);return}if(p===Hr){x(d);return}const _=()=>{s(v),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:R,delayLeave:E}=b,A=()=>R(v,_);E?E(d.el,_,A):A()}else _()},Mr=(d,p)=>{let v;for(;d!==p;)v=h(d),s(d),d=v;s(p)},Rr=(d,p,v)=>{const{bum:w,scope:b,job:_,subTree:R,um:E,m:A,a:S,parent:N,slots:{__:I}}=d;ci(A),ci(S),w&&$n(w),N&&D(I)&&I.forEach(k=>{N.renderCache[k]=void 0}),b.stop(),_&&(_.flags|=8,ke(R,d,p,v)),E&&De(E,p),De(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},se=(d,p,v,w=!1,b=!1,_=0)=>{for(let R=_;R{if(d.shapeFlag&6)return U(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),v=p&&p[lc];return v?h(v):p};let Y=!1;const Ae=(d,p,v)=>{d==null?p._vnode&&ke(p._vnode,null,null,!0):y(p._vnode||null,d,p,null,null,null,v),p._vnode=d,Y||(Y=!0,ti(),Co(),Y=!1)},Be={p:y,um:ke,m:Ce,r:Rn,mt:L,mc:oe,pc:re,pbc:W,n:U,o:e};return{render:Ae,hydrate:void 0,createApp:Rc(Ae)}}function Vr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ot({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xo(e,t,n=!1){const r=e.children,s=t.children;if(D(r)&&D(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qo(t)}function ci(e){if(e)for(let t=0;tKt(Uc);function Wc(e,t){return js(e,null,t)}function fe(e,t,n){return js(e,t,n)}function js(e,t,n=le){const{immediate:r,deep:s,flush:i,once:o}=n,l=ve({},n),a=t&&r||!t&&i!=="post";let u;if(mn){if(i==="sync"){const m=Bc();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=tt,m.resume=tt,m.pause=tt,m}}const c=_e;l.call=(m,g,y)=>Ge(m,c,g,y);let f=!1;i==="post"?l.scheduler=m=>{De(m,c&&c.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(m,g)=>{g?m():Rs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const h=rc(e,t,l);return mn&&(u?u.push(h):a&&h()),h}function zc(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?el(r,e):()=>r[e]:e.bind(r,r);let i;$(t)?i=t:(i=t.handler,n=t);const o=On(this),l=js(s,i.bind(r),n);return o(),l}function el(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${bt(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function qc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||le;let s=n;const i=t.startsWith("update:"),o=i&&Kc(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>pe(c)?c.trim():c)),o.number&&(s=n.map(qn)));let l,a=r[l=Ir(t)]||r[l=Ir(bt(t))];!a&&i&&(a=r[l=Ir(kt(t))]),a&&Ge(a,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ge(u,e,6,s)}}function tl(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!$(e)){const a=u=>{const c=tl(u,t,!0);c&&(l=!0,ve(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(ie(e)&&r.set(e,null),null):(D(i)?i.forEach(a=>o[a]=null):ve(o,i),ie(e)&&r.set(e,o),o)}function Sr(e,t){return!e||!cr(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,kt(t))||te(e,t))}function ui(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:u,renderCache:c,props:f,data:h,setupState:m,ctx:g,inheritAttrs:y}=e,C=Xn(e);let T,O;try{if(n.shapeFlag&4){const x=s||r,j=x;T=et(u.call(j,x,c,f,m,h,g)),O=l}else{const x=t;T=et(x.length>1?x(f,{attrs:l,slots:o,emit:a}):x(f,null)),O=t.props?l:Gc(l)}}catch(x){on.length=0,vr(x,e,1),T=Pe(Re)}let M=T;if(O&&y!==!1){const x=Object.keys(O),{shapeFlag:j}=M;x.length&&j&7&&(i&&x.some(_s)&&(O=Yc(O,i)),M=_t(M,O,!1,!0))}return n.dirs&&(M=_t(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&hn(M,n.transition),T=M,Xn(C),T}const Gc=e=>{let t;for(const n in e)(n==="class"||n==="style"||cr(n))&&((t||(t={}))[n]=e[n]);return t},Yc=(e,t)=>{const n={};for(const r in e)(!_s(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Jc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?fi(r,o,u):!!o;if(a&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function Xc(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):oc(e)}const Te=Symbol.for("v-fgt"),Or=Symbol.for("v-txt"),Re=Symbol.for("v-cmt"),Hr=Symbol.for("v-stc"),on=[];let Ve=null;function ye(e=!1){on.push(Ve=e?null:[])}function Qc(){on.pop(),Ve=on[on.length-1]||null}let gn=1;function di(e,t=!1){gn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function rl(e){return e.dynamicChildren=gn>0?Ve||$t:null,Qc(),gn>0&&Ve&&Ve.push(e),e}function we(e,t,n,r,s,i){return rl(J(e,t,n,r,s,i,!0))}function eu(e,t,n,r,s){return rl(Pe(e,t,n,r,s,!0))}function tr(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const sl=({key:e})=>e??null,Un=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||me(e)||$(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function J(e,t=null,n=null,r=0,s=null,i=e===Te?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sl(t),ref:t&&Un(t),scopeId:Eo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Fe};return l?(Fs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=pe(n)?8:16),gn>0&&!o&&Ve&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Ve.push(a),a}const Pe=tu;function tu(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===_c)&&(e=Re),tr(e)){const l=_t(e,t,!0);return n&&Fs(l,n),gn>0&&!i&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=nu(t);let{class:l,style:a}=t;l&&!pe(l)&&(t.class=Bt(l)),ie(a)&&(Ms(a)&&!D(a)&&(a=ve({},a)),t.style=_n(a))}const o=pe(e)?1:nl(e)?128:Ro(e)?64:ie(e)?4:$(e)?2:0;return J(e,t,n,r,s,o,i,!0)}function nu(e){return e?Ms(e)||Ko(e)?ve({},e):e:null}function _t(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,u=t?su(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&sl(u),ref:t&&t.ref?n&&i?D(i)?i.concat(Un(t)):[i,Un(t)]:Un(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&hn(c,a.clone(c)),c}function ls(e=" ",t=0){return Pe(Or,null,e,t)}function ru(e="",t=!1){return t?(ye(),eu(Re,null,e)):Pe(Re,null,e)}function et(e){return e==null||typeof e=="boolean"?Pe(Re):D(e)?Pe(Te,null,e.slice()):tr(e)?mt(e):Pe(Or,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Fs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Fs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ko(t)?t._ctx=Fe:s===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),r&64?(n=16,t=[ls(t)]):n=8);e.children=t,e.shapeFlag|=n}function su(...e){const t={};for(let n=0;n_e||Fe;let nr,as;{const e=dr(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};nr=t("__VUE_INSTANCE_SETTERS__",n=>_e=n),as=t("__VUE_SSR_SETTERS__",n=>mn=n)}const On=e=>{const t=_e;return nr(e),e.scope.on(),()=>{e.scope.off(),nr(t)}},pi=()=>{_e&&_e.scope.off(),nr(null)};function il(e){return e.vnode.shapeFlag&4}let mn=!1;function au(e,t=!1,n=!1){t&&as(t);const{props:r,children:s}=e.vnode,i=il(e);Ic(e,r,i,t),Lc(e,s,n||t);const o=i?cu(e,t):void 0;return t&&as(!1),o}function cu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wc);const{setup:r}=n;if(r){ut();const s=e.setupContext=r.length>1?ll(e):null,i=On(e),o=wn(r,e,0,[e.props,s]),l=Xi(o);if(ft(),i(),(l||e.sp)&&!rn(e)&&Lo(e),l){if(o.then(pi,pi),t)return o.then(a=>{hi(e,a)}).catch(a=>{vr(a,e,0)});e.asyncDep=o}else hi(e,o)}else ol(e)}function hi(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=So(t)),ol(e)}function ol(e,t,n){const r=e.type;e.render||(e.render=r.render||tt);{const s=On(e);ut();try{Oc(e)}finally{ft(),s()}}}const uu={get(e,t){return Oe(e,"get",""),e[t]}};function ll(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,uu),slots:e.slots,emit:e.emit,expose:t}}function Tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(So(za(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}})):e.proxy}function fu(e){return $(e)&&"__vccOpts"in e}const de=(e,t)=>tc(e,t,mn);function ks(e,t,n){const r=arguments.length;return r===2?ie(t)&&!D(t)?tr(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tr(n)&&(n=[n]),Pe(e,t,n))}const du="3.5.14";/** -* @vue/runtime-dom v3.5.14 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let cs;const gi=typeof window<"u"&&window.trustedTypes;if(gi)try{cs=gi.createPolicy("vue",{createHTML:e=>e})}catch{}const al=cs?e=>cs.createHTML(e):e=>e,pu="http://www.w3.org/2000/svg",hu="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,mi=ot&&ot.createElement("template"),gu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ot.createElementNS(pu,e):t==="mathml"?ot.createElementNS(hu,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{mi.innerHTML=al(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=mi.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pt="transition",Xt="animation",vn=Symbol("_vtc"),cl={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},mu=ve({},Po,cl),vu=e=>(e.displayName="Transition",e.props=mu,e),yu=vu((e,{slots:t})=>ks(uc,bu(e),t)),Tt=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},vi=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function bu(e){const t={};for(const P in e)P in cl||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:u=o,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=xu(s),y=g&&g[0],C=g&&g[1],{onBeforeEnter:T,onEnter:O,onEnterCancelled:M,onLeave:x,onLeaveCancelled:j,onBeforeAppear:V=T,onAppear:K=O,onAppearCancelled:oe=M}=t,F=(P,G,L,ee)=>{P._enterCancelled=ee,Ct(P,G?c:l),Ct(P,G?u:o),L&&L()},W=(P,G)=>{P._isLeaving=!1,Ct(P,f),Ct(P,m),Ct(P,h),G&&G()},q=P=>(G,L)=>{const ee=P?K:O,X=()=>F(G,P,L);Tt(ee,[G,X]),yi(()=>{Ct(G,P?a:i),it(G,P?c:l),vi(ee)||bi(G,r,y,X)})};return ve(t,{onBeforeEnter(P){Tt(T,[P]),it(P,i),it(P,o)},onBeforeAppear(P){Tt(V,[P]),it(P,a),it(P,u)},onEnter:q(!1),onAppear:q(!0),onLeave(P,G){P._isLeaving=!0;const L=()=>W(P,G);it(P,f),P._enterCancelled?(it(P,h),wi()):(wi(),it(P,h)),yi(()=>{P._isLeaving&&(Ct(P,f),it(P,m),vi(x)||bi(P,r,C,L))}),Tt(x,[P,L])},onEnterCancelled(P){F(P,!1,void 0,!0),Tt(M,[P])},onAppearCancelled(P){F(P,!0,void 0,!0),Tt(oe,[P])},onLeaveCancelled(P){W(P),Tt(j,[P])}})}function xu(e){if(e==null)return null;if(ie(e))return[$r(e.enter),$r(e.leave)];{const t=$r(e);return[t,t]}}function $r(e){return ha(e)}function it(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vn]||(e[vn]=new Set)).add(t)}function Ct(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[vn];n&&(n.delete(t),n.size||(e[vn]=void 0))}function yi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _u=0;function bi(e,t,n,r){const s=e._endId=++_u,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=wu(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,h),i()},h=m=>{m.target===e&&++c>=a&&f()};setTimeout(()=>{c(n[g]||"").split(", "),s=r(`${pt}Delay`),i=r(`${pt}Duration`),o=xi(s,i),l=r(`${Xt}Delay`),a=r(`${Xt}Duration`),u=xi(l,a);let c=null,f=0,h=0;t===pt?o>0&&(c=pt,f=o,h=i.length):t===Xt?u>0&&(c=Xt,f=u,h=a.length):(f=Math.max(o,u),c=f>0?o>u?pt:Xt:null,h=c?c===pt?i.length:a.length:0);const m=c===pt&&/\b(transform|all)(,|$)/.test(r(`${pt}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:m}}function xi(e,t){for(;e.length_i(n)+_i(e[r])))}function _i(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wi(){return document.body.offsetHeight}function Su(e,t,n){const r=e[vn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Si=Symbol("_vod"),Ou=Symbol("_vsh"),Tu=Symbol(""),Cu=/(^|;)\s*display\s*:/;function Au(e,t,n){const r=e.style,s=pe(n);let i=!1;if(n&&!s){if(t)if(pe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Bn(r,l,"")}else for(const o in t)n[o]==null&&Bn(r,o,"");for(const o in n)o==="display"&&(i=!0),Bn(r,o,n[o])}else if(s){if(t!==n){const o=r[Tu];o&&(n+=";"+o),r.cssText=n,i=Cu.test(n)}}else t&&e.removeAttribute("style");Si in e&&(e[Si]=i?r.display:"",e[Ou]&&(r.display="none"))}const Oi=/\s*!important$/;function Bn(e,t,n){if(D(n))n.forEach(r=>Bn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Eu(e,t);Oi.test(n)?e.setProperty(kt(r),n.replace(Oi,""),"important"):e[r]=n}}const Ti=["Webkit","Moz","ms"],Ur={};function Eu(e,t){const n=Ur[t];if(n)return n;let r=bt(t);if(r!=="filter"&&r in e)return Ur[t]=r;r=to(r);for(let s=0;sBr||(Iu.then(()=>Br=0),Br=Date.now());function Fu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ge(ku(r,n.value),t,5,[r])};return n.value=e,n.attached=ju(),n}function ku(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lu=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?Su(e,r,o):t==="style"?Au(e,n,r):cr(t)?_s(t)||Ru(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nu(e,t,r,o))?(Ei(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ai(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(r))?Ei(e,bt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ai(e,t,r,o))};function Nu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pi(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Pi(t)&&pe(n)?!1:t in e}const rr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>$n(t,n):t};function Du(e){e.target.composing=!0}function Ii(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qt=Symbol("_assign"),Wr={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[qt]=rr(s);const i=r||s.props&&s.props.type==="number";Pt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=qn(l)),e[qt](l)}),n&&Pt(e,"change",()=>{e.value=e.value.trim()}),t||(Pt(e,"compositionstart",Du),Pt(e,"compositionend",Ii),Pt(e,"change",Ii))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[qt]=rr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?qn(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},Vu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ur(t);Pt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?qn(sr(o)):sr(o));e[qt](e.multiple?s?new Set(i):i:i[0]),e._assigning=!0,yr(()=>{e._assigning=!1})}),e[qt]=rr(r)},mounted(e,{value:t}){ji(e,t)},beforeUpdate(e,t,n){e[qt]=rr(n)},updated(e,{value:t}){e._assigning||ji(e,t)}};function ji(e,t){const n=e.multiple,r=D(t);if(!(n&&!r&&!ur(t))){for(let s=0,i=e.options.length;sString(u)===String(l)):o.selected=wa(t,l)>-1}else o.selected=t.has(l);else if(pr(sr(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function sr(e){return"_value"in e?e._value:e.value}const Hu=ve({patchProp:Lu},gu);let Fi;function $u(){return Fi||(Fi=Dc(Hu))}const Uu=(...e)=>{const t=$u().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Wu(r);if(!s)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Bu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Bu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wu(e){return pe(e)?document.querySelector(e):e}function Tn(e){return oo()?(Oa(e),!0):!1}const zr=new WeakMap,zu=(...e)=>{var t;const n=e[0],r=(t=Sn())==null?void 0:t.proxy;if(r==null&&!Bo())throw new Error("injectLocal must be called in setup");return r&&zr.has(r)&&n in zr.get(r)?zr.get(r)[n]:Kt(...e)},ul=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fl=e=>e!=null,Ku=Object.prototype.toString,ir=e=>Ku.call(e)==="[object Object]",Wn=()=>{};function dl(...e){if(e.length!==1)return Xa(...e);const t=e[0];return typeof t=="function"?mr(Ya(()=>({get:t,set:Wn}))):z(t)}function qu(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const pl=e=>e();function Gu(e=pl,t={}){const{initialState:n="active"}=t,r=dl(n==="active");function s(){r.value=!1}function i(){r.value=!0}const o=(...l)=>{r.value&&e(...l)};return{isActive:mr(r),pause:s,resume:i,eventFilter:o}}function Yu(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function ki(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ln(e){return Array.isArray(e)?e:[e]}function hl(e){return Sn()}function Ju(e,t,n={}){const{eventFilter:r=pl,...s}=n;return fe(e,qu(r,t),s)}function Zu(e,t,n={}){const{eventFilter:r,initialState:s="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:u}=Gu(r,{initialState:s});return{stop:Ju(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:u}}function Ls(e,t=!0,n){hl()?Yt(e,n):t?e():yr(e)}function Xu(e,t){hl()&&wr(e,t)}function Qu(e,t,n){return fe(e,t,{...n,immediate:!0})}const wt=ul?window:void 0,Ns=ul?window.navigator:void 0;function qe(e){var t;const n=Ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}function be(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,u,c)=>(l.addEventListener(a,u,c),()=>l.removeEventListener(a,u,c)),s=de(()=>{const l=ln(Ke(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Qu(()=>{var l,a;return[(a=(l=s.value)==null?void 0:l.map(u=>qe(u)))!=null?a:[wt].filter(u=>u!=null),ln(Ke(s.value?e[1]:e[0])),ln(ge(s.value?e[2]:e[1])),Ke(s.value?e[3]:e[2])]},([l,a,u,c])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(u!=null&&u.length))return;const f=ir(c)?{...c}:c;t.push(...l.flatMap(h=>a.flatMap(m=>u.map(g=>r(h,m,g,f)))))},{flush:"post"}),o=()=>{i(),n()};return Tn(n),o}function ef(){const e=he(!1),t=Sn();return t&&Yt(()=>{e.value=!0},t),e}function Nt(e){const t=ef();return de(()=>(t.value,!!e()))}function tf(e,t,n={}){const{window:r=wt,...s}=n;let i;const o=Nt(()=>r&&"MutationObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const h=Ke(e),m=ln(h).map(qe).filter(fl);return new Set(m)}),u=fe(()=>a.value,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(m=>i.observe(m,s)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),l()};return Tn(f),{isSupported:o,stop:f,takeRecords:c}}const nf=Symbol("vueuse-ssr-width");function rf(){const e=Bo()?zu(nf,null):null;return typeof e=="number"?e:void 0}function sf(e,t={}){const{window:n=wt,ssrWidth:r=rf()}=t,s=Nt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=he(typeof r=="number"),o=he(),l=he(!1),a=u=>{l.value=u.matches};return Wc(()=>{if(i.value){i.value=!s.value;const u=Ke(e).split(",");l.value=u.some(c=>{const f=c.includes("not all"),h=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(h||m);return h&&g&&(g=r>=ki(h[1])),m&&g&&(g=r<=ki(m[1])),f?!g:g});return}s.value&&(o.value=n.matchMedia(Ke(e)),l.value=o.value.matches)}),be(o,"change",a,{passive:!0}),de(()=>l.value)}function of(e,t={}){const{controls:n=!1,navigator:r=Ns}=t,s=Nt(()=>r&&"permissions"in r),i=he(),o=typeof e=="string"?{name:e}:e,l=he(),a=()=>{var c,f;l.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};be(i,"change",a,{passive:!0});const u=Yu(async()=>{if(s.value){if(!i.value)try{i.value=await r.permissions.query(o)}catch{i.value=void 0}finally{a()}if(n)return Z(i.value)}});return u(),n?{state:l,isSupported:s,query:u}:l}const Nn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dn="__vueuse_ssr_handlers__",lf=af();function af(){return Dn in Nn||(Nn[Dn]=Nn[Dn]||{}),Nn[Dn]}function gl(e,t){return lf[e]||t}function cf(e){return sf("(prefers-color-scheme: dark)",e)}function uf(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ff={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Li="vueuse-storage";function df(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:u=!1,shallow:c,window:f=wt,eventFilter:h,onError:m=L=>{console.error(L)},initOnMounted:g}=r,y=(c?he:z)(typeof t=="function"?t():t),C=de(()=>Ke(e));if(!n)try{n=gl("getDefaultStorage",()=>{var L;return(L=wt)==null?void 0:L.localStorage})()}catch(L){m(L)}if(!n)return y;const T=Ke(t),O=uf(T),M=(s=r.serializer)!=null?s:ff[O],{pause:x,resume:j}=Zu(y,()=>W(y.value),{flush:i,deep:o,eventFilter:h});fe(C,()=>P(),{flush:i});let V=!1;const K=L=>{g&&!V||P(L)},oe=L=>{g&&!V||G(L)};f&&l&&(n instanceof Storage?be(f,"storage",K,{passive:!0}):be(f,Li,oe)),g?Ls(()=>{V=!0,P()}):P();function F(L,ee){if(f){const X={key:C.value,oldValue:L,newValue:ee,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",X):new CustomEvent(Li,{detail:X}))}}function W(L){try{const ee=n.getItem(C.value);if(L==null)F(ee,null),n.removeItem(C.value);else{const X=M.write(L);ee!==X&&(n.setItem(C.value,X),F(ee,X))}}catch(ee){m(ee)}}function q(L){const ee=L?L.newValue:n.getItem(C.value);if(ee==null)return a&&T!=null&&n.setItem(C.value,M.write(T)),T;if(!L&&u){const X=M.read(ee);return typeof u=="function"?u(X,T):O==="object"&&!Array.isArray(X)?{...T,...X}:X}else return typeof ee!="string"?ee:M.read(ee)}function P(L){if(!(L&&L.storageArea!==n)){if(L&&L.key==null){y.value=T;return}if(!(L&&L.key!==C.value)){x();try{(L==null?void 0:L.newValue)!==M.write(y.value)&&(y.value=q(L))}catch(ee){m(ee)}finally{L?yr(j):j()}}}}function G(L){P(L.detail)}return y}const pf="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function hf(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=wt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=cf({window:s}),m=de(()=>h.value?"dark":"light"),g=a||(o==null?dl(r):df(o,r,i,{window:s,listenToStorageChanges:l})),y=de(()=>g.value==="auto"?m.value:g.value),C=gl("updateHTMLAttrs",(x,j,V)=>{const K=typeof x=="string"?s==null?void 0:s.document.querySelector(x):qe(x);if(!K)return;const oe=new Set,F=new Set;let W=null;if(j==="class"){const P=V.split(/\s/g);Object.values(f).flatMap(G=>(G||"").split(/\s/g)).filter(Boolean).forEach(G=>{P.includes(G)?oe.add(G):F.add(G)})}else W={key:j,value:V};if(oe.size===0&&F.size===0&&W===null)return;let q;c&&(q=s.document.createElement("style"),q.appendChild(document.createTextNode(pf)),s.document.head.appendChild(q));for(const P of oe)K.classList.add(P);for(const P of F)K.classList.remove(P);W&&K.setAttribute(W.key,W.value),c&&(s.getComputedStyle(q).opacity,document.head.removeChild(q))});function T(x){var j;C(t,n,(j=f[x])!=null?j:x)}function O(x){e.onChanged?e.onChanged(x,T):T(x)}fe(y,O,{flush:"post",immediate:!0}),Ls(()=>O(y.value));const M=de({get(){return u?g.value:y.value},set(x){g.value=x}});return Object.assign(M,{store:g,system:m,state:y})}function gf(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=hf({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),s=de(()=>r.system.value);return de({get(){return r.value==="dark"},set(o){const l=o?"dark":"light";s.value===l?r.value="auto":r.value=l}})}function mf(e={}){const{navigator:t=Ns,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:s}=e,i=z([]),o=de(()=>i.value.filter(g=>g.kind==="videoinput")),l=de(()=>i.value.filter(g=>g.kind==="audioinput")),a=de(()=>i.value.filter(g=>g.kind==="audiooutput")),u=Nt(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=he(!1);let f;async function h(){u.value&&(i.value=await t.mediaDevices.enumerateDevices(),s==null||s(i.value),f&&(f.getTracks().forEach(g=>g.stop()),f=null))}async function m(){const g=r.video?"camera":"microphone";if(!u.value)return!1;if(c.value)return!0;const{state:y,query:C}=of(g,{controls:!0});if(await C(),y.value!=="granted"){let T=!0;try{f=await t.mediaDevices.getUserMedia(r)}catch{f=null,T=!1}h(),c.value=T}else c.value=!0;return c.value}return u.value&&(n&&m(),be(t.mediaDevices,"devicechange",h,{passive:!0}),h()),{devices:i,ensurePermissions:m,permissionGranted:c,videoInputs:o,audioInputs:l,audioOutputs:a,isSupported:u}}function vf(e,t,n={}){const{window:r=wt,...s}=n;let i;const o=Nt(()=>r&&"ResizeObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const f=Ke(e);return Array.isArray(f)?f.map(h=>qe(h)):[qe(f)]}),u=fe(a,f=>{if(l(),o.value&&r){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,s)}},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return Tn(c),{isSupported:o,stop:c}}function yf(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:i=!0,updateTiming:o="sync"}=t,l=he(0),a=he(0),u=he(0),c=he(0),f=he(0),h=he(0),m=he(0),g=he(0);function y(){const T=qe(e);if(!T){n&&(l.value=0,a.value=0,u.value=0,c.value=0,f.value=0,h.value=0,m.value=0,g.value=0);return}const O=T.getBoundingClientRect();l.value=O.height,a.value=O.bottom,u.value=O.left,c.value=O.right,f.value=O.top,h.value=O.width,m.value=O.x,g.value=O.y}function C(){o==="sync"?y():o==="next-frame"&&requestAnimationFrame(()=>y())}return vf(e,C),fe(()=>qe(e),T=>!T&&C()),tf(e,C,{attributeFilter:["style","class"]}),s&&be("scroll",C,{capture:!0,passive:!0}),r&&be("resize",C,{passive:!0}),Ls(()=>{i&&C()}),{height:l,bottom:a,left:u,right:c,top:f,width:h,x:m,y:g,update:C}}function bf(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:i=0,window:o=wt,immediate:l=!0}=n,a=Nt(()=>o&&"IntersectionObserver"in o),u=de(()=>{const g=Ke(e);return ln(g).map(qe).filter(fl)});let c=Wn;const f=he(l),h=a.value?fe(()=>[u.value,qe(r),f.value],([g,y])=>{if(c(),!f.value||!g.length)return;const C=new IntersectionObserver(t,{root:qe(y),rootMargin:s,threshold:i});g.forEach(T=>T&&C.observe(T)),c=()=>{C.disconnect(),c=Wn}},{immediate:l,flush:"post"}):Wn,m=()=>{c(),h(),f.value=!1};return Tn(m),{isSupported:a,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:m}}function xf(e={}){var t,n;const r=he((t=e.enabled)!=null?t:!1),s=he((n=e.autoSwitch)!=null?n:!0),i=z(e.constraints),{navigator:o=Ns}=e,l=Nt(()=>{var y;return(y=o==null?void 0:o.mediaDevices)==null?void 0:y.getUserMedia}),a=he();function u(y){switch(y){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function c(){if(!(!l.value||a.value))return a.value=await o.mediaDevices.getUserMedia({video:u("video"),audio:u("audio")}),a.value}function f(){var y;(y=a.value)==null||y.getTracks().forEach(C=>C.stop()),a.value=void 0}function h(){f(),r.value=!1}async function m(){return await c(),a.value&&(r.value=!0),a.value}async function g(){return f(),await m()}return fe(r,y=>{y?c():f()},{immediate:!0}),fe(i,()=>{s.value&&a.value&&g()},{immediate:!0}),Tn(()=>{h()}),{isSupported:l,stream:a,start:m,stop:h,restart:g,constraints:i,enabled:r,autoSwitch:s}}const ml=1/60*1e3,_f=typeof performance<"u"?()=>performance.now():()=>Date.now(),vl=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(_f()),ml);function wf(e){let t=[],n=[],r=0,s=!1,i=!1;const o=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&s,h=f?t:n;return u&&o.add(a),h.indexOf(a)===-1&&(h.push(a),f&&s&&(r=t.length)),a},cancel:a=>{const u=n.indexOf(a);u!==-1&&n.splice(u,1),o.delete(a)},process:a=>{if(s){i=!0;return}if(s=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=wf(()=>yn=!0),e),{}),ds=Cn.reduce((e,t)=>{const n=Cr[t];return e[t]=(r,s=!1,i=!1)=>(yn||Cf(),n.schedule(r,s,i)),e},{}),Of=Cn.reduce((e,t)=>(e[t]=Cr[t].cancel,e),{});Cn.reduce((e,t)=>(e[t]=()=>Cr[t].process(Gt),e),{});const Tf=e=>Cr[e].process(Gt),yl=e=>{yn=!1,Gt.delta=us?ml:Math.max(Math.min(e-Gt.timestamp,Sf),1),Gt.timestamp=e,fs=!0,Cn.forEach(Tf),fs=!1,yn&&(us=!1,vl(yl))},Cf=()=>{yn=!0,us=!0,fs||vl(yl)},bl=()=>Gt;function xl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);sMath.min(Math.max(n,e),t),Di=.001,Af=.01,Ef=10,Mf=.05,Rf=1;function Pf({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=ps(Mf,Rf,o),e=ps(Af,Ef,e/1e3),o<1?(s=u=>{const c=u*o,f=c*e,h=c-n,m=hs(u,o),g=Math.exp(-f);return Di-h/m*g},i=u=>{const f=u*o*e,h=f*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,g=Math.exp(-f),y=hs(Math.pow(u,2),o);return(-s(u)+Di>0?-1:1)*((h-m)*g)/y}):(s=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-.001+c*f},i=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=jf(s,i,l);if(e=e*1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const If=12;function jf(e,t,n){let r=n;for(let s=1;se[n]!==void 0)}function Lf(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Vi(e,kf)&&Vi(e,Ff)){const n=Pf(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ds(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:s}=e,i=xl(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=Lf(i),m=Hi,g=Hi;function y(){const C=c?-(c/1e3):0,T=n-t,O=a/(2*Math.sqrt(l*u)),M=Math.sqrt(l/u)/1e3;if(s===void 0&&(s=Math.min(Math.abs(n-t)/100,.4)),O<1){const x=hs(M,O);m=j=>{const V=Math.exp(-O*M*j);return n-V*((C+O*M*T)/x*Math.sin(x*j)+T*Math.cos(x*j))},g=j=>{const V=Math.exp(-O*M*j);return O*M*V*(Math.sin(x*j)*(C+O*M*T)/x+T*Math.cos(x*j))-V*(Math.cos(x*j)*(C+O*M*T)-x*T*Math.sin(x*j))}}else if(O===1)m=x=>n-Math.exp(-M*x)*(T+(C+M*T)*x);else{const x=M*Math.sqrt(O*O-1);m=j=>{const V=Math.exp(-O*M*j),K=Math.min(x*j,300);return n-V*((C+O*M*T)*Math.sinh(K)+x*T*Math.cosh(K))/x}}}return y(),{next:C=>{const T=m(C);if(h)o.done=C>=f;else{const O=g(C)*1e3,M=Math.abs(O)<=r,x=Math.abs(n-T)<=s;o.done=M&&x}return o.value=o.done?n:T,o},flipTarget:()=>{c=-c,[t,n]=[n,t],y()}}}Ds.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Hi=e=>0,_l=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Vs=(e,t,n)=>-n*e+n*t+e,wl=(e,t)=>n=>Math.max(Math.min(n,t),e),an=e=>e%1?Number(e.toFixed(5)):e,bn=/(-)?([\d]*\.?[\d])+/g,gs=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Nf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function An(e){return typeof e=="string"}const En={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cn=Object.assign(Object.assign({},En),{transform:wl(0,1)}),Vn=Object.assign(Object.assign({},En),{default:1}),Hs=e=>({test:t=>An(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),At=Hs("deg"),un=Hs("%"),B=Hs("px"),$i=Object.assign(Object.assign({},un),{parse:e=>un.parse(e)/100,transform:e=>un.transform(e*100)}),$s=(e,t)=>n=>!!(An(n)&&Nf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Sl=(e,t,n)=>r=>{if(!An(r))return r;const[s,i,o,l]=r.match(bn);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},It={test:$s("hsl","hue"),parse:Sl("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+un.transform(an(t))+", "+un.transform(an(n))+", "+an(cn.transform(r))+")"},Df=wl(0,255),Kr=Object.assign(Object.assign({},En),{transform:e=>Math.round(Df(e))}),vt={test:$s("rgb","red"),parse:Sl("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Kr.transform(e)+", "+Kr.transform(t)+", "+Kr.transform(n)+", "+an(cn.transform(r))+")"};function Vf(e){let t="",n="",r="",s="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),s=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),s=e.substr(4,1),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const ms={test:$s("#"),parse:Vf,transform:vt.transform},je={test:e=>vt.test(e)||ms.test(e)||It.test(e),parse:e=>vt.test(e)?vt.parse(e):It.test(e)?It.parse(e):ms.parse(e),transform:e=>An(e)?e:e.hasOwnProperty("red")?vt.transform(e):It.transform(e)},Ol="${c}",Tl="${n}";function Hf(e){var t,n,r,s;return isNaN(e)&&An(e)&&((n=(t=e.match(bn))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((s=(r=e.match(gs))===null||r===void 0?void 0:r.length)!==null&&s!==void 0?s:0)>0}function Cl(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(gs);r&&(n=r.length,e=e.replace(gs,Ol),t.push(...r.map(je.parse)));const s=e.match(bn);return s&&(e=e.replace(bn,Tl),t.push(...s.map(En.parse))),{values:t,numColors:n,tokenised:e}}function Al(e){return Cl(e).values}function El(e){const{values:t,numColors:n,tokenised:r}=Cl(e),s=t.length;return i=>{let o=r;for(let l=0;ltypeof e=="number"?0:e;function Uf(e){const t=Al(e);return El(e)(t.map($f))}const Mn={test:Hf,parse:Al,createTransformer:El,getAnimatableNone:Uf},Bf=new Set(["brightness","contrast","saturate","opacity"]);function Wf(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(bn)||[];if(!r)return e;const s=n.replace(r,"");let i=Bf.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const zf=/([a-z-]*)\(.*?\)/g,vs=Object.assign(Object.assign({},Mn),{getAnimatableNone:e=>{const t=e.match(zf);return t?t.map(Wf).join(" "):e}});function qr(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 Ui({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;s=qr(a,l,e+1/3),i=qr(a,l,e),o=qr(a,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const Kf=(e,t,n)=>{const r=e*e,s=t*t;return Math.sqrt(Math.max(0,n*(s-r)+r))},qf=[ms,vt,It],Bi=e=>qf.find(t=>t.test(e)),Ml=(e,t)=>{let n=Bi(e),r=Bi(t),s=n.parse(e),i=r.parse(t);n===It&&(s=Ui(s),n=vt),r===It&&(i=Ui(i),r=vt);const o=Object.assign({},s);return l=>{for(const a in o)a!=="alpha"&&(o[a]=Kf(s[a],i[a],l));return o.alpha=Vs(s.alpha,i.alpha,l),n.transform(o)}},Gf=e=>typeof e=="number",Yf=(e,t)=>n=>t(e(n)),Rl=(...e)=>e.reduce(Yf);function Pl(e,t){return Gf(e)?n=>Vs(e,t,n):je.test(e)?Ml(e,t):jl(e,t)}const Il=(e,t)=>{const n=[...e],r=n.length,s=e.map((i,o)=>Pl(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Pl(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}};function Wi(e){const t=Mn.parse(e),n=t.length;let r=0,s=0,i=0;for(let o=0;o{const n=Mn.createTransformer(t),r=Wi(e),s=Wi(t);return r.numHSL===s.numHSL&&r.numRGB===s.numRGB&&r.numNumbers>=s.numNumbers?Rl(Il(r.parsed,s.parsed),n):o=>`${o>0?t:e}`},Zf=(e,t)=>n=>Vs(e,t,n);function Xf(e){if(typeof e=="number")return Zf;if(typeof e=="string")return je.test(e)?Ml:jl;if(Array.isArray(e))return Il;if(typeof e=="object")return Jf}function Qf(e,t,n){const r=[],s=n||Xf(e[0]),i=e.length-1;for(let o=0;on(_l(e,t,r))}function td(e,t){const n=e.length,r=n-1;return s=>{let i=0,o=!1;if(s<=e[0]?o=!0:s>=e[r]&&(i=r-1,o=!0),!o){let a=1;for(;as||a===r);a++);i=a-1}const l=_l(e[i],e[i+1],s);return t[i](l)}}function Fl(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;Ni(i===t.length),Ni(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Qf(t,r,s),l=i===2?ed(e,o):td(e,o);return n?a=>l(ps(e[0],e[i-1],a)):l}const Ar=e=>t=>1-e(1-t),Us=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nd=e=>t=>Math.pow(t,e),kl=e=>t=>t*t*((e+1)*t-e),rd=e=>{const t=kl(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Ll=1.525,sd=4/11,id=8/11,od=9/10,Nl=e=>e,Bs=nd(2),ld=Ar(Bs),Dl=Us(Bs),Vl=e=>1-Math.sin(Math.acos(e)),Hl=Ar(Vl),ad=Us(Hl),Ws=kl(Ll),cd=Ar(Ws),ud=Us(Ws),fd=rd(Ll),dd=4356/361,pd=35442/1805,hd=16061/1805,or=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-or(1-e*2)):.5*or(e*2-1)+.5;function vd(e,t){return e.map(()=>t||Dl).splice(0,e.length-1)}function yd(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function bd(e,t){return e.map(n=>n*t)}function zn({from:e=0,to:t=1,ease:n,offset:r,duration:s=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=bd(r&&r.length===o.length?r:yd(o),s);function a(){return Fl(l,o,{ease:Array.isArray(n)?n:vd(o,n)})}let u=a();return{next:c=>(i.value=u(c),i.done=c>=s,i),flipTarget:()=>{o.reverse(),u=a()}}}function xd({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:s=.5,modifyTarget:i}){const o={done:!1,value:t};let l=n*e;const a=t+l,u=i===void 0?a:i(a);return u!==a&&(l=u-t),{next:c=>{const f=-l*Math.exp(-c/r);return o.done=!(f>s||f<-s),o.value=o.done?u:u+f,o},flipTarget:()=>{}}}const zi={keyframes:zn,spring:Ds,decay:xd};function _d(e){if(Array.isArray(e.to))return zn;if(zi[e.type])return zi[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?zn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ds:zn}function $l(e,t,n=0){return e-t-n}function wd(e,t,n=0,r=!0){return r?$l(t+-e,t,n):t-(e-t)+n}function Sd(e,t,n,r){return r?e>=t+n:e<=-n}const Od=e=>{const t=({delta:n})=>e(n);return{start:()=>ds.update(t,!0),stop:()=>Of.update(t)}};function Ul(e){var t,n,{from:r,autoplay:s=!0,driver:i=Od,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:m,onUpdate:g}=e,y=xl(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:C}=y,T,O=0,M=y.duration,x,j=!1,V=!0,K;const oe=_d(y);!((n=(t=oe).needsInterpolation)===null||n===void 0)&&n.call(t,r,C)&&(K=Fl([0,100],[r,C],{clamp:!1}),r=0,C=100);const F=oe(Object.assign(Object.assign({},y),{from:r,to:C}));function W(){O++,a==="reverse"?(V=O%2===0,o=wd(o,M,u,V)):(o=$l(o,M,u),a==="mirror"&&F.flipTarget()),j=!1,m&&m()}function q(){T.stop(),h&&h()}function P(L){if(V||(L=-L),o+=L,!j){const ee=F.next(Math.max(0,o));x=ee.value,K&&(x=K(x)),j=V?ee.done:o<=0}g==null||g(x),j&&(O===0&&(M??(M=o)),O{f==null||f(),T.stop()}}}function Bl(e,t){return t?e*(1e3/t):0}function Td({from:e=0,velocity:t=0,min:n,max:r,power:s=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:a=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:h,onStop:m}){let g;function y(M){return n!==void 0&&Mr}function C(M){return n===void 0?r:r===void 0||Math.abs(n-M){var j;f==null||f(x),(j=M.onUpdate)===null||j===void 0||j.call(M,x)},onComplete:h,onStop:m}))}function O(M){T(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},M))}if(y(e))O({from:e,velocity:t,to:C(e)});else{let M=s*t+e;typeof u<"u"&&(M=u(M));const x=C(M),j=x===n?-1:1;let V,K;const oe=F=>{V=K,K=F,t=Bl(F-V,bl().delta),(j===1&&F>x||j===-1&&Fg==null?void 0:g.stop()}}const Wl=(e,t)=>1-3*t+3*e,zl=(e,t)=>3*t-6*e,Kl=e=>3*e,lr=(e,t,n)=>((Wl(t,n)*e+zl(t,n))*e+Kl(t))*e,ql=(e,t,n)=>3*Wl(t,n)*e*e+2*zl(t,n)*e+Kl(t),Cd=1e-7,Ad=10;function Ed(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=lr(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Cd&&++l=Rd?Pd(o,f,e,n):h===0?f:Ed(o,l,l+Hn,e,n)}return o=>o===0||o===1?o:lr(i(o),t,r)}const ct={},Gr={};class jd{constructor(){He(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const s of this.subscriptions)s(t,n,r)}clear(){this.subscriptions.clear()}}function Ki(e){return!Number.isNaN(Number.parseFloat(e))}class Fd{constructor(t){He(this,"current");He(this,"prev");He(this,"timeDelta",0);He(this,"lastUpdated",0);He(this,"updateSubscribers",new jd);He(this,"stopAnimation");He(this,"canTrackVelocity",!1);He(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=bl();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r),ds.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});He(this,"scheduleVelocityCheck",()=>ds.postRender(this.velocityCheck));He(this,"velocityCheck",({timestamp:t})=>{this.canTrackVelocity||(this.canTrackVelocity=Ki(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=Ki(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Bl(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function kd(e){return new Fd(e)}const{isArray:Ld}=Array;function Nd(){const e=z({}),t=r=>{const s=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?Ld(r)?r.forEach(s):s(r):Object.keys(e.value).forEach(s)},n=(r,s,i)=>{if(e.value[r])return e.value[r];const o=kd(s);return o.onChange(l=>i[r]=l),e.value[r]=o,o};return Xu(t),{motionValues:e,get:n,stop:t}}function Dd(e){return Array.isArray(e)}function Et(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Yr(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function Vd(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function Jr(){return{type:"keyframes",ease:"linear",duration:300}}function Hd(e){return{type:"keyframes",duration:800,values:e}}const qi={default:Vd,x:Et,y:Et,z:Et,rotate:Et,rotateX:Et,rotateY:Et,rotateZ:Et,scaleX:Yr,scaleY:Yr,scale:Yr,backgroundColor:Jr,color:Jr,opacity:Jr};function Gl(e,t){let n;return Dd(t)?n=Hd:n=qi[e]||qi.default,{to:t,...n(t)}}const Gi={...En,transform:Math.round},Yl={color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,size:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,rotate:At,rotateX:At,rotateY:At,rotateZ:At,scale:Vn,scaleX:Vn,scaleY:Vn,scaleZ:Vn,skew:At,skewX:At,skewY:At,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:cn,originX:$i,originY:$i,originZ:B,zIndex:Gi,filter:vs,WebkitFilter:vs,fillOpacity:cn,strokeOpacity:cn,numOctaves:Gi},zs=e=>Yl[e];function ys(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function $d(e,t){let n=zs(e);return n!==vs&&(n=Mn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ud={linear:Nl,easeIn:Bs,easeInOut:Dl,easeOut:ld,circIn:Vl,circInOut:ad,circOut:Hl,backIn:Ws,backInOut:ud,backOut:cd,anticipate:fd,bounceIn:gd,bounceInOut:md,bounceOut:or};function Yi(e){if(Array.isArray(e)){const[t,n,r,s]=e;return Id(t,n,r,s)}else if(typeof e=="string")return Ud[e];return e}function Bd(e){return Array.isArray(e)&&typeof e[0]!="number"}function Ji(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Mn.test(t)&&!t.startsWith("url("))}function Wd(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function zd({ease:e,times:t,delay:n,...r}){const s={...r};return t&&(s.offset=t),e&&(s.ease=Bd(e)?e.map(Yi):Yi(e)),n&&(s.elapsed=-n),s}function Kd(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Wd(t),qd(e)||(e={...e,...Gl(n,t.to)}),{...t,...zd(e)}}function qd({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:s,...i}){return!!Object.keys(i).length}function Gd(e,t){return e[t]||e.default||e}function Yd(e,t,n,r,s){const i=Gd(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const l=Ji(e,n);o==="none"&&l&&typeof n=="string"&&(o=$d(e,n));const a=Ji(e,o);function u(f){const h={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:m=>t.set(m)};return i.type==="inertia"||i.type==="decay"?Td({...h,...i}):Ul({...Kd(i,h,e),onUpdate:m=>{h.onUpdate(m),i.onUpdate&&i.onUpdate(m)},onComplete:()=>{s&&s(),f&&f()}})}function c(f){return t.set(n),s&&s(),f&&f(),{stop:()=>{}}}return!a||!l||i.type===!1?c:u}function Jd(){const{motionValues:e,stop:t,get:n}=Nd();return{motionValues:e,stop:t,push:(s,i,o,l={},a)=>{const u=o[s],c=n(s,u,o);if(l&&l.immediate){c.set(i);return}const f=Yd(s,c,i,l,a);c.start(f)}}}function Zd(e,t={},{motionValues:n,push:r,stop:s}=Jd()){const i=ge(t),o=z(!1);fe(n,f=>{o.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const l=f=>{if(!i||!i[f])throw new Error(`The variant ${f} does not exist.`);return i[f]},a=f=>{typeof f=="string"&&(f=l(f));const h=Object.entries(f).map(([g,y])=>{if(g!=="transition")return new Promise(C=>r(g,y,e,f.transition||Gl(g,f[g]),C))}).filter(Boolean);async function m(){var g,y;await Promise.all(h),(y=(g=f.transition)==null?void 0:g.onComplete)==null||y.call(g)}return Promise.all([m()])};return{isAnimating:o,apply:a,set:f=>{const h=ir(f)?f:l(f);Object.entries(h).forEach(([m,g])=>{m!=="transition"&&r(m,g,e,{immediate:!0})})},leave:async f=>{let h;if(i&&(i.leave&&(h=i.leave),!i.leave&&i.initial&&(h=i.initial)),!h){f();return}await a(h),f()},stop:s}}const Ks=typeof window<"u",Xd=()=>Ks&&(window.onpointerdown===null||(ct==null?void 0:ct.TEST)),Qd=()=>Ks&&(window.ontouchstart===null||(ct==null?void 0:ct.TEST)),ep=()=>Ks&&(window.onmousedown===null||(ct==null?void 0:ct.TEST));function tp({target:e,state:t,variants:n,apply:r}){const s=ge(n),i=z(!1),o=z(!1),l=z(!1),a=de(()=>{let c=[...Object.keys(t.value||{})];return s&&(s.hovered&&(c=[...c,...Object.keys(s.hovered)]),s.tapped&&(c=[...c,...Object.keys(s.tapped)]),s.focused&&(c=[...c,...Object.keys(s.focused)])),c}),u=de(()=>{const c={};Object.assign(c,t.value),i.value&&s.hovered&&Object.assign(c,s.hovered),o.value&&s.tapped&&Object.assign(c,s.tapped),l.value&&s.focused&&Object.assign(c,s.focused);for(const f in c)a.value.includes(f)||delete c[f];return c});s.hovered&&(be(e,"mouseenter",()=>i.value=!0),be(e,"mouseleave",()=>{i.value=!1,o.value=!1})),s.tapped&&(ep()&&(be(e,"mousedown",()=>o.value=!0),be(e,"mouseup",()=>o.value=!1)),Xd()&&(be(e,"pointerdown",()=>o.value=!0),be(e,"pointerup",()=>o.value=!1)),Qd()&&(be(e,"touchstart",()=>o.value=!0),be(e,"touchend",()=>o.value=!1))),s.focused&&(be(e,"focus",()=>l.value=!0),be(e,"blur",()=>l.value=!1)),fe([i,o,l],()=>{r(u.value)})}function np({set:e,target:t,variants:n,variant:r}){const s=ge(n);fe(()=>t,()=>{s&&(s.initial&&(e("initial"),r.value="initial"),s.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function rp({state:e,apply:t}){fe(e,n=>{n&&t(n)},{immediate:!0})}function Jl({target:e,variants:t,variant:n}){const r=ge(t);r&&(r.visible||r.visibleOnce)&&bf(e,([{isIntersecting:s}])=>{r.visible?s?n.value="visible":n.value="initial":r.visibleOnce&&(s&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function sp(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&np(e),t.syncVariants&&rp(e),t.visibilityHooks&&Jl(e),t.eventListeners&&tp(e)}function Zl(e={}){const t=Lt({...e}),n=z({});return fe(t,()=>{const r={};for(const[s,i]of Object.entries(t)){const o=zs(s),l=ys(i,o);r[s]=l}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function qs(e,t){fe(()=>qe(e),n=>{n&&t(n)},{immediate:!0})}const ip={x:"translateX",y:"translateY",z:"translateZ"};function Xl(e={},t=!0){const n=Lt({...e}),r=z("");return fe(n,s=>{let i="",o=!1;if(t&&(s.x||s.y||s.z)){const l=[s.x||0,s.y||0,s.z||0].map(a=>ys(a,B)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,a]of Object.entries(s)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const u=zs(l),c=ys(a,u);i+=`${ip[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const op=["","X","Y","Z"],lp=["perspective","translate","scale","rotate","skew"],Ql=["transformPerspective","x","y","z"];lp.forEach(e=>{op.forEach(t=>{const n=e+t;Ql.push(n)})});const ap=new Set(Ql);function Gs(e){return ap.has(e)}const cp=new Set(["originX","originY","originZ"]);function ea(e){return cp.has(e)}function up(e){const t={},n={};return Object.entries(e).forEach(([r,s])=>{Gs(r)||ea(r)?t[r]=s:n[r]=s}),{transform:t,style:n}}function Er(e){const{transform:t,style:n}=up(e),{transform:r}=Xl(t),{style:s}=Zl(n);return r.value&&(s.value.transform=r.value),s.value}function fp(e,t){let n,r;const{state:s,style:i}=Zl();return qs(e,o=>{r=o;for(const l of Object.keys(Yl))o.style[l]===null||o.style[l]===""||Gs(l)||ea(l)||(s[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(s)}),fe(i,o=>{if(!r){n=o;return}for(const l in o)r.style[l]=o[l]},{immediate:!0}),{style:s}}function dp(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,s)=>{if(!s)return r;const[i,o]=s.split("("),a=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=a.length===1?a[0]:a;return{...r,[i]:u}},{})}function pp(e,t){Object.entries(dp(t)).forEach(([n,r])=>{const s=["x","y","z"];if(n==="translate3d"){if(r===0){s.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[s[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function hp(e,t){let n,r;const{state:s,transform:i}=Xl();return qs(e,o=>{r=o,o.style.transform&&pp(s,o.style.transform),n&&(o.style.transform=n),t&&t(s)}),fe(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:s}}function gp(e){return Object.entries(e)}function mp(e,t){const n=Lt({}),r=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:s}=fp(e,r),{transform:i}=hp(e,r);return fe(n,o=>{gp(o).forEach(([l,a])=>{const u=Gs(l)?i:s;u[l]&&u[l]===a||(u[l]=a)})},{immediate:!0,deep:!0}),qs(e,()=>t),{motionProperties:n,style:s,transform:i}}function vp(e={}){const t=ge(e),n=z();return{state:de(()=>{if(n.value)return t[n.value]}),variant:n}}function ta(e,t={},n){const{motionProperties:r}=mp(e),{variant:s,state:i}=vp(t),o=Zd(r,t),l={target:e,variant:s,variants:t,state:i,motionProperties:r,...o};return sp(l,n),l}const na=["delay","duration"],yp=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...na];function bp(e){return na.includes(e)}function xp(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&ir(n.variants)&&(t.value={...t.value,...n.variants});for(let r of yp)if(!(!n||!n[r])){if(bp(r)&&typeof n[r]=="number"){for(const s of["enter","visible","visibleOnce"]){const i=t.value[s];i!=null&&(i.transition??(i.transition={}),i.transition[r]=n[r])}continue}if(ir(n[r])){const s=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=s}}}}function Zr(e,t=!1){return{created:(s,i,o)=>{const l=i.value&&typeof i.value=="string"?i.value:o.key;l&&Gr[l]&&Gr[l].stop();const a=t?structuredClone(Z(e)||{}):e||{},u=z(a);typeof i.value=="object"&&(u.value=i.value),xp(o,u);const f=ta(s,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});s.motionInstance=f,l&&(Gr[l]=f)},mounted:(s,i,o)=>{s.motionInstance&&Jl(s.motionInstance)},getSSRProps(s,i){let{initial:o}=s.value||i&&(i==null?void 0:i.props)||{};o=ge(o);const l=Zi({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:Er(l)}}}}const _p={initial:{opacity:0},enter:{opacity:1}},wp={initial:{opacity:0},visible:{opacity:1}},Sp={initial:{opacity:0},visibleOnce:{opacity:1}},Op={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Tp={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Cp={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Ap={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Ep={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Mp={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Rp={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Pp={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Ip={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},jp={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Fp={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},kp={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Lp={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Np={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Dp={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Vp={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Hp={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},$p={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Up={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Bp={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},Wp={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},zp={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Kp={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},qp={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Gp={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Yp={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Jp={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},ar={__proto__:null,fade:_p,fadeVisible:wp,fadeVisibleOnce:Sp,pop:Op,popVisible:Tp,popVisibleOnce:Cp,rollBottom:Lp,rollLeft:Ap,rollRight:Rp,rollTop:jp,rollVisibleBottom:Np,rollVisibleLeft:Ep,rollVisibleOnceBottom:Dp,rollVisibleOnceLeft:Mp,rollVisibleOnceRight:Ip,rollVisibleOnceTop:kp,rollVisibleRight:Pp,rollVisibleTop:Fp,slideBottom:Gp,slideLeft:Vp,slideRight:Up,slideTop:zp,slideVisibleBottom:Yp,slideVisibleLeft:Hp,slideVisibleOnceBottom:Jp,slideVisibleOnceLeft:$p,slideVisibleOnceRight:Wp,slideVisibleOnceTop:qp,slideVisibleRight:Bp,slideVisibleTop:Kp};function Zp(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,s=>`-${s}`).toLowerCase().replace(/\s+/g,"-").replace(r,s=>n.charAt(t.indexOf(s))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const ra=Symbol(""),sa={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function Xp(e){return Object.prototype.toString.call(e)==="[object Object]"}function bs(e){if(Array.isArray(e))return e.map(bs);if(Xp(e)){const t={};for(const n in e)t[n]=bs(e[n]);return t}return e}function ia(e){const t=Lt({}),n=Kt(ra,{}),r=de(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(Z(n)[e.preset]):e.preset in ar?structuredClone(ar[e.preset]):{}),s=de(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(a,u){for(const c of["delay","duration"]){if(u[c]==null)continue;const f=Number.parseInt(u[c]);for(const h of["enter","visible","visibleOnce"]){const m=a[h];m!=null&&(m.transition??(m.transition={}),m.transition[c]=f)}}return a}const o=de(()=>{const a=Zi({},s.value,r.value,e.variants||{});return i({...a},e)});function l(a,u,c){var h;a.props??(a.props={}),(h=a.props).style??(h.style={}),a.props.style={...a.props.style,...c};const f=i(bs(o.value),a.props);return a.props.onVnodeMounted=({el:m})=>{t[u]=ta(m,f)},a.props.onVnodeUpdated=({el:m})=>{const g=Er(t[u].state);for(const[y,C]of Object.entries(g))m.style[y]=C},a}return{motionConfig:o,setNodeInstance:l}}const Qp=br({name:"Motion",props:{...sa,is:{type:[String,Object],default:"div"}},setup(e){const t=Vo(),{motionConfig:n,setNodeInstance:r}=ia(e);return()=>{const s=Er(n.value.initial||{}),i=ks(e.is,void 0,t);return r(i,0,s),i}}}),eh=br({name:"MotionGroup",props:{...sa,is:{type:[String,Object],required:!1}},setup(e){const t=Vo(),{motionConfig:n,setNodeInstance:r}=ia(e);return()=>{var o;const s=Er(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;l"u"||!navigator.gpu)return{supported:!1,isNode:!1,reason:"WebGPU is not available (navigator.gpu is undefined)",fp16Supported:!1};const e=await navigator.gpu.requestAdapter();return e?{supported:!0,isNode:!1,reason:"",adapter:e,fp16Supported:e.features.has("shader-f16")}:{supported:!1,isNode:!1,reason:"WebGPU is not supported (no adapter found)",fp16Supported:!1}}catch(e){return{supported:!1,isNode:!1,reason:e instanceof Error?e.toString():String(e),fp16Supported:!1}}}function rh(){return typeof process<"u"&&"versions"in process&&process.versions!=null&&typeof process.versions=="object"&&"node"in process.versions&&process.versions.node!=null}const sh={bg:"neutral-500/40 dark:neutral-900/70",border:"neutral-400/40 dark:neutral-700/50 1 solid",transition:"all duration-300 ease-in-out","h-full":"","overflow-hidden":"","rounded-full":"","backdrop-blur-lg":""},ih=br({__name:"Progress",props:{percentage:{default:0},total:{}},setup(e){return(t,n)=>(ye(),we("div",sh,[J("div",{"h-full":"",bg:"white dark:neutral-200",w:"[100%]",style:_n({transform:`translateX(-${Math.max(0,100-t.percentage)}%)`})},null,4)]))}}),oh=e=>{let t,n=!1,r=!1;const s=async(l,a)=>{if(!l)throw new Error("Payload is required");return new Promise((u,c)=>{if(!e.workerURL)throw new Error("Worker URL is required");if(n){u();return}try{let f;if((a==null?void 0:a.onProgress)!=null&&(f=a==null?void 0:a.onProgress,a==null||delete a.onProgress),!r&&!n&&!t){let h;if(e.workerURL instanceof URL?h=new URL(e.workerURL).searchParams.get("worker-url"):h=e.workerURL,!h)throw new Error("Worker URL is required");if(t||(t=new Worker(h,{type:"module"})),!t)throw new Error("Worker not initialized");t.postMessage(l),t.addEventListener("message",m=>{switch(m.data.type){case"error":r=!1,c(m.data.data.error);break;case"progress":f!=null&&typeof f=="function"&&f(m.data.data.progress);break}})}t.addEventListener("message",h=>{h.data.type!=="status"||h.data.data.status!=="ready"||(n=!0,r=!1,u())})}catch(f){r=!1,c(f)}})},i=async l=>{var a,u;l!=null&&!(l!=null&&l.loadOptions)&&await s((a=l==null?void 0:l.loadOptions)==null?void 0:a.payload,(u=l==null?void 0:l.loadOptions)==null?void 0:u.options)};return{dispose:()=>{t&&(t.terminate(),n=!1,r=!1,t=void 0)},load:s,process:(l,a,u)=>new Promise((c,f)=>{i(u).then(()=>{if(!t||!n){f(new Error("Model not loaded"));return}t.addEventListener("error",g=>{f(g)});let h=!1,m=!1;t.addEventListener("message",g=>{var y;switch(g.data.type){case"error":h=!0,f((y=g.data.data)==null?void 0:y.error);break;case a:m=!0,c(g.data.data);break}}),!h&&!m&&(t==null||t.postMessage(l))})})}};function lh(e){if(!e.baseURL)throw new Error("baseURL is required");const t=oh({workerURL:e.baseURL});return{load:s=>{let i;return s&&"onProgress"in s&&typeof s.onProgress=="function"&&(i=s.onProgress,delete s.onProgress),t.load({data:{options:s},type:"load"},{onProgress:i})},process:async s=>(await t.process({data:s,type:"process"},"processResult")).data.filter(o=>o.score>((s==null?void 0:s.threshold)||.1)),dispose:()=>t==null?void 0:t.dispose()}}function ah(e,t){const n=z(!1),r=z(!1),s=z(!1),i=z(!1),o=z([]),l=new Set,a=z(0),u=z(0),c=lh({baseURL:e}),f=async g=>{if(g.status==="initiate"){if(l.has(g.file))return;l.add(g.file),o.value.push(g),n.value=!0}else if(g.status==="progress"){const y=o.value.findIndex(C=>C.file===g.file);if(y>=0){o.value[y]=g;let C=0,T=0;for(const O of o.value)"total"in O&&O.total&&(C+=O.total,"loaded"in O&&O.loaded&&(T+=O.loaded));u.value=C,C>0&&(a.value=T/C*100)}else{o.value.push(g);let C=0,T=0;for(const O of o.value)"total"in O&&O.total&&(C+=O.total,"loaded"in O&&O.loaded&&(T+=O.loaded));u.value=C,C>0&&(a.value=T/C*100)}}else if(g.status==="done"){const y=o.value.findIndex(T=>T.file===g.file);y>=0&&(o.value[y]=g),o.value.every(T=>T.status==="done"||T.status==="ready")&&(n.value=!1,a.value=100)}else g.status==="ready"&&(n.value=!1,a.value=100)};async function h(g){n.value=!0,r.value=!1;try{await c.load({...g,onProgress:f}),r.value=!0,s.value=!1}catch{r.value=!1,s.value=!0}finally{n.value=!1}}async function m(g){i.value=!0;try{const y=await c.process(g);return s.value=!1,y}catch{s.value=!0}finally{i.value=!1}}return wr(()=>{c.dispose()}),{isLoading:n,isInitialized:r,loadingItems:o,overallProgress:a,overallTotal:u,load:h,process:m}}const ch="/assets/yolov9-worker-BwmPJ2Yu.js",uh={relative:"","z-0":"","h-full":"","w-full":"","overflow-hidden":"",class:"rounded-none sm:rounded-3xl","shadow-md":""},fh={key:1,"i-svg-spinners:6-dots-rotate":"","size-4":""},dh={key:0,bottom:"20",left:"1/2","translate-x":"-50%","max-w":"50",absolute:"","z-10":"","h-5":"","w-full":""},ph={absolute:"","left-4":"","top-16":"","z-10":"",bg:"white/80 dark:neutral-900/80",text:"black dark:white {var se;return u.value?u.value:(se=t.value[0])==null?void 0:se.deviceId},set:se=>(u.value=se,u.value)}),f=["border-sky-500","border-blue-500","border-indigo-500","border-violet-500","border-purple-500","border-fuchsia-500","border-pink-500","border-rose-500","border-red-500","border-orange-500","border-amber-500","border-yellow-500","border-lime-500","border-green-500","border-teal-500","border-cyan-500"],h=["bg-sky-500","bg-blue-500","bg-indigo-500","bg-violet-500","bg-purple-500","bg-fuchsia-500","bg-pink-500","bg-rose-500","bg-red-500","bg-orange-500","bg-amber-500","bg-yellow-500","bg-lime-500","bg-green-500","bg-teal-500","bg-cyan-500"],m=de(()=>({video:{deviceId:u.value}})),g=z(64),y=z(.5),C=z(.5),T=z(!1),O=z(!1),M=z(!1),x=z(!0),j=z(0),V=z(0),K=gf({disableTransition:!1}),oe=yf(s,{immediate:!0,windowResize:!0}),{stream:F,start:W}=xf({constraints:m,enabled:!0,autoSwitch:!0}),{isLoading:q,load:P,loadingItems:G,process:L,overallProgress:ee}=ah(ch),X=z([]);function ue(){nh().then(se=>{x.value=se.supported})}function re(){if(i.value&&o.value&&F.value){const se=F.value.getVideoTracks()[0];if(se){const{width:U,height:Y}=se.getSettings();if(U&&Y){l.value=U,a.value=Y;const Ae=Math.round(U*C.value),Be=Math.round(Y*C.value);o.value.width=Ae,o.value.height=Be}}}}function rt(){var Y;if(!F||!((Y=i.value)!=null&&Y.videoWidth)||!o.value)return console.warn("Video stream not ready for capture."),null;re();const se=o.value.getContext("2d",{willReadFrequently:!0});if(!se)return console.warn("Canvas context not ready for capture."),null;se.drawImage(i.value,0,0,o.value.width,o.value.height);const U=se.getImageData(0,0,o.value.width,o.value.height);return{imageBuffer:U.data,imageWidth:U.width,imageHeight:U.height,channels:4}}async function Dt(){if(!O.value)return;const se=rt();if(se)try{const U=await L({imageBuffer:se.imageBuffer,imageWidth:se.imageWidth,imageHeight:se.imageHeight,channels:se.channels,modelSize:g.value,threshold:y.value}),Y=performance.now();if(V.value){const Ae=Y-V.value;j.value=Math.round(1e3/Ae)}if(V.value=Y,U&&U.length>0){const Ae=i.value;if(!Ae)return;const Be=Ae.offsetWidth,Pn=Ae.offsetHeight,d=se.imageWidth,p=se.imageHeight;X.value=U.map(v=>{const{xmin:w,ymin:b,xmax:_,ymax:R}=v.box;console.warn("before",v.box);const E=_<=1&&R<=1;let A;if(E)A={xmin:w*Be,ymin:b*Pn,xmax:_*Be,ymax:R*Pn};else{const S=g.value||d,N=g.value||p,I=Be/S,k=Pn/N;A={xmin:w*I,ymin:b*k,xmax:_*I,ymax:R*k}}return console.warn("after",A),{box:A,label:v.label,score:v.score}})}else X.value=[]}catch(U){console.error(U)}}let Ce=null;function ke(){if(!O.value){Ce!==null&&(cancelAnimationFrame(Ce),Ce=null);return}Dt().finally(()=>{O.value&&(Ce=requestAnimationFrame(ke))})}async function Rn(){if(!F){console.warn("Camera not available. Please grant permission first.");return}T.value||(M.value=!0,await P(),M.value=!1,T.value=!0),O.value=!0,ke()}function Mr(){O.value=!1,Ce!==null&&(cancelAnimationFrame(Ce),Ce=null)}function Rr(){O.value?Mr():Rn()}return fe([F,i],()=>{F.value&&i.value&&(i.value.srcObject=F.value)}),fe(u,()=>u.value&&W()),Yt(oe.update),Yt(ue),(se,U)=>(ye(),we("div",{ref_key:"videoScreenContainer",ref:s,"max-h":"100dvh","max-w":"100dvw",relative:"","h-full":"","w-full":"",class:"p-0 sm:p-4"},[J("div",uh,[U[11]||(U[11]=J("div",{absolute:"","left-0":"","top-0":"","z-10":"",class:"p-2 sm:p-4",flex:"","gap-2":""},[J("div",{bg:"white dark:neutral-900",text:"black dark:white 0&&ge(q)?(ye(),we("div",dh,[Pe(ih,{percentage:Math.min(100,ge(ee))},null,8,["percentage"])])):ru("",!0),J("div",ph," FPS: "+We(j.value),1),J("div",hh,[J("div",gh,[U[5]||(U[5]=J("label",{for:"model-size",w:"80px"},"Size:",-1)),kn(J("input",{id:"model-size","onUpdate:modelValue":U[0]||(U[0]=Y=>g.value=Y),type:"range",min:"32",max:"128",step:"16",disabled:O.value,class:"flex-1"},null,8,mh),[[Wr,g.value]]),J("span",vh,We(g.value),1)]),J("div",yh,[U[6]||(U[6]=J("label",{for:"threshold",w:"80px"},"Threshold:",-1)),kn(J("input",{id:"threshold","onUpdate:modelValue":U[1]||(U[1]=Y=>y.value=Y),type:"range",min:"0.1",max:"0.9",step:"0.05",class:"flex-1"},null,512),[[Wr,y.value]]),J("span",bh,We(y.value.toFixed(2)),1)]),J("div",xh,[U[7]||(U[7]=J("label",{for:"scale",w:"80px"},"Scale:",-1)),kn(J("input",{id:"scale","onUpdate:modelValue":U[2]||(U[2]=Y=>C.value=Y),type:"range",min:"0.1",max:"1.0",step:"0.1",disabled:O.value,class:"flex-1"},null,8,_h),[[Wr,C.value]]),J("span",wh,We(C.value.toFixed(1)),1)])]),(ye(!0),we(Te,null,ri(X.value,(Y,Ae)=>(ye(),we("div",{key:Ae,fixed:"",style:_n({top:`${Y.box.ymin}px`,left:`${Y.box.xmin}px`,width:`${Y.box.xmax-Y.box.xmin}px`,height:`${Y.box.ymax-Y.box.ymin}px`,zIndex:100+100*Ae}),"data-box":JSON.stringify(Y.box),class:Bt(["box-content border-4 rounded-lg",[f[Ae%f.length]]])},[J("div",{"px-2":"","pb-2":"","pt-1":"","text-white":"","font-mono":"",class:Bt([h[Ae%h.length]])},We(Y.label)+" ("+We(Y.score.toFixed(2))+") ",3)],14,Sh))),128)),ge(r)?x.value?ge(n)?(ye(),we(Te,{key:4},[J("canvas",{ref_key:"captureCanvas",ref:o,class:"hidden"},null,512),J("video",{ref_key:"videoScreen",ref:i,autoplay:"",muted:"",relative:"","z-0":"","h-full":"","w-full":"","object-cover":""},null,512)],64)):(ye(),we("div",Ch,U[10]||(U[10]=[J("div",{text:"orange-700 4xl","font-semibold":""}," Warning ",-1),J("div",{"max-w":"50%",text:"orange 2xl center"},We("Permission not granted. Please grant permission first. Then choose a camera from the dropdown menu."),-1)]))):(ye(),we("div",Th,U[9]||(U[9]=[J("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),J("div",{"max-w":"50%",text:"neutral 2xl center"},We("Browser does not support WebGPU. Please use a supported browser."),-1)]))):(ye(),we("div",Oh,U[8]||(U[8]=[J("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),J("div",{"max-w":"50%",text:"neutral 2xl center"},We("Browser does not support video camera. Please use a supported browser."),-1)]))),J("div",Ah,[kn(J("select",{"onUpdate:modelValue":U[3]||(U[3]=Y=>c.value=Y),bg:"neutral-500/40 hover:neutral-600/40 dark:neutral-900/70 hover:dark:neutral-900/60",text:"white/98 dark:neutral-100/90 (ye(),we("option",{key:Y.deviceId,value:Y.deviceId,class:"text-xs sm:text-sm","inline-block":""},We(Y.label),9,Eh))),128))],512),[[Vu,c.value]]),J("button",{bg:"neutral-500/40 hover:neutral-600/40 dark:neutral-900/70 hover:dark:neutral-900/60",text:"white/98 dark:neutral-100/90",border:"neutral-400/40 dark:neutral-500/50 1 solid",outline:"none",shadow:"none hover:lg",transition:"all duration-300 ease-in-out","aspect-square":"","h-full":"",flex:"","cursor-pointer":"","items-center":"","justify-center":"","rounded-full":"","backdrop-blur-lg":"",onClick:U[4]||(U[4]=Y=>K.value=!ge(K))},[Pe(yu,{name:"fade",mode:"out-in"},{default:Mo(()=>[ge(K)?(ye(),we("div",Mh)):(ye(),we("div",Rh))]),_:1})])])])],512))}});Uu(Ph).use(th).mount("#app");