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