1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,281640,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(300725),i=e.i(334171),r=e.i(880934),o=e.i(600157),s=e.i(917587);let a=t.forwardRef(function(e,t){let{render:a,className:u,style:l,...c}=e,{open:p,transitionStatus:d}=(0,i.useNavigationMenuRootContext)(),{arrowRef:g,side:f,align:v,arrowUncentered:h,arrowStyles:C}=(0,n.useNavigationMenuPositionerContext)();return(0,o.useRenderElement)("div",e,{state:{open:p,side:f,align:v,uncentered:h},ref:[t,g],props:[{style:C,"aria-hidden":!0},(0,s.getDisabledMountTransitionStyles)(d),c],stateAttributesMapping:r.popupStateMapping})});e.s(["NavigationMenuArrow",0,a])},869756,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(600157),i=e.i(334171),r=e.i(862119);let o={...e.i(880934).popupStateMapping,...r.transitionStatusMapping},s=t.forwardRef(function(e,t){let{render:r,className:s,style:a,...u}=e,{open:l,mounted:c,transitionStatus:p}=(0,i.useNavigationMenuRootContext)();return(0,n.useRenderElement)("div",e,{state:{open:l,transitionStatus:p},ref:t,props:[{role:"presentation",hidden:!c,style:{userSelect:"none",WebkitUserSelect:"none"}},u],stateAttributesMapping:o})});e.s(["NavigationMenuBackdrop",0,s])},166779,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(511387),i=e.i(915840),r=e.i(817983),o=e.i(559525),s=e.i(272557),a=e.i(386413),u=e.i(808681),l=e.i(334171),c=e.i(547942),p=e.i(451090),d=e.i(299914),g=e.i(862119),f=e.i(678636),v=e.i(880934),h=e.i(791657);let C={...v.popupStateMapping,...g.transitionStatusMapping,activationDirection:e=>e?{"data-activation-direction":e}:null},M=t.forwardRef(function(e,g){let{render:v,className:M,style:N,keepMounted:x=!1,...P}=e,{mounted:m,viewportElement:y,value:E,activationDirection:R,currentContentRef:b,viewportTargetElement:S}=(0,l.useNavigationMenuRootContext)(),{value:T}=(0,c.useNavigationMenuItemContext)(),w=(0,l.useNavigationMenuTreeContext)(),I=m&&E===T,O=t.useRef(null),[A,D]=t.useState(!1),[F,V]=t.useState(!1),{mounted:H,setMounted:k,transitionStatus:j}=(0,p.useTransitionStatus)(I);H&&!m&&k(!1),(0,d.useOpenChangeComplete)({ref:O,open:I,onComplete(){I||k(!1)}}),(0,i.useIsoLayoutEffect)(()=>{I&&O.current&&(b.current=O.current)},[I,b]);let L={open:I,transitionStatus:j,activationDirection:R},W=(0,r.useStableCallback)(e=>{e&&I&&(b.current=e)}),_={onFocus(e){let t=(0,u.getTarget)(e.nativeEvent);t?.hasAttribute("data-base-ui-focus-guard")||V(!0)},onBlur(e){(0,u.contains)(e.currentTarget,e.relatedTarget)||V(!1)}},B=!I&&H?{style:{position:"absolute",top:0,left:0},inert:(0,o.inertValue)(!F),..._}:_,z=S||y,$=x&&!H,G=x&&!z&&!A;return(x&&z&&!A&&D(!0),G)?(0,h.jsx)(f.CompositeRoot,{render:v,className:M,style:N,state:L,refs:[g],props:[B,{hidden:!0},P],stateAttributesMapping:C}):z&&(H||x)?n.createPortal((0,h.jsx)(a.FloatingNode,{id:w,children:(0,h.jsx)(f.CompositeRoot,{render:v,className:M,style:N,state:L,refs:[g,O,W],props:[B,$?{hidden:!0}:s.EMPTY_OBJECT,P],stateAttributesMapping:C})}),z):null});e.s(["NavigationMenuContent",0,M])},395300,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(600157),i=e.i(334171),r=e.i(880934),o=e.i(547942);let s=t.forwardRef(function(e,t){let{render:s,className:a,style:u,...l}=e,{value:c}=(0,o.useNavigationMenuItemContext)(),{open:p,value:d}=(0,i.useNavigationMenuRootContext)();return(0,n.useRenderElement)("span",e,{state:{open:p&&d===c},ref:t,props:[{"aria-hidden":!0,children:"â¼"},l],stateAttributesMapping:r.triggerOpenStateMapping})});e.s(["NavigationMenuIcon",0,s])},913492,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(600157),i=e.i(547942),r=e.i(816686),o=e.i(791657);let s=t.forwardRef(function(e,s){let{render:a,className:u,style:l,value:c,...p}=e,d=(0,r.useBaseUiId)(),g=c??d,f=(0,n.useRenderElement)("li",e,{ref:s,props:p}),v=t.useMemo(()=>({value:g}),[g]);return(0,o.jsx)(i.NavigationMenuItemContext.Provider,{value:v,children:f})});e.s(["NavigationMenuItem",0,s])},547942,e=>{"use strict";e.i(51541);var t=e.i(605801),n=e.i(84750);let i=n.createContext(void 0);e.s(["NavigationMenuItemContext",0,i,"useNavigationMenuItemContext",0,function(){let e=n.useContext(i);if(!e)throw Error((0,t.default)(39));return e}])},284520,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(386413),i=e.i(334171),r=e.i(716486),o=e.i(502089),s=e.i(846372),a=e.i(869941),u=e.i(791657);let l=t.forwardRef(function(e,t){let{className:l,render:c,active:p=!1,closeOnClick:d=!1,style:g,...f}=e,{setValue:v,popupElement:h,positionerElement:C,rootRef:M}=(0,i.useNavigationMenuRootContext)(),N=(0,i.useNavigationMenuTreeContext)(),x=(0,n.useFloatingTree)();return(0,u.jsx)(o.CompositeItem,{tag:"a",render:c,className:l,style:g,state:{active:p},refs:[t],props:[{"aria-current":p?"page":void 0,tabIndex:void 0,onClick(e){d&&v(null,(0,s.createChangeEventDetails)(a.REASONS.linkPress,e.nativeEvent))},onBlur(e){C&&h&&(0,r.isOutsideMenuEvent)({currentTarget:e.currentTarget,relatedTarget:e.relatedTarget},{popupElement:h,rootRef:M,tree:x,nodeId:N})&&v(null,(0,s.createChangeEventDetails)(a.REASONS.focusOut,e.nativeEvent))}},f]})});e.s(["NavigationMenuLink",0,l])},223845,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(272557),i=e.i(9455),r=e.i(776760),o=e.i(808681),s=e.i(678636),a=e.i(334171),u=e.i(371473),l=e.i(964767),c=e.i(422789),p=e.i(600157),d=e.i(791657);let g=t.forwardRef(function(e,g){let{render:f,className:v,style:h,...C}=e,M=(0,a.useNavigationMenuTreeContext)(),{orientation:N,open:x,floatingRootContext:P,positionerElement:m,value:y,closeDelay:E,viewportElement:R,nested:b}=(0,a.useNavigationMenuRootContext)(),S=t.useMemo(()=>(0,c.getEmptyRootContext)(),[]),T=P||S;(0,r.useHoverFloatingInteraction)(T,{enabled:!!P&&(null!=m||null!=R||null==y),closeDelay:E,nodeId:M});let w=(0,i.useDismiss)(T,{enabled:null!=m||null==y,outsidePressEvent:"intentional",outsidePress(e){let t=(0,o.getTarget)(e);return null===t?.closest(`[${u.NAVIGATION_MENU_TRIGGER_IDENTIFIER}]`)}}),I=P?w:void 0,O={open:x},A=b?n.EMPTY_OBJECT:{onKeyDown(e){("horizontal"===N&&("ArrowLeft"===e.key||"ArrowRight"===e.key)||"vertical"===N&&("ArrowUp"===e.key||"ArrowDown"===e.key))&&e.stopPropagation()}},D=[I?.floating||n.EMPTY_OBJECT,A,C],F=(0,p.useRenderElement)("ul",e,{state:O,ref:g,props:D,enabled:b});return b?(0,d.jsx)(l.NavigationMenuDismissContext.Provider,{value:I,children:F}):(0,d.jsx)(l.NavigationMenuDismissContext.Provider,{value:I,children:(0,d.jsx)(s.CompositeRoot,{render:f,className:v,style:h,state:O,refs:[g],props:D,loopFocus:!1,orientation:N,tag:"ul"})})});e.s(["NavigationMenuList",0,g])},578411,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(600157),i=e.i(334171),r=e.i(862119),o=e.i(816686),s=e.i(300725),a=e.i(580560),u=e.i(880934),l=e.i(917587);let c={...u.popupStateMapping,...r.transitionStatusMapping},p=t.forwardRef(function(e,t){let{render:r,className:u,style:p,id:d,...g}=e,{open:f,transitionStatus:v,setPopupElement:h}=(0,i.useNavigationMenuRootContext)(),C=(0,s.useNavigationMenuPositionerContext)(),M=(0,a.useDirection)(),N=(0,o.useBaseUiId)(d),x={open:f,transitionStatus:v,side:C.side,align:C.align,anchorHidden:C.anch
1orHidden},P="left"===C.side;P="rtl"===M?P||"inline-end"===C.side:P||"inline-start"===C.side;let m="top"===C.side||P;return(0,n.useRenderElement)("nav",e,{state:x,ref:[t,h],props:[{id:N,tabIndex:-1,style:m?{position:"absolute",["top"===C.side?"bottom":"top"]:"0",[P?"right":"left"]:"0"}:{}},(0,l.getDisabledMountTransitionStyles)(v),g],stateAttributesMapping:c})});e.s(["NavigationMenuPopup",0,p])},444606,e=>{"use strict";var t;let n=((t={}).popupWidth="--popup-width",t.popupHeight="--popup-height",t);e.s(["NavigationMenuPopupCssVars",0,n])},736006,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(100633),i=e.i(334171),r=e.i(595409),o=e.i(791657);let s=t.forwardRef(function(e,t){let{keepMounted:s=!1,...a}=e,{mounted:u}=(0,i.useNavigationMenuRootContext)();return u||s?(0,o.jsx)(r.NavigationMenuPortalContext.Provider,{value:s,children:(0,o.jsx)(n.FloatingPortal,{ref:t,...a})}):null});e.s(["NavigationMenuPortal",0,s])},595409,e=>{"use strict";e.i(51541);var t=e.i(605801),n=e.i(84750);let i=n.createContext(void 0);e.s(["NavigationMenuPortalContext",0,i,"useNavigationMenuPortalContext",0,function(){let e=n.useContext(i);if(void 0===e)throw Error((0,t.default)(40));return e}])},786938,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(511387),i=e.i(454798),r=e.i(891539),o=e.i(479995),s=e.i(995992),a=e.i(950903),u=e.i(422789),l=e.i(334171),c=e.i(595409),p=e.i(310059),d=e.i(300725),g=e.i(925162),f=e.i(929431),v=e.i(364573),h=e.i(791657);let C=(0,u.getEmptyRootContext)(),M=t.forwardRef(function(e,u){let{open:M,mounted:N,positionerElement:x,setPositionerElement:P,floatingRootContext:m,nested:y,transitionStatus:E}=(0,l.useNavigationMenuRootContext)(),{className:R,render:b,anchor:S,positionMethod:T="absolute",side:w="bottom",align:I="center",sideOffset:O=0,alignOffset:A=0,collisionBoundary:D="clipping-ancestors",collisionPadding:F=5,collisionAvoidance:V=y?g.POPUP_COLLISION_AVOIDANCE:g.DROPDOWN_COLLISION_AVOIDANCE,arrowPadding:H=5,sticky:k=!1,disableAnchorTracking:j=!1,style:L,...W}=e,_=(0,c.useNavigationMenuPortalContext)(),B=(0,l.useNavigationMenuTreeContext)(),z=(0,s.useTimeout)(),$=(0,s.useTimeout)(),[G,U]=t.useState(M),q=t.useRef(M),K=t.useRef(null),Y=t.useRef(null);t.useEffect(()=>{if(x)return(0,r.mergeCleanups)((0,i.addEventListener)(x,"focusin",e,!0),(0,i.addEventListener)(x,"focusout",e,!0));function e(e){x&&(0,a.isOutsideEvent)(e)&&("focusin"===e.type?a.enableFocusInside:a.disableFocusInside)(x)}},[x]);let J=(m||C).useState("domReferenceElement"),Q=(0,p.useAnchorPositioning)({anchor:S??J??Y,positionMethod:T,mounted:N,side:w,sideOffset:O,align:I,alignOffset:A,arrowPadding:H,collisionBoundary:D,collisionPadding:F,sticky:k,disableAnchorTracking:j,keepMounted:_,floatingRootContext:m,collisionAvoidance:V,nodeId:B,adaptiveOrigin:f.adaptiveOrigin}),X={open:M,side:Q.side,align:Q.align,anchorHidden:Q.anchorHidden,instant:G};t.useEffect(()=>{if(!M)return;q.current&&z.start(0,()=>{q.current=!1,$.isStarted()||U(!1)});let e=(0,o.ownerWindow)(x);return(0,i.addEventListener)(e,"resize",function(){n.flushSync(()=>{U(!0)}),$.start(100,()=>{U(!1)})})},[M,z,$,x]);let Z=(0,v.usePositioner)(e,X,{styles:Q.positionerStyles,transitionStatus:E,props:W,refs:[u,P,K],hidden:!N,inert:!M});return(0,h.jsx)(d.NavigationMenuPositionerContext.Provider,{value:Q,children:Z})});e.s(["NavigationMenuPositioner",0,M])},300725,e=>{"use strict";e.i(51541);var t=e.i(605801),n=e.i(84750);let i=n.createContext(void 0);e.s(["NavigationMenuPositionerContext",0,i,"useNavigationMenuPositionerContext",0,function(e=!1){let r=n.useContext(i);if(!r&&!e)throw Error((0,t.default)(42));return r}])},83729,e=>{"use strict";var t;let n=((t={}).availableWidth="--available-width",t.availableHeight="--available-height",t.anchorWidth="--anchor-width",t.anchorHeight="--anchor-height",t.transformOrigin="--transform-origin",t.positionerWidth="--positioner-width",t.positionerHeight="--positioner-height",t);e.s(["NavigationMenuPositionerCssVars",0,n])},575377,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(880269),i=e.i(78945),r=e.i(817983),o=e.i(915840),s=e.i(507321),a=e.i(386413),u=e.i(808681),l=e.i(600157),c=e.i(334171),p=e.i(299914),d=e.i(451090),g=e.i(869941),f=e.i(83729),v=e.i(76112),h=e.i(791657);let C=new Set([g.REASONS.triggerHover,g.REASONS.outsidePress,g.REASONS.focusOut]),M=t.forwardRef(function(e,l){let{defaultValue:M=null,value:x,onValueChange:P,actionsRef:m,delay:y=50,closeDelay:E=50,orientation:R="horizontal",onOpenChangeComplete:b}=e,S=null!=(0,a.useFloatingParentNodeId)(),T=(0,c.useNavigationMenuRootContext)(!0),[w,I]=(0,i.useControlled)({controlled:x,default:M,name:"NavigationMenu",state:"value"}),O=null!=w,A=t.useRef(void 0),D=t.useRef(null),[F,V]=t.useState(null),[H,k]=t.useState(null),[j,L]=t.useState(null),[W,_]=t.useState(null),[B,z]=t.useState(null),[$,G]=t.useState(void 0),[U,q]=t.useState(!1),K=t.useRef(null),Y=t.useRef(null),J=t.useRef(null),Q=t.useRef(null),X=t.useRef(null),Z=t.useRef(null),ee=t.useRef({abortController:null,owner:null}),{mounted:et,setMounted:en,transitionStatus:ei}=(0,d.useTransitionStatus)(O);(0,o.useIsoLayoutEffect)(()=>{let e,t;if(O||!F||!H)return;let n=(e=parseFloat(F.style.getPropertyValue(f.NavigationMenuPositionerCssVars.positionerWidth))||0,t=parseFloat(F.style.getPropertyValue(f.NavigationMenuPositionerCssVars.positionerHeight))||0,e<=0||t<=0?null:{width:e,height:t});n&&(0,v.setSharedFixedSize)(H,F,n.width,n.height)},[O,H,F]),t.useEffect(()=>{q(!1)},[w]);let er=(0,r.useStableCallback)((e,t)=>{null==e&&(A.current=t.reason),e!==w&&P?.(e,t),!t.isCanceled&&(null==e&&(z(null),G(void 0)),I(e),S&&null==e&&t.reason===g.REASONS.linkPress&&T&&T.setValue(null,t))}),eo=(0,r.useStableCallback)(()=>{let e=(0,s.ownerDocument)(D.current),t=(0,u.activeElement)(e);!(A.current&&C.has(A.current))&&(0,n.isHTMLElement)(K.current)&&(t===(0,s.ownerDocument)(H).body||(0,u.contains)(H,t))&&H&&(K.current.focus({preventScroll:!0}),K.current=void 0),en(!1),b?.(!1),z(null),G(void 0),Y.current=null,A.current=void 0});t.useImperativeHandle(m,()=>({unmount:eo}),[eo]),(0,p.useOpenChangeComplete)({enabled:!m,open:O,ref:{current:H},onComplete(){O||eo()}}),(0,p.useOpenChangeComplete)({enabled:!m,open:O,ref:{current:W},onComplete(){O||eo()}});let es=O?B:null,ea=t.useMemo(()=>({open:O,value:w,setValue:er,mounted:et,transitionStatus:ei,positionerElement:F,setPositionerElement:V,popupElement:H,setPopupElement:k,viewportElement:j,setViewportElement:L,viewportTargetElement:W,setViewportTargetElement:_,activationDirection:es,setActivationDirection:z,floatingRootContext:$,setFloatingRootContext:G,currentContentRef:Y,nested:S,rootRef:D,beforeInsideRef:J,afterInsideRef:Q,beforeOutsideRef:X,afterOutsideRef:Z,prevTriggerElementRef:K,popupAutoSizeResetRef:ee,delay:y,closeDelay:E,orientation:R,viewportInert:U,setViewportInert:q}),[O,w,er,et,ei,F,H,j,W,es,$,S,y,E,R,U]),eu=(0,h.jsx)(c.NavigationMenuRootContext.Provider,{value:ea,children:(0,h.jsx)(N,{componentProps:e,forwardedRef:l,children:e.children})});return S?eu:(0,h.jsx)(a.FloatingTree,{children:eu})});function N(e){let{className:t,render:n,defaultValue:i,value:r,onValueChange:o,actionsRef:s,delay:u,closeDelay:p,orientation:d,onOpenChangeComplete:g,style:f,...v}=e.componentProps,C=(0,a.useFloatingNodeId)(),{rootRef:M,nested:N,open:x}=(0,c.useNavigationMenuRootContext)(),P=(0,l.useRenderElement)(N?"div":"nav",e.componentProps,{state:{open:x,nested:N},ref:[e.forwardedRef,M],props:v});return(0,h.jsx)(c.NavigationMenuTreeContext.Provider,{value:C,children:(0,h.jsx)(a.FloatingNode,{id:C,children:P})})}e.s(["NavigationMenuRoot",0,M])},334171,e=>{"use strict";e.i(51541);var t=e.i(605801),n=e.i(84750);let i=n.createContext(void 0),r=n.createContext(void 0);e.s(["NavigationMenuRootContext",0,i,"NavigationMenuTreeContext",0,r,"useNavigationMenuRootContext",0,function(e){let r=n.useContext(i);if(void 0===r&&!e)throw Error((0,t.default)(41));return r},"useNavigationMenuTreeContext",0,function(){return n.useContext(r)}])},346852,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(511387),i=e.i(880269),r=e.i(454798),o=e.i(915840),s=e.i(479995),a=e.i(817983),u=e.i(995992),l=e.i(840409),c=e.i(146631),p=e.i(272557),d=e.i(596080),g=e.i(780570),f=e.i(293762),v=e.i(386413),h=e.i(530675),C=e.i(498509),M=e.i(808681),N=e.i(950903),x=e.i(711700),P=e.i(547942),m=e.i(334171),y=e.i(846372),E=e.i(869941),R=e.i(925162),b=e.i(36878),S=e.i(880934),T=e.i(862119),w=e.i(716486),I=e.i(502089),O=e.i(264776),A=e.i(588346),D=e.i(594429),F=e.i(371473),V=e.i(76112),H=e.i(964767),k=e.i(444606),j=e.i(83729),L=e.i(101130),W=e.i(580560),_=e.i(791657);let B={width:0,height:0},z=t.forwardRef(function(e,z){let{render:$,className:G,style:U,nativeButton:q=!0,disabled:K,...Y}=e,{value:J,setValue:Q,mounted:X,open:Z,positionerElement:ee,setActivationDirection:et,setFloatingRootContext:en,popupElement:ei,viewportElement:er,transitionStatus:eo,rootRef:es,beforeOutsideRef:ea,afterOutsideRef:eu,afterInsideRef:el,beforeInsideRef:ec,prevTriggerElementRef:ep,popupAutoSizeResetRef:ed,currentContentRef:eg,delay:ef,closeDelay:ev,orientation:eh,setViewportInert:eC,nested:eM}=(0,m.useNavigationMenuRootContext)(),{value:eN}=(0,P.useNavigationMenuItemContext)(),ex=(0,m.useNavigationMenuTreeContext)(),eP=(0,v.useFloatingTree)(),em=(0,H.useNavigationMenuDismissContext)(),ey=(0,W.useDirection)(),eE=(0,u.useTimeout)(),eR=(0,l.useAnimationFrame)(),eb=(0,l.useAnimationFrame)(),eS=(0,l.useAnimationFrame)(),eT=(0,l.useAnimationFrame)(),[ew,eI]=t.useState(null),[eO,eA]=t.useState(!0),[eD,eF]=t.useState(""),eV=t.useRef(null),eH=t.useRef(!1),ek=t.useRef(B),ej=t.useRef(!1),eL=Z&&J===eN,eW=(0,c.useValueAsRef)(eL),e_=(null!=ee||null==J)&&!K,eB=ee||er,ez=(null!=eB||null==J)&&!K,e$=(0,A.useAnimationsFinished)(ei,!1,!1),eG=t.useCallback(e=>{eV.current=e,eI(e)},[]),eU=(0,a.useStableCallback)((e=!1)=>{(e||ed.current.owner===eN)&&(ed.current.abortController?.abort(),ed.current.abortController=null,ed.current.owner=null)});function eq(){ei&&(ei.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,"auto"),ei.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,"auto"))}function eK(){ei&&ee&&(ei.style.removeProperty(k.NavigationMenuPopupCssVars.popupWidth),ei.style.removeProperty(k.NavigationMenuPopupCssVars.popupHeight),ee.style.removeProperty(j.NavigationMenuPositionerCssVars.positionerWidth),ee.style.removeProperty(j.NavigationMenuPositionerCssVars.positionerHeight))}function eY(){eU(!0);let e=new AbortController;ed.current.abortController=e,ed.current.owner=eN,e$(()=>{ed.current.abortController===e&&ed.current.owner===eN&&(ed.current.abortController=null,ed.current.owner=null,eq())},e.signal)}(0,o.useIsoLayoutEffect)(()=>{eL||(eb.cancel(),eT.cancel(),eU())},[eL,eb,eT,eU]);let eJ=(0,a.useStableCallback)((e,t,n={})=>
1{if(!ei||!ee)return;eU(!0);let{syncPositioner:i=!1}=n;eK();let{width:r,height:o}=(0,D.getCssDimensions)(ei),s=r||ek.current.width,a=o||ek.current.height;(0===t||0===e)&&(e=s,t=a),ei.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,`${e}px`),ei.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,`${t}px`),ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerWidth,`${i?e:s}px`),ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerHeight,`${i?t:a}px`),eT.request(()=>{eW.current&&(ei.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,`${s}px`),ei.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,`${a}px`),i&&(ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerWidth,`${s}px`),ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerHeight,`${a}px`)),eY())})}),eQ=(0,a.useStableCallback)((e,t)=>{ei&&ee&&(eT.cancel(),eb.cancel(),eU(!0),0!==e&&0!==t&&((0,V.setSharedFixedSize)(ei,ee,e,t),eb.request(()=>{eb.request(()=>{eK();let{width:n,height:i}=(0,D.getCssDimensions)(ei),r=n||e||ek.current.width,o=i||t||ek.current.height;(0,V.setSharedFixedSize)(ei,ee,e,t),eT.request(()=>{eW.current&&((0,V.setSharedFixedSize)(ei,ee,r,o),eY())})})})))}),eX=(0,a.useStableCallback)(()=>{if(!ei||!ee)return;eT.cancel(),eU(!0),eK();let{width:e,height:t}=(0,D.getCssDimensions)(ei);0!==e&&0!==t&&(ek.current={width:e,height:t},eq(),ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerWidth,`${e}px`),ee.style.setProperty(j.NavigationMenuPositionerCssVars.positionerHeight,`${t}px`))}),eZ=(0,a.useStableCallback)(()=>{if(!ei)return{size:ek.current,syncPositioner:!1};let e=ei.style.getPropertyValue(k.NavigationMenuPopupCssVars.popupWidth),t=ei.style.getPropertyValue(k.NavigationMenuPopupCssVars.popupHeight);return""===e||"auto"===e||""===t||"auto"===t?{size:ek.current,syncPositioner:!1}:{size:{width:ei.offsetWidth||ek.current.width,height:ei.offsetHeight||ek.current.height},syncPositioner:!0}});t.useEffect(()=>{Z||(eE.clear(),eb.cancel(),eS.cancel(),eT.cancel(),eU(!0),ej.current=!1,eF(""))},[eE,Z,eb,eS,eT,eU]),t.useEffect(()=>{X||(ek.current=B)},[X]),(0,o.useIsoLayoutEffect)(()=>{if(!ei||"function"!=typeof ResizeObserver)return;let e=new ResizeObserver(()=>{ek.current={width:ei.offsetWidth,height:ei.offsetHeight}});return e.observe(ei),()=>{e.disconnect()}},[ei]),t.useEffect(()=>{if(!Z||!eL||!ei||!ee)return;let e=(0,s.ownerWindow)(ee),t=(0,r.addEventListener)(e,"resize",function(){eS.cancel(),eS.request(eX)});return()=>{eS.cancel(),t()}},[Z,eL,ei,ee,eS,eX]),t.useEffect(()=>{let e=eg.current;if(!e||!ei||!eL||"function"!=typeof MutationObserver)return;let t=new MutationObserver(()=>{if("starting"===eo||ei.hasAttribute(T.TransitionStatusDataAttributes.startingStyle))return void eX();let{size:e,syncPositioner:t}=eZ();t?eQ(e.width,e.height):eJ(e.width,e.height)});return t.observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["hidden"]}),()=>{t.disconnect()}},[eg,ei,eL,eo,eZ,eQ,eJ,eX]),t.useEffect(()=>(eL&&Z&&ei&&eH.current&&(eH.current=!1,eR.request(()=>{ea.current?.focus()})),()=>{eR.cancel()}),[ea,eR,eL,Z,ei]),(0,o.useIsoLayoutEffect)(()=>{if(eW.current&&Z&&ei){let e=eg.current?.querySelector("[data-nested]")!=null;if("starting"===eo&&e)return eT.request(eX),()=>{eT.cancel()};if(ej.current){ej.current=!1;return}let{width:t,height:n}=(0,D.getCssDimensions)(ei);eJ(t,n)}},[eg,eJ,eW,Z,ei,eT,eX,eo]);let e0=(0,f.useFloatingRootContext)({open:Z,onOpenChange:function(e,t){let i=t.reason===E.REASONS.triggerHover;function r(){i&&(eA(!0),eE.clear(),eE.start(R.PATIENT_CLICK_THRESHOLD,()=>{eA(!1)})),e?Q(eN,t):(Q(null,t),eF(""))}e_&&("touch"!==eD||!i)&&(e||J===eN)&&(i?n.flushSync(r):r())},elements:{reference:ew,floating:eB}}),e1=(0,C.useHoverInteractionSharedState)(e0),e5="touch"!==eD;t.useEffect(()=>{Z||(e0.context.dataRef.current.openEvent=void 0,e1.pointerType=void 0,e1.interactedInside=!1,e1.restTimeoutPending=!1,e1.openChangeTimeout.clear(),e1.restTimeout.clear(),(0,C.clearSafePolygonPointerEventsMutation)(e1))},[e0,e1,Z]);let e7=(0,a.useStableCallback)(()=>eM&&!ee&&eV.current&&eB?function(e,t,n){let i,r,o,s,a,u,l,c;return{placement:(i=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=i.left+i.width/2,s=i.top+i.height/2,a=r.left+r.
1width/2,u=r.top+r.height/2,Math.abs(l=a-o)>=Math.abs(c=u-s)?l>=0?"right":"left":c>=0?"bottom":"top"),elements:{domReference:e,floating:t},nodeId:n}}(eV.current,eB,ex):null);function e4(){return eM&&ee?null:eV.current?.closest("ul")??null}let e8=(0,h.useHoverReferenceInteraction)(e0,{enabled:ez,move:!1,handleClose:(0,d.safePolygon)({blockPointerEvents:e5,getScope:e4}),restMs:X&&ee?0:ef,delay:{close:ev},triggerElementRef:eV,getHandleCloseContext:e7}),e9=t.useMemo(()=>e8?{reference:e8}:void 0,[e8]),e6=(0,g.useClick)(e0,{enabled:e_,stickIfOpen:eO,toggle:eL}),e3=t.useMemo(()=>(0,L.mergeProps)(e6.reference,e9?.reference),[e6.reference,e9]);function e2(e){n.flushSync(()=>{let t=(0,i.isHTMLElement)(e.currentTarget)?e.currentTarget:null,n=ep.current?.getBoundingClientRect();if(X&&n&&ew){let e=ew.getBoundingClientRect(),t=e.left>n.left,i=e.top>n.top;"horizontal"===eh&&e.left!==n.left?et(t?"right":"left"):"vertical"===eh&&e.top!==n.top&&et(i?"down":"up")}if("click"!==e.type&&null!=J&&(e0.context.dataRef.current.openEvent=void 0),("touch"!==eD||"click"===e.type)&&(null!=J&&"keydown"!==e.type&&Q(eN,(0,y.createChangeEventDetails)("mouseenter"===e.type?E.REASONS.triggerHover:E.REASONS.triggerPress,e.nativeEvent)),"mouseenter"===e.type&&e5&&(!eM||!ee)&&eB&&t)){let e=()=>{let e=e4()??t.ownerDocument.body;(0,C.applySafePolygonPointerEventsMutation)(e1,{scopeElement:e,referenceElement:t,floatingElement:eB})};null!=J&&J!==eN?queueMicrotask(e):e()}})}(0,o.useIsoLayoutEffect)(()=>{eL&&(en(e0),ep.current=ew)},[eL,e0,en,ep,ew]);let te=(0,a.useStableCallback)(e=>{if(K)return;if(!ei||!ee)return void e2(e);let{width:t,height:n}=(0,D.getCssDimensions)(ei),i=null!=J&&J!==eN&&("click"===e.type||"touch"!==eD);e2(e),i&&(ej.current=!0),eJ(t,n)});function tt(e){eF(e.pointerType)}let tn={tabIndex:0,onMouseEnter:te,onClick:te,onPointerEnter:tt,onPointerDown:function(e){tt(e),(0,C.clearSafePolygonPointerEventsMutation)(e1)},"aria-expanded":eL,"aria-controls":eL?ei?.id:void 0,[F.NAVIGATION_MENU_TRIGGER_IDENTIFIER]:"",onFocus(){eL&&eC(!1)},onMouseMove(){eH.current=!1},onKeyDown(e){if(eH.current=!0,eM)return;let t="horizontal"===eh&&"ArrowDown"===e.key,n="vertical"===eh&&e.key===("rtl"===ey?"ArrowLeft":"ArrowRight");(t||n)&&(Q(eN,(0,y.createChangeEventDetails)(E.REASONS.listNavigation,e.nativeEvent)),te(e),(0,x.stopEvent)(e))},onBlur(e){ee&&ei&&(0,w.isOutsideMenuEvent)({currentTarget:e.currentTarget,relatedTarget:e.relatedTarget},{popupElement:ei,rootRef:es,tree:eP,nodeId:ex})&&Q(null,(0,y.createChangeEventDetails)(E.REASONS.focusOut,e.nativeEvent))}},{getButtonProps:ti,buttonRef:tr}=(0,O.useButton)({disabled:K,focusableWhenDisabled:!0,native:q});return(0,_.jsxs)(t.Fragment,{children:[(0,_.jsx)(I.CompositeItem,{tag:"button",render:$,className:G,style:U,state:{open:eL},stateAttributesMapping:S.pressableTriggerOpenStateMapping,refs:[z,eG,tr],props:[e3,em?.reference||p.EMPTY_ARRAY,tn,Y,ti]}),eL&&(0,_.jsxs)(t.Fragment,{children:[(0,_.jsx)(b.FocusGuard,{ref:ea,onFocus:e=>{if(eB&&(0,N.isOutsideEvent)(e,eB))ec.current?.focus();else{let e=(0,N.getPreviousTabbable)(ew);e?.focus()}}}),(0,_.jsx)("span",{"aria-owns":er?.id,style:R.ownerVisuallyHidden}),(0,_.jsx)(b.FocusGuard,{ref:eu,onFocus:e=>{if(eB&&(0,N.isOutsideEvent)(e,eB)){n.flushSync(()=>{eC(!1)});let e=el.current||ew;e?.focus()}else{let t=(0,N.getNextTabbable)(ew);eM&&!ee&&eB&&t&&(0,M.contains)(eB,t)&&(t=(0,N.getTabbableAfterElement)(el.current)),t?.focus(),eM&&!ee||(0,M.contains)(es.current,t)||Q(null,(0,y.createChangeEventDetails)(E.REASONS.focusOut,e.nativeEvent))}}})]})]})});e.s(["NavigationMenuTrigger",0,z])},371473,964767,e=>{"use strict";e.s(["NAVIGATION_MENU_TRIGGER_IDENTIFIER",0,"data-base-ui-navigation-menu-trigger"],371473);var t=e.i(84750);let n=t.createContext(void 0);e.s(["NavigationMenuDismissContext",0,n,"useNavigationMenuDismissContext",0,function(){return t.useContext(n)}],964767)},716486,e=>{"use strict";var t=e.i(808681),n=e.i(98981);e.s(["isOutsideMenuEvent",0,function({currentTarget:e,relatedTarget:i},r){let{popupElement:o,rootRef:s,tree:a,nodeId:u}=r,l=a?(0,n.getNodeChildren)(a.nodesRef.current,u).some(e=>(0,t.contains)(e.context?.elements.floating,i)):[];return o?!(0,t.contains)(o,e)&&!(0,t.contains)(o,i)&&!(0,t.contains)(s.current,i)&&!l&&!((0,t.contains)(o,i)&&i?.hasAttribute("data-base-ui-focus-guard")):!(0,t.contains)(s.current,i)&&!l}])},76112,e=>{"use strict";var t=e.i(444606),n=e.i(83729);e.s(["setSharedFixedSize",0,function(e,i,r,o){e.style.setProperty(t.NavigationMenuPopupCssVars.popupWidth,`${r}px`),e.style.setProperty(t.NavigationMenuPopupCssVars.popupHeight,`${o}px`),i.style.setProperty(n.NavigationMenuPositionerCssVars.positionerWidth,`${r}px`),i.style.setProperty(n.NavigationMenuPositionerCssVars.positionerHeight,`${o}px`)}])},647313,e=>{"use strict";e.i(51541);var t=e.i(84750),n=e.i(915840),i=e.i(238280),r=e.i(559525),o=e.i(600157),s=e.i(334171),a=e.i(36878),u=e.i(950903),l=e.i(808681),c=e.i(422789),p=e.i(300725),d=e.i(791657);let g=(0,c.getEmptyRootContext)();function f({children:e}){let{beforeInsideRef:n,beforeOutsideRef:i,afterInsideRef:r,afterOutsideRef:o,positionerElement:l,viewportElement:c,floatingRootContext:g}=(0,s.useNavigationMenuRootContext)(),v=!!(0,p.useNavigationMenuPositionerContext)(!0),h=l||c;return g||v?(0,d.jsxs)(t.Fragment,{children:[(0,d.jsx)(a.FocusGuard,{ref:n,onFocus:e=>
1{h&&(0,u.isOutsideEvent)(e,h)?(0,u.getNextTabbable)(h)?.focus():i.current?.focus()}}),e,(0,d.jsx)(a.FocusGuard,{ref:r,onFocus:e=>{h&&(0,u.isOutsideEvent)(e,h)?(0,u.getPreviousTabbable)(h)?.focus():o.current?.focus()}})]}):e}let v=t.forwardRef(function(e,t){let{render:a,className:u,style:c,children:v,id:h,...C}=e,M=(0,i.useId)(h),{setViewportElement:N,setViewportTargetElement:x,floatingRootContext:P,prevTriggerElementRef:m,viewportInert:y,setViewportInert:E}=(0,s.useNavigationMenuRootContext)(),R=!!(0,p.useNavigationMenuPositionerContext)(!0),b=(P||g).useState("domReferenceElement");(0,n.useIsoLayoutEffect)(()=>{b&&(m.current=b)},[b,m]);let S=(0,o.useRenderElement)("div",e,{ref:[t,N],props:[{id:M,onBlur(e){let t=e.relatedTarget,n=e.currentTarget;t&&!(0,l.contains)(n,t)&&t!==b&&E(!0)},...!R&&y&&{inert:(0,r.inertValue)(!0)},children:R?v:(0,d.jsx)(f,{children:(0,d.jsx)("div",{ref:x,children:v})})},C]});return R?(0,d.jsx)(f,{children:S}):S});e.s(["NavigationMenuViewport",0,v])}]);
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.