1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,654243,e=>{"use strict";var t=e.i(466471),n=e.i(536355),r=e.i(884702),a=e.i(900972),a=a,o=e.i(653668),i=e.i(247835),s=e.i(199978);e.i(741820);var l=e.i(799112),d=e.i(538630),u=e.i(642616),c=e.i(331597),m=e.i(184499),f=e.i(847257),g=e.i(352162),p=e.i(291967),v=e.i(6140),x=e.i(575301),h=e.i(188625),b=e.i(950074),w=e.i(775827),j=e.i(987438),y=e.i(408896),N=e.i(415839),C=e.i(898175),E=e.i(385064),R=e.i(935125),k=e.i(715684),_="NavigationMenu",[P,T,M]=(0,y.createCollection)(_),[S,L,I]=(0,y.createCollection)(_),[A,D]=(0,g.createContextScope)(_,[M,I]),[F,z]=A(_),[H,K]=A(_),O=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,value:o,onValueChange:i,defaultValue:s,delayDuration:l=200,skipDelayDuration:d=300,orientation:u="horizontal",dir:c,...m}=e,[f,g]=r.useState(null),p=(0,h.useComposedRefs)(n,e=>g(e)),w=(0,b.useDirection)(c),j=r.useRef(0),y=r.useRef(0),N=r.useRef(0),[C,E]=r.useState(!0),[R,k]=(0,x.useControllableState)({prop:o,onChange:e=>{let t=d>0;""!==e?(window.clearTimeout(N.current),t&&E(!1)):(window.clearTimeout(N.current),N.current=window.setTimeout(()=>E(!0),d)),i?.(e)},defaultProp:s??"",caller:_}),P=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>k(""),150)},[k]),T=r.useCallback(e=>{window.clearTimeout(y.current),k(e)},[k]),M=r.useCallback(e=>{R===e?window.clearTimeout(y.current):j.current=window.setTimeout(()=>{window.clearTimeout(y.current),k(e)},l)},[R,k,l]);return r.useEffect(()=>()=>{window.clearTimeout(j.current),window.clearTimeout(y.current),window.clearTimeout(N.current)},[]),(0,t.jsx)(U,{scope:a,isRootMenu:!0,value:R,dir:w,orientation:u,rootNavigationMenu:f,onTriggerEnter:e=>{window.clearTimeout(j.current),C?M(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(j.current),P()},onContentEnter:()=>window.clearTimeout(y.current),onContentLeave:P,onItemSelect:e=>{k(t=>t===e?"":e)},onItemDismiss:()=>k(""),children:(0,t.jsx)(v.Primitive.nav,{"aria-label":"Main","data-orientation":u,dir:w,...m,ref:p})})});O.displayName=_;var V="NavigationMenuSub";r.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:o,defaultValue:i,orientation:s="horizontal",...l}=e,d=z(V,r),[u,c]=(0,x.useControllableState)({prop:a,onChange:o,defaultProp:i??"",caller:V});return(0,t.jsx)(U,{scope:r,isRootMenu:!1,value:u,dir:d.dir,orientation:s,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>c(e),onItemSelect:e=>c(e),onItemDismiss:()=>c(""),children:(0,t.jsx)(v.Primitive.div,{"data-orientation":s,...l,ref:n})})}).displayName=V;var U=e=>{let{scope:n,isRootMenu:a,rootNavigationMenu:o,dir:i,orientation:s,children:l,value:d,onItemSelect:u,onItemDismiss:c,onTriggerEnter:m,onTriggerLeave:f,onContentEnter:g,onContentLeave:p}=e,[v,x]=r.useState(null),[h,b]=r.useState(new Map),[w,y]=r.useState(null);return(0,t.jsx)(F,{scope:n,isRootMenu:a,rootNavigationMenu:o,value:d,previousValue:(0,C.usePrevious)(d),baseId:(0,j.useId)(),dir:i,orientation:s,viewport:v,onViewportChange:x,indicatorTrack:w,onIndicatorTrackChange:y,onTriggerEnter:(0,R.useCallbackRef)(m),onTriggerLeave:(0,R.useCallbackRef)(f),onContentEnter:(0,R.useCallbackRef)(g),onContentLeave:(0,R.useCallbackRef)(p),onItemSelect:(0,R.useCallbackRef)(u),onItemDismiss:(0,R.useCallbackRef)(c),onViewportContentChange:r.useCallback((e,t)=>{b(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(P.Provider,{scope:n,children:(0,t.jsx)(H,{scope:n,items:h,children:l})})})},$="NavigationMenuList",W=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=z($,r),i=(0,t.jsx)(v.Primitive.ul,{"data-orientation":o.orientation,...a,ref:n});return(0,t.jsx)(v.Primitive.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,t.jsx)(P.Slot,{scope:r,children:o.isRootMenu?(0,t.jsx)(eu,{asChild:!0,children:i}):i})})});W.displayName=$;var B="NavigationMenuItem",[G,Y]=A(B),q=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,value:o,...i}=e,s=(0,j.useId)(),l=r.useRef(null),d=r.useRef(null),u=r.useRef(null),c=r.useRef(()=>{}),m=r.useRef(!1),f=r.useCallback((e="start")=>{if(l.current){c.current();let t=ef(l.current);t.length&&eg("start"===e?t:t.reverse())}},[]),g=r.useCallback(()=>
1{if(l.current){var e;let t=ef(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),c.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(G,{scope:a,value:o||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:d,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:m,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:g,onContentFocusOutside:g,children:(0,t.jsx)(v.Primitive.li,{...i,ref:n})})});q.displayName=B;var X="NavigationMenuTrigger",J=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,disabled:o,...i}=e,s=z(X,e.__scopeNavigationMenu),l=Y(X,e.__scopeNavigationMenu),d=r.useRef(null),u=(0,h.useComposedRefs)(d,l.triggerRef,n),c=ex(s.baseId,l.value),m=eh(s.baseId,l.value),f=r.useRef(!1),g=r.useRef(!1),x=l.value===s.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.ItemSlot,{scope:a,value:l.value,children:(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(v.Primitive.button,{id:c,disabled:o,"data-disabled":o?"":void 0,"data-state":ev(x),"aria-expanded":x,"aria-controls":m,...i,ref:u,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,()=>{g.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,p.composeEventHandlers)(e.onPointerMove,eb(()=>{o||g.current||l.wasEscapeCloseRef.current||f.current||(s.onTriggerEnter(l.value),f.current=!0)})),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(()=>{o||(s.onTriggerLeave(),f.current=!1)})),onClick:(0,p.composeEventHandlers)(e.onClick,()=>{s.onItemSelect(l.value),g.current=x}),onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===s.dir?"ArrowLeft":"ArrowRight"}[s.orientation];x&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.Root,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===d.current,a=t?.contains(n);(r||!a)&&l.onFocusProxyEnter(r?"start":"end")}}),s.viewport&&(0,t.jsx)("span",{"aria-owns":m})]})]})});J.displayName=X;var Q="navigationMenu.linkSelect",Z=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,active:a,onSelect:o,...i}=e;return(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(v.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...i,ref:n,onClick:(0,p.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(Q,{bubbles:!0,cancelable:!0});if(t.addEventListener(Q,e=>o?.(e),{once:!0}),(0,v.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eo,{bubbles:!0,cancelable:!0});(0,v.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});Z.displayName="NavigationMenuLink";var ee="NavigationMenuIndicator";r.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=z(ee,e.__scopeNavigationMenu),i=!!o.value;return o.indicatorTrack?f.default.createPortal((0,t.jsx)(w.Presence,{present:r||i,children:(0,t.jsx)(et,{...a,ref:n})}),o.indicatorTrack):null}).displayName=ee;var et=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,...o}=e,i=z(ee,a),s=T(a),[l,d]=r.useState(null),[u,c]=r.useState(null),m="horizontal"===i.orientation,f=!!i.value;r.useEffect(()=>{let e=s(),t=e.find(e=>e.value===i.value)?.ref.current;t&&d(t)},[s,i.value]);let g=()=>{l&&c({size:m?l.offsetWidth:l.offsetHeight,offset:m?l.offsetLeft:l.offsetTop})};return ep(l,g),ep(i.indicatorTrack,g),u?(0,t.jsx)(v.Primitive.div,{"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":i.orientation,...o,ref:n,style:{position:"absolute",...m?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`},...o.style}}):null}),en="NavigationMenuContent",er=r.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=z(en,e.__scopeNavigationMenu),i=Y(en,e.__scopeNavigationMenu),s=(0,h.useComposedRefs)(i.contentRef,n),l=i.value===o.value,d={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...a};return o.viewport?(0,t.jsx)(ea,{forceMount:r,...d,ref:s}):(0,t.jsx)(w.Presence,{present:r||l,children:(0,t.jsx)(ei,{"data-state":ev(l),...d,ref:s,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...d.style}})})});er.displayName=en;var ea=r.forwardRef((e,t)=>
1{let{onViewportContentChange:n,onViewportContentRemove:r}=z(en,e.__scopeNavigationMenu);return(0,E.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,E.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),eo="navigationMenu.rootContentDismiss",ei=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,value:o,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:d,onContentFocusOutside:u,...c}=e,m=z(en,a),f=r.useRef(null),g=(0,h.useComposedRefs)(f,n),v=ex(m.baseId,o),x=eh(m.baseId,o),b=T(a),w=r.useRef(null),{onItemDismiss:j}=m;r.useEffect(()=>{let e=f.current;if(m.isRootMenu&&e){let t=()=>{j(),d(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(eo,t),()=>e.removeEventListener(eo,t)}},[m.isRootMenu,e.value,i,j,d]);let y=r.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===m.dir&&e.reverse();let t=e.indexOf(m.value),n=e.indexOf(m.previousValue),r=o===m.value,a=n===e.indexOf(o);if(!r&&!a)return w.current;let i=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(a&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=i,i},[m.previousValue,m.value,m.dir,b,o]);return(0,t.jsx)(eu,{asChild:!0,children:(0,t.jsx)(N.DismissableLayer,{id:x,"aria-labelledby":v,"data-motion":y,"data-orientation":m.orientation,...c,ref:g,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eo,{bubbles:!0,cancelable:!0});f.current?.dispatchEvent(e)},onFocusOutside:(0,p.composeEventHandlers)(e.onFocusOutside,e=>{u();let t=e.target;m.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,p.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=b().some(e=>e.ref.current?.contains(t)),r=m.isRootMenu&&m.viewport?.contains(t);(n||r||!m.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ef(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eg(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:(0,p.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),es="NavigationMenuViewport",el=r.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=!!z(es,e.__scopeNavigationMenu).value;return(0,t.jsx)(w.Presence,{present:r||o,children:(0,t.jsx)(ed,{...a,ref:n})})});el.displayName=es;var ed=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:a,children:o,...i}=e,s=z(es,a),l=(0,h.useComposedRefs)(n,s.onViewportChange),d=K(en,e.__scopeNavigationMenu),[u,c]=r.useState(null),[m,f]=r.useState(null),g=u?u?.width+"px":void 0,x=u?u?.height+"px":void 0,b=!!s.value,j=b?s.value:s.previousValue;return ep(m,()=>{m&&c({width:m.offsetWidth,height:m.offsetHeight})}),(0,t.jsx)(v.Primitive.div,{"data-state":ev(b),"data-orientation":s.orientation,...i,ref:l,style:{pointerEvents:!b&&s.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":x,...i.style},onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(s.onContentLeave)),children:Array.from(d.items).map(([e,{ref:n,forceMount:r,...a}])=>{let o=j===e;return(0,t.jsx)(w.Presence,{present:r||o,children:(0,t.jsx)(ei,{...a,ref:(0,h.composeRefs)(n,e=>{o&&e&&f(e)})})},e)})})}),eu=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=z("FocusGroup",r);return(0,t.jsx)(S.Provider,{scope:r,children:(0,t.jsx)(S.Slot,{scope:r,children:(0,t.jsx)(v.Primitive.div,{dir:o.dir,...a,ref:n})})})}),ec=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],em=r.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=L(r),i=z("FocusGroupItem",r);return(0,t.jsx)(S.ItemSlot,{scope:r,children:(0,t.jsx)(v.Primitive.button,{...a,ref:n,onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...ec].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ec.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eg(t)),e.preventDefault()}})})})});function ef(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eg(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ep(e,t){let n=(0,R.useCallbackRef)(t);(0,E.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function ev(e){return e?"open":"closed"}function ex(e,t){return`${e}-trigger-${t}`}function eh(e,t){return`${e}-content-${t}`}function eb(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}var ew=e.i(294237),ej=e.i(152378),ey=e.i(526683);let eN=r.forwardRef((e,r)=>{let a,o,i,s,l,d,u,c=(0,n.c)(16);c[0]!==e?({className:o,children:a,viewport:s,...i}=e,c[0]=e,c[1]=a,c[2]=o,c[3]=i,c[4]=s):(a=c[1],o=c[2],i=c[3],s=c[4]);let m=void 0===s||s;return c[5]!==o?(l=(0,ey.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",o),c[5]=o,c[6]=l):l=c[6],c[7]!==m?(d=m&&(0,t.jsx)(eP,{}),c[7]=m,c[8]=d):d=c[8],c[9]!==a||c[10]!==i||c[11]!==r||c[12]!==l||c[13]!==d||c[14]!==m?(u=(0,t.jsxs)(O,{ref:r,"data-slot":"navigation-menu","data-viewport":m,role:"navigation",className:l,...i,children:[a,d]}),c[9]=a,c[10]=i,c[11]=r,c[12]=l,c[13]=d,c[14]=m,c[15]=u):u=c[15],u});function eC(e){let r,a,o,i,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(o=(0,ey.cn)("group flex flex-1 list-none items-center justify-center gap-1",r),s[3]=r,s[4]=o):o=s[4],s[5]!==a||s[6]!==o?(i=(0,t.jsx)(W,{"data-slot":"navigation-menu-list",className:o,...a}),s[5]=a,s[6]=o,s[7]=i):i=s[7],i}function eE(e){let r,a,o,i,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(o=(0,ey.cn)("relative",r),s[3]=r,s[4]=o):o=s[4],s[5]!==a||s[6]!==o?(i=(0,t.jsx)(q,{"data-slot":"navigation-menu-item",className:o,...a}),s[5]=a,s[6]=o,s[7]=i):i=s[7],i}eN.displayName=O.displayName;let eR=(0,ew.cva)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground
1/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function ek(e){let r,a,o,i,s,l,d=(0,n.c)(11);return d[0]!==e?({className:a,children:r,...o}=e,d[0]=e,d[1]=r,d[2]=a,d[3]=o):(r=d[1],a=d[2],o=d[3]),d[4]!==a?(i=(0,ey.cn)(eR(),"group",a),d[4]=a,d[5]=i):i=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ej.ChevronDownIcon,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5}),d[6]=s):s=d[6],d[7]!==r||d[8]!==o||d[9]!==i?(l=(0,t.jsxs)(J,{"data-slot":"navigation-menu-trigger",className:i,...o,children:[r," ",s]}),d[7]=r,d[8]=o,d[9]=i,d[10]=l):l=d[10],l}function e_(e){let r,a,o,i,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(o=(0,ey.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-transparent group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",r),s[3]=r,s[4]=o):o=s[4],s[5]!==a||s[6]!==o?(i=(0,t.jsx)(er,{"data-slot":"navigation-menu-content",className:o,...a}),s[5]=a,s[6]=o,s[7]=i):i=s[7],i}function eP(e){let r,a,o,i,s,l=(0,n.c)(9);return l[0]!==e?({className:r,...a}=e,l[0]=e,l[1]=r,l[2]=a):(r=l[1],a=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,ey.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),l[3]=o):o=l[3],l[4]!==r?(i=(0,ey.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-foreground/10 rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-transparent p-0.5 shadow-xl shadow-black/10 ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",r),l[4]=r,l[5]=i):i=l[5],l[6]!==a||l[7]!==i?(s=(0,t.jsx)("div",{className:o,children:(0,t.jsx)(el,{"data-slot":"navigation-menu-viewport",className:i,...a})}),l[6]=a,l[7]=i,l[8]=s):s=l[8],s}function eT(e){let r,a,o,i,s=(0,n.c)(8);return s[0]!==e?({className:r,...a}=e,s[0]=e,s[1]=r,s[2]=a):(r=s[1],a=s[2]),s[3]!==r?(o=(0,ey.cn)("data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-5",r),s[3]=r,s[4]=o):o=s[4],s[5]!==a||s[6]!==o?(i=(0,t.jsx)(Z,{"data-slot":"navigation-menu-link",className:o,...a}
1),s[5]=a,s[6]=o,s[7]=i):i=s[7],i}function eM(e){let r,a=(0,n.c)(2);return a[0]!==e?(r=(0,t.jsx)(ek,{...e}),a[0]=e,a[1]=r):r=a[1],r}function eS(e){let r,a,o,i,l,d,u,c,m,f,g,p,v,x,h=(0,n.c)(28);h[0]!==e?({title:u,description:o,badge:r,children:a,href:i,target:d,...l}=e,h[0]=e,h[1]=r,h[2]=a,h[3]=o,h[4]=i,h[5]=l,h[6]=d,h[7]=u):(r=h[1],a=h[2],o=h[3],i=h[4],l=h[5],d=h[6],u=h[7]);let b=d||"_self";return h[8]!==a?(c=(0,t.jsx)("div",{className:"bg-background ring-foreground/10 relative flex size-10 items-center justify-center rounded border border-transparent shadow-sm ring-1",children:a}),h[8]=a,h[9]=c):c=h[9],h[10]!==r?(m=r&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:r}),h[10]=r,h[11]=m):m=h[11],h[12]!==m||h[13]!==u?(f=(0,t.jsxs)("div",{className:"text-foreground flex items-center gap-2 text-sm font-medium",children:[u,m]}),h[12]=m,h[13]=u,h[14]=f):f=h[14],h[15]!==o?(g=(0,t.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:o}),h[15]=o,h[16]=g):g=h[16],h[17]!==f||h[18]!==g?(p=(0,t.jsxs)("div",{className:"space-y-0.5",children:[f,g]}),h[17]=f,h[18]=g,h[19]=p):p=h[19],h[20]!==i||h[21]!==b||h[22]!==c||h[23]!==p?(v=(0,t.jsx)(eT,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:i,target:b,className:"grid grid-cols-[auto_1fr] gap-3.5",children:[c,p]})}),h[20]=i,h[21]=b,h[22]=c,h[23]=p,h[24]=v):v=h[24],h[25]!==l||h[26]!==v?(x=(0,t.jsx)("li",{...l,children:v}),h[25]=l,h[26]=v,h[27]=x):x=h[27],x}function eL(e){let a,o,i,s,l,d,u=(0,n.c)(14),{items:c}=e;if(u[0]!==c){let e=[],t=null;c.forEach(n=>{"label"===n.type?(t={label:n.title||"",items:[]},e.push(t)):"separator"===n.type?t=null:t?t.items.push(n):(t={label:"",items:[n]},e.push(t))}),a=e.filter(eD),u[0]=c,u[1]=a}else a=u[1];let m=a;u[2]!==m?(o=()=>m.reduce(eA,0),u[2]=m,u[3]=o):o=u[3];let[f,g]=(0,r.useState)(o),p=m[Math.min(f,m.length-1)];return u[4]!==f||u[5]!==m?(i=(0,t.jsx)("ul",{className:"border-foreground
1/5 w-44 shrink-0 space-y-0.5 border-r pr-2",children:m.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("button",{type:"button",onMouseEnter:()=>g(n),onFocus:()=>g(n),className:(0,ey.cn)("w-full rounded-md px-3 py-2 text-left text-sm transition-colors",n===f?"bg-muted text-foreground font-medium":"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:e.label})},n))}),u[4]=f,u[5]=m,u[6]=i):i=u[6],u[7]!==p?.items?(s=p?.items.map(eI),u[7]=p?.items,u[8]=s):s=u[8],u[9]!==s?(l=(0,t.jsx)("ul",{className:"flex-1 space-y-1 self-start",children:s}),u[9]=s,u[10]=l):l=u[10],u[11]!==i||u[12]!==l?(d=(0,t.jsxs)("div",{className:"mt-1 flex gap-3",children:[i,l]}),u[11]=i,u[12]=l,u[13]=d):d=u[13],d}function eI(e,n){return(0,t.jsx)(eS,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",badge:e.badge,children:e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon})},n)}function eA(e,t,n,r){return t.items.length>r[e].items.length?n:e}function eD(e){return e.items.length>0}function eF(e){let f,g,p,v,x,h,b,w,j,y,N,C,E,R,k,_,P,T,M,S,L,I,A,D=(0,n.c)(52),{header:F}=e,z=(0,i.useTranslations)("common.a11y"),[H,K]=(0,r.useState)(!1),[O,V]=(0,r.useState)(!1),U=(0,r.useRef)(!1),$=(0,r.useRef)(null),W=(0,s.usePathname)();D[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{let e=()=>{null==$.current&&($.current=window.requestAnimationFrame(()=>{$.current=null;let e=window.scrollY>50;e!==U.current&&(U.current=e,V(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=$.current&&(window.cancelAnimationFrame($.current),$.current=null)}},g=[],D[0]=f,D[1]=g):(f=D[0],g=D[1]),(0,r.useEffect)(f,g),D[2]!==F.nav?.items||D[3]!==W?(p=()=>(0,t.jsx)(eN,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,t.jsx)(eC,{className:"gap-4",children:F.nav?.items?.map((e,n)=>{let r=e.is_active||!!e.url&&W.endsWith(e.url)||!!e.children?.some(e=>e.url&&W.endsWith(e.url));return e.children&&0!==e.children.length?(0,t.jsxs)(eE,{children:[(0,t.jsxs)(eM,{className:`flex flex-row items-center gap-2 rounded-full! h-auto! border! border-transparent! px-4! py-2.5! text-lg! font-medium tracking-tight whitespace-nowrap transition-colors duration-200 hover:border-border/70! hover:bg-foreground
1/[0.06]! ${r?"border-primary/50! bg-primary/10! text-foreground":""}`,children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon,className:"h-5 w-5"}),e.title,e.badge&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:e.badge})]}),(0,t.jsx)(e_,{className:(0,ey.cn)("origin-top p-0.5","two-column"===e.layout?"min-w-[40rem]":"min-w-2xs"),children:(0,t.jsx)("div",{className:"border-foreground/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",children:"two-column"===e.layout?(0,t.jsx)(eL,{items:e.children??[]}):(0,t.jsx)("ul",{className:"mt-1 space-y-2",children:e.children?.map(eH)})})})]},n):(0,t.jsx)(eT,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:`flex flex-row items-center gap-2 rounded-full! h-auto! border! border-transparent! px-4! py-2.5! text-lg! font-medium tracking-tight whitespace-nowrap transition-colors duration-200 hover:border-border/70! hover:bg-foreground
1/[0.06]! ${r?"border-primary/50! bg-primary/10! text-foreground":""}`,children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon}),e.title,e.badge&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:e.badge})]})},n)})})}),D[2]=F.nav?.items,D[3]=W,D[4]=p):p=D[4];let B=p;D[5]!==F.nav?.items?(v=e=>{let{closeMenu:n}=e;return(0,t.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,t.jsx)(m.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:F.nav?.items?.map((e,r)=>(0,t.jsx)(m.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[e.title,e.badge&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:e.badge})]})}),(0,t.jsx)(m.AccordionContent,{className:"pb-5",children:(0,t.jsx)("ul",{children:e.children?.map((e,r)=>"separator"===e.type?(0,t.jsx)("li",{className:"border-foreground
1/5 mx-4 my-2 border-t"},r):(0,t.jsx)("li",{children:(0,t.jsxs)(s.Link,{href:e.url||"",onClick:n,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-base",children:[e.title,e.badge&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:e.badge})]})]})},r))})})]}):(0,t.jsx)(s.Link,{href:e.url||"",onClick:n,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[e.title,e.badge&&(0,t.jsx)("span",{className:"rounded-full bg-gradient-to-r from-pink-500 to-purple-500 px-2 py-0.5 text-[10px] font-semibold text-white",children:e.badge})]})})},r))})})},D[5]=F.nav?.items,D[6]=v):v=D[6];let G=v,Y=H?"active":"inactive";return D[7]!==O?(x=O&&{"data-scrolled":!0},D[7]=O,D[8]=x):x=D[8],D[9]===Symbol.for("react.memo_cache_sentinel")?(h=(0,ey.cn)("has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-[60] transition-[top] duration-300 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur"),b=(0,ey.cn)("absolute inset-x-0 top-0 z-[60] h-18 border-transparent ring-1 ring-transparent transition-all duration-300","in-data-scrolled:border-foreground
1/5 in-data-scrolled:bg-background/75 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur","lg:inset-x-auto lg:top-0 lg:left-1/2 lg:flex lg:h-auto lg:w-max lg:max-w-[calc(100%-3rem)] lg:-translate-x-1/2 lg:items-center lg:rounded-full lg:border lg:border-border/60 lg:bg-background/70 lg:px-8 lg:shadow-lg lg:shadow-black/5 lg:backdrop-blur-md lg:in-data-scrolled:bg-background/85"),D[9]=h,D[10]=b):(h=D[9],b=D[10]),D[11]!==F.brand?(w=F.brand&&(0,t.jsx)(l.BrandLogo,{brand:F.brand}),D[11]=F.brand,D[12]=w):w=D[12],D[13]!==H?(j=()=>K(!H),D[13]=H,D[14]=j):j=D[14],D[15]!==H||D[16]!==z?(y=z(!0==H?"close_menu":"open_menu"),D[15]=H,D[16]=z,D[17]=y):y=D[17],D[18]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(a.default,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),C=(0,t.jsx)(o.X,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"}),D[18]=N,D[19]=C):(N=D[18],C=D[19]),D[20]!==j||D[21]!==y?(E=(0,t.jsxs)("button",{onClick:j,"aria-label":y,className:"relative z-20 -m-2.5 -me-3 block cursor-pointer p-2.5 lg:hidden",children:[N,C]}),D[20]=j,D[21]=y,D[22]=E):E=D[22],D[23]!==E||D[24]!==w?(R=(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-8 max-lg:h-14 max-lg:w-full max-lg:justify-between max-lg:border-b",children:[w,E]}),D[23]=E,D[24]=w,D[25]=R):R=D[25],D[26]!==B?(k=(0,t.jsx)("div",{className:"hidden flex-1 justify-center lg:flex",children:B()}),D[26]=B,D[27]=k):k=D[27],D[28]!==G||D[29]!==H?(_=H&&(0,t.jsx)(G,{closeMenu:()=>K(!1)}),D[28]=G,D[29]=H,D[30]=_):_=D[30],D[31]!==F.buttons?(P=F.buttons&&F.buttons.map(ez),D[31]=F.buttons,D[32]=P):P=D[32],D[33]!==F.show_locale?(T=F.show_locale?(0,t.jsx)(d.LocaleSelector,{type:"button"}):null,D[33]=F.show_locale,D[34]=T):T=D[34],D[35]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)("div",{className:"flex-1 md:hidden"}),D[35]=M):M=D[35],D[36]!==F.show_sign||D[37]!==F.user_nav?(S=F.show_sign?(0,t.jsx)(u.SignUser,{userNav:F.user_nav}):null,D[36]=F.show_sign,D[37]=F.user_nav,D[38]=S):S=D[38],D[39]!==P||D[40]!==T||D[41]!==S?(L=(0,t.jsx)("div",{className:"mb-6 hidden w-full shrink-0 flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,t.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[P,T,M,S]})}),D[39]=P,D[40]=T,D[41]=S,D[42]=L):L=D[42],D[43]!==R||D[44]!==k||D[45]!==_||D[46]!==L?(I=(0,t.jsx)("div",{className:b,children:(0,t.jsx)("div",{className:"container px-6 lg:mx-0 lg:w-max lg:max-w-none lg:px-2",children:(0,t.jsxs)("div",{className:"relative flex items-center max-lg:flex-wrap max-lg:justify-between lg:w-full lg:gap-12 lg:py-3",children:[R,k,_,L]})})}),D[43]=R,D[44]=k,D[45]=_,D[46]=L,D[47]=I):I=D[47],D[48]!==I||D[49]!==Y||D[50]!==x?(A=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("header",{"data-state":Y,...x,className:h,children:I})}),D[48]=I,D[49]=Y,D[50]=x,D[51]=A):A=D[51],A}function ez(e,n){return(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:(0,ey.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground
1/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon,className:"size-4"}),(0,t.jsx)("span",{children:e.title})]},n)}function eH(e,n){return"separator"===e.type?(0,t.jsx)("li",{className:"border-foreground/5 my-2 border-t"},n):(0,t.jsx)(eS,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",badge:e.badge,children:e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon})},n)}e.s(["Header",()=>eF],654243)}]);
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.