diff --git "a/assets/index-DGmKQH7N.js" "b/assets/index-DGmKQH7N.js" new file mode 100644--- /dev/null +++ "b/assets/index-DGmKQH7N.js" @@ -0,0 +1,20 @@ +var ru=Object.defineProperty;var su=(e,t,n)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tt=(e,t,n)=>su(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 Ms(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 ui(e,t,n=".",r){if(!Ms(t))return ui(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]]:Ms(o)&&Ms(s[i])?s[i]=ui(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function iu(e){return(...t)=>t.reduce((n,r)=>ui(n,r,"",e),{})}const ua=iu();/** +* @vue/shared v3.5.14 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Vi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},cn=[],ht=()=>{},ou=()=>!1,Gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bi=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lu=Object.prototype.hasOwnProperty,ie=(e,t)=>lu.call(e,t),W=Array.isArray,fn=e=>Zr(e)==="[object Map]",da=e=>Zr(e)==="[object Set]",X=e=>typeof e=="function",Te=e=>typeof e=="string",Tt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",pa=e=>(pe(e)||X(e))&&X(e.then)&&X(e.catch),ha=Object.prototype.toString,Zr=e=>ha.call(e),au=e=>Zr(e).slice(8,-1),ga=e=>Zr(e)==="[object Object]",qi=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=Vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cu=/-(\w)/g,Nt=Jr(e=>e.replace(cu,(t,n)=>n?n.toUpperCase():"")),fu=/\B([A-Z])/g,en=Jr(e=>e.replace(fu,"-$1").toLowerCase()),ma=Jr(e=>e.charAt(0).toUpperCase()+e.slice(1)),_s=Jr(e=>e?`on${ma(e)}`:""),Lt=(e,t)=>!Object.is(e,t),Ss=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},uu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},du=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let zo;const Qr=()=>zo||(zo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function un(e){if(W(e)){const t={};for(let n=0;n{if(n){const r=n.split(hu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function st(e){let t="";if(Te(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),on=e=>Te(e)?e:e==null?"":W(e)||pe(e)&&(e.toString===ha||!X(e.toString))?va(e)?on(e.value):JSON.stringify(e,xa,2):String(e),xa=(e,t)=>va(t)?xa(e,t.value):fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Ts(r,i)+" =>"]=s,n),{})}:da(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ts(n))}:Tt(t)?Ts(t):pe(t)&&!W(t)&&!ga(t)?String(t):t,Ts=(e,t="")=>{var n;return Tt(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 De;class vu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=De,!t&&De&&(this.index=(De.scopes||(De.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(De=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Ln){let t=Ln;for(Ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$n;){let t=$n;for($n=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 wa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oa(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Xi(r),Mu(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function di(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ca(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ca(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Un)||(e.globalVersion=Un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!di(e))))return;e.flags|=2;const t=e.dep,n=ue,r=it;ue=e,it=!0;try{wa(e);const s=e.fn(e._value);(t.version===0||Lt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,it=r,Oa(e),e.flags&=-3}}function Xi(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)Xi(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let it=!0;const Aa=[];function _t(){Aa.push(it),it=!1}function St(){const e=Aa.pop();it=e===void 0?!0:e}function Ho(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let Un=0;class _u{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 Yi{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||!it||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new _u(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Ea(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++,Un++,this.notify(t)}notify(t){Ki();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Wi()}}}function Ea(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)Ea(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const pi=new WeakMap,Gt=Symbol(""),hi=Symbol(""),qn=Symbol("");function Fe(e,t,n){if(it&&ue){let r=pi.get(e);r||pi.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Yi),s.map=r,s.key=n),s.track()}}function xt(e,t,n,r,s,i){const o=pi.get(e);if(!o){Un++;return}const l=a=>{a&&a.trigger()};if(Ki(),t==="clear")o.forEach(l);else{const a=W(e),f=a&&qi(n);if(a&&n==="length"){const c=Number(r);o.forEach((u,p)=>{(p==="length"||p===qn||!Tt(p)&&p>=c)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qn)),t){case"add":a?f&&l(o.get("length")):(l(o.get(Gt)),fn(e)&&l(o.get(hi)));break;case"delete":a||(l(o.get(Gt)),fn(e)&&l(o.get(hi)));break;case"set":fn(e)&&l(o.get(Gt));break}}Wi()}function sn(e){const t=te(e);return t===e?t:(Fe(t,"iterate",qn),rt(e)?t:t.map($e))}function es(e){return Fe(e=te(e),"iterate",qn),e}const Su={__proto__:null,[Symbol.iterator](){return Os(this,Symbol.iterator,$e)},concat(...e){return sn(this).concat(...e.map(t=>W(t)?sn(t):t))},entries(){return Os(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return bt(this,"find",e,t,$e,arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cs(this,"includes",e)},indexOf(...e){return Cs(this,"indexOf",e)},join(e){return sn(this).join(e)},lastIndexOf(...e){return Cs(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return On(this,"pop")},push(...e){return On(this,"push",e)},reduce(e,...t){return Vo(this,"reduce",e,t)},reduceRight(e,...t){return Vo(this,"reduceRight",e,t)},shift(){return On(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return On(this,"splice",e)},toReversed(){return sn(this).toReversed()},toSorted(e){return sn(this).toSorted(e)},toSpliced(...e){return sn(this).toSpliced(...e)},unshift(...e){return On(this,"unshift",e)},values(){return Os(this,"values",$e)}};function Os(e,t,n){const r=es(e),s=r[t]();return r!==e&&!rt(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const Tu=Array.prototype;function bt(e,t,n,r,s,i){const o=es(e),l=o!==e&&!rt(e),a=o[t];if(a!==Tu[t]){const u=a.apply(e,i);return l?$e(u):u}let f=n;o!==e&&(l?f=function(u,p){return n.call(this,$e(u),p,e)}:n.length>2&&(f=function(u,p){return n.call(this,u,p,e)}));const c=a.call(o,f,r);return l&&s?s(c):c}function Vo(e,t,n,r){const s=es(e);let i=n;return s!==e&&(rt(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,$e(l),a,e)}),s[t](i,...r)}function Cs(e,t,n){const r=te(e);Fe(r,"iterate",qn);const s=r[t](...n);return(s===-1||s===!1)&&Ji(n[0])?(n[0]=te(n[0]),r[t](...n)):s}function On(e,t,n=[]){_t(),Ki();const r=te(e)[t].apply(e,n);return Wi(),St(),r}const wu=Vi("__proto__,__v_isRef,__isVue"),Ia=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tt));function Ou(e){Tt(e)||(e=String(e));const t=te(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class Pa{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?Nu:Ra:i?La:$a).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=W(t);if(!s){let a;if(o&&(a=Su[n]))return a;if(n==="hasOwnProperty")return Ou}const l=Reflect.get(t,n,Ie(t)?t:r);return(Tt(n)?Ia.has(n):wu(n))||(s||Fe(t,"get",n),i)?l:Ie(l)?o&&qi(n)?l:l.value:pe(l)?s?Na(l):tn(l):l}}class ka extends Pa{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=jt(i);if(!rt(r)&&!jt(r)&&(i=te(i),r=te(r)),!W(t)&&Ie(i)&&!Ie(r))return a?!1:(i.value=r,!0)}const o=W(t)&&qi(n)?Number(n)e,br=e=>Reflect.getPrototypeOf(e);function Pu(e,t,n){return function(...r){const s=this.__v_raw,i=te(s),o=fn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,f=s[e](...r),c=n?gi:t?Pr:$e;return!t&&Fe(i,"iterate",a?hi:Gt),{next(){const{value:u,done:p}=f.next();return p?{value:u,done:p}:{value:l?[c(u[0]),c(u[1])]:c(u),done:p}},[Symbol.iterator](){return this}}}}function yr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ku(e,t){const n={get(s){const i=this.__v_raw,o=te(i),l=te(s);e||(Lt(s,l)&&Fe(o,"get",s),Fe(o,"get",l));const{has:a}=br(o),f=t?gi:e?Pr:$e;if(a.call(o,s))return f(i.get(s));if(a.call(o,l))return f(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Fe(te(s),"iterate",Gt),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=te(i),l=te(s);return e||(Lt(s,l)&&Fe(o,"has",s),Fe(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=te(l),f=t?gi:e?Pr:$e;return!e&&Fe(a,"iterate",Gt),l.forEach((c,u)=>s.call(i,f(c),f(u),o))}};return Pe(n,e?{add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear")}:{add(s){!t&&!rt(s)&&!jt(s)&&(s=te(s));const i=te(this);return br(i).has.call(i,s)||(i.add(s),xt(i,"add",s,s)),this},set(s,i){!t&&!rt(i)&&!jt(i)&&(i=te(i));const o=te(this),{has:l,get:a}=br(o);let f=l.call(o,s);f||(s=te(s),f=l.call(o,s));const c=a.call(o,s);return o.set(s,i),f?Lt(i,c)&&xt(o,"set",s,i):xt(o,"add",s,i),this},delete(s){const i=te(this),{has:o,get:l}=br(i);let a=o.call(i,s);a||(s=te(s),a=o.call(i,s)),l&&l.call(i,s);const f=i.delete(s);return a&&xt(i,"delete",s,void 0),f},clear(){const s=te(this),i=s.size!==0,o=s.clear();return i&&xt(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Pu(s,e,t)}),n}function Gi(e,t){const n=ku(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ie(n,s)&&s in r?n:r,s,i)}const $u={get:Gi(!1,!1)},Lu={get:Gi(!1,!0)},Ru={get:Gi(!0,!1)};const $a=new WeakMap,La=new WeakMap,Ra=new WeakMap,Nu=new WeakMap;function ju(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Du(e){return e.__v_skip||!Object.isExtensible(e)?0:ju(au(e))}function tn(e){return jt(e)?e:Zi(e,!1,Au,$u,$a)}function Fu(e){return Zi(e,!1,Iu,Lu,La)}function Na(e){return Zi(e,!0,Eu,Ru,Ra)}function Zi(e,t,n,r,s){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Du(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 dn(e){return jt(e)?dn(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function rt(e){return!!(e&&e.__v_isShallow)}function Ji(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function zu(e){return!ie(e,"__v_skip")&&Object.isExtensible(e)&&ba(e,"__v_skip",!0),e}const $e=e=>pe(e)?tn(e):e,Pr=e=>pe(e)?Na(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ae(e){return ja(e,!1)}function kr(e){return ja(e,!0)}function ja(e,t){return Ie(e)?e:new Hu(e,t)}class Hu{constructor(t,n){this.dep=new Yi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||rt(t)||jt(t);t=r?t:te(t),Lt(t,n)&&(this._rawValue=t,this._value=r?t:$e(t),this.dep.trigger())}}function Me(e){return Ie(e)?e.value:e}function Rn(e){return X(e)?e():Me(e)}const Vu={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ie(s)&&!Ie(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Da(e){return dn(e)?e:new Proxy(e,Vu)}class Bu{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Yi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return Ta(this,!0),!0}get value(){const t=this.dep.track();return Ca(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Uu(e,t,n=!1){let r,s;return X(e)?r=e:(r=e.get,s=e.set),new Bu(r,s,n)}const vr={},$r=new WeakMap;let Wt;function qu(e,t=!1,n=Wt){if(n){let r=$r.get(n);r||$r.set(n,r=[]),r.push(e)}}function Ku(e,t,n=de){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:a}=n,f=S=>s?S:rt(S)||s===!1||s===0?kt(S,1):kt(S);let c,u,p,g,m=!1,b=!1;if(Ie(e)?(u=()=>e.value,m=rt(e)):dn(e)?(u=()=>f(e),m=!0):W(e)?(b=!0,m=e.some(S=>dn(S)||rt(S)),u=()=>e.map(S=>{if(Ie(S))return S.value;if(dn(S))return f(S);if(X(S))return a?a(S,2):S()})):X(e)?t?u=a?()=>a(e,2):e:u=()=>{if(p){_t();try{p()}finally{St()}}const S=Wt;Wt=c;try{return a?a(e,3,[g]):e(g)}finally{Wt=S}}:u=ht,t&&s){const S=u,N=s===!0?1/0:s;u=()=>kt(S(),N)}const M=Ma(),y=()=>{c.stop(),M&&M.active&&Ui(M.effects,c)};if(i&&t){const S=t;t=(...N)=>{S(...N),y()}}let x=b?new Array(e.length).fill(vr):vr;const _=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const N=c.run();if(s||m||(b?N.some((E,O)=>Lt(E,x[O])):Lt(N,x))){p&&p();const E=Wt;Wt=c;try{const O=[N,x===vr?void 0:b&&x[0]===vr?[]:x,g];a?a(t,3,O):t(...O),x=N}finally{Wt=E}}}else c.run()};return l&&l(_),c=new _a(u),c.scheduler=o?()=>o(_,!1):_,g=S=>qu(S,!1,c),p=c.onStop=()=>{const S=$r.get(c);if(S){if(a)a(S,4);else for(const N of S)N();$r.delete(c)}},t?r?_(!0):x=c.run():o?o(_.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function kt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ie(e))kt(e.value,t,n);else if(W(e))for(let r=0;r{kt(r,t,n)});else if(ga(e)){for(const r in e)kt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&kt(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.14 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ir(e,t,n,r){try{return r?e(...r):e()}catch(s){ts(s,t,n)}}function lt(e,t,n,r){if(X(e)){const s=ir(e,t,n,r);return s&&pa(s)&&s.catch(i=>{ts(i,t,n)}),s}if(W(e)){const s=[];for(let i=0;i>>1,s=Ke[r],i=Kn(s);i=Kn(n)?Ke.push(e):Ke.splice(Yu(t),0,e),e.flags|=1,za()}}function za(){Lr||(Lr=Fa.then(Va))}function Gu(e){W(e)?pn.push(...e):Et&&e.id===-1?Et.splice(ln+1,0,e):e.flags&1||(pn.push(e),e.flags|=1),za()}function Bo(e,t,n=ut+1){for(;nKn(n)-Kn(r));if(pn.length=0,Et){Et.push(...t);return}for(Et=t,ln=0;lne.id==null?e.flags&2?-1:1/0:e.id;function Va(e){try{for(ut=0;ut{r._d&&el(-1);const i=Rr(t);let o;try{o=e(...s)}finally{Rr(i),r._d&&el(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ht(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;oe.__isTeleport,It=Symbol("_leaveCb"),xr=Symbol("_enterCb");function Ju(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mn(()=>{e.isMounted=!0}),eo(()=>{e.isUnmounting=!0}),e}const nt=[Function,Array],qa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nt,onEnter:nt,onAfterEnter:nt,onEnterCancelled:nt,onBeforeLeave:nt,onLeave:nt,onAfterLeave:nt,onLeaveCancelled:nt,onBeforeAppear:nt,onAppear:nt,onAfterAppear:nt,onAppearCancelled:nt},Ka=e=>{const t=e.subTree;return t.component?Ka(t.component):t},Qu={name:"BaseTransition",props:qa,setup(e,{slots:t}){const n=_n(),r=Ju();return()=>{const s=t.default&&Ya(t.default(),!0);if(!s||!s.length)return;const i=Wa(s),o=te(e),{mode:l}=o;if(r.isLeaving)return As(i);const a=Uo(i);if(!a)return As(i);let f=mi(a,o,r,n,u=>f=u);a.type!==ze&&Wn(a,f);let c=n.subTree&&Uo(n.subTree);if(c&&c.type!==ze&&!Xt(a,c)&&Ka(n).type!==ze){let u=mi(c,o,r,n);if(Wn(c,u),l==="out-in"&&a.type!==ze)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},As(i);l==="in-out"&&a.type!==ze?u.delayLeave=(p,g,m)=>{const b=Xa(r,c);b[String(c.key)]=c,p[It]=()=>{g(),p[It]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{m(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Wa(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ze){t=n;break}}return t}const ed=Qu;function Xa(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 mi(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:g,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:M,onAppear:y,onAfterAppear:x,onAppearCancelled:_}=t,S=String(e.key),N=Xa(n,e),E=(P,z)=>{P&<(P,r,9,z)},O=(P,z)=>{const H=z[1];E(P,z),W(P)?P.every(k=>k.length<=1)&&H():P.length<=1&&H()},A={mode:o,persisted:l,beforeEnter(P){let z=a;if(!n.isMounted)if(i)z=M||a;else return;P[It]&&P[It](!0);const H=N[S];H&&Xt(e,H)&&H.el[It]&&H.el[It](),E(z,[P])},enter(P){let z=f,H=c,k=u;if(!n.isMounted)if(i)z=y||f,H=x||c,k=_||u;else return;let U=!1;const Z=P[xr]=se=>{U||(U=!0,se?E(k,[P]):E(H,[P]),A.delayedLeave&&A.delayedLeave(),P[xr]=void 0)};z?O(z,[P,Z]):Z()},leave(P,z){const H=String(e.key);if(P[xr]&&P[xr](!0),n.isUnmounting)return z();E(p,[P]);let k=!1;const U=P[It]=Z=>{k||(k=!0,z(),Z?E(b,[P]):E(m,[P]),P[It]=void 0,N[H]===e&&delete N[H])};N[H]=e,g?O(g,[P,U]):U()},clone(P){const z=mi(P,t,n,r,s);return s&&s(z),z}};return A}function As(e){if(ns(e))return e=Dt(e),e.children=null,e}function Uo(e){if(!ns(e))return Ua(e.type)&&e.children?Wa(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&&X(n.default))return n.default()}}function Wn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Wn(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 Ya(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iNr(m,t&&(W(t)?t[b]:t),n,r,s));return}if(hn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Nr(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?oo(r.component):r.el,o=s?null:i,{i:l,r:a}=e,f=t&&t.r,c=l.refs===de?l.refs={}:l.refs,u=l.setupState,p=te(u),g=u===de?()=>!1:m=>ie(p,m);if(f!=null&&f!==a&&(Te(f)?(c[f]=null,g(f)&&(u[f]=null)):Ie(f)&&(f.value=null)),X(a))ir(a,l,12,[o,c]);else{const m=Te(a),b=Ie(a);if(m||b){const M=()=>{if(e.f){const y=m?g(a)?u[a]:c[a]:a.value;s?W(y)&&Ui(y,i):W(y)?y.includes(i)||y.push(i):m?(c[a]=[i],g(a)&&(u[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else m?(c[a]=o,g(a)&&(u[a]=o)):b&&(a.value=o,e.k&&(c[e.k]=o))};o?(M.id=-1,Ze(M,n)):M()}}}Qr().requestIdleCallback;Qr().cancelIdleCallback;const hn=e=>!!e.type.__asyncLoader,ns=e=>e.type.__isKeepAlive;function td(e,t){Za(e,"a",t)}function nd(e,t){Za(e,"da",t)}function Za(e,t,n=Le){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(rs(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ns(s.parent.vnode)&&rd(r,t,n,s),s=s.parent}}function rd(e,t,n,r){const s=rs(t,e,r,!0);to(()=>{Ui(r[t],s)},n)}function rs(e,t,n=Le,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{_t();const l=or(n),a=lt(t,n,e,o);return l(),St(),a});return r?s.unshift(i):s.push(i),i}}const wt=e=>(t,n=Le)=>{(!Zn||e==="sp")&&rs(e,(...r)=>t(...r),n)},sd=wt("bm"),Mn=wt("m"),id=wt("bu"),od=wt("u"),eo=wt("bum"),to=wt("um"),ld=wt("sp"),ad=wt("rtg"),cd=wt("rtc");function fd(e,t=Le){rs("ec",e,t)}const ud=Symbol.for("v-ndc");function qo(e,t,n,r){let s;const i=n,o=W(e);if(o||Te(e)){const l=o&&dn(e);let a=!1,f=!1;l&&(a=!rt(e),f=jt(e),e=es(e)),s=new Array(e.length);for(let c=0,u=e.length;ct(l,a,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,f=l.length;aGn(t)?!(t.type===ze||t.type===_e&&!Ja(t.children)):!0)?e:null}const bi=e=>e?Mc(e)?oo(e):bi(e.parent):null,Nn=Pe(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=>bi(e.parent),$root:e=>bi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tc(e),$forceUpdate:e=>e.f||(e.f=()=>{Qi(e.update)}),$nextTick:e=>e.n||(e.n=Xu.bind(e.proxy)),$watch:e=>Ld.bind(e)}),Es=(e,t)=>e!==de&&!e.__isScriptSetup&&ie(e,t),dd={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 f;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Es(r,t))return o[t]=1,r[t];if(s!==de&&ie(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&ie(f,t))return o[t]=3,i[t];if(n!==de&&ie(n,t))return o[t]=4,n[t];yi&&(o[t]=0)}}const c=Nn[t];let u,p;if(c)return t==="$attrs"&&Fe(e.attrs,"get",""),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==de&&ie(n,t))return o[t]=4,n[t];if(p=a.config.globalProperties,ie(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Es(s,t)?(s[t]=n,!0):r!==de&&ie(r,t)?(r[t]=n,!0):ie(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!==de&&ie(e,o)||Es(t,o)||(l=i[0])&&ie(l,o)||ie(r,o)||ie(Nn,o)||ie(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qa(){return pd().slots}function pd(){const e=_n();return e.setupContext||(e.setupContext=Sc(e))}function Ko(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let yi=!0;function hd(e){const t=tc(e),n=e.proxy,r=e.ctx;yi=!1,t.beforeCreate&&Wo(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:f,created:c,beforeMount:u,mounted:p,beforeUpdate:g,updated:m,activated:b,deactivated:M,beforeDestroy:y,beforeUnmount:x,destroyed:_,unmounted:S,render:N,renderTracked:E,renderTriggered:O,errorCaptured:A,serverPrefetch:P,expose:z,inheritAttrs:H,components:k,directives:U,filters:Z}=t;if(f&&gd(f,r,null),o)for(const J in o){const Y=o[J];X(Y)&&(r[J]=Y.bind(n))}if(s){const J=s.call(n,n);pe(J)&&(e.data=tn(J))}if(yi=!0,i)for(const J in i){const Y=i[J],ne=X(Y)?Y.bind(n,n):X(Y.get)?Y.get.bind(n,n):ht,me=!X(Y)&&X(Y.set)?Y.set.bind(n):ht,ce=gt({get:ne,set:me});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>ce.value,set:fe=>ce.value=fe})}if(l)for(const J in l)ec(l[J],r,n,J);if(a){const J=X(a)?a.call(n):a;Reflect.ownKeys(J).forEach(Y=>{rc(Y,J[Y])})}c&&Wo(c,e,"c");function ee(J,Y){W(Y)?Y.forEach(ne=>J(ne.bind(n))):Y&&J(Y.bind(n))}if(ee(sd,u),ee(Mn,p),ee(id,g),ee(od,m),ee(td,b),ee(nd,M),ee(fd,A),ee(cd,E),ee(ad,O),ee(eo,x),ee(to,S),ee(ld,P),W(z))if(z.length){const J=e.exposed||(e.exposed={});z.forEach(Y=>{Object.defineProperty(J,Y,{get:()=>n[Y],set:ne=>n[Y]=ne})})}else e.exposed||(e.exposed={});N&&e.render===ht&&(e.render=N),H!=null&&(e.inheritAttrs=H),k&&(e.components=k),U&&(e.directives=U),P&&Ga(e)}function gd(e,t,n=ht){W(e)&&(e=vi(e));for(const r in e){const s=e[r];let i;pe(s)?"default"in s?i=gn(s.from||r,s.default,!0):i=gn(s.from||r):i=gn(s),Ie(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Wo(e,t,n){lt(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ec(e,t,n,r){let s=r.includes(".")?gc(n,r):()=>n[r];if(Te(e)){const i=t[e];X(i)&&Se(s,i)}else if(X(e))Se(s,e.bind(n));else if(pe(e))if(W(e))e.forEach(i=>ec(i,t,n,r));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Se(s,i,e)}}function tc(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(f=>jr(a,f,o,!0)),jr(a,t,o)),pe(t)&&i.set(t,a),a}function jr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&jr(e,i,n,!0),s&&s.forEach(o=>jr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=md[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const md={data:Xo,props:Yo,emits:Yo,methods:En,computed:En,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:En,directives:En,watch:yd,provide:Xo,inject:bd};function Xo(e,t){return t?e?function(){return Pe(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function bd(e,t){return En(vi(e),vi(t))}function vi(e){if(W(e)){const t={};for(let n=0;n1)return n&&X(t)?t.call(r&&r.proxy):t}}function Md(){return!!(Le||He||Zt)}const sc={},ic=()=>Object.create(sc),oc=e=>Object.getPrototypeOf(e)===sc;function _d(e,t,n,r=!1){const s={},i=ic();e.propsDefaults=Object.create(null),lc(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Fu(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Sd(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=te(s),[a]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let u=0;u{a=!0;const[p,g]=ac(u,t,!0);Pe(o,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return pe(e)&&r.set(e,cn),cn;if(W(i))for(let c=0;ce[0]==="_"||e==="$stable",so=e=>W(e)?e.map(dt):[dt(e)],wd=(e,t,n)=>{if(t._n)return t;const r=an((...s)=>so(t(...s)),n);return r._c=!1,r},cc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ro(s))continue;const i=e[s];if(X(i))t[s]=wd(s,i,r);else if(i!=null){const o=so(i);t[s]=()=>o}}},fc=(e,t)=>{const n=so(t);e.slots.default=()=>n},uc=(e,t,n)=>{for(const r in t)(n||!ro(r))&&(e[r]=t[r])},Od=(e,t,n)=>{const r=e.slots=ic();if(e.vnode.shapeFlag&32){const s=t._;s?(uc(r,t,n),n&&ba(r,"_",s,!0)):cc(t,r)}else t&&fc(e,t)},Cd=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=de;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uc(s,t,n):(i=!t.$stable,cc(t,s)),o=t}else t&&(fc(e,t),o={default:1});if(i)for(const l in s)!ro(l)&&o[l]==null&&delete s[l]},Ze=Hd;function Ad(e){return Ed(e)}function Ed(e,t){const n=Qr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:f,setElementText:c,parentNode:u,nextSibling:p,setScopeId:g=ht,insertStaticContent:m}=e,b=(d,h,v,w=null,T=null,C=null,j=void 0,R=null,L=!!h.dynamicChildren)=>{if(d===h)return;d&&!Xt(d,h)&&(w=be(d),fe(d,T,C,!0),d=null),h.patchFlag===-2&&(L=!1,h.dynamicChildren=null);const{type:I,ref:B,shapeFlag:D}=h;switch(I){case is:M(d,h,v,w);break;case ze:y(d,h,v,w);break;case Ps:d==null&&x(h,v,w,j);break;case _e:k(d,h,v,w,T,C,j,R,L);break;default:D&1?N(d,h,v,w,T,C,j,R,L):D&6?U(d,h,v,w,T,C,j,R,L):(D&64||D&128)&&I.process(d,h,v,w,T,C,j,R,L,Ae)}B!=null&&T&&Nr(B,d&&d.ref,C,h||d,!h)},M=(d,h,v,w)=>{if(d==null)r(h.el=l(h.children),v,w);else{const T=h.el=d.el;h.children!==d.children&&f(T,h.children)}},y=(d,h,v,w)=>{d==null?r(h.el=a(h.children||""),v,w):h.el=d.el},x=(d,h,v,w)=>{[d.el,d.anchor]=m(d.children,h,v,w,d.el,d.anchor)},_=({el:d,anchor:h},v,w)=>{let T;for(;d&&d!==h;)T=p(d),r(d,v,w),d=T;r(h,v,w)},S=({el:d,anchor:h})=>{let v;for(;d&&d!==h;)v=p(d),s(d),d=v;s(h)},N=(d,h,v,w,T,C,j,R,L)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),d==null?E(h,v,w,T,C,j,R,L):P(d,h,T,C,j,R,L)},E=(d,h,v,w,T,C,j,R)=>{let L,I;const{props:B,shapeFlag:D,transition:V,dirs:K}=d;if(L=d.el=o(d.type,C,B&&B.is,B),D&8?c(L,d.children):D&16&&A(d.children,L,null,w,T,Is(d,C),j,R),K&&Ht(d,null,w,"created"),O(L,d,d.scopeId,j,w),B){for(const le in B)le!=="value"&&!kn(le)&&i(L,le,null,B[le],C,w);"value"in B&&i(L,"value",null,B.value,C),(I=B.onVnodeBeforeMount)&&ct(I,w,d)}K&&Ht(d,null,w,"beforeMount");const Q=Id(T,V);Q&&V.beforeEnter(L),r(L,h,v),((I=B&&B.onVnodeMounted)||Q||K)&&Ze(()=>{I&&ct(I,w,d),Q&&V.enter(L),K&&Ht(d,null,w,"mounted")},T)},O=(d,h,v,w,T)=>{if(v&&g(d,v),w)for(let C=0;C{for(let I=L;I{const R=h.el=d.el;let{patchFlag:L,dynamicChildren:I,dirs:B}=h;L|=d.patchFlag&16;const D=d.props||de,V=h.props||de;let K;if(v&&Vt(v,!1),(K=V.onVnodeBeforeUpdate)&&ct(K,v,h,d),B&&Ht(h,d,v,"beforeUpdate"),v&&Vt(v,!0),(D.innerHTML&&V.innerHTML==null||D.textContent&&V.textContent==null)&&c(R,""),I?z(d.dynamicChildren,I,R,v,w,Is(h,T),C):j||Y(d,h,R,null,v,w,Is(h,T),C,!1),L>0){if(L&16)H(R,D,V,v,T);else if(L&2&&D.class!==V.class&&i(R,"class",null,V.class,T),L&4&&i(R,"style",D.style,V.style,T),L&8){const Q=h.dynamicProps;for(let le=0;le{K&&ct(K,v,h,d),B&&Ht(h,d,v,"updated")},w)},z=(d,h,v,w,T,C,j)=>{for(let R=0;R{if(h!==v){if(h!==de)for(const C in h)!kn(C)&&!(C in v)&&i(d,C,h[C],null,T,w);for(const C in v){if(kn(C))continue;const j=v[C],R=h[C];j!==R&&C!=="value"&&i(d,C,R,j,T,w)}"value"in v&&i(d,"value",h.value,v.value,T)}},k=(d,h,v,w,T,C,j,R,L)=>{const I=h.el=d?d.el:l(""),B=h.anchor=d?d.anchor:l("");let{patchFlag:D,dynamicChildren:V,slotScopeIds:K}=h;K&&(R=R?R.concat(K):K),d==null?(r(I,v,w),r(B,v,w),A(h.children||[],v,B,T,C,j,R,L)):D>0&&D&64&&V&&d.dynamicChildren?(z(d.dynamicChildren,V,v,T,C,j,R),(h.key!=null||T&&h===T.subTree)&&dc(d,h,!0)):Y(d,h,v,B,T,C,j,R,L)},U=(d,h,v,w,T,C,j,R,L)=>{h.slotScopeIds=R,d==null?h.shapeFlag&512?T.ctx.activate(h,v,w,j,L):Z(h,v,w,T,C,j,L):se(d,h,L)},Z=(d,h,v,w,T,C,j)=>{const R=d.component=Wd(d,w,T);if(ns(d)&&(R.ctx.renderer=Ae),Xd(R,!1,j),R.asyncDep){if(T&&T.registerDep(R,ee,j),!d.el){const L=R.subTree=Re(ze);y(null,L,h,v)}}else ee(R,d,h,v,T,C,j)},se=(d,h,v)=>{const w=h.component=d.component;if(Fd(d,h,v))if(w.asyncDep&&!w.asyncResolved){J(w,h,v);return}else w.next=h,w.update();else h.el=d.el,w.vnode=h},ee=(d,h,v,w,T,C,j)=>{const R=()=>{if(d.isMounted){let{next:D,bu:V,u:K,parent:Q,vnode:le}=d;{const Ye=pc(d);if(Ye){D&&(D.el=le.el,J(d,D,j)),Ye.asyncDep.then(()=>{d.isUnmounted||R()});return}}let re=D,ke;Vt(d,!1),D?(D.el=le.el,J(d,D,j)):D=le,V&&Ss(V),(ke=D.props&&D.props.onVnodeBeforeUpdate)&&ct(ke,Q,D,le),Vt(d,!0);const ye=Jo(d),Xe=d.subTree;d.subTree=ye,b(Xe,ye,u(Xe.el),be(Xe),d,T,C),D.el=ye.el,re===null&&zd(d,ye.el),K&&Ze(K,T),(ke=D.props&&D.props.onVnodeUpdated)&&Ze(()=>ct(ke,Q,D,le),T)}else{let D;const{el:V,props:K}=h,{bm:Q,m:le,parent:re,root:ke,type:ye}=d,Xe=hn(h);Vt(d,!1),Q&&Ss(Q),!Xe&&(D=K&&K.onVnodeBeforeMount)&&ct(D,re,h),Vt(d,!0);{ke.ce&&ke.ce._injectChildStyle(ye);const Ye=d.subTree=Jo(d);b(null,Ye,v,w,d,T,C),h.el=Ye.el}if(le&&Ze(le,T),!Xe&&(D=K&&K.onVnodeMounted)){const Ye=h;Ze(()=>ct(D,re,Ye),T)}(h.shapeFlag&256||re&&hn(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Ze(d.a,T),d.isMounted=!0,h=v=w=null}};d.scope.on();const L=d.effect=new _a(R);d.scope.off();const I=d.update=L.run.bind(L),B=d.job=L.runIfDirty.bind(L);B.i=d,B.id=d.uid,L.scheduler=()=>Qi(B),Vt(d,!0),I()},J=(d,h,v)=>{h.component=d;const w=d.vnode.props;d.vnode=h,d.next=null,Sd(d,h.props,w,v),Cd(d,h.children,v),_t(),Bo(d),St()},Y=(d,h,v,w,T,C,j,R,L=!1)=>{const I=d&&d.children,B=d?d.shapeFlag:0,D=h.children,{patchFlag:V,shapeFlag:K}=h;if(V>0){if(V&128){me(I,D,v,w,T,C,j,R,L);return}else if(V&256){ne(I,D,v,w,T,C,j,R,L);return}}K&8?(B&16&&We(I,T,C),D!==I&&c(v,D)):B&16?K&16?me(I,D,v,w,T,C,j,R,L):We(I,T,C,!0):(B&8&&c(v,""),K&16&&A(D,v,w,T,C,j,R,L))},ne=(d,h,v,w,T,C,j,R,L)=>{d=d||cn,h=h||cn;const I=d.length,B=h.length,D=Math.min(I,B);let V;for(V=0;VB?We(d,T,C,!0,!1,D):A(h,v,w,T,C,j,R,L,D)},me=(d,h,v,w,T,C,j,R,L)=>{let I=0;const B=h.length;let D=d.length-1,V=B-1;for(;I<=D&&I<=V;){const K=d[I],Q=h[I]=L?Pt(h[I]):dt(h[I]);if(Xt(K,Q))b(K,Q,v,null,T,C,j,R,L);else break;I++}for(;I<=D&&I<=V;){const K=d[D],Q=h[V]=L?Pt(h[V]):dt(h[V]);if(Xt(K,Q))b(K,Q,v,null,T,C,j,R,L);else break;D--,V--}if(I>D){if(I<=V){const K=V+1,Q=KV)for(;I<=D;)fe(d[I],T,C,!0),I++;else{const K=I,Q=I,le=new Map;for(I=Q;I<=V;I++){const Ue=h[I]=L?Pt(h[I]):dt(h[I]);Ue.key!=null&&le.set(Ue.key,I)}let re,ke=0;const ye=V-Q+1;let Xe=!1,Ye=0;const at=new Array(ye);for(I=0;I=ye){fe(Ue,T,C,!0);continue}let et;if(Ue.key!=null)et=le.get(Ue.key);else for(re=Q;re<=V;re++)if(at[re-Q]===0&&Xt(Ue,h[re])){et=re;break}et===void 0?fe(Ue,T,C,!0):(at[et-Q]=I+1,et>=Ye?Ye=et:Xe=!0,b(Ue,h[et],v,null,T,C,j,R,L),ke++)}const gr=Xe?Pd(at):cn;for(re=gr.length-1,I=ye-1;I>=0;I--){const Ue=Q+I,et=h[Ue],mr=Ue+1{const{el:C,type:j,transition:R,children:L,shapeFlag:I}=d;if(I&6){ce(d.component.subTree,h,v,w);return}if(I&128){d.suspense.move(h,v,w);return}if(I&64){j.move(d,h,v,Ae);return}if(j===_e){r(C,h,v);for(let D=0;DR.enter(C),T);else{const{leave:D,delayLeave:V,afterLeave:K}=R,Q=()=>{d.ctx.isUnmounted?s(C):r(C,h,v)},le=()=>{D(C,()=>{Q(),K&&K()})};V?V(C,Q,le):le()}else r(C,h,v)},fe=(d,h,v,w=!1,T=!1)=>{const{type:C,props:j,ref:R,children:L,dynamicChildren:I,shapeFlag:B,patchFlag:D,dirs:V,cacheIndex:K}=d;if(D===-2&&(T=!1),R!=null&&(_t(),Nr(R,null,v,d,!0),St()),K!=null&&(h.renderCache[K]=void 0),B&256){h.ctx.deactivate(d);return}const Q=B&1&&V,le=!hn(d);let re;if(le&&(re=j&&j.onVnodeBeforeUnmount)&&ct(re,h,d),B&6)mt(d.component,v,w);else{if(B&128){d.suspense.unmount(v,w);return}Q&&Ht(d,null,h,"beforeUnmount"),B&64?d.type.remove(d,h,v,Ae,w):I&&!I.hasOnce&&(C!==_e||D>0&&D&64)?We(I,h,v,!1,!0):(C===_e&&D&384||!T&&B&16)&&We(L,h,v),w&&Ve(d)}(le&&(re=j&&j.onVnodeUnmounted)||Q)&&Ze(()=>{re&&ct(re,h,d),Q&&Ht(d,null,h,"unmounted")},v)},Ve=d=>{const{type:h,el:v,anchor:w,transition:T}=d;if(h===_e){Be(v,w);return}if(h===Ps){S(d);return}const C=()=>{s(v),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(d.shapeFlag&1&&T&&!T.persisted){const{leave:j,delayLeave:R}=T,L=()=>j(v,C);R?R(d.el,C,L):L()}else C()},Be=(d,h)=>{let v;for(;d!==h;)v=p(d),s(d),d=v;s(h)},mt=(d,h,v)=>{const{bum:w,scope:T,job:C,subTree:j,um:R,m:L,a:I,parent:B,slots:{__:D}}=d;Zo(L),Zo(I),w&&Ss(w),B&&W(D)&&D.forEach(V=>{B.renderCache[V]=void 0}),T.stop(),C&&(C.flags|=8,fe(j,d,h,v)),R&&Ze(R,h),Ze(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(d,h,v,w=!1,T=!1,C=0)=>{for(let j=C;j{if(d.shapeFlag&6)return be(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),v=h&&h[Zu];return v?p(v):h};let Oe=!1;const Qe=(d,h,v)=>{d==null?h._vnode&&fe(h._vnode,null,null,!0):b(h._vnode||null,d,h,null,null,null,v),h._vnode=d,Oe||(Oe=!0,Bo(),Ha(),Oe=!1)},Ae={p:b,um:fe,m:ce,r:Ve,mt:Z,mc:A,pc:Y,pbc:z,n:be,o:e};return{render:Qe,hydrate:void 0,createApp:xd(Qe)}}function Is({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dc(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function pc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pc(t)}function Zo(e){if(e)for(let t=0;tgn(kd);function Se(e,t,n){return hc(e,t,n)}function hc(e,t,n=de){const{immediate:r,deep:s,flush:i,once:o}=n,l=Pe({},n),a=t&&r||!t&&i!=="post";let f;if(Zn){if(i==="sync"){const g=$d();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=ht,g.resume=ht,g.pause=ht,g}}const c=Le;l.call=(g,m,b)=>lt(g,c,m,b);let u=!1;i==="post"?l.scheduler=g=>{Ze(g,c&&c.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(g,m)=>{m?g():Qi(g)}),l.augmentJob=g=>{t&&(g.flags|=4),u&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const p=Ku(e,t,l);return Zn&&(f?f.push(p):a&&p()),p}function Ld(e,t,n){const r=this.proxy,s=Te(e)?e.includes(".")?gc(r,e):()=>r[e]:e.bind(r,r);let i;X(t)?i=t:(i=t.handler,n=t);const o=or(this),l=hc(s,i.bind(r),n);return o(),l}function gc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nt(t)}Modifiers`]||e[`${en(t)}Modifiers`];function Nd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||de;let s=n;const i=t.startsWith("update:"),o=i&&Rd(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>Te(c)?c.trim():c)),o.number&&(s=n.map(uu)));let l,a=r[l=_s(t)]||r[l=_s(Nt(t))];!a&&i&&(a=r[l=_s(en(t))]),a&<(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,lt(f,e,6,s)}}function mc(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(!X(e)){const a=f=>{const c=mc(f,t,!0);c&&(l=!0,Pe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(W(i)?i.forEach(a=>o[a]=null):Pe(o,i),pe(e)&&r.set(e,o),o)}function ss(e,t){return!e||!Gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,en(t))||ie(e,t))}function Jo(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:f,renderCache:c,props:u,data:p,setupState:g,ctx:m,inheritAttrs:b}=e,M=Rr(e);let y,x;try{if(n.shapeFlag&4){const S=s||r,N=S;y=dt(f.call(N,S,c,u,g,p,m)),x=l}else{const S=t;y=dt(S.length>1?S(u,{attrs:l,slots:o,emit:a}):S(u,null)),x=t.props?l:jd(l)}}catch(S){jn.length=0,ts(S,e,1),y=Re(ze)}let _=y;if(x&&b!==!1){const S=Object.keys(x),{shapeFlag:N}=_;S.length&&N&7&&(i&&S.some(Bi)&&(x=Dd(x,i)),_=Dt(_,x,!1,!0))}return n.dirs&&(_=Dt(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Wn(_,n.transition),y=_,Rr(M),y}const jd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gr(n))&&((t||(t={}))[n]=e[n]);return t},Dd=(e,t)=>{const n={};for(const r in e)(!Bi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fd(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Qo(r,o,f):!!o;if(a&8){const c=t.dynamicProps;for(let u=0;ue.__isSuspense;function Hd(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Gu(e)}const _e=Symbol.for("v-fgt"),is=Symbol.for("v-txt"),ze=Symbol.for("v-cmt"),Ps=Symbol.for("v-stc"),jn=[];let Je=null;function xe(e=!1){jn.push(Je=e?null:[])}function Vd(){jn.pop(),Je=jn[jn.length-1]||null}let Xn=1;function el(e,t=!1){Xn+=e,e<0&&Je&&t&&(Je.hasOnce=!0)}function yc(e){return e.dynamicChildren=Xn>0?Je||cn:null,Vd(),Xn>0&&Je&&Je.push(e),e}function je(e,t,n,r,s,i){return yc(ve(e,t,n,r,s,i,!0))}function Yn(e,t,n,r,s){return yc(Re(e,t,n,r,s,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function Xt(e,t){return e.type===t.type&&e.key===t.key}const vc=({key:e})=>e??null,Or=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Ie(e)||X(e)?{i:He,r:e,k:t,f:!!n}:e:null);function ve(e,t=null,n=null,r=0,s=null,i=e===_e?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vc(t),ref:t&&Or(t),scopeId:Ba,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:He};return l?(io(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Te(n)?8:16),Xn>0&&!o&&Je&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Je.push(a),a}const Re=Bd;function Bd(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===ud)&&(e=ze),Gn(e)){const l=Dt(e,t,!0);return n&&io(l,n),Xn>0&&!i&&Je&&(l.shapeFlag&6?Je[Je.indexOf(e)]=l:Je.push(l)),l.patchFlag=-2,l}if(Zd(e)&&(e=e.__vccOpts),t){t=Ud(t);let{class:l,style:a}=t;l&&!Te(l)&&(t.class=st(l)),pe(a)&&(Ji(a)&&!W(a)&&(a=Pe({},a)),t.style=un(a))}const o=Te(e)?1:bc(e)?128:Ua(e)?64:pe(e)?4:X(e)?2:0;return ve(e,t,n,r,s,o,i,!0)}function Ud(e){return e?Ji(e)||oc(e)?Pe({},e):e:null}function Dt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,f=t?xc(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&vc(f),ref:t&&t.ref?n&&i?W(i)?i.concat(Or(t)):[i,Or(t)]:Or(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!==_e?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&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Wn(c,a.clone(c)),c}function In(e=" ",t=0){return Re(is,null,e,t)}function Mr(e="",t=!1){return t?(xe(),Yn(ze,null,e)):Re(ze,null,e)}function dt(e){return e==null||typeof e=="boolean"?Re(ze):W(e)?Re(_e,null,e.slice()):Gn(e)?Pt(e):Re(is,null,String(e))}function Pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function io(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),io(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!oc(t)?t._ctx=He:s===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:He},n=32):(t=String(t),r&64?(n=16,t=[In(t)]):n=8);e.children=t,e.shapeFlag|=n}function xc(...e){const t={};for(let n=0;nLe||He;let Dr,Mi;{const e=Qr(),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)}};Dr=t("__VUE_INSTANCE_SETTERS__",n=>Le=n),Mi=t("__VUE_SSR_SETTERS__",n=>Zn=n)}const or=e=>{const t=Le;return Dr(e),e.scope.on(),()=>{e.scope.off(),Dr(t)}},tl=()=>{Le&&Le.scope.off(),Dr(null)};function Mc(e){return e.vnode.shapeFlag&4}let Zn=!1;function Xd(e,t=!1,n=!1){t&&Mi(t);const{props:r,children:s}=e.vnode,i=Mc(e);_d(e,r,i,t),Od(e,s,n||t);const o=i?Yd(e,t):void 0;return t&&Mi(!1),o}function Yd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,dd);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?Sc(e):null,i=or(e),o=ir(r,e,0,[e.props,s]),l=pa(o);if(St(),i(),(l||e.sp)&&!hn(e)&&Ga(e),l){if(o.then(tl,tl),t)return o.then(a=>{nl(e,a)}).catch(a=>{ts(a,e,0)});e.asyncDep=o}else nl(e,o)}else _c(e)}function nl(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Da(t)),_c(e)}function _c(e,t,n){const r=e.type;e.render||(e.render=r.render||ht);{const s=or(e);_t();try{hd(e)}finally{St(),s()}}}const Gd={get(e,t){return Fe(e,"get",""),e[t]}};function Sc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Gd),slots:e.slots,emit:e.emit,expose:t}}function oo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Da(zu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nn)return Nn[n](e)},has(t,n){return n in t||n in Nn}})):e.proxy}function Zd(e){return X(e)&&"__vccOpts"in e}const gt=(e,t)=>Uu(e,t,Zn);function lo(e,t,n){const r=arguments.length;return r===2?pe(t)&&!W(t)?Gn(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gn(n)&&(n=[n]),Re(e,t,n))}const Jd="3.5.14";/** +* @vue/runtime-dom v3.5.14 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _i;const rl=typeof window<"u"&&window.trustedTypes;if(rl)try{_i=rl.createPolicy("vue",{createHTML:e=>e})}catch{}const Tc=_i?e=>_i.createHTML(e):e=>e,Qd="http://www.w3.org/2000/svg",e0="http://www.w3.org/1998/Math/MathML",vt=typeof document<"u"?document:null,sl=vt&&vt.createElement("template"),t0={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"?vt.createElementNS(Qd,e):t==="mathml"?vt.createElementNS(e0,e):n?vt.createElement(e,{is:n}):vt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.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{sl.innerHTML=Tc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=sl.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]}},At="transition",Cn="animation",Jn=Symbol("_vtc"),wc={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},n0=Pe({},qa,wc),r0=e=>(e.displayName="Transition",e.props=n0,e),il=r0((e,{slots:t})=>lo(ed,s0(e),t)),Bt=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},ol=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function s0(e){const t={};for(const k in e)k in wc||(t[k]=e[k]);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:f=o,appearToClass:c=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,m=i0(s),b=m&&m[0],M=m&&m[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:_,onLeave:S,onLeaveCancelled:N,onBeforeAppear:E=y,onAppear:O=x,onAppearCancelled:A=_}=t,P=(k,U,Z,se)=>{k._enterCancelled=se,Ut(k,U?c:l),Ut(k,U?f:o),Z&&Z()},z=(k,U)=>{k._isLeaving=!1,Ut(k,u),Ut(k,g),Ut(k,p),U&&U()},H=k=>(U,Z)=>{const se=k?O:x,ee=()=>P(U,k,Z);Bt(se,[U,ee]),ll(()=>{Ut(U,k?a:i),yt(U,k?c:l),ol(se)||al(U,r,b,ee)})};return Pe(t,{onBeforeEnter(k){Bt(y,[k]),yt(k,i),yt(k,o)},onBeforeAppear(k){Bt(E,[k]),yt(k,a),yt(k,f)},onEnter:H(!1),onAppear:H(!0),onLeave(k,U){k._isLeaving=!0;const Z=()=>z(k,U);yt(k,u),k._enterCancelled?(yt(k,p),ul()):(ul(),yt(k,p)),ll(()=>{k._isLeaving&&(Ut(k,u),yt(k,g),ol(S)||al(k,r,M,Z))}),Bt(S,[k,Z])},onEnterCancelled(k){P(k,!1,void 0,!0),Bt(_,[k])},onAppearCancelled(k){P(k,!0,void 0,!0),Bt(A,[k])},onLeaveCancelled(k){z(k),Bt(N,[k])}})}function i0(e){if(e==null)return null;if(pe(e))return[ks(e.enter),ks(e.leave)];{const t=ks(e);return[t,t]}}function ks(e){return du(e)}function yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jn]||(e[Jn]=new Set)).add(t)}function Ut(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Jn];n&&(n.delete(t),n.size||(e[Jn]=void 0))}function ll(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let o0=0;function al(e,t,n,r){const s=e._endId=++o0,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=l0(e,t);if(!o)return r();const f=o+"end";let c=0;const u=()=>{e.removeEventListener(f,p),i()},p=g=>{g.target===e&&++c>=a&&u()};setTimeout(()=>{c(n[m]||"").split(", "),s=r(`${At}Delay`),i=r(`${At}Duration`),o=cl(s,i),l=r(`${Cn}Delay`),a=r(`${Cn}Duration`),f=cl(l,a);let c=null,u=0,p=0;t===At?o>0&&(c=At,u=o,p=i.length):t===Cn?f>0&&(c=Cn,u=f,p=a.length):(u=Math.max(o,f),c=u>0?o>f?At:Cn:null,p=c?c===At?i.length:a.length:0);const g=c===At&&/\b(transform|all)(,|$)/.test(r(`${At}Property`).toString());return{type:c,timeout:u,propCount:p,hasTransform:g}}function cl(e,t){for(;e.lengthfl(n)+fl(e[r])))}function fl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ul(){return document.body.offsetHeight}function a0(e,t,n){const r=e[Jn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const dl=Symbol("_vod"),c0=Symbol("_vsh"),f0=Symbol(""),u0=/(^|;)\s*display\s*:/;function d0(e,t,n){const r=e.style,s=Te(n);let i=!1;if(n&&!s){if(t)if(Te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Cr(r,l,"")}else for(const o in t)n[o]==null&&Cr(r,o,"");for(const o in n)o==="display"&&(i=!0),Cr(r,o,n[o])}else if(s){if(t!==n){const o=r[f0];o&&(n+=";"+o),r.cssText=n,i=u0.test(n)}}else t&&e.removeAttribute("style");dl in e&&(e[dl]=i?r.display:"",e[c0]&&(r.display="none"))}const pl=/\s*!important$/;function Cr(e,t,n){if(W(n))n.forEach(r=>Cr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=p0(e,t);pl.test(n)?e.setProperty(en(r),n.replace(pl,""),"important"):e[r]=n}}const hl=["Webkit","Moz","ms"],$s={};function p0(e,t){const n=$s[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return $s[t]=r;r=ma(r);for(let s=0;sLs||(y0.then(()=>Ls=0),Ls=Date.now());function x0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;lt(M0(r,n.value),t,5,[r])};return n.value=e,n.attached=v0(),n}function M0(e,t){if(W(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 xl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_0=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?a0(e,r,o):t==="style"?d0(e,n,r):Gr(t)?Bi(t)||m0(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):S0(e,t,r,o))?(bl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ml(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Te(r))?bl(e,Nt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ml(e,t,r,o))};function S0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xl(t)&&X(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 xl(t)&&Te(n)?!1:t in e}const T0=Pe({patchProp:_0},t0);let Ml;function w0(){return Ml||(Ml=Ad(T0))}const O0=(...e)=>{const t=w0().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=A0(r);if(!s)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,C0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function C0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function A0(e){return Te(e)?document.querySelector(e):e}function Oc(e){return Ma()?(xu(e),!0):!1}const mn=new WeakMap,E0=(...e)=>{var t;const n=e[0],r=(t=_n())==null?void 0:t.proxy;if(r==null&&!Md())throw new Error("injectLocal must be called in setup");return r&&mn.has(r)&&n in mn.get(r)?mn.get(r)[n]:gn(...e)};function I0(e,t){var n;const r=(n=_n())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");mn.has(r)||mn.set(r,Object.create(null));const s=mn.get(r);return s[e]=t,rc(e,t)}function P0(e,t){const n=Symbol(e.name||"InjectionState"),r=void 0;return[(...o)=>{const l=e(...o);return I0(n,l),l},()=>E0(n,r)]}const k0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $0=e=>e!=null,L0=Object.prototype.toString,Fr=e=>L0.call(e)==="[object Object]",Rs=()=>{};function Ar(e){return Array.isArray(e)?e:[e]}function R0(e){return _n()}function N0(e,t){R0()&&to(e,t)}function j0(e,t,n){return Se(e,t,{...n,immediate:!0})}const Cc=k0?window:void 0;function Dn(e){var t;const n=Rn(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ft(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,f,c)=>(l.addEventListener(a,f,c),()=>l.removeEventListener(a,f,c)),s=gt(()=>{const l=Ar(Rn(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=j0(()=>{var l,a;return[(a=(l=s.value)==null?void 0:l.map(f=>Dn(f)))!=null?a:[Cc].filter(f=>f!=null),Ar(Rn(s.value?e[1]:e[0])),Ar(Me(s.value?e[2]:e[1])),Rn(s.value?e[3]:e[2])]},([l,a,f,c])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(f!=null&&f.length))return;const u=Fr(c)?{...c}:c;t.push(...l.flatMap(p=>a.flatMap(g=>f.map(m=>r(p,g,m,u)))))},{flush:"post"}),o=()=>{i(),n()};return Oc(n),o}function D0(){const e=kr(!1),t=_n();return t&&Mn(()=>{e.value=!0},t),e}function F0(e){const t=D0();return gt(()=>(t.value,!!e()))}function z0(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:i=0,window:o=Cc,immediate:l=!0}=n,a=F0(()=>o&&"IntersectionObserver"in o),f=gt(()=>{const m=Rn(e);return Ar(m).map(Dn).filter($0)});let c=Rs;const u=kr(l),p=a.value?Se(()=>[f.value,Dn(r),u.value],([m,b])=>{if(c(),!u.value||!m.length)return;const M=new IntersectionObserver(t,{root:Dn(b),rootMargin:s,threshold:i});m.forEach(y=>y&&M.observe(y)),c=()=>{M.disconnect(),c=Rs}},{immediate:l,flush:"post"}):Rs,g=()=>{c(),p(),u.value=!1};return Oc(g),{isSupported:a,isActive:u,pause(){c(),u.value=!1},resume(){u.value=!0},stop:g}}const Ac=1/60*1e3,H0=typeof performance<"u"?()=>performance.now():()=>Date.now(),Ec=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(H0()),Ac);function V0(e){let t=[],n=[],r=0,s=!1,i=!1;const o=new WeakSet,l={schedule:(a,f=!1,c=!1)=>{const u=c&&s,p=u?t:n;return f&&o.add(a),p.indexOf(a)===-1&&(p.push(a),u&&s&&(r=t.length)),a},cancel:a=>{const f=n.indexOf(a);f!==-1&&n.splice(f,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 f=0;f(e[t]=V0(()=>Qn=!0),e),{}),wi=lr.reduce((e,t)=>{const n=os[t];return e[t]=(r,s=!1,i=!1)=>(Qn||K0(),n.schedule(r,s,i)),e},{}),U0=lr.reduce((e,t)=>(e[t]=os[t].cancel,e),{});lr.reduce((e,t)=>(e[t]=()=>os[t].process(bn),e),{});const q0=e=>os[e].process(bn),Ic=e=>{Qn=!1,bn.delta=Si?Ac:Math.max(Math.min(e-bn.timestamp,B0),1),bn.timestamp=e,Ti=!0,lr.forEach(q0),Ti=!1,Qn&&(Si=!1,Ec(Ic))},K0=()=>{Qn=!0,Si=!0,Ti||Ec(Ic)},Pc=()=>bn;function kc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);sMath.min(Math.max(n,e),t),Sl=.001,W0=.01,X0=10,Y0=.05,G0=1;function Z0({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=Oi(Y0,G0,o),e=Oi(W0,X0,e/1e3),o<1?(s=f=>{const c=f*o,u=c*e,p=c-n,g=Ci(f,o),m=Math.exp(-u);return Sl-p/g*m},i=f=>{const u=f*o*e,p=u*n+n,g=Math.pow(o,2)*Math.pow(f,2)*e,m=Math.exp(-u),b=Ci(Math.pow(f,2),o);return(-s(f)+Sl>0?-1:1)*((p-g)*m)/b}):(s=f=>{const c=Math.exp(-f*e),u=(f-n)*e+1;return-.001+c*u},i=f=>{const c=Math.exp(-f*e),u=(n-f)*(e*e);return c*u});const l=5/e,a=Q0(s,i,l);if(e=e*1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(a,2)*r;return{stiffness:f,damping:o*2*Math.sqrt(r*f),duration:e}}}const J0=12;function Q0(e,t,n){let r=n;for(let s=1;se[n]!==void 0)}function np(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Tl(e,tp)&&Tl(e,ep)){const n=Z0(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function ao(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:s}=e,i=kc(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:f,velocity:c,duration:u,isResolvedFromDuration:p}=np(i),g=wl,m=wl;function b(){const M=c?-(c/1e3):0,y=n-t,x=a/(2*Math.sqrt(l*f)),_=Math.sqrt(l/f)/1e3;if(s===void 0&&(s=Math.min(Math.abs(n-t)/100,.4)),x<1){const S=Ci(_,x);g=N=>{const E=Math.exp(-x*_*N);return n-E*((M+x*_*y)/S*Math.sin(S*N)+y*Math.cos(S*N))},m=N=>{const E=Math.exp(-x*_*N);return x*_*E*(Math.sin(S*N)*(M+x*_*y)/S+y*Math.cos(S*N))-E*(Math.cos(S*N)*(M+x*_*y)-S*y*Math.sin(S*N))}}else if(x===1)g=S=>n-Math.exp(-_*S)*(y+(M+_*y)*S);else{const S=_*Math.sqrt(x*x-1);g=N=>{const E=Math.exp(-x*_*N),O=Math.min(S*N,300);return n-E*((M+x*_*y)*Math.sinh(O)+S*y*Math.cosh(O))/S}}}return b(),{next:M=>{const y=g(M);if(p)o.done=M>=u;else{const x=m(M)*1e3,_=Math.abs(x)<=r,S=Math.abs(n-y)<=s;o.done=_&&S}return o.value=o.done?n:y,o},flipTarget:()=>{c=-c,[t,n]=[n,t],b()}}}ao.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const wl=e=>0,$c=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},co=(e,t,n)=>-n*e+n*t+e,Lc=(e,t)=>n=>Math.max(Math.min(n,t),e),Fn=e=>e%1?Number(e.toFixed(5)):e,er=/(-)?([\d]*\.?[\d])+/g,Ai=/(#[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,rp=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ar(e){return typeof e=="string"}const cr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},zn=Object.assign(Object.assign({},cr),{transform:Lc(0,1)}),_r=Object.assign(Object.assign({},cr),{default:1}),fo=e=>({test:t=>ar(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),qt=fo("deg"),Hn=fo("%"),G=fo("px"),Ol=Object.assign(Object.assign({},Hn),{parse:e=>Hn.parse(e)/100,transform:e=>Hn.transform(e*100)}),uo=(e,t)=>n=>!!(ar(n)&&rp.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Rc=(e,t,n)=>r=>{if(!ar(r))return r;const[s,i,o,l]=r.match(er);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Yt={test:uo("hsl","hue"),parse:Rc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Hn.transform(Fn(t))+", "+Hn.transform(Fn(n))+", "+Fn(zn.transform(r))+")"},sp=Lc(0,255),Ns=Object.assign(Object.assign({},cr),{transform:e=>Math.round(sp(e))}),$t={test:uo("rgb","red"),parse:Rc("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ns.transform(e)+", "+Ns.transform(t)+", "+Ns.transform(n)+", "+Fn(zn.transform(r))+")"};function ip(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 Ei={test:uo("#"),parse:ip,transform:$t.transform},Ge={test:e=>$t.test(e)||Ei.test(e)||Yt.test(e),parse:e=>$t.test(e)?$t.parse(e):Yt.test(e)?Yt.parse(e):Ei.parse(e),transform:e=>ar(e)?e:e.hasOwnProperty("red")?$t.transform(e):Yt.transform(e)},Nc="${c}",jc="${n}";function op(e){var t,n,r,s;return isNaN(e)&&ar(e)&&((n=(t=e.match(er))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((s=(r=e.match(Ai))===null||r===void 0?void 0:r.length)!==null&&s!==void 0?s:0)>0}function Dc(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Ai);r&&(n=r.length,e=e.replace(Ai,Nc),t.push(...r.map(Ge.parse)));const s=e.match(er);return s&&(e=e.replace(er,jc),t.push(...s.map(cr.parse))),{values:t,numColors:n,tokenised:e}}function Fc(e){return Dc(e).values}function zc(e){const{values:t,numColors:n,tokenised:r}=Dc(e),s=t.length;return i=>{let o=r;for(let l=0;ltypeof e=="number"?0:e;function ap(e){const t=Fc(e);return zc(e)(t.map(lp))}const fr={test:op,parse:Fc,createTransformer:zc,getAnimatableNone:ap},cp=new Set(["brightness","contrast","saturate","opacity"]);function fp(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(er)||[];if(!r)return e;const s=n.replace(r,"");let i=cp.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const up=/([a-z-]*)\(.*?\)/g,Ii=Object.assign(Object.assign({},fr),{getAnimatableNone:e=>{const t=e.match(up);return t?t.map(fp).join(" "):e}});function js(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 Cl({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=js(a,l,e+1/3),i=js(a,l,e),o=js(a,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const dp=(e,t,n)=>{const r=e*e,s=t*t;return Math.sqrt(Math.max(0,n*(s-r)+r))},pp=[Ei,$t,Yt],Al=e=>pp.find(t=>t.test(e)),Hc=(e,t)=>{let n=Al(e),r=Al(t),s=n.parse(e),i=r.parse(t);n===Yt&&(s=Cl(s),n=$t),r===Yt&&(i=Cl(i),r=$t);const o=Object.assign({},s);return l=>{for(const a in o)a!=="alpha"&&(o[a]=dp(s[a],i[a],l));return o.alpha=co(s.alpha,i.alpha,l),n.transform(o)}},hp=e=>typeof e=="number",gp=(e,t)=>n=>t(e(n)),Vc=(...e)=>e.reduce(gp);function Bc(e,t){return hp(e)?n=>co(e,t,n):Ge.test(e)?Hc(e,t):qc(e,t)}const Uc=(e,t)=>{const n=[...e],r=n.length,s=e.map((i,o)=>Bc(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Bc(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}};function El(e){const t=fr.parse(e),n=t.length;let r=0,s=0,i=0;for(let o=0;o{const n=fr.createTransformer(t),r=El(e),s=El(t);return r.numHSL===s.numHSL&&r.numRGB===s.numRGB&&r.numNumbers>=s.numNumbers?Vc(Uc(r.parsed,s.parsed),n):o=>`${o>0?t:e}`},bp=(e,t)=>n=>co(e,t,n);function yp(e){if(typeof e=="number")return bp;if(typeof e=="string")return Ge.test(e)?Hc:qc;if(Array.isArray(e))return Uc;if(typeof e=="object")return mp}function vp(e,t,n){const r=[],s=n||yp(e[0]),i=e.length-1;for(let o=0;on($c(e,t,r))}function Mp(e,t){const n=e.length,r=n-1;return s=>{let i=0,o=!1;if(s<=e[0]?o=!0:s>=e[r]&&(i=r-1,o=!0),!o){let a=1;for(;as||a===r);a++);i=a-1}const l=$c(e[i],e[i+1],s);return t[i](l)}}function Kc(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;_l(i===t.length),_l(!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=vp(t,r,s),l=i===2?xp(e,o):Mp(e,o);return n?a=>l(Oi(e[0],e[i-1],a)):l}const ls=e=>t=>1-e(1-t),po=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_p=e=>t=>Math.pow(t,e),Wc=e=>t=>t*t*((e+1)*t-e),Sp=e=>{const t=Wc(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Xc=1.525,Tp=4/11,wp=8/11,Op=9/10,Yc=e=>e,ho=_p(2),Cp=ls(ho),Gc=po(ho),Zc=e=>1-Math.sin(Math.acos(e)),Jc=ls(Zc),Ap=po(Jc),go=Wc(Xc),Ep=ls(go),Ip=po(go),Pp=Sp(Xc),kp=4356/361,$p=35442/1805,Lp=16061/1805,zr=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-zr(1-e*2)):.5*zr(e*2-1)+.5;function jp(e,t){return e.map(()=>t||Gc).splice(0,e.length-1)}function Dp(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Fp(e,t){return e.map(n=>n*t)}function Er({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=Fp(r&&r.length===o.length?r:Dp(o),s);function a(){return Kc(l,o,{ease:Array.isArray(n)?n:jp(o,n)})}let f=a();return{next:c=>(i.value=f(c),i.done=c>=s,i),flipTarget:()=>{o.reverse(),f=a()}}}function zp({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,f=i===void 0?a:i(a);return f!==a&&(l=f-t),{next:c=>{const u=-l*Math.exp(-c/r);return o.done=!(u>s||u<-s),o.value=o.done?f:f+u,o},flipTarget:()=>{}}}const Il={keyframes:Er,spring:ao,decay:zp};function Hp(e){if(Array.isArray(e.to))return Er;if(Il[e.type])return Il[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Er:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?ao:Er}function Qc(e,t,n=0){return e-t-n}function Vp(e,t,n=0,r=!0){return r?Qc(t+-e,t,n):t-(e-t)+n}function Bp(e,t,n,r){return r?e>=t+n:e<=-n}const Up=e=>{const t=({delta:n})=>e(n);return{start:()=>wi.update(t,!0),stop:()=>U0.update(t)}};function ef(e){var t,n,{from:r,autoplay:s=!0,driver:i=Up,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:f=0,onPlay:c,onStop:u,onComplete:p,onRepeat:g,onUpdate:m}=e,b=kc(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:M}=b,y,x=0,_=b.duration,S,N=!1,E=!0,O;const A=Hp(b);!((n=(t=A).needsInterpolation)===null||n===void 0)&&n.call(t,r,M)&&(O=Kc([0,100],[r,M],{clamp:!1}),r=0,M=100);const P=A(Object.assign(Object.assign({},b),{from:r,to:M}));function z(){x++,a==="reverse"?(E=x%2===0,o=Vp(o,_,f,E)):(o=Qc(o,_,f),a==="mirror"&&P.flipTarget()),N=!1,g&&g()}function H(){y.stop(),p&&p()}function k(Z){if(E||(Z=-Z),o+=Z,!N){const se=P.next(Math.max(0,o));S=se.value,O&&(S=O(S)),N=E?se.done:o<=0}m==null||m(S),N&&(x===0&&(_??(_=o)),x{u==null||u(),y.stop()}}}function tf(e,t){return t?e*(1e3/t):0}function qp({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:f,driver:c,onUpdate:u,onComplete:p,onStop:g}){let m;function b(_){return n!==void 0&&_r}function M(_){return n===void 0?r:r===void 0||Math.abs(n-_){var N;u==null||u(S),(N=_.onUpdate)===null||N===void 0||N.call(_,S)},onComplete:p,onStop:g}))}function x(_){y(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},_))}if(b(e))x({from:e,velocity:t,to:M(e)});else{let _=s*t+e;typeof f<"u"&&(_=f(_));const S=M(_),N=S===n?-1:1;let E,O;const A=P=>{E=O,O=P,t=tf(P-E,Pc().delta),(N===1&&P>S||N===-1&&Pm==null?void 0:m.stop()}}const nf=(e,t)=>1-3*t+3*e,rf=(e,t)=>3*t-6*e,sf=e=>3*e,Hr=(e,t,n)=>((nf(t,n)*e+rf(t,n))*e+sf(t))*e,of=(e,t,n)=>3*nf(t,n)*e*e+2*rf(t,n)*e+sf(t),Kp=1e-7,Wp=10;function Xp(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=Hr(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Kp&&++l=Gp?Zp(o,u,e,n):p===0?u:Xp(o,l,l+Sr,e,n)}return o=>o===0||o===1?o:Hr(i(o),t,r)}const Mt={},Ds={};class Qp{constructor(){tt(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 Pl(e){return!Number.isNaN(Number.parseFloat(e))}class eh{constructor(t){tt(this,"current");tt(this,"prev");tt(this,"timeDelta",0);tt(this,"lastUpdated",0);tt(this,"updateSubscribers",new Qp);tt(this,"stopAnimation");tt(this,"canTrackVelocity",!1);tt(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=Pc();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r),wi.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});tt(this,"scheduleVelocityCheck",()=>wi.postRender(this.velocityCheck));tt(this,"velocityCheck",({timestamp:t})=>{this.canTrackVelocity||(this.canTrackVelocity=Pl(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=Pl(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?tf(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 th(e){return new eh(e)}const{isArray:nh}=Array;function rh(){const e=ae({}),t=r=>{const s=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?nh(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=th(s);return o.onChange(l=>i[r]=l),e.value[r]=o,o};return N0(t),{motionValues:e,get:n,stop:t}}function sh(e){return Array.isArray(e)}function Kt(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Fs(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function ih(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function zs(){return{type:"keyframes",ease:"linear",duration:300}}function oh(e){return{type:"keyframes",duration:800,values:e}}const kl={default:ih,x:Kt,y:Kt,z:Kt,rotate:Kt,rotateX:Kt,rotateY:Kt,rotateZ:Kt,scaleX:Fs,scaleY:Fs,scale:Fs,backgroundColor:zs,color:zs,opacity:zs};function lf(e,t){let n;return sh(t)?n=oh:n=kl[e]||kl.default,{to:t,...n(t)}}const $l={...cr,transform:Math.round},af={color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,size:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,rotate:qt,rotateX:qt,rotateY:qt,rotateZ:qt,scale:_r,scaleX:_r,scaleY:_r,scaleZ:_r,skew:qt,skewX:qt,skewY:qt,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:zn,originX:Ol,originY:Ol,originZ:G,zIndex:$l,filter:Ii,WebkitFilter:Ii,fillOpacity:zn,strokeOpacity:zn,numOctaves:$l},mo=e=>af[e];function Pi(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function lh(e,t){let n=mo(e);return n!==Ii&&(n=fr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ah={linear:Yc,easeIn:ho,easeInOut:Gc,easeOut:Cp,circIn:Zc,circInOut:Ap,circOut:Jc,backIn:go,backInOut:Ip,backOut:Ep,anticipate:Pp,bounceIn:Rp,bounceInOut:Np,bounceOut:zr};function Ll(e){if(Array.isArray(e)){const[t,n,r,s]=e;return Jp(t,n,r,s)}else if(typeof e=="string")return ah[e];return e}function ch(e){return Array.isArray(e)&&typeof e[0]!="number"}function Rl(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&fr.test(t)&&!t.startsWith("url("))}function fh(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function uh({ease:e,times:t,delay:n,...r}){const s={...r};return t&&(s.offset=t),e&&(s.ease=ch(e)?e.map(Ll):Ll(e)),n&&(s.elapsed=-n),s}function dh(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),fh(t),ph(e)||(e={...e,...lf(n,t.to)}),{...t,...uh(e)}}function ph({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:s,...i}){return!!Object.keys(i).length}function hh(e,t){return e[t]||e.default||e}function gh(e,t,n,r,s){const i=hh(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const l=Rl(e,n);o==="none"&&l&&typeof n=="string"&&(o=lh(e,n));const a=Rl(e,o);function f(u){const p={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:g=>t.set(g)};return i.type==="inertia"||i.type==="decay"?qp({...p,...i}):ef({...dh(i,p,e),onUpdate:g=>{p.onUpdate(g),i.onUpdate&&i.onUpdate(g)},onComplete:()=>{s&&s(),u&&u()}})}function c(u){return t.set(n),s&&s(),u&&u(),{stop:()=>{}}}return!a||!l||i.type===!1?c:f}function mh(){const{motionValues:e,stop:t,get:n}=rh();return{motionValues:e,stop:t,push:(s,i,o,l={},a)=>{const f=o[s],c=n(s,f,o);if(l&&l.immediate){c.set(i);return}const u=gh(s,c,i,l,a);c.start(u)}}}function bh(e,t={},{motionValues:n,push:r,stop:s}=mh()){const i=Me(t),o=ae(!1);Se(n,u=>{o.value=Object.values(u).filter(p=>p.isAnimating()).length>0},{immediate:!0,deep:!0});const l=u=>{if(!i||!i[u])throw new Error(`The variant ${u} does not exist.`);return i[u]},a=u=>{typeof u=="string"&&(u=l(u));const p=Object.entries(u).map(([m,b])=>{if(m!=="transition")return new Promise(M=>r(m,b,e,u.transition||lf(m,u[m]),M))}).filter(Boolean);async function g(){var m,b;await Promise.all(p),(b=(m=u.transition)==null?void 0:m.onComplete)==null||b.call(m)}return Promise.all([g()])};return{isAnimating:o,apply:a,set:u=>{const p=Fr(u)?u:l(u);Object.entries(p).forEach(([g,m])=>{g!=="transition"&&r(g,m,e,{immediate:!0})})},leave:async u=>{let p;if(i&&(i.leave&&(p=i.leave),!i.leave&&i.initial&&(p=i.initial)),!p){u();return}await a(p),u()},stop:s}}const bo=typeof window<"u",yh=()=>bo&&(window.onpointerdown===null||(Mt==null?void 0:Mt.TEST)),vh=()=>bo&&(window.ontouchstart===null||(Mt==null?void 0:Mt.TEST)),xh=()=>bo&&(window.onmousedown===null||(Mt==null?void 0:Mt.TEST));function Mh({target:e,state:t,variants:n,apply:r}){const s=Me(n),i=ae(!1),o=ae(!1),l=ae(!1),a=gt(()=>{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}),f=gt(()=>{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 u in c)a.value.includes(u)||delete c[u];return c});s.hovered&&(ft(e,"mouseenter",()=>i.value=!0),ft(e,"mouseleave",()=>{i.value=!1,o.value=!1})),s.tapped&&(xh()&&(ft(e,"mousedown",()=>o.value=!0),ft(e,"mouseup",()=>o.value=!1)),yh()&&(ft(e,"pointerdown",()=>o.value=!0),ft(e,"pointerup",()=>o.value=!1)),vh()&&(ft(e,"touchstart",()=>o.value=!0),ft(e,"touchend",()=>o.value=!1))),s.focused&&(ft(e,"focus",()=>l.value=!0),ft(e,"blur",()=>l.value=!1)),Se([i,o,l],()=>{r(f.value)})}function _h({set:e,target:t,variants:n,variant:r}){const s=Me(n);Se(()=>t,()=>{s&&(s.initial&&(e("initial"),r.value="initial"),s.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function Sh({state:e,apply:t}){Se(e,n=>{n&&t(n)},{immediate:!0})}function cf({target:e,variants:t,variant:n}){const r=Me(t);r&&(r.visible||r.visibleOnce)&&z0(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 Th(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&_h(e),t.syncVariants&&Sh(e),t.visibilityHooks&&cf(e),t.eventListeners&&Mh(e)}function ff(e={}){const t=tn({...e}),n=ae({});return Se(t,()=>{const r={};for(const[s,i]of Object.entries(t)){const o=mo(s),l=Pi(i,o);r[s]=l}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function yo(e,t){Se(()=>Dn(e),n=>{n&&t(n)},{immediate:!0})}const wh={x:"translateX",y:"translateY",z:"translateZ"};function uf(e={},t=!0){const n=tn({...e}),r=ae("");return Se(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=>Pi(a,G)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,a]of Object.entries(s)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const f=mo(l),c=Pi(a,f);i+=`${wh[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Oh=["","X","Y","Z"],Ch=["perspective","translate","scale","rotate","skew"],df=["transformPerspective","x","y","z"];Ch.forEach(e=>{Oh.forEach(t=>{const n=e+t;df.push(n)})});const Ah=new Set(df);function vo(e){return Ah.has(e)}const Eh=new Set(["originX","originY","originZ"]);function pf(e){return Eh.has(e)}function Ih(e){const t={},n={};return Object.entries(e).forEach(([r,s])=>{vo(r)||pf(r)?t[r]=s:n[r]=s}),{transform:t,style:n}}function as(e){const{transform:t,style:n}=Ih(e),{transform:r}=uf(t),{style:s}=ff(n);return r.value&&(s.value.transform=r.value),s.value}function Ph(e,t){let n,r;const{state:s,style:i}=ff();return yo(e,o=>{r=o;for(const l of Object.keys(af))o.style[l]===null||o.style[l]===""||vo(l)||pf(l)||(s[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(s)}),Se(i,o=>{if(!r){n=o;return}for(const l in o)r.style[l]=o[l]},{immediate:!0}),{style:s}}function kh(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())),f=a.length===1?a[0]:a;return{...r,[i]:f}},{})}function $h(e,t){Object.entries(kh(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 Lh(e,t){let n,r;const{state:s,transform:i}=uf();return yo(e,o=>{r=o,o.style.transform&&$h(s,o.style.transform),n&&(o.style.transform=n),t&&t(s)}),Se(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:s}}function Rh(e){return Object.entries(e)}function Nh(e,t){const n=tn({}),r=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:s}=Ph(e,r),{transform:i}=Lh(e,r);return Se(n,o=>{Rh(o).forEach(([l,a])=>{const f=vo(l)?i:s;f[l]&&f[l]===a||(f[l]=a)})},{immediate:!0,deep:!0}),yo(e,()=>t),{motionProperties:n,style:s,transform:i}}function jh(e={}){const t=Me(e),n=ae();return{state:gt(()=>{if(n.value)return t[n.value]}),variant:n}}function hf(e,t={},n){const{motionProperties:r}=Nh(e),{variant:s,state:i}=jh(t),o=bh(r,t),l={target:e,variant:s,variants:t,state:i,motionProperties:r,...o};return Th(l,n),l}const gf=["delay","duration"],Dh=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...gf];function Fh(e){return gf.includes(e)}function zh(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Fr(n.variants)&&(t.value={...t.value,...n.variants});for(let r of Dh)if(!(!n||!n[r])){if(Fh(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(Fr(n[r])){const s=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=s}}}}function Hs(e,t=!1){return{created:(s,i,o)=>{const l=i.value&&typeof i.value=="string"?i.value:o.key;l&&Ds[l]&&Ds[l].stop();const a=t?structuredClone(te(e)||{}):e||{},f=ae(a);typeof i.value=="object"&&(f.value=i.value),zh(o,f);const u=hf(s,f,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});s.motionInstance=u,l&&(Ds[l]=u)},mounted:(s,i,o)=>{s.motionInstance&&cf(s.motionInstance)},getSSRProps(s,i){let{initial:o}=s.value||i&&(i==null?void 0:i.props)||{};o=Me(o);const l=ua({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:as(l)}}}}const Hh={initial:{opacity:0},enter:{opacity:1}},Vh={initial:{opacity:0},visible:{opacity:1}},Bh={initial:{opacity:0},visibleOnce:{opacity:1}},Uh={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},qh={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Kh={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Wh={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xh={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Yh={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Gh={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Zh={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Jh={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Qh={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},e1={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},t1={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},n1={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},r1={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},s1={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},i1={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},o1={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},l1={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},a1={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},c1={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},f1={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},u1={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},d1={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},p1={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},h1={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},g1={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},m1={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Vr={__proto__:null,fade:Hh,fadeVisible:Vh,fadeVisibleOnce:Bh,pop:Uh,popVisible:qh,popVisibleOnce:Kh,rollBottom:n1,rollLeft:Wh,rollRight:Gh,rollTop:Qh,rollVisibleBottom:r1,rollVisibleLeft:Xh,rollVisibleOnceBottom:s1,rollVisibleOnceLeft:Yh,rollVisibleOnceRight:Jh,rollVisibleOnceTop:t1,rollVisibleRight:Zh,rollVisibleTop:e1,slideBottom:h1,slideLeft:i1,slideRight:a1,slideTop:u1,slideVisibleBottom:g1,slideVisibleLeft:o1,slideVisibleOnceBottom:m1,slideVisibleOnceLeft:l1,slideVisibleOnceRight:f1,slideVisibleOnceTop:p1,slideVisibleRight:c1,slideVisibleTop:d1};function b1(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 mf=Symbol(""),bf={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 y1(e){return Object.prototype.toString.call(e)==="[object Object]"}function ki(e){if(Array.isArray(e))return e.map(ki);if(y1(e)){const t={};for(const n in e)t[n]=ki(e[n]);return t}return e}function yf(e){const t=tn({}),n=gn(mf,{}),r=gt(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(te(n)[e.preset]):e.preset in Vr?structuredClone(Vr[e.preset]):{}),s=gt(()=>({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,f){for(const c of["delay","duration"]){if(f[c]==null)continue;const u=Number.parseInt(f[c]);for(const p of["enter","visible","visibleOnce"]){const g=a[p];g!=null&&(g.transition??(g.transition={}),g.transition[c]=u)}}return a}const o=gt(()=>{const a=ua({},s.value,r.value,e.variants||{});return i({...a},e)});function l(a,f,c){var p;a.props??(a.props={}),(p=a.props).style??(p.style={}),a.props.style={...a.props.style,...c};const u=i(ki(o.value),a.props);return a.props.onVnodeMounted=({el:g})=>{t[f]=hf(g,u)},a.props.onVnodeUpdated=({el:g})=>{const m=as(t[f].state);for(const[b,M]of Object.entries(m))g.style[b]=M},a}return{motionConfig:o,setNodeInstance:l}}const v1=xn({name:"Motion",props:{...bf,is:{type:[String,Object],default:"div"}},setup(e){const t=Qa(),{motionConfig:n,setNodeInstance:r}=yf(e);return()=>{const s=as(n.value.initial||{}),i=lo(e.is,void 0,t);return r(i,0,s),i}}}),x1=xn({name:"MotionGroup",props:{...bf,is:{type:[String,Object],required:!1}},setup(e){const t=Qa(),{motionConfig:n,setNodeInstance:r}=yf(e);return()=>{var o;const s=as(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;l{if(typeof e=="number"){if(t===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},_1={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},S1=e=>vf(_1[e.toLowerCase()],6),T1=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,w1=e=>{let t;return(t=e.match(T1))?vf(parseInt(t[1],16),t[1].length):void 0},Rt="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",Vn=`${Rt}%`,xo=`(?:${Rt}%|${Rt})`,O1=`(?:${Rt}(deg|grad|rad|turn)|${Rt})`,vn="\\s*,\\s*",C1=new RegExp(`^rgba?\\(\\s*${Rt}${vn}${Rt}${vn}${Rt}\\s*(?:,\\s*${xo}\\s*)?\\)$`),A1=new RegExp(`^rgba?\\(\\s*${Vn}${vn}${Vn}${vn}${Vn}\\s*(?:,\\s*${xo}\\s*)?\\)$`),E1=e=>{let t={mode:"rgb"},n;if(n=e.match(C1))n[1]!==void 0&&(t.r=n[1]/255),n[2]!==void 0&&(t.g=n[2]/255),n[3]!==void 0&&(t.b=n[3]/255);else if(n=e.match(A1))n[1]!==void 0&&(t.r=n[1]/100),n[2]!==void 0&&(t.g=n[2]/100),n[3]!==void 0&&(t.b=n[3]/100);else return;return n[4]!==void 0?t.alpha=Math.max(0,Math.min(1,n[4]/100)):n[5]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+n[5]))),t},I1=(e,t)=>e===void 0?void 0:typeof e!="object"?z1(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,Mo=(e="rgb")=>t=>(t=I1(t,e))!==void 0?t.mode===e?t:pt[t.mode][e]?pt[t.mode][e](t):e==="rgb"?pt[t.mode].rgb(t):pt.rgb[e](pt[t.mode].rgb(t)):void 0,pt={},xf={},Br=[],Mf={},P1=e=>e,oe=e=>(pt[e.mode]={...pt[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{pt[t]||(pt[t]={}),pt[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]=="function"&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=P1)}),xf[e.mode]=e,(e.parse||[]).forEach(t=>{$1(t,e.mode)}),Mo(e.mode)),k1=e=>xf[e],$1=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");Mf[e]=t}else typeof e=="function"&&Br.indexOf(e)<0&&Br.push(e)},$i=/[^\x00-\x7F]|[a-zA-Z_]/,L1=/[^\x00-\x7F]|[-\w]/,$={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"};let q=0;function Tr(e){let t=e[q],n=e[q+1];return t==="-"||t==="+"?/\d/.test(n)||n==="."&&/\d/.test(e[q+2]):t==="."?/\d/.test(n):/\d/.test(t)}function Li(e){if(q>=e.length)return!1;let t=e[q];if($i.test(t))return!0;if(t==="-"){if(e.length-q<2)return!1;let n=e[q+1];return!!(n==="-"||$i.test(n))}return!1}const R1={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function An(e){let t="";if((e[q]==="-"||e[q]==="+")&&(t+=e[q++]),t+=wr(e),e[q]==="."&&/\d/.test(e[q+1])&&(t+=e[q++]+wr(e)),(e[q]==="e"||e[q]==="E")&&((e[q+1]==="-"||e[q+1]==="+")&&/\d/.test(e[q+2])?t+=e[q++]+e[q++]+wr(e):/\d/.test(e[q+1])&&(t+=e[q++]+wr(e))),Li(e)){let n=Ur(e);return n==="deg"||n==="rad"||n==="turn"||n==="grad"?{type:$.Hue,value:t*R1[n]}:void 0}return e[q]==="%"?(q++,{type:$.Percentage,value:+t}):{type:$.Number,value:+t}}function wr(e){let t="";for(;/\d/.test(e[q]);)t+=e[q++];return t}function Ur(e){let t="";for(;q4)){if(n.length===4){if(n[3].type!==$.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:$.None,value:void 0}),n.every(s=>s.type!==$.Alpha)?n:void 0}}function F1(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==$.Function)return;let r=_f(e,t);if(r)return r.unshift(n.value),r}const z1=e=>{if(typeof e!="string")return;const t=j1(e),n=t?F1(t,!0):void 0;let r,s=0,i=Br.length;for(;se==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,B1=(e,t,n)=>e+n*(t-e),U1=e=>{let t=[];for(let n=0;nt=>{let n=U1(t);return r=>{let s=r*n.length,i=r>=1?n.length-1:Math.max(Math.floor(s),0),o=n[i];return o===void 0?void 0:e(o[0],o[1],s-i)}},F=q1(B1),Ce=e=>{let t=!1,n=e.map(r=>r!==void 0?(t=!0,r):1);return t?n:e},Sn={mode:"rgb",channels:["r","g","b","alpha"],parse:[H1,w1,E1,S1,V1,"srgb"],serialize:"srgb",interpolate:{r:F,g:F,b:F,alpha:{use:F,fixup:Ce}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},Vs=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),Nl=e=>{let t=Vs(e.r),n=Vs(e.g),r=Vs(e.b),s={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*r,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*r,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Bs=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),jl=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"a98",r:Bs(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:Bs(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:Bs(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return r!==void 0&&(s.alpha=r),s},Us=(e=0)=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},Tn=({r:e,g:t,b:n,alpha:r})=>{let s={mode:"lrgb",r:Us(e),g:Us(t),b:Us(n)};return r!==void 0&&(s.alpha=r),s},nn=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz65",x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r};return s!==void 0&&(i.alpha=s),i},qs=(e=0)=>{const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):e*12.92},wn=({r:e,g:t,b:n,alpha:r},s="rgb")=>{let i={mode:s,r:qs(e),g:qs(t),b:qs(n)};return r!==void 0&&(i.alpha=r),i},rn=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return r!==void 0&&(s.alpha=r),s},K1={...Sn,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>jl(nn(e)),xyz65:jl},toMode:{rgb:e=>rn(Nl(e)),xyz65:Nl}},Ne=e=>(e=e%360)<0?e+360:e,W1=(e,t)=>e.map((n,r,s)=>{if(n===void 0)return n;let i=Ne(n);return r===0||e[r-1]===void 0?i:t(i-Ne(s[r-1]))}).reduce((n,r)=>!n.length||r===void 0||n[n.length-1]===void 0?(n.push(r),n):(n.push(r+n[n.length-1]),n),[]),Ot=e=>W1(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t)),Ee=[-.14861,1.78277,-.29227,-.90649,1.97294,0],X1=Math.PI/180,Y1=180/Math.PI;let Dl=Ee[3]*Ee[4],Fl=Ee[1]*Ee[4],zl=Ee[1]*Ee[2]-Ee[0]*Ee[3];const G1=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(zl*n+e*Dl-t*Fl)/(zl+Dl-Fl),i=n-s,o=(Ee[4]*(t-s)-Ee[2]*i)/Ee[3],l={mode:"cubehelix",l:s,s:s===0||s===1?void 0:Math.sqrt(i*i+o*o)/(Ee[4]*s*(1-s))};return l.s&&(l.h=Math.atan2(o,i)*Y1-120),r!==void 0&&(l.alpha=r),l},Z1=({h:e,s:t,l:n,alpha:r})=>{let s={mode:"rgb"};e=(e===void 0?0:e+120)*X1,n===void 0&&(n=0);let i=t===void 0?0:t*n*(1-n),o=Math.cos(e),l=Math.sin(e);return s.r=n+i*(Ee[0]*o+Ee[1]*l),s.g=n+i*(Ee[2]*o+Ee[3]*l),s.b=n+i*(Ee[4]*o+Ee[5]*l),r!==void 0&&(s.alpha=r),s},cs=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=Ne(e.h),r=Ne(t.h),s=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*s},J1=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=Ne(e.h),r=Ne(t.h);return Math.abs(r-n)>180?n-(r-360*Math.sign(r-n)):r-n},fs=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=Ne(e.h),r=Ne(t.h),s=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*s},Ct=e=>{let t=e.reduce((r,s)=>{if(s!==void 0){let i=s*Math.PI/180;r.sin+=Math.sin(i),r.cos+=Math.cos(i)}return r},{sin:0,cos:0}),n=Math.atan2(t.sin,t.cos)*180/Math.PI;return n<0?360+n:n},Q1={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:G1},toMode:{rgb:Z1},interpolate:{h:{use:F,fixup:Ot},s:F,l:F,alpha:{use:F,fixup:Ce}},difference:{h:cs},average:{h:Ct}},Ft=({l:e,a:t,b:n,alpha:r},s="lch")=>{t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.sqrt(t*t+n*n),o={mode:s,l:e,c:i};return i&&(o.h=Ne(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(o.alpha=r),o},zt=({l:e,c:t,h:n,alpha:r},s="lab")=>{n===void 0&&(n=0);let i={mode:s,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(i.alpha=r),i},Sf=Math.pow(29,3)/Math.pow(3,3),Tf=Math.pow(6,3)/Math.pow(29,3),we={X:.3457/.3585,Y:1,Z:(1-.3457-.3585)/.3585},yn={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329};let Ks=e=>Math.pow(e,3)>Tf?Math.pow(e,3):(116*e-16)/Sf;const wf=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+16)/116,i=t/500+s,o=s-n/200,l={mode:"xyz65",x:Ks(i)*yn.X,y:Ks(s)*yn.Y,z:Ks(o)*yn.Z};return r!==void 0&&(l.alpha=r),l},us=e=>rn(wf(e)),Ws=e=>e>Tf?Math.cbrt(e):(Sf*e+16)/116,Of=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Ws(e/yn.X),i=Ws(t/yn.Y),o=Ws(n/yn.Z),l={mode:"lab65",l:116*i-16,a:500*(s-i),b:200*(i-o)};return r!==void 0&&(l.alpha=r),l},ds=e=>{let t=Of(nn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},qr=1,Cf=1,tr=26/180*Math.PI,Kr=Math.cos(tr),Wr=Math.sin(tr),Af=100/Math.log(139/100),Ri=({l:e,c:t,h:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"lab65",l:(Math.exp(e*qr/Af)-1)/.0039},i=(Math.exp(.0435*t*Cf*qr)-1)/.075,o=i*Math.cos(n/180*Math.PI-tr),l=i*Math.sin(n/180*Math.PI-tr);return s.a=o*Kr-l/.83*Wr,s.b=o*Wr+l/.83*Kr,r!==void 0&&(s.alpha=r),s},Ni=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=t*Kr+n*Wr,i=.83*(n*Kr-t*Wr),o=Math.sqrt(s*s+i*i),l={mode:"dlch",l:Af/qr*Math.log(1+.0039*e),c:Math.log(1+.075*o)/(.0435*Cf*qr)};return l.c&&(l.h=Ne((Math.atan2(i,s)+tr)/Math.PI*180)),r!==void 0&&(l.alpha=r),l},Hl=e=>Ri(Ft(e,"dlch")),Vl=e=>zt(Ni(e),"dlab"),eg={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:Hl,rgb:e=>us(Hl(e))},fromMode:{lab65:Vl,rgb:e=>Vl(ds(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:F,a:F,b:F,alpha:{use:F,fixup:Ce}}},tg={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Ri,dlab:e=>zt(e,"dlab"),rgb:e=>us(Ri(e))},fromMode:{lab65:Ni,dlab:e=>Ft(e,"dlch"),rgb:e=>Ni(ds(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:F,c:F,h:{use:F,fixup:Ot},alpha:{use:F,fixup:Ce}},difference:{h:fs},average:{h:Ct}};function ng({h:e,s:t,i:n,alpha:r}){e=Ne(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r:n*(1+t*(3/(2-s)-1)),g:n*(1+t*(3*(1-s)/(2-s)-1)),b:n*(1-t)};break;case 1:i={r:n*(1+t*(3*(1-s)/(2-s)-1)),g:n*(1+t*(3/(2-s)-1)),b:n*(1-t)};break;case 2:i={r:n*(1-t),g:n*(1+t*(3/(2-s)-1)),b:n*(1+t*(3*(1-s)/(2-s)-1))};break;case 3:i={r:n*(1-t),g:n*(1+t*(3*(1-s)/(2-s)-1)),b:n*(1+t*(3/(2-s)-1))};break;case 4:i={r:n*(1+t*(3*(1-s)/(2-s)-1)),g:n*(1-t),b:n*(1+t*(3/(2-s)-1))};break;case 5:i={r:n*(1+t*(3/(2-s)-1)),g:n*(1-t),b:n*(1+t*(3*(1-s)/(2-s)-1))};break;default:i={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return i.mode="rgb",r!==void 0&&(i.alpha=r),i}function rg({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.max(e,t,n),i=Math.min(e,t,n),o={mode:"hsi",s:e+t+n===0?0:1-3*i/(e+t+n),i:(e+t+n)/3};return s-i!==0&&(o.h=(s===e?(t-n)/(s-i)+(t{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},ag=new RegExp(`^hsla?\\(\\s*${O1}${vn}${Vn}${vn}${Vn}\\s*(?:,\\s*${xo}\\s*)?\\)$`),cg=e=>{let t=e.match(ag);if(!t)return;let n={mode:"hsl"};return t[3]!==void 0?n.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(n.h=lg(t[1],t[2])),t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?n.alpha=Math.max(0,Math.min(1,t[6]/100)):t[7]!==void 0&&(n.alpha=Math.max(0,Math.min(1,+t[7]))),n};function fg(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;const n={mode:"hsl"},[,r,s,i,o]=t;if(r.type!==$.None){if(r.type===$.Percentage)return;n.h=r.value}if(s.type!==$.None){if(s.type===$.Hue)return;n.s=s.value/100}if(i.type!==$.None){if(i.type===$.Hue)return;n.l=i.value/100}return o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const Ef={mode:"hsl",toMode:{rgb:ig},fromMode:{rgb:og},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[fg,cg],serialize:e=>`hsl(${e.h!==void 0?e.h:"none"} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:F,fixup:Ot},s:F,l:F,alpha:{use:F,fixup:Ce}},difference:{h:cs},average:{h:Ct}};function If({h:e,s:t,v:n,alpha:r}){e=Ne(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r:n,g:n*(1-t*s),b:n*(1-t)};break;case 1:i={r:n*(1-t*s),g:n,b:n*(1-t)};break;case 2:i={r:n*(1-t),g:n,b:n*(1-t*s)};break;case 3:i={r:n*(1-t),g:n*(1-t*s),b:n};break;case 4:i={r:n*(1-t*s),g:n*(1-t),b:n};break;case 5:i={r:n,g:n*(1-t),b:n*(1-t*s)};break;default:i={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return i.mode="rgb",r!==void 0&&(i.alpha=r),i}function Pf({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.max(e,t,n),i=Math.min(e,t,n),o={mode:"hsv",s:s===0?0:1-i/s,v:s};return s-i!==0&&(o.h=(s===e?(t-n)/(s-i)+(t1){let s=t+n;t/=s,n/=s}return If({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:r})}function dg(e){let t=Pf(e);if(t===void 0)return;let n=t.s!==void 0?t.s:0,r=t.v!==void 0?t.v:0,s={mode:"hwb",w:(1-n)*r,b:1-r};return t.h!==void 0&&(s.h=t.h),t.alpha!==void 0&&(s.alpha=t.alpha),s}function pg(e,t){if(!t||t[0]!=="hwb")return;const n={mode:"hwb"},[,r,s,i,o]=t;if(r.type!==$.None){if(r.type===$.Percentage)return;n.h=r.value}if(s.type!==$.None){if(s.type===$.Hue)return;n.w=s.value/100}if(i.type!==$.None){if(i.type===$.Hue)return;n.b=i.value/100}return o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const hg={mode:"hwb",toMode:{rgb:ug},fromMode:{rgb:dg},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[pg],serialize:e=>`hwb(${e.h!==void 0?e.h:"none"} ${e.w!==void 0?e.w*100+"%":"none"} ${e.b!==void 0?e.b*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:F,fixup:Ot},w:F,b:F,alpha:{use:F,fixup:Ce}},difference:{h:J1},average:{h:Ct}},$f=203,ps=.1593017578125,Lf=78.84375,hs=.8359375,gs=18.8515625,ms=18.6875;function Xs(e){if(e<0)return 0;const t=Math.pow(e,1/Lf);return 1e4*Math.pow(Math.max(0,t-hs)/(gs-ms*t),1/ps)}function Ys(e){if(e<0)return 0;const t=Math.pow(e/1e4,ps);return Math.pow((hs+gs*t)/(1+ms*t),Lf)}const Gs=e=>Math.max(e/$f,0),Bl=({i:e,t,p:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s=Xs(e+.008609037037932761*t+.11102962500302593*n),i=Xs(e-.00860903703793275*t-.11102962500302599*n),o=Xs(e+.5600313357106791*t-.32062717498731885*n),l={mode:"xyz65",x:Gs(2.070152218389422*s-1.3263473389671556*i+.2066510476294051*o),y:Gs(.3647385209748074*s+.680566024947227*i-.0453045459220346*o),z:Gs(-.049747207535812*s-.0492609666966138*i+1.1880659249923042*o)};return r!==void 0&&(l.alpha=r),l},Zs=(e=0)=>Math.max(e*$f,0),Ul=({x:e,y:t,z:n,alpha:r})=>{const s=Zs(e),i=Zs(t),o=Zs(n),l=Ys(.3592832590121217*s+.6976051147779502*i-.0358915932320289*o),a=Ys(-.1920808463704995*s+1.1004767970374323*i+.0753748658519118*o),f=Ys(.0070797844607477*s+.0748396662186366*i+.8433265453898765*o),c=.5*l+.5*a,u=1.61376953125*l-3.323486328125*a+1.709716796875*f,p=4.378173828125*l-4.24560546875*a-.132568359375*f,g={mode:"itp",i:c,t:u,p};return r!==void 0&&(g.alpha=r),g},gg={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:Bl,rgb:e=>rn(Bl(e))},fromMode:{xyz65:Ul,rgb:e=>Ul(nn(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:F,t:F,p:F,alpha:{use:F,fixup:Ce}}},mg=134.03437499999998,bg=16295499532821565e-27,Js=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,ps);return Math.pow((hs+gs*t)/(1+ms*t),mg)},Qs=(e=0)=>Math.max(e*203,0),Rf=({x:e,y:t,z:n,alpha:r})=>{e=Qs(e),t=Qs(t),n=Qs(n);let s=1.15*e-.15*n,i=.66*t+.34*e,o=Js(.41478972*s+.579999*i+.014648*n),l=Js(-.20151*s+1.120649*i+.0531008*n),a=Js(-.0166008*s+.2648*i+.6684799*n),f=(o+l)/2,c={mode:"jab",j:.44*f/(1-.56*f)-bg,a:3.524*o-4.066708*l+.542708*a,b:.199076*o+1.096799*l-1.295875*a};return r!==void 0&&(c.alpha=r),c},yg=134.03437499999998,ql=16295499532821565e-27,ei=e=>{if(e<0)return 0;let t=Math.pow(e,1/yg);return 1e4*Math.pow((hs-t)/(ms*t-gs),1/ps)},ti=e=>e/203,Nf=({j:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+ql)/(.44+.56*(e+ql)),i=ei(s+.13860504*t+.058047316*n),o=ei(s-.13860504*t-.058047316*n),l=ei(s-.096019242*t-.8118919*n),a={mode:"xyz65",x:ti(1.661373024652174*i-.914523081304348*o+.23136208173913045*l),y:ti(-.3250758611844533*i+1.571847026732543*o-.21825383453227928*l),z:ti(-.090982811*i-.31272829*o+1.5227666*l)};return r!==void 0&&(a.alpha=r),a},jf=e=>{let t=Rf(nn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Df=e=>rn(Nf(e)),vg={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:jf,xyz65:Rf},toMode:{rgb:Df,xyz65:Nf},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:F,a:F,b:F,alpha:{use:F,fixup:Ce}}},Kl=({j:e,a:t,b:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.sqrt(t*t+n*n),i={mode:"jch",j:e,c:s};return s&&(i.h=Ne(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(i.alpha=r),i},Wl=({j:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let s={mode:"jab",j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(s.alpha=r),s},xg={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Wl,rgb:e=>Df(Wl(e))},fromMode:{rgb:e=>Kl(jf(e)),jab:Kl},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:F,fixup:Ot},c:F,j:F,alpha:{use:F,fixup:Ce}},difference:{h:fs},average:{h:Ct}},bs=Math.pow(29,3)/Math.pow(3,3),_o=Math.pow(6,3)/Math.pow(29,3);let ni=e=>Math.pow(e,3)>_o?Math.pow(e,3):(116*e-16)/bs;const So=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+16)/116,i=t/500+s,o=s-n/200,l={mode:"xyz50",x:ni(i)*we.X,y:ni(s)*we.Y,z:ni(o)*we.Z};return r!==void 0&&(l.alpha=r),l},ur=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return r!==void 0&&(s.alpha=r),s},Ff=e=>ur(So(e)),dr=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz50",x:.436065742824811*t+.3851514688337912*n+.14307845442264197*r,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*r,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*r};return s!==void 0&&(i.alpha=s),i},ri=e=>e>_o?Math.cbrt(e):(bs*e+16)/116,To=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=ri(e/we.X),i=ri(t/we.Y),o=ri(n/we.Z),l={mode:"lab",l:116*i-16,a:500*(s-i),b:200*(i-o)};return r!==void 0&&(l.alpha=r),l},zf=e=>{let t=To(dr(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function Mg(e,t){if(!t||t[0]!=="lab")return;const n={mode:"lab"},[,r,s,i,o]=t;if(!(r.type===$.Hue||s.type===$.Hue||i.type===$.Hue))return r.type!==$.None&&(n.l=Math.min(Math.max(0,r.value),100)),s.type!==$.None&&(n.a=s.type===$.Number?s.value:s.value*125/100),i.type!==$.None&&(n.b=i.type===$.Number?i.value:i.value*125/100),o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const wo={mode:"lab",toMode:{xyz50:So,rgb:Ff},fromMode:{xyz50:To,rgb:zf},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[Mg],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:F,a:F,b:F,alpha:{use:F,fixup:Ce}}},_g={...wo,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:wf,rgb:us},fromMode:{xyz65:Of,rgb:ds},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}};function Sg(e,t){if(!t||t[0]!=="lch")return;const n={mode:"lch"},[,r,s,i,o]=t;if(r.type!==$.None){if(r.type===$.Hue)return;n.l=Math.min(Math.max(0,r.value),100)}if(s.type!==$.None&&(n.c=Math.max(0,s.type===$.Number?s.value:s.value*150/100)),i.type!==$.None){if(i.type===$.Percentage)return;n.h=i.value}return o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const Oo={mode:"lch",toMode:{lab:zt,rgb:e=>Ff(zt(e))},fromMode:{rgb:e=>Ft(zf(e)),lab:Ft},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[Sg],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:F,fixup:Ot},c:F,l:F,alpha:{use:F,fixup:Ce}},difference:{h:fs},average:{h:Ct}},Tg={...Oo,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>zt(e,"lab65"),rgb:e=>us(zt(e,"lab65"))},fromMode:{rgb:e=>Ft(ds(e),"lch65"),lab65:e=>Ft(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},Hf=({l:e,u:t,v:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.sqrt(t*t+n*n),i={mode:"lchuv",l:e,c:s};return s&&(i.h=Ne(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(i.alpha=r),i},Vf=({l:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let s={mode:"luv",l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(s.alpha=r),s},Bf=(e,t,n)=>4*e/(e+15*t+3*n),Uf=(e,t,n)=>9*t/(e+15*t+3*n),wg=Bf(we.X,we.Y,we.Z),Og=Uf(we.X,we.Y,we.Z),Cg=e=>e<=_o?bs*e:116*Math.cbrt(e)-16,ji=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Cg(t/we.Y),i=Bf(e,t,n),o=Uf(e,t,n);!isFinite(i)||!isFinite(o)?s=i=o=0:(i=13*s*(i-wg),o=13*s*(o-Og));let l={mode:"luv",l:s,u:i,v:o};return r!==void 0&&(l.alpha=r),l},Ag=(e,t,n)=>4*e/(e+15*t+3*n),Eg=(e,t,n)=>9*t/(e+15*t+3*n),Ig=Ag(we.X,we.Y,we.Z),Pg=Eg(we.X,we.Y,we.Z),Di=({l:e,u:t,v:n,alpha:r})=>{if(e===void 0&&(e=0),e===0)return{mode:"xyz50",x:0,y:0,z:0};t===void 0&&(t=0),n===void 0&&(n=0);let s=t/(13*e)+Ig,i=n/(13*e)+Pg,o=we.Y*(e<=8?e/bs:Math.pow((e+16)/116,3)),l=o*(9*s)/(4*i),a=o*(12-3*s-20*i)/(4*i),f={mode:"xyz50",x:l,y:o,z:a};return r!==void 0&&(f.alpha=r),f},kg=e=>Hf(ji(dr(e))),$g=e=>ur(Di(Vf(e))),Lg={mode:"lchuv",toMode:{luv:Vf,rgb:$g},fromMode:{rgb:kg,luv:Hf},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:F,fixup:Ot},c:F,l:F,alpha:{use:F,fixup:Ce}},difference:{h:fs},average:{h:Ct}},Rg={...Sn,mode:"lrgb",toMode:{rgb:wn},fromMode:{rgb:Tn},parse:["srgb-linear"],serialize:"srgb-linear"},Ng={mode:"luv",toMode:{xyz50:Di,rgb:e=>ur(Di(e))},fromMode:{xyz50:ji,rgb:e=>ji(dr(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:F,u:F,v:F,alpha:{use:F,fixup:Ce}}},qf=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),i=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),o=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n),l={mode:"oklab",l:.2104542553*s+.793617785*i-.0040720468*o,a:1.9779984951*s-2.428592205*i+.4505937099*o,b:.0259040371*s+.7827717662*i-.808675766*o};return r!==void 0&&(l.alpha=r),l},ys=e=>{let t=qf(Tn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},pr=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.pow(e*.9999999984505198+.39633779217376786*t+.2158037580607588*n,3),i=Math.pow(e*1.0000000088817609-.10556134232365635*t-.06385417477170591*n,3),o=Math.pow(e*1.0000000546724108-.08948418209496575*t-1.2914855378640917*n,3),l={mode:"lrgb",r:4.076741661347994*s-3.307711590408193*i+.230969928729428*o,g:-1.2684380040921763*s+2.6097574006633715*i-.3413193963102197*o,b:-.004196086541837188*s-.7034186144594493*i+1.7076147009309444*o};return r!==void 0&&(l.alpha=r),l},vs=e=>wn(pr(e));function Fi(e){const r=1.170873786407767;return .5*(r*e-.206+Math.sqrt((r*e-.206)*(r*e-.206)+4*.03*r*e))}function Xr(e){return(e*e+.206*e)/(1.170873786407767*(e+.03))}function jg(e,t){let n,r,s,i,o,l,a,f;-1.88170328*e-.80936493*t>1?(n=1.19086277,r=1.76576728,s=.59662641,i=.75515197,o=.56771245,l=4.0767416621,a=-3.3077115913,f=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,r=-.45954404,s=.08285427,i=.1254107,o=.14503204,l=-1.2684380046,a=2.6097574011,f=-.3413193965):(n=1.35733652,r=-.00915799,s=-1.1513021,i=-.50559606,o=.00692167,l=-.0041960863,a=-.7034186147,f=1.707614701);let c=n+r*e+s*t+i*e*e+o*e*t,u=.3963377774*e+.2158037573*t,p=-.1055613458*e-.0638541728*t,g=-.0894841775*e-1.291485548*t;{let m=1+c*u,b=1+c*p,M=1+c*g,y=m*m*m,x=b*b*b,_=M*M*M,S=3*u*m*m,N=3*p*b*b,E=3*g*M*M,O=6*u*u*m,A=6*p*p*b,P=6*g*g*M,z=l*y+a*x+f*_,H=l*S+a*N+f*E,k=l*O+a*A+f*P;c=c-z*H/(H*H-.5*z*k)}return c}function Co(e,t){let n=jg(e,t),r=pr({l:1,a:n*e,b:n*t}),s=Math.cbrt(1/Math.max(r.r,r.g,r.b)),i=s*n;return[s,i]}function Dg(e,t,n,r,s,i=null){i||(i=Co(e,t));let o;if((n-s)*i[1]-(i[0]-s)*r<=0)o=i[1]*s/(r*i[0]+i[1]*(s-n));else{o=i[1]*(s-1)/(r*(i[0]-1)+i[1]*(s-n));{let l=n-s,a=r,f=.3963377774*e+.2158037573*t,c=-.1055613458*e-.0638541728*t,u=-.0894841775*e-1.291485548*t,p=l+a*f,g=l+a*c,m=l+a*u;{let b=s*(1-o)+o*n,M=o*r,y=b+M*f,x=b+M*c,_=b+M*u,S=y*y*y,N=x*x*x,E=_*_*_,O=3*p*y*y,A=3*g*x*x,P=3*m*_*_,z=6*p*p*y,H=6*g*g*x,k=6*m*m*_,U=4.0767416621*S-3.3077115913*N+.2309699292*E-1,Z=4.0767416621*O-3.3077115913*A+.2309699292*P,se=4.0767416621*z-3.3077115913*H+.2309699292*k,ee=Z/(Z*Z-.5*U*se),J=-U*ee,Y=-1.2684380046*S+2.6097574011*N-.3413193965*E-1,ne=-1.2684380046*O+2.6097574011*A-.3413193965*P,me=-1.2684380046*z+2.6097574011*H-.3413193965*k,ce=ne/(ne*ne-.5*Y*me),fe=-Y*ce,Ve=-.0041960863*S-.7034186147*N+1.707614701*E-1,Be=-.0041960863*O-.7034186147*A+1.707614701*P,mt=-.0041960863*z-.7034186147*H+1.707614701*k,We=Be/(Be*Be-.5*Ve*mt),be=-Ve*We;J=ee>=0?J:1e6,fe=ce>=0?fe:1e6,be=We>=0?be:1e6,o+=Math.min(J,Math.min(fe,be))}}}return o}function Ao(e,t,n=null){n||(n=Co(e,t));let r=n[0],s=n[1];return[s/r,s/(1-r)]}function Kf(e,t,n){let r=Co(t,n),s=Dg(t,n,e,1,e,r),i=Ao(t,n,r),o=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),l=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),a=s/Math.min(e*i[0],(1-e)*i[1]),f=e*o,c=(1-e)*l,u=.9*a*Math.sqrt(Math.sqrt(1/(1/(f*f*f*f)+1/(c*c*c*c))));return f=e*.4,c=(1-e)*.8,[Math.sqrt(1/(1/(f*f)+1/(c*c))),u,s]}function Xl(e){const t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,r=e.b!==void 0?e.b:0,s={mode:"okhsl",l:Fi(t)};e.alpha!==void 0&&(s.alpha=e.alpha);let i=Math.sqrt(n*n+r*r);if(!i)return s.s=0,s;let[o,l,a]=Kf(t,n/i,r/i),f;if(iXl(ys(e))},toMode:{oklab:Yl,rgb:e=>vs(Yl(e))}};function Gl(e){let t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,r=e.b!==void 0?e.b:0,s=Math.sqrt(n*n+r*r),i=s?n/s:1,o=s?r/s:1,[l,a]=Ao(i,o),f=.5,c=1-f/l,u=a/(s+t*a),p=u*t,g=u*s,m=Xr(p),b=g*m/p,M=pr({l:m,a:i*b,b:o*b}),y=Math.cbrt(1/Math.max(M.r,M.g,M.b,0));t=t/y,s=s/y*Fi(t)/t,t=Fi(t);const x={mode:"okhsv",s:s?(f+a)*g/(a*f+a*c*g):0,v:t?t/p:0};return x.s&&(x.h=Ne(Math.atan2(r,n)*180/Math.PI)),e.alpha!==void 0&&(x.alpha=e.alpha),x}function Zl(e){const t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);const n=e.h!==void 0?e.h:0,r=e.s!==void 0?e.s:0,s=e.v!==void 0?e.v:0,i=Math.cos(n/180*Math.PI),o=Math.sin(n/180*Math.PI),[l,a]=Ao(i,o),f=.5,c=1-f/l,u=1-r*f/(f+a-a*c*r),p=r*a*f/(f+a-a*c*r),g=Xr(u),m=p*g/u,b=pr({l:g,a:i*m,b:o*m}),M=Math.cbrt(1/Math.max(b.r,b.g,b.b,0)),y=Xr(s*u),x=p*y/u;return t.l=y*M,t.a=x*i*M,t.b=x*o*M,t}const zg={...kf,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Gl,rgb:e=>Gl(ys(e))},toMode:{oklab:Zl,rgb:e=>vs(Zl(e))}};function Hg(e,t){if(!t||t[0]!=="oklab")return;const n={mode:"oklab"},[,r,s,i,o]=t;if(!(r.type===$.Hue||s.type===$.Hue||i.type===$.Hue))return r.type!==$.None&&(n.l=Math.min(Math.max(0,r.type===$.Number?r.value:r.value/100),1)),s.type!==$.None&&(n.a=s.type===$.Number?s.value:s.value*.4/100),i.type!==$.None&&(n.b=i.type===$.Number?i.value:i.value*.4/100),o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const Vg={...wo,mode:"oklab",toMode:{lrgb:pr,rgb:vs},fromMode:{lrgb:qf,rgb:ys},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[Hg],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`};function Bg(e,t){if(!t||t[0]!=="oklch")return;const n={mode:"oklch"},[,r,s,i,o]=t;if(r.type!==$.None){if(r.type===$.Hue)return;n.l=Math.min(Math.max(0,r.type===$.Number?r.value:r.value/100),1)}if(s.type!==$.None&&(n.c=Math.max(0,s.type===$.Number?s.value:s.value*.4/100)),i.type!==$.None){if(i.type===$.Percentage)return;n.h=i.value}return o.type!==$.None&&(n.alpha=Math.min(1,Math.max(0,o.type===$.Number?o.value:o.value/100))),n}const Ug={...Oo,mode:"oklch",toMode:{oklab:e=>zt(e,"oklab"),rgb:e=>vs(zt(e,"oklab"))},fromMode:{rgb:e=>Ft(ys(e),"oklch"),oklab:e=>Ft(e,"oklch")},parse:[Bg],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},Jl=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz65",x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r};return s!==void 0&&(i.alpha=s),i},Ql=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},"p3");return r!==void 0&&(s.alpha=r),s},qg={...Sn,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>Ql(nn(e)),xyz65:Ql},toMode:{rgb:e=>rn(Jl(e)),xyz65:Jl}},si=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},ea=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"prophoto",r:si(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:si(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:si(e*0+t*0+1.2119675456389452*n)};return r!==void 0&&(s.alpha=r),s},ii=(e=0)=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},ta=e=>{let t=ii(e.r),n=ii(e.g),r=ii(e.b),s={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*r,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*r,z:0*t+0*n+.8251046025104602*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Kg={...Sn,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:ea,rgb:e=>ea(dr(e))},toMode:{xyz50:ta,rgb:e=>ur(ta(e))}},na=1.09929682680944,Wg=.018053968510807,oi=e=>{const t=Math.abs(e);return t>Wg?(Math.sign(e)||1)*(na*Math.pow(t,.45)-(na-1)):4.5*e},ra=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"rec2020",r:oi(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:oi(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:oi(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return r!==void 0&&(s.alpha=r),s},sa=1.09929682680944,Xg=.018053968510807,li=(e=0)=>{let t=Math.abs(e);return t{let t=li(e.r),n=li(e.g),r=li(e.b),s={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*r,y:.262700212011267*t+.6779980715188708*n+.059301716469862*r,z:0*t+.0280726930490874*n+1.0609850577107909*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Yg={...Sn,mode:"rec2020",fromMode:{xyz65:ra,rgb:e=>ra(nn(e))},toMode:{xyz65:ia,rgb:e=>rn(ia(e))},parse:["rec2020"],serialize:"rec2020"},Jt=.0037930732552754493,Wf=Math.cbrt(Jt),ai=e=>Math.cbrt(e)-Wf,Gg=e=>{const{r:t,g:n,b:r,alpha:s}=Tn(e),i=ai(.3*t+.622*n+.078*r+Jt),o=ai(.23*t+.692*n+.078*r+Jt),l=ai(.2434226892454782*t+.2047674442449682*n+.5518098665095535*r+Jt),a={mode:"xyb",x:(i-o)/2,y:(i+o)/2,b:l-(i+o)/2};return s!==void 0&&(a.alpha=s),a},ci=e=>Math.pow(e+Wf,3),Zg=({x:e,y:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s=ci(e+t)-Jt,i=ci(t-e)-Jt,o=ci(n+t)-Jt,l=wn({r:11.031566904639861*s-9.866943908131562*i-.16462299650829934*o,g:-3.2541473810744237*s+4.418770377582723*i-.16462299650829934*o,b:-3.6588512867136815*s+2.7129230459360922*i+1.9459282407775895*o});return r!==void 0&&(l.alpha=r),l},Jg={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:Zg},fromMode:{rgb:Gg},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:F,y:F,b:F,alpha:{use:F,fixup:Ce}}},Qg={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:ur,lab:To},fromMode:{rgb:dr,lab:So},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:F,y:F,z:F,alpha:{use:F,fixup:Ce}}},em=e=>{let{x:t,y:n,z:r,alpha:s}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let i={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*r,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*r,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*r};return s!==void 0&&(i.alpha=s),i},tm=e=>{let{x:t,y:n,z:r,alpha:s}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let i={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*r,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*r,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*r};return s!==void 0&&(i.alpha=s),i},nm={mode:"xyz65",toMode:{rgb:rn,xyz50:em},fromMode:{rgb:nn,xyz50:tm},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:F,y:F,z:F,alpha:{use:F,fixup:Ce}}},rm=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return r!==void 0&&(s.alpha=r),s},sm=({y:e,i:t,q:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s={mode:"rgb",r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return r!==void 0&&(s.alpha=r),s},im={mode:"yiq",toMode:{rgb:sm},fromMode:{rgb:rm},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:F,i:F,q:F,alpha:{use:F,fixup:Ce}}},om=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t,lm=(e=4)=>t=>typeof t=="number"?om(t,e):t;let am=lm(2);const Xf=e=>Math.max(0,Math.min(1,e||0)),fi=e=>Math.round(Xf(e)*255),cm=Mo("rgb"),fm=e=>{if(e===void 0)return;let t=fi(e.r),n=fi(e.g),r=fi(e.b);return e.alpha===void 0||e.alpha===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${am(Xf(e.alpha))})`},um=e=>fm(cm(e));oe(K1);oe(Q1);oe(eg);oe(tg);oe(sg);oe(Ef);oe(kf);oe(hg);oe(gg);oe(vg);oe(xg);oe(wo);oe(_g);oe(Oo);oe(Tg);oe(Lg);oe(Rg);oe(Ng);oe(Fg);oe(zg);oe(Vg);const dm=oe(Ug);oe(qg);oe(Kg);oe(Yg);oe(Sn);oe(Jg);oe(Qg);oe(nm);oe(im);function pm(e){return Object.prototype.toString.call(e)==="[object Object]"}function oa(e){return pm(e)||Array.isArray(e)}function hm(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Eo(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==i?!1:n.every(o=>{const l=e[o],a=t[o];return typeof l=="function"?`${l}`==`${a}`:!oa(l)||!oa(a)?l===a:Eo(l,a)})}function la(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function gm(e,t){if(e.length!==t.length)return!1;const n=la(e),r=la(t);return n.every((s,i)=>{const o=r[i];return Eo(s,o)})}function Io(e){return typeof e=="number"}function zi(e){return typeof e=="string"}function xs(e){return typeof e=="boolean"}function aa(e){return Object.prototype.toString.call(e)==="[object Object]"}function ge(e){return Math.abs(e)}function Po(e){return Math.sign(e)}function Bn(e,t){return ge(e-t)}function mm(e,t){if(e===0||t===0||ge(e)<=ge(t))return 0;const n=Bn(ge(e),ge(t));return ge(n/e)}function bm(e){return Math.round(e*100)/100}function nr(e){return rr(e).map(Number)}function ot(e){return e[hr(e)]}function hr(e){return Math.max(0,e.length-1)}function ko(e,t){return t===hr(e)}function ca(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function rr(e){return Object.keys(e)}function Yf(e,t){return[e,t].reduce((n,r)=>(rr(r).forEach(s=>{const i=n[s],o=r[s],l=aa(i)&&aa(o);n[s]=l?Yf(i,o):o}),n),{})}function Hi(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function ym(e,t){const n={start:r,center:s,end:i};function r(){return 0}function s(a){return i(a)/2}function i(a){return t-a}function o(a,f){return zi(e)?n[e](a):e(t,a,f)}return{measure:o}}function sr(){let e=[];function t(s,i,o,l={passive:!0}){let a;if("addEventListener"in s)s.addEventListener(i,o,l),a=()=>s.removeEventListener(i,o,l);else{const f=s;f.addListener(o),a=()=>f.removeListener(o)}return e.push(a),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function vm(e,t,n,r){const s=sr(),i=1e3/60;let o=null,l=0,a=0;function f(){s.add(e,"visibilitychange",()=>{e.hidden&&m()})}function c(){g(),s.clear()}function u(M){if(!a)return;o||(o=M,n(),n());const y=M-o;for(o=M,l+=y;l>=i;)n(),l-=i;const x=l/i;r(x),a&&(a=t.requestAnimationFrame(u))}function p(){a||(a=t.requestAnimationFrame(u))}function g(){t.cancelAnimationFrame(a),o=null,l=0,a=0}function m(){o=null,l=0}return{init:f,destroy:c,start:p,stop:g,update:n,render:r}}function xm(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",i=r?"x":"y",o=!r&&n?-1:1,l=c(),a=u();function f(m){const{height:b,width:M}=m;return r?b:M}function c(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function p(m){return m*o}return{scroll:s,cross:i,startEdge:l,endEdge:a,measureSize:f,direction:p}}function Qt(e=0,t=0){const n=ge(e-t);function r(f){return ft}function i(f){return r(f)||s(f)}function o(f){return i(f)?r(f)?e:t:f}function l(f){return n?f-n*Math.ceil((f-t)/n):f}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:s,reachedMin:r,removeOffset:l}}function Gf(e,t,n){const{constrain:r}=Qt(0,e),s=e+1;let i=o(t);function o(p){return n?ge((s+p)%s):r(p)}function l(){return i}function a(p){return i=o(p),u}function f(p){return c().set(l()+p)}function c(){return Gf(e,l(),n)}const u={get:l,set:a,add:f,clone:c};return u}function Mm(e,t,n,r,s,i,o,l,a,f,c,u,p,g,m,b,M,y,x){const{cross:_,direction:S}=e,N=["INPUT","SELECT","TEXTAREA"],E={passive:!1},O=sr(),A=sr(),P=Qt(50,225).constrain(g.measure(20)),z={mouse:300,touch:400},H={mouse:500,touch:600},k=m?43:25;let U=!1,Z=0,se=0,ee=!1,J=!1,Y=!1,ne=!1;function me(d){if(!x)return;function h(w){(xs(x)||x(d,w))&&We(w)}const v=t;O.add(v,"dragstart",w=>w.preventDefault(),E).add(v,"touchmove",()=>{},E).add(v,"touchend",()=>{}).add(v,"touchstart",h).add(v,"mousedown",h).add(v,"touchcancel",Oe).add(v,"contextmenu",Oe).add(v,"click",Qe,!0)}function ce(){O.clear(),A.clear()}function fe(){const d=ne?n:t;A.add(d,"touchmove",be,E).add(d,"touchend",Oe).add(d,"mousemove",be,E).add(d,"mouseup",Oe)}function Ve(d){const h=d.nodeName||"";return N.includes(h)}function Be(){return(m?H:z)[ne?"mouse":"touch"]}function mt(d,h){const v=u.add(Po(d)*-1),w=c.byDistance(d,!m).distance;return m||ge(d)=2,!(h&&d.button!==0)&&(Ve(d.target)||(ee=!0,i.pointerDown(d),f.useFriction(0).useDuration(0),s.set(o),fe(),Z=i.readPoint(d),se=i.readPoint(d,_),p.emit("pointerDown")))}function be(d){if(!Hi(d,r)&&d.touches.length>=2)return Oe(d);const v=i.readPoint(d),w=i.readPoint(d,_),T=Bn(v,Z),C=Bn(w,se);if(!J&&!ne&&(!d.cancelable||(J=T>C,!J)))return Oe(d);const j=i.pointerMove(d);T>b&&(Y=!0),f.useFriction(.3).useDuration(.75),l.start(),s.add(S(j)),d.preventDefault()}function Oe(d){const v=c.byDistance(0,!1).index!==u.get(),w=i.pointerUp(d)*Be(),T=mt(S(w),v),C=mm(w,T),j=k-10*C,R=y+C/50;J=!1,ee=!1,A.clear(),f.useDuration(j).useFriction(R),a.distance(T,!m),ne=!1,p.emit("pointerUp")}function Qe(d){Y&&(d.stopPropagation(),d.preventDefault(),Y=!1)}function Ae(){return ee}return{init:me,destroy:ce,pointerDown:Ae}}function _m(e,t){let r,s;function i(u){return u.timeStamp}function o(u,p){const m=`client${(p||e.scroll)==="x"?"X":"Y"}`;return(Hi(u,t)?u:u.touches[0])[m]}function l(u){return r=u,s=u,o(u)}function a(u){const p=o(u)-o(s),g=i(u)-i(r)>170;return s=u,g&&(r=u),p}function f(u){if(!r||!s)return 0;const p=o(s)-o(r),g=i(u)-i(r),m=i(u)-i(s)>170,b=p/g;return g&&!m&&ge(b)>.1?b:0}return{pointerDown:l,pointerMove:a,pointerUp:f,readPoint:o}}function Sm(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:i,offsetHeight:o}=n;return{top:r,right:s+i,bottom:r+o,left:s,width:i,height:o}}return{measure:e}}function Tm(e){function t(r){return e*(r/100)}return{measure:t}}function wm(e,t,n,r,s,i,o){const l=[e].concat(r);let a,f,c=[],u=!1;function p(M){return s.measureSize(o.measure(M))}function g(M){if(!i)return;f=p(e),c=r.map(p);function y(x){for(const _ of x){if(u)return;const S=_.target===e,N=r.indexOf(_.target),E=S?f:c[N],O=p(S?e:r[N]);if(ge(O-E)>=.5){M.reInit(),t.emit("resize");break}}}a=new ResizeObserver(x=>{(xs(i)||i(M,x))&&y(x)}),n.requestAnimationFrame(()=>{l.forEach(x=>a.observe(x))})}function m(){u=!0,a&&a.disconnect()}return{init:g,destroy:m}}function Om(e,t,n,r,s,i){let o=0,l=0,a=s,f=i,c=e.get(),u=0;function p(){const E=r.get()-e.get(),O=!a;let A=0;return O?(o=0,n.set(r),e.set(r),A=E):(n.set(e),o+=E/a,o*=f,c+=o,e.add(o),A=c-u),l=Po(A),u=c,N}function g(){const E=r.get()-t.get();return ge(E)<.001}function m(){return a}function b(){return l}function M(){return o}function y(){return _(s)}function x(){return S(i)}function _(E){return a=E,N}function S(E){return f=E,N}const N={direction:b,duration:m,velocity:M,seek:p,settled:g,useBaseFriction:x,useBaseDuration:y,useFriction:S,useDuration:_};return N}function Cm(e,t,n,r,s){const i=s.measure(10),o=s.measure(50),l=Qt(.1,.99);let a=!1;function f(){return!(a||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(g){if(!f())return;const m=e.reachedMin(t.get())?"min":"max",b=ge(e[m]-t.get()),M=n.get()-t.get(),y=l.constrain(b/o);n.subtract(M*y),!g&&ge(M){const{min:M,max:y}=i,x=i.constrain(m),_=!b,S=ko(n,b);return _?y:S||f(M,x)?M:f(y,x)?y:x}).map(m=>parseFloat(m.toFixed(3)))}function p(){if(t<=e+s)return[i.max];if(r==="keepSnaps")return o;const{min:m,max:b}=l;return o.slice(m,b)}return{snapsContained:a,scrollContainLimit:l}}function Em(e,t,n){const r=t[0],s=n?r-e:ot(t);return{limit:Qt(s,r)}}function Im(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:l,reachedMax:a}=Qt(i,o);function f(p){return p===1?a(n.get()):p===-1?l(n.get()):!1}function c(p){if(!f(p))return;const g=e*(p*-1);r.forEach(m=>m.add(g))}return{loop:c}}function Pm(e){const{max:t,length:n}=e;function r(i){const o=i-t;return n?o/-n:0}return{get:r}}function km(e,t,n,r,s){const{startEdge:i,endEdge:o}=e,{groupSlides:l}=s,a=u().map(t.measure),f=p(),c=g();function u(){return l(r).map(b=>ot(b)[o]-b[0][i]).map(ge)}function p(){return r.map(b=>n[i]-b[i]).map(b=>-ge(b))}function g(){return l(f).map(b=>b[0]).map((b,M)=>b+a[M])}return{snaps:f,snapsAligned:c}}function $m(e,t,n,r,s,i){const{groupSlides:o}=s,{min:l,max:a}=r,f=c();function c(){const p=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?p:p.slice(l,a).map((m,b,M)=>{const y=!b,x=ko(M,b);if(y){const _=ot(M[0])+1;return ca(_)}if(x){const _=hr(i)-ot(M)[0]+1;return ca(_,ot(M)[0])}return m})}return{slideRegistry:f}}function Lm(e,t,n,r,s){const{reachedAny:i,removeOffset:o,constrain:l}=r;function a(m){return m.concat().sort((b,M)=>ge(b)-ge(M))[0]}function f(m){const b=e?o(m):l(m),M=t.map((x,_)=>({diff:c(x-b,0),index:_})).sort((x,_)=>ge(x.diff)-ge(_.diff)),{index:y}=M[0];return{index:y,distance:b}}function c(m,b){const M=[m,m+n,m-n];if(!e)return m;if(!b)return a(M);const y=M.filter(x=>Po(x)===b);return y.length?a(y):ot(M)-n}function u(m,b){const M=t[m]-s.get(),y=c(M,b);return{index:m,distance:y}}function p(m,b){const M=s.get()+m,{index:y,distance:x}=f(M),_=!e&&i(M);if(!b||_)return{index:y,distance:m};const S=t[y]-x,N=m+c(S,0);return{index:y,distance:N}}return{byDistance:p,byIndex:u,shortcut:c}}function Rm(e,t,n,r,s,i,o){function l(u){const p=u.distance,g=u.index!==t.get();i.add(p),p&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(u.index),o.emit("select"))}function a(u,p){const g=s.byDistance(u,p);l(g)}function f(u,p){const g=t.clone().set(u),m=s.byIndex(g.get(),p);l(m)}return{distance:a,index:f}}function Nm(e,t,n,r,s,i,o,l){const a={passive:!0,capture:!0};let f=0;function c(g){if(!l)return;function m(b){if(new Date().getTime()-f>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const x=n.findIndex(_=>_.includes(b));Io(x)&&(s.useDuration(0),r.index(x,0),o.emit("slideFocus"))}i.add(document,"keydown",u,!1),t.forEach((b,M)=>{i.add(b,"focus",y=>{(xs(l)||l(g,y))&&m(M)},a)})}function u(g){g.code==="Tab"&&(f=new Date().getTime())}return{init:c}}function Pn(e){let t=e;function n(){return t}function r(a){t=o(a)}function s(a){t+=o(a)}function i(a){t-=o(a)}function o(a){return Io(a)?a:a.get()}return{get:n,set:r,add:s,subtract:i}}function Zf(e,t){const n=e.scroll==="x"?o:l,r=t.style;let s=null,i=!1;function o(p){return`translate3d(${p}px,0px,0px)`}function l(p){return`translate3d(0px,${p}px,0px)`}function a(p){if(i)return;const g=bm(e.direction(p));g!==s&&(r.transform=n(g),s=g)}function f(p){i=!p}function c(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:a,toggleActive:f}}function jm(e,t,n,r,s,i,o,l,a){const c=nr(s),u=nr(s).reverse(),p=y().concat(x());function g(O,A){return O.reduce((P,z)=>P-s[z],A)}function m(O,A){return O.reduce((P,z)=>g(P,A)>0?P.concat([z]):P,[])}function b(O){return i.map((A,P)=>({start:A-r[P]+.5+O,end:A+t-.5+O}))}function M(O,A,P){const z=b(A);return O.map(H=>{const k=P?0:-n,U=P?n:0,Z=P?"end":"start",se=z[H][Z];return{index:H,loopPoint:se,slideLocation:Pn(-1),translate:Zf(e,a[H]),target:()=>l.get()>se?k:U}})}function y(){const O=o[0],A=m(u,O);return M(A,n,!1)}function x(){const O=t-o[0]-1,A=m(c,O);return M(A,-n,!0)}function _(){return p.every(({index:O})=>{const A=c.filter(P=>P!==O);return g(A,t)<=.1})}function S(){p.forEach(O=>{const{target:A,translate:P,slideLocation:z}=O,H=A();H!==z.get()&&(P.to(H),z.set(H))})}function N(){p.forEach(O=>O.translate.clear())}return{canLoop:_,clear:N,loop:S,loopPoints:p}}function Dm(e,t,n){let r,s=!1;function i(a){if(!n)return;function f(c){for(const u of c)if(u.type==="childList"){a.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{s||(xs(n)||n(a,c))&&f(c)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),s=!0}return{init:i,destroy:o}}function Fm(e,t,n,r){const s={};let i=null,o=null,l,a=!1;function f(){l=new IntersectionObserver(m=>{a||(m.forEach(b=>{const M=t.indexOf(b.target);s[M]=b}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(m=>l.observe(m))}function c(){l&&l.disconnect(),a=!0}function u(m){return rr(s).reduce((b,M)=>{const y=parseInt(M),{isIntersecting:x}=s[y];return(m&&x||!m&&!x)&&b.push(y),b},[])}function p(m=!0){if(m&&i)return i;if(!m&&o)return o;const b=u(m);return m&&(i=b),m||(o=b),b}return{init:f,destroy:c,get:p}}function zm(e,t,n,r,s,i){const{measureSize:o,startEdge:l,endEdge:a}=e,f=n[0]&&s,c=m(),u=b(),p=n.map(o),g=M();function m(){if(!f)return 0;const x=n[0];return ge(t[l]-x[l])}function b(){if(!f)return 0;const x=i.getComputedStyle(ot(r));return parseFloat(x.getPropertyValue(`margin-${a}`))}function M(){return n.map((x,_,S)=>{const N=!_,E=ko(S,_);return N?p[_]+c:E?p[_]+u:S[_+1][l]-x[l]}).map(ge)}return{slideSizes:p,slideSizesWithGaps:g,startGap:c,endGap:u}}function Hm(e,t,n,r,s,i,o,l,a){const{startEdge:f,endEdge:c,direction:u}=e,p=Io(n);function g(y,x){return nr(y).filter(_=>_%x===0).map(_=>y.slice(_,_+x))}function m(y){return y.length?nr(y).reduce((x,_,S)=>{const N=ot(x)||0,E=N===0,O=_===hr(y),A=s[f]-i[N][f],P=s[f]-i[_][c],z=!r&&E?u(o):0,H=!r&&O?u(l):0,k=ge(P-H-(A+z));return S&&k>t+a&&x.push(_),O&&x.push(y.length),x},[]).map((x,_,S)=>{const N=Math.max(S[_-1]||0);return y.slice(N,x)}):[]}function b(y){return p?g(y,n):m(y)}return{groupSlides:b}}function Vm(e,t,n,r,s,i,o){const{align:l,axis:a,direction:f,startIndex:c,loop:u,duration:p,dragFree:g,dragThreshold:m,inViewThreshold:b,slidesToScroll:M,skipSnaps:y,containScroll:x,watchResize:_,watchSlides:S,watchDrag:N,watchFocus:E}=i,O=2,A=Sm(),P=A.measure(t),z=n.map(A.measure),H=xm(a,f),k=H.measureSize(P),U=Tm(k),Z=ym(l,k),se=!u&&!!x,ee=u||!!x,{slideSizes:J,slideSizesWithGaps:Y,startGap:ne,endGap:me}=zm(H,P,z,n,ee,s),ce=Hm(H,k,M,u,P,z,ne,me,O),{snaps:fe,snapsAligned:Ve}=km(H,Z,P,z,ce),Be=-ot(fe)+ot(Y),{snapsContained:mt,scrollContainLimit:We}=Am(k,Be,Ve,x,O),be=se?mt:Ve,{limit:Oe}=Em(Be,be,u),Qe=Gf(hr(be),c,u),Ae=Qe.clone(),he=nr(n),d=({dragHandler:ye,scrollBody:Xe,scrollBounds:Ye,options:{loop:at}})=>{at||Ye.constrain(ye.pointerDown()),Xe.seek()},h=({scrollBody:ye,translate:Xe,location:Ye,offsetLocation:at,previousLocation:gr,scrollLooper:Ue,slideLooper:et,dragHandler:mr,animation:Qf,eventHandler:Lo,scrollBounds:eu,options:{loop:Ro}},No)=>{const jo=ye.settled(),tu=!eu.shouldConstrain(),Do=Ro?jo:jo&&tu,Fo=Do&&!mr.pointerDown();Fo&&Qf.stop();const nu=Ye.get()*No+gr.get()*(1-No);at.set(nu),Ro&&(Ue.loop(ye.direction()),et.loop()),Xe.to(at.get()),Fo&&Lo.emit("settle"),Do||Lo.emit("scroll")},v=vm(r,s,()=>d(ke),ye=>h(ke,ye)),w=.68,T=be[Qe.get()],C=Pn(T),j=Pn(T),R=Pn(T),L=Pn(T),I=Om(C,R,j,L,p,w),B=Lm(u,be,Be,Oe,L),D=Rm(v,Qe,Ae,I,B,L,o),V=Pm(Oe),K=sr(),Q=Fm(t,n,o,b),{slideRegistry:le}=$m(se,x,be,We,ce,he),re=Nm(e,n,le,D,I,K,o,E),ke={ownerDocument:r,ownerWindow:s,eventHandler:o,containerRect:P,slideRects:z,animation:v,axis:H,dragHandler:Mm(H,e,r,s,L,_m(H,s),C,v,D,I,B,Qe,o,U,g,m,y,w,N),eventStore:K,percentOfView:U,index:Qe,indexPrevious:Ae,limit:Oe,location:C,offsetLocation:R,previousLocation:j,options:i,resizeHandler:wm(t,o,s,n,H,_,A),scrollBody:I,scrollBounds:Cm(Oe,R,L,I,U),scrollLooper:Im(Be,Oe,R,[C,R,j,L]),scrollProgress:V,scrollSnapList:be.map(V.get),scrollSnaps:be,scrollTarget:B,scrollTo:D,slideLooper:jm(H,k,Be,J,Y,fe,be,R,n),slideFocus:re,slidesHandler:Dm(t,o,S),slidesInView:Q,slideIndexes:he,slideRegistry:le,slidesToScroll:ce,target:L,translate:Zf(H,t)};return ke}function Bm(){let e={},t;function n(f){t=f}function r(f){return e[f]||[]}function s(f){return r(f).forEach(c=>c(t,f)),a}function i(f,c){return e[f]=r(f).concat([c]),a}function o(f,c){return e[f]=r(f).filter(u=>u!==c),a}function l(){e={}}const a={init:n,emit:s,off:o,on:i,clear:l};return a}const Um={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function qm(e){function t(i,o){return Yf(i,o||{})}function n(i){const o=i.breakpoints||{},l=rr(o).filter(a=>e.matchMedia(a).matches).map(a=>o[a]).reduce((a,f)=>t(a,f),{});return t(i,l)}function r(i){return i.map(o=>rr(o.breakpoints||{})).reduce((o,l)=>o.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Km(e){let t=[];function n(i,o){return t=o.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(i,e)),o.reduce((l,a)=>Object.assign(l,{[a.name]:a}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Yr(e,t,n){const r=e.ownerDocument,s=r.defaultView,i=qm(s),o=Km(i),l=sr(),a=Bm(),{mergeOptions:f,optionsAtMedia:c,optionsMediaQueries:u}=i,{on:p,off:g,emit:m}=a,b=H;let M=!1,y,x=f(Um,Yr.globalOptions),_=f(x),S=[],N,E,O;function A(){const{container:he,slides:d}=_;E=(zi(he)?e.querySelector(he):he)||e.children[0];const v=zi(d)?E.querySelectorAll(d):d;O=[].slice.call(v||E.children)}function P(he){const d=Vm(e,E,O,r,s,he,a);if(he.loop&&!d.slideLooper.canLoop()){const h=Object.assign({},he,{loop:!1});return P(h)}return d}function z(he,d){M||(x=f(x,he),_=c(x),S=d||S,A(),y=P(_),u([x,...S.map(({options:h})=>h)]).forEach(h=>l.add(h,"change",H)),_.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(Ae),y.eventHandler.init(Ae),y.resizeHandler.init(Ae),y.slidesHandler.init(Ae),y.options.loop&&y.slideLooper.loop(),E.offsetParent&&O.length&&y.dragHandler.init(Ae),N=o.init(Ae,S)))}function H(he,d){const h=ce();k(),z(f({startIndex:h},he),d),a.emit("reInit")}function k(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),o.destroy(),l.clear()}function U(){M||(M=!0,l.clear(),k(),a.emit("destroy"),a.clear())}function Z(he,d,h){!_.active||M||(y.scrollBody.useBaseFriction().useDuration(d===!0?0:_.duration),y.scrollTo.index(he,h||0))}function se(he){const d=y.index.add(1).get();Z(d,he,-1)}function ee(he){const d=y.index.add(-1).get();Z(d,he,1)}function J(){return y.index.add(1).get()!==ce()}function Y(){return y.index.add(-1).get()!==ce()}function ne(){return y.scrollSnapList}function me(){return y.scrollProgress.get(y.offsetLocation.get())}function ce(){return y.index.get()}function fe(){return y.indexPrevious.get()}function Ve(){return y.slidesInView.get()}function Be(){return y.slidesInView.get(!1)}function mt(){return N}function We(){return y}function be(){return e}function Oe(){return E}function Qe(){return O}const Ae={canScrollNext:J,canScrollPrev:Y,containerNode:Oe,internalEngine:We,destroy:U,off:g,on:p,emit:m,plugins:mt,previousScrollSnap:fe,reInit:b,rootNode:be,scrollNext:se,scrollPrev:ee,scrollProgress:me,scrollSnapList:ne,scrollTo:Z,selectedScrollSnap:ce,slideNodes:Qe,slidesInView:Ve,slidesNotInView:Be};return z(t,n),setTimeout(()=>a.emit("init"),0),Ae}Yr.globalOptions=void 0;function $o(e={},t=[]){const n=Ie(e),r=Ie(t);let s=n?e.value:e,i=r?t.value:t;const o=kr(),l=kr();function a(){l.value&&l.value.reInit(s,i)}return Mn(()=>{!hm()||!o.value||(Yr.globalOptions=$o.globalOptions,l.value=Yr(o.value,s,i))}),eo(()=>{l.value&&l.value.destroy()}),n&&Se(e,f=>{Eo(s,f)||(s=f,a())}),r&&Se(t,f=>{gm(i,f)||(i=f,a())}),[o,l]}$o.globalOptions=void 0;const[Wm,Xm]=P0(({opts:e,orientation:t,plugins:n},r)=>{const[s,i]=$o({...e,axis:t==="horizontal"?"x":"y"},n);function o(){var u;(u=i.value)==null||u.scrollPrev()}function l(){var u;(u=i.value)==null||u.scrollNext()}const a=ae(!1),f=ae(!1);function c(u){a.value=(u==null?void 0:u.canScrollNext())||!1,f.value=(u==null?void 0:u.canScrollPrev())||!1}return Mn(()=>{var u,p,g;i.value&&((u=i.value)==null||u.on("init",c),(p=i.value)==null||p.on("reInit",c),(g=i.value)==null||g.on("select",c),r("init-api",i.value))}),{carouselRef:s,carouselApi:i,canScrollPrev:f,canScrollNext:a,scrollPrev:o,scrollNext:l,orientation:t}});function Jf(){const e=Xm();if(!e)throw new Error("useCarousel must be used within a ");return e}const Ym=xn({__name:"Carousel",props:{opts:{},plugins:{},orientation:{default:"horizontal"},class:{}},emits:["init-api"],setup(e,{expose:t,emit:n}){const r=e,s=n,{canScrollNext:i,canScrollPrev:o,carouselApi:l,carouselRef:a,orientation:f,scrollNext:c,scrollPrev:u}=Wm(r,s);t({canScrollNext:i,canScrollPrev:o,carouselApi:l,carouselRef:a,orientation:f,scrollNext:c,scrollPrev:u});function p(g){const m=r.orientation==="vertical"?"ArrowUp":"ArrowLeft",b=r.orientation==="vertical"?"ArrowDown":"ArrowRight";if(g.key===m){g.preventDefault(),u();return}g.key===b&&(g.preventDefault(),c())}return(g,m)=>(xe(),je("div",{class:st(["relative",[r.class]]),role:"region","aria-roledescription":"carousel",tabindex:"0",onKeydown:p},[no(g.$slots,"default",{canScrollNext:Me(i),canScrollPrev:Me(o),carouselApi:Me(l),carouselRef:Me(a),orientation:Me(f),scrollNext:Me(c),scrollPrev:Me(u)})],34))}}),Gm=xn({inheritAttrs:!1,__name:"CarouselContent",props:{class:{}},setup(e){const t=e,{carouselRef:n,orientation:r}=Jf();return(s,i)=>(xe(),je("div",{ref_key:"carouselRef",ref:n,class:"h-full"},[ve("div",xc({class:["flex",[Me(r)!=="horizontal"?"-mt-4 flex-col":"",t.class]]},s.$attrs),[no(s.$slots,"default")],16)],512))}}),Zm=xn({__name:"CarouselItem",props:{class:{}},setup(e){const t=e,{orientation:n}=Jf();return(r,s)=>(xe(),je("div",{role:"group","aria-roledescription":"slide",class:st(["min-w-0 shrink-0 grow-0 basis-full",[Me(n)==="horizontal"?"pl-0":"pt-4",t.class]])},[no(r.$slots,"default")],2))}}),fa=16e3,Jm="/assets/play-worklet-CqUYQx_r.js",Qm="/assets/vad-processor-0sEQXaXZ.js",eb="/assets/worker-yoCrhISy.ts",tb={class:"relative h-100dvh w-100dvw flex items-center justify-center"},nb={"h-full":"",flex:"","items-center":"","justify-center":""},rb={key:0},sb={key:1,"h-full":"",flex:"","flex-col":"","items-center":"","justify-between":"","p-4":""},ib={class:"mb-4 flex items-center gap-2"},ob={text:"cyan-400 dark:cyan-500","text-lg":""},lb={class:"relative aspect-square h-32 w-32 flex flex-shrink-0 items-center justify-center"},ab={key:0,class:"h-full w-full flex items-center justify-center gap-4 overflow-hidden rounded-lg"},cb={"text-2xl":""},fb={key:1,class:"h-full w-full flex items-center justify-center gap-4 overflow-hidden rounded-lg"},ub={"text-lg":""},db=xn({__name:"App",setup(e){const t=ae(!1),n=ae(null),r=ae(!1),s=ae(!1),i=ae("af_heart"),o=ae({}),l=ae(!1),a=ae(!1),f=ae(1),c=ae(1),u=ae([]),p=ae(!1),g=ae(null),m=ae("00:00"),b=ae(null),M=ae(null),y=ae(null);Se(r,()=>{var E;r.value||(E=b.value)==null||E.postMessage({type:"end_call"})}),Se(r,()=>{if(r.value&&n.value){const E=setInterval(()=>{const O=Math.floor((Date.now()-n.value)/1e3),A=String(Math.floor(O/60)).padStart(2,"0"),P=String(O%60).padStart(2,"0");m.value=`${A}:${P}`},1e3);return()=>clearInterval(E)}else m.value="00:00"}),Mn(()=>{t.value=!0;try{b.value??(b.value=new Worker(eb,{type:"module"}));const E=A=>{g.value=A instanceof Error?A.message:String(A)},O=({data:A})=>{switch(A.type){case"error":return t.value=!1,E(A.data.error);case"status":A.data.status==="recording_start"?(l.value=!0,a.value=!1):A.data.status==="recording_end"?l.value=!1:A.data.status==="ready"&&(o.value=A.data.voices||{},p.value=!0,t.value=!1);break;case"output":!s.value&&y.value&&A.data.result&&(y.value.port.postMessage(A.data.result.audio),s.value=!0,a.value=!0,l.value=!1);break;case"set_voice_response":_();break}};return b.value.addEventListener("message",O),b.value.addEventListener("error",A=>E(A.error)),()=>{var A,P;(A=b.value)==null||A.removeEventListener("message",O),(P=b.value)==null||P.removeEventListener("error",z=>E(z.error))}}catch(E){console.error("Failed to initialize worker:",E),t.value=!1}}),Se(r,()=>{if(!r.value)return;let E,O,A,P=!1,z;const H=Promise.resolve(M.value);return H.then(async k=>{if(P||!k)return;O=new AudioContext({sampleRate:fa});const U=O.createAnalyser();U.fftSize=256,A=O.createMediaStreamSource(k),A.connect(U);const Z=new Uint8Array(U.frequencyBinCount);function se(ne){let me=0;for(let fe=0;fe{var ce;const{buffer:me}=ne.data;(ce=b.value)==null||ce.postMessage({type:"audio",buffer:me})},z=new AudioContext({sampleRate:24e3}),z.resume(),await z.audioWorklet.addModule(new URL(Jm,import.meta.url)),y.value=new AudioWorkletNode(z,"buffered-audio-worklet-processor"),y.value.port.onmessage=ne=>{var me;ne.data.type==="playback_ended"&&(s.value=!1,a.value=!1,(me=b.value)==null||me.postMessage({type:"playback_ended"}))};const ee=z.createAnalyser();ee.fftSize=256,y.value.connect(ee),ee.connect(z.destination);const J=new Uint8Array(ee.frequencyBinCount);function Y(){U.getByteTimeDomainData(Z);const ne=se(Z),me=1+Math.min(1.25*ne,.25);f.value+=(me-f.value)*.25,ee.getByteTimeDomainData(J);const ce=se(J),fe=1+Math.min(1.25*ce,.25);c.value+=(fe-c.value)*.25,requestAnimationFrame(Y)}Y()}).catch(k=>{g.value=k.message,console.error(k)}),()=>{P=!0,H.then(k=>k==null?void 0:k.getTracks().forEach(U=>U.stop())),A==null||A.disconnect(),E==null||E.disconnect(),O==null||O.close(),z==null||z.close()}}),Se(r,()=>{if(!r.value)return;const E=setInterval(()=>{const O=Date.now();u.value=[...u.value,O],setTimeout(()=>{u.value=u.value.filter(A=>A!==O)},1500)},1e3);return()=>clearInterval(E)});async function x(E){var O;i.value=E,(O=b.value)==null||O.postMessage({type:"set_voice",voice:E})}async function _(){var E;try{const O=await navigator.mediaDevices.getUserMedia({audio:{channelCount:1,echoCancellation:!0,autoGainControl:!0,noiseSuppression:!0,sampleRate:fa}});M.value=O,n.value=Date.now(),r.value=!0,(E=b.value)==null||E.postMessage({type:"start_call"})}catch(O){O instanceof Error&&(g.value=O.message,console.error(O))}}function S(){r.value=!1,n.value=null,s.value=!1,l.value=!1,a.value=!1}function N(E,O,A){const P=(A==null?void 0:A.baseAmplify)??.5,z=(A==null?void 0:A.factor)??.5,H=(A==null?void 0:A.inverted)??!1,k=(A==null?void 0:A.reversed)??!1;let U=P+E/O*z;k&&(U=1-U);const Z=H?1-U:U,se=dm({mode:"oklch",l:Z,h:220,c:.1});return um(Mo("rgb")(se))}return(E,O)=>(xe(),je("div",tb,[ve("div",nb,[Re(il,{name:"fade",mode:"out-in"},{default:an(()=>{var A;return[t.value?(xe(),je("div",rb,O[0]||(O[0]=[ve("div",{"i-svg-spinners:3-dots-bounce":"","text-2xl":""},null,-1)]))):r.value?(xe(),je("div",sb,[ve("div",null,[ve("div",ib,[ve("div",ob,on(((A=o.value[i.value])==null?void 0:A.name)||i.value)+" "+on(m.value),1)])]),ve("div",lb,[r.value?(xe(!0),je(_e,{key:0},qo(u.value,P=>(xe(),je("div",{key:P,class:"pointer-events-none absolute inset-0 border-2 border-cyan-200 rounded-full dark:border-cyan-500",style:{animation:"ripple 1.5s ease-out forwards"}}))),128)):Mr("",!0),ve("div",{class:st(["absolute h-32 w-32 rounded-full",[g.value?"bg-red-200 dark:bg-red-400":"bg-cyan-200 dark:bg-cyan-800",p.value?"":"animate-ping opacity-75"]]),style:{"animation-duration":"1.5s"}},null,2),ve("div",{class:st(["absolute h-32 w-32 rounded-full shadow-inner transition-transform duration-300 ease-out",[g.value?"bg-red-300 dark:bg-red-400":"bg-cyan-300 dark:bg-cyan-800",p.value?"":"opacity-0"]]),style:un({transform:`scale(${c.value})`})},null,6),ve("div",{class:st(["absolute h-32 w-32 rounded-full shadow-inner transition-transform duration-300 ease-out",[g.value?"bg-red-200 dark:bg-red-400":"bg-cyan-200 dark:bg-cyan-600",p.value?"":"opacity-0"]]),style:un({transform:`scale(${f.value})`})},null,6),ve("div",{class:st(["absolute z-10 text-center text-sm",[g.value?"text-red-700":"text-gray-700 dark:text-white"]])},[g.value?(xe(),je(_e,{key:0},[In(on(g.value),1)],64)):(xe(),je(_e,{key:1},[p.value?Mr("",!0):(xe(),je(_e,{key:0},[In(" Loading... ")],64)),l.value?(xe(),je(_e,{key:1},[In(" Listening... ")],64)):Mr("",!0),a.value?(xe(),je(_e,{key:2},[In(" Speaking... ")],64)):Mr("",!0)],64))],2)]),ve("div",{bg:"cyan-50 dark:cyan-950","w-fit":"",flex:"","rounded-xl":"","px-1":"","py-1":"","text-sm":"","outline-none":""},[ve("button",{bg:"hover:cyan-100 dark:hover:cyan-900",text:"red-400 hover:red-300 active:red-400",flex:"","items-center":"","gap-2":"","rounded-lg":"","px-4":"","py-2":"","outline-none":"",transition:"all duration-300 ease-in-out",onClick:S},O[1]||(O[1]=[ve("div",{"i-solar:end-call-rounded-bold":""},null,-1),ve("div",{text:"black dark:white"}," End Call ",-1)]))])])):(xe(),Yn(Me(Ym),{key:2,class:st(["embla outline-none",[r.value?"embla-edge-disabled px-16 h-80 w-140":"px-8 h-50 w-120"]]),transition:"all duration-500 ease-in-out"},{default:an(()=>[Re(Me(Gm),{class:"h-full flex gap-4",style:{touchAction:"pan-y pinch-zoom"}},{default:an(()=>[(xe(!0),je(_e,null,qo(Object.entries(o.value),([P,z],H)=>(xe(),Yn(Me(Zm),{key:H,style:un({backgroundColor:N(H,Object.values(o.value).length,{baseAmplify:.85,factor:.4}),color:N(H,Object.values(o.value).length,{baseAmplify:.5,factor:.2})}),class:st(["h-full w-full flex-[0_0_80%] cursor-pointer rounded-lg",[r.value&&i.value!==P?"opacity-0":""]]),transition:"all duration-500 ease-in-out",onClick:()=>x(P)},{default:an(()=>[Re(il,{name:"fade",mode:"out-in"},{default:an(()=>[r.value?(xe(),je("div",fb,[O[3]||(O[3]=ve("div",{"i-svg-spinners:3-dots-bounce":"","text-2xl":""},null,-1)),ve("div",ub," Connecting to "+on(z.name)+"... ",1)])):(xe(),je("div",ab,[O[2]||(O[2]=ve("div",{"i-solar:phone-bold":"","text-2xl":""},null,-1)),ve("div",cb,on(z.name),1)]))]),_:2},1024)]),_:2},1032,["style","class","onClick"]))),128))]),_:1})]),_:1},8,["class"]))]}),_:1})])]))}}),pb=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hb=pb(db,[["__scopeId","data-v-314fbe9f"]]);O0(hb).use(M1).mount("#app");