PageSourceSearch

https://square-ui-axiom.vercel.app/_next/static/chunks/0qxu69b6m36.o.js?dpl=dpl_A1YceZsG1pDJpVH1HsjivugWvqZb

js square-ui-axiom.vercel.app collected 2026-10-03 07:47:24 UTC 25,360 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63415,e=>{"use strict";var r=e.i(58483);e.i(90072);var n=e.i(83181);(0,n.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),(0,n.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var t=e.i(973),o=e.i(91967),a=e.i(50888),s=e.i(38082),i=e.i(38185),u=e.i(85381),l=e.i(26492),d=e.i(12138),c=e.i(72416),p=e.i(91148),f=e.i(47284),m=e.i(54041),v=e.i(70253),g=e.i(1404),w=e.i(69060),h=e.i(84080),x="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[C,M,R]=(0,l.createCollection)(y),[D,j]=(0,s.createContextScope)(y,[R]),[E,I]=D(y),P=t.forwardRef((e,n)=>(0,r.jsx)(C.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,r.jsx)(C.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,r.jsx)(S,{...e,ref:n})})}));P.displayName=y;var S=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:s,orientation:l,loop:c=!1,dir:p,currentTabStopId:f,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:v,onEntryFocus:g,preventScrollOnEntryFocus:w=!1,...C}=e,R=t.useRef(null),D=(0,a.useComposedRefs)(n,R),j=(0,d.useDirection)(p),[I,P]=(0,i.useControllableState)({prop:f,defaultProp:m??null,onChange:v,caller:y}),[S,k]=t.useState(!1),_=(0,h.useCallbackRef)(g),T=M(s),A=t.useRef(!1),[N,O]=t.useState(0);return t.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(x,_),()=>e.removeEventListener(x,_)},[_]),(0,r.jsx)(E,{scope:s,orientation:l,dir:j,loop:c,currentTabStopId:I,onItemFocus:t.useCallback(e=>P(e),[P]),onItemShiftTab:t.useCallback(()=>k(!0),[]),onFocusableItemAdd:t.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>O(e=>e-1),[]),children:(0,r.jsx)(u.Primitive.div,{tabIndex:S||0===N?-1:0,"data-orientation":l,...C,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,o.composeEventHandlers)(e.onFocus,e=>{let r=!A.current;if(e.target===e.currentTarget&&r&&!S){let r=new CustomEvent(x,b);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=T().filter(e=>e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),w)}}A.current=!1}),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>k(!1))})})}),k="RovingFocusGroupItem",_=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:a,focusable:s=!0,active:i=!1,tabStopId:l,children:d,...c}=e,p=(0,m.useId)(),f=l||p,v=I(k,a),g=v.currentTabStopId===f,w=M(a),{onFocusableItemAdd:h,onFocusableItemRemove:x,currentTabStopId:b}=v;return t.useEffect(()=>{if(s)return h(),()=>x()},[s,h,x]),(0,r.jsx)(C.ItemSlot,{scope:a,id:f,focusable:s,active:i,children:(0,r.jsx)(u.Primitive.span,{tabIndex:g?0:-1,"data-orientation":v.orientation,...c,ref:n,onMouseDown:(0,o.composeEventHandlers)(e.onMouseDown,e=>{s?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();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 T[o]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=w().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=v.loop?(n=o,t=a+1,n.map((e,r)=>n[(t+r)%n.length])):o.slice(a+1)}setTimeout(()=>F(o))}}),children:"function"==typeof d?d({isCurrentTabStop:g,hasTabStop:null!=b}):d})})});_.displayName=k;var T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,r=!1){let n=document.activeElement;for(let t of e)if(t===n||(t.focus({preventScroll:r}),document.activeElement!==n))return}var A=e.i(97245),N=e.i(73772),O=e.i(12180),L=["Enter"," "],H=["ArrowUp","PageDown","End"],K=["ArrowDown","PageUp","Home",...H],G={ltr:[...L,"ArrowRight"],rtl:[...L,"ArrowLeft"]},U={ltr:["ArrowLeft"],rtl:["ArrowRight"]},B="Menu",[z,V,X]=(0,l.createCollection)(B),[Y,q]=(0,s.createContextScope)(B,[X,v.createPopperScope,j]),W=(0,v.createPopperScope)(),Z=j(),[J,Q]=Y(B),[$,ee]=Y(B),er=e=>{let{__scopeMenu:n,open:o=!1,children:a,dir:s,onOpenChange:i,modal:u=!0}=e,l=W(n),[c,p]=t.useState(null),f=t.useRef(!1),m=(0,h.useCallbackRef)(i),g=(0,d.useDirection)(s);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,r.jsx)(v.Root,{...l,children:(0,r.jsx)(J,{scope:n,open:o,onOpenChange:m,content:c,onContentChange:p,children:(0,r.jsx)($,{scope:n,onClose:t.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:f,dir:g,modal:u,children:a})})})};er.displayName=B;
1var en=t.forwardRef((e,n)=>{let{__scopeMenu:t,...o}=e,a=W(t);return(0,r.jsx)(v.Anchor,{...a,...o,ref:n})});en.displayName="MenuAnchor";var et="MenuPortal",[eo,ea]=Y(et,{forceMount:void 0}),es=e=>{let{__scopeMenu:n,forceMount:t,children:o,container:a}=e,s=Q(et,n);return(0,r.jsx)(eo,{scope:n,forceMount:t,children:(0,r.jsx)(w.Presence,{present:t||s.open,children:(0,r.jsx)(g.Portal,{asChild:!0,container:a,children:o})})})};es.displayName=et;var ei="MenuContent",[eu,el]=Y(ei),ed=t.forwardRef((e,n)=>{let t=ea(ei,e.__scopeMenu),{forceMount:o=t.forceMount,...a}=e,s=Q(ei,e.__scopeMenu),i=ee(ei,e.__scopeMenu);return(0,r.jsx)(z.Provider,{scope:e.__scopeMenu,children:(0,r.jsx)(w.Presence,{present:o||s.open,children:(0,r.jsx)(z.Slot,{scope:e.__scopeMenu,children:i.modal?(0,r.jsx)(ec,{...a,ref:n}):(0,r.jsx)(ep,{...a,ref:n})})})})}),ec=t.forwardRef((e,n)=>{let s=Q(ei,e.__scopeMenu),i=t.useRef(null),u=(0,a.useComposedRefs)(n,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,N.hideOthers)(e)},[]),(0,r.jsx)(em,{...e,ref:u,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),ep=t.forwardRef((e,n)=>{let t=Q(ei,e.__scopeMenu);return(0,r.jsx)(em,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),ef=(0,A.createSlot)("MenuContent.ScrollLock"),em=t.forwardRef((e,n)=>{let{__scopeMenu:s,loop:i=!1,trapFocus:u,onOpenAutoFocus:l,onCloseAutoFocus:d,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:w,onPointerDownOutside:h,onFocusOutside:x,onInteractOutside:b,onDismiss:y,disableOutsideScroll:C,...M}=e,R=Q(ei,s),D=ee(ei,s),j=W(s),E=Z(s),I=V(s),[S,k]=t.useState(null),_=t.useRef(null),T=(0,a.useComposedRefs)(n,_,R.onContentChange),F=t.useRef(0),A=t.useRef(""),N=t.useRef(0),L=t.useRef(null),G=t.useRef("right"),U=t.useRef(0),B=C?O.RemoveScroll:t.Fragment;t.useEffect(()=>()=>window.clearTimeout(F.current),[]),(0,p.useFocusGuards)();let z=t.useCallback(e=>{var r,n;return G.current===L.current?.side&&(r=e,!!(n=L.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 s=r[e],i=r[a],u=s.x,l=s.y,d=i.x,c=i.y;l>t!=c>t&&n<(d-u)*(t-l)/(c-l)+u&&(o=!o)}return o}({x:r.clientX,y:r.clientY},n))},[]);return(0,r.jsx)(eu,{scope:s,searchRef:A,onItemEnter:t.useCallback(e=>{z(e)&&e.preventDefault()},[z]),onItemLeave:t.useCallback(e=>{z(e)||(_.current?.focus(),k(null))},[z]),onTriggerLeave:t.useCallback(e=>{z(e)&&e.preventDefault()},[z]),pointerGraceTimerRef:N,onPointerGraceIntentChange:t.useCallback(e=>{L.current=e},[]),children:(0,r.jsx)(B,{...C?{as:ef,allowPinchZoom:!0}:void 0,children:(0,r.jsx)(f.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:(0,o.composeEventHandlers)(l,e=>{e.preventDefault(),_.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:(0,r.jsx)(c.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:w,onPointerDownOutside:h,onFocusOutside:x,onInteractOutside:b,onDismiss:y,children:(0,r.jsx)(P,{asChild:!0,...E,dir:D.dir,orientation:"vertical",loop:i,currentTabStopId:S,onCurrentTabStopIdChange:k,onEntryFocus:(0,o.composeEventHandlers)(g,e=>{D.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,r.jsx)(v.Content,{role:"menu","aria-orientation":"vertical","data-state":eU(R.open),"data-radix-menu-content":"",dir:D.dir,...j,...M,ref:T,style:{outline:"none",...M.style},onKeyDown:(0,o.composeEventHandlers)(M.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;if(r){var o;let r,a,s,i,u,l;"Tab"===e.key&&e.preventDefault(),!n&&t&&(o=e.key,r=A.current+o,a=I().filter(e=>!e.disabled),s=document.activeElement,i=a.find(e=>e.ref.current===s)?.textValue,u=function(e,r,n){var t;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=n?e.indexOf(n):-1,s=(t=Math.max(a,0),e.map((r,n)=>e[(t+n)%e.length]));1===o.length&&(s=s.filter(e=>e!==n));let i=s.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==n?i:void 0}(a.map(e=>e.textValue),r,i),l=a.find(e=>e.textValue===u)?.ref.current,function e(r){A.current=r,window.clearTimeout(F.current),""!==r&&(F.current=window.setTimeout(()=>e(""),1e3))}(r),l&&setTimeout(()=>l.focus()))}let a=_.current;
1if(e.target!==a||!K.includes(e.key))return;e.preventDefault();let s=I().filter(e=>!e.disabled).map(e=>e.ref.current);H.includes(e.key)&&s.reverse(),function(e){let r=document.activeElement;for(let n of e)if(n===r||(n.focus(),document.activeElement!==r))return}(s)}),onBlur:(0,o.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(F.current),A.current="")}),onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eV(e=>{let r=e.target,n=U.current!==e.clientX;e.currentTarget.contains(r)&&n&&(G.current=e.clientX>U.current?"right":"left",U.current=e.clientX)}))})})})})})})});ed.displayName=ei;var ev=t.forwardRef((e,n)=>{let{__scopeMenu:t,...o}=e;return(0,r.jsx)(u.Primitive.div,{role:"group",...o,ref:n})});ev.displayName="MenuGroup";var eg=t.forwardRef((e,n)=>{let{__scopeMenu:t,...o}=e;return(0,r.jsx)(u.Primitive.div,{...o,ref:n})});eg.displayName="MenuLabel";var ew="MenuItem",eh="menu.itemSelect",ex=t.forwardRef((e,n)=>{let{disabled:s=!1,onSelect:i,...l}=e,d=t.useRef(null),c=ee(ew,e.__scopeMenu),p=el(ew,e.__scopeMenu),f=(0,a.useComposedRefs)(n,d),m=t.useRef(!1);return(0,r.jsx)(eb,{...l,ref:f,disabled:s,onClick:(0,o.composeEventHandlers)(e.onClick,()=>{let e=d.current;if(!s&&e){let r=new CustomEvent(eh,{bubbles:!0,cancelable:!0});e.addEventListener(eh,e=>i?.(e),{once:!0}),(0,u.dispatchDiscreteCustomEvent)(e,r),r.defaultPrevented?m.current=!1:c.onClose()}}),onPointerDown:r=>{e.onPointerDown?.(r),m.current=!0},onPointerUp:(0,o.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{let r=""!==p.searchRef.current;s||r&&" "===e.key||L.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ex.displayName=ew;var eb=t.forwardRef((e,n)=>{let{__scopeMenu:s,disabled:i=!1,textValue:l,...d}=e,c=el(ew,s),p=Z(s),f=t.useRef(null),m=(0,a.useComposedRefs)(n,f),[v,g]=t.useState(!1),[w,h]=t.useState("");return t.useEffect(()=>{let e=f.current;e&&h((e.textContent??"").trim())},[d.children]),(0,r.jsx)(z.ItemSlot,{scope:s,disabled:i,textValue:l??w,children:(0,r.jsx)(_,{asChild:!0,...p,focusable:!i,children:(0,r.jsx)(u.Primitive.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...d,ref:m,onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eV(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,eV(e=>c.onItemLeave(e))),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>g(!0)),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>g(!1))})})})}),ey=t.forwardRef((e,n)=>{let{checked:t=!1,onCheckedChange:a,...s}=e;return(0,r.jsx)(eP,{scope:e.__scopeMenu,checked:t,children:(0,r.jsx)(ex,{role:"menuitemcheckbox","aria-checked":eB(t)?"mixed":t,...s,ref:n,"data-state":ez(t),onSelect:(0,o.composeEventHandlers)(s.onSelect,()=>a?.(!!eB(t)||!t),{checkForDefaultPrevented:!1})})})});ey.displayName="MenuCheckboxItem";var eC="MenuRadioGroup",[eM,eR]=Y(eC,{value:void 0,onValueChange:()=>{}}),eD=t.forwardRef((e,n)=>{let{value:t,onValueChange:o,...a}=e,s=(0,h.useCallbackRef)(o);return(0,r.jsx)(eM,{scope:e.__scopeMenu,value:t,onValueChange:s,children:(0,r.jsx)(ev,{...a,ref:n})})});eD.displayName=eC;var ej="MenuRadioItem",eE=t.forwardRef((e,n)=>{let{value:t,...a}=e,s=eR(ej,e.__scopeMenu),i=t===s.value;return(0,r.jsx)(eP,{scope:e.__scopeMenu,checked:i,children:(0,r.jsx)(ex,{role:"menuitemradio","aria-checked":i,...a,ref:n,"data-state":ez(i),onSelect:(0,o.composeEventHandlers)(a.onSelect,()=>s.onValueChange?.(t),{checkForDefaultPrevented:!1})})})});eE.displayName=ej;var eI="MenuItemIndicator",[eP,eS]=Y(eI,{checked:!1}),ek=t.forwardRef((e,n)=>{let{__scopeMenu:t,forceMount:o,...a}=e,s=eS(eI,t);return(0,r.jsx)(w.Presence,{present:o||eB(s.checked)||!0===s.checked,children:(0,r.jsx)(u.Primitive.span,{...a,ref:n,"data-state":ez(s.checked)})})});ek.displayName=eI;var e_=t.forwardRef((e,n)=>{let{__scopeMenu:t,...o}=e;return(0,r.jsx)(u.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});e_.displayName="MenuSeparator";
1var eT=t.forwardRef((e,n)=>{let{__scopeMenu:t,...o}=e,a=W(t);return(0,r.jsx)(v.Arrow,{...a,...o,ref:n})});eT.displayName="MenuArrow";var eF="MenuSub",[eA,eN]=Y(eF),eO=e=>{let{__scopeMenu:n,children:o,open:a=!1,onOpenChange:s}=e,i=Q(eF,n),u=W(n),[l,d]=t.useState(null),[c,p]=t.useState(null),f=(0,h.useCallbackRef)(s);return t.useEffect(()=>(!1===i.open&&f(!1),()=>f(!1)),[i.open,f]),(0,r.jsx)(v.Root,{...u,children:(0,r.jsx)(J,{scope:n,open:a,onOpenChange:f,content:c,onContentChange:p,children:(0,r.jsx)(eA,{scope:n,contentId:(0,m.useId)(),triggerId:(0,m.useId)(),trigger:l,onTriggerChange:d,children:o})})})};eO.displayName=eF;var eL="MenuSubTrigger",eH=t.forwardRef((e,n)=>{let s=Q(eL,e.__scopeMenu),i=ee(eL,e.__scopeMenu),u=eN(eL,e.__scopeMenu),l=el(eL,e.__scopeMenu),d=t.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:p}=l,f={__scopeMenu:e.__scopeMenu},m=t.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return t.useEffect(()=>m,[m]),t.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),p(null)}},[c,p]),(0,r.jsx)(en,{asChild:!0,...f,children:(0,r.jsx)(eb,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":u.contentId,"data-state":eU(s.open),...e,ref:(0,a.composeRefs)(n,u.onTriggerChange),onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),s.open||s.onOpenChange(!0))},onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eV(r=>{l.onItemEnter(r),!r.defaultPrevented&&(e.disabled||s.open||d.current||(l.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{s.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,eV(e=>{m();let r=s.content?.getBoundingClientRect();if(r){let n=s.content?.dataset.side,t="right"===n,o=r[t?"left":"right"],a=r[t?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(t?-5:5),y:e.clientY},{x:o,y:r.top},{x:a,y:r.top},{x:a,y:r.bottom},{x:o,y:r.bottom}],side:n}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,r=>{let n=""!==l.searchRef.current;e.disabled||n&&" "===r.key||G[i.dir].includes(r.key)&&(s.onOpenChange(!0),s.content?.focus(),r.preventDefault())})})})});eH.displayName=eL;var eK="MenuSubContent",eG=t.forwardRef((e,n)=>{let s=ea(ei,e.__scopeMenu),{forceMount:i=s.forceMount,...u}=e,l=Q(ei,e.__scopeMenu),d=ee(ei,e.__scopeMenu),c=eN(eK,e.__scopeMenu),p=t.useRef(null),f=(0,a.useComposedRefs)(n,p);return(0,r.jsx)(z.Provider,{scope:e.__scopeMenu,children:(0,r.jsx)(w.Presence,{present:i||l.open,children:(0,r.jsx)(z.Slot,{scope:e.__scopeMenu,children:(0,r.jsx)(em,{id:c.contentId,"aria-labelledby":c.triggerId,...u,ref:f,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{d.isUsingKeyboardRef.current&&p.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==c.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,o.composeEventHandlers)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),n=U[d.dir].includes(e.key);r&&n&&(l.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})});function eU(e){return e?"open":"closed"}function eB(e){return"indeterminate"===e}function ez(e){return eB(e)?"indeterminate":e?"checked":"unchecked"}function eV(e){return r=>"mouse"===r.pointerType?e(r):void 0}eG.displayName=eK;var eX="DropdownMenu",[eY,eq]=(0,s.createContextScope)(eX,[q]),eW=q(),[eZ,eJ]=eY(eX),eQ=e=>{let{__scopeDropdownMenu:n,children:o,dir:a,open:s,defaultOpen:u,onOpenChange:l,modal:d=!0}=e,c=eW(n),p=t.useRef(null),[f,v]=(0,i.useControllableState)({prop:s,defaultProp:u??!1,onChange:l,caller:eX});return(0,r.jsx)(eZ,{scope:n,triggerId:(0,m.useId)(),triggerRef:p,contentId:(0,m.useId)(),open:f,onOpenChange:v,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),modal:d,children:(0,r.jsx)(er,{...c,open:f,onOpenChange:v,dir:a,modal:d,children:o})})};eQ.displayName=eX;
1var e$="DropdownMenuTrigger",e0=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,disabled:s=!1,...i}=e,l=eJ(e$,t),d=eW(t);return(0,r.jsx)(en,{asChild:!0,...d,children:(0,r.jsx)(u.Primitive.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":s?"":void 0,disabled:s,...i,ref:(0,a.composeRefs)(n,l.triggerRef),onPointerDown:(0,o.composeEventHandlers)(e.onPointerDown,e=>{!s&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{!s&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e0.displayName=e$;var e1=e=>{let{__scopeDropdownMenu:n,...t}=e,o=eW(n);return(0,r.jsx)(es,{...o,...t})};e1.displayName="DropdownMenuPortal";var e2="DropdownMenuContent",e8=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:a,...s}=e,i=eJ(e2,a),u=eW(a),l=t.useRef(!1);return(0,r.jsx)(ed,{id:i.contentId,"aria-labelledby":i.triggerId,...u,...s,ref:n,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||i.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.composeEventHandlers)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,n=0===r.button&&!0===r.ctrlKey,t=2===r.button||n;(!i.modal||t)&&(l.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)"}})});e8.displayName=e2;var e4=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(ev,{...a,...o,ref:n})});e4.displayName="DropdownMenuGroup";var e5=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eg,{...a,...o,ref:n})});e5.displayName="DropdownMenuLabel";var e3=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(ex,{...a,...o,ref:n})});e3.displayName="DropdownMenuItem";var e6=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(ey,{...a,...o,ref:n})});e6.displayName="DropdownMenuCheckboxItem";var e7=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eD,{...a,...o,ref:n})});e7.displayName="DropdownMenuRadioGroup";var e9=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eE,{...a,...o,ref:n})});e9.displayName="DropdownMenuRadioItem";var re=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(ek,{...a,...o,ref:n})});re.displayName="DropdownMenuItemIndicator";var rr=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(e_,{...a,...o,ref:n})});rr.displayName="DropdownMenuSeparator";var rn=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eT,{...a,...o,ref:n})});rn.displayName="DropdownMenuArrow";var rt=e=>{let{__scopeDropdownMenu:n,children:t,open:o,onOpenChange:a,defaultOpen:s}=e,u=eW(n),[l,d]=(0,i.useControllableState)({prop:o,defaultProp:s??!1,onChange:a,caller:"DropdownMenuSub"});return(0,r.jsx)(eO,{...u,open:l,onOpenChange:d,children:t})},ro=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eH,{...a,...o,ref:n})});ro.displayName="DropdownMenuSubTrigger";var ra=t.forwardRef((e,n)=>{let{__scopeDropdownMenu:t,...o}=e,a=eW(t);return(0,r.jsx)(eG,{...a,...o,ref:n,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)"}})});ra.displayName="DropdownMenuSubContent",e.s(["Arrow",0,rn,"CheckboxItem",0,e6,"Content",0,e8,"DropdownMenu",0,eQ,"DropdownMenuArrow",0,rn,"DropdownMenuCheckboxItem",0,e6,"DropdownMenuContent",0,e8,"DropdownMenuGroup",0,e4,"DropdownMenuItem",0,e3,"DropdownMenuItemIndicator",0,re,"DropdownMenuLabel",0,e5,"DropdownMenuPortal",0,e1,"DropdownMenuRadioGroup",0,e7,"DropdownMenuRadioItem",0,e9,"DropdownMenuSeparator",0,rr,"DropdownMenuSub",0,rt,"DropdownMenuSubContent",0,ra,"DropdownMenuSubTrigger",0,ro,"DropdownMenuTrigger",0,e0,"Group",0,e4,"Item",0,e3,"ItemIndicator",0,re,"Label",0,e5,"Portal",0,e1,"RadioGroup",0,e7,"RadioItem",0,e9,"Root",0,eQ,"Separator",0,rr,"Sub",0,rt,"SubContent",0,ra,"SubTrigger",0,ro,"Trigger",0,e0,"createDropdownMenuScope",0,eq],42823);var rs=e.i(42823),rs=rs,ri=e.i(47163);e.s(["DropdownMenu",0,function({...e}){return(0,r.jsx)(rs.Root,{"data-slot":"dropdown-menu",...e})},"DropdownMenuContent",0,function({className:e,sideOffset:n=4,...t}){return(0,r.jsx)(rs.Portal,{children:(0,r.jsx)(rs.Content,{"data-slot":"dropdown-menu-content",sideOffset:n,className:(0,ri.cn)("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...t})})},"DropdownMenuItem",0,function({className:e,inset:n,variant:t="default",...o}){return(0,r.jsx)(rs.Item,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":t,className:(0,ri.cn)("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",e),...o})},"DropdownMenuLabel",0,function({className:e,inset:n,...t}){return(0,r.jsx)(rs.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:(0,ri.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...t})},"DropdownMenuSeparator",0,function({className:e,...n}){return(0,r.jsx)(rs.Separator,{"data-slot":"dropdown-menu-separator",className:(0,ri.cn)("-mx-1 my-1 h-px bg-border",e),...n})},"DropdownMenuTrigger",0,function({...e}){return(0,r.jsx)(rs.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}],63415)}]);

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.