1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{414:(e,t,n)=>{"use strict";n.d(t,{SiteNav:()=>ey});var r=n(4548),o=n(7816),a=n(5596),i=n.n(a),s=n(9133),l=n(2266),u=n(4637),c=n(4729),d=n(1053),v=n(3954),f=n(6387),m=n(4364),p=n(8347),g=n(1976),x=n(3305),h=n(6752),w=n(9869),b=n(7012),y=n(1444),N=n(1148),j=n(6584),R=n(2811),E="NavigationMenu",[C,M,T]=(0,w.N)(E),[k,_,P]=(0,w.N)(E),[A,O]=(0,d.A)(E,[T,P]),[I,L]=A(E),[F,D]=A(E),K=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,onValueChange:i,defaultValue:s,delayDuration:l=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...v}=e,[x,h]=o.useState(null),w=(0,p.s)(t,e=>h(e)),b=(0,g.jH)(d),y=o.useRef(0),N=o.useRef(0),j=o.useRef(0),[R,C]=o.useState(!0),[M,T]=(0,m.i)({prop:a,onChange:e=>{let t=u>0;""!==e?(window.clearTimeout(j.current),t&&C(!1)):(window.clearTimeout(j.current),j.current=window.setTimeout(()=>C(!0),u)),null==i||i(e)},defaultProp:null!=s?s:"",caller:E}),k=o.useCallback(()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>T(""),150)},[T]),_=o.useCallback(e=>{window.clearTimeout(N.current),T(e)},[T]),P=o.useCallback(e=>{M===e?window.clearTimeout(N.current):y.current=window.setTimeout(()=>{window.clearTimeout(N.current),T(e)},l)},[M,T,l]);return o.useEffect(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(N.current),window.clearTimeout(j.current)},[]),(0,r.jsx)(z,{scope:n,isRootMenu:!0,value:M,dir:b,orientation:c,rootNavigationMenu:x,onTriggerEnter:e=>{window.clearTimeout(y.current),R?P(e):_(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),k()},onContentEnter:()=>window.clearTimeout(N.current),onContentLeave:k,onItemSelect:e=>{T(t=>t===e?"":e)},onItemDismiss:()=>T(""),children:(0,r.jsx)(f.sG.nav,{"aria-label":"Main","data-orientation":c,dir:b,...v,ref:w})})});K.displayName=E;var S="NavigationMenuSub";o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:a,defaultValue:i,orientation:s="horizontal",...l}=e,u=L(S,n),[c,d]=(0,m.i)({prop:o,onChange:a,defaultProp:null!=i?i:"",caller:S});return(0,r.jsx)(z,{scope:n,isRootMenu:!1,value:c,dir:u.dir,orientation:s,rootNavigationMenu:u.rootNavigationMenu,onTriggerEnter:e=>d(e),onItemSelect:e=>d(e),onItemDismiss:()=>d(""),children:(0,r.jsx)(f.sG.div,{"data-orientation":s,...l,ref:t})})}).displayName=S;var z=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:a,dir:i,orientation:s,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:v,onTriggerLeave:f,onContentEnter:m,onContentLeave:p}
1=e,[g,x]=o.useState(null),[w,b]=o.useState(new Map),[N,R]=o.useState(null);return(0,r.jsx)(I,{scope:t,isRootMenu:n,rootNavigationMenu:a,value:u,previousValue:(0,y.Z)(u),baseId:(0,h.B)(),dir:i,orientation:s,viewport:g,onViewportChange:x,indicatorTrack:N,onIndicatorTrackChange:R,onTriggerEnter:(0,j.c)(v),onTriggerLeave:(0,j.c)(f),onContentEnter:(0,j.c)(m),onContentLeave:(0,j.c)(p),onItemSelect:(0,j.c)(c),onItemDismiss:(0,j.c)(d),onViewportContentChange:o.useCallback((e,t)=>{b(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:o.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,r.jsx)(C.Provider,{scope:t,children:(0,r.jsx)(F,{scope:t,items:w,children:l})})})},G="NavigationMenuList",U=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,a=L(G,n),i=(0,r.jsx)(f.sG.ul,{"data-orientation":a.orientation,...o,ref:t});return(0,r.jsx)(f.sG.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,r.jsx)(C.Slot,{scope:n,children:a.isRootMenu?(0,r.jsx)(ea,{asChild:!0,children:i}):i})})});U.displayName=G;var V="NavigationMenuItem",[W,H]=A(V),$=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,...i}=e,s=(0,h.B)(),l=o.useRef(null),u=o.useRef(null),c=o.useRef(null),d=o.useRef(()=>{}),v=o.useRef(!1),m=o.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){d.current();let t=el(l.current);t.length&&eu("start"===e?t:t.reverse())}},[]),p=o.useCallback(()=>{if(l.current){let e=el(l.current);e.length&&(d.current=function(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}(e))}},[]);return(0,r.jsx)(W,{scope:n,value:a||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:v,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:p,onContentFocusOutside:p,children:(0,r.jsx)(f.sG.li,{...i,ref:t})})});$.displayName=V;var q="NavigationMenuTrigger";o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:a,...i}=e,s=L(q,e.__scopeNavigationMenu),l=H(q,e.__scopeNavigationMenu),u=o.useRef(null),c=(0,p.s)(u,l.triggerRef,t),d=ev(s.baseId,l.value),m=ef(s.baseId,l.value),g=o.useRef(!1),x=o.useRef(!1),h=l.value===s.value;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.ItemSlot,{scope:n,value:l.value,children:(0,r.jsx)(es,{asChild:!0,children:(0,r.jsx)(f.sG.button,{id:d,disabled:a,"data-disabled":a?"":void 0,"data-state":ed(h),"aria-expanded":h,"aria-controls":m,...i,ref:c,onPointerEnter:(0,v.mK)(e.onPointerEnter,()=>{x.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,v.mK)(e.onPointerMove,em(()=>{a||x.current||l.wasEscapeCloseRef.current||g.current||(s.onTriggerEnter(l.value),g.current=!0)})),onPointerLeave:(0,v.mK)(e.onPointerLeave,em(()=>{a||(s.onTriggerLeave(),g.current=!1)})),onClick:(0,v.mK)(e.onClick,()=>{s.onItemSelect(l.value),x.current=h}),onKeyDown:(0,v.mK)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===s.dir?"ArrowLeft":"ArrowRight"}[s.orientation];h&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),h&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(R.bL,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===u.current,o=null==t?void 0:t.contains(n);(r||!o)&&l.onFocusProxyEnter(r?"start":"end")}}),s.viewport&&(0,r.jsx)("span",{"aria-owns":m})]})]})}).displayName=q;var B="navigationMenu.linkSelect",X=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:o,onSelect:a,...i}=e;return(0,r.jsx)(es,{asChild:!0,children:(0,r.jsx)(f.sG.a,{"data-active":o?"":void 0,"aria-current":o?"page":void 0,...i,ref:t,onClick:(0,v.mK)(e.onClick,e=>{let t=e.target,n=new CustomEvent(B,{bubbles:!0,cancelable:!0});if(t.addEventListener(B,e=>null==a?void 0:a(e),{once:!0}),(0,f.hO)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(ee,{bubbles:!0,cancelable:!0});(0,f.hO)(t,e)}},{checkForDefaultPrevented:!1})})})});X.displayName="NavigationMenuLink";var Y="NavigationMenuIndicator";o.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=L(Y,e.__scopeNavigationMenu),i=!!a.value;return a.indicatorTrack?c.createPortal((0,r.jsx)(x.C,{present:n||i,children:(0,r.jsx)(Q,{...o,ref:t})}),a.indicatorTrack):null}).displayName=Y;var Q=o.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...a}=e,i=L(Y,n),s=M(n),[l,u]=o.useState(null),[c,d]=o.useState(null),v="horizontal"===i.orientation,m=!!i.value;o.useEffect(()=>{var e;let t=null==(e=s().find(e=>e.value===i.value))?void 0:e.ref.current;t&&u(t)},[s,i.value]);let p=()=>{l&&d({size:v?l.offsetWidth:l.offsetHeight,offset:v?l.offsetLeft:l.offsetTop})};return ec(l,p),ec(i.indicatorTrack,p),c?(0,r.jsx)(f.sG.div,{"aria-hidden":!0,"data-state":m?"visible":"hidden","data-orientation":i.orientation,...a,ref:t,style:{position:"absolute",...v?{left:0,width:c.size+"px",transform:"translateX(".concat(c.offset,"px)")}:{top:0,height:c.size+"px",transform:"translateY(".concat(c.offset,"px)")},...a.style}}):null}),Z="NavigationMenuContent";o.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=L(Z,e.__scopeNavigationMenu),i=H(Z,e.__scopeNavigationMenu),s=(0,p.s)(i.contentRef,t),l=i.value===a.value,u={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...o};return a.viewport?(0,r.jsx)(J,{forceMount:n,...u,ref:s}):(0,r.jsx)(x.C,{present:n||l,children:(0,r.jsx)(et,{"data-state":ed(l),...u,ref:s,onPointerEnter:(0,v.mK)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,v.mK)(e.onPointerLeave,em(a.onContentLeave)),style:{pointerEvents:!l&&a.isRootMenu?"none":void 0,...u.style}})})}).displayName=Z;var J=o.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=L(Z,e.__scopeNavigationMenu);return(0,N.N)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,N.N)(()=>()=>r(e.value),[e.value,r]),null}),ee="navigationMenu.rootContentDismiss",et=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:a,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:c,...d}=e,f=L(Z,n),m=o.useRef(null),g=(0,p.s)(m,t),x=ev(f.baseId,a),h=ef(f.baseId,a),w=M(n),y=o.useRef(null),{onItemDismiss:N}=f;o.useEffect(()=>{let e=m.current;if(f.isRootMenu&&e){let t=()=>{var t;N(),u(),e.contains(document.activeElement)&&(null==(t=i.current)||t.focus())};return e.addEventListener(ee,t),()=>e.removeEventListener(ee,t)}},[f.isRootMenu,e.value,i,N,u]);let j=o.useMemo(()=>{let e=w().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=a===f.value,o=n===e.indexOf(a);if(!r&&!o)return y.current;let i=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return y.current=i,i},[f.previousValue,f.value,f.dir,w,a]);return(0,r.jsx)(ea,{asChild:!0,children:(0,r.jsx)(b.qW,{id:h,"aria-labelledby":x,"data-motion":j,"data-orientation":f.orientation,...d,ref:g,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(ee,{bubbles:!0,cancelable:!0});null==(e=m.current)||e.dispatchEvent(t)},onFocusOutside:(0,v.mK)(e.onFocusOutside,e=>{var t;c();let n=e.target;(null==(t=f.rootNavigationMenu)?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,v.mK)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=w().some(e=>{var t;return null==(t=e.ref.current)?void 0:t.contains(n)}),o=f.isRootMenu&&(null==(t=f.viewport)?void 0:t.contains(n));(r||o||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,v.mK)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=el(e.currentTarget),r=document.activeElement,o=t.findIndex(e=>e===r);if(eu(e.shiftKey?t.slice(0,o).reverse():t.slice(o+1,t.length)))e.preventDefault();else{var n;null==(n=s.current)||n.focus()}}}),onEscapeKeyDown:(0,v.mK)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),en="NavigationMenuViewport",er=o.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=!!L(en,e.__scopeNavigationMenu).value;return(0,r.jsx)(x.C,{present:n||a,children:(0,r.jsx)(eo,{...o,ref:t})})});er.displayName=en;var eo=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:a,...i}=e,s=L(en,n),l=(0,p.s)(t,s.onViewportChange),u=D(Z,e.__scopeNavigationMenu),[c,d]=o.useState(null),[m,g]=o.useState(null),h=c?(null==c?void 0:c.width)+"px":void 0,w=c?(null==c?void 0:c.height)+"px":void 0,b=!!s.value,y=b?s.value:s.previousValue;return ec(m,()=>{m&&d({width:m.offsetWidth,height:m.offsetHeight})}),(0,r.jsx)(f.sG.div,{"data-state":ed(b),"data-orientation":s.orientation,...i,ref:l,style:{pointerEvents:!b&&s.isRo
1otMenu?"none":void 0,"--radix-navigation-menu-viewport-width":h,"--radix-navigation-menu-viewport-height":w,...i.style},onPointerEnter:(0,v.mK)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,v.mK)(e.onPointerLeave,em(s.onContentLeave)),children:Array.from(u.items).map(e=>{let[t,{ref:n,forceMount:o,...a}]=e,i=y===t;return(0,r.jsx)(x.C,{present:o||i,children:(0,r.jsx)(et,{...a,ref:(0,p.t)(n,e=>{i&&e&&g(e)})})},t)})})}),ea=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,a=L("FocusGroup",n);return(0,r.jsx)(k.Provider,{scope:n,children:(0,r.jsx)(k.Slot,{scope:n,children:(0,r.jsx)(f.sG.div,{dir:a.dir,...o,ref:t})})})}),ei=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],es=o.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,a=_(n),i=L("FocusGroupItem",n);return(0,r.jsx)(k.ItemSlot,{scope:n,children:(0,r.jsx)(f.sG.button,{...o,ref:t,onKeyDown:(0,v.mK)(e.onKeyDown,e=>{if(["Home","End",...ei].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ei.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eu(t)),e.preventDefault()}})})})});function el(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 eu(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ec(e,t){let n=(0,j.c)(t);(0,N.N)(()=>{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 ed(e){return e?"open":"closed"}function ev(e,t){return"".concat(e,"-trigger-").concat(t)}function ef(e,t){return"".concat(e,"-content-").concat(t)}function em(e){return t=>"mouse"===t.pointerType?e(t):void 0}function ep(e){let{className:t,children:n,viewport:o=!0,...a}=e;return(0,r.jsxs)(K,{"data-slot":"navigation-menu","data-viewport":o,className:(0,l.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",t),...a,children:[n,o&&(0,r.jsx)(eh,{})]})}function eg(e){let{className:t,...n}=e;return(0,r.jsx)(U,{"data-slot":"navigation-menu-list",className:(0,l.cn)("group flex flex-1 list-none items-center justify-center gap-1",t),...n})}function ex(e){let{className:t,...n}=e;return(0,r.jsx)($,{"data-slot":"navigation-menu-item",className:(0,l.cn)("relative",t),...n})}function eh(e){let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,l.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,r.jsx)(er,{"data-slot":"navigation-menu-viewport",className:(0,l.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",t),...n})})}function ew(e){let{className:t,...n}=e;return(0,r.jsx)(X,{"data-slot":"navigation-menu-link",className:(0,l.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",t),...n})}(0,n(4765).F)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focu
1s-visible:ring-[3px] focus-visible:outline-1");let eb=(0,n(668).A)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);function ey(){let e=(0,s.usePathname)();return(0,r.jsx)("div",{className:"border-b",children:(0,r.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,r.jsxs)("div",{className:"flex h-16 items-center justify-between",children:[(0,r.jsxs)(i(),{href:"/",className:"flex items-center space-x-2",children:[(0,r.jsx)(eb,{className:"h-6 w-6"}),(0,r.jsx)("span",{className:"font-bold text-xl",children:"Registry"})]}),(0,r.jsx)(ep,{children:(0,r.jsx)(eg,{className:"gap-1",children:(0,r.jsx)(ex,{children:(0,r.jsx)(i(),{href:"/",legacyBehavior:!0,passHref:!0,children:(0,r.jsx)(ew,{className:(0,l.cn)("group inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50","/"!==e||e.includes("/components")||e.includes("/hooks")||e.includes("/utils")?"text-muted-foreground":"bg-accent text-accent-foreground"),children:"Home"})})})})}),(0,r.jsx)("div",{className:"flex items-center gap-2",children:(0,r.jsx)(u.$,{variant:"outline",size:"sm",asChild:!0,children:(0,r.jsx)("a",{href:"https://ui.shadcn.com",target:"_blank",rel:"noopener noreferrer",children:"Documentation"})})})]})})})}},2266:(e,t,n)=>{"use strict";n.d(t,{cn:()=>a});var r=n(5957),o=n(7461);function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.QP)((0,r.$)(t))}},3305:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(7816),o=n(8347),a=n(1148),i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),l=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,v]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,o=s(t);e?v("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?v("UNMOUNT"):n&&r!==o?v("ANIMATION_OUT"):v("UNMOUNT"),u.current=e}},[e,v]),(0,a.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=s(l.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(v("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(c.current=s(l.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}v("ANIMATION_END")},[o,v]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(t),l="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),u=(0,o.s)(i.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||i.isPresent?r.cloneElement(l,{ref:u}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},4637:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(4548);n(7816);var o=n(7447),a=n(4765),i=n(2266);let s=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:n,size:a,asChild:l=!1,...u}=e,c=l?o.DX:"button";return(0,r.jsx)(c,{"data-slot":"button",className:(0,i.cn)(s({variant:n,size:a,className:t})),...u})}},4765:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(5957);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=r.$,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:s}=t,l=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==s?void 0:s[e];if(null===t)return null;let a=o(t)||o(r);return i[e][a]}),u=n&&Object.entries(n).reduce((e,t)=>
1{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return a(e,l,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},5458:()=>{},5985:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_188709",variable:"__variable_188709"}},7019:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_9a8899",variable:"__variable_9a8899"}},7316:(e,t,n)=>{Promise.resolve().then(n.bind(n,414)),Promise.resolve().then(n.t.bind(n,5985,23)),Promise.resolve().then(n.t.bind(n,7019,23)),Promise.resolve().then(n.t.bind(n,5458,23))}},e=>{e.O(0,[837,596,871,249,646,358],()=>e(e.s=7316)),_N_E=e.O()}]);
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.