PageSourceSearch

https://myaisummit.dev/assets/routes-B5pBvOD1.js

js myaisummit.dev collected 2026-10-02 01:52:41 UTC 134,153 bytes, 41 lines download raw bytes

1import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,l as s,m as c,n as l,o as u,p as d,s as f,u as p,v as m,y as h}from"./index-DBn5VAuU.js";import{a as g,c as _,i as v,l as y,n as b,o as x,r as S,s as C,t as w}from"./site-shell-C4m_Oupq.js";import{n as T,t as E}from"./browser-frame-D8JXFrkH.js";import{n as D,r as O,t as k}from"./message-circle-Cqnxd3p9.js";function A(e){if(Array.isArray(e))return e.flatMap(e=>A(e));if(typeof e!=`string`)return[];let t=[],n=0,r,i,a,o,s,c=()=>{for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length},l=()=>(i=e.charAt(n),i!==`=`&&i!==`;`&&i!==`,`);for(;n<e.length;){for(r=n,s=!1;c();)if(i=e.charAt(n),i===`,`){for(a=n,n+=1,c(),o=n;n<e.length&&l();)n+=1;n<e.length&&e.charAt(n)===`=`?(s=!0,n=o,t.push(e.slice(r,a)),r=n):n=a+1}else n+=1;(!s||n>=e.length)&&t.push(e.slice(r))}return t}function j(e){return e instanceof Headers?e:Array.isArray(e)||typeof e==`object`?new Headers(e):null}function M(...e){return e.reduce((e,t)=>{let n=j(t);if(!n)return e;for(let[t,r]of n.entries())t===`set-cookie`?A(r).forEach(t=>e.append(`set-cookie`,t)):e.set(t,r);return e},new Headers)}var N=h(m(),1);function P(e){let t=p();return N.useCallback(async(...n)=>{try{let t=await e(...n);if(d(t))throw t;return t}catch(e){if(d(e))return e.options._fromLocation=t.stores.location.get(),t.navigate(t.resolveRedirect(e).options);throw e}},[t,e])}function F(e){return e!==`__proto__`&&e!==`constructor`&&e!==`prototype`}function I(e,t){let n=Object.create(null);if(e)for(let t of Object.keys(e))F(t)&&(n[t]=e[t]);if(t&&typeof t==`object`)for(let e of Object.keys(t))F(e)&&(n[e]=t[e]);return n}function L(e){if(!e)return Object.create(null);let t=Object.create(null);for(let n of Object.keys(e))F(n)&&(t[n]=e[n]);return t}var ee=()=>{throw Error(`createServerOnlyFn() functions can only be called on the server!`)},te=(e,t)=>{let n=t||e||{};n.method===void 0&&(n.method=`GET`);let r=e=>te(void 0,{...n,validator:e,inputValidator:e});return Object.assign(e=>te(void 0,{...n,...e}),{options:n,middleware:e=>{let t=[...n.middleware||[]];e.map(e=>{a in e?e.options.middleware&&t.push(...e.options.middleware):t.push(e)});let r=te(void 0,{...n,middleware:t});return r[a]=!0,r},validator:r,inputValidator:r,handler:(...e)=>{let[t,r]=e,i={...n,extractedFn:t,serverFn:r},a=[...i.middleware||[],ae(i)];return t.method=n.method,Object.assign(async e=>{let n=await ne(a,`client`,{...t,...i,data:e?.data,headers:e?.headers,signal:e?.signal,fetch:e?.fetch,context:L()}),r=c(n.error);if(r)throw r;if(n.error)throw n.error;return n.result},{...t,method:n.method,__executeServer:async e=>{let n=ee(),r=n.contextAfterGlobalMiddlewares;return await ne(a,`server`,{...t,...e,serverFnMeta:t.serverFnMeta,context:I(e.context,r),request:n.request}).then(e=>({result:e.result,error:e.error,context:e.sendContext}))}})}})};async function ne(e,t,n){let r=re([...o()?.functionMiddleware||[],...e]);if(t===`server`){let e=ee({throwIfNotFound:!1});e?.executedRequestMiddlewares&&(r=r.filter(t=>!e.executedRequestMiddlewares.has(t)))}let i=async e=>{let n=r.shift();if(!n)return e;try{let r=`validator`in n.options?n.options.validator:void 0;!r&&`inputValidator`in n.options&&(r=n.options.inputValidator),r&&t===`server`&&(e.data=await ie(r,e.data));let a;if(t===`client`?`client`in n.options&&(a=n.options.client):`server`in n.options&&(a=n.options.server),a){let t=async(t={})=>{let n=await i({...e,...t,context:I(e.context,t.context),sendContext:I(e.sendContext,t.sendContext),headers:M(e.headers,t.headers),_callSiteFetch:e._callSiteFetch,fetch:e._callSiteFetch??t.fetch??e.fetch,result:t.result===void 0?t instanceof Response?t:e.result:t.result,error:t.error??e.error});if(n.error)throw n.error;return n},n=await a({...e,next:t});if(d(n))return{...e,error:n};if(n instanceof Response)return{...e,result:n};if(!n)throw Error(`User middleware returned undefined. You must call next() or return a result in your middlewares.`);return n}return i(e)}catch(t){return{...e,error:t}}};return i({...n,headers:n.headers||{},sendContext:n.sendContext||{},context:n.context||L(),_callSiteFetch:n.fetch})}function re(e,t=100){let n=new Set,r=[],i=(e,a)=>{if(a>t)throw Error(`Middleware nesting depth exceeded maximum of ${t}. Check for circular references.`);
1e.forEach(e=>{e.options.middleware&&i(e.options.middleware,a+1),n.has(e)||(n.add(e),r.push(e))})};return i(e,0),r}async function ie(e,t){if(e==null)return{};if(`~standard`in e){let n=await e[`~standard`].validate(t);if(n.issues)throw Error(JSON.stringify(n.issues,void 0,2));return n.value}if(`parse`in e)return e.parse(t);if(typeof e==`function`)return e(t);throw Error(`Invalid validator type!`)}function ae(e){return{"~types":void 0,options:{inputValidator:e.validator??e.inputValidator,client:async({next:t,sendContext:n,fetch:r,...i})=>{let a={...i,context:n,fetch:r};return t(await e.extractedFn?.(a))},server:async({next:t,...n})=>{let r=await e.serverFn?.(n);return t({...n,result:r})}}}}var oe=y(`accessibility`,[[`circle`,{cx:`16`,cy:`4`,r:`1`,key:`1grugj`}],[`path`,{d:`m18 19 1-7-6 1`,key:`r0i19z`}],[`path`,{d:`m5 8 3-3 5.5 3-2.36 3.5`,key:`9ptxx2`}],[`path`,{d:`M4.24 14.5a5 5 0 0 0 6.88 6`,key:`10kmtu`}],[`path`,{d:`M13.76 17.5a5 5 0 0 0-6.88-6`,key:`2qq6rc`}]]),se=y(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),ce=y(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),le=y(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),ue=y(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),de=y(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),fe=y(`handshake`,[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]),pe=y(`heart-handshake`,[[`path`,{d:`M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762`,key:`17lmqv`}]]),me=y(`messages-square`,[[`path`,{d:`M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z`,key:`1n2ejm`}],[`path`,{d:`M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1`,key:`1qfcsi`}]]),he=y(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),ge=y(`mountain`,[[`path`,{d:`m8 3 4 8 5-5 5 15H2L8 3z`,key:`otkl63`}]]),_e=y(`panels-top-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M9 21V9`,key:`1oto5p`}]]),ve=y(`plug`,[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]),ye=y(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),be=y(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),xe=y(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Se=y(`smartphone`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),Ce=y(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),we=y(`store`,[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`,key:`slp6dd`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`,key:`o0xfot`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`,key:`wn3emo`}]]),Te=y(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),R=r(),Ee=Object.defineProperty,z=(e,t)=>Ee(e,`name`,{value:t,configurable:!0});function De(e,t){let n=N.createContext(t);n.displayName=e+`Context`;let r=z(e=>{let{children:t,...r}=e,i=N.useMemo(()=>r,Object.values(r));return(0,R.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=N.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return z(i,`useContext`),[r,i]}z(De,`createContext`);function Oe(e,t=[]){let n=[];function r(t,r){let i=N.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=z(t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=N.useMemo(()=>o,Object.values(o));return(0,R.jsx)(s.Provider,{value:c,children:r})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}
1=s,l=o?.[e]?.[a]||i,u=N.useContext(l);if(u)return u;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return z(s,`useContext`),[o,s]}z(r,`createContext`);let i=z(()=>{let t=n.map(e=>N.createContext(e));return z(function(n){let r=n?.[e]||t;return N.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,ke(i,...t)]}z(Oe,`createContextScope`);function ke(...e){let t=e[0];if(e.length===1)return t;let n=z(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return z(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return N.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}z(ke,`composeContextScopes`);var Ae=Object.defineProperty,B=(e,t)=>Ae(e,`name`,{value:t,configurable:!0});function je(e){let t=e+`CollectionProvider`,[n,r]=Oe(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=B(e=>{let{scope:t,children:n}=e,r=N.useRef(null),a=N.useRef(new Map).current;return(0,R.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})},`CollectionProvider`);o.displayName=t;let s=e+`CollectionSlot`,c=x(s),l=N.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=a(s,n),o=C(t,i.collectionRef);return(0,R.jsx)(c,{ref:o,children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=x(u),p=N.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=N.useRef(null),s=C(t,o),c=a(u,n);return N.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,R.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function m(t){let n=a(e+`CollectionConsumer`,t);return N.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return B(m,`useCollection`),[{Provider:o,Slot:l,ItemSlot:p},m,r]}B(je,`createCollection`);var Me=new WeakMap,Ne=class e extends Map{static{B(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],Me.set(this,!0)}set(e,t){return Me.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=Ie(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=Pe(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=Pe(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return Pe(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function Pe(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=Fe(e,t);return n===-1?void 0:e[n]}B(Pe,`at`);function Fe(e,t){let n=e.length,r=Ie(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}B(Fe,`toSafeIndex`);function Ie(e){return e!==e||e===0?0:Math.trunc(e)}B(Ie,`toSafeInteger`);function Le(e){let t=e+`CollectionProvider`,[n,r]=Oe(t),[i,a]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Ne,setItemMap:B(()=>void 0,`setItemMap`)}),o=B(({state:e,...t})=>e?(0,R.jsx)(c,{...t,state:e}):(0,R.jsx)(s,{...t}),`CollectionProvider`);o.displayName=t;let s=B(e=>{let t=h();return(0,R.jsx)(c,{...e,state:t})},`CollectionInit`);s.displayName=t+`Init`;let c=B(e=>{let{scope:t,children:n,state:r}=e,a=N.useRef(null),[o,s]=N.useState(null),c=C(a,s),[l,u]=r;return N.useEffect(()=>{if(!o)return;let e=Ve(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,R.jsx)(i,{scope:t,itemMap:l,setItemMap:u,collectionRef:c,collectionRefObject:a,collectionElement:o,children:n})},`CollectionProviderImpl`);c.displayName=t+`Impl`;let l=e+`CollectionSlot`,u=x(l),d=N.forwardRef((e,t)=>
1{let{scope:n,children:r}=e,i=a(l,n),o=C(t,i.collectionRef);return(0,R.jsx)(u,{ref:o,children:r})});d.displayName=l;let f=e+`CollectionItemSlot`,p=x(f),m=N.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=N.useRef(null),[s,c]=N.useState(null),l=C(t,o,c),{setItemMap:u}=a(f,n),d=N.useRef(i);Re(d.current,i)||(d.current=i);let m=d.current;return N.useEffect(()=>{let e=m;return u(t=>s?t.has(s)?t.set(s,{...e,element:s}).toSorted(Be):(t.set(s,{...e,element:s}),t.toSorted(Be)):t),()=>{u(e=>!s||!e.has(s)?e:(e.delete(s),new Ne(e)))}},[s,m,u]),(0,R.jsx)(p,{"data-radix-collection-item":``,ref:l,children:r})});m.displayName=f;function h(){return N.useState(new Ne)}B(h,`useInitCollection`);function g(t){let{itemMap:n}=a(e+`CollectionConsumer`,t);return n}return B(g,`useCollection`),[{Provider:o,Slot:d,ItemSlot:m},{createCollectionScope:r,useCollection:g,useInitCollection:h}]}B(Le,`createCollection`);function Re(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}B(Re,`shallowEqual`);function ze(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}B(ze,`isElementPreceding`);function Be(e,t){return!e[1].element||!t[1].element?0:ze(e[1].element,t[1].element)?-1:1}B(Be,`sortByDocumentPosition`);function Ve(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}B(Ve,`getChildListObserver`);var He=Object.defineProperty,Ue=(e,t)=>He(e,`name`,{value:t,configurable:!0}),We=!!(typeof window<`u`&&window.document&&window.document.createElement);function V(e,t,{checkForDefaultPrevented:n=!0}={}){return Ue(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}Ue(V,`composeEventHandlers`);function Ge(e){if(!We)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}Ue(Ge,`getOwnerWindow`);function Ke(e){if(!We)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}Ue(Ke,`getOwnerDocument`);function qe(e,t=!1){let{activeElement:n}=Ke(e);if(!n?.nodeName)return null;if(Je(n)&&n.contentDocument)return qe(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=Ke(n).getElementById(e);if(t)return t}}return n}Ue(qe,`getActiveElement`);function Je(e){return e.tagName===`IFRAME`}Ue(Je,`isFrame`);var H=globalThis?.document?N.useLayoutEffect:()=>{},Ye=Object.defineProperty,Xe=(e,t)=>Ye(e,`name`,{value:t,configurable:!0}),Ze=N.useEffectEvent,Qe=N.useInsertionEffect;function $e(e){if(typeof Ze==`function`)return Ze(e);let t=N.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof Qe==`function`?Qe(()=>{t.current=e}):H(()=>{t.current=e}),N.useMemo(()=>((...e)=>t.current?.(...e)),[])}Xe($e,`useEffectEvent`);var et=Object.defineProperty,tt=(e,t)=>et(e,`name`,{value:t,configurable:!0}),nt=N.useInsertionEffect||H;function rt({prop:e,defaultProp:t,onChange:n=tt(()=>{},`onChange`),caller:r}){let[i,a,o]=it({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,N.useCallback(t=>{if(s){let n=at(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}tt(rt,`useControllableState`);function it({defaultProp:e,onChange:t}){let[n,r]=N.useState(e),i=N.useRef(n),a=N.useRef(t);return nt(()=>{a.current=t},[t]),N.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}tt(it,`useUncontrolledState`);function at(e){return typeof e==`function`}tt(at,`isFunction`);var ot=Symbol(`RADIX:SYNC_STATE`);function st(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,l=$e(o),u=[{...n,state:a}];r&&u.push(r);let[d,f]=N.useReducer((t,n)=>{if(n.type===ot)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...u),p=d.state,m=N.useRef(p);N.useEffect(()=>{m.current!==p&&(m.current=p,c||l(p))},[p,m,c]);let h=N.useMemo(()=>i===void 0?d:{...d,state:i},[d,i]);return N.useEffect(()=>{c&&!Object.is(i,d.state)&&f({type:ot,state:i})},[i,d.state,c]),[h,f]}tt(st,`useControllableStateReducer`);var ct=h(e(),1),lt=Object.defineProperty,ut=(e,t)=>lt(e,`name`,{value:t,configurable:!0}),U=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>
1{let n=x(`Primitive.${t}`),r=N.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,R.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function dt(e,t){e&&ct.flushSync(()=>e.dispatchEvent(t))}ut(dt,`dispatchDiscreteCustomEvent`);var ft=Object.defineProperty,pt=(e,t)=>ft(e,`name`,{value:t,configurable:!0});function mt(e,t){return N.useReducer((e,n)=>t[e][n]??e,e)}pt(mt,`useStateMachine`);var ht=pt(e=>{let{present:t,children:n}=e,r=gt(t),i=typeof n==`function`?n({present:r.isPresent}):N.Children.only(n),a=vt(r.ref,bt(i));return typeof n==`function`||r.isPresent?N.cloneElement(i,{ref:a}):null},`Presence`);function gt(e){let[t,n]=N.useState(),r=N.useRef(null),i=N.useRef(e),a=N.useRef(`none`),o=N.useRef(void 0),[s,c]=mt(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return N.useEffect(()=>{s===`mounted`?(a.current=o.current??yt(r.current),o.current=void 0):a.current=`none`},[s]),H(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=yt(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),H(()=>
1{if(t){let e,n=t.ownerDocument.defaultView??window,o=pt(a=>{let o=yt(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=pt(e=>{e.target===t&&(a.current=yt(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:N.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=yt(t)}else r.current=null;n(e)},[])}}pt(gt,`usePresence`);function _t(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}pt(_t,`setRef`);function vt(...e){let t=N.useRef(e);return t.current=e,N.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=_t(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():_t(n[e],null)}}},[])}pt(vt,`useStableComposedRefs`);function yt(e){return e?.animationName||`none`}pt(yt,`getAnimationName`);function bt(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}pt(bt,`getElementRef`);var xt=Object.defineProperty,St=(e,t)=>xt(e,`name`,{value:t,configurable:!0}),Ct=N.useId||(()=>void 0),wt=0;function Tt(e){let[t,n]=N.useState(Ct());return H(()=>{e||n(e=>e??String(wt++))},[e]),e||(t?`radix-${t}`:``)}St(Tt,`useId`);var Et=Object.defineProperty,Dt=(e,t)=>
1Et(e,`name`,{value:t,configurable:!0}),Ot=`Collapsible`,[kt,At]=Oe(Ot),[jt,Mt]=kt(Ot),Nt=N.forwardRef(Dt(function(e,t){let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,l]=rt({prop:r,defaultProp:i??!1,onChange:o,caller:Ot});return(0,R.jsx)(jt,{scope:n,disabled:a,contentId:Tt(),open:c,onOpenToggle:N.useCallback(()=>l(e=>!e),[l]),children:(0,R.jsx)(U.div,{"data-state":zt(c),"data-disabled":a?``:void 0,...s,ref:t})})},`Collapsible`)),Pt=`CollapsibleTrigger`,Ft=N.forwardRef(Dt(function(e,t){let{__scopeCollapsible:n,...r}=e,i=Mt(Pt,n);return(0,R.jsx)(U.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":zt(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:V(e.onClick,i.onOpenToggle)})},`CollapsibleTrigger`)),It=`CollapsibleContent`,Lt=N.forwardRef(Dt(function(e,t){let{forceMount:n,...r}=e,i=Mt(It,e.__scopeCollapsible);return(0,R.jsx)(ht,{present:n||i.open,children:({present:e})=>(0,R.jsx)(Rt,{...r,ref:t,present:e})})},`CollapsibleContent`)),Rt=N.forwardRef(Dt(function(e,t){let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=Mt(It,n),[s,c]=N.useState(r),l=N.useRef(null),u=C(t,l),d=N.useRef(0),f=d.current,p=N.useRef(0),m=p.current,h=o.open||s,g=N.useRef(h),_=N.useRef(void 0);return N.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),H(()=>{let e=l.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.current=t.height,p.current=t.width,g.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),c(r)}},[o.open,r]),(0,R.jsx)(U.div,{"data-state":zt(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!h,...a,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:h&&i})},`CollapsibleContentImpl`));function zt(e){return e?`open`:`closed`}Dt(zt,`getState`);var Bt=Nt,Vt=Ft,Ht=Lt,Ut=Object.defineProperty,Wt=(e,t)=>Ut(e,`name`,{value:t,configurable:!0}),Gt=N.createContext(void 0);function Kt(e){let t=N.useContext(Gt);return e||t||`ltr`}Wt(Kt,`useDirection`);var qt=Object.defineProperty,W=(e,t)=>qt(e,`name`,{value:t,configurable:!0}),G=`Accordion`,Jt=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[Yt,Xt,Zt]=je(G),[Qt,$t]=Oe(G,[Zt,At]),en=At(),tn=N.forwardRef(W(function(e,t){let{type:n,...r}=e,i=r,a=r;return(0,R.jsx)(Yt.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,R.jsx)(cn,{...a,ref:t}):(0,R.jsx)(sn,{...i,ref:t})})},`Accordion`)),[nn,rn]=Qt(G),[an,on]=Qt(G,{collapsible:!1}),sn=N.forwardRef(W(function(e,t){let{value:n,defaultValue:r,onValueChange:i=W(()=>{},`onValueChange`),collapsible:a=!1,...o}=e,[s,c]=rt({prop:n,defaultProp:r??``,onChange:i,caller:G});return(0,R.jsx)(nn,{scope:e.__scopeAccordion,value:N.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:N.useCallback(()=>a&&c(``),[a,c]),children:(0,R.jsx)(an,{scope:e.__scopeAccordion,collapsible:a,children:(0,R.jsx)(dn,{...o,ref:t})})})},`AccordionImplSingle`)),cn=N.forwardRef(W(function(e,t){let{value:n,defaultValue:r,onValueChange:i=W(()=>{},`onValueChange`),...a}=e,[o,s]=rt({prop:n,defaultProp:r??[],onChange:i,caller:G}),c=N.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=N.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,R.jsx)(nn,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:l,children:(0,R.jsx)(an,{scope:e.__scopeAccordion,collapsible:!0,children:(0,R.jsx)(dn,{...a,ref:t})})})},`AccordionImplMultiple`)),[ln,un]=Qt(G),dn=N.forwardRef(W(function(e,t){let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=N.useRef(null),c=C(s,t),l=Xt(n),u=Kt(i)===`ltr`,d=V(e.onKeyDown,e=>{if(!Jt.includes(e.key))return;let t=e.target,n=l().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let o=r,s=i-1,c=W(()=>{o=r+1,o>s&&(o=0)},`moveNext`),d=W(()=>{o=r-1,o<0&&(o=s)},`movePrev`);switch(e.key){case`Home`:o=0;break;case`End`:o=s;break;case`ArrowRight`:a===`horizontal`&&(u?c():d());break;case`ArrowDown`:a===`vertical`&&c();break;case`ArrowLeft`:a===`horizontal`&&(u?d():c());break;case`ArrowUp`:a===`vertical`&&d()}n[o%i].ref.current?.focus()});return(0,R.jsx)(ln,{scope:n,disabled:r,direction:i,orientation:a,children:(0,R.jsx)(Yt.Slot,{scope:n,children:(0,R.jsx)(U.div,{...o,"data-orientation":a,ref:c,onKeyDown:r?void 0:d})})})},`AccordionImpl`)),fn=`AccordionItem`,[pn,mn]=Qt(fn),hn=N.forwardRef(W(function(e,t){let{__scopeAccordion:n,value:r,...i}=e,a=un(fn,n),o=rn(fn,n),s=en(n),c=Tt(),l=r&&o.value.includes(r)||!1,u=a.disabled||e.disabled;return(0,R.jsx)(pn,{scope:n,open:l,disabled:u,triggerId:c,children:(0,R.jsx)(Bt,{"data-orientation":a.orientation,"data-state":Sn(l),...s,...i,ref:t,disabled:u,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})},`AccordionItem`)),gn=`AccordionHeader`,_n=N.forwardRef(W(function(e,t){let{__scopeAccordion:n,...r}=e,i=un(G,n),a=mn(gn,n);return(0,R.jsx)(U.h3,{"data-orientation":i.orientation,"data-state":Sn(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})},`AccordionHeader`)),vn=`AccordionTrigger`,yn=N.forwardRef(W(function(e,t){let{__scopeAccordion:n,...r}
1=e,i=un(G,n),a=mn(vn,n),o=on(vn,n),s=en(n);return(0,R.jsx)(Yt.ItemSlot,{scope:n,children:(0,R.jsx)(Vt,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})},`AccordionTrigger`)),bn=`AccordionContent`,xn=N.forwardRef(W(function(e,t){let{__scopeAccordion:n,...r}=e,i=un(G,n),a=mn(bn,n),o=en(n);return(0,R.jsx)(Ht,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})},`AccordionContent`));function Sn(e){return e?`open`:`closed`}W(Sn,`getState`);var Cn=tn,wn=hn,Tn=_n,En=yn,Dn=xn,On=Cn,kn=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(wn,{ref:n,className:v(`border-b`,e),...t}));kn.displayName=`AccordionItem`;var An=N.forwardRef(({className:e,children:t,...n},r)=>(0,R.jsx)(Tn,{className:`flex`,children:(0,R.jsxs)(En,{ref:r,className:v(`flex flex-1 items-center justify-between py-4 text-sm font-medium cursor-pointer transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180`,e),...n,children:[t,(0,R.jsx)(le,{className:`h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200`})]})}));An.displayName=En.displayName;var jn=N.forwardRef(({className:e,children:t,...n},r)=>(0,R.jsx)(Dn,{ref:r,className:`overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down`,...n,children:(0,R.jsx)(`div`,{className:v(`pb-4 pt-0`,e),children:t})}));jn.displayName=Dn.displayName;var Mn=N.forwardRef(({className:e,type:t,...n},r)=>(0,R.jsx)(`input`,{type:t,className:v(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:r,...n}));Mn.displayName=`Input`;var Nn=Object.defineProperty,Pn=N.forwardRef(((e,t)=>Nn(e,`name`,{value:t,configurable:!0}))(function(e,t){return(0,R.jsx)(U.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},`Label`)),Fn=g(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),In=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(Pn,{ref:n,className:v(Fn(),e),...t}));In.displayName=Pn.displayName;var Ln=Object.defineProperty,Rn=(e,t)=>Ln(e,`name`,{value:t,configurable:!0});function zn(e,[t,n]){return Math.min(n,Math.max(t,e))}Rn(zn,`clamp`);var Bn=Object.defineProperty,Vn=(e,t)=>Bn(e,`name`,{value:t,configurable:!0});function K(e){let t=N.useRef(e);return N.useEffect(()=>{t.current=e}),N.useMemo(()=>((...e)=>t.current?.(...e)),[])}Vn(K,`useCallbackRef`);var Hn=Object.defineProperty,q=(e,t)=>Hn(e,`name`,{value:t,configurable:!0}),Un=`dismissableLayer.update`,Wn=`dismissableLayer.pointerDownOutside`,Gn=`dismissableLayer.focusOutside`,Kn,qn=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Jn=N.forwardRef(q(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:c,...l}=e,u=N.useContext(qn),[d,f]=N.useState(null),p=d?.ownerDocument??globalThis?.document,[,m]=N.useState({}),h=C(t,f),g=Array.from(u.layers),[_]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=_?g.indexOf(_):-1,y=d?g.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=v,S=N.useRef(!1),w=Zn(e=>{a?.(e),s?.(e),e.defaultPrevented||c?.()},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:S,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:N.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...u.branches].some(t=>t.contains(e));return x&&!t},[u.branches,x])}),T=Qn(e=>{if(r&&S.current)return;let t=e.target;[...u.branches].some(e=>e.contains(t))||(o?.(e),s?.(e),e.defaultPrevented||c?.())},p),E=d?y===g.length-1:!1,D=K(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))});return N.useEffect(()=>
1{if(E)return p.addEventListener(`keydown`,D,{capture:!0}),()=>p.removeEventListener(`keydown`,D,{capture:!0})},[p,E,D]),N.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Kn=p.body.style.pointerEvents,p.body.style.pointerEvents=`none`),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),$n(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=Kn))}},[d,p,n,u]),N.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),$n())},[d,u]),N.useEffect(()=>{let e=q(()=>m({}),`handleUpdate`);return document.addEventListener(Un,e),()=>document.removeEventListener(Un,e)},[]),(0,R.jsx)(U.div,{...l,ref:h,style:{pointerEvents:b?x?`auto`:`none`:void 0,...e.style},onFocusCapture:V(e.onFocusCapture,T.onFocusCapture),onBlurCapture:V(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:V(e.onPointerDownCapture,w.onPointerDownCapture)})},`DismissableLayer`));function Yn(){let e=N.useContext(qn),[t,n]=N.useState(null);return N.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}q(Yn,`useDismissableLayerSurface`);var Xn=q(()=>!0,`IS_TRUE`);function Zn(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=Xn}=t,s=K(e),c=N.useRef(!1),l=N.useRef(!1),u=N.useRef(new Map),d=N.useRef(()=>{});return N.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}q(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}q(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}q(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}q(p,`handleInteractionBubble`);let m=q(a=>{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||er(Wn,s,p,{discrete:!0})};if(q(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:q(()=>c.current=!0,`onPointerDownCapture`)}}q(Zn,`usePointerDownOutside`);function Qn(e,t=globalThis?.document){let n=K(e),r=N.useRef(!1);return N.useEffect(()=>{let e=q(e=>{e.target&&!r.current&&er(Gn,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:q(()=>r.current=!0,`onFocusCapture`),onBlurCapture:q(()=>r.current=!1,`onBlurCapture`)}}q(Qn,`useFocusOutside`);function $n(){let e=new CustomEvent(Un);document.dispatchEvent(e)}q($n,`dispatchUpdate`);function er(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?dt(i,a):i.dispatchEvent(a)}q(er,`handleAndDispatchCustomEvent`);var tr=Object.defineProperty,nr=(e,t)=>
1tr(e,`name`,{value:t,configurable:!0}),rr=0,ir=null;function ar(e){return or(),e.children}nr(ar,`FocusGuards`);function or(){N.useEffect(()=>{ir||={start:sr(),end:sr()};let{start:e,end:t}=ir;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),rr++,()=>{rr===1&&(ir?.start.remove(),ir?.end.remove(),ir=null),rr=Math.max(0,rr-1)}},[])}nr(or,`useFocusGuards`);function sr(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}nr(sr,`createFocusGuard`);var cr=Object.defineProperty,J=(e,t)=>cr(e,`name`,{value:t,configurable:!0}),lr=`focusScope.autoFocusOnMount`,ur=`focusScope.autoFocusOnUnmount`,dr={bubbles:!1,cancelable:!0},fr=N.forwardRef(J(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=N.useState(null),l=K(i),u=K(a),d=N.useRef(null),f=C(t,c),p=N.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;N.useEffect(()=>{if(r){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:yr(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||yr(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&yr(s)};J(e,`handleFocusIn`),J(t,`handleFocusOut`),J(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,s,p.paused]),N.useEffect(()=>{if(s){br.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(lr,dr);s.addEventListener(lr,l),s.dispatchEvent(t),t.defaultPrevented||(pr(Cr(hr(s)),{select:!0}),document.activeElement===e&&yr(s))}return()=>{s.removeEventListener(lr,l),setTimeout(()=>{let t=new CustomEvent(ur,dr);s.addEventListener(ur,u),s.dispatchEvent(t),t.defaultPrevented||yr(e??document.body,{select:!0}),s.removeEventListener(ur,u),br.remove(p)},0)}}},[s,l,u,p]);let m=N.useCallback(e=>{if(!n&&!r||p.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=mr(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&yr(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&yr(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,R.jsx)(U.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})},`FocusScope`));function pr(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(yr(r,{select:t}),document.activeElement!==n)return}J(pr,`focusFirst`);function mr(e){let t=hr(e);return[gr(t,e),gr(t.reverse(),e)]}J(mr,`getTabbableEdges`);function hr(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:J(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}J(hr,`getTabbableCandidates`);function gr(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):_r(r,{upTo:t})))return r}J(gr,`findVisible`);function _r(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}J(_r,`isHidden`);function vr(e){return e instanceof HTMLInputElement&&`select`in e}J(vr,`isSelectableInput`);function yr(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vr(e)&&t&&e.select()}}J(yr,`focus`);var br=xr();function xr(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=Sr(e,t),e.unshift(t)},remove(t){e=Sr(e,t),e[0]?.resume()}}}J(xr,`createFocusScopesStack`);function Sr(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}J(Sr,`arrayRemove`);function Cr(e){return e.filter(e=>e.tagName!==`A`)}J(Cr,`removeLinks`);var wr=[`top`,`right`,`bottom`,`left`],Tr=Math.min,Er=Math.max,Dr=Math.round,Or=Math.floor,kr=e=>({x:e,y:e}),Ar={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function jr(e,t,n){return Er(e,Tr(t,n))}function Mr(e,t){return typeof e==`function`?e(t):e}function Nr(e){return e.split(`-`)[0]}function Pr(e){return e.split(`-`)[1]}function Fr(e){return e===`x`?`y`:`x`}function Ir(e){return e===`y`?`height`:`width`}function Y(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Lr(e){return Fr(Y(e))}function Rr(e,t,n){n===void 0&&(n=!1);
vendor: 5,017 bytes, line 1
1let r=Pr(e),i=Lr(e),a=Ir(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=qr(o)),[o,qr(o)]}function zr(e){let t=qr(e);return[Br(e),t,Br(t)]}function Br(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Vr=[`left`,`right`],Hr=[`right`,`left`],Ur=[`top`,`bottom`],Wr=[`bottom`,`top`];function Gr(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Hr:Vr:t?Vr:Hr;case`left`:case`right`:return t?Ur:Wr;default:return[]}}function Kr(e,t,n,r){let i=Pr(e),a=Gr(Nr(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Br)))),a}function qr(e){let t=Nr(e);return Ar[t]+e.slice(t.length)}function Jr(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Yr(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Jr(e)}function Xr(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Zr(e,t,n){let{reference:r,floating:i}=e,a=Y(t),o=Lr(t),s=Ir(o),c=Nr(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Pr(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Qr(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Mr(t,e),p=Yr(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Xr(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Xr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var $r=50,ei=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Qr},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Zr(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<$r&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Zr(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},ti=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Mr(e,t)||{};if(l==null)return{};let d=Yr(u),f={x:n,y:r},p=Lr(i),m=Ir(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Tr(d[_],T),D=Tr(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=jr(E,k,O),j=!c.arrow&&Pr(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),ni=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Mr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Nr(r),_=Y(o),v=Nr(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[qr(o)]:zr(o)),x=p!==`none`;!d&&x&&b.push(...Kr(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Rr(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===Y(t)||T.every(e=>Y(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Y(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function ri(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ii(e){return wr.some(t=>e[t]>=0)}var ai=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Mr(e,t);switch(i){case`referenceHidden`:{let e=ri(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ii(e)}}}case`escaped`:{let e=ri(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ii(e)}}}default:return{}}}}},oi=new Set([`left`,`top`]);async function si(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Nr(n),s=Pr(n),c=Y(n)===`y`,l=oi.has(o)?-1:1,u=a&&c?-1:1,d=Mr(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ci=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await si(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},li=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Mr(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Y(i),p=Fr(f),m=u[p],h=u[f],g=(e,t)=>jr(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},ui=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Mr(e,t),u={x:n,y:r},d=Y(i),f=Fr(d),p=u[f],m=u[d],h=Mr(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=oi.has(Nr(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},di=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Mr(e,t),c=await i.detectOverflow(t,s),l=Nr(n),u=Pr(n),d=Y(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Tr(p-c[m],g),y=Tr(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*Er(c.left,c.right):S=p-2*Er(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function fi(){return typeof window<`u`}function pi(e){return hi(e)?(e.nodeName||``).toLowerCase():`#document`}function X(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mi(e){return((hi(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function hi(e){return fi()?e instanceof Node||e instanceof X(e).Node:!1}function Z(e){return fi()?e instanceof Element||e instanceof X(e).Element:!1}function gi(e){return fi()?e instanceof HTMLElement||e instanceof X(e).HTMLElement:!1}function _i(e){return!fi()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function vi(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ki(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function yi(e){return/^(table|td|th)$/.test(pi(e))}function bi(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var xi=/transform|translate|scale|rotate|perspective|filter/,Si=/paint|layout|strict|content/,Ci=e=>!!e&&e!==`none`,wi;function Ti(e){let t=Z(e)?ki(e):e;return Ci(t.transform)||Ci(t.translate)||Ci(t.scale)||Ci(t.rotate)||Ci(t.perspective)||!Di()&&(Ci(t.backdropFilter)||Ci(t.filter))||xi.test(t.willChange||``)||Si.test(t.contain||``)}function Ei(e){let t=ji(e);for(;gi(t)&&!Oi(t);){if(Ti(t))return t;if(bi(t))return null;t=ji(t)}return null}function Di(){return wi??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),wi}function Oi(e){return/^(html|body|#document)$/.test(pi(e))}function ki(e){return X(e).getComputedStyle(e)}function Ai(e){return Z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ji(e){if(pi(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||_i(e)&&e.host||mi(e);return _i(t)?t.host:t}function Mi(e){let t=ji(e);return Oi(t)?(e.ownerDocument||e).body:gi(t)&&vi(t)?t:Mi(t)}function Ni(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Mi(e),i=r===e.ownerDocument?.body,a=X(r);if(i){let e=Pi(a);
vendor: 4,228 bytes, line 1
1return t.concat(a,a.visualViewport||[],vi(r)?r:[],e&&n?Ni(e):[])}return t.concat(r,Ni(r,[],n))}function Pi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fi(e){let t=ki(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=gi(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Dr(n)!==a||Dr(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ii(e){return Z(e)?e:e.contextElement}function Li(e){let t=Ii(e);if(!gi(t))return kr(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Fi(t),o=(a?Dr(n.width):n.width)/r,s=(a?Dr(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Ri=kr(0);function zi(e){let t=X(e);return!Di()||!t.visualViewport?Ri:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bi(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===X(e)}function Vi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ii(e),o=kr(1);t&&(r?Z(r)&&(o=Li(r)):o=Li(e));let s=Bi(a,n,r)?zi(a):kr(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=X(a),t=Z(r)?X(r):r,n=e,i=Pi(n);for(;i&&t!==n;){let e=Li(i),t=i.getBoundingClientRect(),r=ki(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=X(i),i=Pi(n)}}return Xr({width:u,height:d,x:c,y:l})}function Hi(e,t){let n=Ai(e).scrollLeft;return t?t.left+n:Vi(mi(e)).left+n}function Ui(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Hi(e,n),y:n.top+t.scrollTop}}function Wi(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=mi(r),s=t?bi(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=kr(1),u=kr(0),d=gi(r);if((d||!a)&&((pi(r)!==`body`||vi(o))&&(c=Ai(r)),d)){let e=Vi(r);l=Li(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Ui(o,c):kr(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Gi(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Ki(e){let t=Ai(e),n=e.ownerDocument.body,r=Er(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Er(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Hi(e),o=-t.scrollTop;return ki(n).direction===`rtl`&&(a+=Er(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var qi=25;function Ji(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=X(e),a=mi(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Di()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Hi(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=qi&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Yi(e,t){let n=Vi(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Li(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Xi(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Ji(e,n,t);else if(t===`document`)r=Ki(mi(e));else if(Z(t))r=Yi(t,n);else{let n=zi(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Xr(r)}function Zi(e,t){let n=t.get(e);if(n)return n;let r=Ni(e,[],!1).filter(e=>Z(e)&&pi(e)!==`body`),i=null,a=ki(e).position===`fixed`,o=a?ji(e):e;for(;Z(o)&&!Oi(o);){let e=ki(o),t=Ti(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=ji(o)}return t.set(e,r),r}function Qi(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?bi(t)?[]:Zi(t,this._c):[].concat(n),r],o=Xi(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Xi(t,a[e],i);s=Er(n.top,s),c=Tr(n.right,c),l=Tr(n.bottom,l),u=Er(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function $i(e){let{width:t,height:n}=Fi(e);return{width:t,height:n}}function ea(e,t,n){let r=gi(t),i=mi(t),a=n===`fixed`,o=Vi(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=kr(0);
vendor: 4,217 bytes, line 1
1if((r||!a)&&((pi(t)!==`body`||vi(i))&&(s=Ai(t)),r)){let e=Vi(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Hi(i));let l=i&&!r&&!a?Ui(i,s):kr(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function ta(e){return ki(e).position===`static`}function na(e,t){if(!gi(e)||ki(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return mi(e)===n&&(n=n.ownerDocument.body),n}function ra(e,t){let n=X(e);if(bi(e))return n;if(!gi(e)){let t=ji(e);for(;t&&!Oi(t);){if(Z(t)&&!ta(t))return t;t=ji(t)}return n}let r=na(e,t);for(;r&&yi(r)&&ta(r);)r=na(r,t);return r&&Oi(r)&&ta(r)&&!Ti(r)?n:r||Ei(e)||n}var ia=async function(e){let t=this.getOffsetParent||ra,n=this.getDimensions,r=await n(e.floating);return{reference:ea(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function aa(e){return ki(e).direction===`rtl`}var oa={convertOffsetParentRelativeRectToViewportRelativeRect:Wi,getDocumentElement:mi,getClippingRect:Qi,getOffsetParent:ra,getElementRects:ia,getClientRects:Gi,getDimensions:$i,getScale:Li,isElement:Z,isRTL:aa};function sa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ca(e,t,n){let r=null,i,a=mi(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=Or(d),h=Or(a.clientWidth-(u+f)),g=Or(a.clientHeight-(d+p)),_=Or(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Er(0,Tr(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!sa(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=X(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function la(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ii(e),u=i||a?[...l?Ni(l):[],...t?Ni(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?ca(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Vi(e):null;c&&g();function g(){let t=Vi(e);h&&!sa(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var ua=ci,da=li,fa=ni,pa=di,ma=ai,ha=ti,ga=ui,_a=(e,t,n)=>{let r=new Map,i=n??{},a={...oa,...i.platform,_c:r};return ei(e,t,{...i,platform:a})},va=typeof document<`u`?N.useLayoutEffect:function(){};function ya(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ya(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!ya(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function ba(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xa(e,t){let n=ba(e);return Math.round(t*n)/n}function Sa(e){let t=N.useRef(e);return va(()=>{t.current=e}),t}function Ca(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=N.useState(r);ya(f,r)||p(r);let[m,h]=N.useState(null),[g,_]=N.useState(null),v=N.useCallback(e=>
1{e!==S.current&&(S.current=e,h(e))},[]),y=N.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=N.useRef(null),C=N.useRef(null),w=N.useRef(u),T=c!=null,E=Sa(c),D=Sa(i),O=Sa(l),k=N.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),_a(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!ya(w.current,t)&&(w.current=t,ct.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);va(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=N.useRef(!1);va(()=>(A.current=!0,()=>{A.current=!1}),[]),va(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=N.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=N.useMemo(()=>({reference:b,floating:x}),[b,x]),P=N.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=xa(M.floating,u.x),r=xa(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...ba(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return N.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:P}),[u,k,j,M,P])}var wa=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:ha({element:r.current,padding:i}).fn(n):r?ha({element:r,padding:i}).fn(n):{}}}},Ta=(e,t)=>{let n=ua(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ea=(e,t)=>{let n=da(e);return{name:n.name,fn:n.fn,options:[e,t]}},Da=(e,t)=>({fn:ga(e).fn,options:[e,t]}),Oa=(e,t)=>{let n=fa(e);return{name:n.name,fn:n.fn,options:[e,t]}},ka=(e,t)=>{let n=pa(e);return{name:n.name,fn:n.fn,options:[e,t]}},Aa=(e,t)=>{let n=ma(e);return{name:n.name,fn:n.fn,options:[e,t]}},ja=(e,t)=>{let n=wa(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ma=Object.defineProperty,Na=(e,t)=>Ma(e,`name`,{value:t,configurable:!0});function Pa(e){let[t,n]=N.useState(void 0);return H(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}n(void 0)},[e]),t}Na(Pa,`useSize`);var Fa=Object.defineProperty,Ia=(e,t)=>Fa(e,`name`,{value:t,configurable:!0}),La=`Popper`,[Ra,za]=Oe(La),[Ba,Va]=Ra(La),Ha=Ia(e=>{let{__scopePopper:t,children:n}=e,[r,i]=N.useState(null),[a,o]=N.useState(void 0);return(0,R.jsx)(Ba,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})},`Popper`),Ua=`PopperAnchor`,Wa=N.forwardRef(Ia(function(e,t){let{__scopePopper:n,virtualRef:r,...i}=e,a=Va(Ua,n),o=N.useRef(null),s=a.onAnchorChange,c=N.useCallback(e=>{o.current=e,e&&s(e)},[s]),l=C(t,c),u=N.useRef(null);N.useEffect(()=>{if(!r)return;let e=u.current;u.current=r.current,e!==u.current&&s(u.current)});let d=a.placementState&&Za(a.placementState),f=d?.[0],p=d?.[1];return r?null:(0,R.jsx)(U.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...i,ref:l})},`PopperAnchor`)),Ga=`PopperContent`,[Ka,qa]=Ra(Ga),Ja=N.forwardRef(Ia(function(e,t){let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d=`partial`,hideWhenDetached:f=!1,updatePositionStrategy:p=`optimized`,onPlaced:m,...h}=e,g=Va(Ga,n),[_,v]=N.useState(null),y=C(t,v),[b,x]=N.useState(null),S=Pa(b),w=S?.width??0,T=S?.height??0,E=r+(a===`center`?``:`-`+a),D=typeof u==`number`?u:{top:0,right:0,bottom:0,left:0,...u},O=Array.isArray(l)?l:[l],k=O.length>0,A={padding:D,boundary:O.filter(Ya),altBoundary:k},{refs:j,floatingStyles:M,placement:P,isPositioned:F,middlewareData:I}=Ca({strategy:`fixed`,placement:E,whileElementsMounted:Ia((...e)=>la(...e,{animationFrame:p===`always`}),`whileElementsMounted`),elements:{reference:g.anchor},middleware:[Ta({mainAxis:i+T,alignmentAxis:o}),c&&Ea({mainAxis:!0,crossAxis:!1,limiter:d===`partial`?Da():void 0,...A}),c&&Oa({...A}),ka({...A,apply:Ia(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)},`apply`)}
1),b&&ja({element:b,padding:s}),Xa({arrowWidth:w,arrowHeight:T}),f&&Aa({strategy:`referenceHidden`,...A,boundary:k?A.boundary:void 0})]}),L=g.setPlacementState;H(()=>(L(P),()=>{L(void 0)}),[P,L]);let[ee,te]=Za(P),ne=K(m);H(()=>{F&&ne?.()},[F,ne]);let re=I.arrow?.x,ie=I.arrow?.y,ae=I.arrow?.centerOffset!==0,[oe,se]=N.useState();return H(()=>{_&&se(window.getComputedStyle(_).zIndex)},[_]),(0,R.jsx)(`div`,{ref:j.setFloating,"data-radix-popper-content-wrapper":``,style:{...M,transform:F?M.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:oe,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(` `),...I.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,R.jsx)(Ka,{scope:n,placedSide:ee,placedAlign:te,onArrowChange:x,arrowX:re,arrowY:ie,shouldHideArrow:ae,children:(0,R.jsx)(U.div,{"data-side":ee,"data-align":te,...h,ref:y,style:{...h.style,animation:F?h.style?.animation:`none`}})})})},`PopperContent`));function Ya(e){return e!==null}Ia(Ya,`isNotNull`);var Xa=Ia(e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Za(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),`transformOrigin`);function Za(e){let[t,n=`center`]=e.split(`-`);return[t,n]}Ia(Za,`getSideAndAlignFromPlacement`);
vendor: 10,997 bytes, lines 1-41
1var Qa=Ha,$a=Wa,eo=Ja,to=Object.defineProperty,no=N.forwardRef(((e,t)=>to(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=N.useState(!1);H(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?ct.createPortal((0,R.jsx)(U.div,{...r,ref:t}),o):null},`Portal`)),ro=Object.defineProperty,io=(e,t)=>ro(e,`name`,{value:t,configurable:!0});function ao(e){let t=N.useRef({value:e,previous:e});return N.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}io(ao,`usePrevious`);var oo=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),so=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},co=new WeakMap,lo=new WeakMap,uo={},fo=0,po=function(e){return e&&(e.host||po(e.parentNode))},mo=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=po(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},ho=function(e,t,n,r){var i=mo(t,Array.isArray(e)?e:[e]);uo[n]||(uo[n]=new WeakMap);var a=uo[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(co.get(e)||0)+1,l=(a.get(e)||0)+1;co.set(e,c),a.set(e,l),o.push(e),c===1&&i&&lo.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),fo++,function(){o.forEach(function(e){var t=co.get(e)-1,i=a.get(e)-1;co.set(e,t),a.set(e,i),t||(lo.has(e)||e.removeAttribute(r),lo.delete(e)),i||e.removeAttribute(n)}),fo--,fo||(co=new WeakMap,co=new WeakMap,lo=new WeakMap,uo={})}},go=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||so(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),ho(r,i,n,`aria-hidden`)):function(){return null}},_o=`right-scroll-bar-position`,vo=`width-before-scroll-bar`,yo=`with-scroll-bars-hidden`,bo=`--removed-body-scroll-bar-size`;function xo(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function So(e,t){var n=(0,N.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Co=typeof window<`u`?N.useLayoutEffect:N.useEffect,wo=new WeakMap;function To(e,t){var n=So(t||null,function(t){return e.forEach(function(e){return xo(e,t)})});return Co(function(){var t=wo.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||xo(e,null)}),i.forEach(function(e){r.has(e)||xo(e,a)})}wo.set(n,e)},[e]),n}function Eo(e){return e}function Do(e,t){t===void 0&&(t=Eo);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function Oo(e){e===void 0&&(e={});var n=Do(null);return n.options=t({async:!0,ssr:!1},e),n}var ko=function(e){var n=e.sideCar,r=u(e,[`sideCar`]);if(!n)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=n.read();if(!i)throw Error(`Sidecar medium not found`);return N.createElement(i,t({},r))};ko.isSideCarExport=!0;function Ao(e,t){return e.useMedium(t),ko}var jo=Oo(),Mo=function(){},No=N.forwardRef(function(e,n){var r=N.useRef(null),i=N.useState({onScrollCapture:Mo,onWheelCapture:Mo,onTouchMoveCapture:Mo}),a=i[0],o=i[1],s=e.forwardProps,c=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,p=e.shards,m=e.sideCar,h=e.noRelative,g=e.noIsolation,_=e.inert,v=e.allowPinchZoom,y=e.as,b=y===void 0?`div`:y,x=e.gapMode,S=u(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),C=m,w=To([r,n]),T=t(t({},S),a);return N.createElement(N.Fragment,null,f&&N.createElement(C,{sideCar:jo,removeScrollBar:d,shards:p,noRelative:h,noIsolation:g,inert:_,setCallbacks:o,allowPinchZoom:!!v,lockRef:r,gapMode:x}),s?N.cloneElement(N.Children.only(c),t(t({},T),{ref:w})):N.createElement(b,t({},T,{className:l,ref:w}),c))});No.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},No.classNames={fullWidth:vo,zeroRight:_o};var Po,Fo=function(){if(Po)return Po;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function Io(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=Fo();return t&&e.setAttribute(`nonce`,t),e}function Lo(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ro(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var zo=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Io())&&(Lo(t,n),Ro(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Bo=function(){var e=zo();return function(t,n){N.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Vo=function(){var e=Bo();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Ho={left:0,top:0,right:0,gap:0},Uo=function(e){return parseInt(e||``,10)||0},Wo=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[Uo(n),Uo(r),Uo(i)]},Go=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Ho;var t=Wo(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ko=Vo(),qo=`data-scroll-locked`,Jo=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2  .${yo} {
3   overflow: hidden ${r};
4   padding-right: ${s}px ${r};
5  }
6  body[${qo}] {
7    overflow: hidden ${r};
8    overscroll-behavior: contain;
9    ${[t&&`position: relative ${r};`,n===`margin`&&`
10    padding-left: ${i}px;
11    padding-top: ${a}px;
12    padding-right: ${o}px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: ${s}px ${r};
16    `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
17  }
18  
19  .${_o} {
20    right: ${s}px ${r};
21  }
22  
23  .${vo} {
24    margin-right: ${s}px ${r};
25  }
26  
27  .${_o} .${_o} {
28    right: 0 ${r};
29  }
30  
31  .${vo} .${vo} {
32    margin-right: 0 ${r};
33  }
34  
35  body[${qo}] {
36    ${bo}: ${s}px;
37  }
38`},Yo=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},Xo=function(){N.useEffect(function(){return document.body.setAttribute(qo,(Yo()+1).toString()),function(){var e=Yo()-1;e<=0?document.body.removeAttribute(qo):document.body.setAttribute(qo,e.toString())}},[])},Zo=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;Xo();var a=N.useMemo(function(){return Go(i)},[i]);return N.createElement(Ko,{styles:Jo(a,!t,i,n?``:`!important`)})},Qo=!1;if(typeof window<`u`)try{var $o=Object.defineProperty({},"passive",{get:function(){return Qo=!0,!0}});window.addEventListener(`test`,$o,$o),window.removeEventListener(`test`,$o,$o)}catch{Qo=!1}var es=Qo?{passive:!1}:!1,ts=function(e){return e.tagName===`TEXTAREA`},ns=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!ts(e)&&n[t]===`visible`)},rs=function(e){return ns(e,`overflowY`)},is=function(e){return ns(e,`overflowX`)},as=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),cs(e,r)){var i=ls(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},os=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},ss=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},cs=function(e,t){return e===`v`?rs(t):is(t)},ls=function(e,t){return e===`v`?os(t):ss(t)},us=function(e,t){return e===`h`&&t===`rtl`?-1:1},ds=function(e,t,n,r,i){var a=us(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=ls(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&cs(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},fs=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ps=function(e){return[e.deltaX,e.deltaY]},ms=function(e){return e&&`current`in e?e.current:e},hs=function(e,t){return e[0]===t[0]&&e[1]===t[1]},gs=function(e){return`
39  .block-interactivity-${e} {pointer-events: none;}
40  .allow-interactivity-${e} {pointer-events: all;}
41`},_s=0,vs=[];function ys(e){var t=N.useRef([]),n=N.useRef([0,0]),r=N.useRef(),i=N.useState(_s++)[0],a=N.useState(Vo)[0],o=N.useRef(e);N.useEffect(function(){o.current=e},[e]),N.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=f([e.lockRef.current],(e.shards||[]).map(ms),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=N.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=fs(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=as(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=as(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return ds(h,t,e,h===`h`?s:c,!0)},[]),c=N.useCallback(function(e){var n=e;if(!(!vs.length||vs[vs.length-1]!==a)){var r=`deltaY`in n?ps(n):fs(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&hs(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}
41if(!i){var c=(o.current.shards||[]).map(ms).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=N.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:bs(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=N.useCallback(function(e){n.current=fs(e),r.current=void 0},[]),d=N.useCallback(function(t){l(t.type,ps(t),t.target,s(t,e.lockRef.current))},[]),p=N.useCallback(function(t){l(t.type,fs(t),t.target,s(t,e.lockRef.current))},[]);N.useEffect(function(){return vs.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener(`wheel`,c,es),document.addEventListener(`touchmove`,c,es),document.addEventListener(`touchstart`,u,es),function(){vs=vs.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,es),document.removeEventListener(`touchmove`,c,es),document.removeEventListener(`touchstart`,u,es)}},[]);var m=e.removeScrollBar,h=e.inert;return N.createElement(N.Fragment,null,h?N.createElement(a,{styles:gs(i)}):null,m?N.createElement(Zo,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function bs(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var xs=Ao(jo,ys),Ss=N.forwardRef(function(e,n){return N.createElement(No,t({},e,{ref:n,sideCar:xs}))});Ss.classNames=No.classNames;var Cs=Object.defineProperty,Q=(e,t)=>Cs(e,`name`,{value:t,configurable:!0}),ws=[` `,`Enter`,`ArrowUp`,`ArrowDown`],Ts=[` `,`Enter`],Es=`Select`,[Ds,Os,ks]=je(Es),[As,js]=Oe(Es,[ks,za]),Ms=za(),[Ns,Ps]=As(Es),[Fs,Is]=As(Es);function Ls(e){let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:f,required:p,form:m,internal_do_not_use_render:h}=e,g=Ms(t),[_,v]=N.useState(null),[y,b]=N.useState(null),[x,S]=N.useState(!1),C=Kt(l),[w,T]=rt({prop:r,defaultProp:i??!1,onChange:a,caller:Es}),[E,D]=rt({prop:o,defaultProp:s,onChange:c,caller:Es}),O=N.useRef(null),k=N.useRef(E);N.useEffect(()=>{let e=m?_?.ownerDocument.getElementById(m):_?.form;if(e instanceof HTMLFormElement){let t=Q(()=>D(k.current),`reset`);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[m,_,D]);let A=!_||!!m||!!_.closest(`form`),[j,M]=N.useState(new Set),P=Tt(),F=Array.from(j).map(e=>e.props.value).join(`;`),I=N.useCallback(e=>{M(t=>new Set(t).add(e))},[]),L=N.useCallback(e=>{M(t=>{let n=new Set(t);return n.delete(e),n})},[]),ee={required:p,trigger:_,onTriggerChange:v,valueNode:y,onValueNodeChange:b,valueNodeHasChildren:x,onValueNodeHasChildrenChange:S,contentId:P,value:E,onValueChange:D,open:w,onOpenChange:T,dir:C,triggerPointerDownPosRef:O,disabled:f,name:u,autoComplete:d,form:m,nativeOptions:j,nativeSelectKey:F,isFormControl:A};return(0,R.jsx)(Qa,{...g,children:(0,R.jsx)(Ns,{scope:t,...ee,children:(0,R.jsx)(Ds.Provider,{scope:t,children:(0,R.jsx)(Fs,{scope:t,onNativeOptionAdd:I,onNativeOptionRemove:L,children:Ec(h)?h(ee):n})})})})}Q(Ls,`SelectProvider`);var Rs=Q(e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,R.jsx)(Ls,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:e})=>(0,R.jsxs)(R.Fragment,{children:[n,e?(0,R.jsx)(Tc,{__scopeSelect:t}):null]})})},`Select`),zs=`SelectTrigger`,Bs=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,disabled:r=!1,...i}=e,a=Ms(n),o=Ps(zs,n),s=o.disabled||r,c=C(t,o.onTriggerChange),l=Os(n),u=N.useRef(`touch`),[d,f,p]=Oc(e=>{let t=l().filter(e=>!e.disabled),n=kc(t,e,t.find(e=>e.value===o.value));n!==void 0&&o.onValueChange(n.value)}),m=Q(e=>{s||(o.onOpenChange(!0),p()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},`handleOpen`);return(0,R.jsx)($a,{asChild:!0,...a,children:(0,R.jsx)(U.button,{type:`button`,role:`combobox`,"aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":`none`,dir:o.dir,"data-state":o.open?`open`:`closed`,disabled:s,"data-disabled":s?``:void 0,"data-placeholder":Dc(o.value)?``:void 0,...i,ref:c,onClick:V(i.onClick,e=>
41{e.currentTarget.focus(),u.current!==`mouse`&&m(e)}),onPointerDown:V(i.onPointerDown,e=>{u.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(m(e),e.preventDefault())}),onKeyDown:V(i.onKeyDown,e=>{let t=d.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&f(e.key),!(t&&e.key===` `)&&ws.includes(e.key)&&(m(),e.preventDefault())})})})},`SelectTrigger`)),Vs=`SelectValue`,Hs=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o=``,...s}=e,c=Ps(Vs,n),{onValueNodeHasChildrenChange:l}=c,u=a!==void 0,d=C(t,c.onValueNodeChange);H(()=>{l(u)},[l,u]);let f=Dc(c.value);return(0,R.jsx)(U.span,{...s,asChild:!f&&s.asChild,ref:d,style:{pointerEvents:`none`},children:(0,R.jsx)(N.Fragment,{children:f?o:a},f?`placeholder`:`value`)})},`SelectValue`)),Us=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,children:r,...i}=e;return(0,R.jsx)(U.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})},`SelectIcon`)),[Ws,Gs]=As(`SelectPortal`,{forceMount:void 0}),Ks=Q(e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,R.jsx)(Ws,{scope:e.__scopeSelect,forceMount:n,children:(0,R.jsx)(no,{asChild:!0,...r})})},`SelectPortal`),qs=`SelectContent`,Js=N.forwardRef(Q(function(e,t){let n=Gs(qs,e.__scopeSelect),{forceMount:r=n.forceMount,...i}=e,a=Ps(qs,e.__scopeSelect),[o,s]=N.useState();return H(()=>{s(new DocumentFragment)},[]),(0,R.jsx)(ht,{present:r||a.open,children:({present:e})=>e?(0,R.jsx)($s,{...i,ref:t}):(0,R.jsx)(Ys,{...i,fragment:o})})},`SelectContent`)),Ys=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,children:r,fragment:i}=e;return i?ct.createPortal((0,R.jsx)(Xs,{scope:n,children:(0,R.jsx)(Ds.Slot,{scope:n,children:(0,R.jsx)(`div`,{ref:t,children:r})})}),i):null},`SelectContentFragment`)),$=10,[Xs,Zs]=As(qs),Qs=x(`SelectContent.RemoveScroll`),$s=N.forwardRef(Q(function(e,t){let{__scopeSelect:n}=e,{position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:o,side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g,..._}=e,v=Ps(qs,n),[y,b]=N.useState(null),[x,S]=N.useState(null),w=C(t,b),[T,E]=N.useState(null),[D,O]=N.useState(null),k=Os(n),[A,j]=N.useState(!1),M=N.useRef(!1);N.useEffect(()=>{if(y)return go(y)},[y]),or();let P=N.useCallback(e=>{let[t,...n]=k().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),n?.focus(),document.activeElement!==i))return},[k,x]),F=N.useCallback(()=>P([T,y]),[P,T,y]);N.useEffect(()=>{A&&F()},[A,F]);let{onOpenChange:I,triggerPointerDownPosRef:L}=v;N.useEffect(()=>{if(y){let e={x:0,y:0},t=Q(t=>{e={x:Math.abs(Math.round(t.pageX)-(L.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(L.current?.y??0))}},`handlePointerMove`),n=Q(n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(y)||I(!1),document.removeEventListener(`pointermove`,t),L.current=null},`handlePointerUp`);return L.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[y,I,L]),N.useEffect(()=>{let e=Q(()=>I(!1),`close`);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[I]);let[ee,te]=Oc(e=>{let t=k().filter(e=>!e.disabled),n=kc(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current?.focus())}),ne=N.useCallback((e,t,n)=>{let r=!M.current&&!n;(v.value!==void 0&&v.value===t||r)&&(E(e),r&&(M.current=!0))},[v.value]),re=N.useCallback(()=>y?.focus(),[y]),ie=N.useCallback((e,t,n)=>{let r=!M.current&&!n;(v.value!==void 0&&v.value===t||r)&&O(e)},[v.value]),ae=r===`popper`?tc:ec,oe=ae===tc?{side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g}:{};return(0,R.jsx)(Xs,{scope:n,content:y,viewport:x,onViewportChange:S,itemRefCallback:ne,selectedItem:T,onItemLeave:re,itemTextRefCallback:ie,focu
vendor: 6,479 bytes, line 41
41sSelectedItem:F,selectedItemText:D,position:r,isPositioned:A,searchRef:ee,children:(0,R.jsx)(Ss,{as:Qs,allowPinchZoom:!0,children:(0,R.jsx)(fr,{asChild:!0,trapped:v.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:V(i,e=>{v.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,R.jsx)(Jn,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:(0,R.jsx)(ae,{role:`listbox`,id:v.contentId,"data-state":v.open?`open`:`closed`,dir:v.dir,onContextMenu:e=>e.preventDefault(),..._,...oe,onPlaced:()=>j(!0),ref:w,style:{display:`flex`,flexDirection:`column`,outline:`none`,..._.style},onKeyDown:V(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&te(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=k().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>P(t)),e.preventDefault()}})})})})})})},`SelectContentImpl`)),ec=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,onPlaced:r,...i}=e,a=Ps(qs,n),o=Zs(qs,n),[s,c]=N.useState(null),[l,u]=N.useState(null),d=C(t,u),f=Os(n),p=N.useRef(!1),m=N.useRef(!0),{viewport:h,selectedItem:g,selectedItemText:_,focusSelectedItem:v}=o,y=N.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&l&&h&&g&&_){let e=a.trigger.getBoundingClientRect(),t=l.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=_.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-$,d=zn(a,[$,Math.max($,u-l)]);s.style.minWidth=c+`px`,s.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-$,d=zn(a,[$,Math.max($,u-l)]);s.style.minWidth=c+`px`,s.style.right=d+`px`}let o=f(),c=window.innerHeight-$*2,u=h.scrollHeight,d=window.getComputedStyle(l),m=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),b=parseInt(d.paddingBottom,10),x=m+v+u+b+y,S=Math.min(g.offsetHeight*5,x),C=window.getComputedStyle(h),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-$,D=c-E,O=g.offsetHeight/2,k=g.offsetTop+O,A=m+v+k,j=x-A;if(A<=E){let e=o.length>0&&g===o[o.length-1].ref.current;s.style.bottom=`0px`;let t=l.clientHeight-h.offsetTop-h.offsetHeight,n=A+Math.max(D,O+(e?T:0)+t+y);s.style.height=n+`px`}else{let e=o.length>0&&g===o[0].ref.current;s.style.top=`0px`;let t=Math.max(E,m+h.offsetTop+(e?w:0)+O)+j;s.style.height=t+`px`,h.scrollTop=A-E+h.offsetTop}s.style.margin=`${$}px 0`,s.style.minHeight=S+`px`,s.style.maxHeight=c+`px`,r?.(),requestAnimationFrame(()=>p.current=!0)}},[f,a.trigger,a.valueNode,s,l,h,g,_,a.dir,r]);H(()=>y(),[y]);let[b,x]=N.useState();H(()=>{l&&x(window.getComputedStyle(l).zIndex)},[l]);let S=N.useCallback(e=>{e&&m.current===!0&&(y(),v?.(),m.current=!1)},[y,v]);return(0,R.jsx)(nc,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:S,children:(0,R.jsx)(`div`,{ref:c,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:b},children:(0,R.jsx)(U.div,{...i,ref:d,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})},`SelectItemAlignedPosition`)),tc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,align:r=`start`,collisionPadding:i=$,...a}=e,o=Ms(n);return(0,R.jsx)(eo,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})},`SelectPopperPosition`)),[nc,rc]=As(qs,{}),ic=`SelectViewport`,ac=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,nonce:r,...i}=e,a=Zs(ic,n),o=rc(ic,n),s=C(t,a.onViewportChange),c=N.useRef(0);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,R.jsx)(Ds.Slot,{scope:n,children:(0,R.jsx)(U.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:s,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:V(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-$*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}c.current=t.scrollTop})})})]})},`SelectViewport`)),[oc,sc]=As(`SelectGroup`),cc=`SelectLabel`,lc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,...r}=e,i=sc(cc,n);return(0,R.jsx)(U.div,{id:i.id,...r,ref:t})},`SelectLabel`)),uc=`SelectItem`,[dc,fc]=As(uc),pc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...o}=e,s=Ps(uc,n),c=Zs(uc,n),l=s.value===r,[u,d]=N.useState(a??``),[f,p]=N.useState(!1),m=K(e=>c.itemRefCallback?.(e,r,i)),h=C(t,m),g=Tt(),_=N.useRef(`touch`),v=Q(()=>{i||(s.onValueChange(r),s.onOpenChange(!1))},`handleSelect`);return(0,R.jsx)(dc,{scope:n,value:r,disabled:i,textId:g,isSelected:l,onItemTextChange:N.useCallback(e=>{d(t=>t||(e?.textContent??``).trim())},[]),children:(0,R.jsx)(Ds.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:(0,R.jsx)(U.div,{role:`option`,"aria-labelledby":g,"data-highlighted":f?``:void 0,"aria-selected":l&&f,"data-state":l?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...o,ref:h,onFocus:V(o.onFocus,()=>p(!0)),onBlur:V(o.onBlur,()=>p(!1)),onClick:V(o.onClick,()=>{_.current!==`mouse`&&v()}),onPointerUp:V(o.onPointerUp,()=>{_.current===`mouse`&&v()}),onPointerDown:V(o.onPointerDown,e=>{_.current=e.pointerType}),onPointerMove:V(o.onPointerMove,e=>{_.current=e.pointerType,i?c.onItemLeave?.():_.current===`mouse`&&e.currentTarget.focu
41s({preventScroll:!0})}),onPointerLeave:V(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:V(o.onKeyDown,e=>{i||e.target!==e.currentTarget||(c.searchRef?.current===``||e.key!==` `)&&(Ts.includes(e.key)&&v(),e.key===` `&&e.preventDefault())})})})})},`SelectItem`)),mc=`SelectItemText`,hc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,className:r,style:i,...a}=e,o=Ps(mc,n),s=Zs(mc,n),c=fc(mc,n),l=Is(mc,n),[u,d]=N.useState(null),f=K(e=>s.itemTextRefCallback?.(e,c.value,c.disabled)),p=C(t,d,c.onItemTextChange,f),m=u?.textContent,h=N.useMemo(()=>(0,R.jsx)(`option`,{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:g,onNativeOptionRemove:_}=l;return H(()=>(g(h),()=>_(h)),[g,_,h]),(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(U.span,{id:c.textId,...a,ref:p}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren&&!Dc(o.value)?ct.createPortal(a.children,o.valueNode):null]})},`SelectItemText`)),gc=`SelectItemIndicator`,_c=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,...r}=e;return fc(gc,n).isSelected?(0,R.jsx)(U.span,{"aria-hidden":!0,...r,ref:t}):null},`SelectItemIndicator`)),vc=`SelectScrollUpButton`,yc=N.forwardRef(Q(function(e,t){let n=Zs(vc,e.__scopeSelect),r=rc(vc,e.__scopeSelect),[i,a]=N.useState(!1),o=C(t,r.onScrollButtonChange);return H(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollTop>0;a(e)};Q(e,`handleScroll`);let t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,R.jsx)(Sc,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null},`SelectScrollUpButton`)),bc=`SelectScrollDownButton`,xc=N.forwardRef(Q(function(e,t){let n=Zs(bc,e.__scopeSelect),r=rc(bc,e.__scopeSelect),[i,a]=N.useState(!1),o=C(t,r.onScrollButtonChange);return H(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;a(n)};Q(e,`handleScroll`);let t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,R.jsx)(Sc,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null},`SelectScrollDownButton`)),Sc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=Zs(`SelectScrollButton`,n),o=N.useRef(null),s=Os(n),c=N.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return N.useEffect(()=>()=>c(),[c]),H(()=>{s().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[s]),(0,R.jsx)(U.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:V(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:V(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:V(i.onPointerLeave,()=>{c()})})},`SelectScrollButtonImpl`)),Cc=N.forwardRef(Q(function(e,t){let{__scopeSelect:n,...r}=e;return(0,R.jsx)(U.div,{"aria-hidden":!0,...r,ref:t})},`SelectSeparator`)),wc=`SelectBubbleInput`,Tc=N.forwardRef(Q(function({__scopeSelect:e,...t},n){let r=Ps(wc,e),{value:i,onValueChange:a,required:o,disabled:s,name:c,autoComplete:l,form:u}=r,{nativeOptions:d,nativeSelectKey:f}=r,p=N.useRef(null),m=C(n,p),h=i??``,g=ao(h),_=Array.from(d).some(e=>(e.props.value??``)===``);return N.useEffect(()=>{let e=p.current;if(!e)return;let t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,`value`).set;if(g!==h&&n){let t=new Event(`change`,{bubbles:!0});n.call(e,h),e.dispatchEvent(t)}},[g,h]),(0,R.jsxs)(U.select,{"aria-hidden":!0,required:o,tabIndex:-1,name:c,autoComplete:l,disabled:s,form:u,onChange:e=>a(e.target.value),...t,style:{...oo,...t.style},ref:m,defaultValue:h,children:[Dc(i)&&!_?(0,R.jsx)(`option`,{value:``}):null,Array.from(d)]},f)},`SelectBubbleInput`));function Ec(e){return typeof e==`function`}Q(Ec,`isFunction`);function Dc(e){return e===``||e===void 0}Q(Dc,`shouldShowPlaceholder`);function Oc(e){let t=K(e),n=N.useRef(``),r=N.useRef(0),i=N.useCallback(e=>{let i=n.current+e;t(i),Q((function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))}),`updateSearch`)(i)},[t]),a=N.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return N.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}Q(Oc,`useTypeaheadSearch`);function kc(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Ac(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}Q(kc,`findNextItem`);function Ac(e,t){return e.map((n,r)=>e[(t+r)%e.length])}Q(Ac,`wrapArray`);var jc=Rs,Mc=Hs,Nc=N.forwardRef(({className:e,children:t,...n},r)=>(0,R.jsxs)(Bs,{ref:r,className:v(`flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background cursor-pointer data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1`,e),...n,children:[t,(0,R.jsx)(Us,{asChild:!0,children:(0,R.jsx)(le,{className:`h-4 w-4 opacity-50`})})]}));Nc.displayName=Bs.displayName;var Pc=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(yc,{ref:n,className:v(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,R.jsx)(ue,{className:`h-4 w-4`})}));Pc.displayName=yc.displayName;var Fc=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(xc,{ref:n,className:v(`flex cursor-default items-center justify-center py-1`,e),...t,children:(0,R.jsx)(le,{className:`h-4 w-4`})}));Fc.displayName=xc.displayName;var Ic=N.forwardRef(({className:e,children:t,position:n=`popper`,...r},i)=>(0,R.jsx)(Ks,{children:(0,R.jsxs)(Js,{ref:i,className:v(`relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
41de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-select-content-transform-origin)`,n===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,e),position:n,...r,children:[(0,R.jsx)(Pc,{}),(0,R.jsx)(ac,{className:v(`p-1`,n===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]`),children:t}),(0,R.jsx)(Fc,{})]})}));Ic.displayName=Js.displayName;var Lc=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(lc,{ref:n,className:v(`px-2 py-1.5 text-sm font-semibold`,e),...t}));Lc.displayName=lc.displayName;var Rc=N.forwardRef(({className:e,children:t,...n},r)=>(0,R.jsxs)(pc,{ref:r,className:v(`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,e),...n,children:[(0,R.jsx)(`span`,{className:`absolute right-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,R.jsx)(_c,{children:(0,R.jsx)(ce,{className:`h-4 w-4`})})}),(0,R.jsx)(hc,{children:t})]}));Rc.displayName=pc.displayName;var zc=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(Cc,{ref:n,className:v(`-mx-1 my-1 h-px bg-muted`,e),...t}));zc.displayName=Cc.displayName;var Bc=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(`textarea`,{className:v(`flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:n,...t}));Bc.displayName=`Textarea`;var Vc=Object.defineProperty,Hc=(e,t)=>Vc(e,`name`,{value:t,configurable:!0}),Uc=`Switch`,[Wc,Gc]=Oe(Uc),[Kc,qc]=Wc(Uc);function Jc(e){let{__scopeSwitch:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:s,onCheckedChange:c,required:l,value:u=`on`,internal_do_not_use_render:d}=e,[f,p]=rt({prop:n,defaultProp:i??!1,onChange:c,caller:Uc}),[m,h]=N.useState(null),[g,_]=N.useState(null),v=N.useRef(!1),[y,b]=N.useReducer(e=>e+1,0),x={checked:f,setChecked:p,disabled:a,control:m,setControl:h,name:s,form:o,value:u,hasConsumerStoppedPropagationRef:v,userInteractionCount:y,onUserInteraction:b,required:l,defaultChecked:i,isFormControl:!m||!!o||!!m.closest(`form`),bubbleInput:g,setBubbleInput:_};return(0,R.jsx)(Kc,{scope:t,...x,children:nl(d)?d(x):r})}Hc(Jc,`SwitchProvider`);var Yc=`SwitchTrigger`,Xc=N.forwardRef(Hc(function({__scopeSwitch:e,onClick:t,...n},r){let{control:i,form:a,value:o,disabled:s,checked:c,required:l,setControl:u,setChecked:d,hasConsumerStoppedPropagationRef:f,onUserInteraction:p,isFormControl:m,bubbleInput:h}=qc(Yc,e),g=C(r,u),_=N.useRef(c);return N.useEffect(()=>{let e=a?i?.ownerDocument.getElementById(a):i?.form;if(e instanceof HTMLFormElement){let t=Hc(()=>d(_.current),`reset`);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[i,a,d]),(0,R.jsx)(U.button,{type:`button`,role:`switch`,"aria-checked":c,"aria-required":l,"data-state":rl(c),"data-disabled":s?``:void 0,disabled:s,value:o,...n,ref:g,onClick:V(t,e=>{p(),d(e=>!e),h&&m&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})})},`SwitchTrigger`)),Zc=N.forwardRef(Hc(function(e,t){let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,R.jsx)(Jc,{__scopeSwitch:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(Xc,{...d,ref:t,__scopeSwitch:n}),e&&(0,R.jsx)(tl,{__scopeSwitch:n})]})})},`Switch`)),Qc=`SwitchThumb`,$c=N.forwardRef(Hc(function(e,t){let{__scopeSwitch:n,...r}=e,i=qc(Qc,n);return(0,R.jsx)(U.span,{"data-state":rl(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})},`SwitchThumb`)),el=`SwitchBubbleInput`,tl=N.forwardRef(Hc(function({__scopeSwitch:e,onClick:t,...n},r){let{control:i,hasConsumerStoppedPropagationRef:a,userInteractionCount:o,checked:s,defaultChecked:c,required:l,disabled:u,name:d,value:f,form:p,bubbleInput:m,setBubbleInput:h}=qc(el,e),g=C(r,h),_=Pa(i),v=N.useRef(!1),y=N.useRef(s),b=N.useRef(o);N.useEffect(()=>{let e=m;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=o!==b.current;b.current=o;let i=y.current!==s;y.current=s;let c=!(r&&a.current);if(i&&n){v.current=!r;let t=new Event(`click`,{bubbles:c});n.call(e,s),e.dispatchEvent(t),v.current=!1}},[m,s,a,o]);let x=N.useRef(s);return(0,R.jsx)(U.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:c??x.current,required:l,disabled:u,name:d,value:f,form:p,...n,tabIndex:-1,ref:g,onClick:V(t,e=>{v.current&&e.stopPropagation()}),style:{...n.style,..._,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})},`SwitchBubbleInput`));function nl(e){return typeof e==`function`}Hc(nl,`isFunction`);function rl(e){return e?`checked`:`unchecked`}Hc(rl,`getState`);var il=N.forwardRef(({className:e,...t},n)=>(0,R.jsx)(Zc,{className:v(`peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input`,e),...t,ref:n,children:(0,R.jsx)($c,{className:v(`pointer-events-none block h-4 w-4 roun
41ded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0`)})}));il.displayName=Zc.displayName;var al=`my-ai-summit-accessibility`,ol={textSize:0,contrast:!1,dyslexia:!1,stopMotion:!1,underline:!1,cursor:!1};function sl(){let[e,t]=(0,N.useState)(!1),[n,r]=(0,N.useState)(ol);(0,N.useEffect)(()=>{let e=window.localStorage.getItem(al);if(e)try{r({...ol,...JSON.parse(e)})}catch{window.localStorage.removeItem(al)}},[]),(0,N.useEffect)(()=>{let e=document.documentElement;e.dataset.textSize=String(n.textSize),e.classList.toggle(`a11y-contrast`,n.contrast),e.classList.toggle(`a11y-dyslexia`,n.dyslexia),e.classList.toggle(`a11y-stop-motion`,n.stopMotion),e.classList.toggle(`a11y-underline`,n.underline),e.classList.toggle(`a11y-cursor`,n.cursor),window.localStorage.setItem(al,JSON.stringify(n))},[n]);let i=e=>r(t=>({...t,[e]:!t[e]}));return(0,R.jsxs)(R.Fragment,{children:[e&&(0,R.jsxs)(`div`,{id:`accessibility-panel`,role:`dialog`,"aria-modal":`false`,"aria-labelledby":`accessibility-title`,className:`fixed bottom-24 left-4 z-50 w-[min(22rem,calc(100vw-2rem))] rounded-lg border bg-card p-5 shadow-xl`,children:[(0,R.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,R.jsx)(`h2`,{id:`accessibility-title`,className:`text-lg font-bold`,children:`Accessibility settings`}),(0,R.jsx)(S,{variant:`ghost`,size:`icon`,className:`min-h-11 min-w-11`,"aria-label":`Close accessibility settings`,onClick:()=>t(!1),children:(0,R.jsx)(_,{})})]}),(0,R.jsxs)(`div`,{className:`mt-4 flex items-center justify-between border-b pb-4`,children:[(0,R.jsx)(`span`,{className:`font-medium`,children:`Text size`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,R.jsx)(S,{variant:`outline`,size:`icon`,className:`min-h-11 min-w-11`,"aria-label":`Decrease text size`,disabled:n.textSize===0,onClick:()=>r(e=>({...e,textSize:Math.max(0,e.textSize-1)})),children:(0,R.jsx)(he,{})}),(0,R.jsx)(`span`,{className:`w-8 text-center`,"aria-live":`polite`,children:n.textSize+1}),(0,R.jsx)(S,{variant:`outline`,size:`icon`,className:`min-h-11 min-w-11`,"aria-label":`Increase text size`,disabled:n.textSize===2,onClick:()=>r(e=>({...e,textSize:Math.min(2,e.textSize+1)})),children:(0,R.jsx)(ye,{})})]})]}),(0,R.jsx)(`div`,{className:`divide-y`,children:[[`High contrast`,`contrast`],[`Dyslexia-friendly font`,`dyslexia`],[`Stop animations`,`stopMotion`],[`Underline links`,`underline`],[`Larger cursor`,`cursor`]].map(([e,t])=>(0,R.jsxs)(`label`,{className:`flex min-h-14 cursor-pointer items-center justify-between gap-4`,children:[(0,R.jsx)(`span`,{children:e}),(0,R.jsx)(il,{checked:n[t],onCheckedChange:()=>i(t),"aria-label":e})]},t))}),(0,R.jsxs)(S,{variant:`outline`,className:`mt-4 min-h-11 w-full`,onClick:()=>r(ol),children:[(0,R.jsx)(be,{}),` Reset settings`]})]}),(0,R.jsx)(S,{"aria-label":`Open accessibility settings`,"aria-expanded":e,"aria-controls":`accessibility-panel`,onClick:()=>t(e=>!e),size:`icon`,className:`fixed bottom-4 left-4 z-50 min-h-12 min-w-12 rounded-full border-2 border-background/70 bg-foreground text-background shadow-lg hover:bg-foreground
41/85`,children:(0,R.jsx)(oe,{})})]})}var cl=[`Website or landing page`,`Custom app`,`AI chatbot`,`Automation`,`Accessibility check`,`Something else`,`Not sure yet`],ll=te({method:`POST`}).handler(i(`fbaaeece99b2a6e0e7f784ac00cd87823d5155c1dc258d50c844c46fdfda3548`)),ul={version:1,asset_id:`3812dbdf-3330-40cd-896e-19aacd66e664`,project_id:`86d18ca9-bc9c-4aa3-9bff-5504adabae0f`,url:`/__l5e/assets-v1/3812dbdf-3330-40cd-896e-19aacd66e664/road-trip-recess-site.png`,r2_key:`a/v1/86d18ca9-bc9c-4aa3-9bff-5504adabae0f/3812dbdf-3330-40cd-896e-19aacd66e664/road-trip-recess-site.png`,original_filename:`road-trip-recess-site.png`,size:74489,content_type:`image/png`,created_at:`2026-09-22T17:02:42Z`},dl=[`All`,`Apps`,`Chatbots`,`AI tools`,`Marketing & compliance`],fl=[[_e,`Websites & landing pages`,`Fast, clean, mobile-first sites that load quickly, look professional, and make it obvious how to contact you. Built to be easy for you to update.`],[Se,`Custom apps & software`,`Web apps and installable phone/tablet apps for the real work your business does, including ones that keep working with no signal and sync later.`],[k,`AI chatbots for your website`,`A trained assistant that answers questions in your voice 24/7, captures leads, books appointments, and knows when to hand off to a person.`],[Te,`Automations`,`Connect the tools you already use so the copy-and-paste work happens by itself: forms to your CRM, invoices to your books, reports to your inbox every Monday.`],[Ce,`AI solutions`,`Practical AI inside your workflow: drafting, summarizing, sorting, extracting data from documents, answering from your own files. Only where it actually saves you time.`],[oe,`Accessibility widget & compliance`,`Make your site usable for people with disabilities and show that you did. Font sizing, contrast, screen-reader fixes, keyboard navigation, and an accessibility statement, plus cookie consent and privacy-request handling if you need it.`]],pl=[[`How much does it cost?`,`Simple websites and chatbots start in the low hundreds to a few thousand dollars; custom apps depend on scope. You'll always get a fixed quote before any work starts, and we'll tell you if there's a cheaper way to solve your problem.`],[`How long does it take?`,`A landing page or chatbot: usually 1–2 weeks. A full custom app: typically 4–12 weeks. We'll give you a real date in the quote.`],[`Do I need to understand AI or code?`,`No. You need to understand your business. That's the hard part, and you already have it.`],[`What happens after launch?`,`We offer monthly support plans, or pay-as-needed fixes. Either way, you're not on your own.`],[`Will I own it?`,`Yes. The code, the domain, the data. If you ever want to move on, you can.`],[`Can you work with what we already have?`,`Usually. We've connected to CRMs, payment processors, calendars, Google Workspace, QuickBooks, and plenty of odd spreadsheets.`],[`Who actually does the work?`,`A senior developer, start to finish. We don't hand projects to juniors or subcontract them out. The person on your first call is the person building it.`],[`Can you teach our team to do this ourselves?`,`Yes. We run one-on-one sessions and team workshops on Claude, ChatGPT, automations, and AI connectors (MCP), using your real work as the examples. You can start with training and only hire us to build what's left.`],[`Do you work with businesses outside the U.S.?`,`Yes. Most of our clients are in the U.S., but everything we build is remote-friendly and we're happy to work across time zones.`]],ml=[[me,`Claude & ChatGPT for everyday work`,`Writing, summarizing, research, and working with your own documents, with prompts your team can reuse.`],[Te,`Automations`,`Zapier, Make, and n8n workflows that move data between the tools you already use, built with you so you can run them.`],[ve,`MCP & AI connectors`,`Connect Claude and other assistants to your email, calendar, files, and business apps, and do it safely.`],[se,`Custom assistants`,`Custom GPTs and Claude Projects that know your products, policies, and tone of voice.`],[xe,`AI policies & guardrails`,`What your team should and shouldn't paste into AI tools, and how to check what comes back.`]],hl
41=[[pe,`Nonprofits & charities`,`Donor and volunteer chatbots, event tools, and automations priced for a nonprofit budget.`],[ge,`Camps, ranches & outdoor programs`,`Inspection, training, and operations apps that work with no signal and sync later.`],[we,`Small service businesses`,`Websites that bring in calls, chatbots that answer after hours, and the back-office automations in between.`],[fe,`Agencies & consultants`,`A build partner for the custom app, chatbot, or integration your client asked for and you don't want to staff.`]],gl=[].filter(e=>e.quote.trim()&&!e.quote.startsWith(`[`)),_l=e=>e.split(/\s+/).map(e=>e[0]).join(``).slice(0,2).toUpperCase();function vl({eyebrow:e,titleText:t,intro:n,id:r}){return(0,R.jsxs)(`div`,{className:`section-head`,"data-reveal":!0,children:[(0,R.jsx)(R.Fragment,{children:e&&(0,R.jsx)(`p`,{className:`eyebrow`,children:e})}),(0,R.jsx)(`h2`,{id:r,children:t}),n&&(0,R.jsx)(`p`,{children:n})]})}function yl({name:e,src:t}){let[n,r]=(0,N.useState)(!1),i=(0,N.useRef)(null);return(0,N.useEffect)(()=>{let e=i.current;e?.complete&&e.naturalWidth===0&&r(!0)},[]),!t||n?(0,R.jsx)(`span`,{className:`logo-wordmark`,children:e}):(0,R.jsx)(`img`,{ref:i,src:t,alt:e,loading:`lazy`,onError:()=>r(!0)})}function bl(){return(0,R.jsxs)(`section`,{className:`logo-strip`,"aria-labelledby":`logo-strip-title`,children:[(0,R.jsx)(`p`,{id:`logo-strip-title`,className:`logo-strip-label`,children:`Products we've built and run`}),(0,R.jsx)(`ul`,{children:l.map(e=>(0,R.jsx)(`li`,{children:(0,R.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,children:[(0,R.jsx)(yl,{name:e.name,src:e.logo}),(0,R.jsx)(`span`,{className:`sr-only`,children:` (opens in a new tab)`})]})},e.name))})]})}function xl(){let[e,t]=(0,N.useState)(`All`),n=e===`All`?l:l.filter(t=>t.category===e);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`div`,{className:`work-filters`,role:`group`,"aria-label":`Filter products by type`,children:dl.map(n=>(0,R.jsx)(`button`,{type:`button`,"aria-pressed":e===n,onClick:()=>t(n),children:n},n))}),(0,R.jsx)(`p`,{className:`sr-only`,"aria-live":`polite`,children:e===`All`?`Showing all products`:`Showing ${n.length} ${e} products`}),(0,R.jsxs)(`div`,{className:`product-grid`,children:[n.map(e=>(0,R.jsxs)(`article`,{className:`product-card`,children:[(0,R.jsx)(E,{url:new URL(e.url).host,children:(0,R.jsx)(`img`,{src:e.screenshot??`/placeholders/${e.image}.webp`,alt:`${e.name} website screenshot`,width:`1200`,height:`750`,loading:`lazy`})}),(0,R.jsxs)(`div`,{className:`product-body`,children:[(0,R.jsx)(`span`,{className:`tag`,children:e.tag}),(0,R.jsx)(`h3`,{children:e.name}),(0,R.jsx)(`p`,{children:e.does}),(0,R.jsxs)(`p`,{className:`proves`,children:[(0,R.jsx)(`strong`,{children:`What it proves:`}),` `,e.proves]}),(0,R.jsxs)(`a`,{className:`card-link`,href:e.url,target:`_blank`,rel:`noopener noreferrer`,children:[`Visit site `,(0,R.jsx)(de,{"aria-hidden":`true`}),(0,R.jsxs)(`span`,{className:`sr-only`,children:[` for `,e.name,` (opens in a new tab)`]})]})]})]},e.name)),e===`All`&&(0,R.jsxs)(`article`,{className:`product-card coming`,children:[(0,R.jsx)(E,{url:`coming soon`,children:(0,R.jsx)(`img`,{src:ul.url,alt:`Road Trip Recess website screenshot`,width:`1200`,height:`750`,loading:`lazy`})}),(0,R.jsxs)(`div`,{className:`product-body`,children:[(0,R.jsx)(`span`,{className:`tag`,children:`Coming soon`}),(0,R.jsx)(`h3`,{children:`Road Trip Recess`}),(0,R.jsx)(`p`,{children:`A new project we're building now. Ask us about it.`})]})]})]},e)]})}function Sl(){(0,N.useEffect)(()=>{if(window.matchMedia(`(prefers-reduced-motion: reduce)`).matches||!(`IntersectionObserver`in window))return;let e=document.documentElement;e.classList.add(`reveal-ready`);let t=new IntersectionObserver(e=>{for(let n of e)n.isIntersecting&&(n.target.classList.add(`is-visible`),t.unobserve(n.target))},{rootMargin:`0px 0px -8% 0px`});return document.querySelectorAll(`[data-reveal]`).forEach(e=>t.observe(e)),()=>{t.disconnect(),e.classList.remove(`reveal-ready`)}},[])}function Cl(){Sl();let[e,t]=(0,N.useState)(`Not sure yet`),r=(0,N.useRef)(null);return(0,R.jsxs)(w,{children:[(0,R.jsxs)(`div`,{className:`hero-shell`,children:[(0,R.jsx)(`div`,{className:`hero-glow`,"aria-hidden":`true`}),(0,R.jsxs)(`svg`,{className:`hero-ridge`,"aria-hidden":`true`,viewBox:`0 0 1440 200`,preserveAspectRatio:`none`,children:[(0,R.jsx)(`defs`,{children:(0,R.jsxs)(`linearGradient`,{id:`ridge-gradient`,x1:`0`,x2:`1`,y1:`0`,y2:`0`,children:[(0,R.jsx)(`stop`,{offset:`0`,stopColor:`#d90b00`,stopOpacity:`0`}),(0,R.jsx)(`stop`,{offset:`0.35`,stopColor:`#d90b00`}),(0,R.jsx)(`stop`,{offset:`0.7`,stopColor:`#ff8e00`}),(0,R.jsx)(`stop`,{offset:`1`,stopColor:`#ff8e00`,stopOpacity:`0`})]})}),(0,R.jsx)(`path`,{d:`M0 170 L180 120 L300 150 L470 70 L600 118 L760 30 L900 105 L1040 60 L1200 128 L1320 96 L1440 140`,fill:`none`,stroke:`url(#ridge-gradient)`,strokeWidth:`1.5`})]}),(0,R.jsx)(`section`,{className:`hero`,"aria-labelledby":`hero-title`,children:(0,R.jsxs)(`div`,{className:`hero-copy`,children:[(0,R.jsx)(`p`,{className:`eyebrow`,children:`CUSTOM APPS · WEBSITES · CHATBOTS · AUTOMATION · AI CONSULTING`}
41),(0,R.jsxs)(`h1`,{id:`hero-title`,children:[`Software for your business, built by someone who'll`,` `,(0,R.jsx)(`em`,{className:`gradient-text`,children:`actually pick up the phone.`})]}),(0,R.jsx)(`p`,{className:`lead`,children:`We design and build websites, apps, AI chatbots, and automations for small businesses and nonprofits. You tell us what's slowing you down. We build the thing that fixes it, and we stick around after launch.`}),(0,R.jsxs)(`div`,{className:`button-row`,children:[(0,R.jsx)(S,{asChild:!0,size:`lg`,children:(0,R.jsxs)(`a`,{href:`#contact`,children:[`Tell us what you need `,(0,R.jsx)(T,{})]})}),(0,R.jsx)(S,{asChild:!0,variant:`outline`,size:`lg`,className:`btn-on-dark`,children:(0,R.jsx)(`a`,{href:`#work`,children:`See what we've built`})})]}),(0,R.jsxs)(`dl`,{className:`hero-stats`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`dt`,{children:`Live products we built and run`}),(0,R.jsx)(`dd`,{children:`8`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`dt`,{children:`Typical reply time`}),(0,R.jsx)(`dd`,{children:`1 day`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`dt`,{children:`Quote before any work starts`}),(0,R.jsx)(`dd`,{children:`Fixed`})]})]})]})}),(0,R.jsx)(bl,{})]}),(0,R.jsxs)(`section`,{className:`empathy`,"aria-labelledby":`empathy-title`,"data-reveal":!0,children:[(0,R.jsx)(`h2`,{id:`empathy-title`,children:`You don't need to know what to ask for.`}),(0,R.jsx)(`p`,{children:`Most people who contact us don't say “we need a Progressive Web App with offline sync.” They say “our inspectors are still filling out paper forms,” or “we lose donors because nobody answers the chat after 5pm,” or “someone spends every Sunday copying stuff between spreadsheets.” That's enough. Describe the problem in your own words, and we'll tell you honestly whether software can fix it, what it would cost, and how long it would take.`})]}),(0,R.jsxs)(`section`,{className:`audiences`,"aria-labelledby":`audiences-title`,children:[(0,R.jsx)(`h2`,{id:`audiences-title`,className:`sr-only`,children:`Who we work with`}),(0,R.jsx)(`ul`,{className:`audience-grid`,"data-reveal":!0,children:hl.map(([e,t,n])=>(0,R.jsxs)(`li`,{children:[(0,R.jsx)(e,{"aria-hidden":`true`}),(0,R.jsx)(`h3`,{children:t}),(0,R.jsx)(`p`,{children:n})]},t))})]}),(0,R.jsxs)(`section`,{id:`work`,className:`page-section`,"aria-labelledby":`work-title`,children:[(0,R.jsx)(vl,{id:`work-title`,titleText:`Real products, live today. Click any of them.`,intro:`Everything below is shipped and in use. We built each one end to end: design, code, database, payments, hosting, and the support afterward.`}),(0,R.jsx)(xl,{}),(0,R.jsxs)(`p`,{className:`next`,children:[(0,R.jsx)(`strong`,{children:`Yours could be next.`}),` `,(0,R.jsxs)(`a`,{href:`#contact`,children:[`Tell us about it `,(0,R.jsx)(T,{"aria-hidden":`true`})]})]}),(0,R.jsxs)(`p`,{className:`next`,children:[`Need inspections done in the field?`,` `,(0,R.jsxs)(n,{to:`/field-inspection-apps`,children:[`See our field inspection apps `,(0,R.jsx)(T,{"aria-hidden":`true`})]})]})]}),(0,R.jsxs)(`section`,{id:`services`,className:`page-section alt`,"aria-labelledby":`services-title`,children:[(0,R.jsx)(vl,{eyebrow:`WHAT WE DO`,id:`services-title`,titleText:`What we can build for you`,intro:`If it's not on this list, ask anyway. The list is what people usually need, not the limit of what we do.`}),(0,R.jsx)(`div`,{className:`services-grid`,"data-reveal":!0,children:fl.map(([e,t,n])=>(0,R.jsxs)(`article`,{className:`service-item`,children:[(0,R.jsx)(`div`,{className:`icon-tile`,children:(0,R.jsx)(e,{"aria-hidden":`true`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h3`,{children:t}),(0,R.jsx)(`p`,{children:n})]})]},t))})]}),(0,R.jsxs)(`section`,{className:`cta-band`,"aria-labelledby":`cta-band-title`,"data-reveal":!0,children:[(0,R.jsx)(`h3`,{id:`cta-band-title`,children:`Not sure which of these you need?`}),(0,R.jsx)(`p`,{children:`That's normal. Tell us what's slowing you down and we'll tell you what would fix it — and whether it's worth building at all.`}),(0,R.jsx)(S,{asChild:!0,size:`lg`,children:(0,R.jsxs)(`a`,{href:`#contact`,children:[`Start with a 20-minute call `,(0,R.jsx)(T,{})]})})]}),(0,R.jsxs)(`section`,{id:`consulting`,className:`page-section dark`,"aria-labelledby":`consulting-title`,children:[(0,R.jsx)(vl,{eyebrow:`CONSULTING & TRAINING`,id:`consulting-title`,titleText:`Want to run these tools yourself? We'll show you how.`,intro:`N
41ot every problem needs custom software. Sometimes the fastest win is learning to use the tools you already pay for. We work hands-on with owners and teams, using your real work as the examples.`}),(0,R.jsx)(`ul`,{className:`consulting-grid`,"data-reveal":!0,children:ml.map(([e,t,n])=>(0,R.jsxs)(`li`,{className:`service-item`,children:[(0,R.jsx)(`div`,{className:`icon-tile`,children:(0,R.jsx)(e,{"aria-hidden":`true`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h3`,{children:t}),(0,R.jsx)(`p`,{children:n})]})]},t))}),(0,R.jsxs)(`div`,{className:`consulting-footer`,children:[(0,R.jsx)(`p`,{children:`One-on-one sessions, team workshops, or a monthly advisory call. Remote, recorded on request, and a fixed price per session or package.`}),(0,R.jsxs)(`div`,{className:`button-row`,children:[(0,R.jsx)(S,{asChild:!0,size:`lg`,children:(0,R.jsxs)(`a`,{href:b,target:`_blank`,rel:`noopener noreferrer`,children:[`Book a consulting call `,(0,R.jsx)(T,{}),(0,R.jsx)(`span`,{className:`sr-only`,children:` (opens in a new tab)`})]})}),(0,R.jsx)(S,{asChild:!0,variant:`outline`,size:`lg`,className:`btn-on-dark`,children:(0,R.jsx)(`a`,{href:`#contact`,children:`Tell us what you want to learn`})})]})]})]}),(0,R.jsx)(`section`,{id:`accessibility`,className:`accessibility-band`,"aria-labelledby":`accessibility-title`,children:(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h2`,{id:`accessibility-title`,children:`Why accessibility can't wait anymore`}),(0,R.jsx)(`p`,{children:`About one in four adults in the U.S. lives with a disability. If your website doesn't work with a screen reader, can't be used with a keyboard, or has text people can't read, you're turning those customers away before they ever talk to you.`}),(0,R.jsx)(`p`,{children:`It's also now a legal question, not just a nice-to-have. Businesses receive thousands of website accessibility lawsuits and demand letters every year in the U.S., and the rules keep tightening: the Department of Justice now requires state and local government sites to meet the WCAG 2.1 AA standard, and the European Accessibility Act has applied to businesses selling into the EU since 2025. Small businesses get these letters too.`}),(0,R.jsx)(`p`,{children:`The fix is usually not expensive. We audit your site, fix the real problems in the code (not just paste in an overlay and call it done), add an accessibility widget so visitors can adjust the site to their needs, and publish an accessibility statement so you have something to point to.`}),(0,R.jsx)(S,{asChild:!0,size:`lg`,children:(0,R.jsxs)(`a`,{href:`https://datarightsos.com/`,target:`_blank`,rel:`noopener`,children:[`Get a free accessibility check `,(0,R.jsx)(T,{})]})})]})}),(0,R.jsxs)(`section`,{id:`process`,className:`page-section alt`,"aria-labelledby":`process-title`,children:[(0,R.jsx)(vl,{id:`process-title`,titleText:`How working with us goes`}),(0,R.jsx)(`ol`,{className:`steps`,"data-reveal":!0,children:[[`Tell us the problem.`,`Use the form, email, or book a call. Plain words are fine. We reply within one business day.`],[`We talk for 20 minutes.`,`Free call. We ask questions, you show us how things work now. If software isn't the right answer, we'll say so.`],[`You get a fixed quote.`,`Complete proposal: what we'll build, what it costs, when it's done. No hourly surprises.`],[`We build it, you use it, we stay.`,`You see progress along the way. After launch we're still here for fixes and changes.`]].map(([e,t],n)=>(0,R.jsxs)(`li`,{children:[(0,R.jsx)(`span`,{"aria-hidden":`true`,children:String(n+1).padStart(2,`0`)}),(0,R.jsx)(`h3`,{children:e}),(0,R.jsx)(`p`,{children:t})]},e))})]}),(0,R.jsxs)(`section`,{id:`about`,className:`page-section`,"aria-labelledby":`about-title`,children:[(0,R.jsxs)(`div`,{className:`small-agency`,children:[(0,R.jsx)(`h2`,{id:`about-title`,children:`Small on purpose.`}),(0,R.jsx)(`p`,{children:`My AI Summit is a small studio, and that's the point. Every project is handled by senior people. Nothing gets handed off to a junior developer or an offshore team you'll never meet. The person you talk to on the first call is on your project until it ships, and is the same person who answers when something needs fixing a year later.`}),(0,R.jsx)(`p`,{children:`We started My AI Summit after wasting too many hours and dollars on tools that were complicated, overpriced, or didn't work. Everything we build follows three rules: keep it simple, make sure it actually works, and don't overcharge for it.`})]}),(0,R.jsxs)(`div`,{className:`about`,"data-reveal":!0,children:[(0,R.jsx)(`img`,{src:`/kale.jpg`,alt:`Kale, founder of My AI Summit`,width:`600`,height:`731`,loading:`lazy`}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h2`,{id:`founder-title`,children:`Meet the founder`}),(0,R.jsxs)(`blockquote`,{className:`pull-quote`,children:[(0,R.jsx)(`p`,{children:`Keep it simple. Make sure it actually works. Don't overcharge for it.`}),(0,R.jsx)(`footer`,{children:`Kale, founder`})]}),(0,R.jsxs)(`p`,{children:[`Kale founded My AI Summit and leads its product development. Before moving into software, he spent more than 25 years in high-pressure operational roles: running logistics, leading backcountry and sea-kayaking expeditions, and managing fast-paced ski schools. All where clear communication and reliable tools were essential.`,(0,R.jsx)(`br`,{}),`Today, Kale combines that field-tested perspective with a commitment to community impact. He mentors at-risk y
41outh while building digital products, AI chatbots, paid software products, and offline-first field applications for inspectors and facilitators in the ropes-course and outdoor recreation industries.`]})]})]})]}),gl.length>0&&(0,R.jsxs)(`section`,{className:`page-section`,"aria-labelledby":`testimonials-title`,children:[(0,R.jsx)(vl,{id:`testimonials-title`,titleText:`What people say`}),(0,R.jsx)(`div`,{className:`testimonials`,children:gl.map(e=>(0,R.jsxs)(`figure`,{children:[(0,R.jsxs)(`blockquote`,{children:[`“`,e.quote,`”`]}),(0,R.jsxs)(`figcaption`,{children:[(0,R.jsx)(`span`,{"aria-hidden":`true`,children:_l(e.name)}),e.name,` · `,e.role,` · `,e.organization]})]},e.quote))})]}),(0,R.jsxs)(`section`,{className:`page-section alt`,"aria-labelledby":`faq-title`,children:[(0,R.jsx)(vl,{id:`faq-title`,titleText:`Questions people ask before they reach out`}),(0,R.jsx)(On,{type:`single`,collapsible:!0,className:`faq`,children:pl.map(([e,t],n)=>(0,R.jsxs)(kn,{value:`faq-${n}`,children:[(0,R.jsx)(An,{children:e}),(0,R.jsx)(jn,{children:t})]},e))})]}),(0,R.jsx)(wl,{ref:r,need:e,setNeed:t}),(0,R.jsx)(sl,{})]})}function wl({need:e,setNeed:t,ref:n}){let r=P(ll),i=s(),[a,o]=(0,N.useState)(``),[c,l]=(0,N.useState)(!1);async function u(t){t.preventDefault(),o(``);let n=t.currentTarget;if(!n.checkValidity()){o(`Complete the required fields and enter a valid email address.`),n.reportValidity();return}l(!0);let a=new FormData(n);try{await r({data:{name:String(a.get(`name`)??``),email:String(a.get(`email`)??``),phone:String(a.get(`phone`)??``),need:e,message:String(a.get(`message`)??``),website:String(a.get(`website`)??``),sourceUrl:window.location.href}}),await i({to:`/thanks`})}catch(e){o(e instanceof Error?e.message:`Your message could not be sent. Please email us instead.`),l(!1)}}return(0,R.jsxs)(`section`,{ref:n,id:`contact`,className:`contact-section`,"aria-labelledby":`contact-title`,children:[(0,R.jsxs)(`div`,{className:`contact-intro`,children:[(0,R.jsx)(`p`,{className:`eyebrow`,children:`LET'S TALK`}),(0,R.jsx)(`h2`,{id:`contact-title`,children:`Tell us what you need.`}),(0,R.jsx)(`p`,{children:`Three ways to reach us. Pick whichever is easiest. We reply within one business day.`}),(0,R.jsxs)(`div`,{className:`contact-options`,children:[(0,R.jsxs)(`a`,{href:`mailto:[email protected]`,children:[(0,R.jsx)(D,{"aria-hidden":`true`}),(0,R.jsxs)(`span`,{children:[(0,R.jsx)(`strong`,{children:`Email`}),`[email protected]`]})]}),(0,R.jsxs)(`a`,{href:b,target:`_blank`,rel:`noopener noreferrer`,children:[(0,R.jsx)(O,{"aria-hidden":`true`}),(0,R.jsxs)(`span`,{children:[(0,R.jsx)(`strong`,{children:`Book a free 20-minute call`}),`Pick a time on TidyCal`,(0,R.jsx)(`span`,{className:`sr-only`,children:` (opens in a new tab)`})]})]}),(0,R.jsxs)(`a`,{href:`#contact-form`,children:[(0,R.jsx)(k,{"aria-hidden":`true`}),(0,R.jsxs)(`span`,{children:[(0,R.jsx)(`strong`,{children:`Use the form`}),`Plain words are fine`]})]})]}),(0,R.jsx)(Tl,{})]}),(0,R.jsxs)(`form`,{id:`contact-form`,onSubmit:u,noValidate:!0,className:`contact-form`,"aria-label":`Contact form`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(In,{htmlFor:`name`,children:[`Name `,(0,R.jsx)(`span`,{"aria-hidden":`true`,children:`*`})]}),(0,R.jsx)(Mn,{id:`name`,name:`name`,required:!0,maxLength:120,autoComplete:`name`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(In,{htmlFor:`email`,children:[`Email `,(0,R.jsx)(`span`,{"aria-hidden":`true`,children:`*`})]}),(0,R.jsx)(Mn,{id:`email`,name:`email`,type:`email`,required:!0,maxLength:320,autoComplete:`email`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(In,{htmlFor:`phone`,children:[`Phone `,(0,R.jsx)(`span`,{className:`optional`,children:`Optional`})]}),(0,R.jsx)(Mn,{id:`phone`,name:`phone`,type:`tel`,maxLength:50,autoComplete:`tel`})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(In,{htmlFor:`need`,children:`What do you need?`}),(0,R.jsxs)(jc,{value:e,onValueChange:e=>t(e),children:[(0,R.jsx)(Nc,{id:`need`,className:`min-h-11`,children:(0,R.jsx)(Mc,{})}),(0,R.jsx)(Ic,{children:cl.map(e=>(0,R.jsx)(Rc,{value:e,children:e},e))})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(In,{htmlFor:`message`,children:[`Tell us about it `,(0,R.jsx)(`span`,{"aria-hidden":`true`,children:`*`})]}),(0,R.jsx)(Bc,{id:`message`,name:`message`,required:!0,maxLength:5e3,rows:6,placeholder:`Plain words are fine. What's slowing you down?`})]}),(0,R.jsxs)(`div`,{className:`honeypot`,"aria-hidden":`true`,children:[(0,R.jsx)(In,{htmlFor:`website`,children:`Website`}),(0,R.jsx)(Mn,{id:`website`,name:`website`,tabIndex:-1,autoComplete:`off`})]}),(0,R.jsx)(`p`,{className:`form-error`,role:`alert`,"aria-live":`assertive`,children:a}),(0,R.jsxs)(S,{type:`submit`,size:`lg`,className:`w-full`,disabled:c,
41children:[c?`Sending…`:`Send it`,(0,R.jsx)(T,{})]}),(0,R.jsx)(`p`,{className:`form-note`,children:`Your message is stored privately. We won't sell or share your details.`})]})]})}function Tl(){let e=(0,N.useRef)(null),[t,n]=(0,N.useState)(!1);return(0,N.useEffect)(()=>{let r=e.current;if(!r||t)return;if(!(`IntersectionObserver`in window)){n(!0);return}let i=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(n(!0),i.disconnect())},{rootMargin:`400px`});return i.observe(r),()=>i.disconnect()},[t]),(0,R.jsxs)(`div`,{className:`tidycal-embed`,ref:e,children:[(0,R.jsx)(`p`,{children:(0,R.jsx)(`a`,{href:b,target:`_blank`,rel:`noopener noreferrer`,children:`Open the booking calendar in a new tab`})}),t&&(0,R.jsx)(`iframe`,{src:`https://tidycal.com/kale/20-minute-meeting-with-kale-of-my-ai-summit`,title:`Book a free 20-minute call with My AI Summit (TidyCal)`,loading:`lazy`})]})}export{Cl as component};

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.