@vtj/materials 0.9.5 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/antdv/index.umd.js +2 -2
- package/dist/assets/charts/index.umd.js +2 -2
- package/dist/assets/element/index.umd.js +4 -4
- package/dist/assets/ui/index.umd.js +2 -2
- package/dist/assets/vant/index.umd.js +2 -2
- package/dist/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
- package/dist/deps/element-plus/index.css +1 -1
- package/dist/deps/element-plus/index.full.min.js +13 -13
- package/dist/deps/element-plus/zh-cn.js +1 -1
- package/dist/deps/xe-utils/xe-utils.umd.min.js +2 -2
- package/package.json +7 -7
- package/src/element/autodcomplete.ts +34 -33
- package/src/element/cascader.ts +102 -23
- package/src/element/checkbox.ts +82 -27
- package/src/element/colorPicker.ts +21 -5
- package/src/element/datePicker.ts +78 -17
- package/src/element/dateTime.ts +53 -15
- package/src/element/form.ts +24 -4
- package/src/element/index.ts +4 -0
- package/src/element/input.ts +1 -1
- package/src/element/inputNumber.ts +3 -3
- package/src/element/inputTag.ts +135 -0
- package/src/element/mention.ts +137 -0
- package/src/element/radio.ts +22 -14
- package/src/element/slider.ts +20 -8
- package/src/element/space.ts +16 -6
- package/src/ui/panel.ts +8 -10
- package/src/version.ts +2 -2
@@ -1 +1 @@
|
|
1
|
-
(function(E,b,o){"use strict";function Fe(e,t,n){let l;o.isRef(n)?l={evaluating:n}:l=n||{};const{lazy:u=!1,evaluating:r=void 0,shallow:i=!0,onError:a=b.noop}=l,s=o.ref(!u),c=i?o.shallowRef(t):o.ref(t);let f=0;return o.watchEffect(async d=>{if(!s.value)return;f++;const y=f;let m=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{d(()=>{r&&(r.value=!1),m||w()})});y===f&&(c.value=p)}catch(p){a(p)}finally{r&&y===f&&(r.value=!1),m=!0}}),u?o.computed(()=>(s.value=!0,c.value)):c}function kt(e,t,n,l){let u=o.inject(e);return n&&(u=o.inject(e,n)),l&&(u=o.inject(e,n,l)),typeof t=="function"?o.computed(r=>t(u,r)):o.computed({get:r=>t.get(u,r),set:t.set})}function _t(e={}){const{inheritAttrs:t=!0}=e,n=o.shallowRef(),l=o.defineComponent({setup(r,{slots:i}){return()=>{n.value=i.default}}}),u=o.defineComponent({inheritAttrs:t,setup(r,{attrs:i,slots:a}){return()=>{var s;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const c=(s=n.value)==null?void 0:s.call(n,{...Rt(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return b.makeDestructurable({define:l,reuse:u},[l,u])}function Rt(e){const t={};for(const n in e)t[b.camelize(n)]=e[n];return t}function Vt(e={}){let t=0;const n=o.ref([]);function l(...i){const a=o.shallowReactive({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((s,c)=>{a.resolve=f=>(a.isResolving=!0,s(f)),a.reject=c}).finally(()=>{a.promise=void 0;const s=n.value.indexOf(a);s!==-1&&n.value.splice(s,1)}),a.promise}function u(...i){return e.singleton&&n.value.length>0?n.value[0].promise:l(...i)}const r=o.defineComponent((i,{slots:a})=>{const s=()=>n.value.map(c=>{var f;return o.h(o.Fragment,{key:c.key},(f=a.default)==null?void 0:f.call(a,c))});return e.transition?()=>o.h(o.TransitionGroup,e.transition,s):s});return r.start=u,r}function Pt(e){return function(...t){return e.apply(this,t.map(n=>o.toValue(n)))}}const I=b.isClient?window:void 0,B=b.isClient?window.document:void 0,z=b.isClient?window.navigator:void 0,Ft=b.isClient?window.location:void 0;function N(e){var t;const n=o.toValue(e);return(t=n?.$el)!=null?t:n}function k(...e){let t,n,l,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,u]=e,t=I):[t,n,l,u]=e,!t)return b.noop;n=b.toArray(n),l=b.toArray(l);const r=[],i=()=>{r.forEach(f=>f()),r.length=0},a=(f,d,y,m)=>(f.addEventListener(d,y,m),()=>f.removeEventListener(d,y,m)),s=o.watch(()=>[N(t),o.toValue(u)],([f,d])=>{if(i(),!f)return;const y=b.isObject(d)?{...d}:d;r.push(...n.flatMap(m=>l.map(p=>a(f,m,p,y))))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return b.tryOnScopeDispose(c),c}let De=!1;function Dt(e,t,n={}){const{window:l=I,ignore:u=[],capture:r=!0,detectIframe:i=!1}=n;if(!l)return b.noop;b.isIOS&&!De&&(De=!0,Array.from(l.document.body.children).forEach(w=>w.addEventListener("click",b.noop)),l.document.documentElement.addEventListener("click",b.noop));let a=!0;const s=w=>o.toValue(u).some(v=>{if(typeof v=="string")return Array.from(l.document.querySelectorAll(v)).some(g=>g===w.target||w.composedPath().includes(g));{const g=N(v);return g&&(w.target===g||w.composedPath().includes(g))}});function c(w){const v=o.toValue(w);return v&&v.$.subTree.shapeFlag===16}function f(w,v){const g=o.toValue(w),h=g.$.subTree&&g.$.subTree.children;return h==null||!Array.isArray(h)?!1:h.some(S=>S.el===v.target||v.composedPath().includes(S.el))}const d=w=>{const v=N(e);if(w.target!=null&&!(!(v instanceof Element)&&c(e)&&f(e,w))&&!(!v||v===w.target||w.composedPath().includes(v))){if(w.detail===0&&(a=!s(w)),!a){a=!0;return}t(w)}};let y=!1;const m=[k(l,"click",w=>{y||(y=!0,setTimeout(()=>{y=!1},0),d(w))},{passive:!0,capture:r}),k(l,"pointerdown",w=>{const v=N(e);a=!s(w)&&!!(v&&!w.composedPath().includes(v))},{passive:!0}),i&&k(l,"blur",w=>{setTimeout(()=>{var v;const g=N(e);((v=l.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!g?.contains(l.document.activeElement)&&t(w)},0)})].filter(Boolean);return()=>m.forEach(w=>w())}function Ce(){const e=o.ref(!1),t=o.getCurrentInstance();return t&&o.onMounted(()=>{e.value=!0},t),e}function W(e){const t=Ce();return o.computed(()=>(t.value,!!e()))}function K(e,t,n={}){const{window:l=I,...u}=n;let r;const i=W(()=>l&&"MutationObserver"in l),a=()=>{r&&(r.disconnect(),r=void 0)},s=o.computed(()=>{const y=o.toValue(e),m=b.toArray(y).map(N).filter(b.notNullish);return new Set(m)}),c=o.watch(()=>s.value,y=>{a(),i.value&&y.size&&(r=new MutationObserver(t),y.forEach(m=>r.observe(m,u)))},{immediate:!0,flush:"post"}),f=()=>r?.takeRecords(),d=()=>{c(),a()};return b.tryOnScopeDispose(d),{isSupported:i,stop:d,takeRecords:f}}function he(e,t,n={}){const{window:l=I,document:u=l?.document,flush:r="sync"}=n;if(!l||!u)return b.noop;let i;const a=f=>{i?.(),i=f},s=o.watchEffect(()=>{const f=N(e);if(f){const{stop:d}=K(u,y=>{y.map(p=>[...p.removedNodes]).flat().some(p=>p===f||p.contains(f))&&t(y)},{window:l,childList:!0,subtree:!0});a(d)}},{flush:r}),c=()=>{s(),a()};return b.tryOnScopeDispose(c),c}function Ct(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ae(...e){let t,n,l={};e.length===3?(t=e[0],n=e[1],l=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],l=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=I,eventName:r="keydown",passive:i=!1,dedupe:a=!1}=l,s=Ct(t);return k(u,r,f=>{f.repeat&&o.toValue(a)||s(f)&&n(f)},i)}function At(e,t,n={}){return ae(e,t,{...n,eventName:"keydown"})}function Mt(e,t,n={}){return ae(e,t,{...n,eventName:"keypress"})}function It(e,t,n={}){return ae(e,t,{...n,eventName:"keyup"})}const Lt=500,Nt=10;function xt(e,t,n){var l,u;const r=o.computed(()=>N(e));let i,a,s,c=!1;function f(){i&&(clearTimeout(i),i=void 0),a=void 0,s=void 0,c=!1}function d(g){var h,S,O;const[_,C,T]=[s,a,c];if(f(),!n?.onMouseUp||!C||!_||(h=n?.modifiers)!=null&&h.self&&g.target!==r.value)return;(S=n?.modifiers)!=null&&S.prevent&&g.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&g.stopPropagation();const V=g.x-C.x,D=g.y-C.y,F=Math.sqrt(V*V+D*D);n.onMouseUp(g.timeStamp-_,F,T)}function y(g){var h,S,O,_;(h=n?.modifiers)!=null&&h.self&&g.target!==r.value||(f(),(S=n?.modifiers)!=null&&S.prevent&&g.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&g.stopPropagation(),a={x:g.x,y:g.y},s=g.timeStamp,i=setTimeout(()=>{c=!0,t(g)},(_=n?.delay)!=null?_:Lt))}function m(g){var h,S,O,_;if((h=n?.modifiers)!=null&&h.self&&g.target!==r.value||!a||n?.distanceThreshold===!1)return;(S=n?.modifiers)!=null&&S.prevent&&g.preventDefault(),(O=n?.modifiers)!=null&&O.stop&&g.stopPropagation();const C=g.x-a.x,T=g.y-a.y;Math.sqrt(C*C+T*T)>=((_=n?.distanceThreshold)!=null?_:Nt)&&f()}const p={capture:(l=n?.modifiers)==null?void 0:l.capture,once:(u=n?.modifiers)==null?void 0:u.once},w=[k(r,"pointerdown",y,p),k(r,"pointermove",m,p),k(r,["pointerup","pointerleave"],d,p)];return()=>w.forEach(g=>g())}function Wt(){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")}function Ht({keyCode:e,metaKey:t,ctrlKey:n,altKey:l}){return t||n||l?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Ut(e,t={}){const{document:n=B}=t;n&&k(n,"keydown",u=>{!Wt()&&Ht(u)&&e(u)},{passive:!0})}function $t(e,t=null){const n=o.getCurrentInstance();let l=()=>{};const u=o.customRef((r,i)=>(l=i,{get(){var a,s;return r(),(s=(a=n?.proxy)==null?void 0:a.$refs[e])!=null?s:t},set(){}}));return b.tryOnMounted(l),o.onUpdated(l),u}function Ae(e={}){var t;const{window:n=I,deep:l=!0,triggerOnRemoval:u=!1}=e,r=(t=e.document)!=null?t:n?.document,i=()=>{var c;let f=r?.activeElement;if(l)for(;f?.shadowRoot;)f=(c=f?.shadowRoot)==null?void 0:c.activeElement;return f},a=o.ref(),s=()=>{a.value=i()};return n&&(k(n,"blur",c=>{c.relatedTarget===null&&s()},!0),k(n,"focus",s,!0)),u&&he(a,s,{document:r}),s(),a}function G(e,t={}){const{immediate:n=!0,fpsLimit:l=void 0,window:u=I}=t,r=o.ref(!1),i=o.computed(()=>l?1e3/o.toValue(l):null);let a=0,s=null;function c(y){if(!r.value||!u)return;a||(a=y);const m=y-a;if(i.value&&m<i.value){s=u.requestAnimationFrame(c);return}a=y,e({delta:m,timestamp:y}),s=u.requestAnimationFrame(c)}function f(){!r.value&&u&&(r.value=!0,a=0,s=u.requestAnimationFrame(c))}function d(){r.value=!1,s!=null&&u&&(u.cancelAnimationFrame(s),s=null)}return n&&f(),b.tryOnScopeDispose(d),{isActive:o.readonly(r),pause:d,resume:f}}function Bt(e,t,n){let l,u;b.isObject(n)?(l=n,u=b.objectOmit(n,["window","immediate","commitStyles","persist","onReady","onError"])):(l={duration:n},u=n);const{window:r=I,immediate:i=!0,commitStyles:a,persist:s,playbackRate:c=1,onReady:f,onError:d=M=>{console.error(M)}}=l,y=W(()=>r&&HTMLElement&&"animate"in HTMLElement.prototype),m=o.shallowRef(void 0),p=o.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:c,pending:!1,playState:i?"idle":"paused",replaceState:"active"}),w=o.computed(()=>p.pending),v=o.computed(()=>p.playState),g=o.computed(()=>p.replaceState),h=o.computed({get(){return p.startTime},set(M){p.startTime=M,m.value&&(m.value.startTime=M)}}),S=o.computed({get(){return p.currentTime},set(M){p.currentTime=M,m.value&&(m.value.currentTime=M,L())}}),O=o.computed({get(){return p.timeline},set(M){p.timeline=M,m.value&&(m.value.timeline=M)}}),_=o.computed({get(){return p.playbackRate},set(M){p.playbackRate=M,m.value&&(m.value.playbackRate=M)}}),C=()=>{if(m.value)try{m.value.play(),L()}catch(M){H(),d(M)}else R()},T=()=>{var M;try{(M=m.value)==null||M.pause(),H()}catch(x){d(x)}},V=()=>{var M;m.value||R();try{(M=m.value)==null||M.reverse(),L()}catch(x){H(),d(x)}},D=()=>{var M;try{(M=m.value)==null||M.finish(),H()}catch(x){d(x)}},F=()=>{var M;try{(M=m.value)==null||M.cancel(),H()}catch(x){d(x)}};o.watch(()=>N(e),M=>{M&&R()}),o.watch(()=>t,M=>{m.value&&R(),!N(e)&&m.value&&(m.value.effect=new KeyframeEffect(N(e),o.toValue(M),u))},{deep:!0}),b.tryOnMounted(()=>R(!0),!1),b.tryOnScopeDispose(F);function R(M){const x=N(e);!y.value||!x||(m.value||(m.value=x.animate(o.toValue(t),u)),s&&m.value.persist(),c!==1&&(m.value.playbackRate=c),M&&!i?m.value.pause():L(),f?.(m.value))}k(m,["cancel","finish","remove"],H),k(m,"finish",()=>{var M;a&&((M=m.value)==null||M.commitStyles())});const{resume:P,pause:A}=G(()=>{m.value&&(p.pending=m.value.pending,p.playState=m.value.playState,p.replaceState=m.value.replaceState,p.startTime=m.value.startTime,p.currentTime=m.value.currentTime,p.timeline=m.value.timeline,p.playbackRate=m.value.playbackRate)},{immediate:!1});function L(){y.value&&P()}function H(){y.value&&r&&r.requestAnimationFrame(A)}return{isSupported:y,animate:m,play:C,pause:T,reverse:V,finish:D,cancel:F,pending:w,playState:v,replaceState:g,startTime:h,currentTime:S,timeline:O,playbackRate:_}}function jt(e,t){const{interrupt:n=!0,onError:l=b.noop,onFinished:u=b.noop,signal:r}=t||{},i={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},a=Array.from(Array.from({length:e.length}),()=>({state:i.pending,data:null})),s=o.reactive(a),c=o.ref(-1);if(!e||e.length===0)return u(),{activeIndex:c,result:s};function f(d,y){c.value++,s[c.value].data=y,s[c.value].state=d}return e.reduce((d,y)=>d.then(m=>{var p;if(r?.aborted){f(i.aborted,new Error("aborted"));return}if(((p=s[c.value])==null?void 0:p.state)===i.rejected&&n){u();return}const w=y(m).then(v=>(f(i.fulfilled,v),c.value===e.length-1&&u(),v));return r?Promise.race([w,zt(r)]):w}).catch(m=>r?.aborted?(f(i.aborted,m),m):(f(i.rejected,m),l(),m)),Promise.resolve()),{activeIndex:c,result:s}}function zt(e){return new Promise((t,n)=>{const l=new Error("aborted");e.aborted?n(l):e.addEventListener("abort",()=>n(l),{once:!0})})}function Me(e,t,n){const{immediate:l=!0,delay:u=0,onError:r=b.noop,onSuccess:i=b.noop,resetOnExecute:a=!0,shallow:s=!0,throwError:c}=n??{},f=s?o.shallowRef(t):o.ref(t),d=o.ref(!1),y=o.ref(!1),m=o.shallowRef(void 0);async function p(g=0,...h){a&&(f.value=t),m.value=void 0,d.value=!1,y.value=!0,g>0&&await b.promiseTimeout(g);const S=typeof e=="function"?e(...h):e;try{const O=await S;f.value=O,d.value=!0,i(O)}catch(O){if(m.value=O,r(O),c)throw O}finally{y.value=!1}return f.value}l&&p(u);const w={state:f,isReady:d,isLoading:y,error:m,execute:p};function v(){return new Promise((g,h)=>{b.until(y).toBe(!1).then(()=>g(w)).catch(h)})}return{...w,then(g,h){return v().then(g,h)}}}const Z={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 qt(e){return e?e instanceof Map?Z.map:e instanceof Set?Z.set:Array.isArray(e)?Z.array:Z.object:Z.null}function Gt(e,t){const n=o.ref(""),l=o.ref();function u(){if(b.isClient)return l.value=new Promise((r,i)=>{try{const a=o.toValue(e);if(a==null)r("");else if(typeof a=="string")r(ge(new Blob([a],{type:"text/plain"})));else if(a instanceof Blob)r(ge(a));else if(a instanceof ArrayBuffer)r(window.btoa(String.fromCharCode(...new Uint8Array(a))));else if(a instanceof HTMLCanvasElement)r(a.toDataURL(t?.type,t?.quality));else if(a instanceof HTMLImageElement){const s=a.cloneNode(!1);s.crossOrigin="Anonymous",Yt(s).then(()=>{const c=document.createElement("canvas"),f=c.getContext("2d");c.width=s.width,c.height=s.height,f.drawImage(s,0,0,c.width,c.height),r(c.toDataURL(t?.type,t?.quality))}).catch(i)}else if(typeof a=="object"){const c=(t?.serializer||qt(a))(a);return r(ge(new Blob([c],{type:"application/json"})))}else i(new Error("target is unsupported types"))}catch(a){i(a)}}),l.value.then(r=>{n.value=t?.dataUrl===!1?r.replace(/^data:.*?;base64,/,""):r}),l.value}return o.isRef(e)||typeof e=="function"?o.watch(e,u,{immediate:!0}):u(),{base64:n,promise:l,execute:u}}function Yt(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function ge(e){return new Promise((t,n)=>{const l=new FileReader;l.onload=u=>{t(u.target.result)},l.onerror=n,l.readAsDataURL(e)})}function Xt(e={}){const{navigator:t=z}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],l=W(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),u=o.ref(!1),r=o.ref(0),i=o.ref(0),a=o.ref(1);let s;function c(){u.value=this.charging,r.value=this.chargingTime||0,i.value=this.dischargingTime||0,a.value=this.level}return l.value&&t.getBattery().then(f=>{s=f,c.call(s),k(s,n,c,{passive:!0})}),{isSupported:l,charging:u,chargingTime:r,dischargingTime:i,level:a}}function Kt(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:l=void 0,navigator:u=z}=e||{},r=W(()=>u&&"bluetooth"in u),i=o.shallowRef(void 0),a=o.shallowRef(null);o.watch(i,()=>{d()});async function s(){if(r.value){a.value=null,n&&n.length>0&&(t=!1);try{i.value=await u?.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:l})}catch(y){a.value=y}}}const c=o.ref(),f=o.computed(()=>{var y;return((y=c.value)==null?void 0:y.connected)||!1});async function d(){if(a.value=null,i.value&&i.value.gatt){i.value.addEventListener("gattserverdisconnected",()=>{});try{c.value=await i.value.gatt.connect()}catch(y){a.value=y}}}return b.tryOnMounted(()=>{var y;i.value&&((y=i.value.gatt)==null||y.connect())}),b.tryOnScopeDispose(()=>{var y;i.value&&((y=i.value.gatt)==null||y.disconnect())}),{isSupported:r,isConnected:f,device:i,requestDevice:s,server:c,error:a}}const we=Symbol("vueuse-ssr-width");function be(){const e=o.hasInjectionContext()?b.injectLocal(we,null):null;return typeof e=="number"?e:void 0}function Jt(e,t){t!==void 0?t.provide(we,e):b.provideLocal(we,e)}function j(e,t={}){const{window:n=I,ssrWidth:l=be()}=t,u=W(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),r=o.ref(typeof l=="number");let i;const a=o.ref(!1),s=d=>{a.value=d.matches},c=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},f=o.watchEffect(()=>{if(r.value){r.value=!u.value;const d=o.toValue(e).split(",");a.value=d.some(y=>{const m=y.includes("not all"),p=y.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),w=y.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(p||w);return p&&v&&(v=l>=b.pxValue(p[1])),w&&v&&(v=l<=b.pxValue(w[1])),m?!v:v});return}u.value&&(c(),i=n.matchMedia(o.toValue(e)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),a.value=i.matches)});return b.tryOnScopeDispose(()=>{f(),c(),i=void 0}),o.computed(()=>a.value)}const Qt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Zt={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Ie={xs:0,sm:600,md:960,lg:1264,xl:1904},en={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},tn=Ie,nn={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},on={xs:0,sm:600,md:1024,lg:1440,xl:1920},ln={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},rn={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},an={sm:576,md:768,lg:992,xl:1200},un={xs:0,sm:768,md:992,lg:1200,xl:1920};function sn(e,t={}){function n(m,p){let w=o.toValue(e[o.toValue(m)]);return p!=null&&(w=b.increaseWithUnit(w,p)),typeof w=="number"&&(w=`${w}px`),w}const{window:l=I,strategy:u="min-width",ssrWidth:r=be()}=t,i=typeof r=="number",a=i?o.ref(!1):{value:!0};i&&b.tryOnMounted(()=>a.value=!!l);function s(m,p){return!a.value&&i?m==="min"?r>=b.pxValue(p):r<=b.pxValue(p):l?l.matchMedia(`(${m}-width: ${p})`).matches:!1}const c=m=>j(()=>`(min-width: ${n(m)})`,t),f=m=>j(()=>`(max-width: ${n(m)})`,t),d=Object.keys(e).reduce((m,p)=>(Object.defineProperty(m,p,{get:()=>u==="min-width"?c(p):f(p),enumerable:!0,configurable:!0}),m),{});function y(){const m=Object.keys(e).map(p=>[p,d[p],b.pxValue(n(p))]).sort((p,w)=>p[2]-w[2]);return o.computed(()=>m.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(d,{greaterOrEqual:c,smallerOrEqual:f,greater(m){return j(()=>`(min-width: ${n(m,.1)})`,t)},smaller(m){return j(()=>`(max-width: ${n(m,-.1)})`,t)},between(m,p){return j(()=>`(min-width: ${n(m)}) and (max-width: ${n(p,-.1)})`,t)},isGreater(m){return s("min",n(m,.1))},isGreaterOrEqual(m){return s("min",n(m))},isSmaller(m){return s("max",n(m,-.1))},isSmallerOrEqual(m){return s("max",n(m))},isInBetween(m,p){return s("min",n(m))&&s("max",n(p,-.1))},current:y,active(){const m=y();return o.computed(()=>m.value.length===0?"":m.value.at(u==="min-width"?-1:0))}})}function cn(e){const{name:t,window:n=I}=e,l=W(()=>n&&"BroadcastChannel"in n),u=o.ref(!1),r=o.ref(),i=o.ref(),a=o.shallowRef(null),s=f=>{r.value&&r.value.postMessage(f)},c=()=>{r.value&&r.value.close(),u.value=!0};return l.value&&b.tryOnMounted(()=>{a.value=null,r.value=new BroadcastChannel(t),r.value.addEventListener("message",f=>{i.value=f.data},{passive:!0}),r.value.addEventListener("messageerror",f=>{a.value=f},{passive:!0}),r.value.addEventListener("close",()=>{u.value=!0})}),b.tryOnScopeDispose(()=>{c()}),{isSupported:l,channel:r,data:i,post:s,close:c,error:a,isClosed:u}}const Le=["hash","host","hostname","href","pathname","port","protocol","search"];function fn(e={}){const{window:t=I}=e,n=Object.fromEntries(Le.map(r=>[r,o.ref()]));for(const[r,i]of b.objectEntries(n))o.watch(i,a=>{!t?.location||t.location[r]===a||(t.location[r]=a)});const l=r=>{var i;const{state:a,length:s}=t?.history||{},{origin:c}=t?.location||{};for(const f of Le)n[f].value=(i=t?.location)==null?void 0:i[f];return o.reactive({trigger:r,state:a,length:s,origin:c,...n})},u=o.ref(l("load"));return t&&(k(t,"popstate",()=>u.value=l("popstate"),{passive:!0}),k(t,"hashchange",()=>u.value=l("hashchange"),{passive:!0})),u}function dn(e,t=(l,u)=>l===u,n){const l=o.ref(e.value);return o.watch(()=>e.value,u=>{t(u,l.value)||(l.value=u)},n),l}function ie(e,t={}){const{controls:n=!1,navigator:l=z}=t,u=W(()=>l&&"permissions"in l),r=o.shallowRef(),i=typeof e=="string"?{name:e}:e,a=o.shallowRef(),s=()=>{var f,d;a.value=(d=(f=r.value)==null?void 0:f.state)!=null?d:"prompt"};k(r,"change",s);const c=b.createSingletonPromise(async()=>{if(u.value){if(!r.value)try{r.value=await l.permissions.query(i)}catch{r.value=void 0}finally{s()}if(n)return o.toRaw(r.value)}});return c(),n?{state:a,isSupported:u,query:c}:a}function mn(e={}){const{navigator:t=z,read:n=!1,source:l,copiedDuring:u=1500,legacy:r=!1}=e,i=W(()=>t&&"clipboard"in t),a=ie("clipboard-read"),s=ie("clipboard-write"),c=o.computed(()=>i.value||r),f=o.ref(""),d=o.ref(!1),y=b.useTimeoutFn(()=>d.value=!1,u,{immediate:!1});function m(){i.value&&g(a.value)?t.clipboard.readText().then(h=>{f.value=h}):f.value=v()}c.value&&n&&k(["copy","cut"],m);async function p(h=o.toValue(l)){c.value&&h!=null&&(i.value&&g(s.value)?await t.clipboard.writeText(h):w(h),f.value=h,d.value=!0,y.start())}function w(h){const S=document.createElement("textarea");S.value=h??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function v(){var h,S,O;return(O=(S=(h=document?.getSelection)==null?void 0:h.call(document))==null?void 0:S.toString())!=null?O:""}function g(h){return h==="granted"||h==="prompt"}return{isSupported:c,text:f,copied:d,copy:p}}function vn(e={}){const{navigator:t=z,read:n=!1,source:l,copiedDuring:u=1500}=e,r=W(()=>t&&"clipboard"in t),i=o.ref([]),a=o.ref(!1),s=b.useTimeoutFn(()=>a.value=!1,u,{immediate:!1});function c(){r.value&&t.clipboard.read().then(d=>{i.value=d})}r.value&&n&&k(["copy","cut"],c);async function f(d=o.toValue(l)){r.value&&d!=null&&(await t.clipboard.write(d),i.value=d,a.value=!0,s.start())}return{isSupported:r,content:i,copied:a,copy:f}}function ee(e){return JSON.parse(JSON.stringify(e))}function pn(e,t={}){const n=o.ref({}),{manual:l,clone:u=ee,deep:r=!0,immediate:i=!0}=t;function a(){n.value=u(o.toValue(e))}return!l&&(o.isRef(e)||typeof e=="function")?o.watch(e,a,{...t,deep:r,immediate:i}):a(),{cloned:n,sync:a}}const ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se="__vueuse_ssr_handlers__",Ne=yn();function yn(){return se in ue||(ue[se]=ue[se]||{}),ue[se]}function ce(e,t){return Ne[e]||t}function hn(e,t){Ne[e]=t}function xe(e){return j("(prefers-color-scheme: dark)",e)}function We(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Se={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()}},Ee="vueuse-storage";function fe(e,t,n,l={}){var u;const{flush:r="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:y,onError:m=F=>{console.error(F)},initOnMounted:p}=l,w=(f?o.shallowRef:o.ref)(typeof t=="function"?t():t);if(!n)try{n=ce("getDefaultStorage",()=>{var F;return(F=I)==null?void 0:F.localStorage})()}catch(F){m(F)}if(!n)return w;const v=o.toValue(t),g=We(v),h=(u=l.serializer)!=null?u:Se[g],{pause:S,resume:O}=b.pausableWatch(w,()=>C(w.value),{flush:r,deep:i,eventFilter:y});d&&a&&b.tryOnMounted(()=>{n instanceof Storage?k(d,"storage",V):k(d,Ee,D),p&&V()}),p||V();function _(F,R){if(d){const P={key:e,oldValue:F,newValue:R,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",P):new CustomEvent(Ee,{detail:P}))}}function C(F){try{const R=n.getItem(e);if(F==null)_(R,null),n.removeItem(e);else{const P=h.write(F);R!==P&&(n.setItem(e,P),_(R,P))}}catch(R){m(R)}}function T(F){const R=F?F.newValue:n.getItem(e);if(R==null)return s&&v!=null&&n.setItem(e,h.write(v)),v;if(!F&&c){const P=h.read(R);return typeof c=="function"?c(P,v):g==="object"&&!Array.isArray(P)?{...v,...P}:P}else return typeof R!="string"?R:h.read(R)}function V(F){if(!(F&&F.storageArea!==n)){if(F&&F.key==null){w.value=v;return}if(!(F&&F.key!==e)){S();try{F?.newValue!==h.write(w.value)&&(w.value=T(F))}catch(R){m(R)}finally{F?o.nextTick(O):O()}}}}function D(F){V(F.detail)}return w}const gn="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function He(e={}){const{selector:t="html",attribute:n="class",initialValue:l="auto",window:u=I,storage:r,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:s,emitAuto:c,disableTransition:f=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},y=xe({window:u}),m=o.computed(()=>y.value?"dark":"light"),p=s||(i==null?b.toRef(l):fe(i,l,r,{window:u,listenToStorageChanges:a})),w=o.computed(()=>p.value==="auto"?m.value:p.value),v=ce("updateHTMLAttrs",(O,_,C)=>{const T=typeof O=="string"?u?.document.querySelector(O):N(O);if(!T)return;const V=new Set,D=new Set;let F=null;if(_==="class"){const P=C.split(/\s/g);Object.values(d).flatMap(A=>(A||"").split(/\s/g)).filter(Boolean).forEach(A=>{P.includes(A)?V.add(A):D.add(A)})}else F={key:_,value:C};if(V.size===0&&D.size===0&&F===null)return;let R;f&&(R=u.document.createElement("style"),R.appendChild(document.createTextNode(gn)),u.document.head.appendChild(R));for(const P of V)T.classList.add(P);for(const P of D)T.classList.remove(P);F&&T.setAttribute(F.key,F.value),f&&(u.getComputedStyle(R).opacity,document.head.removeChild(R))});function g(O){var _;v(t,n,(_=d[O])!=null?_:O)}function h(O){e.onChanged?e.onChanged(O,g):g(O)}o.watch(w,h,{flush:"post",immediate:!0}),b.tryOnMounted(()=>h(w.value));const S=o.computed({get(){return c?p.value:w.value},set(O){p.value=O}});return Object.assign(S,{store:p,system:m,state:w})}function wn(e=o.ref(!1)){const t=b.createEventHook(),n=b.createEventHook(),l=b.createEventHook();let u=b.noop;const r=s=>(l.trigger(s),e.value=!0,new Promise(c=>{u=c})),i=s=>{e.value=!1,t.trigger(s),u({data:s,isCanceled:!1})},a=s=>{e.value=!1,n.trigger(s),u({data:s,isCanceled:!0})};return{isRevealed:o.computed(()=>e.value),reveal:r,confirm:i,cancel:a,onReveal:l.on,onConfirm:t.on,onCancel:n.on}}function te(e,t,n={}){const{window:l=I,initialValue:u,observe:r=!1}=n,i=o.ref(u),a=o.computed(()=>{var c;return N(t)||((c=l?.document)==null?void 0:c.documentElement)});function s(){var c;const f=o.toValue(e),d=o.toValue(a);if(d&&l&&f){const y=(c=l.getComputedStyle(d).getPropertyValue(f))==null?void 0:c.trim();i.value=y||u}}return r&&K(a,s,{attributeFilter:["style","class"],window:l}),o.watch([a,()=>o.toValue(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),s()},{immediate:!0}),o.watch(i,c=>{var f;const d=o.toValue(e);(f=a.value)!=null&&f.style&&d&&(c==null?a.value.style.removeProperty(d):a.value.style.setProperty(d,c))}),i}function Ue(e){const t=o.getCurrentInstance(),n=b.computedWithControl(()=>null,()=>e?N(e):t.proxy.$el);return o.onUpdated(n.trigger),o.onMounted(n.trigger),n}function bn(e,t){const n=o.shallowRef(c()),l=b.toRef(e),u=o.computed({get(){var f;const d=l.value;let y=t?.getIndexOf?t.getIndexOf(n.value,d):d.indexOf(n.value);return y<0&&(y=(f=t?.fallbackIndex)!=null?f:0),y},set(f){r(f)}});function r(f){const d=l.value,y=d.length,m=(f%y+y)%y,p=d[m];return n.value=p,p}function i(f=1){return r(u.value+f)}function a(f=1){return i(f)}function s(f=1){return i(-f)}function c(){var f,d;return(d=o.toValue((f=t?.initialValue)!=null?f:o.toValue(e)[0]))!=null?d:void 0}return o.watch(l,()=>r(u.value)),{state:n,index:u,next:a,prev:s,go:r}}function Sn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,l=He({...e,onChanged:(i,a)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",a,i):a(i)},modes:{dark:t,light:n}}),u=o.computed(()=>l.system.value);return o.computed({get(){return l.value==="dark"},set(i){const a=i?"dark":"light";u.value===a?l.value="auto":l.value=a}})}function $e(e){return e}function En(e,t){return e.value=t}function Tn(e){return e?typeof e=="function"?e:ee:$e}function On(e){return e?typeof e=="function"?e:ee:$e}function Be(e,t={}){const{clone:n=!1,dump:l=Tn(n),parse:u=On(n),setSource:r=En}=t;function i(){return o.markRaw({snapshot:l(e.value),timestamp:b.timestamp()})}const a=o.ref(i()),s=o.ref([]),c=o.ref([]),f=S=>{r(e,u(S.snapshot)),a.value=S},d=()=>{s.value.unshift(a.value),a.value=i(),t.capacity&&s.value.length>t.capacity&&s.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},y=()=>{s.value.splice(0,s.value.length),c.value.splice(0,c.value.length)},m=()=>{const S=s.value.shift();S&&(c.value.unshift(a.value),f(S))},p=()=>{const S=c.value.shift();S&&(s.value.unshift(a.value),f(S))},w=()=>{f(a.value)},v=o.computed(()=>[a.value,...s.value]),g=o.computed(()=>s.value.length>0),h=o.computed(()=>c.value.length>0);return{source:e,undoStack:s,redoStack:c,last:a,history:v,canUndo:g,canRedo:h,clear:y,commit:d,reset:w,undo:m,redo:p}}function Te(e,t={}){const{deep:n=!1,flush:l="pre",eventFilter:u}=t,{eventFilter:r,pause:i,resume:a,isActive:s}=b.pausableFilter(u),{ignoreUpdates:c,ignorePrevAsyncUpdates:f,stop:d}=b.watchIgnorable(e,v,{deep:n,flush:l,eventFilter:r});function y(O,_){f(),c(()=>{O.value=_})}const m=Be(e,{...t,clone:t.clone||n,setSource:y}),{clear:p,commit:w}=m;function v(){f(),w()}function g(O){a(),O&&v()}function h(O){let _=!1;const C=()=>_=!0;c(()=>{O(C)}),_||v()}function S(){d(),p()}return{...m,isTracking:s,pause:i,resume:g,commit:v,batch:h,dispose:S}}function kn(e,t={}){const n=t.debounce?b.debounceFilter(t.debounce):void 0;return{...Te(e,{...t,eventFilter:n})}}function _n(e={}){const{window:t=I,requestPermissions:n=!1,eventFilter:l=b.bypassFilter}=e,u=W(()=>typeof DeviceMotionEvent<"u"),r=W(()=>u.value&&"requestPermission"in DeviceMotionEvent&&typeof DeviceMotionEvent.requestPermission=="function"),i=o.ref(!1),a=o.ref({x:null,y:null,z:null}),s=o.ref({alpha:null,beta:null,gamma:null}),c=o.ref(0),f=o.ref({x:null,y:null,z:null});function d(){if(t){const m=b.createFilterWrapper(l,p=>{var w,v,g,h,S,O,_,C,T;a.value={x:((w=p.acceleration)==null?void 0:w.x)||null,y:((v=p.acceleration)==null?void 0:v.y)||null,z:((g=p.acceleration)==null?void 0:g.z)||null},f.value={x:((h=p.accelerationIncludingGravity)==null?void 0:h.x)||null,y:((S=p.accelerationIncludingGravity)==null?void 0:S.y)||null,z:((O=p.accelerationIncludingGravity)==null?void 0:O.z)||null},s.value={alpha:((_=p.rotationRate)==null?void 0:_.alpha)||null,beta:((C=p.rotationRate)==null?void 0:C.beta)||null,gamma:((T=p.rotationRate)==null?void 0:T.gamma)||null},c.value=p.interval});k(t,"devicemotion",m)}}const y=async()=>{if(r.value||(i.value=!0),!i.value&&r.value){const m=DeviceMotionEvent.requestPermission;try{await m()==="granted"&&(i.value=!0,d())}catch(p){console.error(p)}}};return u.value&&(n&&r.value?y().then(()=>d()):d()),{acceleration:a,accelerationIncludingGravity:f,rotationRate:s,interval:c,isSupported:u,requirePermissions:r,ensurePermissions:y,permissionGranted:i}}function je(e={}){const{window:t=I}=e,n=W(()=>t&&"DeviceOrientationEvent"in t),l=o.ref(!1),u=o.ref(null),r=o.ref(null),i=o.ref(null);return t&&n.value&&k(t,"deviceorientation",a=>{l.value=a.absolute,u.value=a.alpha,r.value=a.beta,i.value=a.gamma}),{isSupported:n,isAbsolute:l,alpha:u,beta:r,gamma:i}}function Rn(e={}){const{window:t=I}=e,n=o.ref(1);if(t){let l=function(){n.value=t.devicePixelRatio,u(),r=t.matchMedia(`(resolution: ${n.value}dppx)`),r.addEventListener("change",l,{once:!0})},u=function(){r?.removeEventListener("change",l)},r;l(),b.tryOnScopeDispose(u)}return{pixelRatio:n}}function Vn(e={}){const{navigator:t=z,requestPermissions:n=!1,constraints:l={audio:!0,video:!0},onUpdated:u}=e,r=o.ref([]),i=o.computed(()=>r.value.filter(p=>p.kind==="videoinput")),a=o.computed(()=>r.value.filter(p=>p.kind==="audioinput")),s=o.computed(()=>r.value.filter(p=>p.kind==="audiooutput")),c=W(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=o.ref(!1);let d;async function y(){c.value&&(r.value=await t.mediaDevices.enumerateDevices(),u?.(r.value),d&&(d.getTracks().forEach(p=>p.stop()),d=null))}async function m(){if(!c.value)return!1;if(f.value)return!0;const{state:p,query:w}=ie("camera",{controls:!0});if(await w(),p.value!=="granted"){let v=!0;try{d=await t.mediaDevices.getUserMedia(l)}catch{d=null,v=!1}y(),f.value=v}else f.value=!0;return f.value}return c.value&&(n&&m(),k(t.mediaDevices,"devicechange",y),y()),{devices:r,ensurePermissions:m,permissionGranted:f,videoInputs:i,audioInputs:a,audioOutputs:s,isSupported:c}}function Pn(e={}){var t;const n=o.ref((t=e.enabled)!=null?t:!1),l=e.video,u=e.audio,{navigator:r=z}=e,i=W(()=>{var m;return(m=r?.mediaDevices)==null?void 0:m.getDisplayMedia}),a={audio:u,video:l},s=o.shallowRef();async function c(){var m;if(!(!i.value||s.value))return s.value=await r.mediaDevices.getDisplayMedia(a),(m=s.value)==null||m.getTracks().forEach(p=>p.addEventListener("ended",d)),s.value}async function f(){var m;(m=s.value)==null||m.getTracks().forEach(p=>p.stop()),s.value=void 0}function d(){f(),n.value=!1}async function y(){return await c(),s.value&&(n.value=!0),s.value}return o.watch(n,m=>{m?c():f()},{immediate:!0}),{isSupported:i,stream:s,start:y,stop:d,enabled:n}}function ze(e={}){const{document:t=B}=e;if(!t)return o.ref("visible");const n=o.ref(t.visibilityState);return k(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Fn(e,t={}){var n,l;const{pointerTypes:u,preventDefault:r,stopPropagation:i,exact:a,onMove:s,onEnd:c,onStart:f,initialValue:d,axis:y="both",draggingElement:m=I,containerElement:p,handle:w=e,buttons:v=[0]}=t,g=o.ref((n=o.toValue(d))!=null?n:{x:0,y:0}),h=o.ref(),S=V=>u?u.includes(V.pointerType):!0,O=V=>{o.toValue(r)&&V.preventDefault(),o.toValue(i)&&V.stopPropagation()},_=V=>{var D;if(!o.toValue(v).includes(V.button)||o.toValue(t.disabled)||!S(V)||o.toValue(a)&&V.target!==o.toValue(e))return;const F=o.toValue(p),R=(D=F?.getBoundingClientRect)==null?void 0:D.call(F),P=o.toValue(e).getBoundingClientRect(),A={x:V.clientX-(F?P.left-R.left+F.scrollLeft:P.left),y:V.clientY-(F?P.top-R.top+F.scrollTop:P.top)};f?.(A,V)!==!1&&(h.value=A,O(V))},C=V=>{if(o.toValue(t.disabled)||!S(V)||!h.value)return;const D=o.toValue(p),F=o.toValue(e).getBoundingClientRect();let{x:R,y:P}=g.value;(y==="x"||y==="both")&&(R=V.clientX-h.value.x,D&&(R=Math.min(Math.max(0,R),D.scrollWidth-F.width))),(y==="y"||y==="both")&&(P=V.clientY-h.value.y,D&&(P=Math.min(Math.max(0,P),D.scrollHeight-F.height))),g.value={x:R,y:P},s?.(g.value,V),O(V)},T=V=>{o.toValue(t.disabled)||!S(V)||h.value&&(h.value=void 0,c?.(g.value,V),O(V))};if(b.isClient){const V={capture:(l=t.capture)!=null?l:!0};k(w,"pointerdown",_,V),k(m,"pointermove",C,V),k(m,"pointerup",T,V)}return{...b.toRefs(g),position:g,isDragging:o.computed(()=>!!h.value),style:o.computed(()=>`left:${g.value.x}px;top:${g.value.y}px;`)}}function Dn(e,t={}){var n,l;const u=o.ref(!1),r=o.shallowRef(null);let i=0,a=!0;if(b.isClient){const s=typeof t=="function"?{onDrop:t}:t,c=(n=s.multiple)!=null?n:!0,f=(l=s.preventDefaultForUnhandled)!=null?l:!1,d=v=>{var g,h;const S=Array.from((h=(g=v.dataTransfer)==null?void 0:g.files)!=null?h:[]);return S.length===0?null:c?S:[S[0]]},y=v=>{const g=o.unref(s.dataTypes);return typeof g=="function"?g(v):g?.length?v.length===0?!1:v.every(h=>g.some(S=>h.includes(S))):!0},m=v=>{const g=Array.from(v??[]).map(O=>O.type),h=y(g),S=c||v.length<=1;return h&&S},p=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),w=(v,g)=>{var h,S,O,_,C,T;const V=(h=v.dataTransfer)==null?void 0:h.items;if(a=(S=V&&m(V))!=null?S:!1,f&&v.preventDefault(),!p()&&!a){v.dataTransfer&&(v.dataTransfer.dropEffect="none");return}v.preventDefault(),v.dataTransfer&&(v.dataTransfer.dropEffect="copy");const D=d(v);switch(g){case"enter":i+=1,u.value=!0,(O=s.onEnter)==null||O.call(s,null,v);break;case"over":(_=s.onOver)==null||_.call(s,null,v);break;case"leave":i-=1,i===0&&(u.value=!1),(C=s.onLeave)==null||C.call(s,null,v);break;case"drop":i=0,u.value=!1,a&&(r.value=D,(T=s.onDrop)==null||T.call(s,D,v));break}};k(e,"dragenter",v=>w(v,"enter")),k(e,"dragover",v=>w(v,"over")),k(e,"dragleave",v=>w(v,"leave")),k(e,"drop",v=>w(v,"drop"))}return{files:r,isOverDropZone:u}}function de(e,t,n={}){const{window:l=I,...u}=n;let r;const i=W(()=>l&&"ResizeObserver"in l),a=()=>{r&&(r.disconnect(),r=void 0)},s=o.computed(()=>{const d=o.toValue(e);return Array.isArray(d)?d.map(y=>N(y)):[N(d)]}),c=o.watch(s,d=>{if(a(),i.value&&l){r=new ResizeObserver(t);for(const y of d)y&&r.observe(y,u)}},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return b.tryOnScopeDispose(f),{isSupported:i,stop:f}}function Cn(e,t={}){const{reset:n=!0,windowResize:l=!0,windowScroll:u=!0,immediate:r=!0,updateTiming:i="sync"}=t,a=o.ref(0),s=o.ref(0),c=o.ref(0),f=o.ref(0),d=o.ref(0),y=o.ref(0),m=o.ref(0),p=o.ref(0);function w(){const g=N(e);if(!g){n&&(a.value=0,s.value=0,c.value=0,f.value=0,d.value=0,y.value=0,m.value=0,p.value=0);return}const h=g.getBoundingClientRect();a.value=h.height,s.value=h.bottom,c.value=h.left,f.value=h.right,d.value=h.top,y.value=h.width,m.value=h.x,p.value=h.y}function v(){i==="sync"?w():i==="next-frame"&&requestAnimationFrame(()=>w())}return de(e,v),o.watch(()=>N(e),g=>!g&&v()),K(e,v,{attributeFilter:["style","class"]}),u&&k("scroll",v,{capture:!0,passive:!0}),l&&k("resize",v,{passive:!0}),b.tryOnMounted(()=>{r&&v()}),{height:a,bottom:s,left:c,right:f,top:d,width:y,x:m,y:p,update:v}}function An(e){const{x:t,y:n,document:l=B,multiple:u,interval:r="requestAnimationFrame",immediate:i=!0}=e,a=W(()=>o.toValue(u)?l&&"elementsFromPoint"in l:l&&"elementFromPoint"in l),s=o.ref(null),c=()=>{var d,y;s.value=o.toValue(u)?(d=l?.elementsFromPoint(o.toValue(t),o.toValue(n)))!=null?d:[]:(y=l?.elementFromPoint(o.toValue(t),o.toValue(n)))!=null?y:null},f=r==="requestAnimationFrame"?G(c,{immediate:i}):b.useIntervalFn(c,r,{immediate:i});return{isSupported:a,element:s,...f}}function Mn(e,t={}){const{delayEnter:n=0,delayLeave:l=0,triggerOnRemoval:u=!1,window:r=I}=t,i=o.ref(!1);let a;const s=c=>{const f=c?n:l;a&&(clearTimeout(a),a=void 0),f?a=setTimeout(()=>i.value=c,f):i.value=c};return r&&(k(e,"mouseenter",()=>s(!0),{passive:!0}),k(e,"mouseleave",()=>s(!1),{passive:!0}),u&&he(o.computed(()=>N(e)),()=>s(!1))),i}function qe(e,t={width:0,height:0},n={}){const{window:l=I,box:u="content-box"}=n,r=o.computed(()=>{var d,y;return(y=(d=N(e))==null?void 0:d.namespaceURI)==null?void 0:y.includes("svg")}),i=o.ref(t.width),a=o.ref(t.height),{stop:s}=de(e,([d])=>{const y=u==="border-box"?d.borderBoxSize:u==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(l&&r.value){const m=N(e);if(m){const p=m.getBoundingClientRect();i.value=p.width,a.value=p.height}}else if(y){const m=b.toArray(y);i.value=m.reduce((p,{inlineSize:w})=>p+w,0),a.value=m.reduce((p,{blockSize:w})=>p+w,0)}else i.value=d.contentRect.width,a.value=d.contentRect.height},n);b.tryOnMounted(()=>{const d=N(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=o.watch(()=>N(e),d=>{i.value=d?t.width:0,a.value=d?t.height:0});function f(){s(),c()}return{width:i,height:a,stop:f}}function Ge(e,t,n={}){const{root:l,rootMargin:u="0px",threshold:r=0,window:i=I,immediate:a=!0}=n,s=W(()=>i&&"IntersectionObserver"in i),c=o.computed(()=>{const p=o.toValue(e);return b.toArray(p).map(N).filter(b.notNullish)});let f=b.noop;const d=o.ref(a),y=s.value?o.watch(()=>[c.value,N(l),d.value],([p,w])=>{if(f(),!d.value||!p.length)return;const v=new IntersectionObserver(t,{root:N(w),rootMargin:u,threshold:r});p.forEach(g=>g&&v.observe(g)),f=()=>{v.disconnect(),f=b.noop}},{immediate:a,flush:"post"}):b.noop,m=()=>{f(),y(),d.value=!1};return b.tryOnScopeDispose(m),{isSupported:s,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:m}}function Ye(e,t={}){const{window:n=I,scrollTarget:l,threshold:u=0,rootMargin:r}=t,i=o.ref(!1);return Ge(e,a=>{let s=i.value,c=0;for(const f of a)f.time>=c&&(c=f.time,s=f.isIntersecting);i.value=s},{root:l,window:n,threshold:u,rootMargin:o.toValue(r)}),i}const ne=new Map;function In(e){const t=o.getCurrentScope();function n(a){var s;const c=ne.get(e)||new Set;c.add(a),ne.set(e,c);const f=()=>u(a);return(s=t?.cleanups)==null||s.push(f),f}function l(a){function s(...c){u(s),a(...c)}return n(s)}function u(a){const s=ne.get(e);s&&(s.delete(a),s.size||r())}function r(){ne.delete(e)}function i(a,s){var c;(c=ne.get(e))==null||c.forEach(f=>f(a,s))}return{on:n,once:l,off:u,emit:i,reset:r}}function Ln(e){return e===!0?{}:e}function Nn(e,t=[],n={}){const l=o.ref(null),u=o.ref(null),r=o.ref("CONNECTING"),i=o.ref(null),a=o.shallowRef(null),s=b.toRef(e),c=o.shallowRef(null);let f=!1,d=0;const{withCredentials:y=!1,immediate:m=!0,autoConnect:p=!0,autoReconnect:w}=n,v=()=>{b.isClient&&i.value&&(i.value.close(),i.value=null,r.value="CLOSED",f=!0)},g=()=>{if(f||typeof s.value>"u")return;const S=new EventSource(s.value,{withCredentials:y});r.value="CONNECTING",i.value=S,S.onopen=()=>{r.value="OPEN",a.value=null},S.onerror=O=>{if(r.value="CLOSED",a.value=O,S.readyState===2&&!f&&w){S.close();const{retries:_=-1,delay:C=1e3,onFailed:T}=Ln(w);d+=1,typeof _=="number"&&(_<0||d<_)||typeof _=="function"&&_()?setTimeout(g,C):T?.()}},S.onmessage=O=>{l.value=null,u.value=O.data,c.value=O.lastEventId};for(const O of t)k(S,O,_=>{l.value=O,u.value=_.data||null})},h=()=>{b.isClient&&(v(),f=!1,d=0,g())};return m&&h(),p&&o.watch(s,h),b.tryOnScopeDispose(v),{eventSource:i,event:l,data:u,status:r,error:a,open:h,close:v,lastEventId:c}}function xn(e={}){const{initialValue:t=""}=e,n=W(()=>typeof window<"u"&&"EyeDropper"in window),l=o.ref(t);async function u(r){if(!n.value)return;const a=await new window.EyeDropper().open(r);return l.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:l,open:u}}function Wn(e=null,t={}){const{baseUrl:n="",rel:l="icon",document:u=B}=t,r=b.toRef(e),i=a=>{const s=u?.head.querySelectorAll(`link[rel*="${l}"]`);if(!s||s.length===0){const c=u?.createElement("link");c&&(c.rel=l,c.href=`${n}${a}`,c.type=`image/${a.split(".").pop()}`,u?.head.append(c));return}s?.forEach(c=>c.href=`${n}${a}`)};return o.watch(r,(a,s)=>{typeof a=="string"&&a!==s&&i(a)},{immediate:!0}),r}const Hn={json:"application/json",text:"text/plain"};function me(e){return e&&b.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const Un=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function $n(e){return Un.test(e)}function oe(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function J(e,...t){return e==="overwrite"?async n=>{const l=t[t.length-1];return l?{...n,...await l(n)}:n}:async n=>{for(const l of t)l&&(n={...n,...await l(n)});return n}}function Bn(e={}){const t=e.combination||"chain",n=e.options||{},l=e.fetchOptions||{};function u(r,...i){const a=o.computed(()=>{const f=o.toValue(e.baseUrl),d=o.toValue(r);return f&&!$n(d)?jn(f,d):d});let s=n,c=l;return i.length>0&&(me(i[0])?s={...s,...i[0],beforeFetch:J(t,n.beforeFetch,i[0].beforeFetch),afterFetch:J(t,n.afterFetch,i[0].afterFetch),onFetchError:J(t,n.onFetchError,i[0].onFetchError)}:c={...c,...i[0],headers:{...oe(c.headers)||{},...oe(i[0].headers)||{}}}),i.length>1&&me(i[1])&&(s={...s,...i[1],beforeFetch:J(t,n.beforeFetch,i[1].beforeFetch),afterFetch:J(t,n.afterFetch,i[1].afterFetch),onFetchError:J(t,n.onFetchError,i[1].onFetchError)}),Xe(a,c,s)}return u}function Xe(e,...t){var n;const l=typeof AbortController=="function";let u={},r={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const i={method:"GET",type:"text",payload:void 0};t.length>0&&(me(t[0])?r={...r,...t[0]}:u=t[0]),t.length>1&&me(t[1])&&(r={...r,...t[1]});const{fetch:a=(n=I)==null?void 0:n.fetch,initialData:s,timeout:c}=r,f=b.createEventHook(),d=b.createEventHook(),y=b.createEventHook(),m=o.ref(!1),p=o.ref(!1),w=o.ref(!1),v=o.ref(null),g=o.shallowRef(null),h=o.shallowRef(null),S=o.shallowRef(s||null),O=o.computed(()=>l&&p.value);let _,C;const T=()=>{l&&(_?.abort(),_=new AbortController,_.signal.onabort=()=>w.value=!0,u={...u,signal:_.signal})},V=M=>{p.value=M,m.value=!M};c&&(C=b.useTimeoutFn(T,c,{immediate:!1}));let D=0;const F=async(M=!1)=>{var x,q;T(),V(!0),h.value=null,v.value=null,w.value=!1,D+=1;const U=D,Y={method:i.method,headers:{}},Q=o.toValue(i.payload);if(Q){const $=oe(Y.headers),re=Object.getPrototypeOf(Q);!i.payloadType&&Q&&(re===Object.prototype||Array.isArray(re))&&!(Q instanceof FormData)&&(i.payloadType="json"),i.payloadType&&($["Content-Type"]=(x=Hn[i.payloadType])!=null?x:i.payloadType),Y.body=i.payloadType==="json"?JSON.stringify(Q):Q}let Ot=!1;const le={url:o.toValue(e),options:{...Y,...u},cancel:()=>{Ot=!0}};if(r.beforeFetch&&Object.assign(le,await r.beforeFetch(le)),Ot||!a)return V(!1),Promise.resolve(null);let X=null;return C&&C.start(),a(le.url,{...Y,...le.options,headers:{...oe(Y.headers),...oe((q=le.options)==null?void 0:q.headers)}}).then(async $=>{if(g.value=$,v.value=$.status,X=await $.clone()[i.type](),!$.ok)throw S.value=s||null,new Error($.statusText);return r.afterFetch&&({data:X}=await r.afterFetch({data:X,response:$})),S.value=X,f.trigger($),$}).catch(async $=>{let re=$.message||$.name;if(r.onFetchError&&({error:re,data:X}=await r.onFetchError({data:X,error:$,response:g.value})),h.value=re,r.updateDataOnError&&(S.value=X),d.trigger($),M)throw $;return null}).finally(()=>{U===D&&V(!1),C&&C.stop(),y.trigger(null)})},R=b.toRef(r.refetch);o.watch([R,b.toRef(e)],([M])=>M&&F(),{deep:!0});const P={isFinished:o.readonly(m),isFetching:o.readonly(p),statusCode:v,response:g,error:h,data:S,canAbort:O,aborted:w,abort:T,execute:F,onFetchResponse:f.on,onFetchError:d.on,onFetchFinally:y.on,get:A("GET"),put:A("PUT"),post:A("POST"),delete:A("DELETE"),patch:A("PATCH"),head:A("HEAD"),options:A("OPTIONS"),json:H("json"),text:H("text"),blob:H("blob"),arrayBuffer:H("arrayBuffer"),formData:H("formData")};function A(M){return(x,q)=>{if(!p.value)return i.method=M,i.payload=x,i.payloadType=q,o.isRef(i.payload)&&o.watch([R,b.toRef(i.payload)],([U])=>U&&F(),{deep:!0}),{...P,then(U,Y){return L().then(U,Y)}}}}function L(){return new Promise((M,x)=>{b.until(m).toBe(!0).then(()=>M(P)).catch(x)})}function H(M){return()=>{if(!p.value)return i.type=M,{...P,then(x,q){return L().then(x,q)}}}}return r.immediate&&Promise.resolve().then(()=>F()),{...P,then(M,x){return L().then(M,x)}}}function jn(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:e.endsWith("/")&&t.startsWith("/")?`${e.slice(0,-1)}${t}`:`${e}${t}`}const zn={multiple:!0,accept:"*",reset:!1,directory:!1};function qn(e={}){const{document:t=B}=e,n=o.ref(null),{on:l,trigger:u}=b.createEventHook(),{on:r,trigger:i}=b.createEventHook();let a;t&&(a=t.createElement("input"),a.type="file",a.onchange=f=>{const d=f.target;n.value=d.files,u(n.value)},a.oncancel=()=>{i()});const s=()=>{n.value=null,a&&a.value&&(a.value="",u(null))},c=f=>{if(!a)return;const d={...zn,...e,...f};a.multiple=d.multiple,a.accept=d.accept,a.webkitdirectory=d.directory,b.hasOwn(d,"capture")&&(a.capture=d.capture),d.reset&&s(),a.click()};return{files:o.readonly(n),open:c,reset:s,onCancel:r,onChange:l}}function Gn(e={}){const{window:t=I,dataType:n="Text"}=e,l=t,u=W(()=>l&&"showSaveFilePicker"in l&&"showOpenFilePicker"in l),r=o.ref(),i=o.ref(),a=o.ref(),s=o.computed(()=>{var h,S;return(S=(h=a.value)==null?void 0:h.name)!=null?S:""}),c=o.computed(()=>{var h,S;return(S=(h=a.value)==null?void 0:h.type)!=null?S:""}),f=o.computed(()=>{var h,S;return(S=(h=a.value)==null?void 0:h.size)!=null?S:0}),d=o.computed(()=>{var h,S;return(S=(h=a.value)==null?void 0:h.lastModified)!=null?S:0});async function y(h={}){if(!u.value)return;const[S]=await l.showOpenFilePicker({...o.toValue(e),...h});r.value=S,await g()}async function m(h={}){u.value&&(r.value=await l.showSaveFilePicker({...e,...h}),i.value=void 0,await g())}async function p(h={}){if(u.value){if(!r.value)return w(h);if(i.value){const S=await r.value.createWritable();await S.write(i.value),await S.close()}await v()}}async function w(h={}){if(u.value){if(r.value=await l.showSaveFilePicker({...e,...h}),i.value){const S=await r.value.createWritable();await S.write(i.value),await S.close()}await v()}}async function v(){var h;a.value=await((h=r.value)==null?void 0:h.getFile())}async function g(){var h,S;await v();const O=o.toValue(n);O==="Text"?i.value=await((h=a.value)==null?void 0:h.text()):O==="ArrayBuffer"?i.value=await((S=a.value)==null?void 0:S.arrayBuffer()):O==="Blob"&&(i.value=a.value)}return o.watch(()=>o.toValue(n),g),{isSupported:u,data:i,file:a,fileName:s,fileMIME:c,fileSize:f,fileLastModified:d,open:y,create:m,save:p,saveAs:w,updateData:g}}function Yn(e,t={}){const{initialValue:n=!1,focusVisible:l=!1,preventScroll:u=!1}=t,r=o.ref(!1),i=o.computed(()=>N(e));k(i,"focus",s=>{var c,f;(!l||(f=(c=s.target).matches)!=null&&f.call(c,":focus-visible"))&&(r.value=!0)}),k(i,"blur",()=>r.value=!1);const a=o.computed({get:()=>r.value,set(s){var c,f;!s&&r.value?(c=i.value)==null||c.blur():s&&!r.value&&((f=i.value)==null||f.focus({preventScroll:u}))}});return o.watch(i,()=>{a.value=n},{immediate:!0,flush:"post"}),{focused:a}}const Xn="focusin",Kn="focusout",Jn=":focus-within";function Qn(e,t={}){const{window:n=I}=t,l=o.computed(()=>N(e)),u=o.ref(!1),r=o.computed(()=>u.value),i=Ae(t);return!n||!i.value?{focused:r}:(k(l,Xn,()=>u.value=!0),k(l,Kn,()=>{var a,s,c;return u.value=(c=(s=(a=l.value)==null?void 0:a.matches)==null?void 0:s.call(a,Jn))!=null?c:!1}),{focused:r})}function Zn(e){var t;const n=o.ref(0);if(typeof performance>"u")return n;const l=(t=e?.every)!=null?t:10;let u=performance.now(),r=0;return G(()=>{if(r+=1,r>=l){const i=performance.now(),a=i-u;n.value=Math.round(1e3/(a/r)),u=i,r=0}}),n}const Ke=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function eo(e,t={}){const{document:n=B,autoExit:l=!1}=t,u=o.computed(()=>{var g;return(g=N(e))!=null?g:n?.querySelector("html")}),r=o.ref(!1),i=o.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||u.value&&g in u.value)),a=o.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||u.value&&g in u.value)),s=o.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||u.value&&g in u.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),f=W(()=>u.value&&n&&i.value!==void 0&&a.value!==void 0&&s.value!==void 0),d=()=>c?n?.[c]===u.value:!1,y=()=>{if(s.value){if(n&&n[s.value]!=null)return n[s.value];{const g=u.value;if(g?.[s.value]!=null)return!!g[s.value]}}return!1};async function m(){if(!(!f.value||!r.value)){if(a.value)if(n?.[a.value]!=null)await n[a.value]();else{const g=u.value;g?.[a.value]!=null&&await g[a.value]()}r.value=!1}}async function p(){if(!f.value||r.value)return;y()&&await m();const g=u.value;i.value&&g?.[i.value]!=null&&(await g[i.value](),r.value=!0)}async function w(){await(r.value?m():p())}const v=()=>{const g=y();(!g||g&&d())&&(r.value=g)};return k(n,Ke,v,!1),k(()=>N(u),Ke,v,!1),l&&b.tryOnScopeDispose(m),{isSupported:f,isFullscreen:r,enter:p,exit:m,toggle:w}}function to(e){return o.computed(()=>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 no(e={}){const{navigator:t=z}=e,n=W(()=>t&&"getGamepads"in t),l=o.ref([]),u=b.createEventHook(),r=b.createEventHook(),i=m=>{const p=[],w="vibrationActuator"in m?m.vibrationActuator:null;return w&&p.push(w),m.hapticActuators&&p.push(...m.hapticActuators),{id:m.id,index:m.index,connected:m.connected,mapping:m.mapping,timestamp:m.timestamp,vibrationActuator:m.vibrationActuator,hapticActuators:p,axes:m.axes.map(v=>v),buttons:m.buttons.map(v=>({pressed:v.pressed,touched:v.touched,value:v.value}))}},a=()=>{const m=t?.getGamepads()||[];for(const p of m)p&&l.value[p.index]&&(l.value[p.index]=i(p))},{isActive:s,pause:c,resume:f}=G(a),d=m=>{l.value.some(({index:p})=>p===m.index)||(l.value.push(i(m)),u.trigger(m.index)),f()},y=m=>{l.value=l.value.filter(p=>p.index!==m.index),r.trigger(m.index)};return k("gamepadconnected",m=>d(m.gamepad)),k("gamepaddisconnected",m=>y(m.gamepad)),b.tryOnMounted(()=>{const m=t?.getGamepads()||[];for(const p of m)p&&l.value[p.index]&&d(p)}),c(),{isSupported:n,onConnected:u.on,onDisconnected:r.on,gamepads:l,pause:c,resume:f,isActive:s}}function oo(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:l=27e3,navigator:u=z,immediate:r=!0}=e,i=W(()=>u&&"geolocation"in u),a=o.ref(null),s=o.shallowRef(null),c=o.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(p){a.value=p.timestamp,c.value=p.coords,s.value=null}let d;function y(){i.value&&(d=u.geolocation.watchPosition(f,p=>s.value=p,{enableHighAccuracy:t,maximumAge:n,timeout:l}))}r&&y();function m(){d&&u&&u.geolocation.clearWatch(d)}return b.tryOnScopeDispose(()=>{m()}),{isSupported:i,coords:c,locatedAt:a,error:s,resume:y,pause:m}}const lo=["mousemove","mousedown","resize","keydown","touchstart","wheel"],ro=6e4;function ao(e=ro,t={}){const{initialState:n=!1,listenForVisibilityChange:l=!0,events:u=lo,window:r=I,eventFilter:i=b.throttleFilter(50)}=t,a=o.ref(n),s=o.ref(b.timestamp());let c;const f=()=>{a.value=!1,clearTimeout(c),c=setTimeout(()=>a.value=!0,e)},d=b.createFilterWrapper(i,()=>{s.value=b.timestamp(),f()});if(r){const y=r.document;for(const m of u)k(r,m,d,{passive:!0});l&&k(y,"visibilitychange",()=>{y.hidden||d()}),f()}return{idle:a,lastActive:s,reset:f}}async function io(e){return new Promise((t,n)=>{const l=new Image,{src:u,srcset:r,sizes:i,class:a,loading:s,crossorigin:c,referrerPolicy:f,width:d,height:y,decoding:m,fetchPriority:p,ismap:w,usemap:v}=e;l.src=u,r!=null&&(l.srcset=r),i!=null&&(l.sizes=i),a!=null&&(l.className=a),s!=null&&(l.loading=s),c!=null&&(l.crossOrigin=c),f!=null&&(l.referrerPolicy=f),d!=null&&(l.width=d),y!=null&&(l.height=y),m!=null&&(l.decoding=m),p!=null&&(l.fetchPriority=p),w!=null&&(l.isMap=w),v!=null&&(l.useMap=v),l.onload=()=>t(l),l.onerror=n})}function uo(e,t={}){const n=Me(()=>io(o.toValue(e)),void 0,{resetOnExecute:!0,...t});return o.watch(()=>o.toValue(e),()=>n.execute(t.delay),{deep:!0}),n}function ve(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Je=1;function Oe(e,t={}){const{throttle:n=0,idle:l=200,onStop:u=b.noop,onScroll:r=b.noop,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:s="auto",window:c=I,onError:f=T=>{console.error(T)}}=t,d=o.ref(0),y=o.ref(0),m=o.computed({get(){return d.value},set(T){w(T,void 0)}}),p=o.computed({get(){return y.value},set(T){w(void 0,T)}});function w(T,V){var D,F,R,P;if(!c)return;const A=o.toValue(e);if(!A)return;(R=A instanceof Document?c.document.body:A)==null||R.scrollTo({top:(D=o.toValue(V))!=null?D:p.value,left:(F=o.toValue(T))!=null?F:m.value,behavior:o.toValue(s)});const L=((P=A?.document)==null?void 0:P.documentElement)||A?.documentElement||A;m!=null&&(d.value=L.scrollLeft),p!=null&&(y.value=L.scrollTop)}const v=o.ref(!1),g=o.reactive({left:!0,right:!1,top:!0,bottom:!1}),h=o.reactive({left:!1,right:!1,top:!1,bottom:!1}),S=T=>{v.value&&(v.value=!1,h.left=!1,h.right=!1,h.top=!1,h.bottom=!1,u(T))},O=b.useDebounceFn(S,n+l),_=T=>{var V;if(!c)return;const D=((V=T?.document)==null?void 0:V.documentElement)||T?.documentElement||N(T),{display:F,flexDirection:R,direction:P}=getComputedStyle(D),A=P==="rtl"?-1:1,L=D.scrollLeft;h.left=L<d.value,h.right=L>d.value;const H=L*A<=(i.left||0),M=L*A+D.clientWidth>=D.scrollWidth-(i.right||0)-Je;F==="flex"&&R==="row-reverse"?(g.left=M,g.right=H):(g.left=H,g.right=M),d.value=L;let x=D.scrollTop;T===c.document&&!x&&(x=c.document.body.scrollTop),h.top=x<y.value,h.bottom=x>y.value;const q=x<=(i.top||0),U=x+D.clientHeight>=D.scrollHeight-(i.bottom||0)-Je;F==="flex"&&R==="column-reverse"?(g.top=U,g.bottom=q):(g.top=q,g.bottom=U),y.value=x},C=T=>{var V;if(!c)return;const D=(V=T.target.documentElement)!=null?V:T.target;_(D),v.value=!0,O(T),r(T)};return k(e,"scroll",n?b.useThrottleFn(C,n,!0,!1):C,a),b.tryOnMounted(()=>{try{const T=o.toValue(e);if(!T)return;_(T)}catch(T){f(T)}}),k(e,"scrollend",S,a),{x:m,y:p,isScrolling:v,arrivedState:g,directions:h,measure(){const T=o.toValue(e);c&&T&&_(T)}}}function so(e,t,n={}){var l;const{direction:u="bottom",interval:r=100,canLoadMore:i=()=>!0}=n,a=o.reactive(Oe(e,{...n,offset:{[u]:(l=n.distance)!=null?l:0,...n.offset}})),s=o.ref(),c=o.computed(()=>!!s.value),f=o.computed(()=>ve(o.toValue(e))),d=Ye(f);function y(){if(a.measure(),!f.value||!d.value||!i(f.value))return;const{scrollHeight:p,clientHeight:w,scrollWidth:v,clientWidth:g}=f.value,h=u==="bottom"||u==="top"?p<=w:v<=g;(a.arrivedState[u]||h)&&(s.value||(s.value=Promise.all([t(a),new Promise(S=>setTimeout(S,r))]).finally(()=>{s.value=null,o.nextTick(()=>y())})))}const m=o.watch(()=>[a.arrivedState[u],d.value],y,{immediate:!0});return b.tryOnUnmounted(m),{isLoading:c,reset(){o.nextTick(()=>y())}}}const co=["mousedown","mouseup","keydown","keyup"];function fo(e,t={}){const{events:n=co,document:l=B,initial:u=null}=t,r=o.ref(u);return l&&n.forEach(i=>{k(l,i,a=>{typeof a.getModifierState=="function"&&(r.value=a.getModifierState(e))})}),r}function mo(e,t,n={}){const{window:l=I}=n;return fe(e,t,l?.localStorage,n)}const Qe={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function vo(e={}){const{reactive:t=!1,target:n=I,aliasMap:l=Qe,passive:u=!0,onEventFired:r=b.noop}=e,i=o.reactive(new Set),a={toJSON(){return{}},current:i},s=t?o.reactive(a):a,c=new Set,f=new Set;function d(w,v){w in s&&(t?s[w]=v:s[w].value=v)}function y(){i.clear();for(const w of f)d(w,!1)}function m(w,v){var g,h;const S=(g=w.key)==null?void 0:g.toLowerCase(),_=[(h=w.code)==null?void 0:h.toLowerCase(),S].filter(Boolean);S&&(v?i.add(S):i.delete(S));for(const C of _)f.add(C),d(C,v);S==="meta"&&!v?(c.forEach(C=>{i.delete(C),d(C,!1)}),c.clear()):typeof w.getModifierState=="function"&&w.getModifierState("Meta")&&v&&[...i,..._].forEach(C=>c.add(C))}k(n,"keydown",w=>(m(w,!0),r(w)),{passive:u}),k(n,"keyup",w=>(m(w,!1),r(w)),{passive:u}),k("blur",y,{passive:!0}),k("focus",y,{passive:!0});const p=new Proxy(s,{get(w,v,g){if(typeof v!="string")return Reflect.get(w,v,g);if(v=v.toLowerCase(),v in l&&(v=l[v]),!(v in s))if(/[+_-]/.test(v)){const S=v.split(/[+_-]/g).map(O=>O.trim());s[v]=o.computed(()=>S.every(O=>o.toValue(p[O])))}else s[v]=o.ref(!1);const h=Reflect.get(w,v,g);return t?o.toValue(h):h}});return p}function ke(e,t){o.toValue(e)&&t(o.toValue(e))}function po(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function _e(e){return Array.from(e).map(({label:t,kind:n,language:l,mode:u,activeCues:r,cues:i,inBandMetadataTrackDispatchType:a},s)=>({id:s,label:t,kind:n,language:l,mode:u,activeCues:r,cues:i,inBandMetadataTrackDispatchType:a}))}const yo={src:"",tracks:[]};function ho(e,t={}){e=b.toRef(e),t={...yo,...t};const{document:n=B}=t,l=o.ref(0),u=o.ref(0),r=o.ref(!1),i=o.ref(1),a=o.ref(!1),s=o.ref(!1),c=o.ref(!1),f=o.ref(1),d=o.ref(!1),y=o.ref([]),m=o.ref([]),p=o.ref(-1),w=o.ref(!1),v=o.ref(!1),g=n&&"pictureInPictureEnabled"in n,h=b.createEventHook(),S=b.createEventHook(),O=R=>{ke(e,P=>{if(R){const A=typeof R=="number"?R:R.id;P.textTracks[A].mode="disabled"}else for(let A=0;A<P.textTracks.length;++A)P.textTracks[A].mode="disabled";p.value=-1})},_=(R,P=!0)=>{ke(e,A=>{const L=typeof R=="number"?R:R.id;P&&O(),A.textTracks[L].mode="showing",p.value=L})},C=()=>new Promise((R,P)=>{ke(e,async A=>{g&&(w.value?n.exitPictureInPicture().then(R).catch(P):A.requestPictureInPicture().then(R).catch(P))})});o.watchEffect(()=>{if(!n)return;const R=o.toValue(e);if(!R)return;const P=o.toValue(t.src);let A=[];P&&(typeof P=="string"?A=[{src:P}]:Array.isArray(P)?A=P:b.isObject(P)&&(A=[P]),R.querySelectorAll("source").forEach(L=>{L.removeEventListener("error",h.trigger),L.remove()}),A.forEach(({src:L,type:H,media:M})=>{const x=n.createElement("source");x.setAttribute("src",L),x.setAttribute("type",H||""),x.setAttribute("media",M||""),x.addEventListener("error",h.trigger),R.appendChild(x)}),R.load())}),b.tryOnScopeDispose(()=>{const R=o.toValue(e);R&&R.querySelectorAll("source").forEach(P=>P.removeEventListener("error",h.trigger))}),o.watch([e,i],()=>{const R=o.toValue(e);R&&(R.volume=i.value)}),o.watch([e,v],()=>{const R=o.toValue(e);R&&(R.muted=v.value)}),o.watch([e,f],()=>{const R=o.toValue(e);R&&(R.playbackRate=f.value)}),o.watchEffect(()=>{if(!n)return;const R=o.toValue(t.tracks),P=o.toValue(e);!R||!R.length||!P||(P.querySelectorAll("track").forEach(A=>A.remove()),R.forEach(({default:A,kind:L,label:H,src:M,srcLang:x},q)=>{const U=n.createElement("track");U.default=A||!1,U.kind=L,U.label=H,U.src=M,U.srclang=x,U.default&&(p.value=q),P.appendChild(U)}))});const{ignoreUpdates:T}=b.watchIgnorable(l,R=>{const P=o.toValue(e);P&&(P.currentTime=R)}),{ignoreUpdates:V}=b.watchIgnorable(c,R=>{const P=o.toValue(e);P&&(R?P.play().catch(A=>{throw S.trigger(A),A}):P.pause())});k(e,"timeupdate",()=>T(()=>l.value=o.toValue(e).currentTime)),k(e,"durationchange",()=>u.value=o.toValue(e).duration),k(e,"progress",()=>y.value=po(o.toValue(e).buffered)),k(e,"seeking",()=>r.value=!0),k(e,"seeked",()=>r.value=!1),k(e,["waiting","loadstart"],()=>{a.value=!0,V(()=>c.value=!1)}),k(e,"loadeddata",()=>a.value=!1),k(e,"playing",()=>{a.value=!1,s.value=!1,V(()=>c.value=!0)}),k(e,"ratechange",()=>f.value=o.toValue(e).playbackRate),k(e,"stalled",()=>d.value=!0),k(e,"ended",()=>s.value=!0),k(e,"pause",()=>V(()=>c.value=!1)),k(e,"play",()=>V(()=>c.value=!0)),k(e,"enterpictureinpicture",()=>w.value=!0),k(e,"leavepictureinpicture",()=>w.value=!1),k(e,"volumechange",()=>{const R=o.toValue(e);R&&(i.value=R.volume,v.value=R.muted)});const D=[],F=o.watch([e],()=>{const R=o.toValue(e);R&&(F(),D[0]=k(R.textTracks,"addtrack",()=>m.value=_e(R.textTracks)),D[1]=k(R.textTracks,"removetrack",()=>m.value=_e(R.textTracks)),D[2]=k(R.textTracks,"change",()=>m.value=_e(R.textTracks)))});return b.tryOnScopeDispose(()=>D.forEach(R=>R())),{currentTime:l,duration:u,waiting:a,seeking:r,ended:s,stalled:d,buffered:y,playing:c,rate:f,volume:i,muted:v,tracks:m,selectedTrack:p,enableTrack:_,disableTrack:O,supportsPictureInPicture:g,togglePictureInPicture:C,isPictureInPicture:w,onSourceError:h.on,onPlaybackError:S.on}}function go(e,t){const l=t?.cache?o.shallowReactive(t.cache):o.shallowReactive(new Map),u=(...f)=>t?.getKey?t.getKey(...f):JSON.stringify(f),r=(f,...d)=>(l.set(f,e(...d)),l.get(f)),i=(...f)=>r(u(...f),...f),a=(...f)=>{l.delete(u(...f))},s=()=>{l.clear()},c=(...f)=>{const d=u(...f);return l.has(d)?l.get(d):r(d,...f)};return c.load=i,c.delete=a,c.clear=s,c.generateKey=u,c.cache=l,c}function wo(e={}){const t=o.ref(),n=W(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:l=1e3}=e;b.useIntervalFn(()=>{t.value=performance.memory},l,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const bo={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Ze(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:l=!1,initialValue:u={x:0,y:0},window:r=I,target:i=r,scroll:a=!0,eventFilter:s}=e;let c=null,f=0,d=0;const y=o.ref(u.x),m=o.ref(u.y),p=o.ref(null),w=typeof t=="function"?t:bo[t],v=T=>{const V=w(T);c=T,V&&([y.value,m.value]=V,p.value="mouse"),r&&(f=r.scrollX,d=r.scrollY)},g=T=>{if(T.touches.length>0){const V=w(T.touches[0]);V&&([y.value,m.value]=V,p.value="touch")}},h=()=>{if(!c||!r)return;const T=w(c);c instanceof MouseEvent&&T&&(y.value=T[0]+r.scrollX-f,m.value=T[1]+r.scrollY-d)},S=()=>{y.value=u.x,m.value=u.y},O=s?T=>s(()=>v(T),{}):T=>v(T),_=s?T=>s(()=>g(T),{}):T=>g(T),C=s?()=>s(()=>h(),{}):()=>h();if(i){const T={passive:!0};k(i,["mousemove","dragover"],O,T),n&&t!=="movement"&&(k(i,["touchstart","touchmove"],_,T),l&&k(i,"touchend",S,T)),a&&t==="page"&&k(r,"scroll",C,{passive:!0})}return{x:y,y:m,sourceType:p}}function et(e,t={}){const{handleOutside:n=!0,window:l=I}=t,u=t.type||"page",{x:r,y:i,sourceType:a}=Ze(t),s=o.ref(e??l?.document.body),c=o.ref(0),f=o.ref(0),d=o.ref(0),y=o.ref(0),m=o.ref(0),p=o.ref(0),w=o.ref(!0);let v=()=>{};return l&&(v=o.watch([s,r,i],()=>{const g=N(s);if(!g||!(g instanceof Element))return;const{left:h,top:S,width:O,height:_}=g.getBoundingClientRect();d.value=h+(u==="page"?l.pageXOffset:0),y.value=S+(u==="page"?l.pageYOffset:0),m.value=_,p.value=O;const C=r.value-d.value,T=i.value-y.value;w.value=O===0||_===0||C<0||T<0||C>O||T>_,(n||!w.value)&&(c.value=C,f.value=T)},{immediate:!0}),k(document,"mouseleave",()=>{w.value=!0})),{x:r,y:i,sourceType:a,elementX:c,elementY:f,elementPositionX:d,elementPositionY:y,elementHeight:m,elementWidth:p,isOutside:w,stop:v}}function So(e={}){const{touch:t=!0,drag:n=!0,capture:l=!1,initialValue:u=!1,window:r=I}=e,i=o.ref(u),a=o.ref(null);if(!r)return{pressed:i,sourceType:a};const s=d=>y=>{var m;i.value=!0,a.value=d,(m=e.onPressed)==null||m.call(e,y)},c=d=>{var y;i.value=!1,a.value=null,(y=e.onReleased)==null||y.call(e,d)},f=o.computed(()=>N(e.target)||r);return k(f,"mousedown",s("mouse"),{passive:!0,capture:l}),k(r,"mouseleave",c,{passive:!0,capture:l}),k(r,"mouseup",c,{passive:!0,capture:l}),n&&(k(f,"dragstart",s("mouse"),{passive:!0,capture:l}),k(r,"drop",c,{passive:!0,capture:l}),k(r,"dragend",c,{passive:!0,capture:l})),t&&(k(f,"touchstart",s("touch"),{passive:!0,capture:l}),k(r,"touchend",c,{passive:!0,capture:l}),k(r,"touchcancel",c,{passive:!0,capture:l})),{pressed:i,sourceType:a}}function Eo(e={}){const{window:t=I}=e,n=t?.navigator,l=W(()=>n&&"language"in n),u=o.ref(n?.language);return k(t,"languagechange",()=>{n&&(u.value=n.language)}),{isSupported:l,language:u}}function tt(e={}){const{window:t=I}=e,n=t?.navigator,l=W(()=>n&&"connection"in n),u=o.ref(!0),r=o.ref(!1),i=o.ref(void 0),a=o.ref(void 0),s=o.ref(void 0),c=o.ref(void 0),f=o.ref(void 0),d=o.ref(void 0),y=o.ref("unknown"),m=l.value&&n.connection;function p(){n&&(u.value=n.onLine,i.value=u.value?void 0:Date.now(),a.value=u.value?Date.now():void 0,m&&(s.value=m.downlink,c.value=m.downlinkMax,d.value=m.effectiveType,f.value=m.rtt,r.value=m.saveData,y.value=m.type))}return t&&(k(t,"offline",()=>{u.value=!1,i.value=Date.now()}),k(t,"online",()=>{u.value=!0,a.value=Date.now()})),m&&k(m,"change",p,!1),p(),{isSupported:o.readonly(l),isOnline:o.readonly(u),saveData:o.readonly(r),offlineAt:o.readonly(i),onlineAt:o.readonly(a),downlink:o.readonly(s),downlinkMax:o.readonly(c),effectiveType:o.readonly(d),rtt:o.readonly(f),type:o.readonly(y)}}function nt(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,l=o.ref(new Date),u=()=>l.value=new Date,r=n==="requestAnimationFrame"?G(u,{immediate:!0}):b.useIntervalFn(u,n,{immediate:!0});return t?{now:l,...r}:l}function To(e){const t=o.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return o.watch(()=>o.toValue(e),l=>{n(),l&&(t.value=URL.createObjectURL(l))},{immediate:!0}),b.tryOnScopeDispose(n),o.readonly(t)}function ot(e,t,n){if(typeof e=="function"||o.isReadonly(e))return o.computed(()=>b.clamp(o.toValue(e),o.toValue(t),o.toValue(n)));const l=o.ref(e);return o.computed({get(){return l.value=b.clamp(l.value,o.toValue(t),o.toValue(n))},set(u){l.value=b.clamp(u,o.toValue(t),o.toValue(n))}})}function Oo(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:l=1,onPageChange:u=b.noop,onPageSizeChange:r=b.noop,onPageCountChange:i=b.noop}=e,a=ot(n,1,Number.POSITIVE_INFINITY),s=o.computed(()=>Math.max(1,Math.ceil(o.toValue(t)/o.toValue(a)))),c=ot(l,1,s),f=o.computed(()=>c.value===1),d=o.computed(()=>c.value===s.value);o.isRef(l)&&b.syncRef(l,c,{direction:o.isReadonly(l)?"ltr":"both"}),o.isRef(n)&&b.syncRef(n,a,{direction:o.isReadonly(n)?"ltr":"both"});function y(){c.value--}function m(){c.value++}const p={currentPage:c,currentPageSize:a,pageCount:s,isFirstPage:f,isLastPage:d,prev:y,next:m};return o.watch(c,()=>{u(o.reactive(p))}),o.watch(a,()=>{r(o.reactive(p))}),o.watch(s,()=>{i(o.reactive(p))}),p}function ko(e={}){const{isOnline:t}=tt(e);return t}function _o(e={}){const{window:t=I}=e,n=o.ref(!1),l=u=>{if(!t)return;u=u||t.event;const r=u.relatedTarget||u.toElement;n.value=!r};return t&&(k(t,"mouseout",l,{passive:!0}),k(t.document,"mouseleave",l,{passive:!0}),k(t.document,"mouseenter",l,{passive:!0})),n}function lt(e={}){const{window:t=I}=e,n=W(()=>t&&"screen"in t&&"orientation"in t.screen),l=n.value?t.screen.orientation:{},u=o.ref(l.type),r=o.ref(l.angle||0);return n.value&&k(t,"orientationchange",()=>{u.value=l.type,r.value=l.angle}),{isSupported:n,orientation:u,angle:r,lockOrientation:s=>n.value&&typeof l.lock=="function"?l.lock(s):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof l.unlock=="function"&&l.unlock()}}}function Ro(e,t={}){const{deviceOrientationTiltAdjust:n=v=>v,deviceOrientationRollAdjust:l=v=>v,mouseTiltAdjust:u=v=>v,mouseRollAdjust:r=v=>v,window:i=I}=t,a=o.reactive(je({window:i})),s=o.reactive(lt({window:i})),{elementX:c,elementY:f,elementWidth:d,elementHeight:y}=et(e,{handleOutside:!1,window:i}),m=o.computed(()=>a.isSupported&&(a.alpha!=null&&a.alpha!==0||a.gamma!=null&&a.gamma!==0)?"deviceOrientation":"mouse"),p=o.computed(()=>{if(m.value==="deviceOrientation"){let v;switch(s.orientation){case"landscape-primary":v=a.gamma/90;break;case"landscape-secondary":v=-a.gamma/90;break;case"portrait-primary":v=-a.beta/90;break;case"portrait-secondary":v=a.beta/90;break;default:v=-a.beta/90}return l(v)}else{const v=-(f.value-y.value/2)/y.value;return r(v)}}),w=o.computed(()=>{if(m.value==="deviceOrientation"){let v;switch(s.orientation){case"landscape-primary":v=a.beta/90;break;case"landscape-secondary":v=-a.beta/90;break;case"portrait-primary":v=a.gamma/90;break;case"portrait-secondary":v=-a.gamma/90;break;default:v=a.gamma/90}return n(v)}else{const v=(c.value-d.value/2)/d.value;return u(v)}});return{roll:p,tilt:w,source:m}}function Vo(e=Ue()){const t=o.shallowRef(),n=()=>{const l=N(e);l&&(t.value=l.parentElement)};return b.tryOnMounted(n),o.watch(()=>o.toValue(e),n),t}function Po(e,t){const{window:n=I,immediate:l=!0,...u}=e,r=W(()=>n&&"PerformanceObserver"in n);let i;const a=()=>{i?.disconnect()},s=()=>{r.value&&(a(),i=new PerformanceObserver(t),i.observe(u))};return b.tryOnScopeDispose(a),l&&s(),{isSupported:r,start:s,stop:a}}const rt={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Fo=Object.keys(rt);function Do(e={}){const{target:t=I}=e,n=o.ref(!1),l=o.ref(e.initialValue||{});Object.assign(l.value,rt,l.value);const u=r=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(r.pointerType))&&(l.value=b.objectPick(r,Fo,!1))};if(t){const r={passive:!0};k(t,["pointerdown","pointermove","pointerup"],u,r),k(t,"pointerleave",()=>n.value=!1,r)}return{...b.toRefs(l),isInside:n}}function Co(e,t={}){const{document:n=B}=t,l=W(()=>n&&"pointerLockElement"in n),u=o.ref(),r=o.ref();let i;l.value&&(k(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;i&&f===i&&(u.value=n.pointerLockElement,u.value||(i=r.value=null))}),k(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;if(i&&f===i){const d=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${d} pointer lock.`)}}));async function a(c){var f;if(!l.value)throw new Error("Pointer Lock API is not supported by your browser.");if(r.value=c instanceof Event?c.currentTarget:null,i=c instanceof Event?(f=N(e))!=null?f:r.value:N(c),!i)throw new Error("Target element undefined.");return i.requestPointerLock(),await b.until(u).toBe(i)}async function s(){return u.value?(n.exitPointerLock(),await b.until(u).toBeNull(),!0):!1}return{isSupported:l,element:u,triggerElement:r,lock:a,unlock:s}}function Ao(e,t={}){const n=b.toRef(e),{threshold:l=50,onSwipe:u,onSwipeEnd:r,onSwipeStart:i,disableTextSelect:a=!1}=t,s=o.reactive({x:0,y:0}),c=(T,V)=>{s.x=T,s.y=V},f=o.reactive({x:0,y:0}),d=(T,V)=>{f.x=T,f.y=V},y=o.computed(()=>s.x-f.x),m=o.computed(()=>s.y-f.y),{max:p,abs:w}=Math,v=o.computed(()=>p(w(y.value),w(m.value))>=l),g=o.ref(!1),h=o.ref(!1),S=o.computed(()=>v.value?w(y.value)>w(m.value)?y.value>0?"left":"right":m.value>0?"up":"down":"none"),O=T=>{var V,D,F;const R=T.buttons===0,P=T.buttons===1;return(F=(D=(V=t.pointerTypes)==null?void 0:V.includes(T.pointerType))!=null?D:R||P)!=null?F:!0},_=[k(e,"pointerdown",T=>{if(!O(T))return;h.value=!0;const V=T.target;V?.setPointerCapture(T.pointerId);const{clientX:D,clientY:F}=T;c(D,F),d(D,F),i?.(T)}),k(e,"pointermove",T=>{if(!O(T)||!h.value)return;const{clientX:V,clientY:D}=T;d(V,D),!g.value&&v.value&&(g.value=!0),g.value&&u?.(T)}),k(e,"pointerup",T=>{O(T)&&(g.value&&r?.(T,S.value),h.value=!1,g.value=!1)})];b.tryOnMounted(()=>{var T,V,D,F,R,P,A,L;(V=(T=n.value)==null?void 0:T.style)==null||V.setProperty("touch-action","none"),a&&((F=(D=n.value)==null?void 0:D.style)==null||F.setProperty("-webkit-user-select","none"),(P=(R=n.value)==null?void 0:R.style)==null||P.setProperty("-ms-user-select","none"),(L=(A=n.value)==null?void 0:A.style)==null||L.setProperty("user-select","none"))});const C=()=>_.forEach(T=>T());return{isSwiping:o.readonly(g),direction:o.readonly(S),posStart:o.readonly(s),posEnd:o.readonly(f),distanceX:y,distanceY:m,stop:C}}function Mo(e){const t=j("(prefers-color-scheme: light)",e),n=j("(prefers-color-scheme: dark)",e);return o.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function Io(e){const t=j("(prefers-contrast: more)",e),n=j("(prefers-contrast: less)",e),l=j("(prefers-contrast: custom)",e);return o.computed(()=>t.value?"more":n.value?"less":l.value?"custom":"no-preference")}function Lo(e={}){const{window:t=I}=e;if(!t)return o.ref(["en"]);const n=t.navigator,l=o.ref(n.languages);return k(t,"languagechange",()=>{l.value=n.languages}),l}function No(e){const t=j("(prefers-reduced-motion: reduce)",e);return o.computed(()=>t.value?"reduce":"no-preference")}function xo(e){const t=j("(prefers-reduced-transparency: reduce)",e);return o.computed(()=>t.value?"reduce":"no-preference")}function Wo(e,t){const n=o.shallowRef(t);return o.watch(b.toRef(e),(l,u)=>{n.value=u},{flush:"sync"}),o.readonly(n)}const at="--vueuse-safe-area-top",it="--vueuse-safe-area-right",ut="--vueuse-safe-area-bottom",st="--vueuse-safe-area-left";function Ho(){const e=o.ref(""),t=o.ref(""),n=o.ref(""),l=o.ref("");if(b.isClient){const r=te(at),i=te(it),a=te(ut),s=te(st);r.value="env(safe-area-inset-top, 0px)",i.value="env(safe-area-inset-right, 0px)",a.value="env(safe-area-inset-bottom, 0px)",s.value="env(safe-area-inset-left, 0px)",u(),k("resize",b.useDebounceFn(u))}function u(){e.value=pe(at),t.value=pe(it),n.value=pe(ut),l.value=pe(st)}return{top:e,right:t,bottom:n,left:l,update:u}}function pe(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Uo(e,t=b.noop,n={}){const{immediate:l=!0,manual:u=!1,type:r="text/javascript",async:i=!0,crossOrigin:a,referrerPolicy:s,noModule:c,defer:f,document:d=B,attrs:y={}}=n,m=o.ref(null);let p=null;const w=h=>new Promise((S,O)=>{const _=V=>(m.value=V,S(V),V);if(!d){S(!1);return}let C=!1,T=d.querySelector(`script[src="${o.toValue(e)}"]`);T?T.hasAttribute("data-loaded")&&_(T):(T=d.createElement("script"),T.type=r,T.async=i,T.src=o.toValue(e),f&&(T.defer=f),a&&(T.crossOrigin=a),c&&(T.noModule=c),s&&(T.referrerPolicy=s),Object.entries(y).forEach(([V,D])=>T?.setAttribute(V,D)),C=!0),T.addEventListener("error",V=>O(V)),T.addEventListener("abort",V=>O(V)),T.addEventListener("load",()=>{T.setAttribute("data-loaded","true"),t(T),_(T)}),C&&(T=d.head.appendChild(T)),h||_(T)}),v=(h=!0)=>(p||(p=w(h)),p),g=()=>{if(!d)return;p=null,m.value&&(m.value=null);const h=d.querySelector(`script[src="${o.toValue(e)}"]`);h&&d.head.removeChild(h)};return l&&!u&&b.tryOnMounted(v),u||b.tryOnUnmounted(g),{scriptTag:m,load:v,unload:g}}function ct(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:ct(n)}}function $o(e){const t=e||window.event,n=t.target;return ct(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Re=new WeakMap;function Bo(e,t=!1){const n=o.ref(t);let l=null,u="";o.watch(b.toRef(e),a=>{const s=ve(o.toValue(a));if(s){const c=s;if(Re.get(c)||Re.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(u=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const r=()=>{const a=ve(o.toValue(e));!a||n.value||(b.isIOS&&(l=k(a,"touchmove",s=>{$o(s)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{const a=ve(o.toValue(e));!a||!n.value||(b.isIOS&&l?.(),a.style.overflow=u,Re.delete(a),n.value=!1)};return b.tryOnScopeDispose(i),o.computed({get(){return n.value},set(a){a?r():i()}})}function jo(e,t,n={}){const{window:l=I}=n;return fe(e,t,l?.sessionStorage,n)}function zo(e={},t={}){const{navigator:n=z}=t,l=n,u=W(()=>l&&"canShare"in l);return{isSupported:u,share:async(i={})=>{if(u.value){const a={...o.toValue(e),...o.toValue(i)};let s=!0;if(a.files&&l.canShare&&(s=l.canShare({files:a.files})),s)return l.share(a)}}}}const qo=(e,t)=>e.sort(t),ye=(e,t)=>e-t;function Go(...e){var t,n,l,u;const[r]=e;let i=ye,a={};e.length===2?typeof e[1]=="object"?(a=e[1],i=(t=a.compareFn)!=null?t:ye):i=(n=e[1])!=null?n:ye:e.length>2&&(i=(l=e[1])!=null?l:ye,a=(u=e[2])!=null?u:{});const{dirty:s=!1,sortFn:c=qo}=a;return s?(o.watchEffect(()=>{const f=c(o.toValue(r),i);o.isRef(r)?r.value=f:r.splice(0,r.length,...f)}),r):o.computed(()=>c([...o.toValue(r)],i))}function Yo(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:l=1,window:u=I}=e,r=b.toRef(e.lang||"en-US"),i=o.ref(!1),a=o.ref(!1),s=o.ref(""),c=o.shallowRef(void 0);let f;const d=()=>{i.value||f?.start()},y=()=>{i.value&&f?.stop()},m=(v=!i.value)=>{v?d():y()},p=u&&(u.SpeechRecognition||u.webkitSpeechRecognition),w=W(()=>p);return w.value&&(f=new p,f.continuous=n,f.interimResults=t,f.lang=o.toValue(r),f.maxAlternatives=l,f.onstart=()=>{i.value=!0,a.value=!1},o.watch(r,v=>{f&&!i.value&&(f.lang=v)}),f.onresult=v=>{const g=v.results[v.resultIndex],{transcript:h}=g[0];a.value=g.isFinal,s.value=h,c.value=void 0},f.onerror=v=>{c.value=v},f.onend=()=>{i.value=!1,f.lang=o.toValue(r)},o.watch(i,()=>{i.value?f.start():f.stop()})),b.tryOnScopeDispose(()=>{y()}),{isSupported:w,isListening:i,isFinal:a,recognition:f,result:s,error:c,toggle:m,start:d,stop:y}}function Xo(e,t={}){const{pitch:n=1,rate:l=1,volume:u=1,window:r=I}=t,i=r&&r.speechSynthesis,a=W(()=>i),s=o.ref(!1),c=o.ref("init"),f=b.toRef(e||""),d=b.toRef(t.lang||"en-US"),y=o.shallowRef(void 0),m=(h=!s.value)=>{s.value=h},p=h=>{h.lang=o.toValue(d),h.voice=o.toValue(t.voice)||null,h.pitch=o.toValue(n),h.rate=o.toValue(l),h.volume=u,h.onstart=()=>{s.value=!0,c.value="play"},h.onpause=()=>{s.value=!1,c.value="pause"},h.onresume=()=>{s.value=!0,c.value="play"},h.onend=()=>{s.value=!1,c.value="end"},h.onerror=S=>{y.value=S}},w=o.computed(()=>{s.value=!1,c.value="init";const h=new SpeechSynthesisUtterance(f.value);return p(h),h}),v=()=>{i.cancel(),w&&i.speak(w.value)},g=()=>{i.cancel(),s.value=!1};return a.value&&(p(w.value),o.watch(d,h=>{w.value&&!s.value&&(w.value.lang=h)}),t.voice&&o.watch(t.voice,()=>{i.cancel()}),o.watch(s,()=>{s.value?i.resume():i.pause()})),b.tryOnScopeDispose(()=>{s.value=!1}),{isSupported:a,isPlaying:s,status:c,utterance:w,error:y,stop:g,toggle:m,speak:v}}function Ko(e,t){const n=o.ref(e),l=o.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),u=o.ref(l.value.indexOf(t??l.value[0])),r=o.computed(()=>f(u.value)),i=o.computed(()=>u.value===0),a=o.computed(()=>u.value===l.value.length-1),s=o.computed(()=>l.value[u.value+1]),c=o.computed(()=>l.value[u.value-1]);function f(_){return Array.isArray(n.value)?n.value[_]:n.value[l.value[_]]}function d(_){if(l.value.includes(_))return f(l.value.indexOf(_))}function y(_){l.value.includes(_)&&(u.value=l.value.indexOf(_))}function m(){a.value||u.value++}function p(){i.value||u.value--}function w(_){O(_)&&y(_)}function v(_){return l.value.indexOf(_)===u.value+1}function g(_){return l.value.indexOf(_)===u.value-1}function h(_){return l.value.indexOf(_)===u.value}function S(_){return u.value<l.value.indexOf(_)}function O(_){return u.value>l.value.indexOf(_)}return{steps:n,stepNames:l,index:u,current:r,next:s,previous:c,isFirst:i,isLast:a,at:f,get:d,goTo:y,goToNext:m,goToPrevious:p,goBackTo:w,isNext:v,isPrevious:g,isCurrent:h,isBefore:S,isAfter:O}}function Jo(e,t,n,l={}){var u;const{flush:r="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:y,onError:m=S=>{console.error(S)}}=l,p=o.toValue(t),w=We(p),v=(f?o.shallowRef:o.ref)(o.toValue(t)),g=(u=l.serializer)!=null?u:Se[w];if(!n)try{n=ce("getDefaultStorageAsync",()=>{var S;return(S=I)==null?void 0:S.localStorage})()}catch(S){m(S)}async function h(S){if(!(!n||S&&S.key!==e))try{const O=S?S.newValue:await n.getItem(e);if(O==null)v.value=p,s&&p!==null&&await n.setItem(e,await g.write(p));else if(c){const _=await g.read(O);typeof c=="function"?v.value=c(_,p):w==="object"&&!Array.isArray(_)?v.value={...p,..._}:v.value=_}else v.value=await g.read(O)}catch(O){m(O)}}return h(),d&&a&&k(d,"storage",S=>Promise.resolve().then(()=>h(S))),n&&b.watchWithFilter(v,async()=>{try{v.value==null?await n.removeItem(e):await n.setItem(e,await g.write(v.value))}catch(S){m(S)}},{flush:r,deep:i,eventFilter:y}),v}let Qo=0;function Zo(e,t={}){const n=o.ref(!1),{document:l=B,immediate:u=!0,manual:r=!1,id:i=`vueuse_styletag_${++Qo}`}=t,a=o.ref(e);let s=()=>{};const c=()=>{if(!l)return;const d=l.getElementById(i)||l.createElement("style");d.isConnected||(d.id=i,t.media&&(d.media=t.media),l.head.appendChild(d)),!n.value&&(s=o.watch(a,y=>{d.textContent=y},{immediate:!0}),n.value=!0)},f=()=>{!l||!n.value||(s(),l.head.removeChild(l.getElementById(i)),n.value=!1)};return u&&!r&&b.tryOnMounted(c),r||b.tryOnScopeDispose(f),{id:i,css:a,unload:f,load:c,isLoaded:o.readonly(n)}}function el(e,t={}){const{threshold:n=50,onSwipe:l,onSwipeEnd:u,onSwipeStart:r,passive:i=!0,window:a=I}=t,s=o.reactive({x:0,y:0}),c=o.reactive({x:0,y:0}),f=o.computed(()=>s.x-c.x),d=o.computed(()=>s.y-c.y),{max:y,abs:m}=Math,p=o.computed(()=>y(m(f.value),m(d.value))>=n),w=o.ref(!1),v=o.computed(()=>p.value?m(f.value)>m(d.value)?f.value>0?"left":"right":d.value>0?"up":"down":"none"),g=D=>[D.touches[0].clientX,D.touches[0].clientY],h=(D,F)=>{s.x=D,s.y=F},S=(D,F)=>{c.x=D,c.y=F};let O;const _=tl(a?.document);i?O=_?{passive:!0}:{capture:!1}:O=_?{passive:!1,capture:!0}:{capture:!0};const C=D=>{w.value&&u?.(D,v.value),w.value=!1},T=[k(e,"touchstart",D=>{if(D.touches.length!==1)return;const[F,R]=g(D);h(F,R),S(F,R),r?.(D)},O),k(e,"touchmove",D=>{if(D.touches.length!==1)return;const[F,R]=g(D);S(F,R),O.capture&&!O.passive&&Math.abs(f.value)>Math.abs(d.value)&&D.preventDefault(),!w.value&&p.value&&(w.value=!0),w.value&&l?.(D)},O),k(e,["touchend","touchcancel"],C,O)];return{isPassiveEventSupported:_,isSwiping:w,direction:v,coordsStart:s,coordsEnd:c,lengthX:f,lengthY:d,stop:()=>T.forEach(D=>D())}}function tl(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",b.noop,n),e.removeEventListener("x",b.noop),t}function nl(){const e=o.ref([]);return e.value.set=t=>{t&&e.value.push(t)},o.onBeforeUpdate(()=>{e.value.length=0}),e}function ol(e={}){const{document:t=B,selector:n="html",observe:l=!1,initialValue:u="ltr"}=e;function r(){var a,s;return(s=(a=t?.querySelector(n))==null?void 0:a.getAttribute("dir"))!=null?s:u}const i=o.ref(r());return b.tryOnMounted(()=>i.value=r()),l&&t&&K(t.querySelector(n),()=>i.value=r(),{attributes:!0}),o.computed({get(){return i.value},set(a){var s,c;i.value=a,t&&(i.value?(s=t.querySelector(n))==null||s.setAttribute("dir",i.value):(c=t.querySelector(n))==null||c.removeAttribute("dir"))}})}function ll(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(l,u)=>e.getRangeAt(u))}function rl(e={}){const{window:t=I}=e,n=o.ref(null),l=o.computed(()=>{var a,s;return(s=(a=n.value)==null?void 0:a.toString())!=null?s:""}),u=o.computed(()=>n.value?ll(n.value):[]),r=o.computed(()=>u.value.map(a=>a.getBoundingClientRect()));function i(){n.value=null,t&&(n.value=t.getSelection())}return t&&k(t.document,"selectionchange",i),{text:l,rects:r,ranges:u,selection:n}}function al(e){var t,n;const l=b.toRef(e?.element),u=b.toRef((t=e?.input)!=null?t:""),r=(n=e?.styleProp)!=null?n:"height",i=o.ref(1),a=o.ref(0);function s(){var c;if(!l.value)return;let f="";l.value.style[r]="1px",i.value=(c=l.value)==null?void 0:c.scrollHeight;const d=o.toValue(e?.styleTarget);d?d.style[r]=`${i.value}px`:f=`${i.value}px`,l.value.style[r]=f}return o.watch([u,l],()=>o.nextTick(s),{immediate:!0}),o.watch(i,()=>{var c;return(c=e?.onResize)==null?void 0:c.call(e)}),de(l,([{contentRect:c}])=>{a.value!==c.width&&(a.value=c.width,s())}),e?.watch&&o.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:l,input:u,triggerResize:s}}function il(e,t={}){const{throttle:n=200,trailing:l=!0}=t,u=b.throttleFilter(n,l);return{...Te(e,{...t,eventFilter:u})}}const ul=[{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:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],sl={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:""};function cl(e){return e.toISOString().slice(0,10)}function fl(e,t={}){const{controls:n=!1,updateInterval:l=3e4}=t,{now:u,...r}=nt({interval:l,controls:!0}),i=o.computed(()=>ft(new Date(o.toValue(e)),t,o.toValue(u)));return n?{timeAgo:i,...r}:i}function ft(e,t={},n=Date.now()){var l;const{max:u,messages:r=sl,fullDateFormatter:i=cl,units:a=ul,showSecond:s=!1,rounding:c="round"}=t,f=typeof c=="number"?v=>+v.toFixed(c):Math[c],d=+n-+e,y=Math.abs(d);function m(v,g){return f(Math.abs(v)/g.value)}function p(v,g){const h=m(v,g),S=v>0,O=w(g.name,h,S);return w(S?"past":"future",O,S)}function w(v,g,h){const S=r[v];return typeof S=="function"?S(g,h):S.replace("{0}",g.toString())}if(y<6e4&&!s)return r.justNow;if(typeof u=="number"&&y>u)return i(new Date(e));if(typeof u=="string"){const v=(l=a.find(g=>g.name===u))==null?void 0:l.max;if(v&&y>v)return i(new Date(e))}for(const[v,g]of a.entries()){if(m(d,g)<=0&&a[v-1])return p(d,a[v-1]);if(y<g.max)return p(d,g)}return r.invalid}function dl(e,t,n={}){const{immediate:l=!0}=n,{start:u}=b.useTimeoutFn(i,t,{immediate:!1}),r=o.ref(!1);async function i(){r.value&&(await e(),u())}function a(){r.value||(r.value=!0,i())}function s(){r.value=!1}return l&&b.isClient&&a(),b.tryOnScopeDispose(s),{isActive:r,pause:s,resume:a}}function ml(e={}){const{controls:t=!1,offset:n=0,immediate:l=!0,interval:u="requestAnimationFrame",callback:r}=e,i=o.ref(b.timestamp()+n),a=()=>i.value=b.timestamp()+n,s=r?()=>{a(),r(i.value)}:a,c=u==="requestAnimationFrame"?G(s,{immediate:l}):b.useIntervalFn(s,u,{immediate:l});return t?{timestamp:i,...c}:i}function vl(e=null,t={}){var n,l,u;const{document:r=B,restoreOnUnmount:i=d=>d}=t,a=(n=r?.title)!=null?n:"",s=b.toRef((l=e??r?.title)!=null?l:null),c=e&&typeof e=="function";function f(d){if(!("titleTemplate"in t))return d;const y=t.titleTemplate||"%s";return typeof y=="function"?y(d):o.toValue(y).replace(/%s/g,d)}return o.watch(s,(d,y)=>{d!==y&&r&&(r.title=f(typeof d=="string"?d:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!c&&K((u=r.head)==null?void 0:u.querySelector("title"),()=>{r&&r.title!==s.value&&(s.value=f(r.title))},{childList:!0}),b.tryOnBeforeUnmount(()=>{if(i){const d=i(a,s.value||"");d!=null&&r&&(r.title=d)}}),s}const pl={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]},yl=Object.assign({},{linear:b.identity},pl);function hl([e,t,n,l]){const u=(f,d)=>1-3*d+3*f,r=(f,d)=>3*d-6*f,i=f=>3*f,a=(f,d,y)=>((u(d,y)*f+r(d,y))*f+i(d))*f,s=(f,d,y)=>3*u(d,y)*f*f+2*r(d,y)*f+i(d),c=f=>{let d=f;for(let y=0;y<4;++y){const m=s(d,e,n);if(m===0)return d;const p=a(d,e,n)-f;d-=p/m}return d};return f=>e===t&&n===l?f:a(c(f),t,l)}function dt(e,t,n){return e+n*(t-e)}function Ve(e){return(typeof e=="number"?[e]:e)||[]}function mt(e,t,n,l={}){var u,r;const i=o.toValue(t),a=o.toValue(n),s=Ve(i),c=Ve(a),f=(u=o.toValue(l.duration))!=null?u:1e3,d=Date.now(),y=Date.now()+f,m=typeof l.transition=="function"?l.transition:(r=o.toValue(l.transition))!=null?r:b.identity,p=typeof m=="function"?m:hl(m);return new Promise(w=>{e.value=i;const v=()=>{var g;if((g=l.abort)!=null&&g.call(l)){w();return}const h=Date.now(),S=p((h-d)/f),O=Ve(e.value).map((_,C)=>dt(s[C],c[C],S));Array.isArray(e.value)?e.value=O.map((_,C)=>{var T,V;return dt((T=s[C])!=null?T:0,(V=c[C])!=null?V:0,S)}):typeof e.value=="number"&&(e.value=O[0]),h<y?requestAnimationFrame(v):(e.value=a,w())};v()})}function gl(e,t={}){let n=0;const l=()=>{const r=o.toValue(e);return typeof r=="number"?r:r.map(o.toValue)},u=o.ref(l());return o.watch(l,async r=>{var i,a;if(o.toValue(t.disabled))return;const s=++n;if(t.delay&&await b.promiseTimeout(o.toValue(t.delay)),s!==n)return;const c=Array.isArray(r)?r.map(o.toValue):o.toValue(r);(i=t.onStarted)==null||i.call(t),await mt(u,u.value,c,{...t,abort:()=>{var f;return s!==n||((f=t.abort)==null?void 0:f.call(t))}}),(a=t.onFinished)==null||a.call(t)},{deep:!0}),o.watch(()=>o.toValue(t.disabled),r=>{r&&(n++,u.value=l())}),b.tryOnScopeDispose(()=>{n++}),o.computed(()=>o.toValue(t.disabled)?l():u.value)}function wl(e="history",t={}){const{initialValue:n={},removeNullishValues:l=!0,removeFalsyValues:u=!1,write:r=!0,writeMode:i="replace",window:a=I}=t;if(!a)return o.reactive(n);const s=o.reactive({});function c(){if(e==="history")return a.location.search||"";if(e==="hash"){const h=a.location.hash||"",S=h.indexOf("?");return S>0?h.slice(S):""}else return(a.location.hash||"").replace(/^#/,"")}function f(h){const S=h.toString();if(e==="history")return`${S?`?${S}`:""}${a.location.hash||""}`;if(e==="hash-params")return`${a.location.search||""}${S?`#${S}`:""}`;const O=a.location.hash||"#",_=O.indexOf("?");return _>0?`${a.location.search||""}${O.slice(0,_)}${S?`?${S}`:""}`:`${a.location.search||""}${O}${S?`?${S}`:""}`}function d(){return new URLSearchParams(c())}function y(h){const S=new Set(Object.keys(s));for(const O of h.keys()){const _=h.getAll(O);s[O]=_.length>1?_:h.get(O)||"",S.delete(O)}Array.from(S).forEach(O=>delete s[O])}const{pause:m,resume:p}=b.pausableWatch(s,()=>{const h=new URLSearchParams("");Object.keys(s).forEach(S=>{const O=s[S];Array.isArray(O)?O.forEach(_=>h.append(S,_)):l&&O==null||u&&!O?h.delete(S):h.set(S,O)}),w(h,!1)},{deep:!0});function w(h,S){m(),S&&y(h),i==="replace"?a.history.replaceState(a.history.state,a.document.title,a.location.pathname+f(h)):a.history.pushState(a.history.state,a.document.title,a.location.pathname+f(h)),p()}function v(){r&&w(d(),!0)}k(a,"popstate",v,!1),e!=="history"&&k(a,"hashchange",v,!1);const g=d();return g.keys().next().value?y(g):Object.assign(s,n),s}function bl(e={}){var t,n;const l=o.ref((t=e.enabled)!=null?t:!1),u=o.ref((n=e.autoSwitch)!=null?n:!0),r=o.ref(e.constraints),{navigator:i=z}=e,a=W(()=>{var w;return(w=i?.mediaDevices)==null?void 0:w.getUserMedia}),s=o.shallowRef();function c(w){switch(w){case"video":{if(r.value)return r.value.video||!1;break}case"audio":{if(r.value)return r.value.audio||!1;break}}}async function f(){if(!(!a.value||s.value))return s.value=await i.mediaDevices.getUserMedia({video:c("video"),audio:c("audio")}),s.value}function d(){var w;(w=s.value)==null||w.getTracks().forEach(v=>v.stop()),s.value=void 0}function y(){d(),l.value=!1}async function m(){return await f(),s.value&&(l.value=!0),s.value}async function p(){return d(),await m()}return o.watch(l,w=>{w?f():d()},{immediate:!0}),o.watch(r,()=>{u.value&&s.value&&p()},{immediate:!0}),b.tryOnScopeDispose(()=>{y()}),{isSupported:a,stream:s,start:m,stop:y,restart:p,constraints:r,enabled:l,autoSwitch:u}}function vt(e,t,n,l={}){var u,r,i;const{clone:a=!1,passive:s=!1,eventName:c,deep:f=!1,defaultValue:d,shouldEmit:y}=l,m=o.getCurrentInstance(),p=n||m?.emit||((u=m?.$emit)==null?void 0:u.bind(m))||((i=(r=m?.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(m?.proxy));let w=c;t||(t="modelValue"),w=w||`update:${t.toString()}`;const v=S=>a?typeof a=="function"?a(S):ee(S):S,g=()=>b.isDef(e[t])?v(e[t]):d,h=S=>{y?y(S)&&p(w,S):p(w,S)};if(s){const S=g(),O=o.ref(S);let _=!1;return o.watch(()=>e[t],C=>{_||(_=!0,O.value=v(C),o.nextTick(()=>_=!1))}),o.watch(O,C=>{!_&&(C!==e[t]||f)&&h(C)},{deep:f}),O}else return o.computed({get(){return g()},set(S){h(S)}})}function Sl(e,t,n={}){const l={};for(const u in e)l[u]=vt(e,u,t,n);return l}function El(e){const{pattern:t=[],interval:n=0,navigator:l=z}=e||{},u=W(()=>typeof l<"u"&&"vibrate"in l),r=b.toRef(t);let i;const a=(c=r.value)=>{u.value&&l.vibrate(c)},s=()=>{u.value&&l.vibrate(0),i?.pause()};return n>0&&(i=b.useIntervalFn(a,n,{immediate:!1,immediateCallback:!1})),{isSupported:u,pattern:t,intervalControls:i,vibrate:a,stop:s}}function Tl(e,t){const{containerStyle:n,wrapperProps:l,scrollTo:u,calculateRange:r,currentList:i,containerRef:a}="itemHeight"in t?_l(t,e):kl(t,e);return{list:i,scrollTo:u,containerProps:{ref:a,onScroll:()=>{r()},style:n},wrapperProps:l}}function pt(e){const t=o.ref(null),n=qe(t),l=o.ref([]),u=o.shallowRef(e);return{state:o.ref({start:0,end:10}),source:u,currentList:l,size:n,containerRef:t}}function yt(e,t,n){return l=>{if(typeof n=="number")return Math.ceil(l/n);const{start:u=0}=e.value;let r=0,i=0;for(let a=u;a<t.value.length;a++){const s=n(a);if(r+=s,i=a,r>l)break}return i-u}}function ht(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let l=0,u=0;for(let r=0;r<e.value.length;r++){const i=t(r);if(l+=i,l>=n){u=r;break}}return u+1}}function gt(e,t,n,l,{containerRef:u,state:r,currentList:i,source:a}){return()=>{const s=u.value;if(s){const c=n(e==="vertical"?s.scrollTop:s.scrollLeft),f=l(e==="vertical"?s.clientHeight:s.clientWidth),d=c-t,y=c+f+t;r.value={start:d<0?0:d,end:y>a.value.length?a.value.length:y},i.value=a.value.slice(r.value.start,r.value.end).map((m,p)=>({data:m,index:p+r.value.start}))}}}function wt(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((u,r,i)=>u+e(i),0)}function bt(e,t,n,l){o.watch([e.width,e.height,t,n],()=>{l()})}function St(e,t){return o.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,l,u)=>n+e(u),0))}const Ol={horizontal:"scrollLeft",vertical:"scrollTop"};function Et(e,t,n,l){return u=>{l.value&&(l.value[Ol[e]]=n(u),t())}}function kl(e,t){const n=pt(t),{state:l,source:u,currentList:r,size:i,containerRef:a}=n,s={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,d=yt(l,u,c),y=ht(u,c),m=gt("horizontal",f,y,d,n),p=wt(c,u),w=o.computed(()=>p(l.value.start)),v=St(c,u);bt(i,t,a,m);const g=Et("horizontal",m,p,a),h=o.computed(()=>({style:{height:"100%",width:`${v.value-w.value}px`,marginLeft:`${w.value}px`,display:"flex"}}));return{scrollTo:g,calculateRange:m,wrapperProps:h,containerStyle:s,currentList:r,containerRef:a}}function _l(e,t){const n=pt(t),{state:l,source:u,currentList:r,size:i,containerRef:a}=n,s={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,d=yt(l,u,c),y=ht(u,c),m=gt("vertical",f,y,d,n),p=wt(c,u),w=o.computed(()=>p(l.value.start)),v=St(c,u);bt(i,t,a,m);const g=Et("vertical",m,p,a),h=o.computed(()=>({style:{width:"100%",height:`${v.value-w.value}px`,marginTop:`${w.value}px`}}));return{calculateRange:m,scrollTo:g,containerStyle:s,wrapperProps:h,currentList:r,containerRef:a}}function Rl(e={}){const{navigator:t=z,document:n=B}=e,l=o.ref(!1),u=o.shallowRef(null),r=ze({document:n}),i=W(()=>t&&"wakeLock"in t),a=o.computed(()=>!!u.value&&r.value==="visible");i.value&&(k(u,"release",()=>{var d,y;l.value=(y=(d=u.value)==null?void 0:d.type)!=null?y:!1}),b.whenever(()=>r.value==="visible"&&n?.visibilityState==="visible"&&l.value,d=>{l.value=!1,s(d)}));async function s(d){var y;await((y=u.value)==null?void 0:y.release()),u.value=i.value?await t.wakeLock.request(d):null}async function c(d){r.value==="visible"?await s(d):l.value=d}async function f(){l.value=!1;const d=u.value;u.value=null,await d?.release()}return{sentinel:u,isSupported:i,isActive:a,request:c,forceRequest:s,release:f}}function Vl(e={}){const{window:t=I,requestPermissions:n=!0}=e,l=e,u=W(()=>{if(!t||!("Notification"in t))return!1;if(Notification.permission==="granted")return!0;try{const h=new Notification("");h.onshow=()=>{h.close()}}catch(h){if(h.name==="TypeError")return!1}return!0}),r=o.ref(u.value&&"permission"in Notification&&Notification.permission==="granted"),i=o.ref(null),a=async()=>{if(u.value)return!r.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(r.value=!0),r.value},{on:s,trigger:c}=b.createEventHook(),{on:f,trigger:d}=b.createEventHook(),{on:y,trigger:m}=b.createEventHook(),{on:p,trigger:w}=b.createEventHook(),v=async h=>{if(!u.value||!r.value)return;const S=Object.assign({},l,h);return i.value=new Notification(S.title||"",S),i.value.onclick=c,i.value.onshow=d,i.value.onerror=m,i.value.onclose=w,i.value},g=()=>{i.value&&i.value.close(),i.value=null};if(n&&b.tryOnMounted(a),b.tryOnScopeDispose(g),u.value&&t){const h=t.document;k(h,"visibilitychange",S=>{S.preventDefault(),h.visibilityState==="visible"&&g()})}return{isSupported:u,notification:i,ensurePermissions:a,permissionGranted:r,show:v,close:g,onClick:s,onShow:f,onError:y,onClose:p}}const Tt="ping";function Pe(e){return e===!0?{}:e}function Pl(e,t={}){const{onConnected:n,onDisconnected:l,onError:u,onMessage:r,immediate:i=!0,autoConnect:a=!0,autoClose:s=!0,protocols:c=[]}=t,f=o.ref(null),d=o.ref("CLOSED"),y=o.ref(),m=b.toRef(e);let p,w,v=!1,g=0,h=[],S,O;const _=()=>{if(h.length&&y.value&&d.value==="OPEN"){for(const P of h)y.value.send(P);h=[]}},C=()=>{S!=null&&(clearTimeout(S),S=void 0)},T=()=>{clearTimeout(O),O=void 0},V=(P=1e3,A)=>{C(),!(!b.isClient&&!b.isWorker||!y.value)&&(v=!0,T(),p?.(),y.value.close(P,A),y.value=void 0)},D=(P,A=!0)=>!y.value||d.value!=="OPEN"?(A&&h.push(P),!1):(_(),y.value.send(P),!0),F=()=>{if(v||typeof m.value>"u")return;const P=new WebSocket(m.value,c);y.value=P,d.value="CONNECTING",P.onopen=()=>{d.value="OPEN",g=0,n?.(P),w?.(),_()},P.onclose=A=>{if(d.value="CLOSED",l?.(P,A),!v&&t.autoReconnect&&(y.value==null||P===y.value)){const{retries:L=-1,delay:H=1e3,onFailed:M}=Pe(t.autoReconnect);typeof L=="number"&&(L<0||g<L)?(g+=1,S=setTimeout(F,H)):typeof L=="function"&&L()?S=setTimeout(F,H):M?.()}},P.onerror=A=>{u?.(P,A)},P.onmessage=A=>{if(t.heartbeat){T();const{message:L=Tt,responseMessage:H=L}=Pe(t.heartbeat);if(A.data===o.toValue(H))return}f.value=A.data,r?.(P,A)}};if(t.heartbeat){const{message:P=Tt,interval:A=1e3,pongTimeout:L=1e3}=Pe(t.heartbeat),{pause:H,resume:M}=b.useIntervalFn(()=>{D(o.toValue(P),!1),O==null&&(O=setTimeout(()=>{V(),v=!1},L))},A,{immediate:!1});p=H,w=M}s&&(b.isClient&&k("beforeunload",()=>V()),b.tryOnScopeDispose(V));const R=()=>{!b.isClient&&!b.isWorker||(V(),v=!1,g=0,F())};return i&&R(),a&&o.watch(m,R),{data:f,status:d,close:V,send:D,open:R,ws:y}}function Fl(e,t,n){const{window:l=I}=n??{},u=o.ref(null),r=o.shallowRef(),i=(...s)=>{r.value&&r.value.postMessage(...s)},a=function(){r.value&&r.value.terminate()};return l&&(typeof e=="string"?r.value=new Worker(e,t):typeof e=="function"?r.value=e():r.value=e,r.value.onmessage=s=>{u.value=s.data},b.tryOnScopeDispose(()=>{r.value&&r.value.terminate()})),{data:u,post:i,terminate:a,worker:r}}function Dl(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(r=>`'${r}'`).toString(),l=t.filter(r=>typeof r=="function").map(r=>{const i=r.toString();return i.trim().startsWith("function")?i:`const ${r.name} = ${i}`}).join(";"),u=`importScripts(${n});`;return`${n.trim()===""?"":u} ${l}`}function Cl(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(l=>{postMessage(["SUCCESS",l])}).catch(l=>{postMessage(["ERROR",l])})}}function Al(e,t,n){const l=`${Dl(t,n)}; onmessage=(${Cl})(${e})`,u=new Blob([l],{type:"text/javascript"});return URL.createObjectURL(u)}function Ml(e,t={}){const{dependencies:n=[],localDependencies:l=[],timeout:u,window:r=I}=t,i=o.ref(),a=o.ref("PENDING"),s=o.ref({}),c=o.ref(),f=(p="PENDING")=>{i.value&&i.value._url&&r&&(i.value.terminate(),URL.revokeObjectURL(i.value._url),s.value={},i.value=void 0,r.clearTimeout(c.value),a.value=p)};f(),b.tryOnScopeDispose(f);const d=()=>{const p=Al(e,n,l),w=new Worker(p);return w._url=p,w.onmessage=v=>{const{resolve:g=()=>{},reject:h=()=>{}}=s.value,[S,O]=v.data;switch(S){case"SUCCESS":g(O),f(S);break;default:h(O),f("ERROR");break}},w.onerror=v=>{const{reject:g=()=>{}}=s.value;v.preventDefault(),g(v),f("ERROR")},u&&(c.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),u)),w},y=(...p)=>new Promise((w,v)=>{var g;s.value={resolve:w,reject:v},(g=i.value)==null||g.postMessage([[...p]]),a.value="RUNNING"});return{workerFn:(...p)=>a.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(i.value=d(),y(...p)),workerStatus:a,workerTerminate:f}}function Il(e={}){const{window:t=I}=e;if(!t)return o.ref(!1);const n=o.ref(t.document.hasFocus());return k(t,"blur",()=>{n.value=!1}),k(t,"focus",()=>{n.value=!0}),n}function Ll(e={}){const{window:t=I,...n}=e;return Oe(t,n)}function Nl(e={}){const{window:t=I,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:u=!0,includeScrollbar:r=!0,type:i="inner"}=e,a=o.ref(n),s=o.ref(l),c=()=>{if(t)if(i==="outer")a.value=t.outerWidth,s.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:f,height:d,scale:y}=t.visualViewport;a.value=Math.round(f*y),s.value=Math.round(d*y)}else r?(a.value=t.innerWidth,s.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight)};if(c(),b.tryOnMounted(c),k("resize",c,{passive:!0}),t&&i==="visual"&&t.visualViewport&&k(t.visualViewport,"resize",c,{passive:!0}),u){const f=j("(orientation: portrait)");o.watch(f,()=>c())}return{width:a,height:s}}E.DefaultMagicKeysAliasMap=Qe,E.StorageSerializers=Se,E.TransitionPresets=yl,E.asyncComputed=Fe,E.breakpointsAntDesign=nn,E.breakpointsBootstrapV5=Zt,E.breakpointsElement=un,E.breakpointsMasterCss=rn,E.breakpointsPrimeFlex=an,E.breakpointsQuasar=on,E.breakpointsSematic=ln,E.breakpointsTailwind=Qt,E.breakpointsVuetify=tn,E.breakpointsVuetifyV2=Ie,E.breakpointsVuetifyV3=en,E.cloneFnJSON=ee,E.computedAsync=Fe,E.computedInject=kt,E.createFetch=Bn,E.createReusableTemplate=_t,E.createTemplatePromise=Vt,E.createUnrefFn=Pt,E.customStorageEventName=Ee,E.defaultDocument=B,E.defaultLocation=Ft,E.defaultNavigator=z,E.defaultWindow=I,E.executeTransition=mt,E.formatTimeAgo=ft,E.getSSRHandler=ce,E.mapGamepadToXbox360Controller=to,E.onClickOutside=Dt,E.onElementRemoval=he,E.onKeyDown=At,E.onKeyPressed=Mt,E.onKeyStroke=ae,E.onKeyUp=It,E.onLongPress=xt,E.onStartTyping=Ut,E.provideSSRWidth=Jt,E.setSSRHandler=hn,E.templateRef=$t,E.unrefElement=N,E.useActiveElement=Ae,E.useAnimate=Bt,E.useAsyncQueue=jt,E.useAsyncState=Me,E.useBase64=Gt,E.useBattery=Xt,E.useBluetooth=Kt,E.useBreakpoints=sn,E.useBroadcastChannel=cn,E.useBrowserLocation=fn,E.useCached=dn,E.useClipboard=mn,E.useClipboardItems=vn,E.useCloned=pn,E.useColorMode=He,E.useConfirmDialog=wn,E.useCssVar=te,E.useCurrentElement=Ue,E.useCycleList=bn,E.useDark=Sn,E.useDebouncedRefHistory=kn,E.useDeviceMotion=_n,E.useDeviceOrientation=je,E.useDevicePixelRatio=Rn,E.useDevicesList=Vn,E.useDisplayMedia=Pn,E.useDocumentVisibility=ze,E.useDraggable=Fn,E.useDropZone=Dn,E.useElementBounding=Cn,E.useElementByPoint=An,E.useElementHover=Mn,E.useElementSize=qe,E.useElementVisibility=Ye,E.useEventBus=In,E.useEventListener=k,E.useEventSource=Nn,E.useEyeDropper=xn,E.useFavicon=Wn,E.useFetch=Xe,E.useFileDialog=qn,E.useFileSystemAccess=Gn,E.useFocus=Yn,E.useFocusWithin=Qn,E.useFps=Zn,E.useFullscreen=eo,E.useGamepad=no,E.useGeolocation=oo,E.useIdle=ao,E.useImage=uo,E.useInfiniteScroll=so,E.useIntersectionObserver=Ge,E.useKeyModifier=fo,E.useLocalStorage=mo,E.useMagicKeys=vo,E.useManualRefHistory=Be,E.useMediaControls=ho,E.useMediaQuery=j,E.useMemoize=go,E.useMemory=wo,E.useMounted=Ce,E.useMouse=Ze,E.useMouseInElement=et,E.useMousePressed=So,E.useMutationObserver=K,E.useNavigatorLanguage=Eo,E.useNetwork=tt,E.useNow=nt,E.useObjectUrl=To,E.useOffsetPagination=Oo,E.useOnline=ko,E.usePageLeave=_o,E.useParallax=Ro,E.useParentElement=Vo,E.usePerformanceObserver=Po,E.usePermission=ie,E.usePointer=Do,E.usePointerLock=Co,E.usePointerSwipe=Ao,E.usePreferredColorScheme=Mo,E.usePreferredContrast=Io,E.usePreferredDark=xe,E.usePreferredLanguages=Lo,E.usePreferredReducedMotion=No,E.usePreferredReducedTransparency=xo,E.usePrevious=Wo,E.useRafFn=G,E.useRefHistory=Te,E.useResizeObserver=de,E.useSSRWidth=be,E.useScreenOrientation=lt,E.useScreenSafeArea=Ho,E.useScriptTag=Uo,E.useScroll=Oe,E.useScrollLock=Bo,E.useSessionStorage=jo,E.useShare=zo,E.useSorted=Go,E.useSpeechRecognition=Yo,E.useSpeechSynthesis=Xo,E.useStepper=Ko,E.useStorage=fe,E.useStorageAsync=Jo,E.useStyleTag=Zo,E.useSupported=W,E.useSwipe=el,E.useTemplateRefsList=nl,E.useTextDirection=ol,E.useTextSelection=rl,E.useTextareaAutosize=al,E.useThrottledRefHistory=il,E.useTimeAgo=fl,E.useTimeoutPoll=dl,E.useTimestamp=ml,E.useTitle=vl,E.useTransition=gl,E.useUrlSearchParams=wl,E.useUserMedia=bl,E.useVModel=vt,E.useVModels=Sl,E.useVibrate=El,E.useVirtualList=Tl,E.useWakeLock=Rl,E.useWebNotification=Vl,E.useWebSocket=Pl,E.useWebWorker=Fl,E.useWebWorkerFn=Ml,E.useWindowFocus=Il,E.useWindowScroll=Ll,E.useWindowSize=Nl,Object.keys(b).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e)&&Object.defineProperty(E,e,{enumerable:!0,get:function(){return b[e]}})})})(this.VueUse=this.VueUse||{},VueUse,Vue);
|
1
|
+
(function(E,v,a){"use strict";function Ve(e,t,n){let o;a.isRef(n)?o={evaluating:n}:o=n||{};const{lazy:u=!1,evaluating:l=void 0,shallow:i=!0,onError:r=v.noop}=o,s=a.ref(!u),c=i?a.shallowRef(t):a.ref(t);let f=0;return a.watchEffect(async d=>{if(!s.value)return;f++;const g=f;let m=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const p=await e(y=>{d(()=>{l&&(l.value=!1),m||y()})});g===f&&(c.value=p)}catch(p){r(p)}finally{l&&g===f&&(l.value=!1),m=!0}}),u?a.computed(()=>(s.value=!0,c.value)):c}function kt(e,t,n,o){let u=a.inject(e);return n&&(u=a.inject(e,n)),o&&(u=a.inject(e,n,o)),typeof t=="function"?a.computed(l=>t(u,l)):a.computed({get:l=>t.get(u,l),set:t.set})}function Ot(e={}){const{inheritAttrs:t=!0}=e,n=a.shallowRef(),o=a.defineComponent({setup(l,{slots:i}){return()=>{n.value=i.default}}}),u=a.defineComponent({inheritAttrs:t,setup(l,{attrs:i,slots:r}){return()=>{var s;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const c=(s=n.value)==null?void 0:s.call(n,{..._t(i),$slots:r});return t&&c?.length===1?c[0]:c}}});return v.makeDestructurable({define:o,reuse:u},[o,u])}function _t(e){const t={};for(const n in e)t[v.camelize(n)]=e[n];return t}function Rt(e={}){let t=0;const n=a.ref([]);function o(...i){const r=a.shallowReactive({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(r),r.promise=new Promise((s,c)=>{r.resolve=f=>(r.isResolving=!0,s(f)),r.reject=c}).finally(()=>{r.promise=void 0;const s=n.value.indexOf(r);s!==-1&&n.value.splice(s,1)}),r.promise}function u(...i){return e.singleton&&n.value.length>0?n.value[0].promise:o(...i)}const l=a.defineComponent((i,{slots:r})=>{const s=()=>n.value.map(c=>{var f;return a.h(a.Fragment,{key:c.key},(f=r.default)==null?void 0:f.call(r,c))});return e.transition?()=>a.h(a.TransitionGroup,e.transition,s):s});return l.start=u,l}function Vt(e){return function(...t){return e.apply(this,t.map(n=>v.toValue(n)))}}const I=v.isClient?window:void 0,B=v.isClient?window.document:void 0,z=v.isClient?window.navigator:void 0,Ft=v.isClient?window.location:void 0;function x(e){var t;const n=v.toValue(e);return(t=n?.$el)!=null?t:n}function O(...e){let t,n,o,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,u]=e,t=I):[t,n,o,u]=e,!t)return v.noop;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const l=[],i=()=>{l.forEach(f=>f()),l.length=0},r=(f,d,g,m)=>(f.addEventListener(d,g,m),()=>f.removeEventListener(d,g,m)),s=a.watch(()=>[x(t),v.toValue(u)],([f,d])=>{if(i(),!f)return;const g=v.isObject(d)?{...d}:d;l.push(...n.flatMap(m=>o.map(p=>r(f,m,p,g))))},{immediate:!0,flush:"post"}),c=()=>{s(),i()};return v.tryOnScopeDispose(c),c}let Fe=!1;function Pt(e,t,n={}){const{window:o=I,ignore:u=[],capture:l=!0,detectIframe:i=!1}=n;if(!o)return v.noop;v.isIOS&&!Fe&&(Fe=!0,Array.from(o.document.body.children).forEach(y=>y.addEventListener("click",v.noop)),o.document.documentElement.addEventListener("click",v.noop));let r=!0;const s=y=>v.toValue(u).some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(b=>b===y.target||y.composedPath().includes(b));{const b=x(h);return b&&(y.target===b||y.composedPath().includes(b))}});function c(y){const h=v.toValue(y);return h&&h.$.subTree.shapeFlag===16}function f(y,h){const b=v.toValue(y),w=b.$.subTree&&b.$.subTree.children;return w==null||!Array.isArray(w)?!1:w.some(S=>S.el===h.target||h.composedPath().includes(S.el))}const d=y=>{const h=x(e);if(y.target!=null&&!(!(h instanceof Element)&&c(e)&&f(e,y))&&!(!h||h===y.target||y.composedPath().includes(h))){if(y.detail===0&&(r=!s(y)),!r){r=!0;return}t(y)}};let g=!1;const m=[O(o,"click",y=>{g||(g=!0,setTimeout(()=>{g=!1},0),d(y))},{passive:!0,capture:l}),O(o,"pointerdown",y=>{const h=x(e);r=!s(y)&&!!(h&&!y.composedPath().includes(h))},{passive:!0}),i&&O(o,"blur",y=>{setTimeout(()=>{var h;const b=x(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!b?.contains(o.document.activeElement)&&t(y)},0)})].filter(Boolean);return()=>m.forEach(y=>y())}function Dt(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ae(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:u=I,eventName:l="keydown",passive:i=!1,dedupe:r=!1}=o,s=Dt(t);return O(u,l,f=>{f.repeat&&v.toValue(r)||s(f)&&n(f)},i)}function Ct(e,t,n={}){return ae(e,t,{...n,eventName:"keydown"})}function At(e,t,n={}){return ae(e,t,{...n,eventName:"keypress"})}function Mt(e,t,n={}){return ae(e,t,{...n,eventName:"keyup"})}const It=500,Lt=10;function Nt(e,t,n){var o,u;const l=a.computed(()=>x(e));let i,r,s,c=!1;function f(){i&&(clearTimeout(i),i=void 0),r=void 0,s=void 0,c=!1}function d(b){var w,S,T;const[_,C,k]=[s,r,c];if(f(),!n?.onMouseUp||!C||!_||(w=n?.modifiers)!=null&&w.self&&b.target!==l.value)return;(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation();const V=b.x-C.x,D=b.y-C.y,P=Math.sqrt(V*V+D*D);n.onMouseUp(b.timeStamp-_,P,k)}function g(b){var w,S,T,_;(w=n?.modifiers)!=null&&w.self&&b.target!==l.value||(f(),(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation(),r={x:b.x,y:b.y},s=b.timeStamp,i=setTimeout(()=>{c=!0,t(b)},(_=n?.delay)!=null?_:It))}function m(b){var w,S,T,_;if((w=n?.modifiers)!=null&&w.self&&b.target!==l.value||!r||n?.distanceThreshold===!1)return;(S=n?.modifiers)!=null&&S.prevent&&b.preventDefault(),(T=n?.modifiers)!=null&&T.stop&&b.stopPropagation();const C=b.x-r.x,k=b.y-r.y;Math.sqrt(C*C+k*k)>=((_=n?.distanceThreshold)!=null?_:Lt)&&f()}const p={capture:(o=n?.modifiers)==null?void 0:o.capture,once:(u=n?.modifiers)==null?void 0:u.once},y=[O(l,"pointerdown",g,p),O(l,"pointermove",m,p),O(l,["pointerup","pointerleave"],d,p)];return()=>y.forEach(b=>b())}function xt(){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")}function Wt({keyCode:e,metaKey:t,ctrlKey:n,altKey:o}){return t||n||o?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Ht(e,t={}){const{document:n=B}=t;n&&O(n,"keydown",u=>{!xt()&&Wt(u)&&e(u)},{passive:!0})}function Ut(e,t=null){const n=a.getCurrentInstance();let o=()=>{};const u=a.customRef((l,i)=>(o=i,{get(){var r,s;return l(),(s=(r=n?.proxy)==null?void 0:r.$refs[e])!=null?s:t},set(){}}));return v.tryOnMounted(o),a.onUpdated(o),u}function Pe(){const e=a.ref(!1),t=a.getCurrentInstance();return t&&a.onMounted(()=>{e.value=!0},t),e}function W(e){const t=Pe();return a.computed(()=>(t.value,!!e()))}function K(e,t,n={}){const{window:o=I,...u}=n;let l;const i=W(()=>o&&"MutationObserver"in o),r=()=>{l&&(l.disconnect(),l=void 0)},s=a.computed(()=>{const g=v.toValue(e),m=(Array.isArray(g)?g:[g]).map(x).filter(v.notNullish);return new Set(m)}),c=a.watch(()=>s.value,g=>{r(),i.value&&g.size&&(l=new MutationObserver(t),g.forEach(m=>l.observe(m,u)))},{immediate:!0,flush:"post"}),f=()=>l?.takeRecords(),d=()=>{c(),r()};return v.tryOnScopeDispose(d),{isSupported:i,stop:d,takeRecords:f}}function De(e={}){var t;const{window:n=I,deep:o=!0,triggerOnRemoval:u=!1}=e,l=(t=e.document)!=null?t:n?.document,i=()=>{var c;let f=l?.activeElement;if(o)for(;f?.shadowRoot;)f=(c=f?.shadowRoot)==null?void 0:c.activeElement;return f},r=a.ref(),s=()=>{r.value=i()};return n&&(O(n,"blur",c=>{c.relatedTarget===null&&s()},!0),O(n,"focus",s,!0)),u&&K(l,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===r.value&&s()})},{childList:!0,subtree:!0}),s(),r}function G(e,t={}){const{immediate:n=!0,fpsLimit:o=void 0,window:u=I}=t,l=a.ref(!1),i=a.computed(()=>o?1e3/a.toValue(o):null);let r=0,s=null;function c(g){if(!l.value||!u)return;r||(r=g);const m=g-r;if(i.value&&m<i.value){s=u.requestAnimationFrame(c);return}r=g,e({delta:m,timestamp:g}),s=u.requestAnimationFrame(c)}function f(){!l.value&&u&&(l.value=!0,r=0,s=u.requestAnimationFrame(c))}function d(){l.value=!1,s!=null&&u&&(u.cancelAnimationFrame(s),s=null)}return n&&f(),v.tryOnScopeDispose(d),{isActive:a.readonly(l),pause:d,resume:f}}function $t(e,t,n){let o,u;v.isObject(n)?(o=n,u=v.objectOmit(n,["window","immediate","commitStyles","persist","onReady","onError"])):(o={duration:n},u=n);const{window:l=I,immediate:i=!0,commitStyles:r,persist:s,playbackRate:c=1,onReady:f,onError:d=M=>{console.error(M)}}=o,g=W(()=>l&&HTMLElement&&"animate"in HTMLElement.prototype),m=a.shallowRef(void 0),p=a.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:c,pending:!1,playState:i?"idle":"paused",replaceState:"active"}),y=a.computed(()=>p.pending),h=a.computed(()=>p.playState),b=a.computed(()=>p.replaceState),w=a.computed({get(){return p.startTime},set(M){p.startTime=M,m.value&&(m.value.startTime=M)}}),S=a.computed({get(){return p.currentTime},set(M){p.currentTime=M,m.value&&(m.value.currentTime=M,L())}}),T=a.computed({get(){return p.timeline},set(M){p.timeline=M,m.value&&(m.value.timeline=M)}}),_=a.computed({get(){return p.playbackRate},set(M){p.playbackRate=M,m.value&&(m.value.playbackRate=M)}}),C=()=>{if(m.value)try{m.value.play(),L()}catch(M){H(),d(M)}else R()},k=()=>{var M;try{(M=m.value)==null||M.pause(),H()}catch(N){d(N)}},V=()=>{var M;m.value||R();try{(M=m.value)==null||M.reverse(),L()}catch(N){H(),d(N)}},D=()=>{var M;try{(M=m.value)==null||M.finish(),H()}catch(N){d(N)}},P=()=>{var M;try{(M=m.value)==null||M.cancel(),H()}catch(N){d(N)}};a.watch(()=>x(e),M=>{M&&R()}),a.watch(()=>t,M=>{m.value&&R(),!x(e)&&m.value&&(m.value.effect=new KeyframeEffect(x(e),v.toValue(M),u))},{deep:!0}),v.tryOnMounted(()=>R(!0),!1),v.tryOnScopeDispose(P);function R(M){const N=x(e);!g.value||!N||(m.value||(m.value=N.animate(v.toValue(t),u)),s&&m.value.persist(),c!==1&&(m.value.playbackRate=c),M&&!i?m.value.pause():L(),f?.(m.value))}O(m,["cancel","finish","remove"],H),O(m,"finish",()=>{var M;r&&((M=m.value)==null||M.commitStyles())});const{resume:F,pause:A}=G(()=>{m.value&&(p.pending=m.value.pending,p.playState=m.value.playState,p.replaceState=m.value.replaceState,p.startTime=m.value.startTime,p.currentTime=m.value.currentTime,p.timeline=m.value.timeline,p.playbackRate=m.value.playbackRate)},{immediate:!1});function L(){g.value&&F()}function H(){g.value&&l&&l.requestAnimationFrame(A)}return{isSupported:g,animate:m,play:C,pause:k,reverse:V,finish:D,cancel:P,pending:y,playState:h,replaceState:b,startTime:w,currentTime:S,timeline:T,playbackRate:_}}function Bt(e,t){const{interrupt:n=!0,onError:o=v.noop,onFinished:u=v.noop,signal:l}=t||{},i={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},r=Array.from(Array.from({length:e.length}),()=>({state:i.pending,data:null})),s=a.reactive(r),c=a.ref(-1);if(!e||e.length===0)return u(),{activeIndex:c,result:s};function f(d,g){c.value++,s[c.value].data=g,s[c.value].state=d}return e.reduce((d,g)=>d.then(m=>{var p;if(l?.aborted){f(i.aborted,new Error("aborted"));return}if(((p=s[c.value])==null?void 0:p.state)===i.rejected&&n){u();return}const y=g(m).then(h=>(f(i.fulfilled,h),c.value===e.length-1&&u(),h));return l?Promise.race([y,jt(l)]):y}).catch(m=>l?.aborted?(f(i.aborted,m),m):(f(i.rejected,m),o(),m)),Promise.resolve()),{activeIndex:c,result:s}}function jt(e){return new Promise((t,n)=>{const o=new Error("aborted");e.aborted?n(o):e.addEventListener("abort",()=>n(o),{once:!0})})}function Ce(e,t,n){const{immediate:o=!0,delay:u=0,onError:l=v.noop,onSuccess:i=v.noop,resetOnExecute:r=!0,shallow:s=!0,throwError:c}=n??{},f=s?a.shallowRef(t):a.ref(t),d=a.ref(!1),g=a.ref(!1),m=a.shallowRef(void 0);async function p(b=0,...w){r&&(f.value=t),m.value=void 0,d.value=!1,g.value=!0,b>0&&await v.promiseTimeout(b);const S=typeof e=="function"?e(...w):e;try{const T=await S;f.value=T,d.value=!0,i(T)}catch(T){if(m.value=T,l(T),c)throw T}finally{g.value=!1}return f.value}o&&p(u);const y={state:f,isReady:d,isLoading:g,error:m,execute:p};function h(){return new Promise((b,w)=>{v.until(g).toBe(!1).then(()=>b(y)).catch(w)})}return{...y,then(b,w){return h().then(b,w)}}}const Z={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 zt(e){return e?e instanceof Map?Z.map:e instanceof Set?Z.set:Array.isArray(e)?Z.array:Z.object:Z.null}function qt(e,t){const n=a.ref(""),o=a.ref();function u(){if(v.isClient)return o.value=new Promise((l,i)=>{try{const r=v.toValue(e);if(r==null)l("");else if(typeof r=="string")l(ge(new Blob([r],{type:"text/plain"})));else if(r instanceof Blob)l(ge(r));else if(r instanceof ArrayBuffer)l(window.btoa(String.fromCharCode(...new Uint8Array(r))));else if(r instanceof HTMLCanvasElement)l(r.toDataURL(t?.type,t?.quality));else if(r instanceof HTMLImageElement){const s=r.cloneNode(!1);s.crossOrigin="Anonymous",Gt(s).then(()=>{const c=document.createElement("canvas"),f=c.getContext("2d");c.width=s.width,c.height=s.height,f.drawImage(s,0,0,c.width,c.height),l(c.toDataURL(t?.type,t?.quality))}).catch(i)}else if(typeof r=="object"){const c=(t?.serializer||zt(r))(r);return l(ge(new Blob([c],{type:"application/json"})))}else i(new Error("target is unsupported types"))}catch(r){i(r)}}),o.value.then(l=>{n.value=t?.dataUrl===!1?l.replace(/^data:.*?;base64,/,""):l}),o.value}return a.isRef(e)||typeof e=="function"?a.watch(e,u,{immediate:!0}):u(),{base64:n,promise:o,execute:u}}function Gt(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function ge(e){return new Promise((t,n)=>{const o=new FileReader;o.onload=u=>{t(u.target.result)},o.onerror=n,o.readAsDataURL(e)})}function Yt(e={}){const{navigator:t=z}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],o=W(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),u=a.ref(!1),l=a.ref(0),i=a.ref(0),r=a.ref(1);let s;function c(){u.value=this.charging,l.value=this.chargingTime||0,i.value=this.dischargingTime||0,r.value=this.level}return o.value&&t.getBattery().then(f=>{s=f,c.call(s),O(s,n,c,{passive:!0})}),{isSupported:o,charging:u,chargingTime:l,dischargingTime:i,level:r}}function Xt(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:o=void 0,navigator:u=z}=e||{},l=W(()=>u&&"bluetooth"in u),i=a.shallowRef(void 0),r=a.shallowRef(null);a.watch(i,()=>{d()});async function s(){if(l.value){r.value=null,n&&n.length>0&&(t=!1);try{i.value=await u?.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:o})}catch(g){r.value=g}}}const c=a.ref(),f=a.computed(()=>{var g;return((g=c.value)==null?void 0:g.connected)||!1});async function d(){if(r.value=null,i.value&&i.value.gatt){i.value.addEventListener("gattserverdisconnected",()=>{});try{c.value=await i.value.gatt.connect()}catch(g){r.value=g}}}return v.tryOnMounted(()=>{var g;i.value&&((g=i.value.gatt)==null||g.connect())}),v.tryOnScopeDispose(()=>{var g;i.value&&((g=i.value.gatt)==null||g.disconnect())}),{isSupported:l,isConnected:f,device:i,requestDevice:s,server:c,error:r}}const he=Symbol("vueuse-ssr-width");function we(){const e=a.hasInjectionContext()?v.injectLocal(he,null):null;return typeof e=="number"?e:void 0}function Kt(e,t){t!==void 0?t.provide(he,e):v.provideLocal(he,e)}function j(e,t={}){const{window:n=I,ssrWidth:o=we()}=t,u=W(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=a.ref(typeof o=="number");let i;const r=a.ref(!1),s=d=>{r.value=d.matches},c=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},f=a.watchEffect(()=>{if(l.value){l.value=!u.value;const d=v.toValue(e).split(",");r.value=d.some(g=>{const m=g.includes("not all"),p=g.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=g.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(p||y);return p&&h&&(h=o>=v.pxValue(p[1])),y&&h&&(h=o<=v.pxValue(y[1])),m?!h:h});return}u.value&&(c(),i=n.matchMedia(v.toValue(e)),"addEventListener"in i?i.addEventListener("change",s):i.addListener(s),r.value=i.matches)});return v.tryOnScopeDispose(()=>{f(),c(),i=void 0}),a.computed(()=>r.value)}const Jt={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Qt={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Ae={xs:0,sm:600,md:960,lg:1264,xl:1904},Zt={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},en=Ae,tn={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},nn={xs:0,sm:600,md:1024,lg:1440,xl:1920},on={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},ln={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},rn={sm:576,md:768,lg:992,xl:1200},an={xs:0,sm:768,md:992,lg:1200,xl:1920};function un(e,t={}){function n(m,p){let y=v.toValue(e[v.toValue(m)]);return p!=null&&(y=v.increaseWithUnit(y,p)),typeof y=="number"&&(y=`${y}px`),y}const{window:o=I,strategy:u="min-width",ssrWidth:l=we()}=t,i=typeof l=="number",r=i?a.ref(!1):{value:!0};i&&v.tryOnMounted(()=>r.value=!!o);function s(m,p){return!r.value&&i?m==="min"?l>=v.pxValue(p):l<=v.pxValue(p):o?o.matchMedia(`(${m}-width: ${p})`).matches:!1}const c=m=>j(()=>`(min-width: ${n(m)})`,t),f=m=>j(()=>`(max-width: ${n(m)})`,t),d=Object.keys(e).reduce((m,p)=>(Object.defineProperty(m,p,{get:()=>u==="min-width"?c(p):f(p),enumerable:!0,configurable:!0}),m),{});function g(){const m=Object.keys(e).map(p=>[p,d[p],v.pxValue(n(p))]).sort((p,y)=>p[2]-y[2]);return a.computed(()=>m.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(d,{greaterOrEqual:c,smallerOrEqual:f,greater(m){return j(()=>`(min-width: ${n(m,.1)})`,t)},smaller(m){return j(()=>`(max-width: ${n(m,-.1)})`,t)},between(m,p){return j(()=>`(min-width: ${n(m)}) and (max-width: ${n(p,-.1)})`,t)},isGreater(m){return s("min",n(m,.1))},isGreaterOrEqual(m){return s("min",n(m))},isSmaller(m){return s("max",n(m,-.1))},isSmallerOrEqual(m){return s("max",n(m))},isInBetween(m,p){return s("min",n(m))&&s("max",n(p,-.1))},current:g,active(){const m=g();return a.computed(()=>m.value.length===0?"":m.value.at(u==="min-width"?-1:0))}})}function sn(e){const{name:t,window:n=I}=e,o=W(()=>n&&"BroadcastChannel"in n),u=a.ref(!1),l=a.ref(),i=a.ref(),r=a.shallowRef(null),s=f=>{l.value&&l.value.postMessage(f)},c=()=>{l.value&&l.value.close(),u.value=!0};return o.value&&v.tryOnMounted(()=>{r.value=null,l.value=new BroadcastChannel(t),l.value.addEventListener("message",f=>{i.value=f.data},{passive:!0}),l.value.addEventListener("messageerror",f=>{r.value=f},{passive:!0}),l.value.addEventListener("close",()=>{u.value=!0})}),v.tryOnScopeDispose(()=>{c()}),{isSupported:o,channel:l,data:i,post:s,close:c,error:r,isClosed:u}}const Me=["hash","host","hostname","href","pathname","port","protocol","search"];function cn(e={}){const{window:t=I}=e,n=Object.fromEntries(Me.map(l=>[l,a.ref()]));for(const[l,i]of v.objectEntries(n))a.watch(i,r=>{!t?.location||t.location[l]===r||(t.location[l]=r)});const o=l=>{var i;const{state:r,length:s}=t?.history||{},{origin:c}=t?.location||{};for(const f of Me)n[f].value=(i=t?.location)==null?void 0:i[f];return a.reactive({trigger:l,state:r,length:s,origin:c,...n})},u=a.ref(o("load"));return t&&(O(t,"popstate",()=>u.value=o("popstate"),{passive:!0}),O(t,"hashchange",()=>u.value=o("hashchange"),{passive:!0})),u}function fn(e,t=(o,u)=>o===u,n){const o=a.ref(e.value);return a.watch(()=>e.value,u=>{t(u,o.value)||(o.value=u)},n),o}function ie(e,t={}){const{controls:n=!1,navigator:o=z}=t,u=W(()=>o&&"permissions"in o),l=a.shallowRef(),i=typeof e=="string"?{name:e}:e,r=a.shallowRef(),s=()=>{var f,d;r.value=(d=(f=l.value)==null?void 0:f.state)!=null?d:"prompt"};O(l,"change",s);const c=v.createSingletonPromise(async()=>{if(u.value){if(!l.value)try{l.value=await o.permissions.query(i)}catch{l.value=void 0}finally{s()}if(n)return a.toRaw(l.value)}});return c(),n?{state:r,isSupported:u,query:c}:r}function dn(e={}){const{navigator:t=z,read:n=!1,source:o,copiedDuring:u=1500,legacy:l=!1}=e,i=W(()=>t&&"clipboard"in t),r=ie("clipboard-read"),s=ie("clipboard-write"),c=a.computed(()=>i.value||l),f=a.ref(""),d=a.ref(!1),g=v.useTimeoutFn(()=>d.value=!1,u);function m(){i.value&&b(r.value)?t.clipboard.readText().then(w=>{f.value=w}):f.value=h()}c.value&&n&&O(["copy","cut"],m);async function p(w=v.toValue(o)){c.value&&w!=null&&(i.value&&b(s.value)?await t.clipboard.writeText(w):y(w),f.value=w,d.value=!0,g.start())}function y(w){const S=document.createElement("textarea");S.value=w??"",S.style.position="absolute",S.style.opacity="0",document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function h(){var w,S,T;return(T=(S=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:S.toString())!=null?T:""}function b(w){return w==="granted"||w==="prompt"}return{isSupported:c,text:f,copied:d,copy:p}}function vn(e={}){const{navigator:t=z,read:n=!1,source:o,copiedDuring:u=1500}=e,l=W(()=>t&&"clipboard"in t),i=a.ref([]),r=a.ref(!1),s=v.useTimeoutFn(()=>r.value=!1,u);function c(){l.value&&t.clipboard.read().then(d=>{i.value=d})}l.value&&n&&O(["copy","cut"],c);async function f(d=v.toValue(o)){l.value&&d!=null&&(await t.clipboard.write(d),i.value=d,r.value=!0,s.start())}return{isSupported:l,content:i,copied:r,copy:f}}function ee(e){return JSON.parse(JSON.stringify(e))}function mn(e,t={}){const n=a.ref({}),{manual:o,clone:u=ee,deep:l=!0,immediate:i=!0}=t;function r(){n.value=u(v.toValue(e))}return!o&&(a.isRef(e)||typeof e=="function")?a.watch(e,r,{...t,deep:l,immediate:i}):r(),{cloned:n,sync:r}}const ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se="__vueuse_ssr_handlers__",Ie=pn();function pn(){return se in ue||(ue[se]=ue[se]||{}),ue[se]}function ce(e,t){return Ie[e]||t}function yn(e,t){Ie[e]=t}function Le(e){return j("(prefers-color-scheme: dark)",e)}function Ne(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const be={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()}},Se="vueuse-storage";function fe(e,t,n,o={}){var u;const{flush:l="pre",deep:i=!0,listenToStorageChanges:r=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:g,onError:m=P=>{console.error(P)},initOnMounted:p}=o,y=(f?a.shallowRef:a.ref)(typeof t=="function"?t():t);if(!n)try{n=ce("getDefaultStorage",()=>{var P;return(P=I)==null?void 0:P.localStorage})()}catch(P){m(P)}if(!n)return y;const h=v.toValue(t),b=Ne(h),w=(u=o.serializer)!=null?u:be[b],{pause:S,resume:T}=v.pausableWatch(y,()=>C(y.value),{flush:l,deep:i,eventFilter:g});d&&r&&v.tryOnMounted(()=>{n instanceof Storage?O(d,"storage",V):O(d,Se,D),p&&V()}),p||V();function _(P,R){if(d){const F={key:e,oldValue:P,newValue:R,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",F):new CustomEvent(Se,{detail:F}))}}function C(P){try{const R=n.getItem(e);if(P==null)_(R,null),n.removeItem(e);else{const F=w.write(P);R!==F&&(n.setItem(e,F),_(R,F))}}catch(R){m(R)}}function k(P){const R=P?P.newValue:n.getItem(e);if(R==null)return s&&h!=null&&n.setItem(e,w.write(h)),h;if(!P&&c){const F=w.read(R);return typeof c=="function"?c(F,h):b==="object"&&!Array.isArray(F)?{...h,...F}:F}else return typeof R!="string"?R:w.read(R)}function V(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){y.value=h;return}if(!(P&&P.key!==e)){S();try{P?.newValue!==w.write(y.value)&&(y.value=k(P))}catch(R){m(R)}finally{P?a.nextTick(T):T()}}}}function D(P){V(P.detail)}return y}const gn="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function xe(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:u=I,storage:l,storageKey:i="vueuse-color-scheme",listenToStorageChanges:r=!0,storageRef:s,emitAuto:c,disableTransition:f=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Le({window:u}),m=a.computed(()=>g.value?"dark":"light"),p=s||(i==null?v.toRef(o):fe(i,o,l,{window:u,listenToStorageChanges:r})),y=a.computed(()=>p.value==="auto"?m.value:p.value),h=ce("updateHTMLAttrs",(T,_,C)=>{const k=typeof T=="string"?u?.document.querySelector(T):x(T);if(!k)return;const V=new Set,D=new Set;let P=null;if(_==="class"){const F=C.split(/\s/g);Object.values(d).flatMap(A=>(A||"").split(/\s/g)).filter(Boolean).forEach(A=>{F.includes(A)?V.add(A):D.add(A)})}else P={key:_,value:C};if(V.size===0&&D.size===0&&P===null)return;let R;f&&(R=u.document.createElement("style"),R.appendChild(document.createTextNode(gn)),u.document.head.appendChild(R));for(const F of V)k.classList.add(F);for(const F of D)k.classList.remove(F);P&&k.setAttribute(P.key,P.value),f&&(u.getComputedStyle(R).opacity,document.head.removeChild(R))});function b(T){var _;h(t,n,(_=d[T])!=null?_:T)}function w(T){e.onChanged?e.onChanged(T,b):b(T)}a.watch(y,w,{flush:"post",immediate:!0}),v.tryOnMounted(()=>w(y.value));const S=a.computed({get(){return c?p.value:y.value},set(T){p.value=T}});return Object.assign(S,{store:p,system:m,state:y})}function hn(e=a.ref(!1)){const t=v.createEventHook(),n=v.createEventHook(),o=v.createEventHook();let u=v.noop;const l=s=>(o.trigger(s),e.value=!0,new Promise(c=>{u=c})),i=s=>{e.value=!1,t.trigger(s),u({data:s,isCanceled:!1})},r=s=>{e.value=!1,n.trigger(s),u({data:s,isCanceled:!0})};return{isRevealed:a.computed(()=>e.value),reveal:l,confirm:i,cancel:r,onReveal:o.on,onConfirm:t.on,onCancel:n.on}}function te(e,t,n={}){const{window:o=I,initialValue:u,observe:l=!1}=n,i=a.ref(u),r=a.computed(()=>{var c;return x(t)||((c=o?.document)==null?void 0:c.documentElement)});function s(){var c;const f=v.toValue(e),d=v.toValue(r);if(d&&o&&f){const g=(c=o.getComputedStyle(d).getPropertyValue(f))==null?void 0:c.trim();i.value=g||u}}return l&&K(r,s,{attributeFilter:["style","class"],window:o}),a.watch([r,()=>v.toValue(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),s()},{immediate:!0}),a.watch(i,c=>{var f;const d=v.toValue(e);(f=r.value)!=null&&f.style&&d&&(c==null?r.value.style.removeProperty(d):r.value.style.setProperty(d,c))}),i}function We(e){const t=a.getCurrentInstance(),n=v.computedWithControl(()=>null,()=>e?x(e):t.proxy.$el);return a.onUpdated(n.trigger),a.onMounted(n.trigger),n}function wn(e,t){const n=a.shallowRef(c()),o=v.toRef(e),u=a.computed({get(){var f;const d=o.value;let g=t?.getIndexOf?t.getIndexOf(n.value,d):d.indexOf(n.value);return g<0&&(g=(f=t?.fallbackIndex)!=null?f:0),g},set(f){l(f)}});function l(f){const d=o.value,g=d.length,m=(f%g+g)%g,p=d[m];return n.value=p,p}function i(f=1){return l(u.value+f)}function r(f=1){return i(f)}function s(f=1){return i(-f)}function c(){var f,d;return(d=v.toValue((f=t?.initialValue)!=null?f:v.toValue(e)[0]))!=null?d:void 0}return a.watch(o,()=>l(u.value)),{state:n,index:u,next:r,prev:s,go:l}}function bn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=xe({...e,onChanged:(i,r)=>{var s;e.onChanged?(s=e.onChanged)==null||s.call(e,i==="dark",r,i):r(i)},modes:{dark:t,light:n}}),u=a.computed(()=>o.system.value);return a.computed({get(){return o.value==="dark"},set(i){const r=i?"dark":"light";u.value===r?o.value="auto":o.value=r}})}function He(e){return e}function Sn(e,t){return e.value=t}function En(e){return e?typeof e=="function"?e:ee:He}function Tn(e){return e?typeof e=="function"?e:ee:He}function Ue(e,t={}){const{clone:n=!1,dump:o=En(n),parse:u=Tn(n),setSource:l=Sn}=t;function i(){return a.markRaw({snapshot:o(e.value),timestamp:v.timestamp()})}const r=a.ref(i()),s=a.ref([]),c=a.ref([]),f=S=>{l(e,u(S.snapshot)),r.value=S},d=()=>{s.value.unshift(r.value),r.value=i(),t.capacity&&s.value.length>t.capacity&&s.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},g=()=>{s.value.splice(0,s.value.length),c.value.splice(0,c.value.length)},m=()=>{const S=s.value.shift();S&&(c.value.unshift(r.value),f(S))},p=()=>{const S=c.value.shift();S&&(s.value.unshift(r.value),f(S))},y=()=>{f(r.value)},h=a.computed(()=>[r.value,...s.value]),b=a.computed(()=>s.value.length>0),w=a.computed(()=>c.value.length>0);return{source:e,undoStack:s,redoStack:c,last:r,history:h,canUndo:b,canRedo:w,clear:g,commit:d,reset:y,undo:m,redo:p}}function Ee(e,t={}){const{deep:n=!1,flush:o="pre",eventFilter:u}=t,{eventFilter:l,pause:i,resume:r,isActive:s}=v.pausableFilter(u),{ignoreUpdates:c,ignorePrevAsyncUpdates:f,stop:d}=v.watchIgnorable(e,h,{deep:n,flush:o,eventFilter:l});function g(T,_){f(),c(()=>{T.value=_})}const m=Ue(e,{...t,clone:t.clone||n,setSource:g}),{clear:p,commit:y}=m;function h(){f(),y()}function b(T){r(),T&&h()}function w(T){let _=!1;const C=()=>_=!0;c(()=>{T(C)}),_||h()}function S(){d(),p()}return{...m,isTracking:s,pause:i,resume:b,commit:h,batch:w,dispose:S}}function kn(e,t={}){const n=t.debounce?v.debounceFilter(t.debounce):void 0;return{...Ee(e,{...t,eventFilter:n})}}function On(e={}){const{window:t=I,requestPermissions:n=!1,eventFilter:o=v.bypassFilter}=e,u=W(()=>typeof DeviceMotionEvent<"u"),l=W(()=>u.value&&"requestPermission"in DeviceMotionEvent&&typeof DeviceMotionEvent.requestPermission=="function"),i=a.ref(!1),r=a.ref({x:null,y:null,z:null}),s=a.ref({alpha:null,beta:null,gamma:null}),c=a.ref(0),f=a.ref({x:null,y:null,z:null});function d(){if(t){const m=v.createFilterWrapper(o,p=>{var y,h,b,w,S,T,_,C,k;r.value={x:((y=p.acceleration)==null?void 0:y.x)||null,y:((h=p.acceleration)==null?void 0:h.y)||null,z:((b=p.acceleration)==null?void 0:b.z)||null},f.value={x:((w=p.accelerationIncludingGravity)==null?void 0:w.x)||null,y:((S=p.accelerationIncludingGravity)==null?void 0:S.y)||null,z:((T=p.accelerationIncludingGravity)==null?void 0:T.z)||null},s.value={alpha:((_=p.rotationRate)==null?void 0:_.alpha)||null,beta:((C=p.rotationRate)==null?void 0:C.beta)||null,gamma:((k=p.rotationRate)==null?void 0:k.gamma)||null},c.value=p.interval});O(t,"devicemotion",m)}}const g=async()=>{if(l.value||(i.value=!0),!i.value&&l.value){const m=DeviceMotionEvent.requestPermission;try{await m()==="granted"&&(i.value=!0,d())}catch(p){console.error(p)}}};return u.value&&(n&&l.value?g().then(()=>d()):d()),{acceleration:r,accelerationIncludingGravity:f,rotationRate:s,interval:c,isSupported:u,requirePermissions:l,ensurePermissions:g,permissionGranted:i}}function $e(e={}){const{window:t=I}=e,n=W(()=>t&&"DeviceOrientationEvent"in t),o=a.ref(!1),u=a.ref(null),l=a.ref(null),i=a.ref(null);return t&&n.value&&O(t,"deviceorientation",r=>{o.value=r.absolute,u.value=r.alpha,l.value=r.beta,i.value=r.gamma}),{isSupported:n,isAbsolute:o,alpha:u,beta:l,gamma:i}}function _n(e={}){const{window:t=I}=e,n=a.ref(1);if(t){let o=function(){n.value=t.devicePixelRatio,u(),l=t.matchMedia(`(resolution: ${n.value}dppx)`),l.addEventListener("change",o,{once:!0})},u=function(){l?.removeEventListener("change",o)},l;o(),v.tryOnScopeDispose(u)}return{pixelRatio:n}}function Rn(e={}){const{navigator:t=z,requestPermissions:n=!1,constraints:o={audio:!0,video:!0},onUpdated:u}=e,l=a.ref([]),i=a.computed(()=>l.value.filter(p=>p.kind==="videoinput")),r=a.computed(()=>l.value.filter(p=>p.kind==="audioinput")),s=a.computed(()=>l.value.filter(p=>p.kind==="audiooutput")),c=W(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=a.ref(!1);let d;async function g(){c.value&&(l.value=await t.mediaDevices.enumerateDevices(),u?.(l.value),d&&(d.getTracks().forEach(p=>p.stop()),d=null))}async function m(){if(!c.value)return!1;if(f.value)return!0;const{state:p,query:y}=ie("camera",{controls:!0});if(await y(),p.value!=="granted"){let h=!0;try{d=await t.mediaDevices.getUserMedia(o)}catch{d=null,h=!1}g(),f.value=h}else f.value=!0;return f.value}return c.value&&(n&&m(),O(t.mediaDevices,"devicechange",g),g()),{devices:l,ensurePermissions:m,permissionGranted:f,videoInputs:i,audioInputs:r,audioOutputs:s,isSupported:c}}function Vn(e={}){var t;const n=a.ref((t=e.enabled)!=null?t:!1),o=e.video,u=e.audio,{navigator:l=z}=e,i=W(()=>{var m;return(m=l?.mediaDevices)==null?void 0:m.getDisplayMedia}),r={audio:u,video:o},s=a.shallowRef();async function c(){var m;if(!(!i.value||s.value))return s.value=await l.mediaDevices.getDisplayMedia(r),(m=s.value)==null||m.getTracks().forEach(p=>p.addEventListener("ended",d)),s.value}async function f(){var m;(m=s.value)==null||m.getTracks().forEach(p=>p.stop()),s.value=void 0}function d(){f(),n.value=!1}async function g(){return await c(),s.value&&(n.value=!0),s.value}return a.watch(n,m=>{m?c():f()},{immediate:!0}),{isSupported:i,stream:s,start:g,stop:d,enabled:n}}function Be(e={}){const{document:t=B}=e;if(!t)return a.ref("visible");const n=a.ref(t.visibilityState);return O(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Fn(e,t={}){var n,o;const{pointerTypes:u,preventDefault:l,stopPropagation:i,exact:r,onMove:s,onEnd:c,onStart:f,initialValue:d,axis:g="both",draggingElement:m=I,containerElement:p,handle:y=e,buttons:h=[0]}=t,b=a.ref((n=v.toValue(d))!=null?n:{x:0,y:0}),w=a.ref(),S=V=>u?u.includes(V.pointerType):!0,T=V=>{v.toValue(l)&&V.preventDefault(),v.toValue(i)&&V.stopPropagation()},_=V=>{var D;if(!v.toValue(h).includes(V.button)||v.toValue(t.disabled)||!S(V)||v.toValue(r)&&V.target!==v.toValue(e))return;const P=v.toValue(p),R=(D=P?.getBoundingClientRect)==null?void 0:D.call(P),F=v.toValue(e).getBoundingClientRect(),A={x:V.clientX-(P?F.left-R.left+P.scrollLeft:F.left),y:V.clientY-(P?F.top-R.top+P.scrollTop:F.top)};f?.(A,V)!==!1&&(w.value=A,T(V))},C=V=>{if(v.toValue(t.disabled)||!S(V)||!w.value)return;const D=v.toValue(p),P=v.toValue(e).getBoundingClientRect();let{x:R,y:F}=b.value;(g==="x"||g==="both")&&(R=V.clientX-w.value.x,D&&(R=Math.min(Math.max(0,R),D.scrollWidth-P.width))),(g==="y"||g==="both")&&(F=V.clientY-w.value.y,D&&(F=Math.min(Math.max(0,F),D.scrollHeight-P.height))),b.value={x:R,y:F},s?.(b.value,V),T(V)},k=V=>{v.toValue(t.disabled)||!S(V)||w.value&&(w.value=void 0,c?.(b.value,V),T(V))};if(v.isClient){const V={capture:(o=t.capture)!=null?o:!0};O(y,"pointerdown",_,V),O(m,"pointermove",C,V),O(m,"pointerup",k,V)}return{...v.toRefs(b),position:b,isDragging:a.computed(()=>!!w.value),style:a.computed(()=>`left:${b.value.x}px;top:${b.value.y}px;`)}}function Pn(e,t={}){var n,o;const u=a.ref(!1),l=a.shallowRef(null);let i=0,r=!0;if(v.isClient){const s=typeof t=="function"?{onDrop:t}:t,c=(n=s.multiple)!=null?n:!0,f=(o=s.preventDefaultForUnhandled)!=null?o:!1,d=y=>{var h,b;const w=Array.from((b=(h=y.dataTransfer)==null?void 0:h.files)!=null?b:[]);return w.length===0?null:c?w:[w[0]]},g=y=>{if(s.dataTypes){const h=a.unref(s.dataTypes);return typeof h=="function"?h(y):h?h.some(b=>y.includes(b)):!0}return!0},m=y=>{var h,b;const w=Array.from((b=(h=y.dataTransfer)==null?void 0:h.items)!=null?b:[]),S=w.map(C=>C.type),T=g(S),_=c||w.length<=1;return T&&_},p=(y,h)=>{var b,w,S,T;if(r=m(y),!r){f&&y.preventDefault(),y.dataTransfer&&(y.dataTransfer.dropEffect="none");return}y.preventDefault(),y.dataTransfer&&(y.dataTransfer.dropEffect="copy");const _=d(y);switch(h){case"enter":i+=1,u.value=!0,(b=s.onEnter)==null||b.call(s,null,y);break;case"over":(w=s.onOver)==null||w.call(s,null,y);break;case"leave":i-=1,i===0&&(u.value=!1),(S=s.onLeave)==null||S.call(s,null,y);break;case"drop":i=0,u.value=!1,r&&(l.value=_,(T=s.onDrop)==null||T.call(s,_,y));break}};O(e,"dragenter",y=>p(y,"enter")),O(e,"dragover",y=>p(y,"over")),O(e,"dragleave",y=>p(y,"leave")),O(e,"drop",y=>p(y,"drop"))}return{files:l,isOverDropZone:u}}function de(e,t,n={}){const{window:o=I,...u}=n;let l;const i=W(()=>o&&"ResizeObserver"in o),r=()=>{l&&(l.disconnect(),l=void 0)},s=a.computed(()=>{const d=v.toValue(e);return Array.isArray(d)?d.map(g=>x(g)):[x(d)]}),c=a.watch(s,d=>{if(r(),i.value&&o){l=new ResizeObserver(t);for(const g of d)g&&l.observe(g,u)}},{immediate:!0,flush:"post"}),f=()=>{r(),c()};return v.tryOnScopeDispose(f),{isSupported:i,stop:f}}function Dn(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:u=!0,immediate:l=!0,updateTiming:i="sync"}=t,r=a.ref(0),s=a.ref(0),c=a.ref(0),f=a.ref(0),d=a.ref(0),g=a.ref(0),m=a.ref(0),p=a.ref(0);function y(){const b=x(e);if(!b){n&&(r.value=0,s.value=0,c.value=0,f.value=0,d.value=0,g.value=0,m.value=0,p.value=0);return}const w=b.getBoundingClientRect();r.value=w.height,s.value=w.bottom,c.value=w.left,f.value=w.right,d.value=w.top,g.value=w.width,m.value=w.x,p.value=w.y}function h(){i==="sync"?y():i==="next-frame"&&requestAnimationFrame(()=>y())}return de(e,h),a.watch(()=>x(e),b=>!b&&h()),K(e,h,{attributeFilter:["style","class"]}),u&&O("scroll",h,{capture:!0,passive:!0}),o&&O("resize",h,{passive:!0}),v.tryOnMounted(()=>{l&&h()}),{height:r,bottom:s,left:c,right:f,top:d,width:g,x:m,y:p,update:h}}function Cn(e){const{x:t,y:n,document:o=B,multiple:u,interval:l="requestAnimationFrame",immediate:i=!0}=e,r=W(()=>v.toValue(u)?o&&"elementsFromPoint"in o:o&&"elementFromPoint"in o),s=a.ref(null),c=()=>{var d,g;s.value=v.toValue(u)?(d=o?.elementsFromPoint(v.toValue(t),v.toValue(n)))!=null?d:[]:(g=o?.elementFromPoint(v.toValue(t),v.toValue(n)))!=null?g:null},f=l==="requestAnimationFrame"?G(c,{immediate:i}):v.useIntervalFn(c,l,{immediate:i});return{isSupported:r,element:s,...f}}function An(e,t={}){const{delayEnter:n=0,delayLeave:o=0,window:u=I}=t,l=a.ref(!1);let i;const r=s=>{const c=s?n:o;i&&(clearTimeout(i),i=void 0),c?i=setTimeout(()=>l.value=s,c):l.value=s};return u&&(O(e,"mouseenter",()=>r(!0),{passive:!0}),O(e,"mouseleave",()=>r(!1),{passive:!0})),l}function je(e,t={width:0,height:0},n={}){const{window:o=I,box:u="content-box"}=n,l=a.computed(()=>{var d,g;return(g=(d=x(e))==null?void 0:d.namespaceURI)==null?void 0:g.includes("svg")}),i=a.ref(t.width),r=a.ref(t.height),{stop:s}=de(e,([d])=>{const g=u==="border-box"?d.borderBoxSize:u==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&l.value){const m=x(e);if(m){const p=m.getBoundingClientRect();i.value=p.width,r.value=p.height}}else if(g){const m=Array.isArray(g)?g:[g];i.value=m.reduce((p,{inlineSize:y})=>p+y,0),r.value=m.reduce((p,{blockSize:y})=>p+y,0)}else i.value=d.contentRect.width,r.value=d.contentRect.height},n);v.tryOnMounted(()=>{const d=x(e);d&&(i.value="offsetWidth"in d?d.offsetWidth:t.width,r.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=a.watch(()=>x(e),d=>{i.value=d?t.width:0,r.value=d?t.height:0});function f(){s(),c()}return{width:i,height:r,stop:f}}function ze(e,t,n={}){const{root:o,rootMargin:u="0px",threshold:l=0,window:i=I,immediate:r=!0}=n,s=W(()=>i&&"IntersectionObserver"in i),c=a.computed(()=>{const p=v.toValue(e);return(Array.isArray(p)?p:[p]).map(x).filter(v.notNullish)});let f=v.noop;const d=a.ref(r),g=s.value?a.watch(()=>[c.value,x(o),d.value],([p,y])=>{if(f(),!d.value||!p.length)return;const h=new IntersectionObserver(t,{root:x(y),rootMargin:u,threshold:l});p.forEach(b=>b&&h.observe(b)),f=()=>{h.disconnect(),f=v.noop}},{immediate:r,flush:"post"}):v.noop,m=()=>{f(),g(),d.value=!1};return v.tryOnScopeDispose(m),{isSupported:s,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:m}}function qe(e,t={}){const{window:n=I,scrollTarget:o,threshold:u=0,rootMargin:l}=t,i=a.ref(!1);return ze(e,r=>{let s=i.value,c=0;for(const f of r)f.time>=c&&(c=f.time,s=f.isIntersecting);i.value=s},{root:o,window:n,threshold:u,rootMargin:v.toValue(l)}),i}const ne=new Map;function Mn(e){const t=a.getCurrentScope();function n(r){var s;const c=ne.get(e)||new Set;c.add(r),ne.set(e,c);const f=()=>u(r);return(s=t?.cleanups)==null||s.push(f),f}function o(r){function s(...c){u(s),r(...c)}return n(s)}function u(r){const s=ne.get(e);s&&(s.delete(r),s.size||l())}function l(){ne.delete(e)}function i(r,s){var c;(c=ne.get(e))==null||c.forEach(f=>f(r,s))}return{on:n,once:o,off:u,emit:i,reset:l}}function In(e){return e===!0?{}:e}function Ln(e,t=[],n={}){const o=a.ref(null),u=a.ref(null),l=a.ref("CONNECTING"),i=a.ref(null),r=a.shallowRef(null),s=v.toRef(e),c=a.shallowRef(null);let f=!1,d=0;const{withCredentials:g=!1,immediate:m=!0,autoConnect:p=!0,autoReconnect:y}=n,h=()=>{v.isClient&&i.value&&(i.value.close(),i.value=null,l.value="CLOSED",f=!0)},b=()=>{if(f||typeof s.value>"u")return;const S=new EventSource(s.value,{withCredentials:g});l.value="CONNECTING",i.value=S,S.onopen=()=>{l.value="OPEN",r.value=null},S.onerror=T=>{if(l.value="CLOSED",r.value=T,S.readyState===2&&!f&&y){S.close();const{retries:_=-1,delay:C=1e3,onFailed:k}=In(y);d+=1,typeof _=="number"&&(_<0||d<_)||typeof _=="function"&&_()?setTimeout(b,C):k?.()}},S.onmessage=T=>{o.value=null,u.value=T.data,c.value=T.lastEventId};for(const T of t)O(S,T,_=>{o.value=T,u.value=_.data||null})},w=()=>{v.isClient&&(h(),f=!1,d=0,b())};return m&&w(),p&&a.watch(s,w),v.tryOnScopeDispose(h),{eventSource:i,event:o,data:u,status:l,error:r,open:w,close:h,lastEventId:c}}function Nn(e={}){const{initialValue:t=""}=e,n=W(()=>typeof window<"u"&&"EyeDropper"in window),o=a.ref(t);async function u(l){if(!n.value)return;const r=await new window.EyeDropper().open(l);return o.value=r.sRGBHex,r}return{isSupported:n,sRGBHex:o,open:u}}function xn(e=null,t={}){const{baseUrl:n="",rel:o="icon",document:u=B}=t,l=v.toRef(e),i=r=>{const s=u?.head.querySelectorAll(`link[rel*="${o}"]`);if(!s||s.length===0){const c=u?.createElement("link");c&&(c.rel=o,c.href=`${n}${r}`,c.type=`image/${r.split(".").pop()}`,u?.head.append(c));return}s?.forEach(c=>c.href=`${n}${r}`)};return a.watch(l,(r,s)=>{typeof r=="string"&&r!==s&&i(r)},{immediate:!0}),l}const Wn={json:"application/json",text:"text/plain"};function ve(e){return e&&v.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const Hn=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function Un(e){return Hn.test(e)}function oe(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function J(e,...t){return e==="overwrite"?async n=>{const o=t[t.length-1];return o?{...n,...await o(n)}:n}:async n=>{for(const o of t)o&&(n={...n,...await o(n)});return n}}function $n(e={}){const t=e.combination||"chain",n=e.options||{},o=e.fetchOptions||{};function u(l,...i){const r=a.computed(()=>{const f=v.toValue(e.baseUrl),d=v.toValue(l);return f&&!Un(d)?Bn(f,d):d});let s=n,c=o;return i.length>0&&(ve(i[0])?s={...s,...i[0],beforeFetch:J(t,n.beforeFetch,i[0].beforeFetch),afterFetch:J(t,n.afterFetch,i[0].afterFetch),onFetchError:J(t,n.onFetchError,i[0].onFetchError)}:c={...c,...i[0],headers:{...oe(c.headers)||{},...oe(i[0].headers)||{}}}),i.length>1&&ve(i[1])&&(s={...s,...i[1],beforeFetch:J(t,n.beforeFetch,i[1].beforeFetch),afterFetch:J(t,n.afterFetch,i[1].afterFetch),onFetchError:J(t,n.onFetchError,i[1].onFetchError)}),Ge(r,c,s)}return u}function Ge(e,...t){var n;const o=typeof AbortController=="function";let u={},l={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const i={method:"GET",type:"text",payload:void 0};t.length>0&&(ve(t[0])?l={...l,...t[0]}:u=t[0]),t.length>1&&ve(t[1])&&(l={...l,...t[1]});const{fetch:r=(n=I)==null?void 0:n.fetch,initialData:s,timeout:c}=l,f=v.createEventHook(),d=v.createEventHook(),g=v.createEventHook(),m=a.ref(!1),p=a.ref(!1),y=a.ref(!1),h=a.ref(null),b=a.shallowRef(null),w=a.shallowRef(null),S=a.shallowRef(s||null),T=a.computed(()=>o&&p.value);let _,C;const k=()=>{o&&(_?.abort(),_=new AbortController,_.signal.onabort=()=>y.value=!0,u={...u,signal:_.signal})},V=M=>{p.value=M,m.value=!M};c&&(C=v.useTimeoutFn(k,c,{immediate:!1}));let D=0;const P=async(M=!1)=>{var N,q;k(),V(!0),w.value=null,h.value=null,y.value=!1,D+=1;const U=D,Y={method:i.method,headers:{}},Q=v.toValue(i.payload);if(Q){const $=oe(Y.headers),re=Object.getPrototypeOf(Q);!i.payloadType&&Q&&(re===Object.prototype||Array.isArray(re))&&!(Q instanceof FormData)&&(i.payloadType="json"),i.payloadType&&($["Content-Type"]=(N=Wn[i.payloadType])!=null?N:i.payloadType),Y.body=i.payloadType==="json"?JSON.stringify(Q):Q}let Tt=!1;const le={url:v.toValue(e),options:{...Y,...u},cancel:()=>{Tt=!0}};if(l.beforeFetch&&Object.assign(le,await l.beforeFetch(le)),Tt||!r)return V(!1),Promise.resolve(null);let X=null;return C&&C.start(),r(le.url,{...Y,...le.options,headers:{...oe(Y.headers),...oe((q=le.options)==null?void 0:q.headers)}}).then(async $=>{if(b.value=$,h.value=$.status,X=await $.clone()[i.type](),!$.ok)throw S.value=s||null,new Error($.statusText);return l.afterFetch&&({data:X}=await l.afterFetch({data:X,response:$})),S.value=X,f.trigger($),$}).catch(async $=>{let re=$.message||$.name;if(l.onFetchError&&({error:re,data:X}=await l.onFetchError({data:X,error:$,response:b.value})),w.value=re,l.updateDataOnError&&(S.value=X),d.trigger($),M)throw $;return null}).finally(()=>{U===D&&V(!1),C&&C.stop(),g.trigger(null)})},R=v.toRef(l.refetch);a.watch([R,v.toRef(e)],([M])=>M&&P(),{deep:!0});const F={isFinished:a.readonly(m),isFetching:a.readonly(p),statusCode:h,response:b,error:w,data:S,canAbort:T,aborted:y,abort:k,execute:P,onFetchResponse:f.on,onFetchError:d.on,onFetchFinally:g.on,get:A("GET"),put:A("PUT"),post:A("POST"),delete:A("DELETE"),patch:A("PATCH"),head:A("HEAD"),options:A("OPTIONS"),json:H("json"),text:H("text"),blob:H("blob"),arrayBuffer:H("arrayBuffer"),formData:H("formData")};function A(M){return(N,q)=>{if(!p.value)return i.method=M,i.payload=N,i.payloadType=q,a.isRef(i.payload)&&a.watch([R,v.toRef(i.payload)],([U])=>U&&P(),{deep:!0}),{...F,then(U,Y){return L().then(U,Y)}}}}function L(){return new Promise((M,N)=>{v.until(m).toBe(!0).then(()=>M(F)).catch(N)})}function H(M){return()=>{if(!p.value)return i.type=M,{...F,then(N,q){return L().then(N,q)}}}}return l.immediate&&Promise.resolve().then(()=>P()),{...F,then(M,N){return L().then(M,N)}}}function Bn(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:e.endsWith("/")&&t.startsWith("/")?`${e.slice(0,-1)}${t}`:`${e}${t}`}const jn={multiple:!0,accept:"*",reset:!1,directory:!1};function zn(e={}){const{document:t=B}=e,n=a.ref(null),{on:o,trigger:u}=v.createEventHook(),{on:l,trigger:i}=v.createEventHook();let r;t&&(r=t.createElement("input"),r.type="file",r.onchange=f=>{const d=f.target;n.value=d.files,u(n.value)},r.oncancel=()=>{i()});const s=()=>{n.value=null,r&&r.value&&(r.value="",u(null))},c=f=>{if(!r)return;const d={...jn,...e,...f};r.multiple=d.multiple,r.accept=d.accept,r.webkitdirectory=d.directory,v.hasOwn(d,"capture")&&(r.capture=d.capture),d.reset&&s(),r.click()};return{files:a.readonly(n),open:c,reset:s,onCancel:l,onChange:o}}function qn(e={}){const{window:t=I,dataType:n="Text"}=e,o=t,u=W(()=>o&&"showSaveFilePicker"in o&&"showOpenFilePicker"in o),l=a.ref(),i=a.ref(),r=a.ref(),s=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.name)!=null?S:""}),c=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.type)!=null?S:""}),f=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.size)!=null?S:0}),d=a.computed(()=>{var w,S;return(S=(w=r.value)==null?void 0:w.lastModified)!=null?S:0});async function g(w={}){if(!u.value)return;const[S]=await o.showOpenFilePicker({...v.toValue(e),...w});l.value=S,await b()}async function m(w={}){u.value&&(l.value=await o.showSaveFilePicker({...e,...w}),i.value=void 0,await b())}async function p(w={}){if(u.value){if(!l.value)return y(w);if(i.value){const S=await l.value.createWritable();await S.write(i.value),await S.close()}await h()}}async function y(w={}){if(u.value){if(l.value=await o.showSaveFilePicker({...e,...w}),i.value){const S=await l.value.createWritable();await S.write(i.value),await S.close()}await h()}}async function h(){var w;r.value=await((w=l.value)==null?void 0:w.getFile())}async function b(){var w,S;await h();const T=v.toValue(n);T==="Text"?i.value=await((w=r.value)==null?void 0:w.text()):T==="ArrayBuffer"?i.value=await((S=r.value)==null?void 0:S.arrayBuffer()):T==="Blob"&&(i.value=r.value)}return a.watch(()=>v.toValue(n),b),{isSupported:u,data:i,file:r,fileName:s,fileMIME:c,fileSize:f,fileLastModified:d,open:g,create:m,save:p,saveAs:y,updateData:b}}function Gn(e,t={}){const{initialValue:n=!1,focusVisible:o=!1,preventScroll:u=!1}=t,l=a.ref(!1),i=a.computed(()=>x(e));O(i,"focus",s=>{var c,f;(!o||(f=(c=s.target).matches)!=null&&f.call(c,":focus-visible"))&&(l.value=!0)}),O(i,"blur",()=>l.value=!1);const r=a.computed({get:()=>l.value,set(s){var c,f;!s&&l.value?(c=i.value)==null||c.blur():s&&!l.value&&((f=i.value)==null||f.focus({preventScroll:u}))}});return a.watch(i,()=>{r.value=n},{immediate:!0,flush:"post"}),{focused:r}}const Yn="focusin",Xn="focusout";function Kn(e,t={}){const{window:n=I}=t,o=a.computed(()=>x(e)),u=a.ref(!1),l=a.computed(()=>u.value),i=De(t);return!n||!i.value?{focused:l}:(O(o,Yn,()=>u.value=!0),O(o,Xn,()=>u.value=!1),{focused:l})}function Jn(e){var t;const n=a.ref(0);if(typeof performance>"u")return n;const o=(t=e?.every)!=null?t:10;let u=performance.now(),l=0;return G(()=>{if(l+=1,l>=o){const i=performance.now(),r=i-u;n.value=Math.round(1e3/(r/l)),u=i,l=0}}),n}const Ye=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Qn(e,t={}){const{document:n=B,autoExit:o=!1}=t,u=a.computed(()=>{var b;return(b=x(e))!=null?b:n?.querySelector("html")}),l=a.ref(!1),i=a.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||u.value&&b in u.value)),r=a.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||u.value&&b in u.value)),s=a.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||u.value&&b in u.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),f=W(()=>u.value&&n&&i.value!==void 0&&r.value!==void 0&&s.value!==void 0),d=()=>c?n?.[c]===u.value:!1,g=()=>{if(s.value){if(n&&n[s.value]!=null)return n[s.value];{const b=u.value;if(b?.[s.value]!=null)return!!b[s.value]}}return!1};async function m(){if(!(!f.value||!l.value)){if(r.value)if(n?.[r.value]!=null)await n[r.value]();else{const b=u.value;b?.[r.value]!=null&&await b[r.value]()}l.value=!1}}async function p(){if(!f.value||l.value)return;g()&&await m();const b=u.value;i.value&&b?.[i.value]!=null&&(await b[i.value](),l.value=!0)}async function y(){await(l.value?m():p())}const h=()=>{const b=g();(!b||b&&d())&&(l.value=b)};return O(n,Ye,h,!1),O(()=>x(u),Ye,h,!1),o&&v.tryOnScopeDispose(m),{isSupported:f,isFullscreen:l,enter:p,exit:m,toggle:y}}function Zn(e){return a.computed(()=>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 eo(e={}){const{navigator:t=z}=e,n=W(()=>t&&"getGamepads"in t),o=a.ref([]),u=v.createEventHook(),l=v.createEventHook(),i=m=>{const p=[],y="vibrationActuator"in m?m.vibrationActuator:null;return y&&p.push(y),m.hapticActuators&&p.push(...m.hapticActuators),{id:m.id,index:m.index,connected:m.connected,mapping:m.mapping,timestamp:m.timestamp,vibrationActuator:m.vibrationActuator,hapticActuators:p,axes:m.axes.map(h=>h),buttons:m.buttons.map(h=>({pressed:h.pressed,touched:h.touched,value:h.value}))}},r=()=>{const m=t?.getGamepads()||[];for(const p of m)p&&o.value[p.index]&&(o.value[p.index]=i(p))},{isActive:s,pause:c,resume:f}=G(r),d=m=>{o.value.some(({index:p})=>p===m.index)||(o.value.push(i(m)),u.trigger(m.index)),f()},g=m=>{o.value=o.value.filter(p=>p.index!==m.index),l.trigger(m.index)};return O("gamepadconnected",m=>d(m.gamepad)),O("gamepaddisconnected",m=>g(m.gamepad)),v.tryOnMounted(()=>{const m=t?.getGamepads()||[];for(const p of m)p&&o.value[p.index]&&d(p)}),c(),{isSupported:n,onConnected:u.on,onDisconnected:l.on,gamepads:o,pause:c,resume:f,isActive:s}}function to(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:o=27e3,navigator:u=z,immediate:l=!0}=e,i=W(()=>u&&"geolocation"in u),r=a.ref(null),s=a.shallowRef(null),c=a.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(p){r.value=p.timestamp,c.value=p.coords,s.value=null}let d;function g(){i.value&&(d=u.geolocation.watchPosition(f,p=>s.value=p,{enableHighAccuracy:t,maximumAge:n,timeout:o}))}l&&g();function m(){d&&u&&u.geolocation.clearWatch(d)}return v.tryOnScopeDispose(()=>{m()}),{isSupported:i,coords:c,locatedAt:r,error:s,resume:g,pause:m}}const no=["mousemove","mousedown","resize","keydown","touchstart","wheel"],oo=6e4;function lo(e=oo,t={}){const{initialState:n=!1,listenForVisibilityChange:o=!0,events:u=no,window:l=I,eventFilter:i=v.throttleFilter(50)}=t,r=a.ref(n),s=a.ref(v.timestamp());let c;const f=()=>{r.value=!1,clearTimeout(c),c=setTimeout(()=>r.value=!0,e)},d=v.createFilterWrapper(i,()=>{s.value=v.timestamp(),f()});if(l){const g=l.document;for(const m of u)O(l,m,d,{passive:!0});o&&O(g,"visibilitychange",()=>{g.hidden||d()}),f()}return{idle:r,lastActive:s,reset:f}}async function ro(e){return new Promise((t,n)=>{const o=new Image,{src:u,srcset:l,sizes:i,class:r,loading:s,crossorigin:c,referrerPolicy:f,width:d,height:g,decoding:m,fetchPriority:p,ismap:y,usemap:h}=e;o.src=u,l!=null&&(o.srcset=l),i!=null&&(o.sizes=i),r!=null&&(o.className=r),s!=null&&(o.loading=s),c!=null&&(o.crossOrigin=c),f!=null&&(o.referrerPolicy=f),d!=null&&(o.width=d),g!=null&&(o.height=g),m!=null&&(o.decoding=m),p!=null&&(o.fetchPriority=p),y!=null&&(o.isMap=y),h!=null&&(o.useMap=h),o.onload=()=>t(o),o.onerror=n})}function ao(e,t={}){const n=Ce(()=>ro(v.toValue(e)),void 0,{resetOnExecute:!0,...t});return a.watch(()=>v.toValue(e),()=>n.execute(t.delay),{deep:!0}),n}function me(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Xe=1;function Ke(e,t={}){const{throttle:n=0,idle:o=200,onStop:u=v.noop,onScroll:l=v.noop,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:r={capture:!1,passive:!0},behavior:s="auto",window:c=I,onError:f=k=>{console.error(k)}}=t,d=a.ref(0),g=a.ref(0),m=a.computed({get(){return d.value},set(k){y(k,void 0)}}),p=a.computed({get(){return g.value},set(k){y(void 0,k)}});function y(k,V){var D,P,R,F;if(!c)return;const A=v.toValue(e);if(!A)return;(R=A instanceof Document?c.document.body:A)==null||R.scrollTo({top:(D=v.toValue(V))!=null?D:p.value,left:(P=v.toValue(k))!=null?P:m.value,behavior:v.toValue(s)});const L=((F=A?.document)==null?void 0:F.documentElement)||A?.documentElement||A;m!=null&&(d.value=L.scrollLeft),p!=null&&(g.value=L.scrollTop)}const h=a.ref(!1),b=a.reactive({left:!0,right:!1,top:!0,bottom:!1}),w=a.reactive({left:!1,right:!1,top:!1,bottom:!1}),S=k=>{h.value&&(h.value=!1,w.left=!1,w.right=!1,w.top=!1,w.bottom=!1,u(k))},T=v.useDebounceFn(S,n+o),_=k=>{var V;if(!c)return;const D=((V=k?.document)==null?void 0:V.documentElement)||k?.documentElement||x(k),{display:P,flexDirection:R,direction:F}=getComputedStyle(D),A=F==="rtl"?-1:1,L=D.scrollLeft;w.left=L<d.value,w.right=L>d.value;const H=L*A<=(i.left||0),M=L*A+D.clientWidth>=D.scrollWidth-(i.right||0)-Xe;P==="flex"&&R==="row-reverse"?(b.left=M,b.right=H):(b.left=H,b.right=M),d.value=L;let N=D.scrollTop;k===c.document&&!N&&(N=c.document.body.scrollTop),w.top=N<g.value,w.bottom=N>g.value;const q=N<=(i.top||0),U=N+D.clientHeight>=D.scrollHeight-(i.bottom||0)-Xe;P==="flex"&&R==="column-reverse"?(b.top=U,b.bottom=q):(b.top=q,b.bottom=U),g.value=N},C=k=>{var V;if(!c)return;const D=(V=k.target.documentElement)!=null?V:k.target;_(D),h.value=!0,T(k),l(k)};return O(e,"scroll",n?v.useThrottleFn(C,n,!0,!1):C,r),v.tryOnMounted(()=>{try{const k=v.toValue(e);if(!k)return;_(k)}catch(k){f(k)}}),O(e,"scrollend",S,r),{x:m,y:p,isScrolling:h,arrivedState:b,directions:w,measure(){const k=v.toValue(e);c&&k&&_(k)}}}function io(e,t,n={}){var o;const{direction:u="bottom",interval:l=100,canLoadMore:i=()=>!0}=n,r=a.reactive(Ke(e,{...n,offset:{[u]:(o=n.distance)!=null?o:0,...n.offset}})),s=a.ref(),c=a.computed(()=>!!s.value),f=a.computed(()=>me(v.toValue(e))),d=qe(f);function g(){if(r.measure(),!f.value||!d.value||!i(f.value))return;const{scrollHeight:p,clientHeight:y,scrollWidth:h,clientWidth:b}=f.value,w=u==="bottom"||u==="top"?p<=y:h<=b;(r.arrivedState[u]||w)&&(s.value||(s.value=Promise.all([t(r),new Promise(S=>setTimeout(S,l))]).finally(()=>{s.value=null,a.nextTick(()=>g())})))}const m=a.watch(()=>[r.arrivedState[u],d.value],g,{immediate:!0});return v.tryOnUnmounted(m),{isLoading:c,reset(){a.nextTick(()=>g())}}}const uo=["mousedown","mouseup","keydown","keyup"];function so(e,t={}){const{events:n=uo,document:o=B,initial:u=null}=t,l=a.ref(u);return o&&n.forEach(i=>{O(o,i,r=>{typeof r.getModifierState=="function"&&(l.value=r.getModifierState(e))})}),l}function co(e,t,n={}){const{window:o=I}=n;return fe(e,t,o?.localStorage,n)}const Je={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function fo(e={}){const{reactive:t=!1,target:n=I,aliasMap:o=Je,passive:u=!0,onEventFired:l=v.noop}=e,i=a.reactive(new Set),r={toJSON(){return{}},current:i},s=t?a.reactive(r):r,c=new Set,f=new Set;function d(y,h){y in s&&(t?s[y]=h:s[y].value=h)}function g(){i.clear();for(const y of f)d(y,!1)}function m(y,h){var b,w;const S=(b=y.key)==null?void 0:b.toLowerCase(),_=[(w=y.code)==null?void 0:w.toLowerCase(),S].filter(Boolean);S&&(h?i.add(S):i.delete(S));for(const C of _)f.add(C),d(C,h);S==="meta"&&!h?(c.forEach(C=>{i.delete(C),d(C,!1)}),c.clear()):typeof y.getModifierState=="function"&&y.getModifierState("Meta")&&h&&[...i,..._].forEach(C=>c.add(C))}O(n,"keydown",y=>(m(y,!0),l(y)),{passive:u}),O(n,"keyup",y=>(m(y,!1),l(y)),{passive:u}),O("blur",g,{passive:!0}),O("focus",g,{passive:!0});const p=new Proxy(s,{get(y,h,b){if(typeof h!="string")return Reflect.get(y,h,b);if(h=h.toLowerCase(),h in o&&(h=o[h]),!(h in s))if(/[+_-]/.test(h)){const S=h.split(/[+_-]/g).map(T=>T.trim());s[h]=a.computed(()=>S.every(T=>v.toValue(p[T])))}else s[h]=a.ref(!1);const w=Reflect.get(y,h,b);return t?v.toValue(w):w}});return p}function Te(e,t){v.toValue(e)&&t(v.toValue(e))}function vo(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function ke(e){return Array.from(e).map(({label:t,kind:n,language:o,mode:u,activeCues:l,cues:i,inBandMetadataTrackDispatchType:r},s)=>({id:s,label:t,kind:n,language:o,mode:u,activeCues:l,cues:i,inBandMetadataTrackDispatchType:r}))}const mo={src:"",tracks:[]};function po(e,t={}){e=v.toRef(e),t={...mo,...t};const{document:n=B}=t,o=a.ref(0),u=a.ref(0),l=a.ref(!1),i=a.ref(1),r=a.ref(!1),s=a.ref(!1),c=a.ref(!1),f=a.ref(1),d=a.ref(!1),g=a.ref([]),m=a.ref([]),p=a.ref(-1),y=a.ref(!1),h=a.ref(!1),b=n&&"pictureInPictureEnabled"in n,w=v.createEventHook(),S=v.createEventHook(),T=R=>{Te(e,F=>{if(R){const A=typeof R=="number"?R:R.id;F.textTracks[A].mode="disabled"}else for(let A=0;A<F.textTracks.length;++A)F.textTracks[A].mode="disabled";p.value=-1})},_=(R,F=!0)=>{Te(e,A=>{const L=typeof R=="number"?R:R.id;F&&T(),A.textTracks[L].mode="showing",p.value=L})},C=()=>new Promise((R,F)=>{Te(e,async A=>{b&&(y.value?n.exitPictureInPicture().then(R).catch(F):A.requestPictureInPicture().then(R).catch(F))})});a.watchEffect(()=>{if(!n)return;const R=v.toValue(e);if(!R)return;const F=v.toValue(t.src);let A=[];F&&(typeof F=="string"?A=[{src:F}]:Array.isArray(F)?A=F:v.isObject(F)&&(A=[F]),R.querySelectorAll("source").forEach(L=>{L.removeEventListener("error",w.trigger),L.remove()}),A.forEach(({src:L,type:H,media:M})=>{const N=n.createElement("source");N.setAttribute("src",L),N.setAttribute("type",H||""),N.setAttribute("media",M||""),N.addEventListener("error",w.trigger),R.appendChild(N)}),R.load())}),v.tryOnScopeDispose(()=>{const R=v.toValue(e);R&&R.querySelectorAll("source").forEach(F=>F.removeEventListener("error",w.trigger))}),a.watch([e,i],()=>{const R=v.toValue(e);R&&(R.volume=i.value)}),a.watch([e,h],()=>{const R=v.toValue(e);R&&(R.muted=h.value)}),a.watch([e,f],()=>{const R=v.toValue(e);R&&(R.playbackRate=f.value)}),a.watchEffect(()=>{if(!n)return;const R=v.toValue(t.tracks),F=v.toValue(e);!R||!R.length||!F||(F.querySelectorAll("track").forEach(A=>A.remove()),R.forEach(({default:A,kind:L,label:H,src:M,srcLang:N},q)=>{const U=n.createElement("track");U.default=A||!1,U.kind=L,U.label=H,U.src=M,U.srclang=N,U.default&&(p.value=q),F.appendChild(U)}))});const{ignoreUpdates:k}=v.watchIgnorable(o,R=>{const F=v.toValue(e);F&&(F.currentTime=R)}),{ignoreUpdates:V}=v.watchIgnorable(c,R=>{const F=v.toValue(e);F&&(R?F.play().catch(A=>{throw S.trigger(A),A}):F.pause())});O(e,"timeupdate",()=>k(()=>o.value=v.toValue(e).currentTime)),O(e,"durationchange",()=>u.value=v.toValue(e).duration),O(e,"progress",()=>g.value=vo(v.toValue(e).buffered)),O(e,"seeking",()=>l.value=!0),O(e,"seeked",()=>l.value=!1),O(e,["waiting","loadstart"],()=>{r.value=!0,V(()=>c.value=!1)}),O(e,"loadeddata",()=>r.value=!1),O(e,"playing",()=>{r.value=!1,s.value=!1,V(()=>c.value=!0)}),O(e,"ratechange",()=>f.value=v.toValue(e).playbackRate),O(e,"stalled",()=>d.value=!0),O(e,"ended",()=>s.value=!0),O(e,"pause",()=>V(()=>c.value=!1)),O(e,"play",()=>V(()=>c.value=!0)),O(e,"enterpictureinpicture",()=>y.value=!0),O(e,"leavepictureinpicture",()=>y.value=!1),O(e,"volumechange",()=>{const R=v.toValue(e);R&&(i.value=R.volume,h.value=R.muted)});const D=[],P=a.watch([e],()=>{const R=v.toValue(e);R&&(P(),D[0]=O(R.textTracks,"addtrack",()=>m.value=ke(R.textTracks)),D[1]=O(R.textTracks,"removetrack",()=>m.value=ke(R.textTracks)),D[2]=O(R.textTracks,"change",()=>m.value=ke(R.textTracks)))});return v.tryOnScopeDispose(()=>D.forEach(R=>R())),{currentTime:o,duration:u,waiting:r,seeking:l,ended:s,stalled:d,buffered:g,playing:c,rate:f,volume:i,muted:h,tracks:m,selectedTrack:p,enableTrack:_,disableTrack:T,supportsPictureInPicture:b,togglePictureInPicture:C,isPictureInPicture:y,onSourceError:w.on,onPlaybackError:S.on}}function yo(e,t){const o=t?.cache?a.shallowReactive(t.cache):a.shallowReactive(new Map),u=(...f)=>t?.getKey?t.getKey(...f):JSON.stringify(f),l=(f,...d)=>(o.set(f,e(...d)),o.get(f)),i=(...f)=>l(u(...f),...f),r=(...f)=>{o.delete(u(...f))},s=()=>{o.clear()},c=(...f)=>{const d=u(...f);return o.has(d)?o.get(d):l(d,...f)};return c.load=i,c.delete=r,c.clear=s,c.generateKey=u,c.cache=o,c}function go(e={}){const t=a.ref(),n=W(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:o=1e3}=e;v.useIntervalFn(()=>{t.value=performance.memory},o,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const ho={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Qe(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:u={x:0,y:0},window:l=I,target:i=l,scroll:r=!0,eventFilter:s}=e;let c=null,f=0,d=0;const g=a.ref(u.x),m=a.ref(u.y),p=a.ref(null),y=typeof t=="function"?t:ho[t],h=k=>{const V=y(k);c=k,V&&([g.value,m.value]=V,p.value="mouse"),l&&(f=l.scrollX,d=l.scrollY)},b=k=>{if(k.touches.length>0){const V=y(k.touches[0]);V&&([g.value,m.value]=V,p.value="touch")}},w=()=>{if(!c||!l)return;const k=y(c);c instanceof MouseEvent&&k&&(g.value=k[0]+l.scrollX-f,m.value=k[1]+l.scrollY-d)},S=()=>{g.value=u.x,m.value=u.y},T=s?k=>s(()=>h(k),{}):k=>h(k),_=s?k=>s(()=>b(k),{}):k=>b(k),C=s?()=>s(()=>w(),{}):()=>w();if(i){const k={passive:!0};O(i,["mousemove","dragover"],T,k),n&&t!=="movement"&&(O(i,["touchstart","touchmove"],_,k),o&&O(i,"touchend",S,k)),r&&t==="page"&&O(l,"scroll",C,{passive:!0})}return{x:g,y:m,sourceType:p}}function Ze(e,t={}){const{handleOutside:n=!0,window:o=I}=t,u=t.type||"page",{x:l,y:i,sourceType:r}=Qe(t),s=a.ref(e??o?.document.body),c=a.ref(0),f=a.ref(0),d=a.ref(0),g=a.ref(0),m=a.ref(0),p=a.ref(0),y=a.ref(!0);let h=()=>{};return o&&(h=a.watch([s,l,i],()=>{const b=x(s);if(!b||!(b instanceof Element))return;const{left:w,top:S,width:T,height:_}=b.getBoundingClientRect();d.value=w+(u==="page"?o.pageXOffset:0),g.value=S+(u==="page"?o.pageYOffset:0),m.value=_,p.value=T;const C=l.value-d.value,k=i.value-g.value;y.value=T===0||_===0||C<0||k<0||C>T||k>_,(n||!y.value)&&(c.value=C,f.value=k)},{immediate:!0}),O(document,"mouseleave",()=>{y.value=!0})),{x:l,y:i,sourceType:r,elementX:c,elementY:f,elementPositionX:d,elementPositionY:g,elementHeight:m,elementWidth:p,isOutside:y,stop:h}}function wo(e={}){const{touch:t=!0,drag:n=!0,capture:o=!1,initialValue:u=!1,window:l=I}=e,i=a.ref(u),r=a.ref(null);if(!l)return{pressed:i,sourceType:r};const s=d=>()=>{i.value=!0,r.value=d},c=()=>{i.value=!1,r.value=null},f=a.computed(()=>x(e.target)||l);return O(f,"mousedown",s("mouse"),{passive:!0,capture:o}),O(l,"mouseleave",c,{passive:!0,capture:o}),O(l,"mouseup",c,{passive:!0,capture:o}),n&&(O(f,"dragstart",s("mouse"),{passive:!0,capture:o}),O(l,"drop",c,{passive:!0,capture:o}),O(l,"dragend",c,{passive:!0,capture:o})),t&&(O(f,"touchstart",s("touch"),{passive:!0,capture:o}),O(l,"touchend",c,{passive:!0,capture:o}),O(l,"touchcancel",c,{passive:!0,capture:o})),{pressed:i,sourceType:r}}function bo(e={}){const{window:t=I}=e,n=t?.navigator,o=W(()=>n&&"language"in n),u=a.ref(n?.language);return O(t,"languagechange",()=>{n&&(u.value=n.language)}),{isSupported:o,language:u}}function et(e={}){const{window:t=I}=e,n=t?.navigator,o=W(()=>n&&"connection"in n),u=a.ref(!0),l=a.ref(!1),i=a.ref(void 0),r=a.ref(void 0),s=a.ref(void 0),c=a.ref(void 0),f=a.ref(void 0),d=a.ref(void 0),g=a.ref("unknown"),m=o.value&&n.connection;function p(){n&&(u.value=n.onLine,i.value=u.value?void 0:Date.now(),r.value=u.value?Date.now():void 0,m&&(s.value=m.downlink,c.value=m.downlinkMax,d.value=m.effectiveType,f.value=m.rtt,l.value=m.saveData,g.value=m.type))}return t&&(O(t,"offline",()=>{u.value=!1,i.value=Date.now()}),O(t,"online",()=>{u.value=!0,r.value=Date.now()})),m&&O(m,"change",p,!1),p(),{isSupported:a.readonly(o),isOnline:a.readonly(u),saveData:a.readonly(l),offlineAt:a.readonly(i),onlineAt:a.readonly(r),downlink:a.readonly(s),downlinkMax:a.readonly(c),effectiveType:a.readonly(d),rtt:a.readonly(f),type:a.readonly(g)}}function tt(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,o=a.ref(new Date),u=()=>o.value=new Date,l=n==="requestAnimationFrame"?G(u,{immediate:!0}):v.useIntervalFn(u,n,{immediate:!0});return t?{now:o,...l}:o}function So(e){const t=a.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return a.watch(()=>v.toValue(e),o=>{n(),o&&(t.value=URL.createObjectURL(o))},{immediate:!0}),v.tryOnScopeDispose(n),a.readonly(t)}function nt(e,t,n){if(typeof e=="function"||a.isReadonly(e))return a.computed(()=>v.clamp(v.toValue(e),v.toValue(t),v.toValue(n)));const o=a.ref(e);return a.computed({get(){return o.value=v.clamp(o.value,v.toValue(t),v.toValue(n))},set(u){o.value=v.clamp(u,v.toValue(t),v.toValue(n))}})}function Eo(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:o=1,onPageChange:u=v.noop,onPageSizeChange:l=v.noop,onPageCountChange:i=v.noop}=e,r=nt(n,1,Number.POSITIVE_INFINITY),s=a.computed(()=>Math.max(1,Math.ceil(v.toValue(t)/v.toValue(r)))),c=nt(o,1,s),f=a.computed(()=>c.value===1),d=a.computed(()=>c.value===s.value);a.isRef(o)&&v.syncRef(o,c,{direction:a.isReadonly(o)?"ltr":"both"}),a.isRef(n)&&v.syncRef(n,r,{direction:a.isReadonly(n)?"ltr":"both"});function g(){c.value--}function m(){c.value++}const p={currentPage:c,currentPageSize:r,pageCount:s,isFirstPage:f,isLastPage:d,prev:g,next:m};return a.watch(c,()=>{u(a.reactive(p))}),a.watch(r,()=>{l(a.reactive(p))}),a.watch(s,()=>{i(a.reactive(p))}),p}function To(e={}){const{isOnline:t}=et(e);return t}function ko(e={}){const{window:t=I}=e,n=a.ref(!1),o=u=>{if(!t)return;u=u||t.event;const l=u.relatedTarget||u.toElement;n.value=!l};return t&&(O(t,"mouseout",o,{passive:!0}),O(t.document,"mouseleave",o,{passive:!0}),O(t.document,"mouseenter",o,{passive:!0})),n}function ot(e={}){const{window:t=I}=e,n=W(()=>t&&"screen"in t&&"orientation"in t.screen),o=n.value?t.screen.orientation:{},u=a.ref(o.type),l=a.ref(o.angle||0);return n.value&&O(t,"orientationchange",()=>{u.value=o.type,l.value=o.angle}),{isSupported:n,orientation:u,angle:l,lockOrientation:s=>n.value&&typeof o.lock=="function"?o.lock(s):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oo(e,t={}){const{deviceOrientationTiltAdjust:n=h=>h,deviceOrientationRollAdjust:o=h=>h,mouseTiltAdjust:u=h=>h,mouseRollAdjust:l=h=>h,window:i=I}=t,r=a.reactive($e({window:i})),s=a.reactive(ot({window:i})),{elementX:c,elementY:f,elementWidth:d,elementHeight:g}=Ze(e,{handleOutside:!1,window:i}),m=a.computed(()=>r.isSupported&&(r.alpha!=null&&r.alpha!==0||r.gamma!=null&&r.gamma!==0)?"deviceOrientation":"mouse"),p=a.computed(()=>{if(m.value==="deviceOrientation"){let h;switch(s.orientation){case"landscape-primary":h=r.gamma/90;break;case"landscape-secondary":h=-r.gamma/90;break;case"portrait-primary":h=-r.beta/90;break;case"portrait-secondary":h=r.beta/90;break;default:h=-r.beta/90}return o(h)}else{const h=-(f.value-g.value/2)/g.value;return l(h)}}),y=a.computed(()=>{if(m.value==="deviceOrientation"){let h;switch(s.orientation){case"landscape-primary":h=r.beta/90;break;case"landscape-secondary":h=-r.beta/90;break;case"portrait-primary":h=r.gamma/90;break;case"portrait-secondary":h=-r.gamma/90;break;default:h=r.gamma/90}return n(h)}else{const h=(c.value-d.value/2)/d.value;return u(h)}});return{roll:p,tilt:y,source:m}}function _o(e=We()){const t=a.shallowRef(),n=()=>{const o=x(e);o&&(t.value=o.parentElement)};return v.tryOnMounted(n),a.watch(()=>v.toValue(e),n),t}function Ro(e,t){const{window:n=I,immediate:o=!0,...u}=e,l=W(()=>n&&"PerformanceObserver"in n);let i;const r=()=>{i?.disconnect()},s=()=>{l.value&&(r(),i=new PerformanceObserver(t),i.observe(u))};return v.tryOnScopeDispose(r),o&&s(),{isSupported:l,start:s,stop:r}}const lt={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Vo=Object.keys(lt);function Fo(e={}){const{target:t=I}=e,n=a.ref(!1),o=a.ref(e.initialValue||{});Object.assign(o.value,lt,o.value);const u=l=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(l.pointerType))&&(o.value=v.objectPick(l,Vo,!1))};if(t){const l={passive:!0};O(t,["pointerdown","pointermove","pointerup"],u,l),O(t,"pointerleave",()=>n.value=!1,l)}return{...v.toRefs(o),isInside:n}}function Po(e,t={}){const{document:n=B}=t,o=W(()=>n&&"pointerLockElement"in n),u=a.ref(),l=a.ref();let i;o.value&&(O(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;i&&f===i&&(u.value=n.pointerLockElement,u.value||(i=l.value=null))}),O(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:u.value;if(i&&f===i){const d=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${d} pointer lock.`)}}));async function r(c){var f;if(!o.value)throw new Error("Pointer Lock API is not supported by your browser.");if(l.value=c instanceof Event?c.currentTarget:null,i=c instanceof Event?(f=x(e))!=null?f:l.value:x(c),!i)throw new Error("Target element undefined.");return i.requestPointerLock(),await v.until(u).toBe(i)}async function s(){return u.value?(n.exitPointerLock(),await v.until(u).toBeNull(),!0):!1}return{isSupported:o,element:u,triggerElement:l,lock:r,unlock:s}}function Do(e,t={}){const n=v.toRef(e),{threshold:o=50,onSwipe:u,onSwipeEnd:l,onSwipeStart:i,disableTextSelect:r=!1}=t,s=a.reactive({x:0,y:0}),c=(k,V)=>{s.x=k,s.y=V},f=a.reactive({x:0,y:0}),d=(k,V)=>{f.x=k,f.y=V},g=a.computed(()=>s.x-f.x),m=a.computed(()=>s.y-f.y),{max:p,abs:y}=Math,h=a.computed(()=>p(y(g.value),y(m.value))>=o),b=a.ref(!1),w=a.ref(!1),S=a.computed(()=>h.value?y(g.value)>y(m.value)?g.value>0?"left":"right":m.value>0?"up":"down":"none"),T=k=>{var V,D,P;const R=k.buttons===0,F=k.buttons===1;return(P=(D=(V=t.pointerTypes)==null?void 0:V.includes(k.pointerType))!=null?D:R||F)!=null?P:!0},_=[O(e,"pointerdown",k=>{if(!T(k))return;w.value=!0;const V=k.target;V?.setPointerCapture(k.pointerId);const{clientX:D,clientY:P}=k;c(D,P),d(D,P),i?.(k)}),O(e,"pointermove",k=>{if(!T(k)||!w.value)return;const{clientX:V,clientY:D}=k;d(V,D),!b.value&&h.value&&(b.value=!0),b.value&&u?.(k)}),O(e,"pointerup",k=>{T(k)&&(b.value&&l?.(k,S.value),w.value=!1,b.value=!1)})];v.tryOnMounted(()=>{var k,V,D,P,R,F,A,L;(V=(k=n.value)==null?void 0:k.style)==null||V.setProperty("touch-action","none"),r&&((P=(D=n.value)==null?void 0:D.style)==null||P.setProperty("-webkit-user-select","none"),(F=(R=n.value)==null?void 0:R.style)==null||F.setProperty("-ms-user-select","none"),(L=(A=n.value)==null?void 0:A.style)==null||L.setProperty("user-select","none"))});const C=()=>_.forEach(k=>k());return{isSwiping:a.readonly(b),direction:a.readonly(S),posStart:a.readonly(s),posEnd:a.readonly(f),distanceX:g,distanceY:m,stop:C}}function Co(e){const t=j("(prefers-color-scheme: light)",e),n=j("(prefers-color-scheme: dark)",e);return a.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function Ao(e){const t=j("(prefers-contrast: more)",e),n=j("(prefers-contrast: less)",e),o=j("(prefers-contrast: custom)",e);return a.computed(()=>t.value?"more":n.value?"less":o.value?"custom":"no-preference")}function Mo(e={}){const{window:t=I}=e;if(!t)return a.ref(["en"]);const n=t.navigator,o=a.ref(n.languages);return O(t,"languagechange",()=>{o.value=n.languages}),o}function Io(e){const t=j("(prefers-reduced-motion: reduce)",e);return a.computed(()=>t.value?"reduce":"no-preference")}function Lo(e){const t=j("(prefers-reduced-transparency: reduce)",e);return a.computed(()=>t.value?"reduce":"no-preference")}function No(e,t){const n=a.shallowRef(t);return a.watch(v.toRef(e),(o,u)=>{n.value=u},{flush:"sync"}),a.readonly(n)}const rt="--vueuse-safe-area-top",at="--vueuse-safe-area-right",it="--vueuse-safe-area-bottom",ut="--vueuse-safe-area-left";function xo(){const e=a.ref(""),t=a.ref(""),n=a.ref(""),o=a.ref("");if(v.isClient){const l=te(rt),i=te(at),r=te(it),s=te(ut);l.value="env(safe-area-inset-top, 0px)",i.value="env(safe-area-inset-right, 0px)",r.value="env(safe-area-inset-bottom, 0px)",s.value="env(safe-area-inset-left, 0px)",u(),O("resize",v.useDebounceFn(u))}function u(){e.value=pe(rt),t.value=pe(at),n.value=pe(it),o.value=pe(ut)}return{top:e,right:t,bottom:n,left:o,update:u}}function pe(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Wo(e,t=v.noop,n={}){const{immediate:o=!0,manual:u=!1,type:l="text/javascript",async:i=!0,crossOrigin:r,referrerPolicy:s,noModule:c,defer:f,document:d=B,attrs:g={}}=n,m=a.ref(null);let p=null;const y=w=>new Promise((S,T)=>{const _=V=>(m.value=V,S(V),V);if(!d){S(!1);return}let C=!1,k=d.querySelector(`script[src="${v.toValue(e)}"]`);k?k.hasAttribute("data-loaded")&&_(k):(k=d.createElement("script"),k.type=l,k.async=i,k.src=v.toValue(e),f&&(k.defer=f),r&&(k.crossOrigin=r),c&&(k.noModule=c),s&&(k.referrerPolicy=s),Object.entries(g).forEach(([V,D])=>k?.setAttribute(V,D)),C=!0),k.addEventListener("error",V=>T(V)),k.addEventListener("abort",V=>T(V)),k.addEventListener("load",()=>{k.setAttribute("data-loaded","true"),t(k),_(k)}),C&&(k=d.head.appendChild(k)),w||_(k)}),h=(w=!0)=>(p||(p=y(w)),p),b=()=>{if(!d)return;p=null,m.value&&(m.value=null);const w=d.querySelector(`script[src="${v.toValue(e)}"]`);w&&d.head.removeChild(w)};return o&&!u&&v.tryOnMounted(h),u||v.tryOnUnmounted(b),{scriptTag:m,load:h,unload:b}}function st(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:st(n)}}function Ho(e){const t=e||window.event,n=t.target;return st(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Oe=new WeakMap;function Uo(e,t=!1){const n=a.ref(t);let o=null,u="";a.watch(v.toRef(e),r=>{const s=me(v.toValue(r));if(s){const c=s;if(Oe.get(c)||Oe.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(u=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const l=()=>{const r=me(v.toValue(e));!r||n.value||(v.isIOS&&(o=O(r,"touchmove",s=>{Ho(s)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},i=()=>{const r=me(v.toValue(e));!r||!n.value||(v.isIOS&&o?.(),r.style.overflow=u,Oe.delete(r),n.value=!1)};return v.tryOnScopeDispose(i),a.computed({get(){return n.value},set(r){r?l():i()}})}function $o(e,t,n={}){const{window:o=I}=n;return fe(e,t,o?.sessionStorage,n)}function Bo(e={},t={}){const{navigator:n=z}=t,o=n,u=W(()=>o&&"canShare"in o);return{isSupported:u,share:async(i={})=>{if(u.value){const r={...v.toValue(e),...v.toValue(i)};let s=!0;if(r.files&&o.canShare&&(s=o.canShare({files:r.files})),s)return o.share(r)}}}}const jo=(e,t)=>e.sort(t),ye=(e,t)=>e-t;function zo(...e){var t,n,o,u;const[l]=e;let i=ye,r={};e.length===2?typeof e[1]=="object"?(r=e[1],i=(t=r.compareFn)!=null?t:ye):i=(n=e[1])!=null?n:ye:e.length>2&&(i=(o=e[1])!=null?o:ye,r=(u=e[2])!=null?u:{});const{dirty:s=!1,sortFn:c=jo}=r;return s?(a.watchEffect(()=>{const f=c(v.toValue(l),i);a.isRef(l)?l.value=f:l.splice(0,l.length,...f)}),l):a.computed(()=>c([...v.toValue(l)],i))}function qo(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:o=1,window:u=I}=e,l=v.toRef(e.lang||"en-US"),i=a.ref(!1),r=a.ref(!1),s=a.ref(""),c=a.shallowRef(void 0),f=(h=!i.value)=>{i.value=h},d=()=>{i.value=!0},g=()=>{i.value=!1},m=u&&(u.SpeechRecognition||u.webkitSpeechRecognition),p=W(()=>m);let y;return p.value&&(y=new m,y.continuous=n,y.interimResults=t,y.lang=v.toValue(l),y.maxAlternatives=o,y.onstart=()=>{r.value=!1},a.watch(l,h=>{y&&!i.value&&(y.lang=h)}),y.onresult=h=>{const b=h.results[h.resultIndex],{transcript:w}=b[0];r.value=b.isFinal,s.value=w,c.value=void 0},y.onerror=h=>{c.value=h},y.onend=()=>{i.value=!1,y.lang=v.toValue(l)},a.watch(i,()=>{i.value?y.start():y.stop()})),v.tryOnScopeDispose(()=>{i.value=!1}),{isSupported:p,isListening:i,isFinal:r,recognition:y,result:s,error:c,toggle:f,start:d,stop:g}}function Go(e,t={}){const{pitch:n=1,rate:o=1,volume:u=1,window:l=I}=t,i=l&&l.speechSynthesis,r=W(()=>i),s=a.ref(!1),c=a.ref("init"),f=v.toRef(e||""),d=v.toRef(t.lang||"en-US"),g=a.shallowRef(void 0),m=(w=!s.value)=>{s.value=w},p=w=>{w.lang=v.toValue(d),w.voice=v.toValue(t.voice)||null,w.pitch=v.toValue(n),w.rate=v.toValue(o),w.volume=u,w.onstart=()=>{s.value=!0,c.value="play"},w.onpause=()=>{s.value=!1,c.value="pause"},w.onresume=()=>{s.value=!0,c.value="play"},w.onend=()=>{s.value=!1,c.value="end"},w.onerror=S=>{g.value=S}},y=a.computed(()=>{s.value=!1,c.value="init";const w=new SpeechSynthesisUtterance(f.value);return p(w),w}),h=()=>{i.cancel(),y&&i.speak(y.value)},b=()=>{i.cancel(),s.value=!1};return r.value&&(p(y.value),a.watch(d,w=>{y.value&&!s.value&&(y.value.lang=w)}),t.voice&&a.watch(t.voice,()=>{i.cancel()}),a.watch(s,()=>{s.value?i.resume():i.pause()})),v.tryOnScopeDispose(()=>{s.value=!1}),{isSupported:r,isPlaying:s,status:c,utterance:y,error:g,stop:b,toggle:m,speak:h}}function Yo(e,t){const n=a.ref(e),o=a.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),u=a.ref(o.value.indexOf(t??o.value[0])),l=a.computed(()=>f(u.value)),i=a.computed(()=>u.value===0),r=a.computed(()=>u.value===o.value.length-1),s=a.computed(()=>o.value[u.value+1]),c=a.computed(()=>o.value[u.value-1]);function f(_){return Array.isArray(n.value)?n.value[_]:n.value[o.value[_]]}function d(_){if(o.value.includes(_))return f(o.value.indexOf(_))}function g(_){o.value.includes(_)&&(u.value=o.value.indexOf(_))}function m(){r.value||u.value++}function p(){i.value||u.value--}function y(_){T(_)&&g(_)}function h(_){return o.value.indexOf(_)===u.value+1}function b(_){return o.value.indexOf(_)===u.value-1}function w(_){return o.value.indexOf(_)===u.value}function S(_){return u.value<o.value.indexOf(_)}function T(_){return u.value>o.value.indexOf(_)}return{steps:n,stepNames:o,index:u,current:l,next:s,previous:c,isFirst:i,isLast:r,at:f,get:d,goTo:g,goToNext:m,goToPrevious:p,goBackTo:y,isNext:h,isPrevious:b,isCurrent:w,isBefore:S,isAfter:T}}function Xo(e,t,n,o={}){var u;const{flush:l="pre",deep:i=!0,listenToStorageChanges:r=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:f,window:d=I,eventFilter:g,onError:m=S=>{console.error(S)}}=o,p=v.toValue(t),y=Ne(p),h=(f?a.shallowRef:a.ref)(t),b=(u=o.serializer)!=null?u:be[y];if(!n)try{n=ce("getDefaultStorageAsync",()=>{var S;return(S=I)==null?void 0:S.localStorage})()}catch(S){m(S)}async function w(S){if(!(!n||S&&S.key!==e))try{const T=S?S.newValue:await n.getItem(e);if(T==null)h.value=p,s&&p!==null&&await n.setItem(e,await b.write(p));else if(c){const _=await b.read(T);typeof c=="function"?h.value=c(_,p):y==="object"&&!Array.isArray(_)?h.value={...p,..._}:h.value=_}else h.value=await b.read(T)}catch(T){m(T)}}return w(),d&&r&&O(d,"storage",S=>Promise.resolve().then(()=>w(S))),n&&v.watchWithFilter(h,async()=>{try{h.value==null?await n.removeItem(e):await n.setItem(e,await b.write(h.value))}catch(S){m(S)}},{flush:l,deep:i,eventFilter:g}),h}let Ko=0;function Jo(e,t={}){const n=a.ref(!1),{document:o=B,immediate:u=!0,manual:l=!1,id:i=`vueuse_styletag_${++Ko}`}=t,r=a.ref(e);let s=()=>{};const c=()=>{if(!o)return;const d=o.getElementById(i)||o.createElement("style");d.isConnected||(d.id=i,t.media&&(d.media=t.media),o.head.appendChild(d)),!n.value&&(s=a.watch(r,g=>{d.textContent=g},{immediate:!0}),n.value=!0)},f=()=>{!o||!n.value||(s(),o.head.removeChild(o.getElementById(i)),n.value=!1)};return u&&!l&&v.tryOnMounted(c),l||v.tryOnScopeDispose(f),{id:i,css:r,unload:f,load:c,isLoaded:a.readonly(n)}}function Qo(e,t={}){const{threshold:n=50,onSwipe:o,onSwipeEnd:u,onSwipeStart:l,passive:i=!0,window:r=I}=t,s=a.reactive({x:0,y:0}),c=a.reactive({x:0,y:0}),f=a.computed(()=>s.x-c.x),d=a.computed(()=>s.y-c.y),{max:g,abs:m}=Math,p=a.computed(()=>g(m(f.value),m(d.value))>=n),y=a.ref(!1),h=a.computed(()=>p.value?m(f.value)>m(d.value)?f.value>0?"left":"right":d.value>0?"up":"down":"none"),b=D=>[D.touches[0].clientX,D.touches[0].clientY],w=(D,P)=>{s.x=D,s.y=P},S=(D,P)=>{c.x=D,c.y=P};let T;const _=Zo(r?.document);i?T=_?{passive:!0}:{capture:!1}:T=_?{passive:!1,capture:!0}:{capture:!0};const C=D=>{y.value&&u?.(D,h.value),y.value=!1},k=[O(e,"touchstart",D=>{if(D.touches.length!==1)return;const[P,R]=b(D);w(P,R),S(P,R),l?.(D)},T),O(e,"touchmove",D=>{if(D.touches.length!==1)return;const[P,R]=b(D);S(P,R),T.capture&&!T.passive&&Math.abs(f.value)>Math.abs(d.value)&&D.preventDefault(),!y.value&&p.value&&(y.value=!0),y.value&&o?.(D)},T),O(e,["touchend","touchcancel"],C,T)];return{isPassiveEventSupported:_,isSwiping:y,direction:h,coordsStart:s,coordsEnd:c,lengthX:f,lengthY:d,stop:()=>k.forEach(D=>D())}}function Zo(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",v.noop,n),e.removeEventListener("x",v.noop),t}function el(){const e=a.ref([]);return e.value.set=t=>{t&&e.value.push(t)},a.onBeforeUpdate(()=>{e.value.length=0}),e}function tl(e={}){const{document:t=B,selector:n="html",observe:o=!1,initialValue:u="ltr"}=e;function l(){var r,s;return(s=(r=t?.querySelector(n))==null?void 0:r.getAttribute("dir"))!=null?s:u}const i=a.ref(l());return v.tryOnMounted(()=>i.value=l()),o&&t&&K(t.querySelector(n),()=>i.value=l(),{attributes:!0}),a.computed({get(){return i.value},set(r){var s,c;i.value=r,t&&(i.value?(s=t.querySelector(n))==null||s.setAttribute("dir",i.value):(c=t.querySelector(n))==null||c.removeAttribute("dir"))}})}function nl(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(o,u)=>e.getRangeAt(u))}function ol(e={}){const{window:t=I}=e,n=a.ref(null),o=a.computed(()=>{var r,s;return(s=(r=n.value)==null?void 0:r.toString())!=null?s:""}),u=a.computed(()=>n.value?nl(n.value):[]),l=a.computed(()=>u.value.map(r=>r.getBoundingClientRect()));function i(){n.value=null,t&&(n.value=t.getSelection())}return t&&O(t.document,"selectionchange",i),{text:o,rects:l,ranges:u,selection:n}}function ll(e){var t,n;const o=v.toRef(e?.element),u=v.toRef((t=e?.input)!=null?t:""),l=(n=e?.styleProp)!=null?n:"height",i=a.ref(1),r=a.ref(0);function s(){var c;if(!o.value)return;let f="";o.value.style[l]="1px",i.value=(c=o.value)==null?void 0:c.scrollHeight;const d=v.toValue(e?.styleTarget);d?d.style[l]=`${i.value}px`:f=`${i.value}px`,o.value.style[l]=f}return a.watch([u,o],()=>a.nextTick(s),{immediate:!0}),a.watch(i,()=>{var c;return(c=e?.onResize)==null?void 0:c.call(e)}),de(o,([{contentRect:c}])=>{r.value!==c.width&&(r.value=c.width,s())}),e?.watch&&a.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:o,input:u,triggerResize:s}}function rl(e,t={}){const{throttle:n=200,trailing:o=!0}=t,u=v.throttleFilter(n,o);return{...Ee(e,{...t,eventFilter:u})}}const al=[{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:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],il={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:""};function ul(e){return e.toISOString().slice(0,10)}function sl(e,t={}){const{controls:n=!1,updateInterval:o=3e4}=t,{now:u,...l}=tt({interval:o,controls:!0}),i=a.computed(()=>ct(new Date(v.toValue(e)),t,v.toValue(u)));return n?{timeAgo:i,...l}:i}function ct(e,t={},n=Date.now()){var o;const{max:u,messages:l=il,fullDateFormatter:i=ul,units:r=al,showSecond:s=!1,rounding:c="round"}=t,f=typeof c=="number"?h=>+h.toFixed(c):Math[c],d=+n-+e,g=Math.abs(d);function m(h,b){return f(Math.abs(h)/b.value)}function p(h,b){const w=m(h,b),S=h>0,T=y(b.name,w,S);return y(S?"past":"future",T,S)}function y(h,b,w){const S=l[h];return typeof S=="function"?S(b,w):S.replace("{0}",b.toString())}if(g<6e4&&!s)return l.justNow;if(typeof u=="number"&&g>u)return i(new Date(e));if(typeof u=="string"){const h=(o=r.find(b=>b.name===u))==null?void 0:o.max;if(h&&g>h)return i(new Date(e))}for(const[h,b]of r.entries()){if(m(d,b)<=0&&r[h-1])return p(d,r[h-1]);if(g<b.max)return p(d,b)}return l.invalid}function cl(e,t,n){const{start:o}=v.useTimeoutFn(l,t,{immediate:!1}),u=a.ref(!1);async function l(){u.value&&(await e(),o())}function i(){u.value||(u.value=!0,l())}function r(){u.value=!1}return n?.immediate&&i(),v.tryOnScopeDispose(r),{isActive:u,pause:r,resume:i}}function fl(e={}){const{controls:t=!1,offset:n=0,immediate:o=!0,interval:u="requestAnimationFrame",callback:l}=e,i=a.ref(v.timestamp()+n),r=()=>i.value=v.timestamp()+n,s=l?()=>{r(),l(i.value)}:r,c=u==="requestAnimationFrame"?G(s,{immediate:o}):v.useIntervalFn(s,u,{immediate:o});return t?{timestamp:i,...c}:i}function dl(e=null,t={}){var n,o,u;const{document:l=B,restoreOnUnmount:i=d=>d}=t,r=(n=l?.title)!=null?n:"",s=v.toRef((o=e??l?.title)!=null?o:null),c=e&&typeof e=="function";function f(d){if(!("titleTemplate"in t))return d;const g=t.titleTemplate||"%s";return typeof g=="function"?g(d):v.toValue(g).replace(/%s/g,d)}return a.watch(s,(d,g)=>{d!==g&&l&&(l.title=f(typeof d=="string"?d:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&l&&!c&&K((u=l.head)==null?void 0:u.querySelector("title"),()=>{l&&l.title!==s.value&&(s.value=f(l.title))},{childList:!0}),v.tryOnBeforeUnmount(()=>{if(i){const d=i(r,s.value||"");d!=null&&l&&(l.title=d)}}),s}const vl={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]},ml=Object.assign({},{linear:v.identity},vl);function pl([e,t,n,o]){const u=(f,d)=>1-3*d+3*f,l=(f,d)=>3*d-6*f,i=f=>3*f,r=(f,d,g)=>((u(d,g)*f+l(d,g))*f+i(d))*f,s=(f,d,g)=>3*u(d,g)*f*f+2*l(d,g)*f+i(d),c=f=>{let d=f;for(let g=0;g<4;++g){const m=s(d,e,n);if(m===0)return d;const p=r(d,e,n)-f;d-=p/m}return d};return f=>e===t&&n===o?f:r(c(f),t,o)}function ft(e,t,n){return e+n*(t-e)}function _e(e){return(typeof e=="number"?[e]:e)||[]}function dt(e,t,n,o={}){var u,l;const i=v.toValue(t),r=v.toValue(n),s=_e(i),c=_e(r),f=(u=v.toValue(o.duration))!=null?u:1e3,d=Date.now(),g=Date.now()+f,m=typeof o.transition=="function"?o.transition:(l=v.toValue(o.transition))!=null?l:v.identity,p=typeof m=="function"?m:pl(m);return new Promise(y=>{e.value=i;const h=()=>{var b;if((b=o.abort)!=null&&b.call(o)){y();return}const w=Date.now(),S=p((w-d)/f),T=_e(e.value).map((_,C)=>ft(s[C],c[C],S));Array.isArray(e.value)?e.value=T.map((_,C)=>{var k,V;return ft((k=s[C])!=null?k:0,(V=c[C])!=null?V:0,S)}):typeof e.value=="number"&&(e.value=T[0]),w<g?requestAnimationFrame(h):(e.value=r,y())};h()})}function yl(e,t={}){let n=0;const o=()=>{const l=v.toValue(e);return typeof l=="number"?l:l.map(v.toValue)},u=a.ref(o());return a.watch(o,async l=>{var i,r;if(v.toValue(t.disabled))return;const s=++n;if(t.delay&&await v.promiseTimeout(v.toValue(t.delay)),s!==n)return;const c=Array.isArray(l)?l.map(v.toValue):v.toValue(l);(i=t.onStarted)==null||i.call(t),await dt(u,u.value,c,{...t,abort:()=>{var f;return s!==n||((f=t.abort)==null?void 0:f.call(t))}}),(r=t.onFinished)==null||r.call(t)},{deep:!0}),a.watch(()=>v.toValue(t.disabled),l=>{l&&(n++,u.value=o())}),v.tryOnScopeDispose(()=>{n++}),a.computed(()=>v.toValue(t.disabled)?o():u.value)}function gl(e="history",t={}){const{initialValue:n={},removeNullishValues:o=!0,removeFalsyValues:u=!1,write:l=!0,writeMode:i="replace",window:r=I}=t;if(!r)return a.reactive(n);const s=a.reactive({});function c(){if(e==="history")return r.location.search||"";if(e==="hash"){const w=r.location.hash||"",S=w.indexOf("?");return S>0?w.slice(S):""}else return(r.location.hash||"").replace(/^#/,"")}function f(w){const S=w.toString();if(e==="history")return`${S?`?${S}`:""}${r.location.hash||""}`;if(e==="hash-params")return`${r.location.search||""}${S?`#${S}`:""}`;const T=r.location.hash||"#",_=T.indexOf("?");return _>0?`${r.location.search||""}${T.slice(0,_)}${S?`?${S}`:""}`:`${r.location.search||""}${T}${S?`?${S}`:""}`}function d(){return new URLSearchParams(c())}function g(w){const S=new Set(Object.keys(s));for(const T of w.keys()){const _=w.getAll(T);s[T]=_.length>1?_:w.get(T)||"",S.delete(T)}Array.from(S).forEach(T=>delete s[T])}const{pause:m,resume:p}=v.pausableWatch(s,()=>{const w=new URLSearchParams("");Object.keys(s).forEach(S=>{const T=s[S];Array.isArray(T)?T.forEach(_=>w.append(S,_)):o&&T==null||u&&!T?w.delete(S):w.set(S,T)}),y(w,!1)},{deep:!0});function y(w,S){m(),S&&g(w),i==="replace"?r.history.replaceState(r.history.state,r.document.title,r.location.pathname+f(w)):r.history.pushState(r.history.state,r.document.title,r.location.pathname+f(w)),p()}function h(){l&&y(d(),!0)}O(r,"popstate",h,!1),e!=="history"&&O(r,"hashchange",h,!1);const b=d();return b.keys().next().value?g(b):Object.assign(s,n),s}function hl(e={}){var t,n;const o=a.ref((t=e.enabled)!=null?t:!1),u=a.ref((n=e.autoSwitch)!=null?n:!0),l=a.ref(e.constraints),{navigator:i=z}=e,r=W(()=>{var y;return(y=i?.mediaDevices)==null?void 0:y.getUserMedia}),s=a.shallowRef();function c(y){switch(y){case"video":{if(l.value)return l.value.video||!1;break}case"audio":{if(l.value)return l.value.audio||!1;break}}}async function f(){if(!(!r.value||s.value))return s.value=await i.mediaDevices.getUserMedia({video:c("video"),audio:c("audio")}),s.value}function d(){var y;(y=s.value)==null||y.getTracks().forEach(h=>h.stop()),s.value=void 0}function g(){d(),o.value=!1}async function m(){return await f(),s.value&&(o.value=!0),s.value}async function p(){return d(),await m()}return a.watch(o,y=>{y?f():d()},{immediate:!0}),a.watch(l,()=>{u.value&&s.value&&p()},{immediate:!0}),v.tryOnScopeDispose(()=>{g()}),{isSupported:r,stream:s,start:m,stop:g,restart:p,constraints:l,enabled:o,autoSwitch:u}}function vt(e,t,n,o={}){var u,l,i;const{clone:r=!1,passive:s=!1,eventName:c,deep:f=!1,defaultValue:d,shouldEmit:g}=o,m=a.getCurrentInstance(),p=n||m?.emit||((u=m?.$emit)==null?void 0:u.bind(m))||((i=(l=m?.proxy)==null?void 0:l.$emit)==null?void 0:i.bind(m?.proxy));let y=c;t||(t="modelValue"),y=y||`update:${t.toString()}`;const h=S=>r?typeof r=="function"?r(S):ee(S):S,b=()=>v.isDef(e[t])?h(e[t]):d,w=S=>{g?g(S)&&p(y,S):p(y,S)};if(s){const S=b(),T=a.ref(S);let _=!1;return a.watch(()=>e[t],C=>{_||(_=!0,T.value=h(C),a.nextTick(()=>_=!1))}),a.watch(T,C=>{!_&&(C!==e[t]||f)&&w(C)},{deep:f}),T}else return a.computed({get(){return b()},set(S){w(S)}})}function wl(e,t,n={}){const o={};for(const u in e)o[u]=vt(e,u,t,n);return o}function bl(e){const{pattern:t=[],interval:n=0,navigator:o=z}=e||{},u=W(()=>typeof o<"u"&&"vibrate"in o),l=v.toRef(t);let i;const r=(c=l.value)=>{u.value&&o.vibrate(c)},s=()=>{u.value&&o.vibrate(0),i?.pause()};return n>0&&(i=v.useIntervalFn(r,n,{immediate:!1,immediateCallback:!1})),{isSupported:u,pattern:t,intervalControls:i,vibrate:r,stop:s}}function Sl(e,t){const{containerStyle:n,wrapperProps:o,scrollTo:u,calculateRange:l,currentList:i,containerRef:r}="itemHeight"in t?kl(t,e):Tl(t,e);return{list:i,scrollTo:u,containerProps:{ref:r,onScroll:()=>{l()},style:n},wrapperProps:o}}function mt(e){const t=a.ref(null),n=je(t),o=a.ref([]),u=a.shallowRef(e);return{state:a.ref({start:0,end:10}),source:u,currentList:o,size:n,containerRef:t}}function pt(e,t,n){return o=>{if(typeof n=="number")return Math.ceil(o/n);const{start:u=0}=e.value;let l=0,i=0;for(let r=u;r<t.value.length;r++){const s=n(r);if(l+=s,i=r,l>o)break}return i-u}}function yt(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let o=0,u=0;for(let l=0;l<e.value.length;l++){const i=t(l);if(o+=i,o>=n){u=l;break}}return u+1}}function gt(e,t,n,o,{containerRef:u,state:l,currentList:i,source:r}){return()=>{const s=u.value;if(s){const c=n(e==="vertical"?s.scrollTop:s.scrollLeft),f=o(e==="vertical"?s.clientHeight:s.clientWidth),d=c-t,g=c+f+t;l.value={start:d<0?0:d,end:g>r.value.length?r.value.length:g},i.value=r.value.slice(l.value.start,l.value.end).map((m,p)=>({data:m,index:p+l.value.start}))}}}function ht(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((u,l,i)=>u+e(i),0)}function wt(e,t,n,o){a.watch([e.width,e.height,t,n],()=>{o()})}function bt(e,t){return a.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,o,u)=>n+e(u),0))}const El={horizontal:"scrollLeft",vertical:"scrollTop"};function St(e,t,n,o){return u=>{o.value&&(o.value[El[e]]=n(u),t())}}function Tl(e,t){const n=mt(t),{state:o,source:u,currentList:l,size:i,containerRef:r}=n,s={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,d=pt(o,u,c),g=yt(u,c),m=gt("horizontal",f,g,d,n),p=ht(c,u),y=a.computed(()=>p(o.value.start)),h=bt(c,u);wt(i,t,r,m);const b=St("horizontal",m,p,r),w=a.computed(()=>({style:{height:"100%",width:`${h.value-y.value}px`,marginLeft:`${y.value}px`,display:"flex"}}));return{scrollTo:b,calculateRange:m,wrapperProps:w,containerStyle:s,currentList:l,containerRef:r}}function kl(e,t){const n=mt(t),{state:o,source:u,currentList:l,size:i,containerRef:r}=n,s={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,d=pt(o,u,c),g=yt(u,c),m=gt("vertical",f,g,d,n),p=ht(c,u),y=a.computed(()=>p(o.value.start)),h=bt(c,u);wt(i,t,r,m);const b=St("vertical",m,p,r),w=a.computed(()=>({style:{width:"100%",height:`${h.value-y.value}px`,marginTop:`${y.value}px`}}));return{calculateRange:m,scrollTo:b,containerStyle:s,wrapperProps:w,currentList:l,containerRef:r}}function Ol(e={}){const{navigator:t=z,document:n=B}=e,o=a.ref(!1),u=a.shallowRef(null),l=Be({document:n}),i=W(()=>t&&"wakeLock"in t),r=a.computed(()=>!!u.value&&l.value==="visible");i.value&&(O(u,"release",()=>{var d,g;o.value=(g=(d=u.value)==null?void 0:d.type)!=null?g:!1}),v.whenever(()=>l.value==="visible"&&n?.visibilityState==="visible"&&o.value,d=>{o.value=!1,s(d)}));async function s(d){var g;await((g=u.value)==null?void 0:g.release()),u.value=i.value?await t.wakeLock.request(d):null}async function c(d){l.value==="visible"?await s(d):o.value=d}async function f(){o.value=!1;const d=u.value;u.value=null,await d?.release()}return{sentinel:u,isSupported:i,isActive:r,request:c,forceRequest:s,release:f}}function _l(e={}){const{window:t=I,requestPermissions:n=!0}=e,o=e,u=W(()=>{if(!t||!("Notification"in t))return!1;if(Notification.permission==="granted")return!0;try{const w=new Notification("");w.onshow=()=>{w.close()}}catch(w){if(w.name==="TypeError")return!1}return!0}),l=a.ref(u.value&&"permission"in Notification&&Notification.permission==="granted"),i=a.ref(null),r=async()=>{if(u.value)return!l.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(l.value=!0),l.value},{on:s,trigger:c}=v.createEventHook(),{on:f,trigger:d}=v.createEventHook(),{on:g,trigger:m}=v.createEventHook(),{on:p,trigger:y}=v.createEventHook(),h=async w=>{if(!u.value||!l.value)return;const S=Object.assign({},o,w);return i.value=new Notification(S.title||"",S),i.value.onclick=c,i.value.onshow=d,i.value.onerror=m,i.value.onclose=y,i.value},b=()=>{i.value&&i.value.close(),i.value=null};if(n&&v.tryOnMounted(r),v.tryOnScopeDispose(b),u.value&&t){const w=t.document;O(w,"visibilitychange",S=>{S.preventDefault(),w.visibilityState==="visible"&&b()})}return{isSupported:u,notification:i,ensurePermissions:r,permissionGranted:l,show:h,close:b,onClick:s,onShow:f,onError:g,onClose:p}}const Et="ping";function Re(e){return e===!0?{}:e}function Rl(e,t={}){const{onConnected:n,onDisconnected:o,onError:u,onMessage:l,immediate:i=!0,autoConnect:r=!0,autoClose:s=!0,protocols:c=[]}=t,f=a.ref(null),d=a.ref("CLOSED"),g=a.ref(),m=v.toRef(e);let p,y,h=!1,b=0,w=[],S,T;const _=()=>{if(w.length&&g.value&&d.value==="OPEN"){for(const F of w)g.value.send(F);w=[]}},C=()=>{S!=null&&(clearTimeout(S),S=void 0)},k=()=>{clearTimeout(T),T=void 0},V=(F=1e3,A)=>{C(),!(!v.isClient&&!v.isWorker||!g.value)&&(h=!0,k(),p?.(),g.value.close(F,A),g.value=void 0)},D=(F,A=!0)=>!g.value||d.value!=="OPEN"?(A&&w.push(F),!1):(_(),g.value.send(F),!0),P=()=>{if(h||typeof m.value>"u")return;const F=new WebSocket(m.value,c);g.value=F,d.value="CONNECTING",F.onopen=()=>{d.value="OPEN",b=0,n?.(F),y?.(),_()},F.onclose=A=>{if(d.value="CLOSED",o?.(F,A),!h&&t.autoReconnect&&(g.value==null||F===g.value)){const{retries:L=-1,delay:H=1e3,onFailed:M}=Re(t.autoReconnect);typeof L=="number"&&(L<0||b<L)?(b+=1,S=setTimeout(P,H)):typeof L=="function"&&L()?S=setTimeout(P,H):M?.()}},F.onerror=A=>{u?.(F,A)},F.onmessage=A=>{if(t.heartbeat){k();const{message:L=Et,responseMessage:H=L}=Re(t.heartbeat);if(A.data===v.toValue(H))return}f.value=A.data,l?.(F,A)}};if(t.heartbeat){const{message:F=Et,interval:A=1e3,pongTimeout:L=1e3}=Re(t.heartbeat),{pause:H,resume:M}=v.useIntervalFn(()=>{D(v.toValue(F),!1),T==null&&(T=setTimeout(()=>{V(),h=!1},L))},A,{immediate:!1});p=H,y=M}s&&(v.isClient&&O("beforeunload",()=>V()),v.tryOnScopeDispose(V));const R=()=>{!v.isClient&&!v.isWorker||(V(),h=!1,b=0,P())};return i&&R(),r&&a.watch(m,R),{data:f,status:d,close:V,send:D,open:R,ws:g}}function Vl(e,t,n){const{window:o=I}=n??{},u=a.ref(null),l=a.shallowRef(),i=(...s)=>{l.value&&l.value.postMessage(...s)},r=function(){l.value&&l.value.terminate()};return o&&(typeof e=="string"?l.value=new Worker(e,t):typeof e=="function"?l.value=e():l.value=e,l.value.onmessage=s=>{u.value=s.data},v.tryOnScopeDispose(()=>{l.value&&l.value.terminate()})),{data:u,post:i,terminate:r,worker:l}}function Fl(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(l=>`'${l}'`).toString(),o=t.filter(l=>typeof l=="function").map(l=>{const i=l.toString();return i.trim().startsWith("function")?i:`const ${l.name} = ${i}`}).join(";"),u=`importScripts(${n});`;return`${n.trim()===""?"":u} ${o}`}function Pl(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(o=>{postMessage(["SUCCESS",o])}).catch(o=>{postMessage(["ERROR",o])})}}function Dl(e,t,n){const o=`${Fl(t,n)}; onmessage=(${Pl})(${e})`,u=new Blob([o],{type:"text/javascript"});return URL.createObjectURL(u)}function Cl(e,t={}){const{dependencies:n=[],localDependencies:o=[],timeout:u,window:l=I}=t,i=a.ref(),r=a.ref("PENDING"),s=a.ref({}),c=a.ref(),f=(p="PENDING")=>{i.value&&i.value._url&&l&&(i.value.terminate(),URL.revokeObjectURL(i.value._url),s.value={},i.value=void 0,l.clearTimeout(c.value),r.value=p)};f(),v.tryOnScopeDispose(f);const d=()=>{const p=Dl(e,n,o),y=new Worker(p);return y._url=p,y.onmessage=h=>{const{resolve:b=()=>{},reject:w=()=>{}}=s.value,[S,T]=h.data;switch(S){case"SUCCESS":b(T),f(S);break;default:w(T),f("ERROR");break}},y.onerror=h=>{const{reject:b=()=>{}}=s.value;h.preventDefault(),b(h),f("ERROR")},u&&(c.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),u)),y},g=(...p)=>new Promise((y,h)=>{var b;s.value={resolve:y,reject:h},(b=i.value)==null||b.postMessage([[...p]]),r.value="RUNNING"});return{workerFn:(...p)=>r.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(i.value=d(),g(...p)),workerStatus:r,workerTerminate:f}}function Al(e={}){const{window:t=I}=e;if(!t)return a.ref(!1);const n=a.ref(t.document.hasFocus());return O(t,"blur",()=>{n.value=!1}),O(t,"focus",()=>{n.value=!0}),n}function Ml(e={}){const{window:t=I,behavior:n="auto"}=e;if(!t)return{x:a.ref(0),y:a.ref(0)};const o=a.ref(t.scrollX),u=a.ref(t.scrollY),l=a.computed({get(){return o.value},set(r){scrollTo({left:r,behavior:n})}}),i=a.computed({get(){return u.value},set(r){scrollTo({top:r,behavior:n})}});return O(t,"scroll",()=>{o.value=t.scrollX,u.value=t.scrollY},{capture:!1,passive:!0}),{x:l,y:i}}function Il(e={}){const{window:t=I,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:u=!0,includeScrollbar:l=!0,type:i="inner"}=e,r=a.ref(n),s=a.ref(o),c=()=>{if(t)if(i==="outer")r.value=t.outerWidth,s.value=t.outerHeight;else if(i==="visual"&&t.visualViewport){const{width:f,height:d,scale:g}=t.visualViewport;r.value=Math.round(f*g),s.value=Math.round(d*g)}else l?(r.value=t.innerWidth,s.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight)};if(c(),v.tryOnMounted(c),O("resize",c,{passive:!0}),t&&i==="visual"&&t.visualViewport&&O(t.visualViewport,"resize",c,{passive:!0}),u){const f=j("(orientation: portrait)");a.watch(f,()=>c())}return{width:r,height:s}}E.DefaultMagicKeysAliasMap=Je,E.StorageSerializers=be,E.TransitionPresets=ml,E.asyncComputed=Ve,E.breakpointsAntDesign=tn,E.breakpointsBootstrapV5=Qt,E.breakpointsElement=an,E.breakpointsMasterCss=ln,E.breakpointsPrimeFlex=rn,E.breakpointsQuasar=nn,E.breakpointsSematic=on,E.breakpointsTailwind=Jt,E.breakpointsVuetify=en,E.breakpointsVuetifyV2=Ae,E.breakpointsVuetifyV3=Zt,E.cloneFnJSON=ee,E.computedAsync=Ve,E.computedInject=kt,E.createFetch=$n,E.createReusableTemplate=Ot,E.createTemplatePromise=Rt,E.createUnrefFn=Vt,E.customStorageEventName=Se,E.defaultDocument=B,E.defaultLocation=Ft,E.defaultNavigator=z,E.defaultWindow=I,E.executeTransition=dt,E.formatTimeAgo=ct,E.getSSRHandler=ce,E.mapGamepadToXbox360Controller=Zn,E.onClickOutside=Pt,E.onKeyDown=Ct,E.onKeyPressed=At,E.onKeyStroke=ae,E.onKeyUp=Mt,E.onLongPress=Nt,E.onStartTyping=Ht,E.provideSSRWidth=Kt,E.setSSRHandler=yn,E.templateRef=Ut,E.unrefElement=x,E.useActiveElement=De,E.useAnimate=$t,E.useAsyncQueue=Bt,E.useAsyncState=Ce,E.useBase64=qt,E.useBattery=Yt,E.useBluetooth=Xt,E.useBreakpoints=un,E.useBroadcastChannel=sn,E.useBrowserLocation=cn,E.useCached=fn,E.useClipboard=dn,E.useClipboardItems=vn,E.useCloned=mn,E.useColorMode=xe,E.useConfirmDialog=hn,E.useCssVar=te,E.useCurrentElement=We,E.useCycleList=wn,E.useDark=bn,E.useDebouncedRefHistory=kn,E.useDeviceMotion=On,E.useDeviceOrientation=$e,E.useDevicePixelRatio=_n,E.useDevicesList=Rn,E.useDisplayMedia=Vn,E.useDocumentVisibility=Be,E.useDraggable=Fn,E.useDropZone=Pn,E.useElementBounding=Dn,E.useElementByPoint=Cn,E.useElementHover=An,E.useElementSize=je,E.useElementVisibility=qe,E.useEventBus=Mn,E.useEventListener=O,E.useEventSource=Ln,E.useEyeDropper=Nn,E.useFavicon=xn,E.useFetch=Ge,E.useFileDialog=zn,E.useFileSystemAccess=qn,E.useFocus=Gn,E.useFocusWithin=Kn,E.useFps=Jn,E.useFullscreen=Qn,E.useGamepad=eo,E.useGeolocation=to,E.useIdle=lo,E.useImage=ao,E.useInfiniteScroll=io,E.useIntersectionObserver=ze,E.useKeyModifier=so,E.useLocalStorage=co,E.useMagicKeys=fo,E.useManualRefHistory=Ue,E.useMediaControls=po,E.useMediaQuery=j,E.useMemoize=yo,E.useMemory=go,E.useMounted=Pe,E.useMouse=Qe,E.useMouseInElement=Ze,E.useMousePressed=wo,E.useMutationObserver=K,E.useNavigatorLanguage=bo,E.useNetwork=et,E.useNow=tt,E.useObjectUrl=So,E.useOffsetPagination=Eo,E.useOnline=To,E.usePageLeave=ko,E.useParallax=Oo,E.useParentElement=_o,E.usePerformanceObserver=Ro,E.usePermission=ie,E.usePointer=Fo,E.usePointerLock=Po,E.usePointerSwipe=Do,E.usePreferredColorScheme=Co,E.usePreferredContrast=Ao,E.usePreferredDark=Le,E.usePreferredLanguages=Mo,E.usePreferredReducedMotion=Io,E.usePreferredReducedTransparency=Lo,E.usePrevious=No,E.useRafFn=G,E.useRefHistory=Ee,E.useResizeObserver=de,E.useSSRWidth=we,E.useScreenOrientation=ot,E.useScreenSafeArea=xo,E.useScriptTag=Wo,E.useScroll=Ke,E.useScrollLock=Uo,E.useSessionStorage=$o,E.useShare=Bo,E.useSorted=zo,E.useSpeechRecognition=qo,E.useSpeechSynthesis=Go,E.useStepper=Yo,E.useStorage=fe,E.useStorageAsync=Xo,E.useStyleTag=Jo,E.useSupported=W,E.useSwipe=Qo,E.useTemplateRefsList=el,E.useTextDirection=tl,E.useTextSelection=ol,E.useTextareaAutosize=ll,E.useThrottledRefHistory=rl,E.useTimeAgo=sl,E.useTimeoutPoll=cl,E.useTimestamp=fl,E.useTitle=dl,E.useTransition=yl,E.useUrlSearchParams=gl,E.useUserMedia=hl,E.useVModel=vt,E.useVModels=wl,E.useVibrate=bl,E.useVirtualList=Sl,E.useWakeLock=Ol,E.useWebNotification=_l,E.useWebSocket=Rl,E.useWebWorker=Vl,E.useWebWorkerFn=Cl,E.useWindowFocus=Al,E.useWindowScroll=Ml,E.useWindowSize=Il,Object.keys(v).forEach(function(e){e!=="default"&&!Object.prototype.hasOwnProperty.call(E,e)&&Object.defineProperty(E,e,{enumerable:!0,get:function(){return v[e]}})})})(this.VueUse=this.VueUse||{},VueUse,Vue);
|