1import{I as K,b5 as U,F as H,aJ as m,aN as k,aO as q,b6 as W,b7 as _,o as Q,aH as D,aI as X,b8 as T,aL as A,w as b,b9 as Y,r as R,c as N,J as h,a3 as Z,p as ee,d as V,ba as te,L as ne,bb as oe,bc as j}from"./Pw-E633C.js";function Oe(e,t){const o=typeof e=="string"&&!t?`${e}Context`:t,n=Symbol(o);return[s=>{const u=K(n,s);if(u||u===null)return u;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(U(n,s),s)]}function G(e){return e?e.flatMap(t=>t.type===H?G(t.children):[t]):[]}function xe(e,t){var o;const n=D();return X(()=>{n.value=e()},{...t,flush:(o=void 0)!=null?o:"sync"}),T(n)}function y(e){return k()?(q(e),!0):!1}function Ae(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return y(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function Ee(e){let t=!1,o;const n=_(!0);return(...r)=>(t||(o=n.run(()=>e(...r)),t=!0),o)}function je(e){let t=0,o,n;const r=()=>{t-=1,n&&t<=0&&(n.stop(),o=void 0,n=void 0)};return(...i)=>(t+=1,n||(n=_(!0),o=n.run(()=>e(...i))),y(r),o)}const J=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const re=e=>typeof e<"u",ie=Object.prototype.toString,se=e=>ie.call(e)==="[object Object]",C=()=>{},Pe=ue();function ue(){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 z(e,t){function o(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return o}const B=e=>e();function ce(e,t={}){let o,n,r=C;const i=c=>{clearTimeout(c),r(),r=C};let s;return c=>{const l=m(e),a=m(t.maxWait);return o&&i(o),l<=0||a!==void 0&&a<=0?(n&&(i(n),n=null),Promise.resolve(c())):new Promise((p,f)=>{r=t.rejectOnCancel?f:p,s=c,a&&!n&&(n=setTimeout(()=>{o&&i(o),n=null,p(s())},a)),o=setTimeout(()=>{n&&i(n),n=null,p(c())},l)})}}function ae(e=B,t={}){const{initialState:o="active"}=t,n=fe(o==="active");function r(){n.value=!1}function i(){n.value=!0}const s=(...u)=>{n.value&&e(...u)};return{isActive:T(n),pause:r,resume:i,eventFilter:s}}function le(e){return A()}function P(e){return Array.isArray(e)?e:[e]}function fe(...e){if(e.length!==1)return Y(...e);const t=e[0];return typeof t=="function"?T(W(()=>({get:t,set:C}))):R(t)}function Ce(e,t=1e4){return W((o,n)=>{let r=m(e),i;const s=()=>setTimeout(()=>{r=m(e),n()},m(t));return y(()=>{clearTimeout(i)}),{get(){return o(),r},set(u){r=u,n(),clearTimeout(i),i=s()}}})}function Te(e,t=200,o={}){return z(ce(t,o),e)}function de(e,t,o={}){const{eventFilter:n=B,...r}=o;return b(e,z(n,t),r)}function M(e,t,o={}){const{eventFilter:n,initialState:r="active",...i}=o,{eventFilter:s,pause:u,resume:c,isActive:l}=ae(n,{initialState:r});return{stop:de(e,t,{...i,eventFilter:s}),pause:u,resume:c,isActive:l}}function Re(e,t,...[o]){const{flush:n="sync",deep:r=!1,immediate:i=!0,direction:s="both",transform:u={}}=o||{},c=[],l="ltr"in u&&u.ltr||(f=>f),a="rtl"in u&&u.rtl||(f=>f);return(s==="both"||s==="ltr")&&c.push(M(e,f=>{c.forEach(d=>d.pause()),t.value=l(f),c.forEach(d=>d.resume())},{flush:n,deep:r,immediate:i})),(s==="both"||s==="rtl")&&c.push(M(t,f=>{c.forEach(d=>d.pause()),e.value=a(f),c.forEach(d=>d.resume())},{flush:n,deep:r,immediate:i})),()=>{c.forEach(f=>f.stop())}}const Fe=m;function Ie(e,t){le()&&Q(e,t)}function pe(e,t,o){return b(e,t,{...o,immediate:!0})}function $e(e,t,o){const n=b(e,(...r)=>(N(()=>n()),t(...r)),o);return n}const F=J?window:void 0;function x(e){var t;const o=m(e);return(t=o?.$el)!=null?t:o}function me(...e){const t=[],o=()=>{t.forEach(u=>u()),t.length=0},n=(u,c,l,a)=>(u.addEventListener(c,l,a),()=>u.removeEventListener(c,l,a)),r=h(()=>{const u=P(m(e[0])).filter(c=>c!=null);return u.every(c=>typeof c!="string")?u:void 0}),i=pe(()=>{var u,c;return[(c=(u=r.value)==null?void 0:u.map(l=>x(l)))!=null?c:[F].filter(l=>l!=null),P(m(r.value?e[1]:e[0])),P(ee(r.value?e[2]:e[1])),m(r.value?e[3]:e[2])]},([u,c,l,a])=>{if(o(),!u?.length||!c?.length||!l?.length)return;const p=se(a)?{...a}:a;t.push(...u.flatMap(f=>c.flatMap(d=>l.map(g=>n(f,d,g,p)))))},{flush:"post"}),s=()=>{i(),o()};return y(o),s}function ve(){const e=D(!1),t=A();return t&&Z(()=>{e.value=!0},t),e}function be(e){const t=ve();return h(()=>
1(t.value,!!e()))}function he(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:r=F,eventName:i="keydown",passive:s=!1,dedupe:u=!1}=n,c=he(t);return me(r,i,a=>{a.repeat&&m(u)||c(a)&&o(a)},s)}function ye(e){return JSON.parse(JSON.stringify(e))}function Me(e,t,o={}){const{window:n=F,...r}=o;let i;const s=be(()=>n&&"ResizeObserver"in n),u=()=>{i&&(i.disconnect(),i=void 0)},c=h(()=>{const p=m(e);return Array.isArray(p)?p.map(f=>x(f)):[x(p)]}),l=b(c,p=>{if(u(),s.value&&n){i=new ResizeObserver(t);for(const f of p)f&&i.observe(f,r)}},{immediate:!0,flush:"post"}),a=()=>{u(),l()};return y(a),{isSupported:s,stop:a}}function We(e,t,o,n={}){var r,i,s;const{clone:u=!1,passive:c=!1,eventName:l,deep:a=!1,defaultValue:p,shouldEmit:f}=n,d=A(),g=o||d?.emit||((r=d?.$emit)==null?void 0:r.bind(d))||((s=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(d?.proxy));let w=l;t||(t="modelValue"),w=w||`update:${t.toString()}`;const I=v=>u?typeof u=="function"?u(v):ye(v):v,$=()=>re(e[t])?I(e[t]):p,L=v=>{f?f(v)&&g(w,v):g(w,v)};if(c){const v=$(),E=R(v);let S=!1;return b(()=>e[t],O=>{S||(S=!0,E.value=I(O),N(()=>S=!1))}),b(E,O=>{!S&&(O!==e[t]||a)&&L(O)},{deep:a}),E}else return h({get(){return $()},set(v){L(v)}})}function _e(){const e=A(),t=R(),o=h(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:x(t)),n=Object.assign({},e.exposed),r={};for(const s in e.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(n).length>0)for(const s in n)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>n[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function i(s){t.value=s,s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=r)}return{forwardRef:i,currentRef:t,currentElement:o}}const ge=V({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:o}){return()=>{if(!o.default)return null;const n=G(o.default()),r=n.findIndex(c=>c.type!==te);if(r===-1)return n;const i=n[r];delete i.props?.ref;const s=i.props?ne(t,i.props):t,u=oe({...i,props:{}},s);return n.length===1?u:(n[r]=u,n)}}}),we=["area","img","input"],De=V({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:o}){const n=e.asChild?"template":e.as;return typeof n=="string"&&we.includes(n)?()=>j(n,t):n!=="template"?()=>j(e.as,t,{default:o.default}):()=>j(ge,t,{default:o.default})}});export{De as P,ge as S,Oe as a,We as b,Ae as c,x as d,F as e,G as f,xe as g,ve as h,J as i,Te as j,Me as k,je as l,Pe as m,me as n,Le as o,Fe as p,Ee as q,Ce as r,Re as s,Ie as t,_e as u,$e as w};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.