1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7295],{27937:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(5121).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},60186:(e,t,r)=>{r.d(t,{H_:()=>tp,UC:()=>ts,YJ:()=>tc,q7:()=>tf,VF:()=>tm,JU:()=>td,ZL:()=>tu,z6:()=>th,hN:()=>tv,bL:()=>ti,wv:()=>tg,Pb:()=>tw,G5:()=>tx,ZP:()=>ty,l9:()=>ta});var n=r(12115),o=r(92556),l=r(94446),i=r(3468),a=r(23558),u=r(88142),s=r(79118),c=r(66218),d=r(44831),f=r(19526),p=r(69666),h=r(68946),v=r(73867),m=r(75433),g=r(76842),w=r(70222),y=r(95155),x="rovingFocusGroup.onEntryFocus",R={bubbles:!1,cancelable:!0},C="RovingFocusGroup",[b,j,M]=(0,s.N)(C),[D,k]=(0,i.A)(C,[M]),[_,A]=D(C),E=n.forwardRef((e,t)=>(0,y.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,y.jsx)(I,{...e,ref:t})})}));E.displayName=C;var I=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:i,loop:s=!1,dir:d,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:v,preventScrollOnEntryFocus:m=!1,...g}=e,b=n.useRef(null),M=(0,l.s)(t,b),D=(0,c.jH)(d),[k,A]=(0,a.i)({prop:f,defaultProp:null!=p?p:null,onChange:h,caller:C}),[E,I]=n.useState(!1),K=(0,w.c)(v),O=j(r),P=n.useRef(!1),[N,T]=n.useState(0);return n.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(x,K),()=>e.removeEventListener(x,K)},[K]),(0,y.jsx)(_,{scope:r,orientation:i,dir:D,loop:s,currentTabStopId:k,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>I(!0),[]),onFocusableItemAdd:n.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>T(e=>e-1),[]),children:(0,y.jsx)(u.sG.div,{tabIndex:E||0===N?-1:0,"data-orientation":i,...g,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(x,R);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===k),...e].filter(Boolean).map(e=>e.ref.current),m)}}P.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>I(!1))})})}),K="RovingFocusGroupItem",O=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:i=!1,tabStopId:a,children:s,...c}=e,d=(0,h.B)(),f=a||d,p=A(K,r),v=p.currentTabStopId===f,m=j(r),{onFocusableItemAdd:g,onFocusableItemRemove:w,currentTabStopId:x}=p;return n.useEffect(()=>{if(l)return g(),()=>w()},[l,g,w]),(0,y.jsx)(b.ItemSlot,{scope:r,id:f,focusable:l,active:i,children:(0,y.jsx)(u.sG.span,{tabIndex:v?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{l?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return P[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>S(r))}}),children:"function"==typeof s?s({isCurrentTabStop:v,hasTabStop:null!=x}):s})})});O.displayName=K;var P={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var N=Symbol("radix.slottable");function T(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===N}var F=r(97745),L=r(40101),G=["Enter"," "],z=["ArrowUp","PageDown","End"],B=["ArrowDown","PageUp","Home",...z],V={ltr:[...G,"ArrowRight"],rtl:[...G,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},W="Menu",[Z,q,H]=(0,s.N)(W),[X,$]=(0,i.A)(W,[H,v.Bk,k]),Y=(0,v.Bk)(),J=k(),[Q,ee]=X(W),[et,er]=X(W),en=e=>{let{__scopeMenu:t,open:r=!1,children:o,dir:l,onOpenChange:i,modal:
1a=!0}=e,u=Y(t),[s,d]=n.useState(null),f=n.useRef(!1),p=(0,w.c)(i),h=(0,c.jH)(l);return n.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,y.jsx)(v.bL,{...u,children:(0,y.jsx)(Q,{scope:t,open:r,onOpenChange:p,content:s,onContentChange:d,children:(0,y.jsx)(et,{scope:t,onClose:n.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:a,children:o})})})};en.displayName=W;var eo=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Y(r);return(0,y.jsx)(v.Mz,{...o,...n,ref:t})});eo.displayName="MenuAnchor";var el="MenuPortal",[ei,ea]=X(el,{forceMount:void 0}),eu=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,l=ee(el,t);return(0,y.jsx)(ei,{scope:t,forceMount:r,children:(0,y.jsx)(g.C,{present:r||l.open,children:(0,y.jsx)(m.Z,{asChild:!0,container:o,children:n})})})};eu.displayName=el;var es="MenuContent",[ec,ed]=X(es),ef=n.forwardRef((e,t)=>{let r=ea(es,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,l=ee(es,e.__scopeMenu),i=er(es,e.__scopeMenu);return(0,y.jsx)(Z.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(g.C,{present:n||l.open,children:(0,y.jsx)(Z.Slot,{scope:e.__scopeMenu,children:i.modal?(0,y.jsx)(ep,{...o,ref:t}):(0,y.jsx)(eh,{...o,ref:t})})})})}),ep=n.forwardRef((e,t)=>{let r=ee(es,e.__scopeMenu),i=n.useRef(null),a=(0,l.s)(t,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,F.Eq)(e)},[]),(0,y.jsx)(em,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),eh=n.forwardRef((e,t)=>{let r=ee(es,e.__scopeMenu);return(0,y.jsx)(em,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),ev=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var i;let e,a,u=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(s.ref=t?(0,l.t)(t,u):u),n.cloneElement(r,s)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...l}=e,i=n.Children.toArray(o),a=i.find(T);if(a){let e=a.props.children,o=i.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,y.jsx)(t,{...l,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}("MenuContent.ScrollLock"),em=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:i=!1,trapFocus:a,onOpenAutoFocus:u,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:x,onDismiss:R,disableOutsideScroll:C,...b}=e,j=ee(es,r),M=er(es,r),D=Y(r),k=J(r),_=q(r),[A,I]=n.useState(null),K=n.useRef(null),O=(0,l.s)(t,K,j.onContentChange),P=n.useRef(0),S=n.useRef(""),N=n.useRef(0),T=n.useRef(null),F=n.useRef("right"),G=n.useRef(0),V=C?L.A:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(P.current),[]),(0,f.Oh)();let U=n.useCallback(e=>{var t,r;return F.current===(null==(t=T.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,l=t.length-1;e<t.length;l=e++){let i=t[e],a=t[l],u=i.x,s=i.y,c=a.x,d=a.y;s>n!=d>n&&r<(c-u)*(n-s)/(d-s)+u&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(r=T.current)?void 0:r.area)},[]);return(0,y.jsx)(ec,{scope:r,searchRef:S,onItemEnter:n.useCallback(e=>{U(e)&&e.preventDefault()},[U]),onItemLeave:n.useCallback(e=>{var t;
1U(e)||(null==(t=K.current)||t.focus(),I(null))},[U]),onTriggerLeave:n.useCallback(e=>{U(e)&&e.preventDefault()},[U]),pointerGraceTimerRef:N,onPointerGraceIntentChange:n.useCallback(e=>{T.current=e},[]),children:(0,y.jsx)(V,{...C?{as:ev,allowPinchZoom:!0}:void 0,children:(0,y.jsx)(p.n,{asChild:!0,trapped:a,onMountAutoFocus:(0,o.mK)(u,e=>{var t;e.preventDefault(),null==(t=K.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,y.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:w,onInteractOutside:x,onDismiss:R,children:(0,y.jsx)(E,{asChild:!0,...k,dir:M.dir,orientation:"vertical",loop:i,currentTabStopId:A,onCurrentTabStopIdChange:I,onEntryFocus:(0,o.mK)(h,e=>{M.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,y.jsx)(v.UC,{role:"menu","aria-orientation":"vertical","data-state":eU(j.open),"data-radix-menu-content":"",dir:M.dir,...D,...b,ref:O,style:{outline:"none",...b.style},onKeyDown:(0,o.mK)(b.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&(e=>{var t,r;let n=S.current+e,o=_().filter(e=>!e.disabled),l=document.activeElement,i=null==(t=o.find(e=>e.ref.current===l))?void 0:t.textValue,a=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=r?e.indexOf(r):-1,i=(n=Math.max(l,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(i=i.filter(e=>e!==r));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}(o.map(e=>e.textValue),n,i),u=null==(r=o.find(e=>e.textValue===a))?void 0:r.ref.current;!function e(t){S.current=t,window.clearTimeout(P.current),""!==t&&(P.current=window.setTimeout(()=>e(""),1e3))}(n),u&&setTimeout(()=>u.focus())})(e.key));let o=K.current;if(e.target!==o||!B.includes(e.key))return;e.preventDefault();let l=_().filter(e=>!e.disabled).map(e=>e.ref.current);z.includes(e.key)&&l.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(l)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(P.current),S.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eq(e=>{let t=e.target,r=G.current!==e.clientX;e.currentTarget.contains(t)&&r&&(F.current=e.clientX>G.current?"right":"left",G.current=e.clientX)}))})})})})})})});ef.displayName=es;var eg=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(u.sG.div,{role:"group",...n,ref:t})});eg.displayName="MenuGroup";var ew=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(u.sG.div,{...n,ref:t})});ew.displayName="MenuLabel";var ey="MenuItem",ex="menu.itemSelect",eR=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:i,...a}=e,s=n.useRef(null),c=er(ey,e.__scopeMenu),d=ed(ey,e.__scopeMenu),f=(0,l.s)(t,s),p=n.useRef(!1);return(0,y.jsx)(eC,{...a,ref:f,disabled:r,onClick:(0,o.mK)(e.onClick,()=>{let e=s.current;if(!r&&e){let t=new CustomEvent(ex,{bubbles:!0,cancelable:!0});e.addEventListener(ex,e=>null==i?void 0:i(e),{once:!0}),(0,u.hO)(e,t),t.defaultPrevented?p.current=!1:c.onClose()}}),onPointerDown:t=>{var r;null==(r=e.onPointerDown)||r.call(e,t),p.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{var t;p.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;r||t&&" "===e.key||G.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eR.displayName=ey;var eC=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:i=!1,textValue:a,...s}=e,c=ed(ey,r),d=J(r),f=n.useRef(null),p=(0,l.s)(t,f),[h,v]=n.useState(!1),[m,g]=n.useState("");return n.useEffect(()=>{let e=f.current;if(e){var t;g((null!=(t=e.textContent)?t:"").trim())}},[s.children]),(0,y.jsx)(Z.ItemSlot,{scope:r,disabled:i,textValue:null!=a?a:m,children:(0,y.jsx)(O,{asChild:!0,...d,focusable:!i,children:(0,y.jsx)(u.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...s,ref:p,onPointerMove:(0,o.mK)(e.onPointerMove,eq(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eq(e=>c.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>v(!0)),onBlur:(0,o.mK)(e.onBlur,()=>v(!1))})})})}),eb=n.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...l}=e;return(0,y.jsx)(eI,{scope:e.__scopeMenu,checked:r,children:(0,y.jsx)(eR,{role:"menuitemcheckbox","aria-checked":eW(r)?"mixed":r,...l,ref:t,"data-state":eZ(r),onSelect:(0,o.mK)(l.onSelect,()=>null==n?void 0:n(!!eW(r)||!r),{checkForDefaultPrevented:!1})})})});eb.displayName="MenuCheckboxItem";var ej="MenuRadioGroup",[eM,eD]=X(ej,{value:void 0,onValueChange:()=>{}}),ek=n.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,l=(0,w.c)(n);return(0,y.jsx)(eM,{scope:e.__scopeMenu,value:r,onValueChange:l,children:(0,y.jsx)(eg,{...o,ref:t})})});ek.displayName=ej;var e_="MenuRadioItem",eA=n.forwardRef((e,t)=>{let{value:r,...n}=e,l=eD(e_,e.__scopeMenu),i=r===l.value;return(0,y.jsx)(eI,{scope:e.__scopeMenu,checked:i,children:(0,y.jsx)(eR,{role:"menuitemradio","aria-checked":i,...n,ref:t,"data-state":eZ(i),onSelect:(0,o.mK)(n.onSelect,()=>{var e;return null==(e=l.onValueChange)?void 0:e.call(l,r)},{checkForDefaultPrevented:!1})})})});eA.displayName=e_;var eE="MenuItemIndicator",[eI,eK]=X(eE,{checked:!1}),eO=n.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,l=eK(eE,r);return(0,y.jsx)(g.C,{present:n||eW(l.checked)||!0===l.checked,children:(0,y.jsx)(u.sG.span,{...o,ref:t,"data-state":eZ(l.checked)})})});eO.displayName=eE;var eP=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,y.jsx)(u.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});eP.displayName="MenuSeparator";var eS=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=Y(r);return(0,y.jsx)(v.i3,{...o,...n,ref:t})});eS.displayName="MenuArrow";var eN="MenuSub",[eT,eF]=X(eN),eL=e=>{let{__scopeMenu:t,children:r,open:o=!1,onOpenChange:l}=e,i=ee(eN,t),a=Y(t),[u,s]=n.useState(null),[c,d]=n.useState(null),f=(0,w.c)(l);return n.useEffect(()=>(!1===i.open&&f(!1),()=>f(!1)),[i.open,f]),(0,y.jsx)(v.bL,{...a,children:(0,y.jsx)(Q,{scope:t,open:o,onOpenChange:f,content:c,onContentChange:d,children:(0,y.jsx)(eT,{scope:t,contentId:(0,h.B)(),triggerId:(0,h.B)(),trigger:u,onTriggerChange:s,children:r})})})};eL.displayName=eN;var eG="MenuSubTrigger",ez=n.forwardRef((e,t)=>{let r=ee(eG,e.__scopeMenu),i=er(eG,e.__scopeMenu),a=eF(eG,e.__scopeMenu),u=ed(eG,e.__scopeMenu),s=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=u,f={__scopeMenu:e.__scopeMenu},p=n.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return n.useEffect(()=>p,[p]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,y.jsx)(eo,{asChild:!0,...f,children:(0,y.jsx)(eC,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":a.contentId,"data-state":eU(r.open),...e,ref:(0,l.t)(t,a.onTriggerChange),onClick:t=>{var n;null==(n=e.onClick)||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eq(t=>{u.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||s.current||(u.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eq(e=>{var t,n;p();let o=null==(t=r.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(n=r.content)?void 0:n.dataset.side,l="right"===t,i=o[l?"left":"right"],a=o[l?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(l?-5:5),y:e.clientY},{x:i,y:o.top},{x:a,y:o.top},{x:a,y:o.bottom},{x:i,y:o.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{let n=""!==u.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&V[i.dir].includes(t.key)){var o;r.onOpenChange(!0),null==(o=r.content)||o.focus(),t.preventDefault()}})})})});ez.displayName=eG;var eB="MenuSubContent",eV=n.forwardRef((e,t)=>
1{let r=ea(es,e.__scopeMenu),{forceMount:i=r.forceMount,...a}=e,u=ee(es,e.__scopeMenu),s=er(es,e.__scopeMenu),c=eF(eB,e.__scopeMenu),d=n.useRef(null),f=(0,l.s)(t,d);return(0,y.jsx)(Z.Provider,{scope:e.__scopeMenu,children:(0,y.jsx)(g.C,{present:i||u.open,children:(0,y.jsx)(Z.Slot,{scope:e.__scopeMenu,children:(0,y.jsx)(em,{id:c.contentId,"aria-labelledby":c.triggerId,...a,ref:f,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null==(t=d.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==c.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=U[s.dir].includes(e.key);if(t&&r){var n;u.onOpenChange(!1),null==(n=c.trigger)||n.focus(),e.preventDefault()}})})})})})});function eU(e){return e?"open":"closed"}function eW(e){return"indeterminate"===e}function eZ(e){return eW(e)?"indeterminate":e?"checked":"unchecked"}function eq(e){return t=>"mouse"===t.pointerType?e(t):void 0}eV.displayName=eB;var eH="DropdownMenu",[eX,e$]=(0,i.A)(eH,[$]),eY=$(),[eJ,eQ]=eX(eH),e0=e=>{let{__scopeDropdownMenu:t,children:r,dir:o,open:l,defaultOpen:i,onOpenChange:u,modal:s=!0}=e,c=eY(t),d=n.useRef(null),[f,p]=(0,a.i)({prop:l,defaultProp:null!=i&&i,onChange:u,caller:eH});return(0,y.jsx)(eJ,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:s,children:(0,y.jsx)(en,{...c,open:f,onOpenChange:p,dir:o,modal:s,children:r})})};e0.displayName=eH;var e1="DropdownMenuTrigger",e5=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,a=eQ(e1,r),s=eY(r);return(0,y.jsx)(eo,{asChild:!0,...s,children:(0,y.jsx)(u.sG.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,l.t)(t,a.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&a.onOpenToggle(),"ArrowDown"===e.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e5.displayName=e1;var e6=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eY(t);return(0,y.jsx)(eu,{...n,...r})};e6.displayName="DropdownMenuPortal";var e2="DropdownMenuContent",e9=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...l}=e,i=eQ(e2,r),a=eY(r),u=n.useRef(!1);return(0,y.jsx)(ef,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...l,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;u.current||null==(t=i.triggerRef.current)||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!i.modal||n)&&(u.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)"}})});e9.displayName=e2;var e4=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eg,{...o,...n,ref:t})});e4.displayName="DropdownMenuGroup";var e8=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(ew,{...o,...n,ref:t})});e8.displayName="DropdownMenuLabel";var e7=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eR,{...o,...n,ref:t})});e7.displayName="DropdownMenuItem";var e3=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eb,{...o,...n,ref:t})});e3.displayName="DropdownMenuCheckboxItem";var te=n.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(ek,{...o,...n,ref:t})});te.displayName="DropdownMenuRadioGroup";var tt=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eA,{...o,...n,ref:t})});tt.displayName="DropdownMenuRadioItem";var tr=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eO,{...o,...n,ref:t})});tr.displayName="DropdownMenuItemIndicator";var tn=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eP,{...o,...n,ref:t})});tn.displayName="DropdownMenuSeparator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eS,{...o,...n,ref:t})}).displayName="DropdownMenuArrow";var to=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(ez,{...o,...n,ref:t})});to.displayName="DropdownMenuSubTrigger";var tl=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eY(r);return(0,y.jsx)(eV,{...o,...n,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)"}})});tl.displayName="DropdownMenuSubContent";var ti=e0,ta=e5,tu=e6,ts=e9,tc=e4,td=e8,tf=e7,tp=e3,th=te,tv=tt,tm=tr,tg=tn,tw=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:l}=e,i=eY(t),[u,s]=(0,a.i)({prop:n,defaultProp:null!=l&&l,onChange:o,caller:"DropdownMenuSub"});return(0,y.jsx)(eL,{...i,open:u,onOpenChange:s,children:r})},ty=to,tx=tl},78108:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(12115);function o(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])}},79118:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function o(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function l(e,t,r){var o=n(e,t,"set");if(o.set)o.set.call(e,r);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=r}return r}r.d(t,{N:()=>h});var i,a=r(12115),u=r(3468),s=r(94446),c=r(95155);function d(e){let t=function(e){let t=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(a.isValidElement(r)){var o;let e,l,i=(o=r,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==a.Fragment&&(u.ref=t?(0,s.t)(t,i):i),a.cloneElement(r,u)}return a.Children.count(r)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=a.forwardRef((e,r)=>{let{children:n,...o}=e,l=a.Children.toArray(n),i=l.find(p);if(i){let e=i.props.children,n=l.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,c.jsx)(t,{...o,ref:r,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,c.jsx)(t,{...o,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var f=Symbol("radix.slottable");function p(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}function h(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[o,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{let{scope:t,children:r}=e,n=a.useRef(null),l=a.useRef(new Map).current;return(0,c.jsx)(o,{scope:t,itemMap:l,collectionRef:n,children:r})};i.displayName=t;let f=e+"CollectionSlot",p=d(f),h=a.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=l(f,r),i=(0,s.s)(t,o.collectionRef);return(0,c.jsx)(p,{ref:i,children:n})});h.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=d(v),w=a.forwardRef((e,t)=>
1{let{scope:r,children:n,...o}=e,i=a.useRef(null),u=(0,s.s)(t,i),d=l(v,r);return a.useEffect(()=>(d.itemMap.set(i,{ref:i,...o}),()=>void d.itemMap.delete(i))),(0,c.jsx)(g,{...{[m]:""},ref:u,children:n})});return w.displayName=v,[{Provider:i,Slot:h,ItemSlot:w},function(t){let r=l(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var v=new WeakMap;function m(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=g(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}(e,t);return -1===r?void 0:e[r]}function g(e){return e!=e||0===e?0:Math.trunc(e)}i=new WeakMap,class e extends Map{set(e,t){return v.get(this)&&(this.has(e)?o(this,i)[o(this,i).indexOf(e)]=e:o(this,i).push(e)),super.set(e,t),this}insert(e,t,r){let n,l=this.has(t),a=o(this,i).length,u=g(e),s=u>=0?u:a+u,c=s<0||s>=a?-1:s;if(c===this.size||l&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!l;u<0&&s++;let f=[...o(this,i)],p=!1;for(let e=s;e<d;e++)if(s===e){let o=f[e];f[e]===t&&(o=f[e+1]),l&&this.delete(t),n=this.get(o),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=o(this,i).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=o(this,i).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=o(this,i).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=o(this,i).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return l(this,i,[]),super.clear()}delete(e){let t=super.delete(e);return t&&o(this,i).splice(o(this,i).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=m(o(this,i),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m(o(this,i),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return o(this,i).indexOf(e)}keyAt(e){return m(o(this,i),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=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,o]=t,l=0,i=null!=o?o:this.at(0);for(let e of this)i=0===l&&1===t.length?e:Reflect.apply(n,this,[i,e,l,this]),l++;return i}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,o]=t,l=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);l=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[l,r,e,this])}return l}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(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let o=[...this.entries()];return o.splice(...r),new e(o)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;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}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,i,{writable:!0,value:void 0}),l(this,i,[...super.keys()]),v.set(this,!0)}}},99051:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(5121).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])}}]);
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.