nekomeowww's picture
release: build 17c0e59d2f3c402ffc1fd22936439b807c92307c
6539a8f
var aa=Object.defineProperty;var ca=(e,t,n)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>ca(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 jr(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 ts(e,t,n=".",r){if(!jr(t))return ts(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]]:jr(o)&&jr(s[i])?s[i]=ts(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function ua(e){return(...t)=>t.reduce((n,r)=>ts(n,r,"",e),{})}const Ji=ua();/**
* @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 ee={},Ut=[],nt=()=>{},fa=()=>!1,fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ss=e=>e.startsWith("onUpdate:"),me=Object.assign,Os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},da=Object.prototype.hasOwnProperty,ne=(e,t)=>da.call(e,t),D=Array.isArray,Bt=e=>wn(e)==="[object Map]",dr=e=>wn(e)==="[object Set]",Xs=e=>wn(e)==="[object Date]",U=e=>typeof e=="function",pe=e=>typeof e=="string",rt=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",Zi=e=>(le(e)||U(e))&&U(e.then)&&U(e.catch),Xi=Object.prototype.toString,wn=e=>Xi.call(e),pa=e=>wn(e).slice(8,-1),Qi=e=>wn(e)==="[object Object]",Ts=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ha=/-(\w)/g,ft=pr(e=>e.replace(ha,(t,n)=>n?n.toUpperCase():"")),ma=/\B([A-Z])/g,St=pr(e=>e.replace(ma,"-$1").toLowerCase()),eo=pr(e=>e.charAt(0).toUpperCase()+e.slice(1)),kr=pr(e=>e?`on${eo(e)}`:""),ke=(e,t)=>!Object.is(e,t),Un=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},to=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ga=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Qs;const hr=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Sn(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pe(r)?xa(r):Sn(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(pe(e)||le(e))return e}const va=/;(?![^(]*\))/g,ya=/:([^]+)/,ba=/\/\*[^]*?\*\//g;function xa(e){const t={};return e.replace(ba,"").split(va).forEach(n=>{if(n){const r=n.split(ya);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Wt(e){let t="";if(pe(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const r=Wt(e[n]);r&&(t+=r+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wa=ws(_a);function no(e){return!!e||e===""}function Sa(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=rt(e),r=rt(t),n||r)return e===t;if(n=D(e),r=D(t),n||r)return n&&r?Sa(e,t):!1;if(n=le(e),r=le(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 Oa(e,t){return e.findIndex(n=>mr(n,t))}const ro=e=>!!(e&&e.__v_isRef===!0),Be=e=>pe(e)?e:e==null?"":D(e)||le(e)&&(e.toString===Xi||!U(e.toString))?ro(e)?Be(e.value):JSON.stringify(e,so,2):String(e),so=(e,t)=>ro(t)?so(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Fr(r,i)+" =>"]=s,n),{})}:dr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fr(n))}:rt(t)?Fr(t):le(t)&&!D(t)&&!Qi(t)?String(t):t,Fr=(e,t="")=>{var n;return rt(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 Oe;class Ta{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.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=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){++this._on===1&&(this.prevScope=Oe,Oe=this)}off(){this._on>0&&--this._on===0&&(Oe=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 io(){return Oe}function Ca(e,t=!1){Oe&&Oe.cleanups.push(e)}let ue;const Lr=new WeakSet;class oo{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,Oe&&Oe.active&&Oe.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||ao(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ei(this),co(this);const t=ue,n=Ke;ue=this,Ke=!0;try{return this.fn()}finally{uo(this),ue=t,Ke=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Es(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(){ns(this)&&this.run()}get dirty(){return ns(this)}}let lo=0,rn,sn;function ao(e,t=!1){if(e.flags|=8,t){e.next=sn,sn=e;return}e.next=rn,rn=e}function Cs(){lo++}function As(){if(--lo>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 co(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function uo(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Es(r),Aa(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fo(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||!ns(e))))return;e.flags|=2;const t=e.dep,n=ue,r=Ke;ue=e,Ke=!0;try{co(e);const s=e.fn(e._value);(t.version===0||ke(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,Ke=r,uo(e),e.flags&=-3}}function Es(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)Es(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Aa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ke=!0;const po=[];function dt(){po.push(Ke),Ke=!1}function pt(){const e=po.pop();Ke=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||!Ke||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,ho(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 ho(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)ho(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Yn=new WeakMap,kt=Symbol(""),rs=Symbol(""),hn=Symbol("");function Te(e,t,n){if(Ke&&ue){let r=Yn.get(e);r||Yn.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=Yn.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||!rt(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(kt)),Bt(e)&&l(o.get(rs)));break;case"delete":a||(l(o.get(kt)),Bt(e)&&l(o.get(rs)));break;case"set":Bt(e)&&l(o.get(kt));break}}As()}function Ma(e,t){const n=Yn.get(e);return n&&n.get(t)}function $t(e){const t=X(e);return t===e?t:(Te(t,"iterate",hn),We(e)?t:t.map(we))}function vr(e){return Te(e=X(e),"iterate",hn),e}const Ra={__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 Pa=Array.prototype;function it(e,t,n,r,s,i){const o=vr(e),l=o!==e&&!We(e),a=o[t];if(a!==Pa[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);Te(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 Ia=ws("__proto__,__v_isRef,__isVue"),mo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function ja(e){rt(e)||(e=String(e));const t=X(this);return Te(t,"has",e),t.hasOwnProperty(e)}class go{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?Ba:xo:i?bo:yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=D(t);if(!s){let a;if(o&&(a=Ra[n]))return a;if(n==="hasOwnProperty")return ja}const l=Reflect.get(t,n,be(t)?t:r);return(rt(n)?mo.has(n):Ia(n))||(s||Te(t,"get",n),i)?l:be(l)?o&&Ts(n)?l:l.value:le(l)?s?yr(l):Nt(l):l}}class vo extends go{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=xt(i);if(!We(r)&&!xt(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:ne(t,n),l=Reflect.set(t,n,r,be(t)?t:s);return t===X(s)&&(o?ke(r,i)&&at(t,"set",n,r):at(t,"add",n,r)),l}deleteProperty(t,n){const r=ne(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(!rt(n)||!mo.has(n))&&Te(t,"has",n),r}ownKeys(t){return Te(t,"iterate",D(t)?"length":kt),Reflect.ownKeys(t)}}class ka extends go{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fa=new vo,La=new ka,Na=new vo(!0);const ss=e=>e,kn=e=>Reflect.getPrototypeOf(e);function Da(e,t,n){return function(...r){const s=this.__v_raw,i=X(s),o=Bt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=s[e](...r),c=n?ss:t?Jn:we;return!t&&Te(i,"iterate",a?rs:kt),{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 Fn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Va(e,t){const n={get(s){const i=this.__v_raw,o=X(i),l=X(s);e||(ke(s,l)&&Te(o,"get",s),Te(o,"get",l));const{has:a}=kn(o),u=t?ss:e?Jn: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&&Te(X(s),"iterate",kt),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=X(i),l=X(s);return e||(ke(s,l)&&Te(o,"has",s),Te(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?ss:e?Jn:we;return!e&&Te(a,"iterate",kt),l.forEach((c,f)=>s.call(i,u(c),u(f),o))}};return me(n,e?{add:Fn("add"),set:Fn("set"),delete:Fn("delete"),clear:Fn("clear")}:{add(s){!t&&!We(s)&&!xt(s)&&(s=X(s));const i=X(this);return kn(i).has.call(i,s)||(i.add(s),at(i,"add",s,s)),this},set(s,i){!t&&!We(i)&&!xt(i)&&(i=X(i));const o=X(this),{has:l,get:a}=kn(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?ke(i,c)&&at(o,"set",s,i):at(o,"add",s,i),this},delete(s){const i=X(this),{has:o,get:l}=kn(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]=Da(s,e,t)}),n}function Ms(e,t){const n=Va(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,i)}const $a={get:Ms(!1,!1)},Ha={get:Ms(!1,!0)},Ua={get:Ms(!0,!1)};const yo=new WeakMap,bo=new WeakMap,xo=new WeakMap,Ba=new WeakMap;function Wa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function za(e){return e.__v_skip||!Object.isExtensible(e)?0:Wa(pa(e))}function Nt(e){return xt(e)?e:Rs(e,!1,Fa,$a,yo)}function Ka(e){return Rs(e,!1,Na,Ha,bo)}function yr(e){return Rs(e,!0,La,Ua,xo)}function Rs(e,t,n,r,s){if(!le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=za(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 xt(e)?zt(e.__v_raw):!!(e&&e.__v_isReactive)}function xt(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 qa(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&to(e,"__v_skip",!0),e}const we=e=>le(e)?Nt(e):e,Jn=e=>le(e)?yr(e):e;function be(e){return e?e.__v_isRef===!0:!1}function z(e){return _o(e,!1)}function he(e){return _o(e,!0)}function _o(e,t){return be(e)?e:new Ga(e,t)}class Ga{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)||xt(t);t=r?t:X(t),ke(t,n)&&(this._rawValue=t,this._value=r?t:we(t),this.dep.trigger())}}function ve(e){return be(e)?e.value:e}function qe(e){return U(e)?e():ve(e)}const Ya={get:(e,t,n)=>t==="__v_raw"?e:ve(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 wo(e){return zt(e)?e:new Proxy(e,Ya)}class Ja{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 So(e){return new Ja(e)}class Za{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 Ma(X(this._object),this._key)}}class Xa{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 Qa(e,t,n){return be(e)?e:U(e)?new Xa(e):le(e)&&arguments.length>1?ec(e,t,n):z(e)}function ec(e,t,n){const r=e[t];return be(r)?r:new Za(e,t,n)}class tc{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 ao(this,!0),!0}get value(){const t=this.dep.track();return fo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nc(e,t,n=!1){let r,s;return U(e)?r=e:(r=e.get,s=e.set),new tc(r,s,n)}const Ln={},Zn=new WeakMap;let Rt;function rc(e,t=!1,n=Rt){if(n){let r=Zn.get(n);r||Zn.set(n,r=[]),r.push(e)}}function sc(e,t,n=ee){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(U(x))return a?a(x,2):x()})):U(e)?t?f=a?()=>a(e,2):e:f=()=>{if(h){dt();try{h()}finally{pt()}}const x=Rt;Rt=c;try{return a?a(e,3,[m]):e(m)}finally{Rt=x}}:f=nt,t&&s){const x=f,j=s===!0?1/0:s;f=()=>ct(x(),j)}const C=io(),T=()=>{c.stop(),C&&C.active&&Os(C.effects,c)};if(i&&t){const x=t;t=(...j)=>{x(...j),T()}}let O=y?new Array(e.length).fill(Ln):Ln;const M=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(t){const j=c.run();if(s||g||(y?j.some(($,q)=>ke($,O[q])):ke(j,O))){h&&h();const $=Rt;Rt=c;try{const q=[j,O===Ln?void 0:y&&O[0]===Ln?[]:O,m];a?a(t,3,q):t(...q),O=j}finally{Rt=$}}}else c.run()};return l&&l(M),c=new oo(f),c.scheduler=o?()=>o(M,!1):M,m=x=>rc(x,!1,c),h=c.onStop=()=>{const x=Zn.get(c);if(x){if(a)a(x,4);else for(const j of x)j();Zn.delete(c)}},t?r?M(!0):O=c.run():o?o(M.bind(null,!0),!0):c.run(),T.pause=c.pause.bind(c),T.resume=c.resume.bind(c),T.stop=T,T}function ct(e,t=1/0,n){if(t<=0||!le(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(dr(e)||Bt(e))e.forEach(r=>{ct(r,t,n)});else if(Qi(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 On(e,t,n,r){try{return r?e(...r):e()}catch(s){br(s,t,n)}}function Ye(e,t,n,r){if(U(e)){const s=On(e,t,n,r);return s&&Zi(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||ee;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(),On(i,null,10,[e,a,u]),pt();return}}ic(e,n,s,r,o)}function ic(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Re=[];let et=-1;const Kt=[];let gt=null,Ht=0;const Oo=Promise.resolve();let Xn=null;function xr(e){const t=Xn||Oo;return e?t.then(this?e.bind(this):e):t}function oc(e){let t=et+1,n=Re.length;for(;t<n;){const r=t+n>>>1,s=Re[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=Re[Re.length-1];!n||!(e.flags&2)&&t>=mn(n)?Re.push(e):Re.splice(oc(t),0,e),e.flags|=1,To()}}function To(){Xn||(Xn=Oo.then(Ao))}function lc(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),To()}function ni(e,t,n=et+1){for(;n<Re.length;n++){const r=Re[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Re.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Co(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 Ao(e){try{for(et=0;et<Re.length;et++){const t=Re[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),On(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<Re.length;et++){const t=Re[et];t&&(t.flags&=-2)}et=-1,Re.length=0,Co(),Xn=null,(Re.length||Kt.length)&&Ao()}}let Fe=null,Eo=null;function Qn(e){const t=Fe;return Fe=e,Eo=e&&e.type.__scopeId||null,t}function Mo(e,t=Fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&di(-1);const i=Qn(t);let o;try{o=e(...s)}finally{Qn(i),r._d&&di(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ro(e,t){if(Fe===null)return e;const n=Ar(Fe),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,l,a=ee]=t[s];i&&(U(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 Ot(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 ac=Symbol("_vte"),Po=e=>e.__isTeleport,vt=Symbol("_leaveCb"),Nn=Symbol("_enterCb");function cc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lt(()=>{e.isMounted=!0}),Vo(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],Io={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},jo=e=>{const t=e.subTree;return t.component?jo(t.component):t},uc={name:"BaseTransition",props:Io,setup(e,{slots:t}){const n=Jt(),r=cc();return()=>{const s=t.default&&Lo(t.default(),!0);if(!s||!s.length)return;const i=ko(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&&!Pt(a,c)&&jo(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 ko(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pe){t=n;break}}return t}const fc=uc;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:C,onAppear:T,onAfterAppear:O,onAppearCancelled:M}=t,x=String(e.key),j=Fo(n,e),$=(k,W)=>{k&&Ye(k,r,9,W)},q=(k,W)=>{const G=W[1];$(k,W),D(k)?k.every(P=>P.length<=1)&&G():k.length<=1&&G()},ae={mode:o,persisted:l,beforeEnter(k){let W=a;if(!n.isMounted)if(i)W=C||a;else return;k[vt]&&k[vt](!0);const G=j[x];G&&Pt(e,G)&&G.el[vt]&&G.el[vt](),$(W,[k])},enter(k){let W=u,G=c,P=f;if(!n.isMounted)if(i)W=T||u,G=O||c,P=M||f;else return;let Y=!1;const L=k[Nn]=te=>{Y||(Y=!0,te?$(P,[k]):$(G,[k]),ae.delayedLeave&&ae.delayedLeave(),k[Nn]=void 0)};W?q(W,[k,L]):L()},leave(k,W){const G=String(e.key);if(k[Nn]&&k[Nn](!0),n.isUnmounting)return W();$(h,[k]);let P=!1;const Y=k[vt]=L=>{P||(P=!0,W(),L?$(y,[k]):$(g,[k]),k[vt]=void 0,j[G]===e&&delete j[G])};j[G]=e,m?q(m,[k,Y]):Y()},clone(k){const W=is(k,t,n,r,s);return s&&s(W),W}};return ae}function Vr(e){if(_r(e))return e=_t(e),e.children=null,e}function ri(e){if(!_r(e))return Po(e.type)&&e.children?ko(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&&U(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===Ce?(o.patchFlag&128&&s++,r=r.concat(Lo(o.children,t,l))):(t||o.type!==Pe)&&r.push(l!=null?_t(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 Tn(e,t){return U(e)?me({name:e.name},t,{setup:e}):e}function No(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function er(e,t,n,r,s=!1){if(D(e)){e.forEach((g,y)=>er(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&&er(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===ee?l.refs={}:l.refs,f=l.setupState,h=X(f),m=f===ee?()=>!1:g=>ne(h,g);if(u!=null&&u!==a&&(pe(u)?(c[u]=null,m(u)&&(f[u]=null)):be(u)&&(u.value=null)),U(a))On(a,l,12,[o,c]);else{const g=pe(a),y=be(a);if(g||y){const C=()=>{if(e.f){const T=g?m(a)?f[a]:c[a]:a.value;s?D(T)&&Os(T,i):D(T)?T.includes(i)||T.push(i):g?(c[a]=[i],m(a)&&(f[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else g?(c[a]=o,m(a)&&(f[a]=o)):y&&(a.value=o,e.k&&(c[e.k]=o))};o?(C.id=-1,Ve(C,n)):C()}}}hr().requestIdleCallback;hr().cancelIdleCallback;const on=e=>!!e.type.__asyncLoader,_r=e=>e.type.__isKeepAlive;function dc(e,t){Do(e,"a",t)}function pc(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)&&hc(r,t,n,s),s=s.parent}}function hc(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=Cn(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)},mc=ht("bm"),Lt=ht("m"),gc=ht("bu"),vc=ht("u"),Vo=ht("bum"),Sr=ht("um"),yc=ht("sp"),bc=ht("rtg"),xc=ht("rtc");function _c(e,t=Se){wr("ec",e,t)}const wc=Symbol.for("v-ndc");function si(e,t,n,r){let s;const i=n,o=D(e);if(o||pe(e)){const l=o&&zt(e);let a=!1,u=!1;l&&(a=!We(e),u=xt(e),e=vr(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(a?u?Jn(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(le(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=me(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=>Uo(e),$forceUpdate:e=>e.f||(e.f=()=>{Is(e.update)}),$nextTick:e=>e.n||(e.n=xr.bind(e.proxy)),$watch:e=>Gc.bind(e)}),$r=(e,t)=>e!==ee&&!e.__isScriptSetup&&ne(e,t),Sc={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($r(r,t))return o[t]=1,r[t];if(s!==ee&&ne(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&ne(u,t))return o[t]=3,i[t];if(n!==ee&&ne(n,t))return o[t]=4,n[t];ls&&(o[t]=0)}}const c=ln[t];let f,h;if(c)return t==="$attrs"&&Te(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ee&&ne(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ne(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return $r(s,t)?(s[t]=n,!0):r!==ee&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&ne(e,o)||$r(t,o)||(l=i[0])&&ne(l,o)||ne(r,o)||ne(ln,o)||ne(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $o(){return Oc().slots}function Oc(){const e=Jt();return e.setupContext||(e.setupContext=cl(e))}function tr(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Tc(e,t){return!e||!t?e||t:D(e)&&D(t)?e.concat(t):me({},tr(e),tr(t))}let ls=!0;function Cc(e){const t=Uo(e),n=e.proxy,r=e.ctx;ls=!1,t.beforeCreate&&ii(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:g,activated:y,deactivated:C,beforeDestroy:T,beforeUnmount:O,destroyed:M,unmounted:x,render:j,renderTracked:$,renderTriggered:q,errorCaptured:ae,serverPrefetch:k,expose:W,inheritAttrs:G,components:P,directives:Y,filters:L}=t;if(u&&Ac(u,r,null),o)for(const fe in o){const se=o[fe];U(se)&&(r[fe]=se.bind(n))}if(s){const fe=s.call(n,n);le(fe)&&(e.data=Nt(fe))}if(ls=!0,i)for(const fe in i){const se=i[fe],st=U(se)?se.bind(n,n):U(se.get)?se.get.bind(n,n):nt,Vt=!U(se)&&U(se.set)?se.set.bind(n):nt,Ae=oe({get:st,set:Vt});Object.defineProperty(r,fe,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Le=>Ae.value=Le})}if(l)for(const fe in l)Ho(l[fe],r,n,fe);if(a){const fe=U(a)?a.call(n):a;Reflect.ownKeys(fe).forEach(se=>{jc(se,fe[se])})}c&&ii(c,e,"c");function Z(fe,se){D(se)?se.forEach(st=>fe(st.bind(n))):se&&fe(se.bind(n))}if(Z(mc,f),Z(Lt,h),Z(gc,m),Z(vc,g),Z(dc,y),Z(pc,C),Z(_c,ae),Z(xc,$),Z(bc,q),Z(Vo,O),Z(Sr,x),Z(yc,k),D(W))if(W.length){const fe=e.exposed||(e.exposed={});W.forEach(se=>{Object.defineProperty(fe,se,{get:()=>n[se],set:st=>n[se]=st})})}else e.exposed||(e.exposed={});j&&e.render===nt&&(e.render=j),G!=null&&(e.inheritAttrs=G),P&&(e.components=P),Y&&(e.directives=Y),k&&No(e)}function Ac(e,t,n=nt){D(e)&&(e=as(e));for(const r in e){const s=e[r];let i;le(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 ii(e,t,n){Ye(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ho(e,t,n,r){let s=r.includes(".")?tl(n,r):()=>n[r];if(pe(e)){const i=t[e];U(i)&&de(s,i)}else if(U(e))de(s,e.bind(n));else if(le(e))if(D(e))e.forEach(i=>Ho(i,t,n,r));else{const i=U(e.handler)?e.handler.bind(n):t[e.handler];U(i)&&de(s,i,e)}}function Uo(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=>nr(a,u,o,!0)),nr(a,t,o)),le(t)&&i.set(t,a),a}function nr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&nr(e,i,n,!0),s&&s.forEach(o=>nr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Ec[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ec={data:oi,props:li,emits:li,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:Rc,provide:oi,inject:Mc};function oi(e,t){return t?e?function(){return me(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function Mc(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?me(Object.create(null),e,t):t}function li(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:me(Object.create(null),tr(e),tr(t??{})):t}function Rc(e,t){if(!e)return t;if(!t)return e;const n=me(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:fa,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 Pc=0;function Ic(e,t){return function(r,s=null){U(r)||(r=me({},r)),s!=null&&!le(s)&&(s=null);const i=Bo(),o=new WeakSet,l=[];let a=!1;const u=i.app={_uid:Pc++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:mu,get config(){return i.config},set config(c){},use(c,...f){return o.has(c)||(c&&U(c.install)?(o.add(c),c.install(u,...f)):U(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=Ft;Ft=u;try{return c()}finally{Ft=f}}};return u}}let Ft=null;function jc(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||Fe;if(r||Ft){const s=Ft?Ft._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&&U(t)?t.call(r&&r.proxy):t}}function Wo(){return!!(Se||Fe||Ft)}const zo={},Ko=()=>Object.create(zo),qo=e=>Object.getPrototypeOf(e)===zo;function kc(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:Ka(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Fc(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(ne(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||!ne(t,f)&&((c=St(f))===f||!ne(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||!ne(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&&ne(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||ee;for(let c=0;c<i.length;c++){const f=i[c];n[f]=cs(s,a,f,u[f],e,!ne(u,f))}}return o}function cs(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&U(a)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=Cn(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===St(n))&&(r=!0))}return r}const Lc=new WeakMap;function Yo(e,t,n=!1){const r=n?Lc:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let a=!1;if(!U(e)){const c=f=>{a=!0;const[h,m]=Yo(f,t,!0);me(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 le(e)&&r.set(e,Ut),Ut;if(D(i))for(let c=0;c<i.length;c++){const f=ft(i[c]);ai(f)&&(o[f]=ee)}else if(i)for(const c in i){const f=ft(c);if(ai(f)){const h=i[c],m=o[f]=D(h)||U(h)?{type:h}:me({},h),g=m.type;let y=!1,C=!0;if(D(g))for(let T=0;T<g.length;++T){const O=g[T],M=U(O)&&O.name;if(M==="Boolean"){y=!0;break}else M==="String"&&(C=!1)}else y=U(g)&&g.name==="Boolean";m[0]=y,m[1]=C,(y||ne(m,"default"))&&l.push(f)}}const u=[o,l];return le(e)&&r.set(e,u),u}function ai(e){return e[0]!=="$"&&!nn(e)}const js=e=>e[0]==="_"||e==="$stable",ks=e=>D(e)?e.map(tt):[tt(e)],Nc=(e,t,n)=>{if(t._n)return t;const r=Mo((...s)=>ks(t(...s)),n);return r._c=!1,r},Jo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(js(s))continue;const i=e[s];if(U(i))t[s]=Nc(s,i,r);else if(i!=null){const o=ks(i);t[s]=()=>o}}},Zo=(e,t)=>{const n=ks(t);e.slots.default=()=>n},Xo=(e,t,n)=>{for(const r in t)(n||!js(r))&&(e[r]=t[r])},Dc=(e,t,n)=>{const r=e.slots=Ko();if(e.vnode.shapeFlag&32){const s=t._;s?(Xo(r,t,n),n&&to(r,"_",s,!0)):Jo(t,r)}else t&&Zo(e,t)},Vc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Xo(s,t,n):(i=!t.$stable,Jo(t,s)),o=t}else t&&(Zo(e,t),o={default:1});if(i)for(const l in s)!js(l)&&o[l]==null&&delete s[l]},Ve=tu;function $c(e){return Hc(e)}function Hc(e,t){const n=hr();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=nt,insertStaticContent:g}=e,y=(d,p,v,w=null,b=null,_=null,R=void 0,E=null,A=!!p.dynamicChildren)=>{if(d===p)return;d&&!Pt(d,p)&&(w=V(d),Le(d,b,_,!0),d=null),p.patchFlag===-2&&(A=!1,p.dynamicChildren=null);const{type:S,ref:N,shapeFlag:I}=p;switch(S){case Cr:C(d,p,v,w);break;case Pe:T(d,p,v,w);break;case Ur:d==null&&O(p,v,w,R);break;case Ce:P(d,p,v,w,b,_,R,E,A);break;default:I&1?j(d,p,v,w,b,_,R,E,A):I&6?Y(d,p,v,w,b,_,R,E,A):(I&64||I&128)&&S.process(d,p,v,w,b,_,R,E,A,ze)}N!=null&&b&&er(N,d&&d.ref,_,p||d,!p)},C=(d,p,v,w)=>{if(d==null)r(p.el=l(p.children),v,w);else{const b=p.el=d.el;p.children!==d.children&&u(b,p.children)}},T=(d,p,v,w)=>{d==null?r(p.el=a(p.children||""),v,w):p.el=d.el},O=(d,p,v,w)=>{[d.el,d.anchor]=g(d.children,p,v,w,d.el,d.anchor)},M=({el:d,anchor:p},v,w)=>{let b;for(;d&&d!==p;)b=h(d),r(d,v,w),d=b;r(p,v,w)},x=({el:d,anchor:p})=>{let v;for(;d&&d!==p;)v=h(d),s(d),d=v;s(p)},j=(d,p,v,w,b,_,R,E,A)=>{p.type==="svg"?R="svg":p.type==="math"&&(R="mathml"),d==null?$(p,v,w,b,_,R,E,A):k(d,p,b,_,R,E,A)},$=(d,p,v,w,b,_,R,E)=>{let A,S;const{props:N,shapeFlag:I,transition:F,dirs:H}=d;if(A=d.el=o(d.type,_,N&&N.is,N),I&8?c(A,d.children):I&16&&ae(d.children,A,null,w,b,Hr(d,_),R,E),H&&Ot(d,null,w,"created"),q(A,d,d.scopeId,R,w),N){for(const ce in N)ce!=="value"&&!nn(ce)&&i(A,ce,null,N[ce],_,w);"value"in N&&i(A,"value",null,N.value,_),(S=N.onVnodeBeforeMount)&&Qe(S,w,d)}H&&Ot(d,null,w,"beforeMount");const Q=Uc(b,F);Q&&F.beforeEnter(A),r(A,p,v),((S=N&&N.onVnodeMounted)||Q||H)&&Ve(()=>{S&&Qe(S,w,d),Q&&F.enter(A),H&&Ot(d,null,w,"mounted")},b)},q=(d,p,v,w,b)=>{if(v&&m(d,v),w)for(let _=0;_<w.length;_++)m(d,w[_]);if(b){let _=b.subTree;if(p===_||sl(_.type)&&(_.ssContent===p||_.ssFallback===p)){const R=b.vnode;q(d,R,R.scopeId,R.slotScopeIds,b.parent)}}},ae=(d,p,v,w,b,_,R,E,A=0)=>{for(let S=A;S<d.length;S++){const N=d[S]=E?yt(d[S]):tt(d[S]);y(null,N,p,v,w,b,_,R,E)}},k=(d,p,v,w,b,_,R)=>{const E=p.el=d.el;let{patchFlag:A,dynamicChildren:S,dirs:N}=p;A|=d.patchFlag&16;const I=d.props||ee,F=p.props||ee;let H;if(v&&Tt(v,!1),(H=F.onVnodeBeforeUpdate)&&Qe(H,v,p,d),N&&Ot(p,d,v,"beforeUpdate"),v&&Tt(v,!0),(I.innerHTML&&F.innerHTML==null||I.textContent&&F.textContent==null)&&c(E,""),S?W(d.dynamicChildren,S,E,v,w,Hr(p,b),_):R||se(d,p,E,null,v,w,Hr(p,b),_,!1),A>0){if(A&16)G(E,I,F,v,b);else if(A&2&&I.class!==F.class&&i(E,"class",null,F.class,b),A&4&&i(E,"style",I.style,F.style,b),A&8){const Q=p.dynamicProps;for(let ce=0;ce<Q.length;ce++){const re=Q[ce],Ne=I[re],Ie=F[re];(Ie!==Ne||re==="value")&&i(E,re,Ne,Ie,b,v)}}A&1&&d.children!==p.children&&c(E,p.children)}else!R&&S==null&&G(E,I,F,v,b);((H=F.onVnodeUpdated)||N)&&Ve(()=>{H&&Qe(H,v,p,d),N&&Ot(p,d,v,"updated")},w)},W=(d,p,v,w,b,_,R)=>{for(let E=0;E<p.length;E++){const A=d[E],S=p[E],N=A.el&&(A.type===Ce||!Pt(A,S)||A.shapeFlag&70)?f(A.el):v;y(A,S,N,null,w,b,_,R,!0)}},G=(d,p,v,w,b)=>{if(p!==v){if(p!==ee)for(const _ in p)!nn(_)&&!(_ in v)&&i(d,_,p[_],null,b,w);for(const _ in v){if(nn(_))continue;const R=v[_],E=p[_];R!==E&&_!=="value"&&i(d,_,E,R,b,w)}"value"in v&&i(d,"value",p.value,v.value,b)}},P=(d,p,v,w,b,_,R,E,A)=>{const S=p.el=d?d.el:l(""),N=p.anchor=d?d.anchor:l("");let{patchFlag:I,dynamicChildren:F,slotScopeIds:H}=p;H&&(E=E?E.concat(H):H),d==null?(r(S,v,w),r(N,v,w),ae(p.children||[],v,N,b,_,R,E,A)):I>0&&I&64&&F&&d.dynamicChildren?(W(d.dynamicChildren,F,v,b,_,R,E),(p.key!=null||b&&p===b.subTree)&&Qo(d,p,!0)):se(d,p,v,N,b,_,R,E,A)},Y=(d,p,v,w,b,_,R,E,A)=>{p.slotScopeIds=E,d==null?p.shapeFlag&512?b.ctx.activate(p,v,w,R,A):L(p,v,w,b,_,R,A):te(d,p,A)},L=(d,p,v,w,b,_,R)=>{const E=d.component=uu(d,w,b);if(_r(d)&&(E.ctx.renderer=ze),fu(E,!1,R),E.asyncDep){if(b&&b.registerDep(E,Z,R),!d.el){const A=E.subTree=ye(Pe);T(null,A,p,v)}}else Z(E,d,p,v,b,_,R)},te=(d,p,v)=>{const w=p.component=d.component;if(Qc(d,p,v))if(w.asyncDep&&!w.asyncResolved){fe(w,p,v);return}else w.next=p,w.update();else p.el=d.el,w.vnode=p},Z=(d,p,v,w,b,_,R)=>{const E=()=>{if(d.isMounted){let{next:I,bu:F,u:H,parent:Q,vnode:ce}=d;{const Ze=el(d);if(Ze){I&&(I.el=ce.el,fe(d,I,R)),Ze.asyncDep.then(()=>{d.isUnmounted||E()});return}}let re=I,Ne;Tt(d,!1),I?(I.el=ce.el,fe(d,I,R)):I=ce,F&&Un(F),(Ne=I.props&&I.props.onVnodeBeforeUpdate)&&Qe(Ne,Q,I,ce),Tt(d,!0);const Ie=ui(d),Je=d.subTree;d.subTree=Ie,y(Je,Ie,f(Je.el),V(Je),d,b,_),I.el=Ie.el,re===null&&eu(d,Ie.el),H&&Ve(H,b),(Ne=I.props&&I.props.onVnodeUpdated)&&Ve(()=>Qe(Ne,Q,I,ce),b)}else{let I;const{el:F,props:H}=p,{bm:Q,m:ce,parent:re,root:Ne,type:Ie}=d,Je=on(p);Tt(d,!1),Q&&Un(Q),!Je&&(I=H&&H.onVnodeBeforeMount)&&Qe(I,re,p),Tt(d,!0);{Ne.ce&&Ne.ce._injectChildStyle(Ie);const Ze=d.subTree=ui(d);y(null,Ze,v,w,d,b,_),p.el=Ze.el}if(ce&&Ve(ce,b),!Je&&(I=H&&H.onVnodeMounted)){const Ze=p;Ve(()=>Qe(I,re,Ze),b)}(p.shapeFlag&256||re&&on(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Ve(d.a,b),d.isMounted=!0,p=v=w=null}};d.scope.on();const A=d.effect=new oo(E);d.scope.off();const S=d.update=A.run.bind(A),N=d.job=A.runIfDirty.bind(A);N.i=d,N.id=d.uid,A.scheduler=()=>Is(N),Tt(d,!0),S()},fe=(d,p,v)=>{p.component=d;const w=d.vnode.props;d.vnode=p,d.next=null,Fc(d,p.props,w,v),Vc(d,p.children,v),dt(),ni(d),pt()},se=(d,p,v,w,b,_,R,E,A=!1)=>{const S=d&&d.children,N=d?d.shapeFlag:0,I=p.children,{patchFlag:F,shapeFlag:H}=p;if(F>0){if(F&128){Vt(S,I,v,w,b,_,R,E,A);return}else if(F&256){st(S,I,v,w,b,_,R,E,A);return}}H&8?(N&16&&ie(S,b,_),I!==S&&c(v,I)):N&16?H&16?Vt(S,I,v,w,b,_,R,E,A):ie(S,b,_,!0):(N&8&&c(v,""),H&16&&ae(I,v,w,b,_,R,E,A))},st=(d,p,v,w,b,_,R,E,A)=>{d=d||Ut,p=p||Ut;const S=d.length,N=p.length,I=Math.min(S,N);let F;for(F=0;F<I;F++){const H=p[F]=A?yt(p[F]):tt(p[F]);y(d[F],H,v,null,b,_,R,E,A)}S>N?ie(d,b,_,!0,!1,I):ae(p,v,w,b,_,R,E,A,I)},Vt=(d,p,v,w,b,_,R,E,A)=>{let S=0;const N=p.length;let I=d.length-1,F=N-1;for(;S<=I&&S<=F;){const H=d[S],Q=p[S]=A?yt(p[S]):tt(p[S]);if(Pt(H,Q))y(H,Q,v,null,b,_,R,E,A);else break;S++}for(;S<=I&&S<=F;){const H=d[I],Q=p[F]=A?yt(p[F]):tt(p[F]);if(Pt(H,Q))y(H,Q,v,null,b,_,R,E,A);else break;I--,F--}if(S>I){if(S<=F){const H=F+1,Q=H<N?p[H].el:w;for(;S<=F;)y(null,p[S]=A?yt(p[S]):tt(p[S]),v,Q,b,_,R,E,A),S++}}else if(S>F)for(;S<=I;)Le(d[S],b,_,!0),S++;else{const H=S,Q=S,ce=new Map;for(S=Q;S<=F;S++){const De=p[S]=A?yt(p[S]):tt(p[S]);De.key!=null&&ce.set(De.key,S)}let re,Ne=0;const Ie=F-Q+1;let Je=!1,Ze=0;const Zt=new Array(Ie);for(S=0;S<Ie;S++)Zt[S]=0;for(S=H;S<=I;S++){const De=d[S];if(Ne>=Ie){Le(De,b,_,!0);continue}let Xe;if(De.key!=null)Xe=ce.get(De.key);else for(re=Q;re<=F;re++)if(Zt[re-Q]===0&&Pt(De,p[re])){Xe=re;break}Xe===void 0?Le(De,b,_,!0):(Zt[Xe-Q]=S+1,Xe>=Ze?Ze=Xe:Je=!0,y(De,p[Xe],v,null,b,_,R,E,A),Ne++)}const Js=Je?Bc(Zt):Ut;for(re=Js.length-1,S=Ie-1;S>=0;S--){const De=Q+S,Xe=p[De],Zs=De+1<N?p[De+1].el:w;Zt[S]===0?y(null,Xe,v,Zs,b,_,R,E,A):Je&&(re<0||S!==Js[re]?Ae(Xe,v,Zs,2):re--)}}},Ae=(d,p,v,w,b=null)=>{const{el:_,type:R,transition:E,children:A,shapeFlag:S}=d;if(S&6){Ae(d.component.subTree,p,v,w);return}if(S&128){d.suspense.move(p,v,w);return}if(S&64){R.move(d,p,v,ze);return}if(R===Ce){r(_,p,v);for(let I=0;I<A.length;I++)Ae(A[I],p,v,w);r(d.anchor,p,v);return}if(R===Ur){M(d,p,v);return}if(w!==2&&S&1&&E)if(w===0)E.beforeEnter(_),r(_,p,v),Ve(()=>E.enter(_),b);else{const{leave:I,delayLeave:F,afterLeave:H}=E,Q=()=>{d.ctx.isUnmounted?s(_):r(_,p,v)},ce=()=>{I(_,()=>{Q(),H&&H()})};F?F(_,Q,ce):ce()}else r(_,p,v)},Le=(d,p,v,w=!1,b=!1)=>{const{type:_,props:R,ref:E,children:A,dynamicChildren:S,shapeFlag:N,patchFlag:I,dirs:F,cacheIndex:H}=d;if(I===-2&&(b=!1),E!=null&&(dt(),er(E,null,v,d,!0),pt()),H!=null&&(p.renderCache[H]=void 0),N&256){p.ctx.deactivate(d);return}const Q=N&1&&F,ce=!on(d);let re;if(ce&&(re=R&&R.onVnodeBeforeUnmount)&&Qe(re,p,d),N&6)Ir(d.component,v,w);else{if(N&128){d.suspense.unmount(v,w);return}Q&&Ot(d,null,p,"beforeUnmount"),N&64?d.type.remove(d,p,v,ze,w):S&&!S.hasOnce&&(_!==Ce||I>0&&I&64)?ie(S,p,v,!1,!0):(_===Ce&&I&384||!b&&N&16)&&ie(A,p,v),w&&In(d)}(ce&&(re=R&&R.onVnodeUnmounted)||Q)&&Ve(()=>{re&&Qe(re,p,d),Q&&Ot(d,null,p,"unmounted")},v)},In=d=>{const{type:p,el:v,anchor:w,transition:b}=d;if(p===Ce){Pr(v,w);return}if(p===Ur){x(d);return}const _=()=>{s(v),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:R,delayLeave:E}=b,A=()=>R(v,_);E?E(d.el,_,A):A()}else _()},Pr=(d,p)=>{let v;for(;d!==p;)v=h(d),s(d),d=v;s(p)},Ir=(d,p,v)=>{const{bum:w,scope:b,job:_,subTree:R,um:E,m:A,a:S,parent:N,slots:{__:I}}=d;ci(A),ci(S),w&&Un(w),N&&D(I)&&I.forEach(F=>{N.renderCache[F]=void 0}),b.stop(),_&&(_.flags|=8,Le(R,d,p,v)),E&&Ve(E,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())},ie=(d,p,v,w=!1,b=!1,_=0)=>{for(let R=_;R<d.length;R++)Le(d[R],p,v,w,b)},V=d=>{if(d.shapeFlag&6)return V(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),v=p&&p[ac];return v?h(v):p};let J=!1;const Ee=(d,p,v)=>{d==null?p._vnode&&Le(p._vnode,null,null,!0):y(p._vnode||null,d,p,null,null,null,v),p._vnode=d,J||(J=!0,ni(),Co(),J=!1)},ze={p:y,um:Le,m:Ae,r:In,mt:L,mc:ae,pc:se,pbc:W,n:V,o:e};return{render:Ee,hydrate:void 0,createApp:Ic(Ee)}}function Hr({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 Tt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Uc(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 Bc(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 ci(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Wc=Symbol.for("v-scx"),zc=()=>qt(Wc);function Kc(e,t){return Or(e,null,t)}function qc(e,t){return Or(e,null,{flush:"sync"})}function de(e,t,n){return Or(e,t,n)}function Or(e,t,n=ee){const{immediate:r,deep:s,flush:i,once:o}=n,l=me({},n),a=t&&r||!t&&i!=="post";let u;if(yn){if(i==="sync"){const m=zc();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=nt,m.resume=nt,m.pause=nt,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=sc(e,t,l);return yn&&(u?u.push(h):a&&h()),h}function Gc(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?tl(r,e):()=>r[e]:e.bind(r,r);let i;U(t)?i=t:(i=t.handler,n=t);const o=Cn(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 Yc(e,t,n=ee){const r=Jt(),s=ft(t),i=St(t),o=nl(e,s),l=So((a,u)=>{let c,f=ee,h;return qc(()=>{const m=e[s];ke(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(!ke(g,c)&&!(f!==ee&&ke(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),ke(m,g)&&ke(m,f)&&!ke(g,h)&&u(),f=m,h=g}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ee: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[`${St(t)}Modifiers`];function Jc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let s=n;const i=t.startsWith("update:"),o=i&&nl(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>pe(c)?c.trim():c)),o.number&&(s=n.map(Gn)));let l,a=r[l=kr(t)]||r[l=kr(ft(t))];!a&&i&&(a=r[l=kr(St(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(!U(e)){const a=u=>{const c=rl(u,t,!0);c&&(l=!0,me(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(le(e)&&r.set(e,null),null):(D(i)?i.forEach(a=>o[a]=null):me(o,i),le(e)&&r.set(e,o),o)}function Tr(e,t){return!e||!fr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,St(t))||ne(e,t))}function ui(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:u,renderCache:c,props:f,data:h,setupState:m,ctx:g,inheritAttrs:y}=e,C=Qn(e);let T,O;try{if(n.shapeFlag&4){const x=s||r,j=x;T=tt(u.call(j,x,c,f,m,h,g)),O=l}else{const x=t;T=tt(x.length>1?x(f,{attrs:l,slots:o,emit:a}):x(f,null)),O=t.props?l:Zc(l)}}catch(x){an.length=0,br(x,e,1),T=ye(Pe)}let M=T;if(O&&y!==!1){const x=Object.keys(O),{shapeFlag:j}=M;x.length&&j&7&&(i&&x.some(Ss)&&(O=Xc(O,i)),M=_t(M,O,!1,!0))}return n.dirs&&(M=_t(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&gn(M,n.transition),T=M,Qn(C),T}const Zc=e=>{let t;for(const n in e)(n==="class"||n==="style"||fr(n))&&((t||(t={}))[n]=e[n]);return t},Xc=(e,t)=>{const n={};for(const r in e)(!Ss(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Qc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?fi(r,o,u):!!o;if(a&8){const c=t.dynamicProps;for(let f=0;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?fi(r,o,u):!0:!!o;return!1}function fi(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 eu({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 tu(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):lc(e)}const Ce=Symbol.for("v-fgt"),Cr=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),Ur=Symbol.for("v-stc"),an=[];let $e=null;function ge(e=!1){an.push($e=e?null:[])}function nu(){an.pop(),$e=an[an.length-1]||null}let vn=1;function di(e,t=!1){vn+=e,e<0&&$e&&t&&($e.hasOnce=!0)}function il(e){return e.dynamicChildren=vn>0?$e||Ut:null,nu(),vn>0&&$e&&$e.push(e),e}function xe(e,t,n,r,s,i){return il(K(e,t,n,r,s,i,!0))}function ru(e,t,n,r,s){return il(ye(e,t,n,r,s,!0))}function rr(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const ol=({key:e})=>e??null,Bn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||be(e)||U(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function K(e,t=null,n=null,r=0,s=null,i=e===Ce?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&Bn(t),scopeId:Eo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Fe};return l?(Fs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=pe(n)?8:16),vn>0&&!o&&$e&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&$e.push(a),a}const ye=su;function su(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===wc)&&(e=Pe),rr(e)){const l=_t(e,t,!0);return n&&Fs(l,n),vn>0&&!i&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag=-2,l}if(hu(e)&&(e=e.__vccOpts),t){t=iu(t);let{class:l,style:a}=t;l&&!pe(l)&&(t.class=Wt(l)),le(a)&&(Ps(a)&&!D(a)&&(a=me({},a)),t.style=Sn(a))}const o=pe(e)?1:sl(e)?128:Po(e)?64:le(e)?4:U(e)?2:0;return K(e,t,n,r,s,o,i,!0)}function iu(e){return e?Ps(e)||qo(e)?me({},e):e:null}function _t(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,u=t?lu(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(Bn(t)):[i,Bn(t)]:Bn(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!==Ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&gn(c,a.clone(c)),c}function tn(e=" ",t=0){return ye(Cr,null,e,t)}function ou(e="",t=!1){return t?(ge(),ru(Pe,null,e)):ye(Pe,null,e)}function tt(e){return e==null||typeof e=="boolean"?ye(Pe):D(e)?ye(Ce,null,e.slice()):rr(e)?yt(e):ye(Cr,null,String(e))}function yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Fs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Fs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!qo(t)?t._ctx=Fe:s===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),r&64?(n=16,t=[tn(t)]):n=8);e.children=t,e.shapeFlag|=n}function lu(...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=Wt([t.class,r.class]));else if(s==="style")t.style=Sn([t.style,r.style]);else if(fr(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 Qe(e,t,n,r=null){Ye(e,t,7,[n,r])}const au=Bo();let cu=0;function uu(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||au,i={uid:cu++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ta(!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:Yo(r,s),emitsOptions:rl(r,s),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:r.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,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=Jc.bind(null,i),e.ce&&e.ce(i),i}let Se=null;const Jt=()=>Se||Fe;let sr,us;{const e=hr(),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)}};sr=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),us=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Cn=e=>{const t=Se;return sr(e),e.scope.on(),()=>{e.scope.off(),sr(t)}},pi=()=>{Se&&Se.scope.off(),sr(null)};function ll(e){return e.vnode.shapeFlag&4}let yn=!1;function fu(e,t=!1,n=!1){t&&us(t);const{props:r,children:s}=e.vnode,i=ll(e);kc(e,r,i,t),Dc(e,s,n||t);const o=i?du(e,t):void 0;return t&&us(!1),o}function du(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sc);const{setup:r}=n;if(r){dt();const s=e.setupContext=r.length>1?cl(e):null,i=Cn(e),o=On(r,e,0,[e.props,s]),l=Zi(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){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:le(t)&&(e.setupState=wo(t)),al(e)}function al(e,t,n){const r=e.type;e.render||(e.render=r.render||nt);{const s=Cn(e);dt();try{Cc(e)}finally{pt(),s()}}}const pu={get(e,t){return Te(e,"get",""),e[t]}};function cl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pu),slots:e.slots,emit:e.emit,expose:t}}function Ar(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(qa(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 hu(e){return U(e)&&"__vccOpts"in e}const oe=(e,t)=>nc(e,t,yn);function Ls(e,t,n){const r=arguments.length;return r===2?le(t)&&!D(t)?rr(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),ye(e,t,n))}const mu="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,gu="http://www.w3.org/2000/svg",vu="http://www.w3.org/1998/Math/MathML",lt=typeof document<"u"?document:null,gi=lt&&lt.createElement("template"),yu={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(gu,e):t==="mathml"?lt.createElementNS(vu,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},bu=me({},Io,fl),xu=e=>(e.displayName="Transition",e.props=bu,e),_u=xu((e,{slots:t})=>Ls(fc,wu(e),t)),Ct=(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 wu(e){const t={};for(const P in e)P in fl||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:u=o,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=Su(s),y=g&&g[0],C=g&&g[1],{onBeforeEnter:T,onEnter:O,onEnterCancelled:M,onLeave:x,onLeaveCancelled:j,onBeforeAppear:$=T,onAppear:q=O,onAppearCancelled:ae=M}=t,k=(P,Y,L,te)=>{P._enterCancelled=te,At(P,Y?c:l),At(P,Y?u:o),L&&L()},W=(P,Y)=>{P._isLeaving=!1,At(P,f),At(P,m),At(P,h),Y&&Y()},G=P=>(Y,L)=>{const te=P?q:O,Z=()=>k(Y,P,L);Ct(te,[Y,Z]),yi(()=>{At(Y,P?a:i),ot(Y,P?c:l),vi(te)||bi(Y,r,y,Z)})};return me(t,{onBeforeEnter(P){Ct(T,[P]),ot(P,i),ot(P,o)},onBeforeAppear(P){Ct($,[P]),ot(P,a),ot(P,u)},onEnter:G(!1),onAppear:G(!0),onLeave(P,Y){P._isLeaving=!0;const L=()=>W(P,Y);ot(P,f),P._enterCancelled?(ot(P,h),wi()):(wi(),ot(P,h)),yi(()=>{P._isLeaving&&(At(P,f),ot(P,m),vi(x)||bi(P,r,C,L))}),Ct(x,[P,L])},onEnterCancelled(P){k(P,!1,void 0,!0),Ct(M,[P])},onAppearCancelled(P){k(P,!0,void 0,!0),Ct(ae,[P])},onLeaveCancelled(P){W(P),Ct(j,[P])}})}function Su(e){if(e==null)return null;if(le(e))return[Br(e.enter),Br(e.leave)];{const t=Br(e);return[t,t]}}function Br(e){return ga(e)}function ot(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[bn]||(e[bn]=new Set)).add(t)}function At(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 Ou=0;function bi(e,t,n,r){const s=e._endId=++Ou,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=Tu(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 Tu(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 Cu(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"),Au=Symbol("_vsh"),Eu=Symbol(""),Mu=/(^|;)\s*display\s*:/;function Ru(e,t,n){const r=e.style,s=pe(n);let i=!1;if(n&&!s){if(t)if(pe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Wn(r,l,"")}else for(const o in t)n[o]==null&&Wn(r,o,"");for(const o in n)o==="display"&&(i=!0),Wn(r,o,n[o])}else if(s){if(t!==n){const o=r[Eu];o&&(n+=";"+o),r.cssText=n,i=Mu.test(n)}}else t&&e.removeAttribute("style");Si in e&&(e[Si]=i?r.display:"",e[Au]&&(r.display="none"))}const Oi=/\s*!important$/;function Wn(e,t,n){if(D(n))n.forEach(r=>Wn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Pu(e,t);Oi.test(n)?e.setProperty(St(r),n.replace(Oi,""),"important"):e[r]=n}}const Ti=["Webkit","Moz","ms"],Wr={};function Pu(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=eo(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=wa(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ci,t.slice(6,t.length)):e.setAttributeNS(Ci,t,n):n==null||i&&!no(n)?e.removeAttribute(t):e.setAttribute(t,i?"":rt(n)?String(n):n)}function Ei(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=no(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 It(e,t,n,r){e.addEventListener(t,n,r)}function Iu(e,t,n,r){e.removeEventListener(t,n,r)}const Mi=Symbol("_vei");function ju(e,t,n,r,s=null){const i=e[Mi]||(e[Mi]={}),o=i[t];if(r&&o)o.value=r;else{const[l,a]=ku(t);if(r){const u=i[t]=Nu(r,s);It(e,l,u,a)}else o&&(Iu(e,l,o,a),i[t]=void 0)}}const Ri=/(?:Once|Passive|Capture)$/;function ku(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):St(e.slice(2)),t]}let zr=0;const Fu=Promise.resolve(),Lu=()=>zr||(Fu.then(()=>zr=0),zr=Date.now());function Nu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ye(Du(r,n.value),t,5,[r])};return n.value=e,n.attached=Lu(),n}function Du(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,Vu=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?Cu(e,r,o):t==="style"?Ru(e,n,r):fr(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))?(Ei(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ai(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(r))?Ei(e,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)&&U(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Pi(t)&&pe(n)?!1:t in e}const ir=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"),Uu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Gt]=ir(s);const i=r||s.props&&s.props.type==="number";It(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Gn(l)),e[Gt](l)}),n&&It(e,"change",()=>{e.value=e.value.trim()}),t||(It(e,"compositionstart",Hu),It(e,"compositionend",Ii),It(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]=ir(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Gn(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=dr(t);It(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Gn(or(o)):or(o));e[Gt](e.multiple?s?new Set(i):i:i[0]),e._assigning=!0,xr(()=>{e._assigning=!1})}),e[Gt]=ir(r)},mounted(e,{value:t}){ji(e,t)},beforeUpdate(e,t,n){e[Gt]=ir(n)},updated(e,{value:t}){e._assigning||ji(e,t)}};function ji(e,t){const n=e.multiple,r=D(t);if(!(n&&!r&&!dr(t))){for(let s=0,i=e.options.length;s<i;s++){const o=e.options[s],l=or(o);if(n)if(r){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(u=>String(u)===String(l)):o.selected=Oa(t,l)>-1}else o.selected=t.has(l);else if(mr(or(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function or(e){return"_value"in e?e._value:e.value}const Wu=me({patchProp:Vu},yu);let ki;function zu(){return ki||(ki=$c(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;!U(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 pe(e)?document.querySelector(e):e}function An(e){return io()?(Ca(e),!0):!1}const Kr=new WeakMap,Yu=(...e)=>{var t;const n=e[0],r=(t=Jt())==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)},dl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pl=e=>e!=null,Ju=Object.prototype.toString,lr=e=>Ju.call(e)==="[object Object]",zn=()=>{};function hl(...e){if(e.length!==1)return Qa(...e);const t=e[0];return typeof t=="function"?yr(So(()=>({get:t,set:zn}))):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 ml=e=>e();function Xu(e=ml,t={}){const{initialState:n="active"}=t,r=hl(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 gl(e){return Jt()}function ef(e,t,n={}){const{eventFilter:r=ml,...s}=n;return de(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){gl()?Lt(e,n):t?e():xr(e)}function nf(e,t){gl()&&Sr(e,t)}function rf(e,t,n){return de(e,t,{...n,immediate:!0})}const wt=dl?window:void 0,Ds=dl?window.navigator:void 0;function Ge(e){var t;const n=qe(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=oe(()=>{const l=cn(qe(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=>Ge(u)))!=null?a:[wt].filter(u=>u!=null),cn(qe(s.value?e[1]:e[0])),cn(ve(s.value?e[2]:e[1])),qe(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=lr(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 An(n),o}function sf(){const e=he(!1),t=Jt();return t&&Lt(()=>{e.value=!0},t),e}function Dt(e){const t=sf();return oe(()=>(t.value,!!e()))}function of(e,t,n={}){const{window:r=wt,...s}=n;let i;const o=Dt(()=>r&&"MutationObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=oe(()=>{const h=qe(e),m=cn(h).map(Ge).filter(pl);return new Set(m)}),u=de(()=>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 An(f),{isSupported:o,stop:f,takeRecords:c}}const lf=Symbol("vueuse-ssr-width");function af(){const e=Wo()?Yu(lf,null):null;return typeof e=="number"?e:void 0}function cf(e,t={}){const{window:n=wt,ssrWidth:r=af()}=t,s=Dt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=he(typeof r=="number"),o=he(),l=he(!1),a=u=>{l.value=u.matches};return Kc(()=>{if(i.value){i.value=!s.value;const u=qe(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(qe(e)),l.value=o.value.matches)}),_e(o,"change",a,{passive:!0}),oe(()=>l.value)}function uf(e,t={}){const{controls:n=!1,navigator:r=Ds}=t,s=Dt(()=>r&&"permissions"in r),i=he(),o=typeof e=="string"?{name:e}:e,l=he(),a=()=>{var c,f;l.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};_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 Dn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vn="__vueuse_ssr_handlers__",ff=df();function df(){return Vn in Dn||(Dn[Vn]=Dn[Vn]||{}),Dn[Vn]}function vl(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=wt,eventFilter:h,onError:m=L=>{console.error(L)},initOnMounted:g}=r,y=(c?he:z)(typeof t=="function"?t():t),C=oe(()=>qe(e));if(!n)try{n=vl("getDefaultStorage",()=>{var L;return(L=wt)==null?void 0:L.localStorage})()}catch(L){m(L)}if(!n)return y;const T=qe(t),O=hf(T),M=(s=r.serializer)!=null?s:mf[O],{pause:x,resume:j}=tf(y,()=>W(y.value),{flush:i,deep:o,eventFilter:h});de(C,()=>P(),{flush:i});let $=!1;const q=L=>{g&&!$||P(L)},ae=L=>{g&&!$||Y(L)};f&&l&&(n instanceof Storage?_e(f,"storage",q,{passive:!0}):_e(f,Li,ae)),g?Ns(()=>{$=!0,P()}):P();function k(L,te){if(f){const Z={key:C.value,oldValue:L,newValue:te,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",Z):new CustomEvent(Li,{detail:Z}))}}function W(L){try{const te=n.getItem(C.value);if(L==null)k(te,null),n.removeItem(C.value);else{const Z=M.write(L);te!==Z&&(n.setItem(C.value,Z),k(te,Z))}}catch(te){m(te)}}function G(L){const te=L?L.newValue:n.getItem(C.value);if(te==null)return a&&T!=null&&n.setItem(C.value,M.write(T)),T;if(!L&&u){const Z=M.read(te);return typeof u=="function"?u(Z,T):O==="object"&&!Array.isArray(Z)?{...T,...Z}:Z}else return typeof te!="string"?te:M.read(te)}function P(L){if(!(L&&L.storageArea!==n)){if(L&&L.key==null){y.value=T;return}if(!(L&&L.key!==C.value)){x();try{(L==null?void 0:L.newValue)!==M.write(y.value)&&(y.value=G(L))}catch(te){m(te)}finally{L?xr(j):j()}}}}function Y(L){P(L.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=wt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=pf({window:s}),m=oe(()=>h.value?"dark":"light"),g=a||(o==null?hl(r):gf(o,r,i,{window:s,listenToStorageChanges:l})),y=oe(()=>g.value==="auto"?m.value:g.value),C=vl("updateHTMLAttrs",(x,j,$)=>{const q=typeof x=="string"?s==null?void 0:s.document.querySelector(x):Ge(x);if(!q)return;const ae=new Set,k=new Set;let W=null;if(j==="class"){const P=$.split(/\s/g);Object.values(f).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{P.includes(Y)?ae.add(Y):k.add(Y)})}else W={key:j,value:$};if(ae.size===0&&k.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 P of ae)q.classList.add(P);for(const P of k)q.classList.remove(P);W&&q.setAttribute(W.key,W.value),c&&(s.getComputedStyle(G).opacity,document.head.removeChild(G))});function T(x){var j;C(t,n,(j=f[x])!=null?j:x)}function O(x){e.onChanged?e.onChanged(x,T):T(x)}de(y,O,{flush:"post",immediate:!0}),Ns(()=>O(y.value));const M=oe({get(){return u?g.value:y.value},set(x){g.value=x}});return Object.assign(M,{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=oe(()=>r.system.value);return oe({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=oe(()=>i.value.filter(g=>g.kind==="videoinput")),l=oe(()=>i.value.filter(g=>g.kind==="audioinput")),a=oe(()=>i.value.filter(g=>g.kind==="audiooutput")),u=Dt(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=he(!1);let f;async function h(){u.value&&(i.value=await t.mediaDevices.enumerateDevices(),s==null||s(i.value),f&&(f.getTracks().forEach(g=>g.stop()),f=null))}async function m(){const g=r.video?"camera":"microphone";if(!u.value)return!1;if(c.value)return!0;const{state:y,query:C}=uf(g,{controls:!0});if(await C(),y.value!=="granted"){let T=!0;try{f=await t.mediaDevices.getUserMedia(r)}catch{f=null,T=!1}h(),c.value=T}else c.value=!0;return c.value}return u.value&&(n&&m(),_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=wt,...s}=n;let i;const o=Dt(()=>r&&"ResizeObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=oe(()=>{const f=qe(e);return Array.isArray(f)?f.map(h=>Ge(h)):[Ge(f)]}),u=de(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 An(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=he(0),a=he(0),u=he(0),c=he(0),f=he(0),h=he(0),m=he(0),g=he(0);function y(){const T=Ge(e);if(!T){n&&(l.value=0,a.value=0,u.value=0,c.value=0,f.value=0,h.value=0,m.value=0,g.value=0);return}const O=T.getBoundingClientRect();l.value=O.height,a.value=O.bottom,u.value=O.left,c.value=O.right,f.value=O.top,h.value=O.width,m.value=O.x,g.value=O.y}function C(){o==="sync"?y():o==="next-frame"&&requestAnimationFrame(()=>y())}return _f(e,C),de(()=>Ge(e),T=>!T&&C()),of(e,C,{attributeFilter:["style","class"]}),s&&_e("scroll",C,{capture:!0,passive:!0}),r&&_e("resize",C,{passive:!0}),Ns(()=>{i&&C()}),{height:l,bottom:a,left:u,right:c,top:f,width:h,x:m,y:g,update:C}}function Sf(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:i=0,window:o=wt,immediate:l=!0}=n,a=Dt(()=>o&&"IntersectionObserver"in o),u=oe(()=>{const g=qe(e);return cn(g).map(Ge).filter(pl)});let c=zn;const f=he(l),h=a.value?de(()=>[u.value,Ge(r),f.value],([g,y])=>{if(c(),!f.value||!g.length)return;const C=new IntersectionObserver(t,{root:Ge(y),rootMargin:s,threshold:i});g.forEach(T=>T&&C.observe(T)),c=()=>{C.disconnect(),c=zn}},{immediate:l,flush:"post"}):zn,m=()=>{c(),h(),f.value=!1};return An(m),{isSupported:a,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:m}}function Of(e={}){var t,n;const r=he((t=e.enabled)!=null?t:!1),s=he((n=e.autoSwitch)!=null?n:!0),i=z(e.constraints),{navigator:o=Ds}=e,l=Dt(()=>{var y;return(y=o==null?void 0:o.mediaDevices)==null?void 0:y.getUserMedia}),a=he();function u(y){switch(y){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function c(){if(!(!l.value||a.value))return a.value=await o.mediaDevices.getUserMedia({video:u("video"),audio:u("audio")}),a.value}function f(){var y;(y=a.value)==null||y.getTracks().forEach(C=>C.stop()),a.value=void 0}function h(){f(),r.value=!1}async function m(){return await c(),a.value&&(r.value=!0),a.value}async function g(){return f(),await m()}return de(r,y=>{y?c():f()},{immediate:!0}),de(i,()=>{s.value&&a.value&&g()},{immediate:!0}),An(()=>{h()}),{isSupported:l,stream:a,start:m,stop:h,restart:g,constraints:i,enabled:r,autoSwitch:s}}const yl=1/60*1e3,Tf=typeof performance<"u"?()=>performance.now():()=>Date.now(),bl=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Tf()),yl);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 Yt={delta:0,timestamp:0},En=["read","update","preRender","render","postRender"],Er=En.reduce((e,t)=>(e[t]=Cf(()=>xn=!0),e),{}),hs=En.reduce((e,t)=>{const n=Er[t];return e[t]=(r,s=!1,i=!1)=>(xn||Rf(),n.schedule(r,s,i)),e},{}),Ef=En.reduce((e,t)=>(e[t]=Er[t].cancel,e),{});En.reduce((e,t)=>(e[t]=()=>Er[t].process(Yt),e),{});const Mf=e=>Er[e].process(Yt),xl=e=>{xn=!1,Yt.delta=ds?yl:Math.max(Math.min(e-Yt.timestamp,Af),1),Yt.timestamp=e,ps=!0,En.forEach(Mf),ps=!1,xn&&(ds=!1,bl(xl))},Rf=()=>{xn=!0,ds=!0,ps||bl(xl)},_l=()=>Yt;function wl(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),qr=.001,Pf=.01,If=10,jf=.05,kf=1;function Ff({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=ms(jf,kf,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 qr-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)+qr>0?-1:1)*((h-m)*g)/y}):(s=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-qr+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 Di(e,t){return t.some(n=>e[n]!==void 0)}function $f(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Di(e,Vf)&&Di(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=wl(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=$f(i),m=Vi,g=Vi;function y(){const C=c?-(c/1e3):0,T=n-t,O=a/(2*Math.sqrt(l*u)),M=Math.sqrt(l/u)/1e3;if(s===void 0&&(s=Math.min(Math.abs(n-t)/100,.4)),O<1){const x=gs(M,O);m=j=>{const $=Math.exp(-O*M*j);return n-$*((C+O*M*T)/x*Math.sin(x*j)+T*Math.cos(x*j))},g=j=>{const $=Math.exp(-O*M*j);return O*M*$*(Math.sin(x*j)*(C+O*M*T)/x+T*Math.cos(x*j))-$*(Math.cos(x*j)*(C+O*M*T)-x*T*Math.sin(x*j))}}else if(O===1)m=x=>n-Math.exp(-M*x)*(T+(C+M*T)*x);else{const x=M*Math.sqrt(O*O-1);m=j=>{const $=Math.exp(-O*M*j),q=Math.min(x*j,300);return n-$*((C+O*M*T)*Math.sinh(q)+x*T*Math.cosh(q))/x}}}return y(),{next:C=>{const T=m(C);if(h)o.done=C>=f;else{const O=g(C)*1e3,M=Math.abs(O)<=r,x=Math.abs(n-T)<=s;o.done=M&&x}return o.value=o.done?n:T,o},flipTarget:()=>{c=-c,[t,n]=[n,t],y()}}}Vs.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Vi=e=>0,Sl=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},$s=(e,t,n)=>-n*e+n*t+e,Ol=(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,Hf=/^(#[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 Rn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},fn=Object.assign(Object.assign({},Rn),{transform:Ol(0,1)}),$n=Object.assign(Object.assign({},Rn),{default:1}),Hs=e=>({test:t=>Mn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Et=Hs("deg"),dn=Hs("%"),B=Hs("px"),$i=Object.assign(Object.assign({},dn),{parse:e=>dn.parse(e)/100,transform:e=>dn.transform(e*100)}),Us=(e,t)=>n=>!!(Mn(n)&&Hf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Tl=(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}},jt={test:Us("hsl","hue"),parse:Tl("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))+")"},Uf=Ol(0,255),Gr=Object.assign(Object.assign({},Rn),{transform:e=>Math.round(Uf(e))}),bt={test:Us("rgb","red"),parse:Tl("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Gr.transform(e)+", "+Gr.transform(t)+", "+Gr.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:Us("#"),parse:Bf,transform:bt.transform},je={test:e=>bt.test(e)||ys.test(e)||jt.test(e),parse:e=>bt.test(e)?bt.parse(e):jt.test(e)?jt.parse(e):ys.parse(e),transform:e=>Mn(e)?e:e.hasOwnProperty("red")?bt.transform(e):jt.transform(e)},Cl="${c}",Al="${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,Cl),t.push(...r.map(je.parse)));const s=e.match(_n);return s&&(e=e.replace(_n,Al),t.push(...s.map(Rn.parse))),{values:t,numColors:n,tokenised:e}}function Ml(e){return El(e).values}function Rl(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?Cl:Al,l<n?je.transform(i[l]):un(i[l]));return o}}const zf=e=>typeof e=="number"?0:e;function Kf(e){const t=Ml(e);return Rl(e)(t.map(zf))}const Pn={test:Wf,parse:Ml,createTransformer:Rl,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 Yf=/([a-z-]*)\(.*?\)/g,bs=Object.assign(Object.assign({},Pn),{getAnimatableNone:e=>{const t=e.match(Yf);return t?t.map(Gf).join(" "):e}});function Yr(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=Yr(a,l,e+1/3),i=Yr(a,l,e),o=Yr(a,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const Jf=(e,t,n)=>{const r=e*e,s=t*t;return Math.sqrt(Math.max(0,n*(s-r)+r))},Zf=[ys,bt,jt],Ui=e=>Zf.find(t=>t.test(e)),Pl=(e,t)=>{let n=Ui(e),r=Ui(t),s=n.parse(e),i=r.parse(t);n===jt&&(s=Hi(s),n=bt),r===jt&&(i=Hi(i),r=bt);const o=Object.assign({},s);return l=>{for(const a in o)a!=="alpha"&&(o[a]=Jf(s[a],i[a],l));return o.alpha=$s(s.alpha,i.alpha,l),n.transform(o)}},Xf=e=>typeof e=="number",Qf=(e,t)=>n=>t(e(n)),Il=(...e)=>e.reduce(Qf);function jl(e,t){return Xf(e)?n=>$s(e,t,n):je.test(e)?Pl(e,t):Fl(e,t)}const kl=(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 Bi(e){const t=Pn.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 Fl=(e,t)=>{const n=Pn.createTransformer(t),r=Bi(e),s=Bi(t);return r.numHSL===s.numHSL&&r.numRGB===s.numRGB&&r.numNumbers>=s.numNumbers?Il(kl(r.parsed,s.parsed),n):o=>`${o>0?t:e}`},td=(e,t)=>n=>$s(e,t,n);function nd(e){if(typeof e=="number")return td;if(typeof e=="string")return je.test(e)?Pl:Fl;if(Array.isArray(e))return kl;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=Il(a,l)}r.push(l)}return r}function sd([e,t],[n]){return r=>n(Sl(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=Sl(e[i],e[i+1],s);return t[i](l)}}function Ll(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 Mr=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),Nl=e=>t=>t*t*((e+1)*t-e),ld=e=>{const t=Nl(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Dl=1.525,ad=4/11,cd=8/11,ud=9/10,Vl=e=>e,Ws=od(2),fd=Mr(Ws),$l=Bs(Ws),Hl=e=>1-Math.sin(Math.acos(e)),Ul=Mr(Hl),dd=Bs(Ul),zs=Nl(Dl),pd=Mr(zs),hd=Bs(zs),md=ld(Dl),gd=4356/361,vd=35442/1805,yd=16061/1805,ar=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=Mr(ar),xd=e=>e<.5?.5*(1-ar(1-e*2)):.5*ar(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 Kn({from:e=0,to:t=1,ease:n,offset:r,duration:s=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=Sd(r&&r.length===o.length?r:wd(o),s);function a(){return Ll(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 Wi={keyframes:Kn,spring:Vs,decay:Od};function Td(e){if(Array.isArray(e.to))return Kn;if(Wi[e.type])return Wi[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Kn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Vs:Kn}function Bl(e,t,n=0){return e-t-n}function Cd(e,t,n=0,r=!0){return r?Bl(t+-e,t,n):t-(e-t)+n}function Ad(e,t,n,r){return r?e>=t+n:e<=-n}const Ed=e=>{const t=({delta:n})=>e(n);return{start:()=>hs.update(t,!0),stop:()=>Ef.update(t)}};function Wl(e){var t,n,{from:r,autoplay:s=!0,driver:i=Ed,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:m,onUpdate:g}=e,y=wl(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:C}=y,T,O=0,M=y.duration,x,j=!1,$=!0,q;const ae=Td(y);!((n=(t=ae).needsInterpolation)===null||n===void 0)&&n.call(t,r,C)&&(q=Ll([0,100],[r,C],{clamp:!1}),r=0,C=100);const k=ae(Object.assign(Object.assign({},y),{from:r,to:C}));function W(){O++,a==="reverse"?($=O%2===0,o=Cd(o,M,u,$)):(o=Bl(o,M,u),a==="mirror"&&k.flipTarget()),j=!1,m&&m()}function G(){T.stop(),h&&h()}function P(L){if($||(L=-L),o+=L,!j){const te=k.next(Math.max(0,o));x=te.value,q&&(x=q(x)),j=$?te.done:o<=0}g==null||g(x),j&&(O===0&&(M??(M=o)),O<l?Ad(o,M,u,$)&&W():G())}function Y(){c==null||c(),T=i(P),T.start()}return s&&Y(),{stop:()=>{f==null||f(),T.stop()}}}function zl(e,t){return t?e*(1e3/t):0}function Md({from:e=0,velocity:t=0,min:n,max:r,power:s=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:a=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:h,onStop:m}){let g;function y(M){return n!==void 0&&M<n||r!==void 0&&M>r}function C(M){return n===void 0?r:r===void 0||Math.abs(n-M)<Math.abs(r-M)?n:r}function T(M){g==null||g.stop(),g=Wl(Object.assign(Object.assign({},M),{driver:c,onUpdate:x=>{var j;f==null||f(x),(j=M.onUpdate)===null||j===void 0||j.call(M,x)},onComplete:h,onStop:m}))}function O(M){T(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},M))}if(y(e))O({from:e,velocity:t,to:C(e)});else{let M=s*t+e;typeof u<"u"&&(M=u(M));const x=C(M),j=x===n?-1:1;let $,q;const ae=k=>{$=q,q=k,t=zl(k-$,_l().delta),(j===1&&k>x||j===-1&&k<x)&&O({from:k,to:x,velocity:t})};T({type:"decay",from:e,velocity:t,timeConstant:i,power:s,restDelta:a,modifyTarget:u,onUpdate:y(M)?ae:void 0})}return{stop:()=>g==null?void 0:g.stop()}}const Kl=(e,t)=>1-3*t+3*e,ql=(e,t)=>3*t-6*e,Gl=e=>3*e,cr=(e,t,n)=>((Kl(t,n)*e+ql(t,n))*e+Gl(t))*e,Yl=(e,t,n)=>3*Kl(t,n)*e*e+2*ql(t,n)*e+Gl(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=cr(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Rd&&++l<Pd);return o}const jd=8,kd=.001;function Fd(e,t,n,r){for(let s=0;s<jd;++s){const i=Yl(t,n,r);if(i===0)return t;const o=cr(t,n,r)-e;t-=o/i}return t}const qn=11,Hn=1/(qn-1);function Ld(e,t,n,r){if(e===t&&n===r)return Vl;const s=new Float32Array(qn);for(let o=0;o<qn;++o)s[o]=cr(o*Hn,e,n);function i(o){let l=0,a=1;const u=qn-1;for(;a!==u&&s[a]<=o;++a)l+=Hn;--a;const c=(o-s[a])/(s[a+1]-s[a]),f=l+c*Hn,h=Yl(f,e,n);return h>=kd?Fd(o,f,e,n):h===0?f:Id(o,l,l+Hn,e,n)}return o=>o===0||o===1?o:cr(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 zi(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}=_l();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=zi(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=zi(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?zl(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:$d}=Array;function Hd(){const e=z({}),t=r=>{const s=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?$d(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 Ud(e){return Array.isArray(e)}function Mt(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Zr(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 Xr(){return{type:"keyframes",ease:"linear",duration:300}}function Wd(e){return{type:"keyframes",duration:800,values:e}}const Ki={default:Bd,x:Mt,y:Mt,z:Mt,rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scaleX:Zr,scaleY:Zr,scale:Zr,backgroundColor:Xr,color:Xr,opacity:Xr};function Jl(e,t){let n;return Ud(t)?n=Wd:n=Ki[e]||Ki.default,{to:t,...n(t)}}const qi={...Rn,transform:Math.round},Zl={color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,size:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,rotate:Et,rotateX:Et,rotateY:Et,rotateZ:Et,scale:$n,scaleX:$n,scaleY:$n,scaleZ:$n,skew:Et,skewX:Et,skewY:Et,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:fn,originX:$i,originY:$i,originZ:B,zIndex:qi,filter:bs,WebkitFilter:bs,fillOpacity:fn,strokeOpacity:fn,numOctaves:qi},Ks=e=>Zl[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=Pn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Kd={linear:Vl,easeIn:Ws,easeInOut:$l,easeOut:fd,circIn:Hl,circInOut:dd,circOut:Ul,backIn:zs,backInOut:hd,backOut:pd,anticipate:md,bounceIn:bd,bounceInOut:xd,bounceOut:ar};function Gi(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"&&Pn.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 Yd({ease:e,times:t,delay:n,...r}){const s={...r};return t&&(s.offset=t),e&&(s.ease=qd(e)?e.map(Gi):Gi(e)),n&&(s.elapsed=-n),s}function Jd(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Gd(t),Zd(e)||(e={...e,...Jl(n,t.to)}),{...t,...Yd(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"?Md({...h,...i}):Wl({...Jd(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}=Hd();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=ve(t),o=z(!1);de(n,f=>{o.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const l=f=>{if(!i||!i[f])throw new Error(`The variant ${f} does not exist.`);return i[f]},a=f=>{typeof f=="string"&&(f=l(f));const h=Object.entries(f).map(([g,y])=>{if(g!=="transition")return new Promise(C=>r(g,y,e,f.transition||Jl(g,f[g]),C))}).filter(Boolean);async function m(){var g,y;await Promise.all(h),(y=(g=f.transition)==null?void 0:g.onComplete)==null||y.call(g)}return Promise.all([m()])};return{isAnimating:o,apply:a,set:f=>{const h=lr(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=ve(n),i=z(!1),o=z(!1),l=z(!1),a=oe(()=>{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=oe(()=>{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)),de([i,o,l],()=>{r(u.value)})}function op({set:e,target:t,variants:n,variant:r}){const s=ve(n);de(()=>t,()=>{s&&(s.initial&&(e("initial"),r.value="initial"),s.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function lp({state:e,apply:t}){de(e,n=>{n&&t(n)},{immediate:!0})}function Xl({target:e,variants:t,variant:n}){const r=ve(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&&Xl(e),t.eventListeners&&ip(e)}function Ql(e={}){const t=Nt({...e}),n=z({});return de(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){de(()=>Ge(e),n=>{n&&t(n)},{immediate:!0})}const cp={x:"translateX",y:"translateY",z:"translateZ"};function ea(e={},t=!0){const n=Nt({...e}),r=z("");return de(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,B)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,a]of Object.entries(s)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const u=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"],ta=["transformPerspective","x","y","z"];fp.forEach(e=>{up.forEach(t=>{const n=e+t;ta.push(n)})});const dp=new Set(ta);function Ys(e){return dp.has(e)}const pp=new Set(["originX","originY","originZ"]);function na(e){return pp.has(e)}function hp(e){const t={},n={};return Object.entries(e).forEach(([r,s])=>{Ys(r)||na(r)?t[r]=s:n[r]=s}),{transform:t,style:n}}function Rr(e){const{transform:t,style:n}=hp(e),{transform:r}=ea(t),{style:s}=Ql(n);return r.value&&(s.value.transform=r.value),s.value}function mp(e,t){let n,r;const{state:s,style:i}=Ql();return Gs(e,o=>{r=o;for(const l of Object.keys(Zl))o.style[l]===null||o.style[l]===""||Ys(l)||na(l)||(s[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(s)}),de(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}=ea();return Gs(e,o=>{r=o,o.style.transform&&vp(s,o.style.transform),n&&(o.style.transform=n),t&&t(s)}),de(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=Nt({}),r=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:s}=mp(e,r),{transform:i}=yp(e,r);return de(n,o=>{bp(o).forEach(([l,a])=>{const u=Ys(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=ve(e),n=z();return{state:oe(()=>{if(n.value)return t[n.value]}),variant:n}}function ra(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 sa=["delay","duration"],wp=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...sa];function Sp(e){return sa.includes(e)}function Op(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&lr(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(lr(n[r])){const s=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=s}}}}function Qr(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=ra(s,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});s.motionInstance=f,l&&(Jr[l]=f)},mounted:(s,i,o)=>{s.motionInstance&&Xl(s.motionInstance)},getSSRProps(s,i){let{initial:o}=s.value||i&&(i==null?void 0:i.props)||{};o=ve(o);const l=Ji({},(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}},Ep={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Mp={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}},jp={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},kp={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}},$p={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Hp={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Up={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}},Yp={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Jp={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}},ur={__proto__:null,fade:Tp,fadeVisible:Cp,fadeVisibleOnce:Ap,pop:Ep,popVisible:Mp,popVisibleOnce:Rp,rollBottom:$p,rollLeft:Pp,rollRight:kp,rollTop:Np,rollVisibleBottom:Hp,rollVisibleLeft:Ip,rollVisibleOnceBottom:Up,rollVisibleOnceLeft:jp,rollVisibleOnceRight:Lp,rollVisibleOnceTop:Vp,rollVisibleRight:Fp,rollVisibleTop:Dp,slideBottom:Xp,slideLeft:Bp,slideRight:Kp,slideTop:Yp,slideVisibleBottom:Qp,slideVisibleLeft:Wp,slideVisibleOnceBottom:eh,slideVisibleOnceLeft:zp,slideVisibleOnceRight:Gp,slideVisibleOnceTop:Zp,slideVisibleRight:qp,slideVisibleTop:Jp};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 ia=Symbol(""),oa={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 la(e){const t=Nt({}),n=qt(ia,{}),r=oe(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(X(n)[e.preset]):e.preset in ur?structuredClone(ur[e.preset]):{}),s=oe(()=>({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=oe(()=>{const a=Ji({},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]=ra(m,f)},a.props.onVnodeUpdated=({el:m})=>{const g=Rr(t[u].state);for(const[y,C]of Object.entries(g))m.style[y]=C},a}return{motionConfig:o,setNodeInstance:l}}const rh=Tn({name:"Motion",props:{...oa,is:{type:[String,Object],default:"div"}},setup(e){const t=$o(),{motionConfig:n,setNodeInstance:r}=la(e);return()=>{const s=Rr(n.value.initial||{}),i=Ls(e.is,void 0,t);return r(i,0,s),i}}}),sh=Tn({name:"MotionGroup",props:{...oa,is:{type:[String,Object],required:!1}},setup(e){const t=$o(),{motionConfig:n,setNodeInstance:r}=la(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===Ce&&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",Qr()),!t||t&&!t.excludePresets)for(const n in ur){const r=ur[n];e.directive(`motion-${th(n)}`,Qr(r,!0))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];r.initial,e.directive(`motion-${n}`,Qr(r,!0))}e.provide(ia,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=Tn({__name:"Progress",props:{percentage:{default:0},total:{}},setup(e){return(t,n)=>(ge(),xe("div",ah,[K("div",{"h-full":"",bg:"white dark:neutral-200",w:"[100%]",style:Sn({transform:`translateX(-${Math.max(0,100-t.percentage)}%)`})},null,4)]))}}),uh=["min","max","step"],fh=Tn({__name:"Range",props:Tc({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=Yc(e,"modelValue"),r=oe(()=>t.min*1e4),s=oe(()=>t.max*1e4),i=oe(()=>t.step*1e4),o=z(),l=oe({get:()=>n.value*1e4,set:c=>{n.value=c/1e4,a()}});Lt(()=>{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)=>Ro((ge(),xe("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)),[[Uu,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},es=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.filter(o=>o.score>((s==null?void 0:s.threshold)||.1)),dispose:()=>t==null?void 0:t.dispose()}}function mh(e,t){const n=z(!1),r=z(!1),s=z(!1),i=z(!1),o=z([]),l=new Set,a=z(0),u=z(0),c=hh({baseURL:e}),f=async g=>{if(g.status==="initiate"){if(l.has(g.file))return;l.add(g.file),o.value.push(g),n.value=!0}else if(g.status==="progress"){const y=o.value.findIndex(C=>C.file===g.file);if(y>=0){o.value[y]=g;let C=0,T=0;for(const O of o.value)"total"in O&&O.total&&(C+=O.total,"loaded"in O&&O.loaded&&(T+=O.loaded));u.value=C,C>0&&(a.value=T/C*100)}else{o.value.push(g);let C=0,T=0;for(const O of o.value)"total"in O&&O.total&&(C+=O.total,"loaded"in O&&O.loaded&&(T+=O.loaded));u.value=C,C>0&&(a.value=T/C*100)}}else if(g.status==="done"){const y=o.value.findIndex(T=>T.file===g.file);y>=0&&(o.value[y]=g),o.value.every(T=>T.status==="done"||T.status==="ready")&&(n.value=!1,a.value=100)}else g.status==="ready"&&(n.value=!1,a.value=100)};async function h(g){n.value=!0,r.value=!1;try{await c.load({...g,onProgress:f}),r.value=!0,s.value=!1}catch{r.value=!1,s.value=!0}finally{n.value=!1}}async function m(g){i.value=!0;try{const y=await c.process(g);return s.value=!1,y}catch{s.value=!0}finally{i.value=!1}}return Sr(()=>{c.dispose()}),{isLoading:n,isInitialized:r,loadingItems:o,overallProgress:a,overallTotal:u,load:h,process:m}}const gh="/assets/yolov9-worker-BwmPJ2Yu.js",vh={relative:"","z-0":"","h-full":"","w-full":"","overflow-hidden":"",class:"rounded-none sm:rounded-3xl","shadow-md":""},yh={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":""},bh={"font-mono":""},xh={"font-mono":""},_h={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":""},wh={for:"model-size",w:"90px",flex:"","items-center":"","gap-2":""},Sh={"text-right":"","font-mono":""},Oh={for:"threshold",w:"90px",flex:"","items-center":"","gap-2":""},Th={"text-right":"","font-mono":""},Ch={for:"scale",w:"90px",flex:"","items-center":"","gap-2":""},Ah={"text-right":"","font-mono":""},Eh={key:1,"i-svg-spinners:6-dots-rotate":"","size-4":""},Mh={key:0,bottom:"20",left:"1/2","translate-x":"-50%","max-w":"50",absolute:"","z-10":"","h-5":"","w-full":""},Rh=["data-box"],Ph={key:1,absolute:"","left-0":"","top-0":"","z-1":"","h-full":"","w-full":"",flex:"","flex-col":"","items-center":"","justify-center":"","gap-3":"",bg:"neutral-50/20"},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"},jh={key:3,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"},kh={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"},Fh=["value"],Lh={key:0,"i-solar:moon-stars-bold":"",class:"size-4"},Nh={key:1,"i-solar:sun-bold":"",class:"size-4"},Dh=Tn({__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(0),a=z(0),u=z(),c=oe({get:()=>{var ie;return u.value?u.value:(ie=t.value[0])==null?void 0:ie.deviceId},set:ie=>(u.value=ie,u.value)}),f=["border-sky-500","border-blue-500","border-indigo-500","border-violet-500","border-purple-500","border-fuchsia-500","border-pink-500","border-rose-500","border-red-500","border-orange-500","border-amber-500","border-yellow-500","border-lime-500","border-green-500","border-teal-500","border-cyan-500"],h=["bg-sky-500","bg-blue-500","bg-indigo-500","bg-violet-500","bg-purple-500","bg-fuchsia-500","bg-pink-500","bg-rose-500","bg-red-500","bg-orange-500","bg-amber-500","bg-yellow-500","bg-lime-500","bg-green-500","bg-teal-500","bg-cyan-500"],m=oe(()=>({video:{deviceId:u.value}})),g=z(64),y=z(.5),C=z(.5),T=z(!1),O=z(!1),M=z(!1),x=z(!0),j=z(0),$=z(0),q=bf({disableTransition:!1}),ae=wf(s,{immediate:!0,windowResize:!0}),{stream:k,start:W}=Of({constraints:m,enabled:!0,autoSwitch:!0}),{isLoading:G,load:P,loadingItems:Y,process:L,overallProgress:te}=mh(gh),Z=z([]);function fe(){oh().then(ie=>{x.value=ie.supported})}function se(){if(i.value&&o.value&&k.value){const ie=k.value.getVideoTracks()[0];if(ie){const{width:V,height:J}=ie.getSettings();if(V&&J){l.value=V,a.value=J;const Ee=Math.round(V*C.value),ze=Math.round(J*C.value);o.value.width=Ee,o.value.height=ze}}}}function st(){var J;if(!k||!((J=i.value)!=null&&J.videoWidth)||!o.value)return console.warn("Video stream not ready for capture."),null;se();const ie=o.value.getContext("2d",{willReadFrequently:!0});if(!ie)return console.warn("Canvas context not ready for capture."),null;ie.drawImage(i.value,0,0,o.value.width,o.value.height);const V=ie.getImageData(0,0,o.value.width,o.value.height);return{imageBuffer:V.data,imageWidth:V.width,imageHeight:V.height,channels:4}}async function Vt(){if(!O.value)return;const ie=st();if(ie)try{const V=await L({imageBuffer:ie.imageBuffer,imageWidth:ie.imageWidth,imageHeight:ie.imageHeight,channels:ie.channels,modelSize:g.value,threshold:y.value}),J=performance.now();if($.value){const Ee=J-$.value;j.value=Math.round(1e3/Ee)}if($.value=J,V&&V.length>0){const Ee=i.value;if(!Ee)return;const ze=Ee.offsetWidth,jn=Ee.offsetHeight,d=ie.imageWidth,p=ie.imageHeight;Z.value=V.map(v=>{const{xmin:w,ymin:b,xmax:_,ymax:R}=v.box;console.warn("before",v.box);const E=_<=1&&R<=1;let A;if(E)A={xmin:w*ze,ymin:b*jn,xmax:_*ze,ymax:R*jn};else{const S=g.value||d,N=g.value||p,I=ze/S,F=jn/N;A={xmin:w*I,ymin:b*F,xmax:_*I,ymax:R*F}}return console.warn("after",A),{box:A,label:v.label,score:v.score}})}else Z.value=[]}catch(V){console.error(V)}}let Ae=null;function Le(){if(!O.value){Ae!==null&&(cancelAnimationFrame(Ae),Ae=null);return}Vt().finally(()=>{O.value&&(Ae=requestAnimationFrame(Le))})}async function In(){if(!k){console.warn("Camera not available. Please grant permission first.");return}T.value||(M.value=!0,await P(),M.value=!1,T.value=!0),O.value=!0,Le()}function Pr(){O.value=!1,Ae!==null&&(cancelAnimationFrame(Ae),Ae=null)}function Ir(){O.value?Pr():In()}return de([k,i],()=>{k.value&&i.value&&(i.value.srcObject=k.value)}),de(u,()=>u.value&&W()),Lt(ae.update),Lt(fe),(ie,V)=>(ge(),xe("div",{ref_key:"videoScreenContainer",ref:s,"max-h":"100dvh","max-w":"100dvw",relative:"","h-full":"","w-full":"",class:"p-0 sm:p-4"},[K("div",vh,[V[13]||(V[13]=K("div",{absolute:"","left-0":"","top-0":"","z-10":"",class:"p-2 sm:p-4",flex:"","gap-2":""},[K("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"},[K("div",null," YOLOv9 Object Detection Realtime WebGPU (Vue) ")]),K("a",{href:"https://github.com/proj-airi/webai-examples/tree/main/apps/yolov9-od-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":""},[K("div",{"i-simple-icons:github":"",class:"size-4"})])],-1)),K("div",yh,[K("span",null,[V[5]||(V[5]=tn("FPS: ")),K("span",bh,Be(j.value),1)]),K("span",null,[V[6]||(V[6]=tn("Objects: ")),K("span",xh,Be(Z.value.length),1)])]),K("div",_h,[V[7]||(V[7]=K("div",null,"Size:",-1)),K("label",wh,[ye(es,{modelValue:g.value,"onUpdate:modelValue":V[0]||(V[0]=J=>g.value=J),min:32,max:128,step:16,disabled:O.value,class:"flex-1"},null,8,["modelValue","disabled"])]),K("div",Sh,Be(g.value),1),V[8]||(V[8]=K("div",null,"Threshold:",-1)),K("label",Oh,[ye(es,{modelValue:y.value,"onUpdate:modelValue":V[1]||(V[1]=J=>y.value=J),min:.1,max:.9,step:.05,class:"flex-1"},null,8,["modelValue"])]),K("div",Th,Be(y.value.toFixed(2)),1),V[9]||(V[9]=K("div",null,"Scale:",-1)),K("label",Ch,[ye(es,{modelValue:C.value,"onUpdate:modelValue":V[2]||(V[2]=J=>C.value=J),min:.1,max:1,step:.1,disabled:O.value,class:"flex-1"},null,8,["modelValue","disabled"])]),K("div",Ah,Be(C.value.toFixed(1)),1)]),K("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:Wt(["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",[O.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},[O.value?(ge(),xe(Ce,{key:0},[tn(" Stop ")],64)):M.value||ve(G)?(ge(),xe("div",Eh)):(ge(),xe(Ce,{key:2},[tn(" Start ")],64))],2),ve(Y).length>0&&ve(G)?(ge(),xe("div",Mh,[ye(ch,{percentage:Math.min(100,ve(te))},null,8,["percentage"])])):ou("",!0),(ge(!0),xe(Ce,null,si(Z.value,(J,Ee)=>(ge(),xe("div",{key:Ee,fixed:"",style:Sn({top:`${J.box.ymin}px`,left:`${J.box.xmin}px`,width:`${J.box.xmax-J.box.xmin}px`,height:`${J.box.ymax-J.box.ymin}px`,zIndex:100+100*Ee}),"data-box":JSON.stringify(J.box),class:Wt(["box-content border-4 rounded-lg",[f[Ee%f.length]]])},[K("div",{"px-2":"","pb-2":"","pt-1":"","text-white":"","font-mono":"",class:Wt([h[Ee%h.length]])},Be(J.label)+" ("+Be(J.score.toFixed(2))+") ",3)],14,Rh))),128)),ve(r)?x.value?ve(n)?(ge(),xe(Ce,{key:4},[K("video",{ref_key:"videoScreen",ref:i,autoplay:"",muted:"",relative:"","z-0":"","h-full":"","w-full":"","object-cover":""},null,512),K("canvas",{ref_key:"captureCanvas",ref:o,class:"hidden"},null,512)],64)):(ge(),xe("div",jh,V[12]||(V[12]=[K("div",{text:"orange-700 4xl","font-semibold":""}," Warning ",-1),K("div",{"max-w":"50%",text:"orange 2xl center"},Be("Permission not granted. Please grant permission first. Then choose a camera from the dropdown menu."),-1)]))):(ge(),xe("div",Ih,V[11]||(V[11]=[K("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),K("div",{"max-w":"50%",text:"neutral 2xl center"},Be("Browser does not support WebGPU. Please use a supported browser."),-1)]))):(ge(),xe("div",Ph,V[10]||(V[10]=[K("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),K("div",{"max-w":"50%",text:"neutral 2xl center"},Be("Browser does not support video camera. Please use a supported browser."),-1)]))),K("div",kh,[Ro(K("select",{"onUpdate:modelValue":V[3]||(V[3]=J=>c.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":""},[(ge(!0),xe(Ce,null,si(ve(t),J=>(ge(),xe("option",{key:J.deviceId,value:J.deviceId,class:"text-xs sm:text-sm","inline-block":""},Be(J.label),9,Fh))),128))],512),[[Bu,c.value]]),K("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:V[4]||(V[4]=J=>q.value=!ve(q))},[ye(_u,{name:"fade",mode:"out-in"},{default:Mo(()=>[ve(q)?(ge(),xe("div",Lh)):(ge(),xe("div",Nh))]),_:1})])])])],512))}});Ku(Dh).use(ih).mount("#app");