import{u as he,g as be,e as Pe,f as fe,i as Se,n as de,j as Ee,r as m,w as S,s as ve,k as pe,l as Q,m as $e,b as N}from"./@vue.340249d8.js";var Fe=Object.defineProperty,je=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,J=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,B=(e,t,r)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ne=(e,t)=>{for(var r in t||(t={}))Ce.call(t,r)&&B(e,r,t[r]);if(J)for(var r of J(t))Te.call(t,r)&&B(e,r,t[r]);return e},De=(e,t)=>je(e,Ie(t));function At(e,t){var r;const n=ve();return pe(()=>{n.value=e()},De(Ne({},t),{flush:(r=t==null?void 0:t.flush)!=null?r:"sync"})),Q(n)}var H;const R=typeof window<"u",Re=e=>typeof e<"u",x=e=>typeof e=="function",Ae=e=>typeof e=="string",D=()=>{},xe=R&&((H=window==null?void 0:window.navigator)==null?void 0:H.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function F(e){return typeof e=="function"?e():he(e)}function q(e,t){function r(...n){return new Promise((a,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(a).catch(o)})}return r}const me=e=>e();function Me(e,t={}){let r,n,a=D;const o=s=>{clearTimeout(s),a(),a=D};return s=>{const u=F(e),c=F(t.maxWait);return r&&o(r),u<=0||c!==void 0&&c<=0?(n&&(o(n),n=null),Promise.resolve(s())):new Promise((v,p)=>{a=t.rejectOnCancel?p:v,c&&!n&&(n=setTimeout(()=>{r&&o(r),n=null,v(s())},c)),r=setTimeout(()=>{n&&o(n),n=null,v(s())},u)})}}function ke(e,t=!0,r=!0,n=!1){let a=0,o,i=!0,s=D,u;const c=()=>{o&&(clearTimeout(o),o=void 0,s(),s=D)};return p=>{const l=F(e),f=Date.now()-a,d=()=>u=p();return c(),l<=0?(a=Date.now(),d()):(f>l&&(r||!i)?(a=Date.now(),d()):t&&(u=new Promise((g,O)=>{s=n?O:g,o=setTimeout(()=>{a=Date.now(),i=!0,g(d()),c()},Math.max(0,l-f))})),!r&&!o&&(o=setTimeout(()=>i=!0,l)),i=!1,u)}}function Ve(e=me){const t=m(!0);function r(){t.value=!1}function n(){t.value=!0}const a=(...o)=>{t.value&&e(...o)};return{isActive:Q(t),pause:r,resume:n,eventFilter:a}}function Le(e){return e}function ze(e,t){let r,n,a;const o=m(!0),i=()=>{o.value=!0,a()};S(e,i,{flush:"sync"});const s=x(t)?t:t.get,u=x(t)?void 0:t.set,c=$e((v,p)=>(n=v,a=p,{get(){return o.value&&(r=s(),o.value=!1),n(),r},set(l){u==null||u(l)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function A(e){return be()?(Pe(e),!0):!1}function We(e,t=200,r={}){return q(Me(t,r),e)}function xt(e,t=200,r={}){const n=m(e.value),a=We(()=>{n.value=e.value},t,r);return S(e,()=>a()),n}function Mt(e,t=200,r=!1,n=!0,a=!1){return q(ke(t,r,n,a),e)}function Qe(e){return typeof e=="function"?N(e):m(e)}function k(e,t=!0){fe()?Se(e):t?e():de(e)}function kt(e,t,r={}){const{immediate:n=!0}=r,a=m(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function s(){a.value=!1,i()}function u(...c){i(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...c)},F(t))}return n&&(a.value=!0,R&&u()),A(s),{isPending:Q(a),start:u,stop:s}}function Vt(e=!1,t={}){const{truthyValue:r=!0,falsyValue:n=!1}=t,a=Ee(e),o=m(e);function i(s){if(arguments.length)return o.value=s,o.value;{const u=F(r);return o.value=o.value===u?F(n):u,o.value}}return a?i:[o,i]}var U=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Be=(e,t)=>{var r={};for(var n in e)qe.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&U)for(var n of U(e))t.indexOf(n)<0&&Je.call(e,n)&&(r[n]=e[n]);return r};function He(e,t,r={}){const n=r,{eventFilter:a=me}=n,o=Be(n,["eventFilter"]);return S(e,q(a,t),o)}var Ue=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,G=(e,t,r)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xe=(e,t)=>{for(var r in t||(t={}))ge.call(t,r)&&G(e,r,t[r]);if(M)for(var r of M(t))_e.call(t,r)&&G(e,r,t[r]);return e},Ye=(e,t)=>Ge(e,Ke(t)),Ze=(e,t)=>{var r={};for(var n in e)ge.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&M)for(var n of M(e))t.indexOf(n)<0&&_e.call(e,n)&&(r[n]=e[n]);return r};function et(e,t,r={}){const n=r,{eventFilter:a}=n,o=Ze(n,["eventFilter"]),{eventFilter:i,pause:s,resume:u,isActive:c}=Ve(a);return{stop:He(e,t,Ye(Xe({},o),{eventFilter:i})),pause:s,resume:u,isActive:c}}function $(e){var t;const r=F(e);return(t=r==null?void 0:r.$el)!=null?t:r}const E=R?window:void 0,Oe=R?window.document:void 0;R&&window.navigator;R&&window.location;function h(...e){let t,r,n,a;if(Ae(e[0])||Array.isArray(e[0])?([r,n,a]=e,t=E):[t,r,n,a]=e,!t)return D;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],i=()=>{o.forEach(v=>v()),o.length=0},s=(v,p,l,f)=>(v.addEventListener(p,l,f),()=>v.removeEventListener(p,l,f)),u=S(()=>[$(t),F(a)],([v,p])=>{i(),v&&o.push(...r.flatMap(l=>n.map(f=>s(v,l,f,p))))},{immediate:!0,flush:"post"}),c=()=>{u(),i()};return A(c),c}let K=!1;function Lt(e,t,r={}){const{window:n=E,ignore:a=[],capture:o=!0,detectIframe:i=!1}=r;if(!n)return;xe&&!K&&(K=!0,Array.from(n.document.body.children).forEach(l=>l.addEventListener("click",D)));let s=!0;const u=l=>a.some(f=>{if(typeof f=="string")return Array.from(n.document.querySelectorAll(f)).some(d=>d===l.target||l.composedPath().includes(d));{const d=$(f);return d&&(l.target===d||l.composedPath().includes(d))}}),v=[h(n,"click",l=>{const f=$(e);if(!(!f||f===l.target||l.composedPath().includes(f))){if(l.detail===0&&(s=!u(l)),!s){s=!0;return}t(l)}},{passive:!0,capture:o}),h(n,"pointerdown",l=>{const f=$(e);f&&(s=!l.composedPath().includes(f)&&!u(l))},{passive:!0}),i&&h(n,"blur",l=>{var f;const d=$(e);((f=n.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(d!=null&&d.contains(n.document.activeElement))&&t(l)})].filter(Boolean);return()=>v.forEach(l=>l())}function zt(e={}){var t;const{window:r=E}=e,n=(t=e.document)!=null?t:r==null?void 0:r.document,a=ze(()=>null,()=>n==null?void 0:n.activeElement);return r&&(h(r,"blur",o=>{o.relatedTarget===null&&a.trigger()},!0),h(r,"focus",a.trigger,!0)),a}function V(e,t=!1){const r=m(),n=()=>r.value=Boolean(e());return n(),k(n,t),r}function tt(e,t={}){const{window:r=E}=t,n=V(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let a;const o=m(!1),i=()=>{!a||("removeEventListener"in a?a.removeEventListener("change",s):a.removeListener(s))},s=()=>{!n.value||(i(),a=r.matchMedia(Qe(e).value),o.value=a.matches,"addEventListener"in a?a.addEventListener("change",s):a.addListener(s))};return pe(s),A(()=>i()),o}function rt(e){return JSON.parse(JSON.stringify(e))}const z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W="__vueuse_ssr_handlers__";z[W]=z[W]||{};const nt=z[W];function we(e,t){return nt[e]||t}function at(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var ot=Object.defineProperty,X=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,Y=(e,t,r)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Z=(e,t)=>{for(var r in t||(t={}))st.call(t,r)&&Y(e,r,t[r]);if(X)for(var r of X(t))it.call(t,r)&&Y(e,r,t[r]);return e};const lt={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 ut(e,t,r,n={}){var a;const{flush:o="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:v,window:p=E,eventFilter:l,onError:f=_=>{console.error(_)}}=n,d=(v?ve:m)(t);if(!r)try{r=we("getDefaultStorage",()=>{var _;return(_=E)==null?void 0:_.localStorage})()}catch(_){f(_)}if(!r)return d;const g=F(t),O=at(g),w=(a=n.serializer)!=null?a:lt[O],{pause:y,resume:b}=et(d,()=>I(d.value),{flush:o,deep:i,eventFilter:l});return p&&s&&(h(p,"storage",j),h(p,ee,L)),j(),d;function I(_){try{if(_==null)r.removeItem(e);else{const P=w.write(_),C=r.getItem(e);C!==P&&(r.setItem(e,P),p&&p.dispatchEvent(new CustomEvent(ee,{detail:{key:e,oldValue:C,newValue:P,storageArea:r}})))}}catch(P){f(P)}}function T(_){const P=_?_.newValue:r.getItem(e);if(P==null)return u&&g!==null&&r.setItem(e,w.write(g)),g;if(!_&&c){const C=w.read(P);return x(c)?c(C,g):O==="object"&&!Array.isArray(C)?Z(Z({},g),C):C}else return typeof P!="string"?P:w.read(P)}function L(_){j(_.detail)}function j(_){if(!(_&&_.storageArea!==r)){if(_&&_.key==null){d.value=g;return}if(!(_&&_.key!==e)){y();try{d.value=T(_)}catch(P){f(P)}finally{_?de(b):b()}}}}}function ye(e){return tt("(prefers-color-scheme: dark)",e)}var ct=Object.defineProperty,te=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,re=(e,t,r)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vt=(e,t)=>{for(var r in t||(t={}))ft.call(t,r)&&re(e,r,t[r]);if(te)for(var r of te(t))dt.call(t,r)&&re(e,r,t[r]);return e};function pt(e={}){const{selector:t="html",attribute:r="class",initialValue:n="auto",window:a=E,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c}=e,v=vt({auto:"",light:"light",dark:"dark"},e.modes||{}),p=ye({window:a}),l=N(()=>p.value?"dark":"light"),f=u||(i==null?m(n):ut(i,n,o,{window:a,listenToStorageChanges:s})),d=N({get(){return f.value==="auto"&&!c?l.value:f.value},set(y){f.value=y}}),g=we("updateHTMLAttrs",(y,b,I)=>{const T=a==null?void 0:a.document.querySelector(y);if(!!T)if(b==="class"){const L=I.split(/\s/g);Object.values(v).flatMap(j=>(j||"").split(/\s/g)).filter(Boolean).forEach(j=>{L.includes(j)?T.classList.add(j):T.classList.remove(j)})}else T.setAttribute(b,I)});function O(y){var b;const I=y==="auto"?l.value:y;g(t,r,(b=v[I])!=null?b:I)}function w(y){e.onChanged?e.onChanged(y,O):O(y)}return S(d,w,{flush:"post",immediate:!0}),c&&S(l,()=>w(d.value),{flush:"post"}),k(()=>w(d.value)),d}function Wt(e,t,{window:r=E,initialValue:n=""}={}){const a=m(n),o=N(()=>{var i;return $(t)||((i=r==null?void 0:r.document)==null?void 0:i.documentElement)});return S([o,()=>F(e)],([i,s])=>{var u;if(i&&r){const c=(u=r.getComputedStyle(i).getPropertyValue(s))==null?void 0:u.trim();a.value=c||n}},{immediate:!0}),S(a,i=>{var s;(s=o.value)!=null&&s.style&&o.value.style.setProperty(F(e),i)}),a}var mt=Object.defineProperty,gt=Object.defineProperties,_t=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,ae=(e,t,r)=>t in e?mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yt=(e,t)=>{for(var r in t||(t={}))Ot.call(t,r)&&ae(e,r,t[r]);if(ne)for(var r of ne(t))wt.call(t,r)&&ae(e,r,t[r]);return e},ht=(e,t)=>gt(e,_t(t));function Qt(e={}){const{valueDark:t="dark",valueLight:r="",window:n=E}=e,a=pt(ht(yt({},e),{onChanged:(s,u)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark"):u(s)},modes:{dark:t,light:r}})),o=ye({window:n});return N({get(){return a.value==="dark"},set(s){s===o.value?a.value="auto":a.value=s?"dark":"light"}})}function qt({document:e=Oe}={}){if(!e)return m("visible");const t=m(e.visibilityState);return h(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var oe=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,St=(e,t)=>{var r={};for(var n in e)bt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&oe)for(var n of oe(e))t.indexOf(n)<0&&Pt.call(e,n)&&(r[n]=e[n]);return r};function Et(e,t,r={}){const n=r,{window:a=E}=n,o=St(n,["window"]);let i;const s=V(()=>a&&"ResizeObserver"in a),u=()=>{i&&(i.disconnect(),i=void 0)},c=S(()=>$(e),p=>{u(),s.value&&a&&p&&(i=new ResizeObserver(t),i.observe(p,o))},{immediate:!0,flush:"post"}),v=()=>{u(),c()};return A(v),{isSupported:s,stop:v}}function Jt(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:a=!0,immediate:o=!0}=t,i=m(0),s=m(0),u=m(0),c=m(0),v=m(0),p=m(0),l=m(0),f=m(0);function d(){const g=$(e);if(!g){r&&(i.value=0,s.value=0,u.value=0,c.value=0,v.value=0,p.value=0,l.value=0,f.value=0);return}const O=g.getBoundingClientRect();i.value=O.height,s.value=O.bottom,u.value=O.left,c.value=O.right,v.value=O.top,p.value=O.width,l.value=O.x,f.value=O.y}return Et(e,d),S(()=>$(e),g=>!g&&d()),a&&h("scroll",d,{capture:!0,passive:!0}),n&&h("resize",d,{passive:!0}),k(()=>{o&&d()}),{height:i,bottom:s,left:u,right:c,top:v,width:p,x:l,y:f,update:d}}const se=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function Bt(e,t={}){const{document:r=Oe,autoExit:n=!1}=t,a=e||(r==null?void 0:r.querySelector("html")),o=m(!1);let i=se[0];const s=V(()=>{if(r){for(const g of se)if(g[1]in r)return i=g,!0}else return!1;return!1}),[u,c,v,,p]=i;async function l(){!s.value||(r!=null&&r[v]&&await r[c](),o.value=!1)}async function f(){if(!s.value)return;await l();const g=$(a);g&&(await g[u](),o.value=!0)}async function d(){o.value?await l():await f()}return r&&h(r,p,()=>{o.value=!!(r!=null&&r[v])},!1),n&&A(l),{isSupported:s,isFullscreen:o,enter:f,exit:l,toggle:d}}var ie=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,jt=(e,t)=>{var r={};for(var n in e)$t.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ie)for(var n of ie(e))t.indexOf(n)<0&&Ft.call(e,n)&&(r[n]=e[n]);return r};function Ht(e,t,r={}){const n=r,{window:a=E}=n,o=jt(n,["window"]);let i;const s=V(()=>a&&"MutationObserver"in a),u=()=>{i&&(i.disconnect(),i=void 0)},c=S(()=>$(e),p=>{u(),s.value&&a&&p&&(i=new MutationObserver(t),i.observe(p,o))},{immediate:!0}),v=()=>{u(),c()};return A(v),{isSupported:s,stop:v}}var le;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(le||(le={}));var It=Object.defineProperty,ue=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,ce=(e,t,r)=>t in e?It(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nt=(e,t)=>{for(var r in t||(t={}))Ct.call(t,r)&&ce(e,r,t[r]);if(ue)for(var r of ue(t))Tt.call(t,r)&&ce(e,r,t[r]);return e};const Dt={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]};Nt({linear:Le},Dt);function Ut(e,t,r,n={}){var a,o,i;const{clone:s=!1,passive:u=!1,eventName:c,deep:v=!1,defaultValue:p}=n,l=fe(),f=r||(l==null?void 0:l.emit)||((a=l==null?void 0:l.$emit)==null?void 0:a.bind(l))||((i=(o=l==null?void 0:l.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(l==null?void 0:l.proxy));let d=c;t||(t="modelValue"),d=c||d||`update:${t.toString()}`;const g=w=>s?x(s)?s(w):rt(w):w,O=()=>Re(e[t])?g(e[t]):p;if(u){const w=O(),y=m(w);return S(()=>e[t],b=>y.value=g(b)),S(y,b=>{(b!==e[t]||v)&&f(d,b)},{deep:v}),y}else return N({get(){return O()},set(w){f(d,w)}})}function Gt({window:e=E}={}){if(!e)return m(!1);const t=m(e.document.hasFocus());return h(e,"blur",()=>{t.value=!1}),h(e,"focus",()=>{t.value=!0}),t}function Kt(e={}){const{window:t=E,initialWidth:r=1/0,initialHeight:n=1/0,listenOrientation:a=!0,includeScrollbar:o=!0}=e,i=m(r),s=m(n),u=()=>{t&&(o?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return u(),k(u),h("resize",u,{passive:!0}),a&&h("orientationchange",u,{passive:!0}),{width:i,height:s}}export{h as a,Kt as b,Jt as c,Et as d,Mt as e,Wt as f,kt as g,xe as h,R as i,Ht as j,qt as k,Gt as l,At as m,Ut as n,Lt as o,zt as p,Bt as q,xt as r,Qt as s,A as t,$ as u,Vt as v};