1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6cc36988-5725-4e40-add8-af9c0f35a8de",e._sentryDebugIdIdentifier="sentry-dbid-6cc36988-5725-4e40-add8-af9c0f35a8de")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5330],{65330:function(e,r,n){n.d(r,{VY:function(){return eH},ZA:function(){return e$},ck:function(){return eq},Uv:function(){return eY},fC:function(){return eX},Z0:function(){return eJ},xz:function(){return eZ}});var t=n(2265),o=n(82159),a=n(39963),u=n(9883),l=n(98571),i=n(43229),c=n(89616),s=n(82911),d=n(6712),f=n(81697),p=n(47126),v=n(52145),g=n(2456),h=n(18332),m=n(88889),w=n(50484),y=n(57437),x=Symbol("radix.slottable");function M(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var j=n(30272),b=n(56551),C=n(33287),R=["Enter"," "],D=["ArrowUp","PageDown","End"],_=["ArrowDown","PageUp","Home",...D],k={ltr:[...R,"ArrowRight"],rtl:[...R,"ArrowLeft"]},I={ltr:["ArrowLeft"],rtl:["ArrowRight"]},E="Menu",[P,T,F]=(0,c.B)(E),[S,N]=(0,u.b)(E,[F,g.D7,w.Pc]),A=(0,g.D7)(),O=(0,w.Pc)(),[L,K]=S(E),[V,W]=S(E),G=e=>{let{__scopeMenu:r,open:n=!1,children:o,dir:a,onOpenChange:u,modal:l=!0}=e,i=A(r),[c,d]=t.useState(null),f=t.useRef(!1),p=(0,j.W)(u),v=(0,s.gm)(a);return t.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),(0,y.jsx)(g.fC,{...i,children:(0,y.jsx)(L,{scope:r,open:n,onOpenChange:p,content:c,onContentChange:d,children:(0,y.jsx)(V,{scope:r,onClose:t.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:v,modal:l,children:o})})})};G.displayName=E;var B=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=A(n);return(0,y.jsx)(g.ee,{...o,...t,ref:r})});B.displayName="MenuAnchor";var U="MenuPortal",[z,X]=S(U,{forceMount:void 0}),Z=e=>{let{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=K(U,r);return(0,y.jsx)(z,{scope:r,forceMount:n,children:(0,y.jsx)(m.z,{present:n||a.open,children:(0,y.jsx)(h.h,{asChild:!0,container:o,children:t})})})};Z.displayName=U;var Y="MenuContent",[H,$]=S(Y),q=t.forwardRef((e,r)=>{let n=X(Y,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=K(Y,e.__scopeMenu),u=W(Y,e.__scopeMenu);return(0,y.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(m.z,{present:t||a.open,children:(0,y.jsx)(P.Slot,{scope:e.__scopeMenu,children:u.modal?(0,y.jsx)(J,{...o,ref:r}):(0,y.jsx)(Q,{...o,ref:r})})})})}),J=t.forwardRef((e,r)=>{let n=K(Y,e.__scopeMenu),u=t.useRef(null),l=(0,a.e)(r,u);return t.useEffect(()=>{let e=u.current;if(e)return(0,b.Ry)(e)},[]),(0,y.jsx)(er,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.Mj)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Q=t.forwardRef((e,r)=>{let n=K(Y,e.__scopeMenu);return(0,y.jsx)(er,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ee=function(e){let r=function(e){let r=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){let e,u;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,i=function(e,r){let n={...r};for(let t in r){let o=e[t],a=r[t];/^on[A-Z]/.test(t)?o&&a?n[t]=(...e)=>{let r=a(...e);return o(...e),r}:o&&(n[t]=o):"style"===t?n[t]={...o,...a}:"className"===t&&(n[t]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==t.Fragment&&(i.ref=r?(0,a.F)(r,l):l),t.cloneElement(n,i)}return t.Children.count(n)>1?t.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}
1(e),n=t.forwardRef((e,n)=>{let{children:o,...a}=e,u=t.Children.toArray(o),l=u.find(M);if(l){let e=l.props.children,o=u.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,y.jsx)(r,{...a,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,y.jsx)(r,{...a,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}("MenuContent.ScrollLock"),er=t.forwardRef((e,r)=>{let{__scopeMenu:n,loop:u=!1,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:v,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:x,onInteractOutside:M,onDismiss:j,disableOutsideScroll:b,...R}=e,k=K(Y,n),I=W(Y,n),E=A(n),P=O(n),F=T(n),[S,N]=t.useState(null),L=t.useRef(null),V=(0,a.e)(r,L,k.onContentChange),G=t.useRef(0),B=t.useRef(""),U=t.useRef(0),z=t.useRef(null),X=t.useRef("right"),Z=t.useRef(0),$=b?C.Z:t.Fragment,q=e=>{let r=B.current+e,n=F().filter(e=>!e.disabled),t=document.activeElement,o=n.find(e=>e.ref.current===t)?.textValue,a=function(e,r,n){var t;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=(t=Math.max(n?e.indexOf(n):-1,0),e.map((r,n)=>e[(t+n)%e.length]));1===o.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}(n.map(e=>e.textValue),r,o),u=n.find(e=>e.textValue===a)?.ref.current;!function e(r){B.current=r,window.clearTimeout(G.current),""!==r&&(G.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>u.focus())};t.useEffect(()=>()=>window.clearTimeout(G.current),[]),(0,f.EW)();let J=t.useCallback(e=>{var r;return X.current===z.current?.side&&!!(r=z.current?.area)&&function(e,r){let{x:n,y:t}=e,o=!1;for(let e=0,a=r.length-1;e<r.length;a=e++){let u=r[e],l=r[a],i=u.x,c=u.y,s=l.x,d=l.y;c>t!=d>t&&n<(s-i)*(t-c)/(d-c)+i&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,y.jsx)(H,{scope:n,searchRef:B,onItemEnter:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:t.useCallback(e=>{J(e)||(L.current?.focus(),N(null))},[J]),onTriggerLeave:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:U,onPointerGraceIntentChange:t.useCallback(e=>{z.current=e},[]),children:(0,y.jsx)($,{...b?{as:ee,allowPinchZoom:!0}:void 0,children:(0,y.jsx)(p.M,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.Mj)(i,e=>{e.preventDefault(),L.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,y.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:x,onInteractOutside:M,onDismiss:j,children:(0,y.jsx)(w.fC,{asChild:!0,...P,dir:I.dir,orientation:"vertical",loop:u,currentTabStopId:S,onCurrentTabStopIdChange:N,onEntryFocus:(0,o.Mj)(v,e=>{I.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,y.jsx)(g.VY,{role:"menu","aria-orientation":"vertical","data-state":e_(k.open),"data-radix-menu-content":"",dir:I.dir,...E,...R,ref:V,style:{outline:"none",...R.style},onKeyDown:(0,o.Mj)(R.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,t=1===e.key.length;r&&("Tab"===e.key&&e.preventDefault(),!n&&t&&q(e.key));let o=L.current;if(e.target!==o||!_.includes(e.key))return;e.preventDefault();let a=F().filter(e=>!e.disabled).map(e=>e.ref.current);D.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let n of e)if(n===r||(n.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,o.Mj)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(G.current),B.current="")}),onPointerMove:(0,o.Mj)(e.onPointerMove,eE(e=>{let r=e.target,n=Z.current!==e.clientX;if(e.currentTarget.contains(r)&&n){let r=e.clientX>Z.current?"right":"left";X.current=r,Z.current=e.clientX}}))})})})})})})});q.displayName=Y;var en=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,y.jsx)(i.WV.div,{role:"group",...t,ref:r})});en.displayName="MenuGroup";var et=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,y.jsx)(i.WV.div,{...t,ref:r})});et.displayName="MenuLabel";var eo="MenuItem",ea="menu.itemSelect",eu=t.forwardRef((e,r)=>{let{disabled:n=!1,onSelect:u,...l}=e,c=t.useRef(null),s=W(eo,e.__scopeMenu),d=$(eo,e.__scopeMenu),f=(0,a.e)(r,c),p=t.useRef(!1);return(0,y.jsx)(el,{...l,ref:f,disabled:n,onClick:(0,o.Mj)(e.onClick,()=>
1{let e=c.current;if(!n&&e){let r=new CustomEvent(ea,{bubbles:!0,cancelable:!0});e.addEventListener(ea,e=>u?.(e),{once:!0}),(0,i.jH)(e,r),r.defaultPrevented?p.current=!1:s.onClose()}}),onPointerDown:r=>{e.onPointerDown?.(r),p.current=!0},onPointerUp:(0,o.Mj)(e.onPointerUp,e=>{p.current||e.currentTarget?.click()}),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{let r=""!==d.searchRef.current;!n&&(!r||" "!==e.key)&&R.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eu.displayName=eo;var el=t.forwardRef((e,r)=>{let{__scopeMenu:n,disabled:u=!1,textValue:l,...c}=e,s=$(eo,n),d=O(n),f=t.useRef(null),p=(0,a.e)(r,f),[v,g]=t.useState(!1),[h,m]=t.useState("");return t.useEffect(()=>{let e=f.current;e&&m((e.textContent??"").trim())},[c.children]),(0,y.jsx)(P.ItemSlot,{scope:n,disabled:u,textValue:l??h,children:(0,y.jsx)(w.ck,{asChild:!0,...d,focusable:!u,children:(0,y.jsx)(i.WV.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...c,ref:p,onPointerMove:(0,o.Mj)(e.onPointerMove,eE(e=>{u?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.Mj)(e.onPointerLeave,eE(e=>s.onItemLeave(e))),onFocus:(0,o.Mj)(e.onFocus,()=>g(!0)),onBlur:(0,o.Mj)(e.onBlur,()=>g(!1))})})})}),ei=t.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:t,...a}=e;return(0,y.jsx)(eh,{scope:e.__scopeMenu,checked:n,children:(0,y.jsx)(eu,{role:"menuitemcheckbox","aria-checked":ek(n)?"mixed":n,...a,ref:r,"data-state":eI(n),onSelect:(0,o.Mj)(a.onSelect,()=>t?.(!!ek(n)||!n),{checkForDefaultPrevented:!1})})})});ei.displayName="MenuCheckboxItem";var ec="MenuRadioGroup",[es,ed]=S(ec,{value:void 0,onValueChange:()=>{}}),ef=t.forwardRef((e,r)=>{let{value:n,onValueChange:t,...o}=e,a=(0,j.W)(t);return(0,y.jsx)(es,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,y.jsx)(en,{...o,ref:r})})});ef.displayName=ec;var ep="MenuRadioItem",ev=t.forwardRef((e,r)=>{let{value:n,...t}=e,a=ed(ep,e.__scopeMenu),u=n===a.value;return(0,y.jsx)(eh,{scope:e.__scopeMenu,checked:u,children:(0,y.jsx)(eu,{role:"menuitemradio","aria-checked":u,...t,ref:r,"data-state":eI(u),onSelect:(0,o.Mj)(t.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ev.displayName=ep;var eg="MenuItemIndicator",[eh,em]=S(eg,{checked:!1}),ew=t.forwardRef((e,r)=>{let{__scopeMenu:n,forceMount:t,...o}=e,a=em(eg,n);return(0,y.jsx)(m.z,{present:t||ek(a.checked)||!0===a.checked,children:(0,y.jsx)(i.WV.span,{...o,ref:r,"data-state":eI(a.checked)})})});ew.displayName=eg;var ey=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,y.jsx)(i.WV.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});ey.displayName="MenuSeparator";var ex=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=A(n);return(0,y.jsx)(g.Eh,{...o,...t,ref:r})});ex.displayName="MenuArrow";var[eM,ej]=S("MenuSub"),eb="MenuSubTrigger",eC=t.forwardRef((e,r)=>{let n=K(eb,e.__scopeMenu),u=W(eb,e.__scopeMenu),l=ej(eb,e.__scopeMenu),i=$(eb,e.__scopeMenu),c=t.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:d}=i,f={__scopeMenu:e.__scopeMenu},p=t.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return t.useEffect(()=>p,[p]),t.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),d(null)}},[s,d]),(0,y.jsx)(B,{asChild:!0,...f,children:(0,y.jsx)(el,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":e_(n.open),...e,ref:(0,a.F)(r,l.onTriggerChange),onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.Mj)(e.onPointerMove,eE(r=>{i.onItemEnter(r),r.defaultPrevented||e.disabled||n.open||c.current||(i.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.Mj)(e.onPointerLeave,eE(e=>{p();let r=n.content?.getBoundingClientRect();if(r){let t=n.content?.dataset.side,o="right"===t,a=r[o?"left":"right"],u=r[o?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:r.top},{x:u,y:r.top},{x:u,y:r.bottom},{x:a,y:r.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.Mj)(e.onKeyDown,r=>{let t=""!==i.searchRef.current;!e.disabled&&(!t||" "!==r.key)&&k[u.dir].includes(r.key)&&(n.onOpenChange(!0),n.content?.focus(),r.preventDefault())})})})});eC.displayName=eb;var eR="MenuSubContent",eD=t.forwardRef((e,r)=>{let n=X(Y,e.__scopeMenu),{forceMount:u=n.forceMount,...l}=e,i=K(Y,e.__scopeMenu),c=W(Y,e.__scopeMenu),s=ej(eR,e.__scopeMenu),d=t.useRef(null),f=(0,a.e)(r,d);return(0,y.jsx)(P.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(m.z,{present:u||i.open,children:(0,y.jsx)(P.Slot,{scope:e.__scopeMenu,children:(0,y.jsx)(er,{id:s.contentId,"aria-labelledby":s.triggerId,...l,ref:f,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.Mj)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,o.Mj)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),n=I[c.dir].includes(e.ke
1y);r&&n&&(i.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});function e_(e){return e?"open":"closed"}function ek(e){return"indeterminate"===e}function eI(e){return ek(e)?"indeterminate":e?"checked":"unchecked"}function eE(e){return r=>"mouse"===r.pointerType?e(r):void 0}eD.displayName=eR;var eP="DropdownMenu",[eT,eF]=(0,u.b)(eP,[N]),eS=N(),[eN,eA]=eT(eP),eO=e=>{let{__scopeDropdownMenu:r,children:n,dir:o,open:a,defaultOpen:u,onOpenChange:i,modal:c=!0}=e,s=eS(r),d=t.useRef(null),[f,p]=(0,l.T)({prop:a,defaultProp:u??!1,onChange:i,caller:eP});return(0,y.jsx)(eN,{scope:r,triggerId:(0,v.M)(),triggerRef:d,contentId:(0,v.M)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:c,children:(0,y.jsx)(G,{...s,open:f,onOpenChange:p,dir:o,modal:c,children:n})})};eO.displayName=eP;var eL="DropdownMenuTrigger",eK=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,disabled:t=!1,...u}=e,l=eA(eL,n),c=eS(n);return(0,y.jsx)(B,{asChild:!0,...c,children:(0,y.jsx)(i.WV.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...u,ref:(0,a.F)(r,l.triggerRef),onPointerDown:(0,o.Mj)(e.onPointerDown,e=>{t||0!==e.button||!1!==e.ctrlKey||(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{!t&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eK.displayName=eL;var eV=e=>{let{__scopeDropdownMenu:r,...n}=e,t=eS(r);return(0,y.jsx)(Z,{...t,...n})};eV.displayName="DropdownMenuPortal";var eW="DropdownMenuContent",eG=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,u=eA(eW,n),l=eS(n),i=t.useRef(!1);return(0,y.jsx)(q,{id:u.contentId,"aria-labelledby":u.triggerId,...l,...a,ref:r,onCloseAutoFocus:(0,o.Mj)(e.onCloseAutoFocus,e=>{i.current||u.triggerRef.current?.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,o.Mj)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,n=0===r.button&&!0===r.ctrlKey,t=2===r.button||n;(!u.modal||t)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eG.displayName=eW;var eB=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(en,{...o,...t,ref:r})});eB.displayName="DropdownMenuGroup",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(et,{...o,...t,ref:r})}).displayName="DropdownMenuLabel";var eU=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(eu,{...o,...t,ref:r})});eU.displayName="DropdownMenuItem",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ei,{...o,...t,ref:r})}).displayName="DropdownMenuCheckboxItem",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ef,{...o,...t,ref:r})}).displayName="DropdownMenuRadioGroup",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ev,{...o,...t,ref:r})}).displayName="DropdownMenuRadioItem",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ew,{...o,...t,ref:r})}).displayName="DropdownMenuItemIndicator";var ez=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ey,{...o,...t,ref:r})});ez.displayName="DropdownMenuSeparator",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(ex,{...o,...t,ref:r})}).displayName="DropdownMenuArrow",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(eC,{...o,...t,ref:r})}).displayName="DropdownMenuSubTrigger",t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=eS(n);return(0,y.jsx)(eD,{...o,...t,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var eX=eO,eZ=eK,eY=eV,eH=eG,e$=eB,eq=eU,eJ=ez},50484:function(e,r,n){n.d(r,{Pc:function(){return M},ck:function(){return P},fC:function(){return E}});var t=n(2265),o=n(82159),a=n(89616),u=n(39963),l=n(9883),i=n(52145),c=n(43229),s=n(30272),d=n(98571),f=n(82911),p=n(57437),v="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[m,w,y]=(0,a.B)(h),[x,M]=(0,l.b)(h,[y]),[j,b]=x(h),C=t.forwardRef((e,r)=>(0,p.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(R,{...e,ref:r})})}));C.displayName=h;var R=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:i,currentTabStopId:m,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:x,onEntryFocus:M,preventScrollOnEntryFocus:b=!1,...C}=e,R=t.useRef(null),D=(0,u.e)(r,R),_=(0,f.gm)(i),[k,E]=(0,d.T)({prop:m,defaultProp:y??null,onChange:x,caller:h}),[P,T]=t.useState(!1),F=(0,s.W)(M),S=w(n),N=t.useRef(!1),[A,O]=t.useState(0);return t.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(v,F),()=>e.removeEventListener(v,F)},[F]),(0,p.jsx)(j,{scope:n,orientation:a,dir:_,loop:l,currentTabStopId:k,onItemFocus:t.useCallback(e=>E(e),[E]),onItemShiftTab:t.useCallback(()=>T(!0),[]),onFocusableItemAdd:t.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>O(e=>e-1),[]),children:(0,p.jsx)(c.WV.div,{tabIndex:P||0===A?-1:0,"data-orientation":a,...C,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,o.Mj)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.Mj)(e.onFocus,e=>{let r=!N.current;if(e.target===e.currentTarget&&r&&!P){let r=new CustomEvent(v,g);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=S().filter(e=>
1e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===k),...e].filter(Boolean).map(e=>e.ref.current),b)}}N.current=!1}),onBlur:(0,o.Mj)(e.onBlur,()=>T(!1))})})}),D="RovingFocusGroupItem",_=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:u=!1,tabStopId:l,children:s,...d}=e,f=(0,i.M)(),v=l||f,g=b(D,n),h=g.currentTabStopId===v,y=w(n),{onFocusableItemAdd:x,onFocusableItemRemove:M,currentTabStopId:j}=g;return t.useEffect(()=>{if(a)return x(),()=>M()},[a,x,M]),(0,p.jsx)(m.ItemSlot,{scope:n,id:v,focusable:a,active:u,children:(0,p.jsx)(c.WV.span,{tabIndex:h?0:-1,"data-orientation":g.orientation,...d,ref:r,onMouseDown:(0,o.Mj)(e.onMouseDown,e=>{a?g.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.Mj)(e.onFocus,()=>g.onItemFocus(v)),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,n){var t;let o=(t=e.key,"rtl"!==n?t:"ArrowLeft"===t?"ArrowRight":"ArrowRight"===t?"ArrowLeft":t);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return k[o]}(e,g.orientation,g.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var n,t;"prev"===r&&o.reverse();let a=o.indexOf(e.currentTarget);o=g.loop?(n=o,t=a+1,n.map((e,r)=>n[(t+r)%n.length])):o.slice(a+1)}setTimeout(()=>I(o))}}),children:"function"==typeof s?s({isCurrentTabStop:h,hasTabStop:null!=j}):s})})});_.displayName=D;var k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let t of e)if(t===n||(t.focus({preventScroll:r}),document.activeElement!==n))return}var E=C,P=_}}]);
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.