1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9002],{49002:function(e,t,n){n.d(t,{oC:function(){return eQ},VY:function(){return eY},ZA:function(){return ej},ck:function(){return eJ},wU:function(){return e1},__:function(){return eq},Uv:function(){return eH},Ee:function(){return e$},Rk:function(){return e0},fC:function(){return ez},Z0:function(){return e7},Tr:function(){return e4},tu:function(){return e8},fF:function(){return e2},xz:function(){return eX}});var r=n(17610),o=n(7653),u=n(46196),a=n(94492),l=n(99933),c=n(47178),i=n(78378),d=n(28787),s=n(21004),f=n(14184),p=n(60307),m=n(42142),v=n(17321),g=n(17814),w=n(20153),E=n(65622),h=n(48684),M=n(8828),_=n(523),b=n(27130),C=n(58344);let R=["Enter"," "],y=["ArrowUp","PageDown","End"],D=["ArrowDown","PageUp","Home",...y],T={ltr:[...R,"ArrowRight"],rtl:[...R,"ArrowLeft"]},I={ltr:["ArrowLeft"],rtl:["ArrowRight"]},k="Menu",[F,P,x]=(0,d.B)(k),[O,S]=(0,l.b)(k,[x,g.D7,h.Pc]),Z=(0,g.D7)(),L=(0,h.Pc)(),[A,K]=O(k),[V,W]=O(k),G=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...u}=e,a=Z(n);return(0,o.createElement)(g.ee,(0,r.Z)({},a,u,{ref:t}))}),U="MenuPortal",[N,B]=O(U,{forceMount:void 0}),z="MenuContent",[X,H]=O(z),Y=(0,o.forwardRef)((e,t)=>{let n=B(z,e.__scopeMenu),{forceMount:u=n.forceMount,...a}=e,l=K(z,e.__scopeMenu),c=W(z,e.__scopeMenu);return(0,o.createElement)(F.Provider,{scope:e.__scopeMenu},(0,o.createElement)(E.z,{present:u||l.open},(0,o.createElement)(F.Slot,{scope:e.__scopeMenu},c.modal?(0,o.createElement)(j,(0,r.Z)({},a,{ref:t})):(0,o.createElement)(q,(0,r.Z)({},a,{ref:t})))))}),j=(0,o.forwardRef)((e,t)=>{let n=K(z,e.__scopeMenu),l=(0,o.useRef)(null),c=(0,a.e)(t,l);return(0,o.useEffect)(()=>{let e=l.current;if(e)return(0,b.Ry)(e)},[]),(0,o.createElement)(J,(0,r.Z)({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,u.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),q=(0,o.forwardRef)((e,t)=>{let n=K(z,e.__scopeMenu);return(0,o.createElement)(J,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),J=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:l=!1,trapFocus:c,onOpenAutoFocus:i,onCloseAutoFocus:d,disableOutsidePointerEvents:s,onEntryFocus:v,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:_,onInteractOutside:b,onDismiss:R,disableOutsideScroll:T,...I}=e,k=K(z,n),F=W(z,n),x=Z(n),O=L(n),S=P(n),[A,V]=(0,o.useState)(null),G=(0,o.useRef)(null),U=(0,a.e)(t,G,k.onContentChange),N=(0,o.useRef)(0),B=(0,o.useRef)(""),H=(0,o.useRef)(0),Y=(0,o.useRef)(null),j=(0,o.useRef)("right"),q=(0,o.useRef)(0),J=T?C.Z:o.Fragment,Q=T?{as:M.g7,allowPinchZoom:!0}:void 0,$=e=>{var t,n;let r=B.current+e,o=S().filter(e=>!e.disabled),u=document.activeElement,a=null===(t=o.find(e=>e.ref.current===u))||void 0===t?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,u=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(u=u.filter(e=>e!==n));let a=u.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),c=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(t){B.current=t,window.clearTimeout(N.current),""!==t&&(N.current=window.setTimeout(()=>e(""),1e3))}(r),c&&setTimeout(()=>c.focus())};(0,o.useEffect)(()=>()=>window.clearTimeout(N.current),[]),(0,p.EW)();let ee=(0,o.useCallback)(e=>{var t,n,r;return j.current===(null===(t=Y.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=Y.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,u=t.length-1;e<t.length;u=e++){let a=t[e].x,l=t[e].y,c=t[u].x,i=t[u].y;l>r!=i>r&&n<(c-a)*(r-l)/(i-l)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,o.createElement)(X,{scope:n,searchRef:B,onItemEnter:(0,o.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:(0,o.useCallback)(e=>{var t;ee(e)||(null===(t=G.current)||void 0===t||t.focus(),V(null))},[ee]),onTriggerLeave:(0,o.useCallback)(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:H,onPointerGraceIntentChange:(0,o.useCallback)(e=>{Y.current=e},[])},(0,o.createElement)(J,Q,(0,o.createElement)(m.M,{asChild:!0,trapped:c,onMountAutoFocus:(0,u.M)(i,e=>{var t;e.preventDefault(),null===(t=G.current)||void 0===t||t.focus()}),onUnmountAutoFocus:d},(0,o.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:_,onInteractOutside:b,onDismiss:R},(0,o.createElement)(h.fC,(0,r.Z)({asChild:!0},O,{dir:F.dir,orientation:"vertical",loop:l,currentTabStopId:A,onCurrentTabStopIdChange:V,onEntryFocus:(0,u.M)(v,e=>{F.isUsingKeyboardRef.current||e.preventDefault()})}),(0,o.createElement)(g.VY,(0,r.Z)({role:"menu","aria-orientation":"vertical","data-state":eM(k.open
1),"data-radix-menu-content":"",dir:F.dir},x,I,{ref:U,style:{outline:"none",...I.style},onKeyDown:(0,u.M)(I.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&$(e.key));let o=G.current;if(e.target!==o||!D.includes(e.key))return;e.preventDefault();let u=S().filter(e=>!e.disabled).map(e=>e.ref.current);y.includes(e.key)&&u.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(u)}),onBlur:(0,u.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(N.current),B.current="")}),onPointerMove:(0,u.M)(e.onPointerMove,eC(e=>{let t=e.target,n=q.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>q.current?"right":"left";j.current=t,q.current=e.clientX}}))})))))))}),Q=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...u}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({role:"group"},u,{ref:t}))}),$=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...u}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({},u,{ref:t}))}),ee="MenuItem",et="menu.itemSelect",en=(0,o.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:l,...c}=e,d=(0,o.useRef)(null),s=W(ee,e.__scopeMenu),f=H(ee,e.__scopeMenu),p=(0,a.e)(t,d),m=(0,o.useRef)(!1);return(0,o.createElement)(er,(0,r.Z)({},c,{ref:p,disabled:n,onClick:(0,u.M)(e.onClick,()=>{let e=d.current;if(!n&&e){let t=new CustomEvent(et,{bubbles:!0,cancelable:!0});e.addEventListener(et,e=>null==l?void 0:l(e),{once:!0}),(0,i.jH)(e,t),t.defaultPrevented?m.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),m.current=!0},onPointerUp:(0,u.M)(e.onPointerUp,e=>{var t;m.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,u.M)(e.onKeyDown,e=>{let t=""!==f.searchRef.current;!n&&(!t||" "!==e.key)&&R.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),er=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:l=!1,textValue:c,...d}=e,s=H(ee,n),f=L(n),p=(0,o.useRef)(null),m=(0,a.e)(t,p),[v,g]=(0,o.useState)(!1),[w,E]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=p.current;if(e){var t;E((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[d.children]),(0,o.createElement)(F.ItemSlot,{scope:n,disabled:l,textValue:null!=c?c:w},(0,o.createElement)(h.ck,(0,r.Z)({asChild:!0},f,{focusable:!l}),(0,o.createElement)(i.WV.div,(0,r.Z)({role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0},d,{ref:m,onPointerMove:(0,u.M)(e.onPointerMove,eC(e=>{l?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,u.M)(e.onPointerLeave,eC(e=>s.onItemLeave(e))),onFocus:(0,u.M)(e.onFocus,()=>g(!0)),onBlur:(0,u.M)(e.onBlur,()=>g(!1))}))))}),eo=(0,o.forwardRef)((e,t)=>{let{checked:n=!1,onCheckedChange:a,...l}=e;return(0,o.createElement)(ed,{scope:e.__scopeMenu,checked:n},(0,o.createElement)(en,(0,r.Z)({role:"menuitemcheckbox","aria-checked":e_(n)?"mixed":n},l,{ref:t,"data-state":eb(n),onSelect:(0,u.M)(l.onSelect,()=>null==a?void 0:a(!!e_(n)||!n),{checkForDefaultPrevented:!1})})))}),[eu,ea]=O("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),el=(0,o.forwardRef)((e,t)=>{let{value:n,onValueChange:u,...a}=e,l=(0,_.W)(u);return(0,o.createElement)(eu,{scope:e.__scopeMenu,value:n,onValueChange:l},(0,o.createElement)(Q,(0,r.Z)({},a,{ref:t})))}),ec=(0,o.forwardRef)((e,t)=>{let{value:n,...a}=e,l=ea("MenuRadioItem",e.__scopeMenu),c=n===l.value;return(0,o.createElement)(ed,{scope:e.__scopeMenu,checked:c},(0,o.createElement)(en,(0,r.Z)({role:"menuitemradio","aria-checked":c},a,{ref:t,"data-state":eb(c),onSelect:(0,u.M)(a.onSelect,()=>{var e;return null===(e=l.onValueChange)||void 0===e?void 0:e.call(l,n)},{checkForDefaultPrevented:!1})})))}),ei="MenuItemIndicator",[ed,es]=O(ei,{checked:!1}),ef=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,forceMount:u,...a}=e,l=es(ei,n);return(0,o.createElement)(E.z,{present:u||e_(l.checked)||!0===l.checked},(0,o.createElement)(i.WV.span,(0,r.Z)({},a,{ref:t,"data-state":eb(l.checked)})))}),ep=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...u}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({role:"separator","aria-orientation":"horizontal"},u,{ref:t}))}),em=((e,t)=>{let{__scopeMenu:n,...u}=e,a=Z(n);return(0,o.createElement)(g.Eh,(0,r.Z)({},a,u,{ref:t}))},"MenuSub"),[ev,eg]=O(em),ew="MenuSubTrigger",eE=(0,o.forwardRef)((e,t)=>{let n=K(ew,e.__scopeMenu),l=W(ew,e.__scopeMenu),c=eg(ew,e.__scopeMenu),i=H(ew,e.__scopeMenu),d=(0,o.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=i,p={__scopeMenu:e.__scopeMenu},m=(0,o.useCallback)(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return(0,o.useEffect)(()=>m,[m]),(0,o.useEffect)(()=>{let e=s.current;return()=>{window.clearTimeout(e),f(null)}},[s,f]),(0,o.createElement)(G,(0,r.Z)({asChild:!0},p),(0,o.createElement)(er,(0,r.Z)({id:c.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":c.contentId,"data-state":eM(n.open)},e,{ref:(0,a.F)(t,c.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focu
1s(),n.open||n.onOpenChange(!0))},onPointerMove:(0,u.M)(e.onPointerMove,eC(t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||d.current||(i.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100))})),onPointerLeave:(0,u.M)(e.onPointerLeave,eC(e=>{var t,r;m();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,u="right"===t,a=o[u?"left":"right"],l=o[u?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(u?-5:5),y:e.clientY},{x:a,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:a,y:o.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,u.M)(e.onKeyDown,t=>{let r=""!==i.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&T[l.dir].includes(t.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),t.preventDefault()}})})))}),eh=(0,o.forwardRef)((e,t)=>{let n=B(z,e.__scopeMenu),{forceMount:l=n.forceMount,...c}=e,i=K(z,e.__scopeMenu),d=W(z,e.__scopeMenu),s=eg("MenuSubContent",e.__scopeMenu),f=(0,o.useRef)(null),p=(0,a.e)(t,f);return(0,o.createElement)(F.Provider,{scope:e.__scopeMenu},(0,o.createElement)(E.z,{present:l||i.open},(0,o.createElement)(F.Slot,{scope:e.__scopeMenu},(0,o.createElement)(J,(0,r.Z)({id:s.contentId,"aria-labelledby":s.triggerId},c,{ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;d.isUsingKeyboardRef.current&&(null===(t=f.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,u.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,u.M)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,u.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=I[d.dir].includes(e.key);if(t&&n){var r;i.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))});function eM(e){return e?"open":"closed"}function e_(e){return"indeterminate"===e}function eb(e){return e_(e)?"indeterminate":e?"checked":"unchecked"}function eC(e){return t=>"mouse"===t.pointerType?e(t):void 0}let eR=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:u,onOpenChange:a,modal:l=!0}=e,c=Z(t),[i,d]=(0,o.useState)(null),f=(0,o.useRef)(!1),p=(0,_.W)(a),m=(0,s.gm)(u);return(0,o.useEffect)(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,o.createElement)(g.fC,c,(0,o.createElement)(A,{scope:t,open:n,onOpenChange:p,content:i,onContentChange:d},(0,o.createElement)(V,{scope:t,onClose:(0,o.useCallback)(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:l},r)))},ey=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:u}=e,a=K(U,t);return(0,o.createElement)(N,{scope:t,forceMount:n},(0,o.createElement)(E.z,{present:n||a.open},(0,o.createElement)(w.h,{asChild:!0,container:u},r)))},eD=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:u}=e,a=K(em,t),l=Z(t),[c,i]=(0,o.useState)(null),[d,s]=(0,o.useState)(null),f=(0,_.W)(u);return(0,o.useEffect)(()=>(!1===a.open&&f(!1),()=>f(!1)),[a.open,f]),(0,o.createElement)(g.fC,l,(0,o.createElement)(A,{scope:t,open:r,onOpenChange:f,content:d,onContentChange:s},(0,o.createElement)(ev,{scope:t,contentId:(0,v.M)(),triggerId:(0,v.M)(),trigger:c,onTriggerChange:i},n)))},eT="DropdownMenu",[eI,ek]=(0,l.b)(eT,[S]),eF=S(),[eP,ex]=eI(eT),eO=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:l=!1,...c}=e,d=ex("DropdownMenuTrigger",n),s=eF(n);return(0,o.createElement)(G,(0,r.Z)({asChild:!0},s),(0,o.createElement)(i.WV.button,(0,r.Z)({type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":l?"":void 0,disabled:l},c,{ref:(0,a.F)(t,d.triggerRef),onPointerDown:(0,u.M)(e.onPointerDown,e=>{l||0!==e.button||!1!==e.ctrlKey||(d.onOpenToggle(),d.open||e.preventDefault())}),onKeyDown:(0,u.M)(e.onKeyDown,e=>
1{!l&&(["Enter"," "].includes(e.key)&&d.onOpenToggle(),"ArrowDown"===e.key&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),eS=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,l=ex("DropdownMenuContent",n),c=eF(n),i=(0,o.useRef)(!1);return(0,o.createElement)(Y,(0,r.Z)({id:l.contentId,"aria-labelledby":l.triggerId},c,a,{ref:t,onCloseAutoFocus:(0,u.M)(e.onCloseAutoFocus,e=>{var t;i.current||null===(t=l.triggerRef.current)||void 0===t||t.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,u.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!l.modal||r)&&(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)"}}))}),eZ=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(Q,(0,r.Z)({},a,u,{ref:t}))}),eL=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)($,(0,r.Z)({},a,u,{ref:t}))}),eA=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(en,(0,r.Z)({},a,u,{ref:t}))}),eK=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(eo,(0,r.Z)({},a,u,{ref:t}))}),eV=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(el,(0,r.Z)({},a,u,{ref:t}))}),eW=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(ec,(0,r.Z)({},a,u,{ref:t}))}),eG=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(ef,(0,r.Z)({},a,u,{ref:t}))}),eU=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(ep,(0,r.Z)({},a,u,{ref:t}))}),eN=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(eE,(0,r.Z)({},a,u,{ref:t}))}),eB=(0,o.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...u}=e,a=eF(n);return(0,o.createElement)(eh,(0,r.Z)({},a,u,{ref:t,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)"}}))}),ez=e=>{let{__scopeDropdownMenu:t,children:n,dir:u,open:a,defaultOpen:l,onOpenChange:i,modal:d=!0}=e,s=eF(t),f=(0,o.useRef)(null),[p=!1,m]=(0,c.T)({prop:a,defaultProp:l,onChange:i});return(0,o.createElement)(eP,{scope:t,triggerId:(0,v.M)(),triggerRef:f,contentId:(0,v.M)(),open:p,onOpenChange:m,onOpenToggle:(0,o.useCallback)(()=>m(e=>!e),[m]),modal:d},(0,o.createElement)(eR,(0,r.Z)({},s,{open:p,onOpenChange:m,dir:u,modal:d}),n))},eX=eO,eH=e=>{let{__scopeDropdownMenu:t,...n}=e,u=eF(t);return(0,o.createElement)(ey,(0,r.Z)({},u,n))},eY=eS,ej=eZ,eq=eL,eJ=eA,eQ=eK,e$=eV,e0=eW,e1=eG,e7=eU,e4=e=>{let{__scopeDropdownMenu:t,children:n,open:u,onOpenChange:a,defaultOpen:l}=e,i=eF(t),[d=!1,s]=(0,c.T)({prop:u,defaultProp:l,onChange:a});return(0,o.createElement)(eD,(0,r.Z)({},i,{open:d,onOpenChange:s}),n)},e2=eN,e8=eB},42142:function(e,t,n){let r;n.d(t,{M:function(){return f}});var o=n(17610),u=n(7653),a=n(94492),l=n(78378),c=n(523);let i="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},f=(0,u.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:w,...E}=e,[h,M]=(0,u.useState)(null),_=(0,c.W)(f),b=(0,c.W)(w),C=(0,u.useRef)(null),R=(0,a.e)(t,e=>M(e)),y=(0,u.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,u.useEffect)(()=>
1{if(r){function e(e){if(y.paused||!h)return;let t=e.target;h.contains(t)?C.current=t:v(C.current,{select:!0})}function t(e){if(y.paused||!h)return;let t=e.relatedTarget;null===t||h.contains(t)||v(C.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(h)});return h&&n.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,h,y.paused]),(0,u.useEffect)(()=>{if(h){g.add(y);let e=document.activeElement;if(!h.contains(e)){let t=new CustomEvent(i,s);h.addEventListener(i,_),h.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(v(r,{select:t}),document.activeElement!==n)return}(p(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(h))}return()=>{h.removeEventListener(i,_),setTimeout(()=>{let t=new CustomEvent(d,s);h.addEventListener(d,b),h.dispatchEvent(t),t.defaultPrevented||v(null!=e?e:document.body,{select:!0}),h.removeEventListener(d,b),g.remove(y)},0)}}},[h,_,b,y]);let D=(0,u.useCallback)(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,u]=function(e){let t=p(e);return[m(t,e),m(t.reverse(),e)]}(t);r&&u?e.shiftKey||o!==u?e.shiftKey&&o===r&&(e.preventDefault(),n&&v(u,{select:!0})):(e.preventDefault(),n&&v(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,u.createElement)(l.WV.div,(0,o.Z)({tabIndex:-1},E,{ref:R,onKeyDown:D}))});function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function m(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function v(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let g=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=w(r,e)).unshift(e)},remove(e){var t;null===(t=(r=w(r,e))[0])||void 0===t||t.resume()}});function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},48684:function(e,t,n){n.d(t,{Pc:function(){return _},ck:function(){return F},fC:function(){return k}});var r=n(17610),o=n(7653),u=n(46196),a=n(28787),l=n(94492),c=n(99933),i=n(17321),d=n(78378),s=n(523),f=n(47178),p=n(21004);let m="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[w,E,h]=(0,a.B)(g),[M,_]=(0,c.b)(g,[h]),[b,C]=M(g),R=(0,o.forwardRef)((e,t)=>(0,o.createElement)(w.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(w.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(y,(0,r.Z)({},e,{ref:t}))))),y=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:c=!1,dir:i,currentTabStopId:g,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:h,onEntryFocus:M,..._}=e,C=(0,o.useRef)(null),R=(0,l.e)(t,C),y=(0,p.gm)(i),[D=null,T]=(0,f.T)({prop:g,defaultProp:w,onChange:h}),[k,F]=(0,o.useState)(!1),P=(0,s.W)(M),x=E(n),O=(0,o.useRef)(!1),[S,Z]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=C.current;if(e)return e.addEventListener(m,P),()=>e.removeEventListener(m,P)},[P]),(0,o.createElement)(b,{scope:n,orientation:a,dir:y,loop:c,currentTabStopId:D,onItemFocus:(0,o.useCallback)(e=>T(e),[T]),onItemShiftTab:(0,o.useCallback)(()=>F(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>Z(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>Z(e=>e-1),[])},(0,o.createElement)(d.WV.div,(0,r.Z)({tabIndex:k||0===S?-1:0,"data-orientation":a},_,{ref:R,style:{outline:"none",...e.style},onMouseDown:(0,u.M)(e.onMouseDown,()=>{O.current=!0}),onFocus:(0,u.M)(e.onFocus,e=>{let t=!O.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(m,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=x().filter(e=>
1e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current))}}O.current=!1}),onBlur:(0,u.M)(e.onBlur,()=>F(!1))})))}),D=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:c,...s}=e,f=(0,i.M)(),p=c||f,m=C("RovingFocusGroupItem",n),v=m.currentTabStopId===p,g=E(n),{onFocusableItemAdd:h,onFocusableItemRemove:M}=m;return(0,o.useEffect)(()=>{if(a)return h(),()=>M()},[a,h,M]),(0,o.createElement)(w.ItemSlot,{scope:n,id:p,focusable:a,active:l},(0,o.createElement)(d.WV.span,(0,r.Z)({tabIndex:v?0:-1,"data-orientation":m.orientation},s,{ref:t,onMouseDown:(0,u.M)(e.onMouseDown,e=>{a?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,u.M)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,u.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return T[o]}(e,m.orientation,m.dir);if(void 0!==t){e.preventDefault();let o=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let u=o.indexOf(e.currentTarget);o=m.loop?(n=o,r=u+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(u+1)}setTimeout(()=>I(o))}})})))}),T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let k=R,F=D}}]);
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.