1import{au as D,av as F,a4 as R,aw as W,ax as O,ad as z,ae as G,s as $,a6 as U,f as V,H as P,x as b,K as T,ar as S,y as E,N as J,ag as q,Q as B,ay as H,az as K,aA as Z,aB as Q,aC as X,aD as Y,ab as ee,d as te,aE as ne,a1 as N}from"./CcUetKue.js";function oe(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[a=>{const s=D(o,a);if(s||s===null)return s;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},a=>(F(o,a),a)]}function Ie(e){return e==null}function ie(e,t){return z()?(G(e,t),!0):!1}function $e(e){let t=!1,n;const o=W(!0);return((...i)=>(t||(n=o.run(()=>e(...i)),t=!0),n))}const I=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const re=e=>typeof e<"u",ae=Object.prototype.toString,se=e=>ae.call(e)==="[object Object]",Me=ue();function ue(){var e,t,n;return I&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function M(e){return Array.isArray(e)?e:[e]}function le(e){return O()}function Te(e){if(!I)return e;let t=0,n,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return((...r)=>(t+=1,o||(o=W(!0),n=o.run(()=>e(...r))),ie(i),n))}function ce(e){return $(e)?U(new Proxy({},{get(t,n,o){return V(Reflect.get(e.value,n,o))},set(t,n,o){return $(e.value[n])&&!$(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):U(e)}function de(e){return ce(b(e))}function je(e,...t){const n=t.flat(),o=n[0];return de(()=>Object.fromEntries(typeof o=="function"?Object.entries(T(e)).filter(([i,r])=>!o(S(r),i)):Object.entries(T(e)).filter(i=>!n.includes(i[0]))))}function ke(e,t){le()&&R(e,t)}function fe(e,t,n){return P(e,t,{...n,immediate:!0})}const j=I?window:void 0;function k(e){var t;const n=S(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ve(...e){const t=(o,i,r,a)=>(o.addEventListener(i,r,a),()=>o.removeEventListener(i,r,a)),n=b(()=>{const o=M(S(e[0])).filter(i=>i!=null);return o.every(i=>typeof i!="string")?o:void 0});return fe(()=>{var o,i;return[(o=(i=n.value)===null||i===void 0?void 0:i.map(r=>k(r)))!==null&&o!==void 0?o:[j].filter(r=>r!=null),M(S(n.value?e[1]:e[0])),M(V(n.value?e[2]:e[1])),S(n.value?e[3]:e[2])]},([o,i,r,a],s,v)=>{if(!o?.length||!i?.length||!r?.length)return;const c=se(a)?{...a}:a,u=o.flatMap(p=>i.flatMap(d=>r.map(y=>t(p,d,y,c))));v(()=>{u.forEach(p=>p())})},{flush:"post"})}function Ue(){const e=q(!1),t=O();return t&&J(()=>{e.value=!0},t),e}function me(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,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:i=j,eventName:r="keydown",passive:a=!1,dedupe:s=!1}=o,v=me(t);return ve(i,r,u=>{u.repeat&&S(s)||v(u)&&n(u)},a)}function pe(e){return JSON.parse(JSON.stringify(e))}function _e(e,t,n,o={}){var i,r;const{clone:a=!1,passive:s=!1,eventName:v,deep:c=!1,defaultValue:u,shouldEmit:p}=o,d=O(),y=n||d?.emit||(d==null||(i=d.$emit)===null||i===void 0?void 0:i.bind(d))||(d==null||(r=d.proxy)===null||r===void 0||(r=r.$emit)===null||r===void 0?void 0:r.bind(d?.proxy));let g=v;t||(t="modelValue"),g=g||`update:${t.toString()}`;const C=f=>a?typeof a=="function"?a(f):pe(f):f,l=()=>re(e[t])?C(e[t]):u,m=f=>{p?p(f)&&y(g,f):y(g,f)};if(s){const f=E(l());let w=!1;return P(()=>e[t],h=>{w||(w=!0,f.value=C(h),B(()=>w=!1))}),P(f,h=>{!w&&(h!==e[t]||c)&&m(h)},{deep:c}),f}else return b({get(){return l()},set(f){m(f)}})}const[he]=oe("ConfigProvider");function ye(e){const t=O(),n=t?.type.emits,o={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(i=>
1{o[H(K(i))]=(...r)=>e(i,...r)}),o}function De(){const e=O(),t=E(),n=b(()=>o());Z(()=>{n.value!==o()&&Q(t)});function o(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:k(t)}const i=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(i).length>0)for(const s in i)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>i[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function a(s){if(t.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.hasOwn(s,"$el"))){const v=s.$.exposed,c=Object.assign({},r);for(const u in v)Object.defineProperty(c,u,{enumerable:!0,configurable:!0,get:()=>v[u]});e.exposed=c}}return{forwardRef:a,currentRef:t,currentElement:n}}function ge(e){const t=O(),n=Object.keys(t?.type.props??{}).reduce((i,r)=>{const a=(t?.type.props[r]).default;return a!==void 0&&(i[r]=a),i},{}),o=X(e);return b(()=>{const i={},r=t?.vnode.props??{};return Object.keys(r).forEach(a=>{i[K(a)]=r[a]}),Object.keys({...n,...i}).reduce((a,s)=>(o.value[s]!==void 0&&(a[s]=o.value[s]),a),{})})}function We(e,t){const n=ge(e),o=t?ye(t):{};return b(()=>({...n.value,...o}))}function Ve(e,t="reka"){let n;const o=he({useId:void 0});return o.useId?n=o.useId():n=Y?.(),t?`${t}-${n}`:n}function we(e,t){const n=E(e);function o(r){return t[n.value][r]??n.value}return{state:n,dispatch:r=>{n.value=o(r)}}}function be(e,t){const n=E({}),o=E("none"),i=E(e),r=e.value?"mounted":"unmounted";let a;const s=t.value?.ownerDocument.defaultView??j,{state:v,dispatch:c}=we(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=l=>{if(I){const m=new CustomEvent(l,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(m)}};P(e,async(l,m)=>{const f=m!==l;if(await B(),f){const w=o.value,h=x(t.value);l?(c("MOUNT"),u("enter"),h==="none"&&u("after-enter")):h==="none"||h==="undefined"||n.value?.display==="none"?(c("UNMOUNT"),u("leave"),u("after-leave")):m&&w!==h?(c("ANIMATION_OUT"),u("leave")):(c("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=l=>{const m=x(t.value),f=m.includes(CSS.escape(l.animationName)),w=v.value==="mounted"?"enter":"leave";if(l.target===t.value&&f&&(u(`after-${w}`),c("ANIMATION_END"),!i.value)){const h=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=s?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=h)})}l.target===t.value&&m==="none"&&c("ANIMATION_END")},d=l=>{l.target===t.value&&(o.value=x(t.value))},y=P(t,(l,m)=>{l?(n.value=getComputedStyle(l),l.addEventListener("animationstart",d),l.addEventListener("animationcancel",p),l.addEventListener("animationend",p)):(c("ANIMATION_END"),a!==void 0&&s?.clearTimeout(a),m?.removeEventListener("animationstart",d),m?.removeEventListener("animationcancel",p),m?.removeEventListener("animationend",p))},{immediate:!0}),g=P(v,()=>{const l=x(t.value);o.value=v.value==="mounted"?l:"none"});return ee(()=>{y(),g(),t.value&&(t.value.removeEventListener("animationstart",d),t.value.removeEventListener("animationcancel",p),t.value.removeEventListener("animationend",p)),a!==void 0&&s?.clearTimeout(a)}),{isPresent:b(()=>["mounted","unmountSuspended"].includes(v.value))}}function x(e){return e&&getComputedStyle(e).animationName||"none"}var Be=te({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:o,forceMount:i}=T(e),r=E(),{isPresent:a}=be(o,r);n({present:a});let s=t.default({present:a.value});s=ne(s||[]);const v=O();if(s&&s?.length>1){const c=v?.parent?.type.name?`<${v.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(u=>` - ${u}`).join(` 2`)].join(` 3`))}return()=>i.value||o.value||a.value?N(t.default({present:a.value})[0],{ref:c=>{const u=k(c);return typeof u?.hasAttribute>"u"||(u?.hasAttribute("data-reka-popper-content-wrapper")?r.value=u.firstElementChild:r.value=u),u}}
3):null}});const L=e=>e==="";const Ee=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();const _=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Oe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());const Ae=e=>{const t=Oe(e);return t.charAt(0).toUpperCase()+t.slice(1)};var A={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Pe=Symbol("lucide-icons");function Se(){return D(Pe,{})}const Ce=({name:e,iconNode:t,"icon-node":n,absoluteStrokeWidth:o,"absolute-stroke-width":i,strokeWidth:r,"stroke-width":a,size:s,color:v,...c},{slots:u})=>{const{size:p,color:d,strokeWidth:y=2,absoluteStrokeWidth:g=!1,class:C=""}=Se(),l=b(()=>{const m=L(o)||L(i)||o===!0||i===!0||g===!0,f=r||a||y||A["stroke-width"];return m?Number(f)*24/Number(s??p??A.width):f});return N("svg",{...A,...c,width:s??p??A.width,height:s??p??A.height,stroke:v??d??A.stroke,"stroke-width":l.value,class:Ee("lucide",C,...e?[`lucide-${_(Ae(e))}-icon`,`lucide-${_(e)}`]:["lucide-icon"])},[...(t??n??[]).map(m=>N(...m)),...u.default?[u.default()]:[]])};const Ke=(e,t)=>(n,{slots:o,attrs:i})=>N(Ce,{...i,...n,iconNode:t,name:e},o.default?{default:o.default}:void 0);export{Be as P,De as a,Ve as b,oe as c,ve as d,We as e,ge as f,I as g,he as h,Ie as i,k as j,Ke as k,Te as l,Me as m,$e as n,Le as o,ye as p,Ue as q,je as r,ke as t,_e as u};
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.