import{c as g,H as T,N as Q,O as q,P as y,Q as $,R as X,S as h,y as F,T as L,u as B,U as W,V as G,W as Y,X as H,G as Z,B as V,Y as k,p as K,m as ee,j as te,Z as ne}from"./app-DFzlZji1.js";function Ae(e,t){var o;const n=y();return V(()=>{n.value=e()},{...t,flush:(o=void 0)!=null?o:"sync"}),$(n)}function S(e){return Q()?(q(e),!0):!1}function Re(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const s=()=>t(r);return S(s),{off:s}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(s=>s(...r))),clear:()=>{e.clear()}}}function Ce(e){let t=!1,o;const n=H(!0);return(...i)=>(t||(o=n.run(()=>e(...i)),t=!0),o)}const I=new WeakMap,oe=(...e)=>{var t;const o=e[0],n=(t=W())==null?void 0:t.proxy;if(n==null&&!G())throw new Error("injectLocal must be called in setup");return n&&I.has(n)&&o in I.get(n)?I.get(n)[o]:Y(...e)};function Me(e){let t=0,o,n;const i=()=>{t-=1,n&&t<=0&&(n.stop(),o=void 0,n=void 0)};return(...r)=>(t+=1,n||(n=H(!0),o=n.run(()=>e(...r))),S(i),o)}function re(e){if(!F(e))return L(e);const t=new Proxy({},{get(o,n,i){return B(Reflect.get(e.value,n,i))},set(o,n,i){return F(e.value[n])&&!F(i)?e.value[n].value=i:e.value[n]=i,!0},deleteProperty(o,n){return Reflect.deleteProperty(e.value,n)},has(o,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return L(t)}function ie(e){return re(g(e))}function Ne(e,...t){const o=t.flat(),n=o[0];return ie(()=>Object.fromEntries(typeof n=="function"?Object.entries(k(e)).filter(([i,r])=>!n(h(r),i)):Object.entries(k(e)).filter(i=>!o.includes(i[0]))))}const j=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const se=e=>typeof e<"u",ue=e=>e!=null,ae=Object.prototype.toString,le=e=>ae.call(e)==="[object Object]",U=()=>{},je=ce();function ce(){var e,t;return j&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function fe(e,t){function o(...n){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(r)})}return o}function de(e,t={}){let o,n,i=U;const r=l=>{clearTimeout(l),i(),i=U};let s;return l=>{const c=h(e),u=h(t.maxWait);return o&&r(o),c<=0||u!==void 0&&u<=0?(n&&(r(n),n=null),Promise.resolve(l())):new Promise((f,v)=>{i=t.rejectOnCancel?v:f,s=l,u&&!n&&(n=setTimeout(()=>{o&&r(o),n=null,f(s())},u)),o=setTimeout(()=>{n&&r(n),n=null,f(l())},c)})}}function ve(e){let t;function o(){return t||(t=e()),t}return o.reset=async()=>{const n=t;t=void 0,n&&await n},o}function z(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function pe(e){return W()}function N(e){return Array.isArray(e)?e:[e]}function Fe(e,t=1e4){return X((o,n)=>{let i=h(e),r;const s=()=>setTimeout(()=>{i=h(e),n()},h(t));return S(()=>{clearTimeout(r)}),{get(){return o(),i},set(a){i=a,n(),clearTimeout(r),r=s()}}})}function Ie(e,t=200,o={}){return fe(de(t,o),e)}const Ue=h;function Ve(e,t){pe()&&Z(e,t)}function me(e,t,o={}){const{immediate:n=!0,immediateCallback:i=!1}=o,r=y(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function l(){r.value=!1,a()}function c(...u){i&&e(),a(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,e(...u)},h(t))}return n&&(r.value=!0,j&&c()),S(l),{isPending:$(r),start:c,stop:l}}function we(e,t,o){return T(e,t,{...o,immediate:!0})}const O=j?window:void 0,J=j?window.navigator:void 0;function _(e){var t;const o=h(e);return(t=o?.$el)!=null?t:o}function b(...e){const t=[],o=()=>{t.forEach(a=>a()),t.length=0},n=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),i=g(()=>{const a=N(h(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),r=we(()=>{var a,l;return[(l=(a=i.value)==null?void 0:a.map(c=>_(c)))!=null?l:[O].filter(c=>c!=null),N(h(i.value?e[1]:e[0])),N(B(i.value?e[2]:e[1])),h(i.value?e[3]:e[2])]},([a,l,c,u])=>{if(o(),!a?.length||!l?.length||!c?.length)return;const f=le(u)?{...u}:u;t.push(...a.flatMap(v=>l.flatMap(p=>c.map(w=>n(v,p,w,f)))))},{flush:"post"}),s=()=>{r(),o()};return S(o),s}function he(){const e=y(!1),t=W();return t&&te(()=>{e.value=!0},t),e}function A(e){const t=he();return g(()=>(t.value,!!e()))}function ye(e,t,o={}){const{window:n=O,...i}=o;let r;const s=A(()=>n&&"MutationObserver"in n),a=()=>{r&&(r.disconnect(),r=void 0)},l=g(()=>{const v=h(e),p=N(v).map(_).filter(ue);return new Set(p)}),c=T(()=>l.value,v=>{a(),s.value&&v.size&&(r=new MutationObserver(t),v.forEach(p=>r.observe(p,i)))},{immediate:!0,flush:"post"}),u=()=>r?.takeRecords(),f=()=>{c(),a()};return S(f),{isSupported:s,stop:f,takeRecords:u}}function ge(e,t,o={}){const{window:n=O,document:i=n?.document,flush:r="sync"}=o;if(!n||!i)return U;let s;const a=u=>{s?.(),s=u},l=V(()=>{const u=_(e);if(u){const{stop:f}=ye(i,v=>{v.map(w=>[...w.removedNodes]).flat().some(w=>w===u||w.contains(u))&&t(v)},{window:n,childList:!0,subtree:!0});a(f)}},{flush:r}),c=()=>{l(),a()};return S(c),c}function be(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Le(...e){let t,o,n={};e.length===3?(t=e[0],o=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,o=e[0],n=e[1]):(t=e[0],o=e[1]):(t=!0,o=e[0]);const{target:i=O,eventName:r="keydown",passive:s=!1,dedupe:a=!1}=n,l=be(t);return b(i,r,u=>{u.repeat&&h(a)||l(u)&&o(u)},s)}function Se(e={}){var t;const{window:o=O,deep:n=!0,triggerOnRemoval:i=!1}=e,r=(t=e.document)!=null?t:o?.document,s=()=>{var c;let u=r?.activeElement;if(n)for(;u?.shadowRoot;)u=(c=u?.shadowRoot)==null?void 0:c.activeElement;return u},a=y(),l=()=>{a.value=s()};if(o){const c={capture:!0,passive:!0};b(o,"blur",u=>{u.relatedTarget===null&&l()},c),b(o,"focus",l,c)}return i&&ge(a,l,{document:r}),l(),a}const Oe=Symbol("vueuse-ssr-width");function Ee(){const e=G()?oe(Oe,null):null;return typeof e=="number"?e:void 0}function ke(e,t={}){const{window:o=O,ssrWidth:n=Ee()}=t,i=A(()=>o&&"matchMedia"in o&&typeof o.matchMedia=="function"),r=y(typeof n=="number"),s=y(),a=y(!1),l=c=>{a.value=c.matches};return V(()=>{if(r.value){r.value=!i.value;const c=h(e).split(",");a.value=c.some(u=>{const f=u.includes("not all"),v=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let w=!!(v||p);return v&&w&&(w=n>=z(v[1])),p&&w&&(w=n<=z(p[1])),f?!w:w});return}i.value&&(s.value=o.matchMedia(h(e)),a.value=s.value.matches)}),b(s,"change",l,{passive:!0}),g(()=>a.value)}function D(e,t={}){const{controls:o=!1,navigator:n=J}=t,i=A(()=>n&&"permissions"in n),r=y(),s=typeof e=="string"?{name:e}:e,a=y(),l=()=>{var u,f;a.value=(f=(u=r.value)==null?void 0:u.state)!=null?f:"prompt"};b(r,"change",l,{passive:!0});const c=ve(async()=>{if(i.value){if(!r.value)try{r.value=await n.permissions.query(s)}catch{r.value=void 0}finally{l()}if(o)return ne(r.value)}});return c(),o?{state:a,isSupported:i,query:c}:a}function ze(e={}){const{navigator:t=J,read:o=!1,source:n,copiedDuring:i=1500,legacy:r=!1}=e,s=A(()=>t&&"clipboard"in t),a=D("clipboard-read"),l=D("clipboard-write"),c=g(()=>s.value||r),u=y(""),f=y(!1),v=me(()=>f.value=!1,i,{immediate:!1});async function p(){let m=!(s.value&&P(a.value));if(!m)try{u.value=await t.clipboard.readText()}catch{m=!0}m&&(u.value=R())}c.value&&o&&b(["copy","cut"],p,{passive:!0});async function w(m=h(n)){if(c.value&&m!=null){let d=!(s.value&&P(l.value));if(!d)try{await t.clipboard.writeText(m)}catch{d=!0}d&&x(m),u.value=m,f.value=!0,v.start()}}function x(m){const d=document.createElement("textarea");d.value=m??"",d.style.position="absolute",d.style.opacity="0",document.body.appendChild(d),d.select(),document.execCommand("copy"),d.remove()}function R(){var m,d,E;return(E=(d=(m=document?.getSelection)==null?void 0:m.call(document))==null?void 0:d.toString())!=null?E:""}function P(m){return m==="granted"||m==="prompt"}return{isSupported:c,text:u,copied:f,copy:w}}function _e(e){return JSON.parse(JSON.stringify(e))}function De(e,t,o={}){const{window:n=O,...i}=o;let r;const s=A(()=>n&&"ResizeObserver"in n),a=()=>{r&&(r.disconnect(),r=void 0)},l=g(()=>{const f=h(e);return Array.isArray(f)?f.map(v=>_(v)):[_(f)]}),c=T(l,f=>{if(a(),s.value&&n){r=new ResizeObserver(t);for(const v of f)v&&r.observe(v,i)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return S(u),{isSupported:s,stop:u}}const xe="focusin",Pe="focusout",Te=":focus-within";function $e(e,t={}){const{window:o=O}=t,n=g(()=>_(e)),i=y(!1),r=g(()=>i.value),s=Se(t);if(!o||!s.value)return{focused:r};const a={passive:!0};return b(n,xe,()=>i.value=!0,a),b(n,Pe,()=>{var l,c,u;return i.value=(u=(c=(l=n.value)==null?void 0:l.matches)==null?void 0:c.call(l,Te))!=null?u:!1},a),{focused:r}}function Be(e,t,o,n={}){var i,r,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:v}=n,p=W(),w=o||p?.emit||((i=p?.$emit)==null?void 0:i.bind(p))||((s=(r=p?.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(p?.proxy));let x=c;t||(t="modelValue"),x=x||`update:${t.toString()}`;const R=d=>a?typeof a=="function"?a(d):_e(d):d,P=()=>se(e[t])?R(e[t]):f,m=d=>{v?v(d)&&w(x,d):w(x,d)};if(l){const d=P(),E=K(d);let C=!1;return T(()=>e[t],M=>{C||(C=!0,E.value=R(M),ee(()=>C=!1))}),T(E,M=>{!C&&(M!==e[t]||u)&&m(M)},{deep:u}),E}else return g({get(){return P()},set(d){m(d)}})}function Ge(){const e=W(),t=K(),o=g(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:_(t)),n=Object.assign({},e.exposed),i={};for(const s in e.props)Object.defineProperty(i,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(n).length>0)for(const s in n)Object.defineProperty(i,s,{enumerable:!0,configurable:!0,get:()=>n[s]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function r(s){t.value=s,s&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=i)}return{forwardRef:r,currentRef:t,currentElement:o}}export{ze as a,Ge as b,_ as c,ke as d,b as e,O as f,De as g,$e as h,j as i,Me as j,Ve as k,je as l,Fe as m,Re as n,Le as o,Ce as p,he as q,Ne as r,Ae as s,Ue as t,Be as u,Ie as v,me as w};