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