import{ad as ee,ac as te,i as ne,C as re,z as G,am as H,y as _,an as K,A as $,W as Y,ab as le,a9 as ue,h as C}from"./Cx8pZeM5.js";function L(e){return ee()?(te(e),!0):!1}function O(e){return typeof e=="function"?e():ne(e)}const W=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oe=e=>e!=null,ae=Object.prototype.toString,ie=e=>ae.call(e)==="[object Object]",A=()=>{},se=ce();function ce(){var e,n;return W&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function z(e,n){function t(...r){return new Promise((u,o)=>{Promise.resolve(e(()=>n.apply(this,r),{fn:n,thisArg:this,args:r})).then(u).catch(o)})}return t}const Q=e=>e();function fe(e,n={}){let t,r,u=A;const o=a=>{clearTimeout(a),u(),u=A};return a=>{const d=O(e),m=O(n.maxWait);return t&&o(t),d<=0||m!==void 0&&m<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((c,i)=>{u=n.rejectOnCancel?i:c,m&&!r&&(r=setTimeout(()=>{t&&o(t),r=null,c(a())},m)),t=setTimeout(()=>{r&&o(r),r=null,c(a())},d)})}}function de(...e){let n=0,t,r=!0,u=A,o,v,a,d,m;!re(e[0])&&typeof e[0]=="object"?{delay:v,trailing:a=!0,leading:d=!0,rejectOnCancel:m=!1}=e[0]:[v,a=!0,d=!0,m=!1]=e;const c=()=>{t&&(clearTimeout(t),t=void 0,u(),u=A)};return f=>{const s=O(v),p=Date.now()-n,g=()=>o=f();return c(),s<=0?(n=Date.now(),g()):(p>s&&(d||!r)?(n=Date.now(),g()):a&&(o=new Promise((w,l)=>{u=m?l:w,t=setTimeout(()=>{n=Date.now(),r=!0,w(g()),c()},Math.max(0,s-p))})),!d&&!t&&(t=setTimeout(()=>r=!0,s)),r=!1,o)}}function me(e=Q){const n=_(!0);function t(){n.value=!1}function r(){n.value=!0}const u=(...o)=>{n.value&&e(...o)};return{isActive:K(n),pause:t,resume:r,eventFilter:u}}function X(e){return Y()}function _e(e,n=200,t={}){return z(fe(n,t),e)}function Me(e,n=200,t=!1,r=!0,u=!1){return z(de(n,t,r,u),e)}function ve(e,n,t={}){const{eventFilter:r=Q,...u}=t;return $(e,z(r,n),u)}function pe(e,n,t={}){const{eventFilter:r,...u}=t,{eventFilter:o,pause:v,resume:a,isActive:d}=me(r);return{stop:ve(e,n,{...u,eventFilter:o}),pause:v,resume:a,isActive:d}}function V(e,n=!0,t){X()?G(e,t):n?e():H(e)}function we(e,n){X()&&le(e,n)}function x(e){var n;const t=O(e);return(n=t==null?void 0:t.$el)!=null?n:t}const I=W?window:void 0,q=W?window.document:void 0;function T(...e){let n,t,r,u;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,r,u]=e,n=I):[n,t,r,u]=e,!n)return A;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const o=[],v=()=>{o.forEach(c=>c()),o.length=0},a=(c,i,f,s)=>(c.addEventListener(i,f,s),()=>c.removeEventListener(i,f,s)),d=$(()=>[x(n),O(u)],([c,i])=>{if(v(),!c)return;const f=ie(i)?{...i}:i;o.push(...t.flatMap(s=>r.map(p=>a(c,s,p,f))))},{immediate:!0,flush:"post"}),m=()=>{d(),v()};return L(m),m}let J=!1;function Ce(e,n,t={}){const{window:r=I,ignore:u=[],capture:o=!0,detectIframe:v=!1}=t;if(!r)return A;se&&!J&&(J=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",A)),r.document.documentElement.addEventListener("click",A));let a=!0;const d=f=>u.some(s=>{if(typeof s=="string")return Array.from(r.document.querySelectorAll(s)).some(p=>p===f.target||f.composedPath().includes(p));{const p=x(s);return p&&(f.target===p||f.composedPath().includes(p))}}),c=[T(r,"click",f=>{const s=x(e);if(!(!s||s===f.target||f.composedPath().includes(s))){if(f.detail===0&&(a=!d(f)),!a){a=!0;return}n(f)}},{passive:!0,capture:o}),T(r,"pointerdown",f=>{const s=x(e);a=!d(f)&&!!(s&&!f.composedPath().includes(s))},{passive:!0}),v&&T(r,"blur",f=>{setTimeout(()=>{var s;const p=x(e);((s=r.document.activeElement)==null?void 0:s.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&n(f)},0)})].filter(Boolean);return()=>c.forEach(f=>f())}function he(){const e=_(!1),n=Y();return n&&G(()=>{e.value=!0},n),e}function Z(e){const n=he();return C(()=>(n.value,!!e()))}const j=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},P="__vueuse_ssr_handlers__",ye=ge();function ge(){return P in j||(j[P]=j[P]||{}),j[P]}function be(e,n){return ye[e]||n}function Se(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 Ee={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()}},U="vueuse-storage";function De(e,n,t,r={}){var u;const{flush:o="pre",deep:v=!0,listenToStorageChanges:a=!0,writeDefaults:d=!0,mergeDefaults:m=!1,shallow:c,window:i=I,eventFilter:f,onError:s=h=>{console.error(h)},initOnMounted:p}=r,g=(c?ue:_)(typeof n=="function"?n():n);if(!t)try{t=be("getDefaultStorage",()=>{var h;return(h=I)==null?void 0:h.localStorage})()}catch(h){s(h)}if(!t)return g;const w=O(n),l=Se(w),b=(u=r.serializer)!=null?u:Ee[l],{pause:F,resume:D}=pe(g,()=>N(g.value),{flush:o,deep:v,eventFilter:f});i&&a&&V(()=>{T(i,"storage",E),T(i,U,R),p&&E()}),p||E();function k(h,S){i&&i.dispatchEvent(new CustomEvent(U,{detail:{key:e,oldValue:h,newValue:S,storageArea:t}}))}function N(h){try{const S=t.getItem(e);if(h==null)k(S,null),t.removeItem(e);else{const M=b.write(h);S!==M&&(t.setItem(e,M),k(S,M))}}catch(S){s(S)}}function y(h){const S=h?h.newValue:t.getItem(e);if(S==null)return d&&w!=null&&t.setItem(e,b.write(w)),w;if(!h&&m){const M=b.read(S);return typeof m=="function"?m(M,w):l==="object"&&!Array.isArray(M)?{...w,...M}:M}else return typeof S!="string"?S:b.read(S)}function E(h){if(!(h&&h.storageArea!==t)){if(h&&h.key==null){g.value=w;return}if(!(h&&h.key!==e)){F();try{(h==null?void 0:h.newValue)!==b.write(g.value)&&(g.value=y(h))}catch(S){s(S)}finally{h?H(D):D()}}}}function R(h){E(h.detail)}return g}function ke(e,n,t={}){const{root:r,rootMargin:u="0px",threshold:o=.1,window:v=I,immediate:a=!0}=t,d=Z(()=>v&&"IntersectionObserver"in v),m=C(()=>{const p=O(e);return(Array.isArray(p)?p:[p]).map(x).filter(oe)});let c=A;const i=_(a),f=d.value?$(()=>[m.value,x(r),i.value],([p,g])=>{if(c(),!i.value||!p.length)return;const w=new IntersectionObserver(n,{root:x(g),rootMargin:u,threshold:o});p.forEach(l=>l&&w.observe(l)),c=()=>{w.disconnect(),c=A}},{immediate:a,flush:"post"}):A,s=()=>{c(),f(),i.value=!1};return L(s),{isSupported:d,isActive:i,pause(){c(),i.value=!1},resume(){i.value=!0},stop:s}}function Ie(e,n={}){const{initialValue:t=!1,focusVisible:r=!1,preventScroll:u=!1}=n,o=_(!1),v=C(()=>x(e));T(v,"focus",d=>{var m,c;(!r||(c=(m=d.target).matches)!=null&&c.call(m,":focus-visible"))&&(o.value=!0)}),T(v,"blur",()=>o.value=!1);const a=C({get:()=>o.value,set(d){var m,c;!d&&o.value?(m=v.value)==null||m.blur():d&&!o.value&&((c=v.value)==null||c.focus({preventScroll:u}))}});return $(v,()=>{a.value=t},{immediate:!0,flush:"post"}),{focused:a}}const B=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function $e(e,n={}){const{document:t=q,autoExit:r=!1}=n,u=C(()=>{var l;return(l=x(e))!=null?l:t==null?void 0:t.querySelector("html")}),o=_(!1),v=C(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(l=>t&&l in t||u.value&&l in u.value)),a=C(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(l=>t&&l in t||u.value&&l in u.value)),d=C(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(l=>t&&l in t||u.value&&l in u.value)),m=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(l=>t&&l in t),c=Z(()=>u.value&&t&&v.value!==void 0&&a.value!==void 0&&d.value!==void 0),i=()=>m?(t==null?void 0:t[m])===u.value:!1,f=()=>{if(d.value){if(t&&t[d.value]!=null)return t[d.value];{const l=u.value;if((l==null?void 0:l[d.value])!=null)return!!l[d.value]}}return!1};async function s(){if(!(!c.value||!o.value)){if(a.value)if((t==null?void 0:t[a.value])!=null)await t[a.value]();else{const l=u.value;(l==null?void 0:l[a.value])!=null&&await l[a.value]()}o.value=!1}}async function p(){if(!c.value||o.value)return;f()&&await s();const l=u.value;v.value&&(l==null?void 0:l[v.value])!=null&&(await l[v.value](),o.value=!0)}async function g(){await(o.value?s():p())}const w=()=>{const l=f();(!l||l&&i())&&(o.value=l)};return T(t,B,w,!1),T(()=>x(u),B,w,!1),r&&L(s),{isSupported:c,isFullscreen:o,enter:p,exit:s,toggle:g}}function Ne(e,n=A,t={}){const{immediate:r=!0,manual:u=!1,type:o="text/javascript",async:v=!0,crossOrigin:a,referrerPolicy:d,noModule:m,defer:c,document:i=q,attrs:f={}}=t,s=_(null);let p=null;const g=b=>new Promise((F,D)=>{const k=E=>(s.value=E,F(E),E);if(!i){F(!1);return}let N=!1,y=i.querySelector(`script[src="${O(e)}"]`);y?y.hasAttribute("data-loaded")&&k(y):(y=i.createElement("script"),y.type=o,y.async=v,y.src=O(e),c&&(y.defer=c),a&&(y.crossOrigin=a),m&&(y.noModule=m),d&&(y.referrerPolicy=d),Object.entries(f).forEach(([E,R])=>y==null?void 0:y.setAttribute(E,R)),N=!0),y.addEventListener("error",E=>D(E)),y.addEventListener("abort",E=>D(E)),y.addEventListener("load",()=>{y.setAttribute("data-loaded","true"),n(y),k(y)}),N&&(y=i.head.appendChild(y)),b||k(y)}),w=(b=!0)=>(p||(p=g(b)),p),l=()=>{if(!i)return;p=null,s.value&&(s.value=null);const b=i.querySelector(`script[src="${O(e)}"]`);b&&i.head.removeChild(b)};return r&&!u&&V(w),u||we(l),{scriptTag:s,load:w,unload:l}}let Fe=0;function je(e,n={}){const t=_(!1),{document:r=q,immediate:u=!0,manual:o=!1,id:v=`vueuse_styletag_${++Fe}`}=n,a=_(e);let d=()=>{};const m=()=>{if(!r)return;const i=r.getElementById(v)||r.createElement("style");i.isConnected||(i.id=v,n.media&&(i.media=n.media),r.head.appendChild(i)),!t.value&&(d=$(a,f=>{i.textContent=f},{immediate:!0}),t.value=!0)},c=()=>{!r||!t.value||(d(),r.head.removeChild(r.getElementById(v)),t.value=!1)};return u&&!o&&V(m),o||L(c),{id:v,css:a,unload:c,load:m,isLoaded:K(t)}}const Ae=[{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"}],xe={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,n)=>e===1?n?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,n)=>e===1?n?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,n)=>e===1?n?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,n)=>e===1?n?"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 Oe(e){return e.toISOString().slice(0,10)}function Pe(e,n={},t=Date.now()){var r;const{max:u,messages:o=xe,fullDateFormatter:v=Oe,units:a=Ae,showSecond:d=!1,rounding:m="round"}=n,c=typeof m=="number"?w=>+w.toFixed(m):Math[m],i=+t-+e,f=Math.abs(i);function s(w,l){return c(Math.abs(w)/l.value)}function p(w,l){const b=s(w,l),F=w>0,D=g(l.name,b,F);return g(F?"past":"future",D,F)}function g(w,l,b){const F=o[w];return typeof F=="function"?F(l,b):F.replace("{0}",l.toString())}if(f<6e4&&!d)return o.justNow;if(typeof u=="number"&&f>u)return v(new Date(e));if(typeof u=="string"){const w=(r=a.find(l=>l.name===u))==null?void 0:r.max;if(w&&f>w)return v(new Date(e))}for(const[w,l]of a.entries()){if(s(i,l)<=0&&a[w-1])return p(i,a[w-1]);if(f