1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9030],{64547:(e,r,t)=>{t.d(r,{UC:()=>rd,q7:()=>rf,JU:()=>rp,ZL:()=>rc,bL:()=>ru,wv:()=>rm,l9:()=>rs});var n=t(12115),o=t(70379),l=t(47527),a=t(95155),i=t(98979),u=t(47650),s=Symbol("radix.slottable");function c(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var t,o;let i,u,s,d=(o=t=`Primitive.${r}`,(i=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){var a;let e,i,u=(a=t,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={...r};for(let n in r){let o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...e)=>{let r=l(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...l}:"className"===n&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(s.ref=r?(0,l.t)(r,u):u),n.cloneElement(t,s)}return n.Children.count(t)>1?n.Children.only(null):null})).displayName=`${o}.SlotClone`,u=i,(s=n.forwardRef((e,r)=>{let{children:t,...o}=e,l=n.Children.toArray(t),i=l.find(c);if(i){let e=i.props.children,t=l.map(r=>r!==i?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(u,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,a.jsx)(u,{...o,ref:r,children:t})})).displayName=`${t}.Slot`,s),p=n.forwardRef((e,t)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(n?d:r,{...o,ref:t})});return p.displayName=`Primitive.${r}`,{...e,[r]:p}},{});function p(e){var r;let t,o=(r=e,(t=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){var a;let e,i,u=(a=t,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={...r};for(let n in r){let o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...e)=>{let r=l(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...l}:"className"===n&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(s.ref=r?(0,l.t)(r,u):u),n.cloneElement(t,s)}return n.Children.count(t)>1?n.Children.only(null):null})).displayName=`${r}.SlotClone`,t),i=n.forwardRef((e,r)=>{let{children:t,...l}=e,i=n.Children.toArray(t),u=i.find(m);if(u){let e=u.props.children,t=i.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(o,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,a.jsx)(o,{...l,ref:r,children:t})});return i.displayName=`${e}.Slot`,i}var f=Symbol("radix.slottable");function m(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}function v(e){let r=e+"CollectionProvider",[t,o]=function(e,r=[]){let t=[],o=()=>{let r=t.map(e=>n.createContext(e));return function(t){let o=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return o.scopeName=e,[function(r,o){let l=n.createContext(o),i=t.length;t=[...t,o];let u=r=>{let{scope:t,children:o,...u}=r,s=t?.[e]?.[i]||l,c=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:c,children:o})};return u.displayName=r+"Provider",[u,function(t,a){let u=a?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((r,{useScope:t,scopeName:n})=>{let o=t(e)[`__scope${n}`];return{...r,...o}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return t.scopeName=r.scopeName,t}(o,...r)]}(r),[i,u]=t(r,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:r,children:t}=e,o=n.useRef(null),l=n.useRef(new Map).current;return(0,a.jsx)(i,{scope:r,itemMap:l,collectionRef:o,children:t})};s.displayName=r;let c=e+"CollectionSlot",d=p(c),f=n.forwardRef((e,r)=>{let{scope:t,children:n}=e,o=u(c,t),i=(0,l.s)(r,o.collectionRef);return(0,a.jsx)(d,{ref:i,children:n})});f.displayName=c;let m=e+"CollectionItemSlot",v="data-radix-collection-item",h=p(m),w=n.forwardRef((e,r)=>{let{scope:t,children:o,...i}=e,s=n.useRef(null),c=(0,l.s)(r,s),d=u(m,t);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...i}),()=>void d.itemMap.delete(s))),(0,a.jsx)(h,{...{[v]:""},ref:c,children:o})});return w.displayName=m,[{Provider:s,Slot:f,ItemSlot:w},function(r){let t=u(e+"CollectionConsumer",r);return n.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll(`[${v}
1]`));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},o]}var h=n.createContext(void 0);function w(e){let r=n.useContext(h);return e||r||"ltr"}var g=t(73819),y=t(32007),x=t(25045),C=t(89971),b=t(23275),R=t(31246),j=t(83935);function _(e){var r;let t,o=(r=e,(t=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){var a;let e,i,u=(a=t,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={...r};for(let n in r){let o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...e)=>{let r=l(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...l}:"className"===n&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(s.ref=r?(0,l.t)(r,u):u),n.cloneElement(t,s)}return n.Children.count(t)>1?n.Children.only(null):null})).displayName=`${r}.SlotClone`,t),i=n.forwardRef((e,r)=>{let{children:t,...l}=e,i=n.Children.toArray(t),u=i.find(N);if(u){let e=u.props.children,t=i.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(o,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,a.jsx)(o,{...l,ref:r,children:t})});return i.displayName=`${e}.Slot`,i}var M=Symbol("radix.slottable");function N(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===M}var P=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=_(`Primitive.${r}`),o=n.forwardRef((e,n)=>{let{asChild:o,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?t:r,{...l,ref:n})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),D=Symbol("radix.slottable");function E(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===D}var S=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var t,o;let i,u,s,c=(o=t=`Primitive.${r}`,(i=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){var a;let e,i,u=(a=t,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={...r};for(let n in r){let o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...e)=>{let r=l(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...l}:"className"===n&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(s.ref=r?(0,l.t)(r,u):u),n.cloneElement(t,s)}return n.Children.count(t)>1?n.Children.only(null):null})).displayName=`${o}.SlotClone`,u=i,(s=n.forwardRef((e,r)=>{let{children:t,...o}=e,l=n.Children.toArray(t),i=l.find(E);if(i){let e=i.props.children,t=l.map(r=>r!==i?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(u,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,a.jsx)(u,{...o,ref:r,children:t})})).displayName=`${t}.Slot`,s),d=n.forwardRef((e,t)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(n?c:r,{...o,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{}),k=t(17347),I="rovingFocusGroup.onEntryFocus",K={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[A,T,F]=v(O),[$,L]=function(e,r=[]){let t=[],o=()=>{let r=t.map(e=>n.createContext(e));return function(t){let o=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return o.scopeName=e,[function(r,o){let l=n.createContext(o),i=t.length;t=[...t,o];let u=r=>{let{scope:t,children:o,...u}=r,s=t?.[e]?.[i]||l,c=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:c,children:o})};return u.displayName=r+"Provider",[u,function(t,a){let u=a?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((r,{useScope:t,scopeName:n})=>{let o=t(e)[`__scope${n}`];return{...r,...o}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return t.scopeName=r.scopeName,t}(o,...r)]}(O,[F]),[V,W]=$(O),B=n.forwardRef((e,r)=>(0,a.jsx)(A.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(A.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(G,{...e,ref:r})})}));B.displayName=O;var G=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:u,loop:s=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:f,onEntryFocus:m,preventScrollOnEntryFocus:v=!1,...h}=e,g=n.useRef(null),y=(0,l.s)(r,g),x=w(c),[C,b]=(0,i.i)({prop:d,defaultProp:p??null,onChange:f,caller:O}),[R,j]=n.useState(!1),_=(0,k.c)(m),M=T(t),N=n.useRef(!1),[P,D]=n.useState(0);return n.useEffect(()=>{let e=g.current;if(e)return e.addEventListener(I,_),()=>e.removeEventListener(I,_)},[_]),(0,a.jsx)(V,{scope:t,orientation:u,dir:x,loop:s,currentTabStopId:C,onItemFocus:n.useCallback(e=>b(e),[b]),onItemShiftTab:n.useCallback(()=>j(!0),[]),onFocusableItemAdd:n.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>D(e=>e-1),[]),children:(0,a.jsx)(S.div,{tabIndex:R||0===P?-1:0,"data-orientation":u,...h,ref:y,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let r=!N.current;if(e.target===e.currentTarget&&r&&!R){let r=new CustomEvent(I,K);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=M().filter(e=>
1e.focusable);q([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}N.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>j(!1))})})}),U="RovingFocusGroupItem",Z=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:l=!0,active:i=!1,tabStopId:u,children:s,...c}=e,d=(0,C.B)(),p=u||d,f=W(U,t),m=f.currentTabStopId===p,v=T(t),{onFocusableItemAdd:h,onFocusableItemRemove:w,currentTabStopId:g}=f;return n.useEffect(()=>{if(l)return h(),()=>w()},[l,h,w]),(0,a.jsx)(A.ItemSlot,{scope:t,id:p,focusable:l,active:i,children:(0,a.jsx)(S.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:r,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{l?f.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>f.onItemFocus(p)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return X[o]}(e,f.orientation,f.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let l=o.indexOf(e.currentTarget);o=f.loop?(t=o,n=l+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(l+1)}setTimeout(()=>q(o))}}),children:"function"==typeof s?s({isCurrentTabStop:m,hasTabStop:null!=g}):s})})});Z.displayName=U;var X={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function q(e,r=!1){let t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var z=t(22954),H=t(5174),Y=["Enter"," "],J=["ArrowUp","PageDown","End"],Q=["ArrowDown","PageUp","Home",...J],ee={ltr:[...Y,"ArrowRight"],rtl:[...Y,"ArrowLeft"]},er={ltr:["ArrowLeft"],rtl:["ArrowRight"]},et="Menu",[en,eo,el]=v(et),[ea,ei]=function(e,r=[]){let t=[],o=()=>{let r=t.map(e=>n.createContext(e));return function(t){let o=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return o.scopeName=e,[function(r,o){let l=n.createContext(o),i=t.length;t=[...t,o];let u=r=>{let{scope:t,children:o,...u}=r,s=t?.[e]?.[i]||l,c=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:c,children:o})};return u.displayName=r+"Provider",[u,function(t,a){let u=a?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((r,{useScope:t,scopeName:n})=>{let o=t(e)[`__scope${n}`];return{...r,...o}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return t.scopeName=r.scopeName,t}(o,...r)]}(et,[el,b.Bk,L]),eu=(0,b.Bk)(),es=L(),[ec,ed]=ea(et),[ep,ef]=ea(et),em=e=>{let{__scopeMenu:r,open:t=!1,children:o,dir:l,onOpenChange:i,modal:u=!0}=e,s=eu(r),[c,d]=n.useState(null),p=n.useRef(!1),f=(0,k.c)(i),m=w(l);return n.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>p.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,a.jsx)(b.bL,{...s,children:(0,a.jsx)(ec,{scope:r,open:t,onOpenChange:f,content:c,onContentChange:d,children:(0,a.jsx)(ep,{scope:r,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:m,modal:u,children:o})})})};em.displayName=et;var ev=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=eu(t);return(0,a.jsx)(b.Mz,{...o,...n,ref:r})});ev.displayName="MenuAnchor";var eh="MenuPortal",[ew,eg]=ea(eh,{forceMount:void 0}),ey=e=>{let{__scopeMenu:r,forceMount:t,children:n,container:o}=e,l=ed(eh,r);return(0,a.jsx)(ew,{scope:r,forceMount:t,children:(0,a.jsx)(j.C,{present:t||l.open,children:(0,a.jsx)(R.Z,{asChild:!0,container:o,children:n})})})};ey.displayName=eh;var ex="MenuContent",[eC,eb]=ea(ex),eR=n.forwardRef((e,r)=>{let t=eg(ex,e.__scopeMenu),{forceMount:n=t.forceMount,...o}=e,l=ed(ex,e.__scopeMenu),i=ef(ex,e.__scopeMenu);return(0,a.jsx)(en.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(j.C,{present:n||l.open,children:(0,a.jsx)(en.Slot,{scope:e.__scopeMenu,children:i.modal?(0,a.jsx)(ej,{...o,ref:r}):(0,a.jsx)(e_,{...o,ref:r})})})})}),ej=n.forwardRef((e,r)=>{let t=ed(ex,e.__scopeMenu),i=n.useRef(null),u=(0,l.s)(r,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,z.Eq)(e)},[]),(0,a.jsx)(eN,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),e_=n.forwardRef((e,r)=>{let t=ed(ex,e.__scopeMenu);return(0,a.jsx)(eN,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),eM=_("MenuContent.ScrollLock"),eN=n.forwardRef((e,r)=>{let{__scopeMenu:t,loop:i=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:p,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:v,onInteractOutside:h,onDismiss:w,disableOutsideScroll:C,...R}=e,j=ed(ex,t),_=ef(ex,t),M=eu(t),N=es(t),P=eo(t),[D,E]=n.useState(null),S=n.useRef(null),k=(0,l.s)(r,S,j.onContentChange),I=n.useRef(0),K=n.useRef(""),O=n.useRef(0),A=n.useRef(null),T=n.useRef("right"),F=n.useRef(0),$=C?H.A:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(I.current),[]),(0,y.Oh)();let L=n.useCallback(e=>{var r,t;return T.current===A.current?.side&&(r=e,!!(t=A.current?.area)&&function(e,r){let{x:t,y:n}=e,o=!1;for(let e=0,l=r.length-1;e<r.length;l=e++){let a=r[e],i=r[l],u=a.x,s=a.y,c=i.x,d=i.y;s>n!=d>n&&t<(c-u)*(n-s)/(d-s)+u&&(o=!o)}return o}({x:r.clientX,y:r.clientY},t))},[]);return(0,a.jsx)(eC,{scope:t,searchRef:K,onItemEnter:n.useCallback(e=>{L(e)&&e.preventDefault()},[L]),onItemLeave:n.useCallback(e=>{L(e)||(S.current?.focus(),E(null))},[L]),onTriggerLeave:n.useCallback(e=>{L(e)&&e.preventDefault()},[L]),pointerGraceTimerRef:O,onPointerGraceIntentChange:n.useCallback(e=>{A.current=e},[]),children:(0,a.jsx)($,{...C?{as:eM,allowPinchZoom:!0}:void 0,children:(0,a.jsx)(x.n,{asChild:!0,trapped:u,onMountAutoFocus:(0,o.mK)(s,e=>{e.preventDefault(),S.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,a.jsx)(g.qW,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:v,onInteractOutside:h,onDismiss:w,children:(0,a.jsx)(B,{asChild:!0,...
1N,dir:_.dir,orientation:"vertical",loop:i,currentTabStopId:D,onCurrentTabStopIdChange:E,onEntryFocus:(0,o.mK)(p,e=>{_.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,a.jsx)(b.UC,{role:"menu","aria-orientation":"vertical","data-state":eQ(j.open),"data-radix-menu-content":"",dir:_.dir,...M,...R,ref:k,style:{outline:"none",...R.style},onKeyDown:(0,o.mK)(R.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,t=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(r){var o;let r,l,a,i,u,s;"Tab"===e.key&&e.preventDefault(),!t&&n&&(o=e.key,r=K.current+o,l=P().filter(e=>!e.disabled),a=document.activeElement,i=l.find(e=>e.ref.current===a)?.textValue,u=function(e,r,t){var n;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,l=t?e.indexOf(t):-1,a=(n=Math.max(l,0),e.map((r,t)=>e[(n+t)%e.length]));1===o.length&&(a=a.filter(e=>e!==t));let i=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==t?i:void 0}(l.map(e=>e.textValue),r,i),s=l.find(e=>e.textValue===u)?.ref.current,function e(r){K.current=r,window.clearTimeout(I.current),""!==r&&(I.current=window.setTimeout(()=>e(""),1e3))}(r),s&&setTimeout(()=>s.focus()))}let l=S.current;if(e.target!==l||!Q.includes(e.key))return;e.preventDefault();let a=P().filter(e=>!e.disabled).map(e=>e.ref.current);J.includes(e.key)&&a.reverse(),function(e){let r=document.activeElement;for(let t of e)if(t===r||(t.focus(),document.activeElement!==r))return}(a)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(I.current),K.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,e2(e=>{let r=e.target,t=F.current!==e.clientX;e.currentTarget.contains(r)&&t&&(T.current=e.clientX>F.current?"right":"left",F.current=e.clientX)}))})})})})})})});eR.displayName=ex;var eP=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,a.jsx)(P.div,{role:"group",...n,ref:r})});eP.displayName="MenuGroup";var eD=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,a.jsx)(P.div,{...n,ref:r})});eD.displayName="MenuLabel";var eE="MenuItem",eS="menu.itemSelect",ek=n.forwardRef((e,r)=>{let{disabled:t=!1,onSelect:i,...s}=e,c=n.useRef(null),d=ef(eE,e.__scopeMenu),p=eb(eE,e.__scopeMenu),f=(0,l.s)(r,c),m=n.useRef(!1);return(0,a.jsx)(eI,{...s,ref:f,disabled:t,onClick:(0,o.mK)(e.onClick,()=>{let e=c.current;if(!t&&e){let r=new CustomEvent(eS,{bubbles:!0,cancelable:!0});e.addEventListener(eS,e=>i?.(e),{once:!0}),e&&u.flushSync(()=>e.dispatchEvent(r)),r.defaultPrevented?m.current=!1:d.onClose()}}),onPointerDown:r=>{e.onPointerDown?.(r),m.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=""!==p.searchRef.current;t||r&&" "===e.key||Y.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ek.displayName=eE;var eI=n.forwardRef((e,r)=>{let{__scopeMenu:t,disabled:i=!1,textValue:u,...s}=e,c=eb(eE,t),d=es(t),p=n.useRef(null),f=(0,l.s)(r,p),[m,v]=n.useState(!1),[h,w]=n.useState("");return n.useEffect(()=>{let e=p.current;e&&w((e.textContent??"").trim())},[s.children]),(0,a.jsx)(en.ItemSlot,{scope:t,disabled:i,textValue:u??h,children:(0,a.jsx)(Z,{asChild:!0,...d,focusable:!i,children:(0,a.jsx)(P.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...s,ref:f,onPointerMove:(0,o.mK)(e.onPointerMove,e2(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,e2(e=>c.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>v(!0)),onBlur:(0,o.mK)(e.onBlur,()=>v(!1))})})})}),eK=n.forwardRef((e,r)=>{let{checked:t=!1,onCheckedChange:n,...l}=e;return(0,a.jsx)(eW,{scope:e.__scopeMenu,checked:t,children:(0,a.jsx)(ek,{role:"menuitemcheckbox","aria-checked":e0(t)?"mixed":t,...l,ref:r,"data-state":e1(t),onSelect:(0,o.mK)(l.onSelect,()=>n?.(!!e0(t)||!t),{checkForDefaultPrevented:!1})})})});eK.displayName="MenuCheckboxItem";var eO="MenuRadioGroup",[eA,eT]=ea(eO,{value:void 0,onValueChange:()=>{}}),eF=n.forwardRef((e,r)=>{let{value:t,onValueChange:n,...o}=e,l=(0,k.c)(n);return(0,a.jsx)(eA,{scope:e.__scopeMenu,value:t,onValueChange:l,children:(0,a.jsx)(eP,{...o,ref:r})})});eF.displayName=eO;var e$="MenuRadioItem",eL=n.forwardRef((e,r)=>{let{value:t,...n}=e,l=eT(e$,e.__scopeMenu),i=t===l.value;return(0,a.jsx)(eW,{scope:e.__scopeMenu,checked:i,children:(0,a.jsx)(ek,{role:"menuitemradio","aria-checked":i,...n,ref:r,"data-state":e1(i),onSelect:(0,o.mK)(n.onSelect,()=>l.onValueChange?.(t),{checkForDefaultPrevented:!1})})})});eL.displayName=e$;var eV="MenuItemIndicator",[eW,eB]=ea(eV,{checked:!1}
1),eG=n.forwardRef((e,r)=>{let{__scopeMenu:t,forceMount:n,...o}=e,l=eB(eV,t);return(0,a.jsx)(j.C,{present:n||e0(l.checked)||!0===l.checked,children:(0,a.jsx)(P.span,{...o,ref:r,"data-state":e1(l.checked)})})});eG.displayName=eV;var eU=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e;return(0,a.jsx)(P.div,{role:"separator","aria-orientation":"horizontal",...n,ref:r})});eU.displayName="MenuSeparator";var eZ=n.forwardRef((e,r)=>{let{__scopeMenu:t,...n}=e,o=eu(t);return(0,a.jsx)(b.i3,{...o,...n,ref:r})});eZ.displayName="MenuArrow";var[eX,eq]=ea("MenuSub"),ez="MenuSubTrigger",eH=n.forwardRef((e,r)=>{let t=ed(ez,e.__scopeMenu),i=ef(ez,e.__scopeMenu),u=eq(ez,e.__scopeMenu),s=eb(ez,e.__scopeMenu),c=n.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:p}=s,f={__scopeMenu:e.__scopeMenu},m=n.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return n.useEffect(()=>m,[m]),n.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),p(null)}},[d,p]),(0,a.jsx)(ev,{asChild:!0,...f,children:(0,a.jsx)(eI,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":eQ(t.open),...e,ref:(0,l.t)(r,u.onTriggerChange),onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,e2(r=>{s.onItemEnter(r),!r.defaultPrevented&&(e.disabled||t.open||c.current||(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{t.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,e2(e=>{m();let r=t.content?.getBoundingClientRect();if(r){let n=t.content?.dataset.side,o="right"===n,l=r[o?"left":"right"],a=r[o?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:l,y:r.top},{x:a,y:r.top},{x:a,y:r.bottom},{x:l,y:r.bottom}],side:n}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,r=>{let n=""!==s.searchRef.current;e.disabled||n&&" "===r.key||ee[i.dir].includes(r.key)&&(t.onOpenChange(!0),t.content?.focus(),r.preventDefault())})})})});eH.displayName=ez;var eY="MenuSubContent",eJ=n.forwardRef((e,r)=>{let t=eg(ex,e.__scopeMenu),{forceMount:i=t.forceMount,...u}=e,s=ed(ex,e.__scopeMenu),c=ef(ex,e.__scopeMenu),d=eq(eY,e.__scopeMenu),p=n.useRef(null),f=(0,l.s)(r,p);return(0,a.jsx)(en.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(j.C,{present:i||s.open,children:(0,a.jsx)(en.Slot,{scope:e.__scopeMenu,children:(0,a.jsx)(eN,{id:d.contentId,"aria-labelledby":d.triggerId,...u,ref:f,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&p.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==d.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),t=er[c.dir].includes(e.key);r&&t&&(s.onOpenChange(!1),d.trigger?.focus(),e.preventDefault())})})})})})});function eQ(e){return e?"open":"closed"}function e0(e){return"indeterminate"===e}function e1(e){return e0(e)?"indeterminate":e?"checked":"unchecked"}function e2(e){return r=>"mouse"===r.pointerType?e(r):void 0}eJ.displayName=eY;var e7="DropdownMenu",[e3,e4]=function(e,r=[]){let t=[],o=()=>{let r=t.map(e=>n.createContext(e));return function(t){let o=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return o.scopeName=e,[function(r,o){let l=n.createContext(o),i=t.length;t=[...t,o];let u=r=>{let{scope:t,children:o,...u}=r,s=t?.[e]?.[i]||l,c=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:c,children:o})};return u.displayName=r+"Provider",[u,function(t,a){let u=a?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((r,{useScope:t,scopeName:n})=>{let o=t(e)[`__scope${n}`];return{...r,...o}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return t.scopeName=r.scopeName,t}(o,...r)]}(e7,[ei]),e5=ei(),[e9,e6]=e3(e7),e8=e=>{let{__scopeDropdownMenu:r,children:t,dir:o,open:l,defaultOpen:u,onOpenChange:s,modal:c=!0}=e,d=e5(r),p=n.useRef(null),[f,m]=(0,i.i)({prop:l,defaultProp:u??!1,onChange:s,caller:e7});return(0,a.jsx)(e9,{scope:r,triggerId:(0,C.B)(),triggerRef:p,contentId:(0,C.B)(),open:f,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),modal:c,children:(0,a.jsx)(em,{...d,open:f,onOpenChange:m,dir:o,modal:c,children:t})})};e8.displayName=e7;var re="DropdownMenuTrigger",rr=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,disabled:n=!1,...i}=e,u=e6(re,t),s=e5(t);return(0,a.jsx)(ev,{asChild:!0,...s,children:(0,a.jsx)(d.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,l.t)(r,u.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>
1{!n&&(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rr.displayName=re;var rt=e=>{let{__scopeDropdownMenu:r,...t}=e,n=e5(r);return(0,a.jsx)(ey,{...n,...t})};rt.displayName="DropdownMenuPortal";var rn="DropdownMenuContent",ro=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...l}=e,i=e6(rn,t),u=e5(t),s=n.useRef(!1);return(0,a.jsx)(eR,{id:i.contentId,"aria-labelledby":i.triggerId,...u,...l,ref:r,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{s.current||i.triggerRef.current?.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey,n=2===r.button||t;(!i.modal||n)&&(s.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)"}})});ro.displayName=rn,n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eP,{...o,...n,ref:r})}).displayName="DropdownMenuGroup";var rl=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eD,{...o,...n,ref:r})});rl.displayName="DropdownMenuLabel";var ra=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(ek,{...o,...n,ref:r})});ra.displayName="DropdownMenuItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eK,{...o,...n,ref:r})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eF,{...o,...n,ref:r})}).displayName="DropdownMenuRadioGroup",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eL,{...o,...n,ref:r})}).displayName="DropdownMenuRadioItem",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eG,{...o,...n,ref:r})}).displayName="DropdownMenuItemIndicator";var ri=n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eU,{...o,...n,ref:r})});ri.displayName="DropdownMenuSeparator",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eZ,{...o,...n,ref:r})}).displayName="DropdownMenuArrow",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eH,{...o,...n,ref:r})}).displayName="DropdownMenuSubTrigger",n.forwardRef((e,r)=>{let{__scopeDropdownMenu:t,...n}=e,o=e5(t);return(0,a.jsx)(eJ,{...o,...n,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 ru=e8,rs=rr,rc=rt,rd=ro,rp=rl,rf=ra,rm=ri},73321:(e,r,t)=>{var n=t(74645);t.o(n,"useParams")&&t.d(r,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},89974:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(78340).A)("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])}}]);
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.