1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,494117,e=>{"use strict";let t=(0,e.i(540796).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},407425,e=>{"use strict";var t=e.i(494117);e.s(["ChevronDownIcon",()=>t.default])},810735,e=>{"use strict";var t=e.i(645410),r=e.i(247313),n=e.i(524605),i=e.i(160152),o=e.i(470624),s=e.i(291967),l=e.i(247163),a=e.i(615883),u=e.i(761618),c=e.i(729887),d=e.i(902616),f="Collapsible",[p,m]=(0,n.createContextScope)(f),[h,v]=p(f),y=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:o,defaultOpen:s,disabled:u,onOpenChange:c,...p}=e,[m,v]=(0,l.useControllableState)({prop:o,defaultProp:s??!1,onChange:c,caller:f});return(0,t.jsx)(h,{scope:i,disabled:u,contentId:(0,d.useId)(),open:m,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),children:(0,t.jsx)(a.Primitive.div,{"data-state":C(m),"data-disabled":u?"":void 0,...p,ref:n})})});y.displayName=f;var w="CollapsibleTrigger",x=r.forwardRef((e,r)=>{let{__scopeCollapsible:n,...i}=e,o=v(w,n);return(0,t.jsx)(a.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":C(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:r,onClick:(0,s.composeEventHandlers)(e.onClick,o.onOpenToggle)})});x.displayName=w;var g="CollapsibleContent",b=r.forwardRef((e,r)=>{let{forceMount:n,...i}=e,o=v(g,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:n||o.open,children:({present:e})=>(0,t.jsx)(R,{...i,ref:r,present:e})})});b.displayName=g;var R=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,present:s,children:l,...c}=e,d=v(g,i),[f,p]=r.useState(s),m=r.useRef(null),h=(0,o.useComposedRefs)(n,m),y=r.useRef(0),w=y.current,x=r.useRef(0),b=x.current,R=d.open||f,A=r.useRef(R),S=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,u.useLayoutEffect)(()=>{let e=m.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,x.current=t.width,A.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),p(s)}},[d.open,s]),(0,t.jsx)(a.Primitive.div,{"data-state":C(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!R,...c,ref:h,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:R&&l})});function C(e){return e?"open":"closed"}var A=e.i(962206),S="Accordion",N=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,j,I]=(0,i.createCollection)(S),[k,O]=(0,n.createContextScope)(S,[I,m]),P=m(),D=r.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(E.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(z,{...i,ref:r}):(0,t.jsx)(L,{...i,ref:r})})});D.displayName=S;var[T,M]=k(S),[_,F]=k(S,{collapsible:!1}),L=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},collapsible:a=!1,...u}=e,[c,d]=(0,l.useControllableState)({prop:i,defaultProp:o??"",onChange:s,caller:S});return(0,t.jsx)(T,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:r.default.useCallback(()=>a&&d(""),[a,d]),children:(0,t.jsx)(_,{scope:e.__scopeAccordion,collapsible:a,children:(0,t.jsx)(H,{...u,ref:n})})})}),z=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:s=()=>{},...a}=e,[u,c]=(0,l.useControllableState)({prop:i,defaultProp:o??[],onChange:s,caller:S}),d=r.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),f=r.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(T,{scope:e.__scopeAccordion,value:u,onItemOpen:d,onItemClose:f,children:(0,t.jsx)(_,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(H,{...a,ref:n})})})}),[U,$]=k(S),H=r.default.forwardRef((e,n)=>{let{__scopeAccordion:i,disabled:l,dir:u,orientation:c="vertical",...d}=e,f=r.default.useRef(null),p=(0,o.useComposedRefs)(f,n),m=j(i),h="ltr"===(0,A.useDirection)(u),v=(0,s.c
1omposeEventHandlers)(e.onKeyDown,e=>{if(!N.includes(e.key))return;let t=e.target,r=m().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,s=i-1,l=()=>{(o=n+1)>s&&(o=0)},a=()=>{(o=n-1)<0&&(o=s)};switch(e.key){case"Home":o=0;break;case"End":o=s;break;case"ArrowRight":"horizontal"===c&&(h?l():a());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(h?a():l());break;case"ArrowUp":"vertical"===c&&a()}let u=o%i;r[u].ref.current?.focus()});return(0,t.jsx)(U,{scope:i,disabled:l,direction:u,orientation:c,children:(0,t.jsx)(E.Slot,{scope:i,children:(0,t.jsx)(a.Primitive.div,{...d,"data-orientation":c,ref:p,onKeyDown:l?void 0:v})})})}),W="AccordionItem",[K,B]=k(W),V=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,value:i,...o}=e,s=$(W,n),l=M(W,n),a=P(n),u=(0,d.useId)(),c=i&&l.value.includes(i)||!1,f=s.disabled||e.disabled;return(0,t.jsx)(K,{scope:n,open:c,disabled:f,triggerId:u,children:(0,t.jsx)(y,{"data-orientation":s.orientation,"data-state":Q(c),...a,...o,ref:r,disabled:f,open:c,onOpenChange:e=>{e?l.onItemOpen(i):l.onItemClose(i)}})})});V.displayName=W;var G="AccordionHeader",q=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(S,n),s=B(G,n);return(0,t.jsx)(a.Primitive.h3,{"data-orientation":o.orientation,"data-state":Q(s.open),"data-disabled":s.disabled?"":void 0,...i,ref:r})});q.displayName=G;var Y="AccordionTrigger",X=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(S,n),s=B(Y,n),l=F(Y,n),a=P(n);return(0,t.jsx)(E.ItemSlot,{scope:n,children:(0,t.jsx)(x,{"aria-disabled":s.open&&!l.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...a,...i,ref:r})})});X.displayName=Y;var Z="AccordionContent",J=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=$(S,n),s=B(Z,n),l=P(n);return(0,t.jsx)(b,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...l,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Q(e){return e?"open":"closed"}J.displayName=Z;var ee=e.i(151306),et=e.i(407425);let er=({className:e,...r})=>(0,t.jsx)(V,{className:(0,ee.cn)("border-b",e),...r}),en=({className:e,children:r,...n})=>(0,t.jsx)(q,{className:"flex",children:(0,t.jsxs)(X,{className:(0,ee.cn)("flex flex-1 items-center justify-between py-4 font-medium text-sm transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[r,(0,t.jsx)(et.ChevronDownIcon,{className:"size-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}),ei=({className:e,children:r,...n})=>(0,t.jsx)(J,{className:(0,ee.cn)("overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...n,children:(0,t.jsx)("div",{className:"pt-0 pb-4",children:r})});e.s(["Accordion",()=>D,"AccordionContent",()=>ei,"AccordionItem",()=>er,"AccordionTrigger",()=>en],810735)},536316,e=>{"use strict";var t=e.i(247313);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r])},188487,e=>{"use strict";var t=e.i(247313),r=e.i(615883),n=e.i(645410),i=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"}),o=t.forwardRef((e,t)=>(0,n.jsx)(r.Primitive.span,{...e,ref:t,style:{...i,...e.style}}));o.displayName="VisuallyHidden",e.s(["Root",()=>o,"VISUALLY_HIDDEN_STYLES",()=>i])},729887,e=>{"use strict";var t=e.i(247313),r=e.i(470624),n=e.i(761618),i=e=>{var i;let s,l,{present:a,children:u}=e,c=function(e){var r,i;let[s,l]=t.useState(),a=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
1i[e][t]??e,r));return t.useEffect(()=>{let e=o(a.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=a.current,r=u.current;if(r!==e){let n=c.current,i=o(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=o(a.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=o(a.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(a),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(i=d,(l=(s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.ref:(l=(s=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function o(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",()=>i])},761618,e=>{"use strict";var t=e.i(247313),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},291967,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t])},524605,e=>{"use strict";var t=e.i(247313),r=e.i(645410);function n(e,n){let i=t.createContext(n),o=e=>{let{children:n,...o}=e,s=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:s,children:n})};return o.displayName=e+"Provider",[o,function(r){let o=t.useContext(i);if(o)return o;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function i(e,n=[]){let o=[],s=()=>{let r=o.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(n,i){let s=t.createContext(i),l=o.length;o=[...o,i];let a=n=>{let{scope:i,children:o,...a}=n,u=i?.[e]?.[l]||s,c=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(u.Provider,{value:c,children:o})};return a.displayName=n+"Provider",[a,function(r,o){let a=o?.[e]?.[l]||s,u=t.useContext(a);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(s,...n)]}e.s(["createContext",()=>n,"createContextScope",()=>i])},832593,e=>{"use strict";var t=e.i(247313),r=e.i(470624),n=e.i(645410);function i(e){var i;let o,s=(i=e,(o=t.forwardRef((e,n)=>{let{children:i,...o}=e;if(t.isValidElement(i)){var s;let e,l,a=(s=i,(l=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(l=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,i.props);return i.type!==t.Fragment&&(u.ref=n?(0,r.composeRefs)(n,a):a),t.cloneElement(i,u)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,o),a=t.forwardRef((e,r)=>{let{children:i,...o}=e,a=t.Children.toArray(i),u=a.find(l);if(u){let e=u.props.children,i=a.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(s,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(s,{...o,ref:r,children:i})});return a.displayName=`${e}.Slot`,a}var o=Symbol("radix.slottable");function s(e){let t=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}function l(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["createSlot",()=>i,"createSlottable",()=>s])},615883,e=>{"use strict";var t=e.i(247313),r=e.i(488435),n=e.i(832593),i=e.i(645410),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let o=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>
1{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?o:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});function s(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>o,"dispatchDiscreteCustomEvent",()=>s])},247163,e=>{"use strict";var t=e.i(247313),r=e.i(761618);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function i({prop:e,defaultProp:r,onChange:i=()=>{},caller:o}){let[s,l,a]=function({defaultProp:e,onChange:r}){let[i,o]=t.useState(e),s=t.useRef(i),l=t.useRef(r);return n(()=>{l.current=r},[r]),t.useEffect(()=>{s.current!==i&&(l.current?.(i),s.current=i)},[i,s]),[i,o,l]}({defaultProp:r,onChange:i}),u=void 0!==e,c=u?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,o])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else l(t)},[u,e,l,a])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>i],247163)},902616,e=>{"use strict";var t=e.i(247313),r=e.i(761618),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function o(e){let[o,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}e.s(["useId",()=>o])},962206,e=>{"use strict";var t=e.i(247313);e.i(645410);var r=t.createContext(void 0);function n(e){let n=t.useContext(r);return e||n||"ltr"}e.s(["useDirection",()=>n])},160152,e=>{"use strict";var t=e.i(247313),r=e.i(524605),n=e.i(470624),i=e.i(832593),o=e.i(645410);function s(e){let s=e+"CollectionProvider",[l,a]=(0,r.createContextScope)(s),[u,c]=l(s,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:s,collectionRef:i,children:n})};d.displayName=s;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),m=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=c(f,r),l=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(p,{ref:l,children:i})});m.displayName=f;let h=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,i.createSlot)(h),w=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...l}=e,a=t.default.useRef(null),u=(0,n.useComposedRefs)(r,a),d=c(h,i);return t.default.useEffect(()=>(d.itemMap.set(a,{ref:a,...l}),()=>void d.itemMap.delete(a))),(0,o.jsx)(y,{...{[v]:""},ref:u,children:s})});return w.displayName=h,[{Provider:d,Slot:m,ItemSlot:w},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}var l=new WeakMap;function a(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,i=r.length,(s=(o=u(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===l?void 0:e[l]}function u(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=u(e),l=s>=0?s:o+s,a=l<0||l>=o?-1:l;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let c=this.size+ +!i;s<0&&l++;let d=[...this.#e],f=!1;for(let e=l;e<c;e++)if(l===e){let o=d[e];d[e]===t&&(o=d[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}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 void 0!==t&&this.delete(t)}at(e){let t=a(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=a(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return a(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>s])},240029,e=>{"use strict";var t=e.i(247313);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",()=>r])},645357,e=>{"use strict";var t=e.i(247313),r=e.i(761618);function n(e){let[n,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;i({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),n}e.s(["useSize",()=>n])},772300,e=>{"use strict";var t=e.i(247313),r=e.i(291967),n=e.i(160152),i=e.i(470624),o=e.i(524605),s=e.i(902616),l=e.i(615883),a=e.i(240029),u=e.i(247163),c=e.i(962206),d=e.i(645410),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[h,v,y]=(0,n.createCollection)(m),[w,x]=(0,o.createContextScope)(m,[y]),[g,b]=w(m),R=t.forwardRef((e,t)=>(0,d.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));R.displayName=m;var C=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:h=!1,dir:y,currentTabStopId:w,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:b,onEntryFocus:R,preventScrollOnEntryFocus:C=!1,...A}=e,S=t.useRef(null),N=(0,i.useComposedRefs)(n,S),j=(0,c.useDirection)(y),[I,k]=(0,u.useControllableState)({prop:w,defaultProp:x??null,onChange:b,caller:m}),[O,P]=t.useState(!1),D=(0,a.useCallbackRef)(R),T=v(o),M=t.useRef(!1),[_,F]=t.useState(0);return t.useEffect(()=>{let e=S.current;if(e)return e.addEventListener(f,D),()=>e.removeEventListener(f,D)},[D]),(0,d.jsx)(g,{scope:o,orientation:s,dir:j,loop:h,currentTabStopId:I,onItemFocus:t.useCallback(e=>k(e),[k]),onItemShiftTab:t.useCallback(()=>P(!0),[]),onFocusableItemAdd:t.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>F(e=>e-1),[]),children:(0,d.jsx)(l.Primitive.div,{tabIndex:O||0===_?-1:0,"data-orientation":s,...A,ref:N,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!O){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=T().filter(e=>e.focusable);E([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),C)}}M.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>P(!1))})})}),A="RovingFocusGroupItem",S=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,focusable:o=!0,active:a=!1,tabStopId:u,children:c,...f}=e,p=(0,s.useId)(),m=u||p,y=b(A,i),w=y.currentTabStopId===m,x=v(i),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:C}=y;return t.useEffect(()=>{if(o)return g(),()=>R()},[o,g,R]),(0,d.jsx)(h.ItemSlot,{scope:i,id:m,focusable:o,active:a,children:(0,d.jsx)(l.Primitive.span,{tabIndex:w?0:-1,"data-orientation":y.orientation,...f,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o?y.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>y.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void y.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return N[i]}(e,y.orientation,y.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=x().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=y.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>E(i))}}),children:"function"==typeof c?c({isCurrentTabStop:w,hasTabStop:null!=C}):c})})});S.displayName=A;var N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function E(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>S,"Root",()=>R,"createRovingFocusGroupScope",()=>x])}]);
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.