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