/**
 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.
 * Original file: /npm/@vueuse/core@9.12.0/index.mjs
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import{noop as U,identity as nt,isClient as ue,tryOnMounted as te,resolveUnref as F,computedWithControl as rt,isFunction as ae,tryOnScopeDispose as N,useTimeoutFn as Ee,createEventHook as K,debounceFilter as ar,bypassFilter as lr,createFilterWrapper as ot,toRefs as at,isString as pe,resolveRef as Y,isDef as Ae,throttleFilter as lt,timestamp as me,isObject as ur,watchIgnorable as ke,useIntervalFn as he,syncRef as ut,createSingletonPromise as sr,pausableFilter as ir,useDebounceFn as st,tryOnUnmounted as cr,useThrottleFn as fr,pausableWatch as it,watchWithFilter as vr,isNumber as ge,clamp as Re,promiseTimeout as dr,containsProp as pr,hasOwn as ct,objectPick as mr,until as Le,isIOS as ft,increaseWithUnit as hr}from"/npm/@vueuse/shared@9.12.0/+esm";export*from"/npm/@vueuse/shared@9.12.0/+esm";import{isRef as ie,ref as m,shallowRef as H,watchEffect as ye,computed as E,inject as Ne,unref as k,getCurrentInstance as Me,customRef as gr,onUpdated as vt,reactive as B,watch as j,onMounted as dt,getCurrentScope as yr,readonly as le,nextTick as pt,onBeforeUpdate as wr,isVue2 as mt,markRaw as _r,del as ht,set as br}from"/npm/vue-demi@0.14.10/+esm";var gt=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function yt(e,t,n){let r;ie(n)?r={evaluating:n}:r=n||{};const{lazy:o=!1,evaluating:l=void 0,shallow:u=!1,onError:a=U}=r,s=m(!o),i=u?H(t):m(t);let c=0;return ye(async f=>{if(!s.value)return;c++;const h=c;let d=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const v=await e(p=>{f(()=>{l&&(l.value=!1),d||p()})});h===c&&(i.value=v)}catch(v){a(v)}finally{l&&h===c&&(l.value=!1),d=!0}}),o?E(()=>(s.value=!0,i.value)):i}function Or(e,t,n,r){let o=Ne(e);return n&&(o=Ne(e,n)),r&&(o=Ne(e,n,r)),typeof t=="function"?E(l=>t(o,l)):E({get:l=>t.get(o,l),set:t.set})}const Pr=e=>function(...t){return e.apply(this,t.map(n=>k(n)))};function L(e){var t;const n=F(e);return(t=n?.$el)!=null?t:n}const C=ue?window:void 0,z=ue?window.document:void 0,J=ue?window.navigator:void 0,Sr=ue?window.location:void 0;function b(...e){let t,n,r,o;if(pe(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=C):[t,n,r,o]=e,!t)return U;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const l=[],u=()=>{l.forEach(c=>c()),l.length=0},a=(c,f,h)=>(c.addEventListener(f,h,o),()=>c.removeEventListener(f,h,o)),s=j(()=>L(t),c=>{u(),c&&l.push(...n.flatMap(f=>r.map(h=>a(c,f,h))))},{immediate:!0,flush:"post"}),i=()=>{s(),u()};return N(i),i}function Er(e,t,n={}){const{window:r=C,ignore:o=[],capture:l=!0,detectIframe:u=!1}=n;if(!r)return;let a=!0,s;const i=d=>o.some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(p=>p===d.target||d.composedPath().includes(p));{const p=L(v);return p&&(d.target===p||d.composedPath().includes(p))}}),c=d=>{r.clearTimeout(s);const v=L(e);if(!(!v||v===d.target||d.composedPath().includes(v))){if(d.detail===0&&(a=!i(d)),!a){a=!0;return}t(d)}},f=[b(r,"click",c,{passive:!0,capture:l}),b(r,"pointerdown",d=>{const v=L(e);v&&(a=!d.composedPath().includes(v)&&!i(d))},{passive:!0}),b(r,"pointerup",d=>{if(d.button===0){const v=d.composedPath();d.composedPath=()=>v,s=r.setTimeout(()=>c(d),50)}},{passive:!0}),u&&b(r,"blur",d=>{var v;const p=L(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>f.forEach(d=>d())}var $r=Object.defineProperty,xr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,_t=(e,t,n)=>t in e?$r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ve=(e,t)=>{for(var n in t||(t={}))Dr.call(t,n)&&_t(e,n,t[n]);if(wt)for(var n of wt(t))Fr.call(t,n)&&_t(e,n,t[n]);return e},Ue=(e,t)=>xr(e,Tr(t));const Ir=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0;function $e(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=C,eventName:l="keydown",passive:u=!1}=r,a=Ir(t);return b(o,l,i=>{a(i)&&n(i)},u)}function Cr(e,t,n={}){return $e(e,t,Ue(Ve({},n),{eventName:"keydown"}))}function jr(e,t,n={}){return $e(e,t,Ue(Ve({},n),{eventName:"keypress"}))}function Ar(e,t,n={}){return $e(e,t,Ue(Ve({},n),{eventName:"keyup"}))}const kr=500;function Rr(e,t,n){var r,o;const l=E(()=>L(e));let u;function a(){u&&(clearTimeout(u),u=void 0)}function s(c){var f,h,d,v;(f=n?.modifiers)!=null&&f.self&&c.target!==l.value||(a(),(h=n?.modifiers)!=null&&h.prevent&&c.preventDefault(),(d=n?.modifiers)!=null&&d.stop&&c.stopPropagation(),u=setTimeout(()=>t(c),(v=n?.delay)!=null?v:kr))}const i={capture:(r=n?.modifiers)==null?void 0:r.capture,once:(o=n?.modifiers)==null?void 0:o.once};b(l,"pointerdown",s,i),b(l,"pointerup",a,i),b(l,"pointerleave",a,i)}const Lr=()=>{const{activeElement:e,body:t}=document;if(!e||e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")},Nr=({keyCode:e,metaKey:t,ctrlKey:n,altKey:r})=>t||n||r?!1:e>=48&&e<=57||e>=96&&e<=105||e>=65&&e<=90;function Mr(e,t={}){const{document:n=z}=t;n&&b(n,"keydown",o=>{!Lr()&&Nr(o)&&e(o)},{passive:!0})}function Vr(e,t=null){const n=Me();let r=()=>{};const o=gr((l,u)=>(r=u,{get(){var a,s;return l(),(s=(a=n?.proxy)==null?void 0:a.$refs[e])!=null?s:t},set(){}}));return te(r),vt(r),o}function Be(e={}){var t;const{window:n=C}=e,r=(t=e.document)!=null?t:n?.document,o=rt(()=>null,()=>r?.activeElement);return n&&(b(n,"blur",l=>{l.relatedTarget===null&&o.trigger()},!0),b(n,"focus",o.trigger,!0)),o}function Ur(e,t={}){const{interrupt:n=!0,onError:r=U,onFinished:o=U}=t,l={pending:"pending",rejected:"rejected",fulfilled:"fulfilled"},u=Array.from(new Array(e.length),()=>({state:l.pending,data:null})),a=B(u),s=m(-1);if(!e||e.length===0)return o(),{activeIndex:s,result:a};function i(c,f){s.value++,a[s.value].data=f,a[s.value].state=c}return e.reduce((c,f)=>c.then(h=>{var d;if(((d=a[s.value])==null?void 0:d.state)===l.rejected&&n){o();return}return f(h).then(v=>(i(l.fulfilled,v),s.value===e.length-1&&o(),v))}).catch(h=>(i(l.rejected,h),r(),h)),Promise.resolve()),{activeIndex:s,result:a}}function bt(e,t,n){const{immediate:r=!0,delay:o=0,onError:l=U,onSuccess:u=U,resetOnExecute:a=!0,shallow:s=!0,throwError:i}=n??{},c=s?H(t):m(t),f=m(!1),h=m(!1),d=m(void 0);async function v(p=0,...g){a&&(c.value=t),d.value=void 0,f.value=!1,h.value=!0,p>0&&await dr(p);const _=typeof e=="function"?e(...g):e;try{const y=await _;c.value=y,f.value=!0,u(y)}catch(y){if(d.value=y,l(y),i)throw d}finally{h.value=!1}return c.value}return r&&v(o),{state:c,isReady:f,isLoading:h,error:d,execute:v}}const we={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function Br(e){return e?e instanceof Map?we.map:e instanceof Set?we.set:Array.isArray(e)?we.array:we.object:we.null}function Wr(e,t){const n=m(""),r=m();function o(){if(ue)return r.value=new Promise((l,u)=>{try{const a=F(e);if(a==null)l("");else if(typeof a=="string")l(We(new Blob([a],{type:"text/plain"})));else if(a instanceof Blob)l(We(a));else if(a instanceof ArrayBuffer)l(window.btoa(String.fromCharCode(...new Uint8Array(a))));else if(a instanceof HTMLCanvasElement)l(a.toDataURL(t?.type,t?.quality));else if(a instanceof HTMLImageElement){const s=a.cloneNode(!1);s.crossOrigin="Anonymous",Hr(s).then(()=>{const i=document.createElement("canvas"),c=i.getContext("2d");i.width=s.width,i.height=s.height,c.drawImage(s,0,0,i.width,i.height),l(i.toDataURL(t?.type,t?.quality))}).catch(u)}else if(typeof a=="object"){const i=(t?.serializer||Br(a))(a);return l(We(new Blob([i],{type:"application/json"})))}else u(new Error("target is unsupported types"))}catch(a){u(a)}}),r.value.then(l=>n.value=l),r.value}return ie(e)||ae(e)?j(e,o,{immediate:!0}):o(),{base64:n,promise:r,execute:o}}function Hr(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function We(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=o=>{t(o.target.result)},r.onerror=n,r.readAsDataURL(e)})}function R(e,t=!1){const n=m(),r=()=>n.value=!!e();return r(),te(r,t),n}function zr({navigator:e=J}={}){const t=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],n=R(()=>e&&"getBattery"in e),r=m(!1),o=m(0),l=m(0),u=m(1);let a;function s(){r.value=this.charging,o.value=this.chargingTime||0,l.value=this.dischargingTime||0,u.value=this.level}return n.value&&e.getBattery().then(i=>{a=i,s.call(a);for(const c of t)b(a,c,s,{passive:!0})}),{isSupported:n,charging:r,chargingTime:o,dischargingTime:l,level:u}}function qr(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:r=void 0,navigator:o=J}=e||{},l=R(()=>o&&"bluetooth"in o),u=H(void 0),a=H(null);j(u,()=>{f()});async function s(){if(l.value){a.value=null,n&&n.length>0&&(t=!1);try{u.value=await o?.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:r})}catch(h){a.value=h}}}const i=m(),c=E(()=>{var h;return((h=i.value)==null?void 0:h.connected)||!1});async function f(){if(a.value=null,u.value&&u.value.gatt){u.value.addEventListener("gattserverdisconnected",()=>{});try{i.value=await u.value.gatt.connect()}catch(h){a.value=h}}}return te(()=>{var h;u.value&&((h=u.value.gatt)==null||h.connect())}),N(()=>{var h;u.value&&((h=u.value.gatt)==null||h.disconnect())}),{isSupported:l,isConnected:c,device:u,requestDevice:s,server:i,error:a}}function Q(e,t={}){const{window:n=C}=t,r=R(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const l=m(!1),u=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},a=()=>{r.value&&(u(),o=n.matchMedia(Y(e).value),l.value=o.matches,"addEventListener"in o?o.addEventListener("change",a):o.addListener(a))};return ye(a),N(()=>u()),l}const Gr={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Xr={sm:576,md:768,lg:992,xl:1200,xxl:1400},Yr={xs:600,sm:960,md:1264,lg:1904},Kr={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},Jr={xs:600,sm:1024,md:1440,lg:1920},Qr={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},Zr={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};var eo=Object.defineProperty,Ot=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Pt=(e,t,n)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ro=(e,t)=>{for(var n in t||(t={}))to.call(t,n)&&Pt(e,n,t[n]);if(Ot)for(var n of Ot(t))no.call(t,n)&&Pt(e,n,t[n]);return e};function oo(e,t={}){function n(a,s){let i=e[a];return s!=null&&(i=hr(i,s)),typeof i=="number"&&(i=`${i}px`),i}const{window:r=C}=t;function o(a){return r?r.matchMedia(a).matches:!1}const l=a=>Q(`(min-width: ${n(a)})`,t),u=Object.keys(e).reduce((a,s)=>(Object.defineProperty(a,s,{get:()=>l(s),enumerable:!0,configurable:!0}),a),{});return ro({greater(a){return Q(`(min-width: ${n(a,.1)})`,t)},greaterOrEqual:l,smaller(a){return Q(`(max-width: ${n(a,-.1)})`,t)},smallerOrEqual(a){return Q(`(max-width: ${n(a)})`,t)},between(a,s){return Q(`(min-width: ${n(a)}) and (max-width: ${n(s,-.1)})`,t)},isGreater(a){return o(`(min-width: ${n(a,.1)})`)},isGreaterOrEqual(a){return o(`(min-width: ${n(a)})`)},isSmaller(a){return o(`(max-width: ${n(a,-.1)})`)},isSmallerOrEqual(a){return o(`(max-width: ${n(a)})`)},isInBetween(a,s){return o(`(min-width: ${n(a)}) and (max-width: ${n(s,-.1)})`)}},u)}const ao=e=>{const{name:t,window:n=C}=e,r=R(()=>n&&"BroadcastChannel"in n),o=m(!1),l=m(),u=m(),a=m(null),s=c=>{l.value&&l.value.postMessage(c)},i=()=>{l.value&&l.value.close(),o.value=!0};return r.value&&te(()=>{a.value=null,l.value=new BroadcastChannel(t),l.value.addEventListener("message",c=>{u.value=c.data},{passive:!0}),l.value.addEventListener("messageerror",c=>{a.value=c},{passive:!0}),l.value.addEventListener("close",()=>{o.value=!0})}),N(()=>{i()}),{isSupported:r,channel:l,data:u,post:s,close:i,error:a,isClosed:o}};function lo({window:e=C}={}){const t=r=>{const{state:o,length:l}=e?.history||{},{hash:u,host:a,hostname:s,href:i,origin:c,pathname:f,port:h,protocol:d,search:v}=e?.location||{};return{trigger:r,state:o,length:l,hash:u,host:a,hostname:s,href:i,origin:c,pathname:f,port:h,protocol:d,search:v}},n=m(t("load"));return e&&(b(e,"popstate",()=>n.value=t("popstate"),{passive:!0}),b(e,"hashchange",()=>n.value=t("hashchange"),{passive:!0})),n}function uo(e,t=(r,o)=>r===o,n){const r=m(e.value);return j(()=>e.value,o=>{t(o,r.value)||(r.value=o)},n),r}function so(e={}){const{navigator:t=J,read:n=!1,source:r,copiedDuring:o=1500,legacy:l=!1}=e,u=["copy","cut"],a=R(()=>t&&"clipboard"in t),s=E(()=>a.value||l),i=m(""),c=m(!1),f=Ee(()=>c.value=!1,o);function h(){a.value?t.clipboard.readText().then(g=>{i.value=g}):i.value=p()}if(s.value&&n)for(const g of u)b(g,h);async function d(g=F(r)){s.value&&g!=null&&(a.value?await t.clipboard.writeText(g):v(g),i.value=g,c.value=!0,f.start())}function v(g){const _=document.createElement("textarea");_.value=g??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function p(){var g,_,y;return(y=(_=(g=document?.getSelection)==null?void 0:g.call(document))==null?void 0:_.toString())!=null?y:""}return{isSupported:s,text:i,copied:c,copy:d}}var io=Object.defineProperty,co=Object.defineProperties,fo=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Et=(e,t,n)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mo=(e,t)=>{for(var n in t||(t={}))vo.call(t,n)&&Et(e,n,t[n]);if(St)for(var n of St(t))po.call(t,n)&&Et(e,n,t[n]);return e},ho=(e,t)=>co(e,fo(t));function _e(e){return JSON.parse(JSON.stringify(e))}function go(e,t={}){const n=m({}),{manual:r,clone:o=_e,deep:l=!0,immediate:u=!0}=t;function a(){n.value=o(k(e))}return!r&&ie(e)?j(e,a,ho(mo({},t),{deep:l,immediate:u})):a(),{cloned:n,sync:a}}const He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof gt<"u"?gt:typeof self<"u"?self:{},ze="__vueuse_ssr_handlers__";He[ze]=He[ze]||{};const $t=He[ze];function xe(e,t){return $t[e]||t}function yo(e,t){$t[e]=t}function xt(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var wo=Object.defineProperty,Tt=Object.getOwnPropertySymbols,_o=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,Dt=(e,t,n)=>t in e?wo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ft=(e,t)=>{for(var n in t||(t={}))_o.call(t,n)&&Dt(e,n,t[n]);if(Tt)for(var n of Tt(t))bo.call(t,n)&&Dt(e,n,t[n]);return e};const qe={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Te(e,t,n,r={}){var o;const{flush:l="pre",deep:u=!0,listenToStorageChanges:a=!0,writeDefaults:s=!0,mergeDefaults:i=!1,shallow:c,window:f=C,eventFilter:h,onError:d=P=>{console.error(P)}}=r,v=(c?H:m)(t);if(!n)try{n=xe("getDefaultStorage",()=>{var P;return(P=C)==null?void 0:P.localStorage})()}catch(P){d(P)}if(!n)return v;const p=F(t),g=xt(p),_=(o=r.serializer)!=null?o:qe[g],{pause:y,resume:w}=it(v,()=>x(v.value),{flush:l,deep:u,eventFilter:h});return f&&a&&b(f,"storage",$),$(),v;function x(P){try{if(P==null)n.removeItem(e);else{const I=_.write(P),D=n.getItem(e);D!==I&&(n.setItem(e,I),f&&f?.dispatchEvent(new StorageEvent("storage",{key:e,oldValue:D,newValue:I,storageArea:n})))}}catch(I){d(I)}}function O(P){const I=P?P.newValue:n.getItem(e);if(I==null)return s&&p!==null&&n.setItem(e,_.write(p)),p;if(!P&&i){const D=_.read(I);return ae(i)?i(D,p):g==="object"&&!Array.isArray(D)?Ft(Ft({},p),D):D}else return typeof I!="string"?I:_.read(I)}function $(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){v.value=p;return}if(!(P&&P.key!==e)){y();try{v.value=O(P)}catch(I){d(I)}finally{P?pt(w):w()}}}}}function Ge(e){return Q("(prefers-color-scheme: dark)",e)}var Oo=Object.defineProperty,It=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable,Ct=(e,t,n)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Eo=(e,t)=>{for(var n in t||(t={}))Po.call(t,n)&&Ct(e,n,t[n]);if(It)for(var n of It(t))So.call(t,n)&&Ct(e,n,t[n]);return e};function jt(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=C,storage:l,storageKey:u="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:s,emitAuto:i}=e,c=Eo({auto:"",light:"light",dark:"dark"},e.modes||{}),f=Ge({window:o}),h=E(()=>f.value?"dark":"light"),d=s||(u==null?m(r):Te(u,r,l,{window:o,listenToStorageChanges:a})),v=E({get(){return d.value==="auto"&&!i?h.value:d.value},set(y){d.value=y}}),p=xe("updateHTMLAttrs",(y,w,x)=>{const O=o?.document.querySelector(y);if(O)if(w==="class"){const $=x.split(/\s/g);Object.values(c).flatMap(P=>(P||"").split(/\s/g)).filter(Boolean).forEach(P=>{$.includes(P)?O.classList.add(P):O.classList.remove(P)})}else O.setAttribute(w,x)});function g(y){var w;const x=y==="auto"?h.value:y;p(t,n,(w=c[x])!=null?w:x)}function _(y){e.onChanged?e.onChanged(y,g):g(y)}return j(v,_,{flush:"post",immediate:!0}),i&&j(h,()=>_(v.value),{flush:"post"}),te(()=>_(v.value)),v}function $o(e=m(!1)){const t=K(),n=K(),r=K();let o=U;const l=s=>(r.trigger(s),e.value=!0,new Promise(i=>{o=i})),u=s=>{e.value=!1,t.trigger(s),o({data:s,isCanceled:!1})},a=s=>{e.value=!1,n.trigger(s),o({data:s,isCanceled:!0})};return{isRevealed:E(()=>e.value),reveal:l,confirm:u,cancel:a,onReveal:r.on,onConfirm:t.on,onCancel:n.on}}function be(e,t,{window:n=C,initialValue:r=""}={}){const o=m(r),l=E(()=>{var u;return L(t)||((u=n?.document)==null?void 0:u.documentElement)});return j([l,()=>F(e)],([u,a])=>{var s;if(u&&n){const i=(s=n.getComputedStyle(u).getPropertyValue(a))==null?void 0:s.trim();o.value=i||r}},{immediate:!0}),j(o,u=>{var a;(a=l.value)!=null&&a.style&&l.value.style.setProperty(F(e),u)}),o}function xo(){const e=Me(),t=rt(()=>null,()=>e.proxy.$el);return vt(t.trigger),dt(t.trigger),t}function To(e,t){var n;const r=H((n=t?.initialValue)!=null?n:e[0]),o=E({get(){var i;let c=t?.getIndexOf?t.getIndexOf(r.value,e):e.indexOf(r.value);return c<0&&(c=(i=t?.fallbackIndex)!=null?i:0),c},set(i){l(i)}});function l(i){const c=e.length,f=(i%c+c)%c,h=e[f];return r.value=h,h}function u(i=1){return l(o.value+i)}function a(i=1){return u(i)}function s(i=1){return u(-i)}return{state:r,index:o,next:a,prev:s}}var Do=Object.defineProperty,Fo=Object.defineProperties,Io=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,kt=(e,t,n)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ao=(e,t)=>{for(var n in t||(t={}))Co.call(t,n)&&kt(e,n,t[n]);if(At)for(var n of At(t))jo.call(t,n)&&kt(e,n,t[n]);return e},ko=(e,t)=>Fo(e,Io(t));function Ro(e={}){const{valueDark:t="dark",valueLight:n="",window:r=C}=e,o=jt(ko(Ao({},e),{onChanged:(a,s)=>{var i;e.onChanged?(i=e.onChanged)==null||i.call(e,a==="dark"):s(a)},modes:{dark:t,light:n}})),l=Ge({window:r});return E({get(){return o.value==="dark"},set(a){a===l.value?o.value="auto":o.value=a?"dark":"light"}})}const Rt=e=>e,Lo=(e,t)=>e.value=t;function No(e){return e?ae(e)?e:_e:Rt}function Mo(e){return e?ae(e)?e:_e:Rt}function Lt(e,t={}){const{clone:n=!1,dump:r=No(n),parse:o=Mo(n),setSource:l=Lo}=t;function u(){return _r({snapshot:r(e.value),timestamp:me()})}const a=m(u()),s=m([]),i=m([]),c=w=>{l(e,o(w.snapshot)),a.value=w},f=()=>{s.value.unshift(a.value),a.value=u(),t.capacity&&s.value.length>t.capacity&&s.value.splice(t.capacity,1/0),i.value.length&&i.value.splice(0,i.value.length)},h=()=>{s.value.splice(0,s.value.length),i.value.splice(0,i.value.length)},d=()=>{const w=s.value.shift();w&&(i.value.unshift(a.value),c(w))},v=()=>{const w=i.value.shift();w&&(s.value.unshift(a.value),c(w))},p=()=>{c(a.value)},g=E(()=>[a.value,...s.value]),_=E(()=>s.value.length>0),y=E(()=>i.value.length>0);return{source:e,undoStack:s,redoStack:i,last:a,history:g,canUndo:_,canRedo:y,clear:h,commit:f,reset:p,undo:d,redo:v}}var Vo=Object.defineProperty,Uo=Object.defineProperties,Bo=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable,Mt=(e,t,n)=>t in e?Vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vt=(e,t)=>{for(var n in t||(t={}))Wo.call(t,n)&&Mt(e,n,t[n]);if(Nt)for(var n of Nt(t))Ho.call(t,n)&&Mt(e,n,t[n]);return e},Ut=(e,t)=>Uo(e,Bo(t));function Xe(e,t={}){const{deep:n=!1,flush:r="pre",eventFilter:o}=t,{eventFilter:l,pause:u,resume:a,isActive:s}=ir(o),{ignoreUpdates:i,ignorePrevAsyncUpdates:c,stop:f}=ke(e,g,{deep:n,flush:r,eventFilter:l});function h(x,O){c(),i(()=>{x.value=O})}const d=Lt(e,Ut(Vt({},t),{clone:t.clone||n,setSource:h})),{clear:v,commit:p}=d;function g(){c(),p()}function _(x){a(),x&&g()}function y(x){let O=!1;const $=()=>O=!0;i(()=>{x($)}),O||g()}function w(){f(),v()}return Ut(Vt({},d),{isTracking:s,pause:u,resume:_,commit:g,batch:y,dispose:w})}var zo=Object.defineProperty,qo=Object.defineProperties,Go=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,Wt=(e,t,n)=>t in e?zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ht=(e,t)=>{for(var n in t||(t={}))Xo.call(t,n)&&Wt(e,n,t[n]);if(Bt)for(var n of Bt(t))Yo.call(t,n)&&Wt(e,n,t[n]);return e},Ko=(e,t)=>qo(e,Go(t));function Jo(e,t={}){const n=t.debounce?ar(t.debounce):void 0,r=Xe(e,Ko(Ht({},t),{eventFilter:n}));return Ht({},r)}function Qo(e={}){const{window:t=C,eventFilter:n=lr}=e,r=m({x:null,y:null,z:null}),o=m({alpha:null,beta:null,gamma:null}),l=m(0),u=m({x:null,y:null,z:null});if(t){const a=ot(n,s=>{r.value=s.acceleration,u.value=s.accelerationIncludingGravity,o.value=s.rotationRate,l.value=s.interval});b(t,"devicemotion",a)}return{acceleration:r,accelerationIncludingGravity:u,rotationRate:o,interval:l}}function zt(e={}){const{window:t=C}=e,n=R(()=>t&&"DeviceOrientationEvent"in t),r=m(!1),o=m(null),l=m(null),u=m(null);return t&&n.value&&b(t,"deviceorientation",a=>{r.value=a.absolute,o.value=a.alpha,l.value=a.beta,u.value=a.gamma}),{isSupported:n,isAbsolute:r,alpha:o,beta:l,gamma:u}}function Zo({window:e=C}={}){if(!e)return{pixelRatio:m(1)};const t=m(1),n=[],r=()=>{n.map(l=>l()),n.length=0},o=()=>{t.value=e.devicePixelRatio,r();const l=e.matchMedia(`(resolution: ${t.value}dppx)`);l.addEventListener("change",o,{once:!0}),n.push(()=>{l.removeEventListener("change",o)})};return o(),N(r),{pixelRatio:t}}function qt(e,t={}){const{controls:n=!1,navigator:r=J}=t,o=R(()=>r&&"permissions"in r);let l;const u=typeof e=="string"?{name:e}:e,a=m(),s=()=>{l&&(a.value=l.state)},i=sr(async()=>{if(o.value){if(!l)try{l=await r.permissions.query(u),b(l,"change",s),s()}catch{a.value="prompt"}return l}});return i(),n?{state:a,isSupported:o,query:i}:a}function ea(e={}){const{navigator:t=J,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:o}=e,l=m([]),u=E(()=>l.value.filter(d=>d.kind==="videoinput")),a=E(()=>l.value.filter(d=>d.kind==="audioinput")),s=E(()=>l.value.filter(d=>d.kind==="audiooutput")),i=R(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=m(!1);async function f(){i.value&&(l.value=await t.mediaDevices.enumerateDevices(),o?.(l.value))}async function h(){if(!i.value)return!1;if(c.value)return!0;const{state:d,query:v}=qt("camera",{controls:!0});return await v(),d.value!=="granted"&&((await t.mediaDevices.getUserMedia(r)).getTracks().forEach(g=>g.stop()),f()),c.value=!0,c.value}return i.value&&(n&&h(),b(t.mediaDevices,"devicechange",f),f()),{devices:l,ensurePermissions:h,permissionGranted:c,videoInputs:u,audioInputs:a,audioOutputs:s,isSupported:i}}function ta(e={}){var t;const n=m((t=e.enabled)!=null?t:!1),r=e.video,o=e.audio,{navigator:l=J}=e,u=R(()=>{var d;return(d=l?.mediaDevices)==null?void 0:d.getDisplayMedia}),a={audio:o,video:r},s=H();async function i(){if(!(!u.value||s.value))return s.value=await l.mediaDevices.getDisplayMedia(a),s.value}async function c(){var d;(d=s.value)==null||d.getTracks().forEach(v=>v.stop()),s.value=void 0}function f(){c(),n.value=!1}async function h(){return await i(),s.value&&(n.value=!0),s.value}return j(n,d=>{d?i():c()},{immediate:!0}),{isSupported:u,stream:s,start:h,stop:f,enabled:n}}function na({document:e=z}={}){if(!e)return m("visible");const t=m(e.visibilityState);return b(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var ra=Object.defineProperty,oa=Object.defineProperties,aa=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,la=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,Xt=(e,t,n)=>t in e?ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sa=(e,t)=>{for(var n in t||(t={}))la.call(t,n)&&Xt(e,n,t[n]);if(Gt)for(var n of Gt(t))ua.call(t,n)&&Xt(e,n,t[n]);return e},ia=(e,t)=>oa(e,aa(t));function ca(e,t={}){var n,r,o;const l=(n=t.draggingElement)!=null?n:C,u=(r=t.handle)!=null?r:e,a=m((o=F(t.initialValue))!=null?o:{x:0,y:0}),s=m(),i=v=>t.pointerTypes?t.pointerTypes.includes(v.pointerType):!0,c=v=>{F(t.preventDefault)&&v.preventDefault(),F(t.stopPropagation)&&v.stopPropagation()},f=v=>{var p;if(!i(v)||F(t.exact)&&v.target!==F(e))return;const g=F(e).getBoundingClientRect(),_={x:v.clientX-g.left,y:v.clientY-g.top};((p=t.onStart)==null?void 0:p.call(t,_,v))!==!1&&(s.value=_,c(v))},h=v=>{var p;i(v)&&s.value&&(a.value={x:v.clientX-s.value.x,y:v.clientY-s.value.y},(p=t.onMove)==null||p.call(t,a.value,v),c(v))},d=v=>{var p;i(v)&&s.value&&(s.value=void 0,(p=t.onEnd)==null||p.call(t,a.value,v),c(v))};return ue&&(b(u,"pointerdown",f,!0),b(l,"pointermove",h,!0),b(l,"pointerup",d,!0)),ia(sa({},at(a)),{position:a,isDragging:E(()=>!!s.value),style:E(()=>`left:${a.value.x}px;top:${a.value.y}px;`)})}function fa(e,t){const n=m(!1);let r=0;return ue&&(b(e,"dragenter",o=>{o.preventDefault(),r+=1,n.value=!0}),b(e,"dragover",o=>{o.preventDefault()}),b(e,"dragleave",o=>{o.preventDefault(),r-=1,r===0&&(n.value=!1)}),b(e,"drop",o=>{var l,u;o.preventDefault(),r=0,n.value=!1;const a=Array.from((u=(l=o.dataTransfer)==null?void 0:l.files)!=null?u:[]);t?.(a.length===0?null:a)})),{isOverDropZone:n}}var Yt=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,pa=(e,t)=>{var n={};for(var r in e)va.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Yt)for(var r of Yt(e))t.indexOf(r)<0&&da.call(e,r)&&(n[r]=e[r]);return n};function De(e,t,n={}){const r=n,{window:o=C}=r,l=pa(r,["window"]);let u;const a=R(()=>o&&"ResizeObserver"in o),s=()=>{u&&(u.disconnect(),u=void 0)},i=j(()=>L(e),f=>{s(),a.value&&o&&f&&(u=new ResizeObserver(t),u.observe(f,l))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return N(c),{isSupported:a,stop:c}}function ma(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:l=!0}=t,u=m(0),a=m(0),s=m(0),i=m(0),c=m(0),f=m(0),h=m(0),d=m(0);function v(){const p=L(e);if(!p){n&&(u.value=0,a.value=0,s.value=0,i.value=0,c.value=0,f.value=0,h.value=0,d.value=0);return}const g=p.getBoundingClientRect();u.value=g.height,a.value=g.bottom,s.value=g.left,i.value=g.right,c.value=g.top,f.value=g.width,h.value=g.x,d.value=g.y}return De(e,v),j(()=>L(e),p=>!p&&v()),o&&b("scroll",v,{capture:!0,passive:!0}),r&&b("resize",v,{passive:!0}),te(()=>{l&&v()}),{height:u,bottom:a,left:s,right:i,top:c,width:f,x:h,y:d,update:v}}function ce(e,t={}){const{immediate:n=!0,window:r=C}=t,o=m(!1);let l=0,u=null;function a(c){if(!o.value||!r)return;const f=c-l;e({delta:f,timestamp:c}),l=c,u=r.requestAnimationFrame(a)}function s(){!o.value&&r&&(o.value=!0,u=r.requestAnimationFrame(a))}function i(){o.value=!1,u!=null&&r&&(r.cancelAnimationFrame(u),u=null)}return n&&s(),N(i),{isActive:le(o),pause:i,resume:s}}var ha=Object.defineProperty,Kt=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,ya=Object.prototype.propertyIsEnumerable,Jt=(e,t,n)=>t in e?ha(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wa=(e,t)=>{for(var n in t||(t={}))ga.call(t,n)&&Jt(e,n,t[n]);if(Kt)for(var n of Kt(t))ya.call(t,n)&&Jt(e,n,t[n]);return e};function _a(e){const t=m(null),{x:n,y:r,document:o=z}=e,l=ce(()=>{t.value=o?.elementFromPoint(F(n),F(r))||null});return wa({element:t},l)}function ba(e){const t=m(!1);return b(e,"mouseenter",()=>t.value=!0),b(e,"mouseleave",()=>t.value=!1),t}function Qt(e,t={width:0,height:0},n={}){const{window:r=C,box:o="content-box"}=n,l=E(()=>{var s,i;return(i=(s=L(e))==null?void 0:s.namespaceURI)==null?void 0:i.includes("svg")}),u=m(t.width),a=m(t.height);return De(e,([s])=>{const i=o==="border-box"?s.borderBoxSize:o==="content-box"?s.contentBoxSize:s.devicePixelContentBoxSize;if(r&&l.value){const c=L(e);if(c){const f=r.getComputedStyle(c);u.value=parseFloat(f.width),a.value=parseFloat(f.height)}}else if(i){const c=Array.isArray(i)?i:[i];u.value=c.reduce((f,{inlineSize:h})=>f+h,0),a.value=c.reduce((f,{blockSize:h})=>f+h,0)}else u.value=s.contentRect.width,a.value=s.contentRect.height},n),j(()=>L(e),s=>{u.value=s?t.width:0,a.value=s?t.height:0}),{width:u,height:a}}function Oa(e,{window:t=C,scrollTarget:n}={}){const r=m(!1),o=()=>{if(!t)return;const l=t.document,u=L(e);if(!u)r.value=!1;else{const a=u.getBoundingClientRect();r.value=a.top<=(t.innerHeight||l.documentElement.clientHeight)&&a.left<=(t.innerWidth||l.documentElement.clientWidth)&&a.bottom>=0&&a.right>=0}};return j(()=>L(e),()=>o(),{immediate:!0,flush:"post"}),t&&b(n||t,"scroll",o,{capture:!1,passive:!0}),r}const fe=new Map;function Pa(e){const t=yr();function n(a){var s;const i=fe.get(e)||[];i.push(a),fe.set(e,i);const c=()=>o(a);return(s=t?.cleanups)==null||s.push(c),c}function r(a){function s(...i){o(s),a(...i)}return n(s)}function o(a){const s=fe.get(e);if(!s)return;const i=s.indexOf(a);i>-1&&s.splice(i,1),s.length||fe.delete(e)}function l(){fe.delete(e)}function u(a,s){var i;(i=fe.get(e))==null||i.forEach(c=>c(a,s))}return{on:n,once:r,off:o,emit:u,reset:l}}function Sa(e,t=[],n={}){const r=m(null),o=m(null),l=m("CONNECTING"),u=m(null),a=m(null),{withCredentials:s=!1}=n,i=()=>{u.value&&(u.value.close(),u.value=null,l.value="CLOSED")},c=new EventSource(e,{withCredentials:s});u.value=c,c.onopen=()=>{l.value="OPEN",a.value=null},c.onerror=f=>{l.value="CLOSED",a.value=f},c.onmessage=f=>{r.value=null,o.value=f.data};for(const f of t)b(c,f,h=>{r.value=f,o.value=h.data||null});return N(()=>{i()}),{eventSource:u,event:r,data:o,status:l,error:a,close:i}}function Ea(e={}){const{initialValue:t=""}=e,n=R(()=>typeof window<"u"&&"EyeDropper"in window),r=m(t);async function o(l){if(!n.value)return;const a=await new window.EyeDropper().open(l);return r.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:r,open:o}}function $a(e=null,t={}){const{baseUrl:n="",rel:r="icon",document:o=z}=t,l=Y(e),u=a=>{o?.head.querySelectorAll(`link[rel*="${r}"]`).forEach(s=>s.href=`${n}${a}`)};return j(l,(a,s)=>{pe(a)&&a!==s&&u(a)},{immediate:!0}),l}var xa=Object.defineProperty,Ta=Object.defineProperties,Da=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,Fa=Object.prototype.hasOwnProperty,Ia=Object.prototype.propertyIsEnumerable,en=(e,t,n)=>t in e?xa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t)=>{for(var n in t||(t={}))Fa.call(t,n)&&en(e,n,t[n]);if(Zt)for(var n of Zt(t))Ia.call(t,n)&&en(e,n,t[n]);return e},se=(e,t)=>Ta(e,Da(t));const Ca={json:"application/json",text:"text/plain"};function Fe(e){return pr(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function ja(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Oe(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries([...e.entries()]):e}function ve(e,...t){return e==="overwrite"?async n=>{const r=t[t.length-1];return r!==void 0&&await r(n),n}:async n=>(await t.reduce((r,o)=>r.then(async()=>{o&&(n=M(M({},n),await o(n)))}),Promise.resolve()),n)}function Aa(e={}){const t=e.combination||"chain",n=e.options||{},r=e.fetchOptions||{};function o(l,...u){const a=E(()=>{const c=F(e.baseUrl),f=F(l);return c&&!ja(f)?ka(c,f):f});let s=n,i=r;return u.length>0&&(Fe(u[0])?s=se(M(M({},s),u[0]),{beforeFetch:ve(t,n.beforeFetch,u[0].beforeFetch),afterFetch:ve(t,n.afterFetch,u[0].afterFetch),onFetchError:ve(t,n.onFetchError,u[0].onFetchError)}):i=se(M(M({},i),u[0]),{headers:M(M({},Oe(i.headers)||{}),Oe(u[0].headers)||{})})),u.length>1&&Fe(u[1])&&(s=se(M(M({},s),u[1]),{beforeFetch:ve(t,n.beforeFetch,u[1].beforeFetch),afterFetch:ve(t,n.afterFetch,u[1].afterFetch),onFetchError:ve(t,n.onFetchError,u[1].onFetchError)})),tn(a,i,s)}return o}function tn(e,...t){var n;const r=typeof AbortController=="function";let o={},l={immediate:!0,refetch:!1,timeout:0};const u={method:"GET",type:"text",payload:void 0};t.length>0&&(Fe(t[0])?l=M(M({},l),t[0]):o=t[0]),t.length>1&&Fe(t[1])&&(l=M(M({},l),t[1]));const{fetch:a=(n=C)==null?void 0:n.fetch,initialData:s,timeout:i}=l,c=K(),f=K(),h=K(),d=m(!1),v=m(!1),p=m(!1),g=m(null),_=H(null),y=H(null),w=H(s),x=E(()=>r&&v.value);let O,$;const P=()=>{r&&O&&O.abort()},I=V=>{v.value=V,d.value=!V};i&&($=Ee(P,i,{immediate:!1}));const D=async(V=!1)=>{var ee;I(!0),y.value=null,g.value=null,p.value=!1,O=void 0,r&&(O=new AbortController,O.signal.onabort=()=>p.value=!0,o=se(M({},o),{signal:O.signal}));const q={method:u.method,headers:{}};if(u.payload){const Pe=Oe(q.headers);u.payloadType&&(Pe["Content-Type"]=(ee=Ca[u.payloadType])!=null?ee:u.payloadType);const Se=F(u.payload);q.body=u.payloadType==="json"?JSON.stringify(Se):Se}let G=!1;const re={url:F(e),options:M(M({},q),o),cancel:()=>{G=!0}};if(l.beforeFetch&&Object.assign(re,await l.beforeFetch(re)),G||!a)return I(!1),Promise.resolve(null);let oe=null;return $&&$.start(),new Promise((Pe,Se)=>{var et;a(re.url,se(M(M({},q),re.options),{headers:M(M({},Oe(q.headers)),Oe((et=re.options)==null?void 0:et.headers))})).then(async X=>{if(_.value=X,g.value=X.status,oe=await X[u.type](),l.afterFetch&&g.value>=200&&g.value<300&&({data:oe}=await l.afterFetch({data:oe,response:X})),w.value=oe,!X.ok)throw new Error(X.statusText);return c.trigger(X),Pe(X)}).catch(async X=>{let tt=X.message||X.name;return l.onFetchError&&({data:oe,error:tt}=await l.onFetchError({data:oe,error:X,response:_.value})),w.value=oe,y.value=tt,f.trigger(X),V?Se(X):Pe(null)}).finally(()=>{I(!1),$&&$.stop(),h.trigger(null)})})},S=Y(l.refetch);j([S,Y(e)],([V])=>V&&D(),{deep:!0});const T={isFinished:d,statusCode:g,response:_,error:y,data:w,isFetching:v,canAbort:x,aborted:p,abort:P,execute:D,onFetchResponse:c.on,onFetchError:f.on,onFetchFinally:h.on,get:A("GET"),put:A("PUT"),post:A("POST"),delete:A("DELETE"),patch:A("PATCH"),head:A("HEAD"),options:A("OPTIONS"),json:ne("json"),text:ne("text"),blob:ne("blob"),arrayBuffer:ne("arrayBuffer"),formData:ne("formData")};function A(V){return(ee,q)=>{if(!v.value){u.method=V,u.payload=ee,u.payloadType=q,ie(u.payload)&&j([S,Y(u.payload)],([re])=>re&&D(),{deep:!0});const G=F(u.payload);return!q&&G&&Object.getPrototypeOf(G)===Object.prototype&&!(G instanceof FormData)&&(u.payloadType="json"),se(M({},T),{then(re,oe){return W().then(re,oe)}})}}}function W(){return new Promise((V,ee)=>{Le(d).toBe(!0).then(()=>V(T)).catch(q=>ee(q))})}function ne(V){return()=>{if(!v.value)return u.type=V,se(M({},T),{then(ee,q){return W().then(ee,q)}})}}return l.immediate&&setTimeout(D,0),se(M({},T),{then(V,ee){return W().then(V,ee)}})}function ka(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:`${e}${t}`}var Ra=Object.defineProperty,nn=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,rn=(e,t,n)=>t in e?Ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ye=(e,t)=>{for(var n in t||(t={}))La.call(t,n)&&rn(e,n,t[n]);if(nn)for(var n of nn(t))Na.call(t,n)&&rn(e,n,t[n]);return e};const Ma={multiple:!0,accept:"*"};function Va(e={}){const{document:t=z}=e,n=m(null);let r;t&&(r=t.createElement("input"),r.type="file",r.onchange=u=>{const a=u.target;n.value=a.files});const o=u=>{if(!r)return;const a=Ye(Ye(Ye({},Ma),e),u);r.multiple=a.multiple,r.accept=a.accept,ct(a,"capture")&&(r.capture=a.capture),r.click()},l=()=>{n.value=null,r&&(r.value="")};return{files:le(n),open:o,reset:l}}var Ua=Object.defineProperty,on=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,an=(e,t,n)=>t in e?Ua(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,de=(e,t)=>{for(var n in t||(t={}))Ba.call(t,n)&&an(e,n,t[n]);if(on)for(var n of on(t))Wa.call(t,n)&&an(e,n,t[n]);return e};function Ha(e={}){const{window:t=C,dataType:n="Text"}=k(e),r=t,o=R(()=>r&&"showSaveFilePicker"in r&&"showOpenFilePicker"in r),l=m(),u=m(),a=m(),s=E(()=>{var y,w;return(w=(y=a.value)==null?void 0:y.name)!=null?w:""}),i=E(()=>{var y,w;return(w=(y=a.value)==null?void 0:y.type)!=null?w:""}),c=E(()=>{var y,w;return(w=(y=a.value)==null?void 0:y.size)!=null?w:0}),f=E(()=>{var y,w;return(w=(y=a.value)==null?void 0:y.lastModified)!=null?w:0});async function h(y={}){if(!o.value)return;const[w]=await r.showOpenFilePicker(de(de({},k(e)),y));l.value=w,await g(),await _()}async function d(y={}){o.value&&(l.value=await r.showSaveFilePicker(de(de({},k(e)),y)),u.value=void 0,await g(),await _())}async function v(y={}){if(o.value){if(!l.value)return p(y);if(u.value){const w=await l.value.createWritable();await w.write(u.value),await w.close()}await g()}}async function p(y={}){if(o.value){if(l.value=await r.showSaveFilePicker(de(de({},k(e)),y)),u.value){const w=await l.value.createWritable();await w.write(u.value),await w.close()}await g()}}async function g(){var y;a.value=await((y=l.value)==null?void 0:y.getFile())}async function _(){var y,w;k(n)==="Text"&&(u.value=await((y=a.value)==null?void 0:y.text())),k(n)==="ArrayBuffer"&&(u.value=await((w=a.value)==null?void 0:w.arrayBuffer())),k(n)==="Blob"&&(u.value=a.value)}return j(()=>k(n),_),{isSupported:o,data:u,file:a,fileName:s,fileMIME:i,fileSize:c,fileLastModified:f,open:h,create:d,save:v,saveAs:p,updateData:_}}function za(e,t={}){const{initialValue:n=!1}=t,r=Be(t),o=E(()=>L(e)),l=E({get(){return Ae(r.value)&&Ae(o.value)&&r.value===o.value},set(u){var a,s;!u&&l.value&&((a=o.value)==null||a.blur()),u&&!l.value&&((s=o.value)==null||s.focus())}});return j(o,()=>{l.value=n},{immediate:!0,flush:"post"}),{focused:l}}function qa(e,t={}){const n=Be(t),r=E(()=>L(e));return{focused:E(()=>r.value&&n.value?r.value.contains(n.value):!1)}}function Ga(e){var t;const n=m(0);if(typeof performance>"u")return n;const r=(t=e?.every)!=null?t:10;let o=performance.now(),l=0;return ce(()=>{if(l+=1,l>=r){const u=performance.now(),a=u-o;n.value=Math.round(1e3/(a/l)),o=u,l=0}}),n}const ln=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function Xa(e,t={}){const{document:n=z,autoExit:r=!1}=t,o=e||n?.querySelector("html"),l=m(!1);let u=ln[0];const a=R(()=>{if(n){for(const p of ln)if(p[1]in n)return u=p,!0}else return!1;return!1}),[s,i,c,,f]=u;async function h(){a.value&&(n?.[c]&&await n[i](),l.value=!1)}async function d(){if(!a.value)return;await h();const p=L(o);p&&(await p[s](),l.value=!0)}async function v(){l.value?await h():await d()}return n&&b(n,f,()=>{l.value=!!n?.[c]},!1),r&&N(h),{isSupported:a,isFullscreen:l,enter:d,exit:h,toggle:v}}function Ya(e){return E(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function Ka(e={}){const{navigator:t=J}=e,n=R(()=>t&&"getGamepads"in t),r=m([]),o=K(),l=K(),u=d=>{const v=[],p="vibrationActuator"in d?d.vibrationActuator:null;return p&&v.push(p),d.hapticActuators&&v.push(...d.hapticActuators),{id:d.id,hapticActuators:v,index:d.index,mapping:d.mapping,connected:d.connected,timestamp:d.timestamp,axes:d.axes.map(g=>g),buttons:d.buttons.map(g=>({pressed:g.pressed,touched:g.touched,value:g.value}))}},a=()=>{const d=t?.getGamepads()||[];for(let v=0;v<d.length;++v){const p=d[v];if(p){const g=r.value.findIndex(({index:_})=>_===p.index);g>-1&&(r.value[g]=u(p))}}},{isActive:s,pause:i,resume:c}=ce(a),f=d=>{r.value.some(({index:v})=>v===d.index)||(r.value.push(u(d)),o.trigger(d.index)),c()},h=d=>{r.value=r.value.filter(v=>v.index!==d.index),l.trigger(d.index)};return b("gamepadconnected",d=>f(d.gamepad)),b("gamepaddisconnected",d=>h(d.gamepad)),te(()=>{const d=t?.getGamepads()||[];if(d)for(let v=0;v<d.length;++v){const p=d[v];p&&f(p)}}),i(),{isSupported:n,onConnected:o.on,onDisconnected:l.on,gamepads:r,pause:i,resume:c,isActive:s}}function Ja(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:r=27e3,navigator:o=J,immediate:l=!0}=e,u=R(()=>o&&"geolocation"in o),a=m(null),s=m(null),i=m({accuracy:0,latitude:1/0,longitude:1/0,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function c(v){a.value=v.timestamp,i.value=v.coords,s.value=null}let f;function h(){u.value&&(f=o.geolocation.watchPosition(c,v=>s.value=v,{enableHighAccuracy:t,maximumAge:n,timeout:r}))}l&&h();function d(){f&&o&&o.geolocation.clearWatch(f)}return N(()=>{d()}),{isSupported:u,coords:i,locatedAt:a,error:s,resume:h,pause:d}}const Qa=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Za=6e4;function el(e=Za,t={}){const{initialState:n=!1,listenForVisibilityChange:r=!0,events:o=Qa,window:l=C,eventFilter:u=lt(50)}=t,a=m(n),s=m(me());let i;const c=ot(u,()=>{a.value=!1,s.value=me(),clearTimeout(i),i=setTimeout(()=>a.value=!0,e)});if(l){const f=l.document;for(const h of o)b(l,h,c,{passive:!0});r&&b(f,"visibilitychange",()=>{f.hidden||c()})}return i=setTimeout(()=>a.value=!0,e),{idle:a,lastActive:s}}var tl=Object.defineProperty,un=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,sn=(e,t,n)=>t in e?tl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ol=(e,t)=>{for(var n in t||(t={}))nl.call(t,n)&&sn(e,n,t[n]);if(un)for(var n of un(t))rl.call(t,n)&&sn(e,n,t[n]);return e};async function al(e){return new Promise((t,n)=>{const r=new Image,{src:o,srcset:l,sizes:u}=e;r.src=o,l&&(r.srcset=l),u&&(r.sizes=u),r.onload=()=>t(r),r.onerror=n})}const ll=(e,t={})=>{const n=bt(()=>al(F(e)),void 0,ol({resetOnExecute:!0},t));return j(()=>F(e),()=>n.execute(t.delay),{deep:!0}),n},cn=1;function fn(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=U,onScroll:l=U,offset:u={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:s="auto"}=t,i=m(0),c=m(0),f=E({get(){return i.value},set(w){d(w,void 0)}}),h=E({get(){return c.value},set(w){d(void 0,w)}});function d(w,x){var O,$,P;const I=F(e);I&&((P=I instanceof Document?document.body:I)==null||P.scrollTo({top:(O=F(x))!=null?O:h.value,left:($=F(w))!=null?$:f.value,behavior:F(s)}))}const v=m(!1),p=B({left:!0,right:!1,top:!0,bottom:!1}),g=B({left:!1,right:!1,top:!1,bottom:!1}),_=st(w=>{v.value=!1,g.left=!1,g.right=!1,g.top=!1,g.bottom=!1,o(w)},n+r),y=w=>{const x=w.target===document?w.target.documentElement:w.target,O=x.scrollLeft;g.left=O<i.value,g.right=O>c.value,p.left=O<=0+(u.left||0),p.right=O+x.clientWidth>=x.scrollWidth-(u.right||0)-cn,i.value=O;let $=x.scrollTop;w.target===document&&!$&&($=document.body.scrollTop),g.top=$<c.value,g.bottom=$>c.value,p.top=$<=0+(u.top||0),p.bottom=$+x.clientHeight>=x.scrollHeight-(u.bottom||0)-cn,c.value=$,v.value=!0,_(w),l(w)};return b(e,"scroll",n?fr(y,n,!0,!1):y,a),{x:f,y:h,isScrolling:v,arrivedState:p,directions:g}}var ul=Object.defineProperty,sl=Object.defineProperties,il=Object.getOwnPropertyDescriptors,vn=Object.getOwnPropertySymbols,cl=Object.prototype.hasOwnProperty,fl=Object.prototype.propertyIsEnumerable,dn=(e,t,n)=>t in e?ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pn=(e,t)=>{for(var n in t||(t={}))cl.call(t,n)&&dn(e,n,t[n]);if(vn)for(var n of vn(t))fl.call(t,n)&&dn(e,n,t[n]);return e},vl=(e,t)=>sl(e,il(t));function dl(e,t,n={}){var r,o;const l=(r=n.direction)!=null?r:"bottom",u=B(fn(e,vl(pn({},n),{offset:pn({[l]:(o=n.distance)!=null?o:0},n.offset)})));j(()=>u.arrivedState[l],async a=>{var s,i;if(a){const c=F(e),f={height:(s=c?.scrollHeight)!=null?s:0,width:(i=c?.scrollWidth)!=null?i:0};await t(u),n.preserveScrollPosition&&c&&pt(()=>{c.scrollTo({top:c.scrollHeight-f.height,left:c.scrollWidth-f.width})})}})}function pl(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:l=.1,window:u=C}=n,a=R(()=>u&&"IntersectionObserver"in u);let s=U;const i=a.value?j(()=>({el:L(e),root:L(r)}),({el:f,root:h})=>{if(s(),!f)return;const d=new IntersectionObserver(t,{root:h,rootMargin:o,threshold:l});d.observe(f),s=()=>{d.disconnect(),s=U}},{immediate:!0,flush:"post"}):U,c=()=>{s(),i()};return N(c),{isSupported:a,stop:c}}const ml=["mousedown","mouseup","keydown","keyup"];function hl(e,t={}){const{events:n=ml,document:r=z,initial:o=null}=t,l=m(o);return r&&n.forEach(u=>{b(r,u,a=>{typeof a.getModifierState=="function"&&(l.value=a.getModifierState(e))})}),l}function gl(e,t,n={}){const{window:r=C}=n;return Te(e,t,r?.localStorage,n)}const mn={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function yl(e={}){const{reactive:t=!1,target:n=C,aliasMap:r=mn,passive:o=!0,onEventFired:l=U}=e,u=B(new Set),a={toJSON(){return{}},current:u},s=t?B(a):a,i=new Set,c=new Set;function f(p,g){p in s&&(t?s[p]=g:s[p].value=g)}function h(){u.clear();for(const p of c)f(p,!1)}function d(p,g){var _,y;const w=(_=p.key)==null?void 0:_.toLowerCase(),O=[(y=p.code)==null?void 0:y.toLowerCase(),w].filter(Boolean);w&&(g?u.add(w):u.delete(w));for(const $ of O)c.add($),f($,g);w==="meta"&&!g?(i.forEach($=>{u.delete($),f($,!1)}),i.clear()):typeof p.getModifierState=="function"&&p.getModifierState("Meta")&&g&&[...u,...O].forEach($=>i.add($))}b(n,"keydown",p=>(d(p,!0),l(p)),{passive:o}),b(n,"keyup",p=>(d(p,!1),l(p)),{passive:o}),b("blur",h,{passive:!0}),b("focus",h,{passive:!0});const v=new Proxy(s,{get(p,g,_){if(typeof g!="string")return Reflect.get(p,g,_);if(g=g.toLowerCase(),g in r&&(g=r[g]),!(g in s))if(/[+_-]/.test(g)){const w=g.split(/[+_-]/g).map(x=>x.trim());s[g]=E(()=>w.every(x=>k(v[x])))}else s[g]=m(!1);const y=Reflect.get(p,g,_);return t?k(y):y}});return v}var wl=Object.defineProperty,hn=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,bl=Object.prototype.propertyIsEnumerable,gn=(e,t,n)=>t in e?wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yn=(e,t)=>{for(var n in t||(t={}))_l.call(t,n)&&gn(e,n,t[n]);if(hn)for(var n of hn(t))bl.call(t,n)&&gn(e,n,t[n]);return e};function Ke(e,t){F(e)&&t(F(e))}function Ol(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function Je(e){return Array.from(e).map(({label:t,kind:n,language:r,mode:o,activeCues:l,cues:u,inBandMetadataTrackDispatchType:a},s)=>({id:s,label:t,kind:n,language:r,mode:o,activeCues:l,cues:u,inBandMetadataTrackDispatchType:a}))}const Pl={src:"",tracks:[]};function Sl(e,t={}){t=yn(yn({},Pl),t);const{document:n=z}=t,r=m(0),o=m(0),l=m(!1),u=m(1),a=m(!1),s=m(!1),i=m(!1),c=m(1),f=m(!1),h=m([]),d=m([]),v=m(-1),p=m(!1),g=m(!1),_=n&&"pictureInPictureEnabled"in n,y=K(),w=S=>{Ke(e,T=>{if(S){const A=ge(S)?S:S.id;T.textTracks[A].mode="disabled"}else for(let A=0;A<T.textTracks.length;++A)T.textTracks[A].mode="disabled";v.value=-1})},x=(S,T=!0)=>{Ke(e,A=>{const W=ge(S)?S:S.id;T&&w(),A.textTracks[W].mode="showing",v.value=W})},O=()=>new Promise((S,T)=>{Ke(e,async A=>{_&&(p.value?n.exitPictureInPicture().then(S).catch(T):A.requestPictureInPicture().then(S).catch(T))})});ye(()=>{if(!n)return;const S=F(e);if(!S)return;const T=F(t.src);let A=[];T&&(pe(T)?A=[{src:T}]:Array.isArray(T)?A=T:ur(T)&&(A=[T]),S.querySelectorAll("source").forEach(W=>{W.removeEventListener("error",y.trigger),W.remove()}),A.forEach(({src:W,type:ne})=>{const V=n.createElement("source");V.setAttribute("src",W),V.setAttribute("type",ne||""),V.addEventListener("error",y.trigger),S.appendChild(V)}),S.load())}),N(()=>{const S=F(e);S&&S.querySelectorAll("source").forEach(T=>T.removeEventListener("error",y.trigger))}),j(u,S=>{const T=F(e);T&&(T.volume=S)}),j(g,S=>{const T=F(e);T&&(T.muted=S)}),j(c,S=>{const T=F(e);T&&(T.playbackRate=S)}),ye(()=>{if(!n)return;const S=F(t.tracks),T=F(e);!S||!S.length||!T||(T.querySelectorAll("track").forEach(A=>A.remove()),S.forEach(({default:A,kind:W,label:ne,src:V,srcLang:ee},q)=>{const G=n.createElement("track");G.default=A||!1,G.kind=W,G.label=ne,G.src=V,G.srclang=ee,G.default&&(v.value=q),T.appendChild(G)}))});const{ignoreUpdates:$}=ke(r,S=>{const T=F(e);T&&(T.currentTime=S)}),{ignoreUpdates:P}=ke(i,S=>{const T=F(e);T&&(S?T.play():T.pause())});b(e,"timeupdate",()=>$(()=>r.value=F(e).currentTime)),b(e,"durationchange",()=>o.value=F(e).duration),b(e,"progress",()=>h.value=Ol(F(e).buffered)),b(e,"seeking",()=>l.value=!0),b(e,"seeked",()=>l.value=!1),b(e,"waiting",()=>a.value=!0),b(e,"playing",()=>{a.value=!1,s.value=!1}),b(e,"ratechange",()=>c.value=F(e).playbackRate),b(e,"stalled",()=>f.value=!0),b(e,"ended",()=>s.value=!0),b(e,"pause",()=>P(()=>i.value=!1)),b(e,"play",()=>P(()=>i.value=!0)),b(e,"enterpictureinpicture",()=>p.value=!0),b(e,"leavepictureinpicture",()=>p.value=!1),b(e,"volumechange",()=>{const S=F(e);S&&(u.value=S.volume,g.value=S.muted)});const I=[],D=j([e],()=>{const S=F(e);S&&(D(),I[0]=b(S.textTracks,"addtrack",()=>d.value=Je(S.textTracks)),I[1]=b(S.textTracks,"removetrack",()=>d.value=Je(S.textTracks)),I[2]=b(S.textTracks,"change",()=>d.value=Je(S.textTracks)))});return N(()=>I.forEach(S=>S())),{currentTime:r,duration:o,waiting:a,seeking:l,ended:s,stalled:f,buffered:h,playing:i,rate:c,volume:u,muted:g,tracks:d,selectedTrack:v,enableTrack:x,disableTrack:w,supportsPictureInPicture:_,togglePictureInPicture:O,isPictureInPicture:p,onSourceError:y.on}}const El=()=>{const e=B({});return{get:t=>e[t],set:(t,n)=>br(e,t,n),has:t=>ct(e,t),delete:t=>ht(e,t),clear:()=>{Object.keys(e).forEach(t=>{ht(e,t)})}}};function $l(e,t){const r=t?.cache?B(t.cache):mt?El():B(new Map),o=(...c)=>t?.getKey?t.getKey(...c):JSON.stringify(c),l=(c,...f)=>(r.set(c,e(...f)),r.get(c)),u=(...c)=>l(o(...c),...c),a=(...c)=>{r.delete(o(...c))},s=()=>{r.clear()},i=(...c)=>{const f=o(...c);return r.has(f)?r.get(f):l(f,...c)};return i.load=u,i.delete=a,i.clear=s,i.generateKey=o,i.cache=r,i}function xl(e={}){const t=m(),n=R(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:r=1e3}=e;he(()=>{t.value=performance.memory},r,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}function Tl(){const e=m(!1);return dt(()=>{e.value=!0}),e}function wn(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:l=C,eventFilter:u}=e,a=m(o.x),s=m(o.y),i=m(null),c=p=>{t==="page"?(a.value=p.pageX,s.value=p.pageY):t==="client"?(a.value=p.clientX,s.value=p.clientY):t==="movement"&&(a.value=p.movementX,s.value=p.movementY),i.value="mouse"},f=()=>{a.value=o.x,s.value=o.y},h=p=>{if(p.touches.length>0){const g=p.touches[0];t==="page"?(a.value=g.pageX,s.value=g.pageY):t==="client"&&(a.value=g.clientX,s.value=g.clientY),i.value="touch"}},d=p=>u===void 0?c(p):u(()=>c(p),{}),v=p=>u===void 0?h(p):u(()=>h(p),{});return l&&(b(l,"mousemove",d,{passive:!0}),b(l,"dragover",d,{passive:!0}),n&&t!=="movement"&&(b(l,"touchstart",v,{passive:!0}),b(l,"touchmove",v,{passive:!0}),r&&b(l,"touchend",f,{passive:!0}))),{x:a,y:s,sourceType:i}}function _n(e,t={}){const{handleOutside:n=!0,window:r=C}=t,{x:o,y:l,sourceType:u}=wn(t),a=m(e??r?.document.body),s=m(0),i=m(0),c=m(0),f=m(0),h=m(0),d=m(0),v=m(!0);let p=()=>{};return r&&(p=j([a,o,l],()=>{const g=L(a);if(!g)return;const{left:_,top:y,width:w,height:x}=g.getBoundingClientRect();c.value=_+r.pageXOffset,f.value=y+r.pageYOffset,h.value=x,d.value=w;const O=o.value-c.value,$=l.value-f.value;v.value=w===0||x===0||O<0||$<0||O>w||$>x,(n||!v.value)&&(s.value=O,i.value=$)},{immediate:!0}),b(document,"mouseleave",()=>{v.value=!0})),{x:o,y:l,sourceType:u,elementX:s,elementY:i,elementPositionX:c,elementPositionY:f,elementHeight:h,elementWidth:d,isOutside:v,stop:p}}function Dl(e={}){const{touch:t=!0,drag:n=!0,initialValue:r=!1,window:o=C}=e,l=m(r),u=m(null);if(!o)return{pressed:l,sourceType:u};const a=c=>()=>{l.value=!0,u.value=c},s=()=>{l.value=!1,u.value=null},i=E(()=>L(e.target)||o);return b(i,"mousedown",a("mouse"),{passive:!0}),b(o,"mouseleave",s,{passive:!0}),b(o,"mouseup",s,{passive:!0}),n&&(b(i,"dragstart",a("mouse"),{passive:!0}),b(o,"drop",s,{passive:!0}),b(o,"dragend",s,{passive:!0})),t&&(b(i,"touchstart",a("touch"),{passive:!0}),b(o,"touchend",s,{passive:!0}),b(o,"touchcancel",s,{passive:!0})),{pressed:l,sourceType:u}}var bn=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,Cl=(e,t)=>{var n={};for(var r in e)Fl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bn)for(var r of bn(e))t.indexOf(r)<0&&Il.call(e,r)&&(n[r]=e[r]);return n};function Qe(e,t,n={}){const r=n,{window:o=C}=r,l=Cl(r,["window"]);let u;const a=R(()=>o&&"MutationObserver"in o),s=()=>{u&&(u.disconnect(),u=void 0)},i=j(()=>L(e),f=>{s(),a.value&&o&&f&&(u=new MutationObserver(t),u.observe(f,l))},{immediate:!0}),c=()=>{s(),i()};return N(c),{isSupported:a,stop:c}}const jl=(e={})=>{const{window:t=C}=e,n=t?.navigator,r=R(()=>n&&"language"in n),o=m(n?.language);return b(t,"languagechange",()=>{n&&(o.value=n.language)}),{isSupported:r,language:o}};function On(e={}){const{window:t=C}=e,n=t?.navigator,r=R(()=>n&&"connection"in n),o=m(!0),l=m(!1),u=m(void 0),a=m(void 0),s=m(void 0),i=m(void 0),c=m(void 0),f=m(void 0),h=m("unknown"),d=r.value&&n.connection;function v(){n&&(o.value=n.onLine,u.value=o.value?void 0:Date.now(),a.value=o.value?Date.now():void 0,d&&(s.value=d.downlink,i.value=d.downlinkMax,f.value=d.effectiveType,c.value=d.rtt,l.value=d.saveData,h.value=d.type))}return t&&(b(t,"offline",()=>{o.value=!1,u.value=Date.now()}),b(t,"online",()=>{o.value=!0,a.value=Date.now()})),d&&b(d,"change",v,!1),v(),{isSupported:r,isOnline:o,saveData:l,offlineAt:u,onlineAt:a,downlink:s,downlinkMax:i,effectiveType:f,rtt:c,type:h}}var Al=Object.defineProperty,Pn=Object.getOwnPropertySymbols,kl=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,Sn=(e,t,n)=>t in e?Al(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ll=(e,t)=>{for(var n in t||(t={}))kl.call(t,n)&&Sn(e,n,t[n]);if(Pn)for(var n of Pn(t))Rl.call(t,n)&&Sn(e,n,t[n]);return e};function En(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=m(new Date),o=()=>r.value=new Date,l=n==="requestAnimationFrame"?ce(o,{immediate:!0}):he(o,n,{immediate:!0});return t?Ll({now:r},l):r}function Nl(e){const t=m(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return j(()=>k(e),r=>{n(),r&&(t.value=URL.createObjectURL(r))},{immediate:!0}),N(n),le(t)}function $n(e,t,n){const r=m(e);return E({get(){return r.value=Re(r.value,F(t),F(n))},set(o){r.value=Re(o,F(t),F(n))}})}function Ml(e){const{total:t=1/0,pageSize:n=10,page:r=1,onPageChange:o=U,onPageSizeChange:l=U,onPageCountChange:u=U}=e,a=$n(n,1,1/0),s=E(()=>Math.max(1,Math.ceil(k(t)/k(a)))),i=$n(r,1,s),c=E(()=>i.value===1),f=E(()=>i.value===s.value);ie(r)&&ut(r,i),ie(n)&&ut(n,a);function h(){i.value--}function d(){i.value++}const v={currentPage:i,currentPageSize:a,pageCount:s,isFirstPage:c,isLastPage:f,prev:h,next:d};return j(i,()=>{o(B(v))}),j(a,()=>{l(B(v))}),j(s,()=>{u(B(v))}),v}function Vl(e={}){const{isOnline:t}=On(e);return t}function Ul(e={}){const{window:t=C}=e,n=m(!1),r=o=>{if(!t)return;o=o||t.event;const l=o.relatedTarget||o.toElement;n.value=!l};return t&&(b(t,"mouseout",r,{passive:!0}),b(t.document,"mouseleave",r,{passive:!0}),b(t.document,"mouseenter",r,{passive:!0})),n}function Bl(e,t={}){const{deviceOrientationTiltAdjust:n=p=>p,deviceOrientationRollAdjust:r=p=>p,mouseTiltAdjust:o=p=>p,mouseRollAdjust:l=p=>p,window:u=C}=t,a=B(zt({window:u})),{elementX:s,elementY:i,elementWidth:c,elementHeight:f}=_n(e,{handleOutside:!1,window:u}),h=E(()=>a.isSupported&&(a.alpha!=null&&a.alpha!==0||a.gamma!=null&&a.gamma!==0)?"deviceOrientation":"mouse"),d=E(()=>{if(h.value==="deviceOrientation"){const p=-a.beta/90;return r(p)}else{const p=-(i.value-f.value/2)/f.value;return l(p)}}),v=E(()=>{if(h.value==="deviceOrientation"){const p=a.gamma/90;return n(p)}else{const p=(s.value-c.value/2)/c.value;return o(p)}});return{roll:d,tilt:v,source:h}}var Wl=Object.defineProperty,Hl=Object.defineProperties,zl=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Tn=(e,t,n)=>t in e?Wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xl=(e,t)=>{for(var n in t||(t={}))ql.call(t,n)&&Tn(e,n,t[n]);if(xn)for(var n of xn(t))Gl.call(t,n)&&Tn(e,n,t[n]);return e},Yl=(e,t)=>Hl(e,zl(t));const Dn={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Kl=Object.keys(Dn);function Jl(e={}){const{target:t=C}=e,n=m(!1),r=m(e.initialValue||{});Object.assign(r.value,Dn,r.value);const o=l=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(l.pointerType))&&(r.value=mr(l,Kl,!1))};return t&&(b(t,"pointerdown",o,{passive:!0}),b(t,"pointermove",o,{passive:!0}),b(t,"pointerleave",()=>n.value=!1,{passive:!0})),Yl(Xl({},at(r)),{isInside:n})}function Ql(e,t={}){const{document:n=z,pointerLockOptions:r}=t,o=R(()=>n&&"pointerLockElement"in n),l=m(),u=m();let a;o.value&&(b(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:l.value;a&&f===a&&(l.value=n.pointerLockElement,l.value||(a=u.value=null))}),b(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:l.value;if(a&&f===a){const h=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${h} pointer lock.`)}}));async function s(c,f){var h;if(!o.value)throw new Error("Pointer Lock API is not supported by your browser.");if(u.value=c instanceof Event?c.currentTarget:null,a=c instanceof Event?(h=L(e))!=null?h:u.value:L(c),!a)throw new Error("Target element undefined.");return a.requestPointerLock(f??r),await Le(l).toBe(a)}async function i(){return l.value?(n.exitPointerLock(),await Le(l).toBeNull(),!0):!1}return{isSupported:o,element:l,triggerElement:u,lock:s,unlock:i}}var Z;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Z||(Z={}));function Zl(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:l,passive:u=!0,window:a=C}=t,s=B({x:0,y:0}),i=B({x:0,y:0}),c=E(()=>s.x-i.x),f=E(()=>s.y-i.y),{max:h,abs:d}=Math,v=E(()=>h(d(c.value),d(f.value))>=n),p=m(!1),g=E(()=>v.value?d(c.value)>d(f.value)?c.value>0?Z.LEFT:Z.RIGHT:f.value>0?Z.UP:Z.DOWN:Z.NONE),_=D=>[D.touches[0].clientX,D.touches[0].clientY],y=(D,S)=>{s.x=D,s.y=S},w=(D,S)=>{i.x=D,i.y=S};let x;const O=eu(a?.document);u?x=O?{passive:!0}:{capture:!1}:x=O?{passive:!1,capture:!0}:{capture:!0};const $=D=>{p.value&&o?.(D,g.value),p.value=!1},P=[b(e,"touchstart",D=>{x.capture&&!x.passive&&D.preventDefault();const[S,T]=_(D);y(S,T),w(S,T),l?.(D)},x),b(e,"touchmove",D=>{const[S,T]=_(D);w(S,T),!p.value&&v.value&&(p.value=!0),p.value&&r?.(D)},x),b(e,"touchend",$,x),b(e,"touchcancel",$,x)];return{isPassiveEventSupported:O,isSwiping:p,direction:g,coordsStart:s,coordsEnd:i,lengthX:c,lengthY:f,stop:()=>P.forEach(D=>D())}}function eu(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",U,n),e.removeEventListener("x",U),t}function tu(e,t={}){const n=Y(e),{threshold:r=50,onSwipe:o,onSwipeEnd:l,onSwipeStart:u}=t,a=B({x:0,y:0}),s=($,P)=>{a.x=$,a.y=P},i=B({x:0,y:0}),c=($,P)=>{i.x=$,i.y=P},f=E(()=>a.x-i.x),h=E(()=>a.y-i.y),{max:d,abs:v}=Math,p=E(()=>d(v(f.value),v(h.value))>=r),g=m(!1),_=m(!1),y=E(()=>p.value?v(f.value)>v(h.value)?f.value>0?Z.LEFT:Z.RIGHT:h.value>0?Z.UP:Z.DOWN:Z.NONE),w=$=>{var P,I,D;const S=$.buttons===0,T=$.buttons===1;return(D=(I=(P=t.pointerTypes)==null?void 0:P.includes($.pointerType))!=null?I:S||T)!=null?D:!0},x=[b(e,"pointerdown",$=>{var P,I;if(!w($))return;_.value=!0,(I=(P=n.value)==null?void 0:P.style)==null||I.setProperty("touch-action","none");const D=$.target;D?.setPointerCapture($.pointerId);const{clientX:S,clientY:T}=$;s(S,T),c(S,T),u?.($)}),b(e,"pointermove",$=>{if(!w($)||!_.value)return;const{clientX:P,clientY:I}=$;c(P,I),!g.value&&p.value&&(g.value=!0),g.value&&o?.($)}),b(e,"pointerup",$=>{var P,I;w($)&&(g.value&&l?.($,y.value),_.value=!1,g.value=!1,(I=(P=n.value)==null?void 0:P.style)==null||I.setProperty("touch-action","initial"))})],O=()=>x.forEach($=>$());return{isSwiping:le(g),direction:le(y),posStart:le(a),posEnd:le(i),distanceX:f,distanceY:h,stop:O}}function nu(e){const t=Q("(prefers-color-scheme: light)",e),n=Q("(prefers-color-scheme: dark)",e);return E(()=>n.value?"dark":t.value?"light":"no-preference")}function ru(e){const t=Q("(prefers-contrast: more)",e),n=Q("(prefers-contrast: less)",e),r=Q("(prefers-contrast: custom)",e);return E(()=>t.value?"more":n.value?"less":r.value?"custom":"no-preference")}function ou(e={}){const{window:t=C}=e;if(!t)return m(["en"]);const n=t.navigator,r=m(n.languages);return b(t,"languagechange",()=>{r.value=n.languages}),r}function au(e){const t=Q("(prefers-reduced-motion: reduce)",e);return E(()=>t.value?"reduce":"no-preference")}function lu(e,t){const n=H(t);return j(Y(e),(r,o)=>{n.value=o},{flush:"sync"}),le(n)}const uu=(e={})=>{const{window:t=C}=e,n=R(()=>t&&"screen"in t&&"orientation"in t.screen),r=n.value?t.screen.orientation:{},o=m(r.type),l=m(r.angle||0);return n.value&&b(t,"orientationchange",()=>{o.value=r.type,l.value=r.angle}),{isSupported:n,orientation:o,angle:l,lockOrientation:s=>n.value?r.lock(s):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&r.unlock()}}},Fn="--vueuse-safe-area-top",In="--vueuse-safe-area-right",Cn="--vueuse-safe-area-bottom",jn="--vueuse-safe-area-left";function su(){const e=m(""),t=m(""),n=m(""),r=m("");if(ue){const l=be(Fn),u=be(In),a=be(Cn),s=be(jn);l.value="env(safe-area-inset-top, 0px)",u.value="env(safe-area-inset-right, 0px)",a.value="env(safe-area-inset-bottom, 0px)",s.value="env(safe-area-inset-left, 0px)",o(),b("resize",st(o))}function o(){e.value=Ie(Fn),t.value=Ie(In),n.value=Ie(Cn),r.value=Ie(jn)}return{top:e,right:t,bottom:n,left:r,update:o}}function Ie(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function iu(e,t=U,n={}){const{immediate:r=!0,manual:o=!1,type:l="text/javascript",async:u=!0,crossOrigin:a,referrerPolicy:s,noModule:i,defer:c,document:f=z,attrs:h={}}=n,d=m(null);let v=null;const p=y=>new Promise((w,x)=>{const O=I=>(d.value=I,w(I),I);if(!f){w(!1);return}let $=!1,P=f.querySelector(`script[src="${F(e)}"]`);P?P.hasAttribute("data-loaded")&&O(P):(P=f.createElement("script"),P.type=l,P.async=u,P.src=F(e),c&&(P.defer=c),a&&(P.crossOrigin=a),i&&(P.noModule=i),s&&(P.referrerPolicy=s),Object.entries(h).forEach(([I,D])=>P?.setAttribute(I,D)),$=!0),P.addEventListener("error",I=>x(I)),P.addEventListener("abort",I=>x(I)),P.addEventListener("load",()=>{P.setAttribute("data-loaded","true"),t(P),O(P)}),$&&(P=f.head.appendChild(P)),y||O(P)}),g=(y=!0)=>(v||(v=p(y)),v),_=()=>{if(!f)return;v=null,d.value&&(d.value=null);const y=f.querySelector(`script[src="${F(e)}"]`);y&&f.head.removeChild(y)};return r&&!o&&te(g),o||cr(_),{scriptTag:d,load:g,unload:_}}function An(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll")return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:An(n)}}function cu(e){const t=e||window.event,n=t.target;return An(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}function fu(e,t=!1){const n=m(t);let r=null,o;j(Y(e),a=>{if(a){const s=a;o=s.style.overflow,n.value&&(s.style.overflow="hidden")}},{immediate:!0});const l=()=>{const a=F(e);!a||n.value||(ft&&(r=b(a,"touchmove",s=>{cu(s)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},u=()=>{const a=F(e);!a||!n.value||(ft&&r?.(),a.style.overflow=o,n.value=!1)};return N(u),E({get(){return n.value},set(a){a?l():u()}})}function vu(e,t,n={}){const{window:r=C}=n;return Te(e,t,r?.sessionStorage,n)}var du=Object.defineProperty,kn=Object.getOwnPropertySymbols,pu=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Rn=(e,t,n)=>t in e?du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ln=(e,t)=>{for(var n in t||(t={}))pu.call(t,n)&&Rn(e,n,t[n]);if(kn)for(var n of kn(t))mu.call(t,n)&&Rn(e,n,t[n]);return e};function hu(e={},t={}){const{navigator:n=J}=t,r=n,o=R(()=>r&&"canShare"in r);return{isSupported:o,share:async(u={})=>{if(o.value){const a=Ln(Ln({},F(e)),F(u));let s=!0;if(a.files&&r.canShare&&(s=r.canShare({files:a.files})),s)return r.share(a)}}}}const gu=(e,t)=>e.sort(t),Ce=(e,t)=>e-t;function yu(...e){var t,n,r,o;const[l]=e;let u=Ce,a={};e.length===2?typeof e[1]=="object"?(a=e[1],u=(t=a.compareFn)!=null?t:Ce):u=(n=e[1])!=null?n:Ce:e.length>2&&(u=(r=e[1])!=null?r:Ce,a=(o=e[2])!=null?o:{});const{dirty:s=!1,sortFn:i=gu}=a;return s?(ye(()=>{const c=i(k(l),u);ie(l)?l.value=c:l.splice(0,l.length,...c)}),l):E(()=>i([...k(l)],u))}function wu(e={}){const{interimResults:t=!0,continuous:n=!0,window:r=C}=e,o=Y(e.lang||"en-US"),l=m(!1),u=m(!1),a=m(""),s=H(void 0),i=(p=!l.value)=>{l.value=p},c=()=>{l.value=!0},f=()=>{l.value=!1},h=r&&(r.SpeechRecognition||r.webkitSpeechRecognition),d=R(()=>h);let v;return d.value&&(v=new h,v.continuous=n,v.interimResults=t,v.lang=k(o),v.onstart=()=>{u.value=!1},j(o,p=>{v&&!l.value&&(v.lang=p)}),v.onresult=p=>{const g=Array.from(p.results).map(_=>(u.value=_.isFinal,_[0])).map(_=>_.transcript).join("");a.value=g,s.value=void 0},v.onerror=p=>{s.value=p},v.onend=()=>{l.value=!1,v.lang=k(o)},j(l,()=>{l.value?v.start():v.stop()})),N(()=>{l.value=!1}),{isSupported:d,isListening:l,isFinal:u,recognition:v,result:a,error:s,toggle:i,start:c,stop:f}}function _u(e,t={}){const{pitch:n=1,rate:r=1,volume:o=1,window:l=C}=t,u=l&&l.speechSynthesis,a=R(()=>u),s=m(!1),i=m("init"),c=Y(e||""),f=Y(t.lang||"en-US"),h=H(void 0),d=(_=!s.value)=>{s.value=_},v=_=>{_.lang=k(f),_.voice=k(t.voice)||null,_.pitch=n,_.rate=r,_.volume=o,_.onstart=()=>{s.value=!0,i.value="play"},_.onpause=()=>{s.value=!1,i.value="pause"},_.onresume=()=>{s.value=!0,i.value="play"},_.onend=()=>{s.value=!1,i.value="end"},_.onerror=y=>{h.value=y}},p=E(()=>{s.value=!1,i.value="init";const _=new SpeechSynthesisUtterance(c.value);return v(_),_}),g=()=>{u.cancel(),p&&u.speak(p.value)};return a.value&&(v(p.value),j(f,_=>{p.value&&!s.value&&(p.value.lang=_)}),t.voice&&j(t.voice,()=>{u.cancel()}),j(s,()=>{s.value?u.resume():u.pause()})),N(()=>{s.value=!1}),{isSupported:a,isPlaying:s,status:i,utterance:p,error:h,toggle:d,speak:g}}function bu(e,t){const n=m(e),r=E(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),o=m(r.value.indexOf(t??r.value[0])),l=E(()=>c(o.value)),u=E(()=>o.value===0),a=E(()=>o.value===r.value.length-1),s=E(()=>r.value[o.value+1]),i=E(()=>r.value[o.value-1]);function c(O){return Array.isArray(n.value)?n.value[O]:n.value[r.value[O]]}function f(O){if(r.value.includes(O))return c(r.value.indexOf(O))}function h(O){r.value.includes(O)&&(o.value=r.value.indexOf(O))}function d(){a.value||o.value++}function v(){u.value||o.value--}function p(O){x(O)&&h(O)}function g(O){return r.value.indexOf(O)===o.value+1}function _(O){return r.value.indexOf(O)===o.value-1}function y(O){return r.value.indexOf(O)===o.value}function w(O){return o.value<r.value.indexOf(O)}function x(O){return o.value>r.value.indexOf(O)}return{steps:n,stepNames:r,index:o,current:l,next:s,previous:i,isFirst:u,isLast:a,at:c,get:f,goTo:h,goToNext:d,goToPrevious:v,goBackTo:p,isNext:g,isPrevious:_,isCurrent:y,isBefore:w,isAfter:x}}function Ou(e,t,n,r={}){var o;const{flush:l="pre",deep:u=!0,listenToStorageChanges:a=!0,writeDefaults:s=!0,shallow:i,window:c=C,eventFilter:f,onError:h=y=>{console.error(y)}}=r,d=F(t),v=xt(d),p=(i?H:m)(t),g=(o=r.serializer)!=null?o:qe[v];if(!n)try{n=xe("getDefaultStorage",()=>{var y;return(y=C)==null?void 0:y.localStorage})()}catch(y){h(y)}async function _(y){if(!(!n||y&&y.key!==e))try{const w=y?y.newValue:await n.getItem(e);w==null?(p.value=d,s&&d!==null&&await n.setItem(e,await g.write(d))):p.value=await g.read(w)}catch(w){h(w)}}return _(),c&&a&&b(c,"storage",y=>setTimeout(()=>_(y),0)),n&&vr(p,async()=>{try{p.value==null?await n.removeItem(e):await n.setItem(e,await g.write(p.value))}catch(y){h(y)}},{flush:l,deep:u,eventFilter:f}),p}let Pu=0;function Su(e,t={}){const n=m(!1),{document:r=z,immediate:o=!0,manual:l=!1,id:u=`vueuse_styletag_${++Pu}`}=t,a=m(e);let s=()=>{};const i=()=>{if(!r)return;const f=r.getElementById(u)||r.createElement("style");f.isConnected||(f.type="text/css",f.id=u,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(s=j(a,h=>{f.textContent=h},{immediate:!0}),n.value=!0)},c=()=>{!r||!n.value||(s(),r.head.removeChild(r.getElementById(u)),n.value=!1)};return o&&!l&&te(i),l||N(c),{id:u,css:a,unload:c,load:i,isLoaded:le(n)}}function Eu(){const e=m([]);return e.value.set=t=>{t&&e.value.push(t)},wr(()=>{e.value.length=0}),e}function $u(e={}){const{document:t=z,selector:n="html",observe:r=!1,initialValue:o="ltr"}=e;function l(){var a,s;return(s=(a=t?.querySelector(n))==null?void 0:a.getAttribute("dir"))!=null?s:o}const u=m(l());return te(()=>u.value=l()),r&&t&&Qe(t.querySelector(n),()=>u.value=l(),{attributes:!0}),E({get(){return u.value},set(a){var s,i;u.value=a,t&&(u.value?(s=t.querySelector(n))==null||s.setAttribute("dir",u.value):(i=t.querySelector(n))==null||i.removeAttribute("dir"))}})}function xu(e){var t;const n=(t=e.rangeCount)!=null?t:0,r=new Array(n);for(let o=0;o<n;o++){const l=e.getRangeAt(o);r[o]=l}return r}function Tu(e={}){const{window:t=C}=e,n=m(null),r=E(()=>{var a,s;return(s=(a=n.value)==null?void 0:a.toString())!=null?s:""}),o=E(()=>n.value?xu(n.value):[]),l=E(()=>o.value.map(a=>a.getBoundingClientRect()));function u(){n.value=null,t&&(n.value=t.getSelection())}return t&&b(t.document,"selectionchange",u),{text:r,rects:l,ranges:o,selection:n}}function Du(e){const t=m(e?.element),n=m(e?.input);function r(){var o,l;t.value&&(t.value.style.height="1px",t.value.style.height=`${(o=t.value)==null?void 0:o.scrollHeight}px`,(l=e?.onResize)==null||l.call(e))}return j([n,t],r,{immediate:!0}),De(t,()=>r()),e?.watch&&j(e.watch,r,{immediate:!0,deep:!0}),{textarea:t,input:n,triggerResize:r}}var Fu=Object.defineProperty,Iu=Object.defineProperties,Cu=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,ju=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,Mn=(e,t,n)=>t in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vn=(e,t)=>{for(var n in t||(t={}))ju.call(t,n)&&Mn(e,n,t[n]);if(Nn)for(var n of Nn(t))Au.call(t,n)&&Mn(e,n,t[n]);return e},ku=(e,t)=>Iu(e,Cu(t));function Ru(e,t={}){const{throttle:n=200,trailing:r=!0}=t,o=lt(n,r),l=Xe(e,ku(Vn({},t),{eventFilter:o}));return Vn({},l)}var Lu=Object.defineProperty,je=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Wn=(e,t,n)=>t in e?Lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nu=(e,t)=>{for(var n in t||(t={}))Un.call(t,n)&&Wn(e,n,t[n]);if(je)for(var n of je(t))Bn.call(t,n)&&Wn(e,n,t[n]);return e},Mu=(e,t)=>{var n={};for(var r in e)Un.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&je)for(var r of je(e))t.indexOf(r)<0&&Bn.call(e,r)&&(n[r]=e[r]);return n};const Vu=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],Uu={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""},Bu=e=>e.toISOString().slice(0,10);function Wu(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,o=En({interval:r,controls:!0}),{now:l}=o,u=Mu(o,["now"]),a=E(()=>Hn(new Date(F(e)),t,k(l.value)));return n?Nu({timeAgo:a},u):a}function Hn(e,t={},n=Date.now()){var r;const{max:o,messages:l=Uu,fullDateFormatter:u=Bu,units:a=Vu,showSecond:s=!1,rounding:i="round"}=t,c=typeof i=="number"?g=>+g.toFixed(i):Math[i],f=+n-+e,h=Math.abs(f);function d(g,_){return c(Math.abs(g)/_.value)}function v(g,_){const y=d(g,_),w=g>0,x=p(_.name,y,w);return p(w?"past":"future",x,w)}function p(g,_,y){const w=l[g];return typeof w=="function"?w(_,y):w.replace("{0}",_.toString())}if(h<6e4&&!s)return l.justNow;if(typeof o=="number"&&h>o)return u(new Date(e));if(typeof o=="string"){const g=(r=a.find(_=>_.name===o))==null?void 0:r.max;if(g&&h>g)return u(new Date(e))}for(const[g,_]of a.entries()){if(d(f,_)<=0&&a[g-1])return v(f,a[g-1]);if(h<_.max)return v(f,_)}return l.invalid}function Hu(e,t,n){const{start:r}=Ee(l,t),o=m(!1);async function l(){o.value&&(await e(),r())}function u(){o.value||(o.value=!0,l())}function a(){o.value=!1}return n?.immediate&&u(),N(a),{isActive:o,pause:a,resume:u}}var zu=Object.defineProperty,zn=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?zu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xu=(e,t)=>{for(var n in t||(t={}))qu.call(t,n)&&qn(e,n,t[n]);if(zn)for(var n of zn(t))Gu.call(t,n)&&qn(e,n,t[n]);return e};function Yu(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:o="requestAnimationFrame",callback:l}=e,u=m(me()+n),a=()=>u.value=me()+n,s=l?()=>{a(),l(u.value)}:a,i=o==="requestAnimationFrame"?ce(s,{immediate:r}):he(s,o,{immediate:r});return t?Xu({timestamp:u},i):u}function Ku(e=null,t={}){var n,r;const{document:o=z}=t,l=Y((n=e??o?.title)!=null?n:null),u=e&&ae(e);function a(s){if(!("titleTemplate"in t))return s;const i=t.titleTemplate||"%s";return ae(i)?i(s):k(i).replace(/%s/g,s)}return j(l,(s,i)=>{s!==i&&o&&(o.title=a(pe(s)?s:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!u&&Qe((r=o.head)==null?void 0:r.querySelector("title"),()=>{o&&o.title!==l.value&&(l.value=a(o.title))},{childList:!0}),l}var Ju=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Qu=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,Xn=(e,t,n)=>t in e?Ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,es=(e,t)=>{for(var n in t||(t={}))Qu.call(t,n)&&Xn(e,n,t[n]);if(Gn)for(var n of Gn(t))Zu.call(t,n)&&Xn(e,n,t[n]);return e};const ts={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},ns=es({linear:nt},ts);function rs([e,t,n,r]){const o=(c,f)=>1-3*f+3*c,l=(c,f)=>3*f-6*c,u=c=>3*c,a=(c,f,h)=>((o(f,h)*c+l(f,h))*c+u(f))*c,s=(c,f,h)=>3*o(f,h)*c*c+2*l(f,h)*c+u(f),i=c=>{let f=c;for(let h=0;h<4;++h){const d=s(f,e,n);if(d===0)return f;const v=a(f,e,n)-c;f-=v/d}return f};return c=>e===t&&n===r?c:a(i(c),t,r)}function os(e,t={}){const{delay:n=0,disabled:r=!1,duration:o=1e3,onFinished:l=U,onStarted:u=U,transition:a=nt}=t,s=E(()=>{const O=k(a);return ae(O)?O:rs(O)}),i=E(()=>{const O=k(e);return ge(O)?O:O.map(k)}),c=E(()=>ge(i.value)?[i.value]:i.value),f=m(c.value.slice(0));let h,d,v,p,g;const{resume:_,pause:y}=ce(()=>{const O=Date.now(),$=Re(1-(v-O)/h,0,1);f.value=g.map((P,I)=>{var D;return P+((D=d[I])!=null?D:0)*s.value($)}),$>=1&&(y(),l())},{immediate:!1}),w=()=>{y(),h=k(o),d=f.value.map((O,$)=>{var P,I;return((P=c.value[$])!=null?P:0)-((I=f.value[$])!=null?I:0)}),g=f.value.slice(0),p=Date.now(),v=p+h,_(),u()},x=Ee(w,n,{immediate:!1});return j(c,()=>{k(r)||(k(n)<=0?w():x.start())},{deep:!0}),j(()=>k(r),O=>{O&&(f.value=c.value.slice(0),y())}),E(()=>{const O=k(r)?c:f;return ge(i.value)?O.value[0]:O.value})}function as(e="history",t={}){const{initialValue:n={},removeNullishValues:r=!0,removeFalsyValues:o=!1,write:l=!0,window:u=C}=t;if(!u)return B(n);const a=B({});function s(){if(e==="history")return u.location.search||"";if(e==="hash"){const _=u.location.hash||"",y=_.indexOf("?");return y>0?_.slice(y):""}else return(u.location.hash||"").replace(/^#/,"")}function i(_){const y=_.toString();if(e==="history")return`${y?`?${y}`:""}${u.location.hash||""}`;if(e==="hash-params")return`${u.location.search||""}${y?`#${y}`:""}`;const w=u.location.hash||"#",x=w.indexOf("?");return x>0?`${w.slice(0,x)}${y?`?${y}`:""}`:`${w}${y?`?${y}`:""}`}function c(){return new URLSearchParams(s())}function f(_){const y=new Set(Object.keys(a));for(const w of _.keys()){const x=_.getAll(w);a[w]=x.length>1?x:_.get(w)||"",y.delete(w)}Array.from(y).forEach(w=>delete a[w])}const{pause:h,resume:d}=it(a,()=>{const _=new URLSearchParams("");Object.keys(a).forEach(y=>{const w=a[y];Array.isArray(w)?w.forEach(x=>_.append(y,x)):r&&w==null||o&&!w?_.delete(y):_.set(y,w)}),v(_)},{deep:!0});function v(_,y){h(),y&&f(_),u.history.replaceState(u.history.state,u.document.title,u.location.pathname+i(_)),d()}function p(){l&&v(c(),!0)}b(u,"popstate",p,!1),e!=="history"&&b(u,"hashchange",p,!1);const g=c();return g.keys().next().value?f(g):Object.assign(a,n),a}function ls(e={}){var t,n;const r=m((t=e.enabled)!=null?t:!1),o=m((n=e.autoSwitch)!=null?n:!0),l=m(e.videoDeviceId),u=m(e.audioDeviceId),{navigator:a=J}=e,s=R(()=>{var g;return(g=a?.mediaDevices)==null?void 0:g.getUserMedia}),i=H();function c(g){return g.value==="none"||g.value===!1?!1:g.value==null?!0:{deviceId:g.value}}async function f(){if(!(!s.value||i.value))return i.value=await a.mediaDevices.getUserMedia({video:c(l),audio:c(u)}),i.value}async function h(){var g;(g=i.value)==null||g.getTracks().forEach(_=>_.stop()),i.value=void 0}function d(){h(),r.value=!1}async function v(){return await f(),i.value&&(r.value=!0),i.value}async function p(){return h(),await v()}return j(r,g=>{g?f():h()},{immediate:!0}),j([l,u],()=>{o.value&&i.value&&p()},{immediate:!0}),{isSupported:s,stream:i,start:v,stop:d,restart:p,videoDeviceId:l,audioDeviceId:u,enabled:r,autoSwitch:o}}function Yn(e,t,n,r={}){var o,l,u,a,s;const{clone:i=!1,passive:c=!1,eventName:f,deep:h=!1,defaultValue:d}=r,v=Me(),p=n||v?.emit||((o=v?.$emit)==null?void 0:o.bind(v))||((u=(l=v?.proxy)==null?void 0:l.$emit)==null?void 0:u.bind(v?.proxy));let g=f;if(!t)if(mt){const w=(s=(a=v?.proxy)==null?void 0:a.$options)==null?void 0:s.model;t=w?.value||"value",f||(g=w?.event||"input")}else t="modelValue";g=f||g||`update:${t.toString()}`;const _=w=>i?ae(i)?i(w):_e(w):w,y=()=>Ae(e[t])?_(e[t]):d;if(c){const w=y(),x=m(w);return j(()=>e[t],O=>x.value=_(O)),j(x,O=>{(O!==e[t]||h)&&p(g,O)},{deep:h}),x}else return E({get(){return y()},set(w){p(g,w)}})}function us(e,t,n={}){const r={};for(const o in e)r[o]=Yn(e,o,t,n);return r}function ss(e){const{pattern:t=[],interval:n=0,navigator:r=J}=e||{},o=R(()=>typeof r<"u"&&"vibrate"in r),l=Y(t);let u;const a=(i=l.value)=>{o.value&&r.vibrate(i)},s=()=>{o.value&&r.vibrate(0),u?.pause()};return n>0&&(u=he(a,n,{immediate:!1,immediateCallback:!1})),{isSupported:o,pattern:t,intervalControls:u,vibrate:a,stop:s}}function is(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:o,calculateRange:l,currentList:u,containerRef:a}="itemHeight"in t?vs(t,e):fs(t,e);return{list:u,scrollTo:o,containerProps:{ref:a,onScroll:()=>{l()},style:n},wrapperProps:r}}function Kn(e){const t=m(null),n=Qt(t),r=m([]),o=H(e);return{state:m({start:0,end:10}),source:o,currentList:r,size:n,containerRef:t}}function Jn(e,t,n){return r=>{if(typeof n=="number")return Math.ceil(r/n);const{start:o=0}=e.value;let l=0,u=0;for(let a=o;a<t.value.length;a++){const s=n(a);if(l+=s,u=a,l>r)break}return u-o}}function Qn(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let r=0,o=0;for(let l=0;l<e.value.length;l++){const u=t(l);if(r+=u,r>=n){o=l;break}}return o+1}}function Zn(e,t,n,r,{containerRef:o,state:l,currentList:u,source:a}){return()=>{const s=o.value;if(s){const i=n(e==="vertical"?s.scrollTop:s.scrollLeft),c=r(e==="vertical"?s.clientHeight:s.clientWidth),f=i-t,h=i+c+t;l.value={start:f<0?0:f,end:h>a.value.length?a.value.length:h},u.value=a.value.slice(l.value.start,l.value.end).map((d,v)=>({data:d,index:v+l.value.start}))}}}function er(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((o,l,u)=>o+e(u),0)}function tr(e,t,n){j([e.width,e.height,t],()=>{n()})}function nr(e,t){return E(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,r,o)=>n+e(o),0))}const cs={horizontal:"scrollLeft",vertical:"scrollTop"};function rr(e,t,n,r){return o=>{r.value&&(r.value[cs[e]]=n(o),t())}}function fs(e,t){const n=Kn(t),{state:r,source:o,currentList:l,size:u,containerRef:a}=n,s={overflowX:"auto"},{itemWidth:i,overscan:c=5}=e,f=Jn(r,o,i),h=Qn(o,i),d=Zn("horizontal",c,h,f,n),v=er(i,o),p=E(()=>v(r.value.start)),g=nr(i,o);tr(u,t,d);const _=rr("horizontal",d,v,a),y=E(()=>({style:{height:"100%",width:`${g.value-p.value}px`,marginLeft:`${p.value}px`,display:"flex"}}));return{scrollTo:_,calculateRange:d,wrapperProps:y,containerStyle:s,currentList:l,containerRef:a}}function vs(e,t){const n=Kn(t),{state:r,source:o,currentList:l,size:u,containerRef:a}=n,s={overflowY:"auto"},{itemHeight:i,overscan:c=5}=e,f=Jn(r,o,i),h=Qn(o,i),d=Zn("vertical",c,h,f,n),v=er(i,o),p=E(()=>v(r.value.start)),g=nr(i,o);tr(u,t,d);const _=rr("vertical",d,v,a),y=E(()=>({style:{width:"100%",height:`${g.value-p.value}px`,marginTop:`${p.value}px`}}));return{calculateRange:d,scrollTo:_,containerStyle:s,wrapperProps:y,currentList:l,containerRef:a}}const ds=(e={})=>{const{navigator:t=J,document:n=z}=e;let r;const o=R(()=>t&&"wakeLock"in t),l=m(!1);async function u(){!o.value||!r||(n&&n.visibilityState==="visible"&&(r=await t.wakeLock.request("screen")),l.value=!r.released)}n&&b(n,"visibilitychange",u,{passive:!0});async function a(i){o.value&&(r=await t.wakeLock.request(i),l.value=!r.released)}async function s(){!o.value||!r||(await r.release(),l.value=!r.released,r=null)}return{isSupported:o,isActive:l,request:a,release:s}},ps=(e={})=>{const{window:t=C}=e,n=R(()=>!!t&&"Notification"in t),r=m(null),o=async()=>{n.value&&"permission"in Notification&&Notification.permission!=="denied"&&await Notification.requestPermission()},l=K(),u=K(),a=K(),s=K(),i=async f=>{if(!n.value)return;await o();const h=Object.assign({},e,f);return r.value=new Notification(h.title||"",h),r.value.onclick=d=>l.trigger(d),r.value.onshow=d=>u.trigger(d),r.value.onerror=d=>a.trigger(d),r.value.onclose=d=>s.trigger(d),r.value},c=()=>{r.value&&r.value.close(),r.value=null};if(te(async()=>{n.value&&await o()}),N(c),n.value&&t){const f=t.document;b(f,"visibilitychange",h=>{h.preventDefault(),f.visibilityState==="visible"&&c()})}return{isSupported:n,notification:r,show:i,close:c,onClick:l,onShow:u,onError:a,onClose:s}},or="ping";function Ze(e){return e===!0?{}:e}function ms(e,t={}){const{onConnected:n,onDisconnected:r,onError:o,onMessage:l,immediate:u=!0,autoClose:a=!0,protocols:s=[]}=t,i=m(null),c=m("CLOSED"),f=m(),h=Y(e);let d,v,p=!1,g=0,_=[],y;const w=(D=1e3,S)=>{f.value&&(p=!0,d?.(),f.value.close(D,S))},x=()=>{if(_.length&&f.value&&c.value==="OPEN"){for(const D of _)f.value.send(D);_=[]}},O=()=>{clearTimeout(y),y=void 0},$=(D,S=!0)=>!f.value||c.value!=="OPEN"?(S&&_.push(D),!1):(x(),f.value.send(D),!0),P=()=>{if(p||typeof h.value>"u")return;const D=new WebSocket(h.value,s);f.value=D,c.value="CONNECTING",D.onopen=()=>{c.value="OPEN",n?.(D),v?.(),x()},D.onclose=S=>{if(c.value="CLOSED",f.value=void 0,r?.(D,S),!p&&t.autoReconnect){const{retries:T=-1,delay:A=1e3,onFailed:W}=Ze(t.autoReconnect);g+=1,typeof T=="number"&&(T<0||g<T)||typeof T=="function"&&T()?setTimeout(P,A):W?.()}},D.onerror=S=>{o?.(D,S)},D.onmessage=S=>{if(t.heartbeat){O();const{message:T=or}=Ze(t.heartbeat);if(S.data===T)return}i.value=S.data,l?.(D,S)}};if(t.heartbeat){const{message:D=or,interval:S=1e3,pongTimeout:T=1e3}=Ze(t.heartbeat),{pause:A,resume:W}=he(()=>{$(D,!1),y==null&&(y=setTimeout(()=>{w()},T))},S,{immediate:!1});d=A,v=W}a&&(b(window,"beforeunload",()=>w()),N(w));const I=()=>{w(),p=!1,g=0,P()};return u&&j(h,I,{immediate:!0}),{data:i,status:c,close:w,send:$,open:I,ws:f}}function hs(e,t,n){const{window:r=C}=n??{},o=m(null),l=H(),u=function(i){l.value&&l.value.postMessage(i)},a=function(){l.value&&l.value.terminate()};return r&&(pe(e)?l.value=new Worker(e,t):ae(e)?l.value=e():l.value=e,l.value.onmessage=s=>{o.value=s.data},N(()=>{l.value&&l.value.terminate()})),{data:o,post:u,terminate:a,worker:l}}const gs=e=>t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(r=>{postMessage(["SUCCESS",r])}).catch(r=>{postMessage(["ERROR",r])})},ys=e=>e.length===0?"":`importScripts(${e.map(n=>`'${n}'`).toString()})`,ws=(e,t)=>{const n=`${ys(t)}; onmessage=(${gs})(${e})`,r=new Blob([n],{type:"text/javascript"});return URL.createObjectURL(r)},_s=(e,t={})=>{const{dependencies:n=[],timeout:r,window:o=C}=t,l=m(),u=m("PENDING"),a=m({}),s=m(),i=(d="PENDING")=>{l.value&&l.value._url&&o&&(l.value.terminate(),URL.revokeObjectURL(l.value._url),a.value={},l.value=void 0,o.clearTimeout(s.value),u.value=d)};i(),N(i);const c=()=>{const d=ws(e,n),v=new Worker(d);return v._url=d,v.onmessage=p=>{const{resolve:g=()=>{},reject:_=()=>{}}=a.value,[y,w]=p.data;y==="SUCCESS"?(g(w),i(y)):(_(w),i("ERROR"))},v.onerror=p=>{const{reject:g=()=>{}}=a.value;g(p),i("ERROR")},r&&(s.value=setTimeout(()=>i("TIMEOUT_EXPIRED"),r)),v},f=(...d)=>new Promise((v,p)=>{a.value={resolve:v,reject:p},l.value&&l.value.postMessage([[...d]]),u.value="RUNNING"});return{workerFn:(...d)=>u.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(l.value=c(),f(...d)),workerStatus:u,workerTerminate:i}};function bs({window:e=C}={}){if(!e)return m(!1);const t=m(e.document.hasFocus());return b(e,"blur",()=>{t.value=!1}),b(e,"focus",()=>{t.value=!0}),t}function Os({window:e=C}={}){if(!e)return{x:m(0),y:m(0)};const t=m(e.pageXOffset),n=m(e.pageYOffset);return b(e,"scroll",()=>{t.value=e.pageXOffset,n.value=e.pageYOffset},{capture:!1,passive:!0}),{x:t,y:n}}function Ps(e={}){const{window:t=C,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:l=!0}=e,u=m(n),a=m(r),s=()=>{t&&(l?(u.value=t.innerWidth,a.value=t.innerHeight):(u.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return s(),te(s),b("resize",s,{passive:!0}),o&&b("orientationchange",s,{passive:!0}),{width:u,height:a}}export{mn as DefaultMagicKeysAliasMap,qe as StorageSerializers,Z as SwipeDirection,ns as TransitionPresets,yt as asyncComputed,Kr as breakpointsAntDesign,Xr as breakpointsBootstrapV5,Zr as breakpointsMasterCss,Jr as breakpointsQuasar,Qr as breakpointsSematic,Gr as breakpointsTailwind,Yr as breakpointsVuetify,_e as cloneFnJSON,yt as computedAsync,Or as computedInject,Aa as createFetch,Pr as createUnrefFn,z as defaultDocument,Sr as defaultLocation,J as defaultNavigator,C as defaultWindow,Hn as formatTimeAgo,xe as getSSRHandler,Ya as mapGamepadToXbox360Controller,Er as onClickOutside,Cr as onKeyDown,jr as onKeyPressed,$e as onKeyStroke,Ar as onKeyUp,Rr as onLongPress,Mr as onStartTyping,yo as setSSRHandler,Vr as templateRef,L as unrefElement,Be as useActiveElement,Ur as useAsyncQueue,bt as useAsyncState,Wr as useBase64,zr as useBattery,qr as useBluetooth,oo as useBreakpoints,ao as useBroadcastChannel,lo as useBrowserLocation,uo as useCached,so as useClipboard,go as useCloned,jt as useColorMode,$o as useConfirmDialog,be as useCssVar,xo as useCurrentElement,To as useCycleList,Ro as useDark,Jo as useDebouncedRefHistory,Qo as useDeviceMotion,zt as useDeviceOrientation,Zo as useDevicePixelRatio,ea as useDevicesList,ta as useDisplayMedia,na as useDocumentVisibility,ca as useDraggable,fa as useDropZone,ma as useElementBounding,_a as useElementByPoint,ba as useElementHover,Qt as useElementSize,Oa as useElementVisibility,Pa as useEventBus,b as useEventListener,Sa as useEventSource,Ea as useEyeDropper,$a as useFavicon,tn as useFetch,Va as useFileDialog,Ha as useFileSystemAccess,za as useFocus,qa as useFocusWithin,Ga as useFps,Xa as useFullscreen,Ka as useGamepad,Ja as useGeolocation,el as useIdle,ll as useImage,dl as useInfiniteScroll,pl as useIntersectionObserver,hl as useKeyModifier,gl as useLocalStorage,yl as useMagicKeys,Lt as useManualRefHistory,Sl as useMediaControls,Q as useMediaQuery,$l as useMemoize,xl as useMemory,Tl as useMounted,wn as useMouse,_n as useMouseInElement,Dl as useMousePressed,Qe as useMutationObserver,jl as useNavigatorLanguage,On as useNetwork,En as useNow,Nl as useObjectUrl,Ml as useOffsetPagination,Vl as useOnline,Ul as usePageLeave,Bl as useParallax,qt as usePermission,Jl as usePointer,Ql as usePointerLock,tu as usePointerSwipe,nu as usePreferredColorScheme,ru as usePreferredContrast,Ge as usePreferredDark,ou as usePreferredLanguages,au as usePreferredReducedMotion,lu as usePrevious,ce as useRafFn,Xe as useRefHistory,De as useResizeObserver,uu as useScreenOrientation,su as useScreenSafeArea,iu as useScriptTag,fn as useScroll,fu as useScrollLock,vu as useSessionStorage,hu as useShare,yu as useSorted,wu as useSpeechRecognition,_u as useSpeechSynthesis,bu as useStepper,Te as useStorage,Ou as useStorageAsync,Su as useStyleTag,R as useSupported,Zl as useSwipe,Eu as useTemplateRefsList,$u as useTextDirection,Tu as useTextSelection,Du as useTextareaAutosize,Ru as useThrottledRefHistory,Wu as useTimeAgo,Hu as useTimeoutPoll,Yu as useTimestamp,Ku as useTitle,os as useTransition,as as useUrlSearchParams,ls as useUserMedia,Yn as useVModel,us as useVModels,ss as useVibrate,is as useVirtualList,ds as useWakeLock,ps as useWebNotification,ms as useWebSocket,hs as useWebWorker,_s as useWebWorkerFn,bs as useWindowFocus,Os as useWindowScroll,Ps as useWindowSize};
//# sourceMappingURL=/sm/ff465ed748f78c028b7f2519915a34f130dee9a3570322da2e6a9c8d0945bcdc.map