PageSourceSearch

https://silgga.com/_next/static/chunks/4815-36da7c8bb3389fc0.js

js silgga.com collected 2026-10-05 07:51:43 UTC 28,227 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4815],{16950:(e,n,r)=>{r.d(n,{A:()=>o});var o=(0,r(78340).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},21362:(e,n,r)=>{r.d(n,{A:()=>o});var o=(0,r(78340).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},45291:(e,n,r)=>{r.d(n,{H_:()=>nF,UC:()=>nE,YJ:()=>nS,q7:()=>nK,VF:()=>nA,JU:()=>nO,ZL:()=>nk,z6:()=>nP,hN:()=>nT,bL:()=>nj,wv:()=>nN,Pb:()=>nL,G5:()=>nB,ZP:()=>nG,l9:()=>nI});var o,t,u,a=r(93075),i=r(30694),c=r(22514),l=r(91167),s=r(12115),d=r(70379),f=r(47527),p=r(68599),_=r(98979),v=r(99354),h=r(98952),m=r(19547),w=r(1933),g=r(98454),y=r(32007),M=r(69885),x=r(89971),b=r(58142),C=r(19040),D=r(83935),R=r(17347),j=r(95155),I="rovingFocusGroup.onEntryFocus",k={bubbles:!1,cancelable:!0},E="RovingFocusGroup",S=(0,l._)((0,m.N)(E),3),O=S[0],K=S[1],F=S[2],P=(0,l._)((0,p.A)(E,[F]),2),T=P[0],A=P[1],N=(0,l._)(T(E),2),L=N[0],G=N[1],B=s.forwardRef(function(e,n){return(0,j.jsx)(O.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(O.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(V,(0,i._)((0,a._)({},e),{ref:n}))})})});B.displayName=E;var V=s.forwardRef(function(e,n){var r=e.__scopeRovingFocusGroup,o=e.orientation,t=e.loop,u=e.dir,p=e.currentTabStopId,m=e.defaultCurrentTabStopId,g=e.onCurrentTabStopIdChange,y=e.onEntryFocus,M=e.preventScrollOnEntryFocus,x=void 0!==M&&M,b=(0,c._)(e,["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus"]),C=s.useRef(null),D=(0,f.s)(n,C),S=(0,w.jH)(u),O=(0,l._)((0,_.i)({prop:p,defaultProp:null!=m?m:null,onChange:g,caller:E}),2),F=O[0],P=O[1],T=(0,l._)(s.useState(!1),2),A=T[0],N=T[1],G=(0,R.c)(y),B=K(r),V=s.useRef(!1),U=(0,l._)(s.useState(0),2),W=U[0],H=U[1];return s.useEffect(function(){var e=C.current;if(e)return e.addEventListener(I,G),function(){return e.removeEventListener(I,G)}},[G]),(0,j.jsx)(L,{scope:r,orientation:o,dir:S,loop:void 0!==t&&t,currentTabStopId:F,onItemFocus:s.useCallback(function(e){return P(e)},[P]),onItemShiftTab:s.useCallback(function(){return N(!0)},[]),onFocusableItemAdd:s.useCallback(function(){return H(function(e){return e+1})},[]),onFocusableItemRemove:s.useCallback(function(){return H(function(e){return e-1})},[]),children:(0,j.jsx)(v.sG.div,(0,i._)((0,a._)({tabIndex:A||0===W?-1:0,"data-orientation":o},b),{ref:D,style:(0,a._)({outline:"none"},e.style),onMouseDown:(0,d.mK)(e.onMouseDown,function(){V.current=!0}),onFocus:(0,d.mK)(e.onFocus,function(e){var n=!V.current;if(e.target===e.currentTarget&&n&&!A){var r=new CustomEvent(I,k);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){var o=B().filter(function(e){return e.focusable});X([o.find(function(e){return e.active}),o.find(function(e){return e.id===F})].concat((0,h._)(o)).filter(Boolean).map(function(e){return e.ref.current}),x)}}V.current=!1}),onBlur:(0,d.mK)(e.onBlur,function(){return N(!1)})}))})}),U="RovingFocusGroupItem",W=s.forwardRef(function(e,n){var r=e.__scopeRovingFocusGroup,o=e.focusable,t=void 0===o||o,u=e.active,l=e.tabStopId,f=e.children,p=(0,c._)(e,["__scopeRovingFocusGroup","focusable","active","tabStopId","children"]),_=(0,x.B)(),h=l||_,m=G(U,r),w=m.currentTabStopId===h,g=K(r),y=m.onFocusableItemAdd,M=m.onFocusableItemRemove,b=m.currentTabStopId;return s.useEffect(function(){if(t)return y(),function(){return M()}},[t,y,M]),(0,j.jsx)(O.ItemSlot,{scope:r,id:h,focusable:t,active:void 0!==u&&u,children:(0,j.jsx)(v.sG.span,(0,i._)((0,a._)({tabIndex:w?0:-1,"data-orientation":m.orientation},p),{ref:n,onMouseDown:(0,d.mK)(e.onMouseDown,function(e){t?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,d.mK)(e.onFocus,function(){return m.onItemFocus(h)}),onKeyDown:(0,d.mK)(e.onKeyDown,function(e){if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target===e.currentTarget){var n=function(e,n,r){var o,t=(o=e.key,"rtl"!==r?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===n&&["ArrowLeft","ArrowRight"].includes(t))&&!("horizontal"===n&&["ArrowUp","ArrowDown"].includes(t)))return H[t]}(e,m.orientation,m.dir);
1if(void 0!==n){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();var r=g().filter(function(e){return e.focusable}).map(function(e){return e.ref.current});if("last"===n)r.reverse();else if("prev"===n||"next"===n){"prev"===n&&r.reverse();var o,t,u=r.indexOf(e.currentTarget);r=m.loop?(o=r,t=u+1,o.map(function(e,n){return o[(t+n)%o.length]})):r.slice(u+1)}setTimeout(function(){return X(r)})}}}),children:"function"==typeof f?f({isCurrentTabStop:w,hasTabStop:null!=b}):f}))})});W.displayName=U;var H={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function X(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement,o=!0,t=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done);o=!0){var c=a.value;if(c===r||(c.focus({preventScroll:n}),document.activeElement!==r))return}}catch(e){t=!0,u=e}finally{try{o||null==i.return||i.return()}finally{if(t)throw u}}}var Z=Symbol("radix.slottable");function q(e){return s.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Z}var z=r(22954),Y=r(78919),J=["Enter"," "],Q=["ArrowUp","PageDown","End"],$=(0,h._)(["ArrowDown","PageUp","Home"]).concat((0,h._)(Q)),ee={ltr:(0,h._)(J).concat(["ArrowRight"]),rtl:(0,h._)(J).concat(["ArrowLeft"])},en={ltr:["ArrowLeft"],rtl:["ArrowRight"]},er="Menu",eo=(0,l._)((0,m.N)(er),3),et=eo[0],eu=eo[1],ea=eo[2],ei=(0,l._)((0,p.A)(er,[ea,b.Bk,A]),2),ec=ei[0],el=ei[1],es=(0,b.Bk)(),ed=A(),ef=(0,l._)(ec(er),2),ep=ef[0],e_=ef[1],ev=(0,l._)(ec(er),2),eh=ev[0],em=ev[1],ew=function(e){var n=e.__scopeMenu,r=e.open,o=e.children,t=e.dir,u=e.onOpenChange,c=e.modal,d=es(n),f=(0,l._)(s.useState(null),2),p=f[0],_=f[1],v=s.useRef(!1),h=(0,R.c)(u),m=(0,w.jH)(t);return s.useEffect(function(){var e=function(){v.current=!0,document.addEventListener("pointerdown",n,{capture:!0,once:!0}),document.addEventListener("pointermove",n,{capture:!0,once:!0})},n=function(){return v.current=!1};return document.addEventListener("keydown",e,{capture:!0}),function(){document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",n,{capture:!0}),document.removeEventListener("pointermove",n,{capture:!0})}},[]),(0,j.jsx)(b.bL,(0,i._)((0,a._)({},d),{children:(0,j.jsx)(ep,{scope:n,open:void 0!==r&&r,onOpenChange:h,content:p,onContentChange:_,children:(0,j.jsx)(eh,{scope:n,onClose:s.useCallback(function(){return h(!1)},[h]),isUsingKeyboardRef:v,dir:m,modal:void 0===c||c,children:o})})}))};ew.displayName=er;var eg=s.forwardRef(function(e,n){var r=e.__scopeMenu,o=(0,c._)(e,["__scopeMenu"]),t=es(r);return(0,j.jsx)(b.Mz,(0,i._)((0,a._)({},t,o),{ref:n}))});eg.displayName="MenuAnchor";var ey="MenuPortal",eM=(0,l._)(ec(ey,{forceMount:void 0}),2),ex=eM[0],eb=eM[1],eC=function(e){var n=e.__scopeMenu,r=e.forceMount,o=e.children,t=e.container,u=e_(ey,n);return(0,j.jsx)(ex,{scope:n,forceMount:r,children:(0,j.jsx)(D.C,{present:r||u.open,children:(0,j.jsx)(C.Z,{asChild:!0,container:t,children:o})})})};eC.displayName=ey;var eD="MenuContent",eR=(0,l._)(ec(eD),2),ej=eR[0],eI=eR[1],ek=s.forwardRef(function(e,n){var r=eb(eD,e.__scopeMenu),o=e.forceMount,t=void 0===o?r.forceMount:o,u=(0,c._)(e,["forceMount"]),l=e_(eD,e.__scopeMenu),s=em(eD,e.__scopeMenu);return(0,j.jsx)(et.Provider,{scope:e.__scopeMenu,children:(0,j.jsx)(D.C,{present:t||l.open,children:(0,j.jsx)(et.Slot,{scope:e.__scopeMenu,children:s.modal?(0,j.jsx)(eE,(0,i._)((0,a._)({},u),{ref:n})):(0,j.jsx)(eS,(0,i._)((0,a._)({},u),{ref:n}))})})})}),eE=s.forwardRef(function(e,n){var r=e_(eD,e.__scopeMenu),o=s.useRef(null),t=(0,f.s)(n,o);return s.useEffect(function(){var e=o.current;if(e)return(0,z.Eq)(e)},[]),(0,j.jsx)(eK,(0,i._)((0,a._)({},e),{ref:t,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,d.mK)(e.onFocusOutside,function(e){return e.preventDefault()},{checkForDefaultPrevented:!1}),onDismiss:function(){return r.onOpenChange(!1)}}))}),eS=s.forwardRef(function(e,n){var r=e_(eD,e.__scopeMenu);return(0,j.jsx)(eK,(0,i._)((0,a._)({},e),{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:function(){return r.onOpenChange(!1)}}))}),eO=((o=s.forwardRef(function(e,n){var r=e.children,o=(0,c._)(e,["children"]);if(s.isValidElement(r)){var t,u,i,l,d,p=(d=(l=null==(u=Object.getOwnPropertyDescriptor((t=r).props,"ref"))?void 0:u.get)&&"isReactWarning"in l&&l.isReactWarning)?t.ref:(d=(l=null==(i=Object.getOwnPropertyDescriptor(t,"ref"))?void 0:i.get)&&"isReactWarning"in l&&l.isReactWarning)?t.props.ref:t.props.ref||t.ref,_=function(e,n){var r=(0,a._)({},n);for(var o in n)!function(o){var t=e[o],u=n[o];/^on[A-Z]/.test(o)?t&&u?r[o]=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=u.apply(void 0,(0,h._)(n));return t.apply(void 0,(0,h._)(n)),o}:t&&(r[o]=t):"style"===o?r[o]=(0,a._)({}
1,t,u):"className"===o&&(r[o]=[t,u].filter(Boolean).join(" "))}(o);return(0,a._)({},e,r)}(o,r.props);return r.type!==s.Fragment&&(_.ref=n?(0,f.t)(n,p):p),s.cloneElement(r,_)}return s.Children.count(r)>1?s.Children.only(null):null})).displayName="".concat("MenuContent.ScrollLock",".SlotClone"),t=o,(u=s.forwardRef(function(e,n){var r=e.children,o=(0,c._)(e,["children"]),u=s.Children.toArray(r),l=u.find(q);if(l){var d=l.props.children,f=u.map(function(e){return e!==l?e:s.Children.count(d)>1?s.Children.only(null):s.isValidElement(d)?d.props.children:null});return(0,j.jsx)(t,(0,i._)((0,a._)({},o),{ref:n,children:s.isValidElement(d)?s.cloneElement(d,void 0,f):null}))}return(0,j.jsx)(t,(0,i._)((0,a._)({},o),{ref:n,children:r}))})).displayName="".concat("MenuContent.ScrollLock",".Slot"),u),eK=s.forwardRef(function(e,n){var r=e.__scopeMenu,o=e.loop,t=e.trapFocus,u=e.onOpenAutoFocus,p=e.onCloseAutoFocus,_=e.disableOutsidePointerEvents,v=e.onEntryFocus,h=e.onEscapeKeyDown,m=e.onPointerDownOutside,w=e.onFocusOutside,x=e.onInteractOutside,C=e.onDismiss,D=e.disableOutsideScroll,R=(0,c._)(e,["__scopeMenu","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll"]),I=e_(eD,r),k=em(eD,r),E=es(r),S=ed(r),O=eu(r),K=(0,l._)(s.useState(null),2),F=K[0],P=K[1],T=s.useRef(null),A=(0,f.s)(n,T,I.onContentChange),N=s.useRef(0),L=s.useRef(""),G=s.useRef(0),V=s.useRef(null),U=s.useRef("right"),W=s.useRef(0),H=D?Y.A:s.Fragment,X=function(e){var n,r,o=L.current+e,t=O().filter(function(e){return!e.disabled}),u=document.activeElement,a=null==(n=t.find(function(e){return e.ref.current===u}))?void 0:n.textValue,i=function(e,n,r){var o,t=n.length>1&&Array.from(n).every(function(e){return e===n[0]})?n[0]:n,u=r?e.indexOf(r):-1,a=(o=Math.max(u,0),e.map(function(n,r){return e[(o+r)%e.length]}));1===t.length&&(a=a.filter(function(e){return e!==r}));var i=a.find(function(e){return e.toLowerCase().startsWith(t.toLowerCase())});return i!==r?i:void 0}(t.map(function(e){return e.textValue}),o,a),c=null==(r=t.find(function(e){return e.textValue===i}))?void 0:r.ref.current;!function e(n){L.current=n,window.clearTimeout(N.current),""!==n&&(N.current=window.setTimeout(function(){return e("")},1e3))}(o),c&&setTimeout(function(){return c.focus()})};s.useEffect(function(){return function(){return window.clearTimeout(N.current)}},[]),(0,y.Oh)();var Z=s.useCallback(function(e){var n,r,o,t;return U.current===(null==(n=V.current)?void 0:n.side)&&(o=e,!!(t=null==(r=V.current)?void 0:r.area)&&function(e,n){for(var r=e.x,o=e.y,t=!1,u=0,a=n.length-1;u<n.length;a=u++){var i=n[u],c=n[a],l=i.x,s=i.y,d=c.x,f=c.y;s>o!=f>o&&r<(d-l)*(o-s)/(f-s)+l&&(t=!t)}return t}({x:o.clientX,y:o.clientY},t))},[]);return(0,j.jsx)(ej,{scope:r,searchRef:L,onItemEnter:s.useCallback(function(e){Z(e)&&e.preventDefault()},[Z]),onItemLeave:s.useCallback(function(e){var n;Z(e)||(null==(n=T.current)||n.focus(),P(null))},[Z]),onTriggerLeave:s.useCallback(function(e){Z(e)&&e.preventDefault()},[Z]),pointerGraceTimerRef:G,onPointerGraceIntentChange:s.useCallback(function(e){V.current=e},[]),children:(0,j.jsx)(H,(0,i._)((0,a._)({},D?{as:eO,allowPinchZoom:!0}:void 0),{children:(0,j.jsx)(M.n,{asChild:!0,trapped:t,onMountAutoFocus:(0,d.mK)(u,function(e){var n;e.preventDefault(),null==(n=T.current)||n.focus({preventScroll:!0})}),onUnmountAutoFocus:p,children:(0,j.jsx)(g.qW,{asChild:!0,disableOutsidePointerEvents:_,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:w,onInteractOutside:x,onDismiss:C,children:(0,j.jsx)(B,(0,i._)((0,a._)({asChild:!0},S),{dir:k.dir,orientation:"vertical",loop:void 0!==o&&o,currentTabStopId:F,onCurrentTabStopIdChange:P,onEntryFocus:(0,d.mK)(v,function(e){k.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,j.jsx)(b.UC,(0,i._)((0,a._)({role:"menu","aria-orientation":"vertical","data-state":ne(I.open),"data-radix-menu-content":"",dir:k.dir},E,R),{ref:A,style:(0,a._)({outline:"none"},R.style),onKeyDown:(0,d.mK)(R.onKeyDown,function(e){var n=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,o=1===e.ke
1y.length;n&&("Tab"===e.key&&e.preventDefault(),!r&&o&&X(e.key));var t=T.current;if(e.target===t&&$.includes(e.key)){e.preventDefault();var u=O().filter(function(e){return!e.disabled}).map(function(e){return e.ref.current});Q.includes(e.key)&&u.reverse(),function(e){var n=document.activeElement,r=!0,o=!1,t=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done);r=!0){var i=u.value;if(i===n||(i.focus(),document.activeElement!==n))return}}catch(e){o=!0,t=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw t}}}(u)}}),onBlur:(0,d.mK)(e.onBlur,function(e){e.currentTarget.contains(e.target)||(window.clearTimeout(N.current),L.current="")}),onPointerMove:(0,d.mK)(e.onPointerMove,no(function(e){var n=e.target,r=W.current!==e.clientX;e.currentTarget.contains(n)&&r&&(U.current=e.clientX>W.current?"right":"left",W.current=e.clientX)}))}))}))})})}))})});ek.displayName=eD;var eF=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,c._)(e,["__scopeMenu"]);return(0,j.jsx)(v.sG.div,(0,i._)((0,a._)({role:"group"},r),{ref:n}))});eF.displayName="MenuGroup";var eP=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,c._)(e,["__scopeMenu"]);return(0,j.jsx)(v.sG.div,(0,i._)((0,a._)({},r),{ref:n}))});eP.displayName="MenuLabel";var eT="MenuItem",eA="menu.itemSelect",eN=s.forwardRef(function(e,n){var r=e.disabled,o=void 0!==r&&r,t=e.onSelect,u=(0,c._)(e,["disabled","onSelect"]),l=s.useRef(null),p=em(eT,e.__scopeMenu),_=eI(eT,e.__scopeMenu),h=(0,f.s)(n,l),m=s.useRef(!1);return(0,j.jsx)(eL,(0,i._)((0,a._)({},u),{ref:h,disabled:o,onClick:(0,d.mK)(e.onClick,function(){var e=l.current;if(!o&&e){var n=new CustomEvent(eA,{bubbles:!0,cancelable:!0});e.addEventListener(eA,function(e){return null==t?void 0:t(e)},{once:!0}),(0,v.hO)(e,n),n.defaultPrevented?m.current=!1:p.onClose()}}),onPointerDown:function(n){var r;null==(r=e.onPointerDown)||r.call(e,n),m.current=!0},onPointerUp:(0,d.mK)(e.onPointerUp,function(e){var n;m.current||null==(n=e.currentTarget)||n.click()}),onKeyDown:(0,d.mK)(e.onKeyDown,function(e){var n=""!==_.searchRef.current;o||n&&" "===e.key||J.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))});eN.displayName=eT;var eL=s.forwardRef(function(e,n){var r=e.__scopeMenu,o=e.disabled,t=void 0!==o&&o,u=e.textValue,p=(0,c._)(e,["__scopeMenu","disabled","textValue"]),_=eI(eT,r),h=ed(r),m=s.useRef(null),w=(0,f.s)(n,m),g=(0,l._)(s.useState(!1),2),y=g[0],M=g[1],x=(0,l._)(s.useState(""),2),b=x[0],C=x[1];return s.useEffect(function(){var e,n=m.current;n&&C((null!=(e=n.textContent)?e:"").trim())},[p.children]),(0,j.jsx)(et.ItemSlot,{scope:r,disabled:t,textValue:null!=u?u:b,children:(0,j.jsx)(W,(0,i._)((0,a._)({asChild:!0},h),{focusable:!t,children:(0,j.jsx)(v.sG.div,(0,i._)((0,a._)({role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0},p),{ref:w,onPointerMove:(0,d.mK)(e.onPointerMove,no(function(e){t?_.onItemLeave(e):(_.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,d.mK)(e.onPointerLeave,no(function(e){return _.onItemLeave(e)})),onFocus:(0,d.mK)(e.onFocus,function(){return M(!0)}),onBlur:(0,d.mK)(e.onBlur,function(){return M(!1)})}))}))})}),eG=s.forwardRef(function(e,n){var r=e.checked,o=void 0!==r&&r,t=e.onCheckedChange,u=(0,c._)(e,["checked","onCheckedChange"]);return(0,j.jsx)(eY,{scope:e.__scopeMenu,checked:o,children:(0,j.jsx)(eN,(0,i._)((0,a._)({role:"menuitemcheckbox","aria-checked":nn(o)?"mixed":o},u),{ref:n,"data-state":nr(o),onSelect:(0,d.mK)(u.onSelect,function(){return null==t?void 0:t(!!nn(o)||!o)},{checkForDefaultPrevented:!1})}))})});eG.displayName="MenuCheckboxItem";var eB="MenuRadioGroup",eV=(0,l._)(ec(eB,{value:void 0,onValueChange:function(){}}),2),eU=eV[0],eW=eV[1],eH=s.forwardRef(function(e,n){var r=e.value,o=e.onValueChange,t=(0,c._)(e,["value","onValueChange"]),u=(0,R.c)(o);return(0,j.jsx)(eU,{scope:e.__scopeMenu,value:r,onValueChange:u,children:(0,j.jsx)(eF,(0,i._)((0,a._)({},t),{ref:n}))})});eH.displayName=eB;var eX="MenuRadioItem",eZ=s.forwardRef(function(e,n){var r=e.value,o=(0,c._)(e,["value"]),t=eW(eX,e.__scopeMenu),u=r===t.value;return(0,j.jsx)(eY,{scope:e.__scopeMenu,checked:u,children:(0,j.jsx)(eN,(0,i._)((0,a._)({role:"menuitemradio","aria-checked":u},o),{ref:n,"data-state":nr(u),onSelect:(0,d.mK)(o.onSelect,function(){var e;return null==(e=t.onValueChange)?void 0:e.call(t,r)},{checkForDefaultPrevented:!1})}))})});eZ.displayName=eX;var eq="MenuItemIndicator",ez=(0,l._)(ec(eq,{checked:!1}
1),2),eY=ez[0],eJ=ez[1],eQ=s.forwardRef(function(e,n){var r=e.__scopeMenu,o=e.forceMount,t=(0,c._)(e,["__scopeMenu","forceMount"]),u=eJ(eq,r);return(0,j.jsx)(D.C,{present:o||nn(u.checked)||!0===u.checked,children:(0,j.jsx)(v.sG.span,(0,i._)((0,a._)({},t),{ref:n,"data-state":nr(u.checked)}))})});eQ.displayName=eq;var e$=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,c._)(e,["__scopeMenu"]);return(0,j.jsx)(v.sG.div,(0,i._)((0,a._)({role:"separator","aria-orientation":"horizontal"},r),{ref:n}))});e$.displayName="MenuSeparator";var e0=s.forwardRef(function(e,n){var r=e.__scopeMenu,o=(0,c._)(e,["__scopeMenu"]),t=es(r);return(0,j.jsx)(b.i3,(0,i._)((0,a._)({},t,o),{ref:n}))});e0.displayName="MenuArrow";var e1="MenuSub",e2=(0,l._)(ec(e1),2),e9=e2[0],e5=e2[1],e3=function(e){var n=e.__scopeMenu,r=e.children,o=e.open,t=e.onOpenChange,u=e_(e1,n),c=es(n),d=(0,l._)(s.useState(null),2),f=d[0],p=d[1],_=(0,l._)(s.useState(null),2),v=_[0],h=_[1],m=(0,R.c)(t);return s.useEffect(function(){return!1===u.open&&m(!1),function(){return m(!1)}},[u.open,m]),(0,j.jsx)(b.bL,(0,i._)((0,a._)({},c),{children:(0,j.jsx)(ep,{scope:n,open:void 0!==o&&o,onOpenChange:m,content:v,onContentChange:h,children:(0,j.jsx)(e9,{scope:n,contentId:(0,x.B)(),triggerId:(0,x.B)(),trigger:f,onTriggerChange:p,children:r})})}))};e3.displayName=e1;
1var e7="MenuSubTrigger",e4=s.forwardRef(function(e,n){var r=e_(e7,e.__scopeMenu),o=em(e7,e.__scopeMenu),t=e5(e7,e.__scopeMenu),u=eI(e7,e.__scopeMenu),c=s.useRef(null),l=u.pointerGraceTimerRef,p=u.onPointerGraceIntentChange,_={__scopeMenu:e.__scopeMenu},v=s.useCallback(function(){c.current&&window.clearTimeout(c.current),c.current=null},[]);return s.useEffect(function(){return v},[v]),s.useEffect(function(){var e=l.current;return function(){window.clearTimeout(e),p(null)}},[l,p]),(0,j.jsx)(eg,(0,i._)((0,a._)({asChild:!0},_),{children:(0,j.jsx)(eL,(0,i._)((0,a._)({id:t.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":t.contentId,"data-state":ne(r.open)},e),{ref:(0,f.t)(n,t.onTriggerChange),onClick:function(n){var o;null==(o=e.onClick)||o.call(e,n),e.disabled||n.defaultPrevented||(n.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,d.mK)(e.onPointerMove,no(function(n){u.onItemEnter(n),!n.defaultPrevented&&(e.disabled||r.open||c.current||(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(function(){r.onOpenChange(!0),v()},100)))})),onPointerLeave:(0,d.mK)(e.onPointerLeave,no(function(e){v();var n=null==(o=r.content)?void 0:o.getBoundingClientRect();if(n){var o,t,a=null==(t=r.content)?void 0:t.dataset.side,i="right"===a,c=n[i?"left":"right"],s=n[i?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:c,y:n.top},{x:s,y:n.top},{x:s,y:n.bottom},{x:c,y:n.bottom}],side:a}),window.clearTimeout(l.current),l.current=window.setTimeout(function(){return u.onPointerGraceIntentChange(null)},300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,d.mK)(e.onKeyDown,function(n){var t,a=""!==u.searchRef.current;e.disabled||a&&" "===n.key||ee[o.dir].includes(n.key)&&(r.onOpenChange(!0),null==(t=r.content)||t.focus(),n.preventDefault())})}))}))});e4.displayName=e7;var e8="MenuSubContent",e6=s.forwardRef(function(e,n){var r=eb(eD,e.__scopeMenu),o=e.forceMount,t=void 0===o?r.forceMount:o,u=(0,c._)(e,["forceMount"]),l=e_(eD,e.__scopeMenu),p=em(eD,e.__scopeMenu),_=e5(e8,e.__scopeMenu),v=s.useRef(null),h=(0,f.s)(n,v);return(0,j.jsx)(et.Provider,{scope:e.__scopeMenu,children:(0,j.jsx)(D.C,{present:t||l.open,children:(0,j.jsx)(et.Slot,{scope:e.__scopeMenu,children:(0,j.jsx)(eK,(0,i._)((0,a._)({id:_.contentId,"aria-labelledby":_.triggerId},u),{ref:h,align:"start",side:"rtl"===p.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:function(e){var n;p.isUsingKeyboardRef.current&&(null==(n=v.current)||n.focus()),e.preventDefault()},onCloseAutoFocus:function(e){return e.preventDefault()},onFocusOutside:(0,d.mK)(e.onFocusOutside,function(e){e.target!==_.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,d.mK)(e.onEscapeKeyDown,function(e){p.onClose(),e.preventDefault()}),onKeyDown:(0,d.mK)(e.onKeyDown,function(e){var n,r=e.currentTarget.contains(e.target),o=en[p.dir].includes(e.key);r&&o&&(l.onOpenChange(!1),null==(n=_.trigger)||n.focus(),e.preventDefault())})}))})})})});function ne(e){return e?"open":"closed"}function nn(e){return"indeterminate"===e}function nr(e){return nn(e)?"indeterminate":e?"checked":"unchecked"}function no(e){return function(n){return"mouse"===n.pointerType?e(n):void 0}}e6.displayName=e8;var nt="DropdownMenu",nu=(0,l._)((0,p.A)(nt,[el]),2),na=nu[0];nu[1];var ni=el(),nc=(0,l._)(na(nt),2),nl=nc[0],ns=nc[1],nd=function(e){var n=e.__scopeDropdownMenu,r=e.children,o=e.dir,t=e.open,u=e.defaultOpen,c=e.onOpenChange,d=e.modal,f=void 0===d||d,p=ni(n),v=s.useRef(null),h=(0,l._)((0,_.i)({prop:t,defaultProp:null!=u&&u,onChange:c,caller:nt}),2),m=h[0],w=h[1];return(0,j.jsx)(nl,{scope:n,triggerId:(0,x.B)(),triggerRef:v,contentId:(0,x.B)(),open:m,onOpenChange:w,onOpenToggle:s.useCallback(function(){return w(function(e){return!e})},[w]),modal:f,children:(0,j.jsx)(ew,(0,i._)((0,a._)({},p),{open:m,onOpenChange:w,dir:o,modal:f,children:r}))})};nd.displayName=nt;var nf="DropdownMenuTrigger",np=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=e.disabled,t=void 0!==o&&o,u=(0,c._)(e,["__scopeDropdownMenu","disabled"]),l=ns(nf,r),s=ni(r);return(0,j.jsx)(eg,(0,i._)((0,a._)({asChild:!0},s),{children:(0,j.jsx)(v.sG.button,(0,i._)((0,a._)({type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":t?"":void 0,disabled:t},u),{ref:(0,f.t)(n,l.triggerRef),onPointerDown:(0,d.mK)(e.onPointerDown,function(e){!t&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,d.mK)(e.onKeyDown,function(e){!t&&(["Enter"," "].includes(e.ke
1y)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})}))}))});np.displayName=nf;var n_=function(e){var n=e.__scopeDropdownMenu,r=(0,c._)(e,["__scopeDropdownMenu"]),o=ni(n);return(0,j.jsx)(eC,(0,a._)({},o,r))};n_.displayName="DropdownMenuPortal";var nv="DropdownMenuContent",nh=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ns(nv,r),u=ni(r),l=s.useRef(!1);return(0,j.jsx)(ek,(0,i._)((0,a._)({id:t.contentId,"aria-labelledby":t.triggerId},u,o),{ref:n,onCloseAutoFocus:(0,d.mK)(e.onCloseAutoFocus,function(e){var n;l.current||null==(n=t.triggerRef.current)||n.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,d.mK)(e.onInteractOutside,function(e){var n=e.detail.originalEvent,r=0===n.button&&!0===n.ctrlKey,o=2===n.button||r;(!t.modal||o)&&(l.current=!0)}),style:(0,a._)({},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)"})}))});nh.displayName=nv;var nm=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eF,(0,i._)((0,a._)({},t,o),{ref:n}))});nm.displayName="DropdownMenuGroup";var nw=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eP,(0,i._)((0,a._)({},t,o),{ref:n}))});nw.displayName="DropdownMenuLabel";var ng=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eN,(0,i._)((0,a._)({},t,o),{ref:n}))});ng.displayName="DropdownMenuItem";var ny=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eG,(0,i._)((0,a._)({},t,o),{ref:n}))});ny.displayName="DropdownMenuCheckboxItem";var nM=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eH,(0,i._)((0,a._)({},t,o),{ref:n}))});nM.displayName="DropdownMenuRadioGroup";var nx=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eZ,(0,i._)((0,a._)({},t,o),{ref:n}))});nx.displayName="DropdownMenuRadioItem";var nb=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(eQ,(0,i._)((0,a._)({},t,o),{ref:n}))});nb.displayName="DropdownMenuItemIndicator";var nC=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(e$,(0,i._)((0,a._)({},t,o),{ref:n}))});nC.displayName="DropdownMenuSeparator",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(e0,(0,i._)((0,a._)({},t,o),{ref:n}))}).displayName="DropdownMenuArrow";var nD=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(e4,(0,i._)((0,a._)({},t,o),{ref:n}))});nD.displayName="DropdownMenuSubTrigger";var nR=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,o=(0,c._)(e,["__scopeDropdownMenu"]),t=ni(r);return(0,j.jsx)(e6,(0,i._)((0,a._)({},t,o),{ref:n,style:(0,a._)({},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)"})}))});nR.displayName="DropdownMenuSubContent";var nj=nd,nI=np,nk=n_,nE=nh,nS=nm,nO=nw,nK=ng,nF=ny,nP=nM,nT=nx,nA=nb,nN=nC,nL=function(e){var n=e.__scopeDropdownMenu,r=e.children,o=e.open,t=e.onOpenChange,u=e.defaultOpen,c=ni(n),s=(0,l._)((0,_.i)({prop:o,defaultProp:null!=u&&u,onChange:t,caller:"DropdownMenuSub"}),2),d=s[0],f=s[1];return(0,j.jsx)(e3,(0,i._)((0,a._)({},c),{open:d,onOpenChange:f,children:r}))},nG=nD,nB=nR}}]);

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.