"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1993],{48812:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(4986);/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ")};/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let u=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:u=2,absoluteStrokeWidth:l,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...a,width:o,height:o,stroke:n,strokeWidth:l?24*Number(u)/Number(o):u,className:i("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:l,...s}=n;return(0,r.createElement)(u,{ref:a,iconNode:t,className:i("lucide-".concat(o(e)),l),...s})});return n.displayName="".concat(e),n}},38426:function(e,t,n){n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(48812).Z)("ArrowDownToLine",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]])},42041:function(e,t,n){n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(48812).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},23627:function(e,t,n){n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(48812).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},30069:function(e,t,n){n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(48812).Z)("Equal",[["line",{x1:"5",x2:"19",y1:"9",y2:"9",key:"1nwqeh"}],["line",{x1:"5",x2:"19",y1:"15",y2:"15",key:"g8yjpy"}]])},61704:function(e,t,n){n.d(t,{Z:function(){return r}});/**
 * @license lucide-react v0.383.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(48812).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},48125:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(90045),o=n.n(r)},15724:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(40197),o=n.n(r)},45030:function(e,t,n){n.d(t,{B:function(){return l}});var r=n(4986),o=n(14967),i=n(66711),a=n(6976),u=n(92984);function l(e){let t=e+"CollectionProvider",[n,l]=(0,o.b)(t),[s,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,u.jsx)(s,{scope:t,itemMap:i,collectionRef:o,children:n})};d.displayName=t;let f=e+"CollectionSlot",v=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=c(f,n),l=(0,i.e)(t,o.collectionRef);return(0,u.jsx)(a.g7,{ref:l,children:r})});v.displayName=f;let p=e+"CollectionItemSlot",w="data-radix-collection-item",m=r.forwardRef((e,t)=>{let{scope:n,children:o,...l}=e,s=r.useRef(null),d=(0,i.e)(t,s),f=c(p,n);return r.useEffect(()=>(f.itemMap.set(s,{ref:s,...l}),()=>void f.itemMap.delete(s))),(0,u.jsx)(a.g7,{[w]:"",ref:d,children:o})});return m.displayName=p,[{Provider:d,Slot:v,ItemSlot:m},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(w,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}},21794:function(e,t,n){n.d(t,{gm:function(){return i}});var r=n(4986);n(92984);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},92059:function(e,t,n){n.d(t,{VY:function(){return ey},aV:function(){return ep},ck:function(){return ew},fC:function(){return ev},l_:function(){return ex},rU:function(){return eh},xz:function(){return em},z$:function(){return eg}});var r=n(4986),o=n(99886),i=n(14967),a=n(95354),u=n(81452),l=n(28186),s=n(66711),c=n(21794),d=n(71649),f=n(2111),v=n(45030),p=n(32285),w=n(51522),m=n(84246),h=n(88277),g=n(74053),y=n(92984),x="NavigationMenu",[b,R,C]=(0,v.B)(x),[M,E,k]=(0,v.B)(x),[j,N]=(0,i.b)(x,[C,k]),[T,A]=j(x),[P,S]=j(x),L=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:i,defaultValue:a,delayDuration:d=200,skipDelayDuration:f=300,orientation:v="horizontal",dir:p,...w}=e,[m,h]=r.useState(null),g=(0,s.e)(t,e=>h(e)),x=(0,c.gm)(p),b=r.useRef(0),R=r.useRef(0),C=r.useRef(0),[M,E]=r.useState(!0),[k="",j]=(0,l.T)({prop:o,onChange:e=>{let t=f>0;""!==e?(window.clearTimeout(C.current),t&&E(!1)):(window.clearTimeout(C.current),C.current=window.setTimeout(()=>E(!0),f)),null==i||i(e)},defaultProp:a}),N=r.useCallback(()=>{window.clearTimeout(R.current),R.current=window.setTimeout(()=>j(""),150)},[j]),T=r.useCallback(e=>{window.clearTimeout(R.current),j(e)},[j]),A=r.useCallback(e=>{k===e?window.clearTimeout(R.current):b.current=window.setTimeout(()=>{window.clearTimeout(R.current),j(e)},d)},[k,j,d]);return r.useEffect(()=>()=>{window.clearTimeout(b.current),window.clearTimeout(R.current),window.clearTimeout(C.current)},[]),(0,y.jsx)(D,{scope:n,isRootMenu:!0,value:k,dir:x,orientation:v,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(b.current),M?A(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(b.current),N()},onContentEnter:()=>window.clearTimeout(R.current),onContentLeave:N,onItemSelect:e=>{j(t=>t===e?"":e)},onItemDismiss:()=>j(""),children:(0,y.jsx)(u.WV.nav,{"aria-label":"Main","data-orientation":v,dir:x,...w,ref:g})})});L.displayName=x;var I="NavigationMenuSub";r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...s}=e,c=A(I,n),[d="",f]=(0,l.T)({prop:r,onChange:o,defaultProp:i});return(0,y.jsx)(D,{scope:n,isRootMenu:!1,value:d,dir:c.dir,orientation:a,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>f(e),onItemSelect:e=>f(e),onItemDismiss:()=>f(""),children:(0,y.jsx)(u.WV.div,{"data-orientation":a,...s,ref:t})})}).displayName=I;var D=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:o,dir:i,orientation:a,children:u,value:l,onItemSelect:s,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:v,onContentEnter:p,onContentLeave:m}=e,[g,x]=r.useState(null),[R,C]=r.useState(new Map),[M,E]=r.useState(null);return(0,y.jsx)(T,{scope:t,isRootMenu:n,rootNavigationMenu:o,value:l,previousValue:(0,w.D)(l),baseId:(0,f.M)(),dir:i,orientation:a,viewport:g,onViewportChange:x,indicatorTrack:M,onIndicatorTrackChange:E,onTriggerEnter:(0,h.W)(d),onTriggerLeave:(0,h.W)(v),onContentEnter:(0,h.W)(p),onContentLeave:(0,h.W)(m),onItemSelect:(0,h.W)(s),onItemDismiss:(0,h.W)(c),onViewportContentChange:r.useCallback((e,t)=>{C(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{C(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,y.jsx)(b.Provider,{scope:t,children:(0,y.jsx)(P,{scope:t,items:R,children:u})})})},_="NavigationMenuList",V=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=A(_,n),i=(0,y.jsx)(u.WV.ul,{"data-orientation":o.orientation,...r,ref:t});return(0,y.jsx)(u.WV.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,y.jsx)(b.Slot,{scope:n,children:o.isRootMenu?(0,y.jsx)(er,{asChild:!0,children:i}):i})})});V.displayName=_;var W="NavigationMenuItem",[F,O]=j(W),K=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,...i}=e,a=(0,f.M)(),l=r.useRef(null),s=r.useRef(null),c=r.useRef(null),d=r.useRef(()=>{}),v=r.useRef(!1),p=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){d.current();let t=ea(l.current);t.length&&eu("start"===e?t:t.reverse())}},[]),w=r.useCallback(()=>{if(l.current){let e=ea(l.current);e.length&&(d.current=(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)})}))}},[]);return(0,y.jsx)(F,{scope:n,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:v,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:w,onContentFocusOutside:w,children:(0,y.jsx)(u.WV.li,{...i,ref:t})})});K.displayName=W;var z="NavigationMenuTrigger",Z=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:o,...i}=e,l=A(z,e.__scopeNavigationMenu),c=O(z,e.__scopeNavigationMenu),d=r.useRef(null),f=(0,s.e)(d,c.triggerRef,t),v=ec(l.baseId,c.value),p=ed(l.baseId,c.value),w=r.useRef(!1),m=r.useRef(!1),h=c.value===l.value;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(b.ItemSlot,{scope:n,value:c.value,children:(0,y.jsx)(ei,{asChild:!0,children:(0,y.jsx)(u.WV.button,{id:v,disabled:o,"data-disabled":o?"":void 0,"data-state":es(h),"aria-expanded":h,"aria-controls":p,...i,ref:f,onPointerEnter:(0,a.M)(e.onPointerEnter,()=>{m.current=!1,c.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.M)(e.onPointerMove,ef(()=>{o||m.current||c.wasEscapeCloseRef.current||w.current||(l.onTriggerEnter(c.value),w.current=!0)})),onPointerLeave:(0,a.M)(e.onPointerLeave,ef(()=>{o||(l.onTriggerLeave(),w.current=!1)})),onClick:(0,a.M)(e.onClick,()=>{l.onItemSelect(c.value),m.current=h}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];h&&e.key===t&&(c.onEntryKeyDown(),e.preventDefault())})})})}),h&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(g.f,{"aria-hidden":!0,tabIndex:0,ref:c.focusProxyRef,onFocus:e=>{let t=c.contentRef.current,n=e.relatedTarget,r=n===d.current,o=null==t?void 0:t.contains(n);(r||!o)&&c.onFocusProxyEnter(r?"start":"end")}}),l.viewport&&(0,y.jsx)("span",{"aria-owns":p})]})]})});Z.displayName=z;var q="navigationMenu.linkSelect",H=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return(0,y.jsx)(ei,{asChild:!0,children:(0,y.jsx)(u.WV.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:(0,a.M)(e.onClick,e=>{let t=e.target,n=new CustomEvent(q,{bubbles:!0,cancelable:!0});if(t.addEventListener(q,e=>null==o?void 0:o(e),{once:!0}),(0,u.jH)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(J,{bubbles:!0,cancelable:!0});(0,u.jH)(t,e)}},{checkForDefaultPrevented:!1})})})});H.displayName="NavigationMenuLink";var U="NavigationMenuIndicator",B=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=A(U,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?o.createPortal((0,y.jsx)(d.z,{present:n||a,children:(0,y.jsx)(G,{...r,ref:t})}),i.indicatorTrack):null});B.displayName=U;var G=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,i=A(U,n),a=R(n),[l,s]=r.useState(null),[c,d]=r.useState(null),f="horizontal"===i.orientation,v=!!i.value;r.useEffect(()=>{var e;let t=null===(e=a().find(e=>e.value===i.value))||void 0===e?void 0:e.ref.current;t&&s(t)},[a,i.value]);let p=()=>{l&&d({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return el(l,p),el(i.indicatorTrack,p),c?(0,y.jsx)(u.WV.div,{"aria-hidden":!0,"data-state":v?"visible":"hidden","data-orientation":i.orientation,...o,ref:t,style:{position:"absolute",...f?{left:0,width:c.size+"px",transform:"translateX(".concat(c.offset,"px)")}:{top:0,height:c.size+"px",transform:"translateY(".concat(c.offset,"px)")},...o.style}}):null}),X="NavigationMenuContent",Y=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=A(X,e.__scopeNavigationMenu),i=O(X,e.__scopeNavigationMenu),u=(0,s.e)(i.contentRef,t),l=i.value===o.value,c={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?(0,y.jsx)($,{forceMount:n,...c,ref:u}):(0,y.jsx)(d.z,{present:n||l,children:(0,y.jsx)(Q,{"data-state":es(l),...c,ref:u,onPointerEnter:(0,a.M)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ef(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...c.style}})})});Y.displayName=X;var $=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=A(X,e.__scopeNavigationMenu);return(0,m.b)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,m.b)(()=>()=>r(e.value),[e.value,r]),null}),J="navigationMenu.rootContentDismiss",Q=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,triggerRef:i,focusProxyRef:u,wasEscapeCloseRef:l,onRootContentClose:c,onContentFocusOutside:d,...f}=e,v=A(X,n),w=r.useRef(null),m=(0,s.e)(w,t),h=ec(v.baseId,o),g=ed(v.baseId,o),x=R(n),b=r.useRef(null),{onItemDismiss:C}=v;r.useEffect(()=>{let e=w.current;if(v.isRootMenu&&e){let t=()=>{var t;C(),c(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(J,t),()=>e.removeEventListener(J,t)}},[v.isRootMenu,e.value,i,C,c]);let M=r.useMemo(()=>{let e=x().map(e=>e.value);"rtl"===v.dir&&e.reverse();let t=e.indexOf(v.value),n=e.indexOf(v.previousValue),r=o===v.value,i=n===e.indexOf(o);if(!r&&!i)return b.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return b.current=a,a},[v.previousValue,v.value,v.dir,x,o]);return(0,y.jsx)(er,{asChild:!0,children:(0,y.jsx)(p.XB,{id:g,"aria-labelledby":h,"data-motion":M,"data-orientation":v.orientation,...f,ref:m,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(J,{bubbles:!0,cancelable:!0});null===(e=w.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{var t;d();let n=e.target;(null===(t=v.rootNavigationMenu)||void 0===t?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=x().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(n)}),o=v.isRootMenu&&(null===(t=v.viewport)||void 0===t?void 0:t.contains(n));(r||o||!v.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ea(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=u.current)||void 0===n||n.focus()}}}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),ee="NavigationMenuViewport",et=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=!!A(ee,e.__scopeNavigationMenu).value;return(0,y.jsx)(d.z,{present:n||o,children:(0,y.jsx)(en,{...r,ref:t})})});et.displayName=ee;var en=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:o,...i}=e,l=A(ee,n),c=(0,s.e)(t,l.onViewportChange),f=S(X,e.__scopeNavigationMenu),[v,p]=r.useState(null),[w,m]=r.useState(null),h=v?(null==v?void 0:v.width)+"px":void 0,g=v?(null==v?void 0:v.height)+"px":void 0,x=!!l.value,b=x?l.value:l.previousValue;return el(w,()=>{w&&p({width:w.offsetWidth,height:w.offsetHeight})}),(0,y.jsx)(u.WV.div,{"data-state":es(x),"data-orientation":l.orientation,...i,ref:c,style:{pointerEvents:!x&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":h,"--radix-navigation-menu-viewport-height":g,...i.style},onPointerEnter:(0,a.M)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ef(l.onContentLeave)),children:Array.from(f.items).map(e=>{let[t,{ref:n,forceMount:r,...o}]=e,i=b===t;return(0,y.jsx)(d.z,{present:r||i,children:(0,y.jsx)(Q,{...o,ref:(0,s.F)(n,e=>{i&&e&&m(e)})})},t)})})}),er=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=A("FocusGroup",n);return(0,y.jsx)(M.Provider,{scope:n,children:(0,y.jsx)(M.Slot,{scope:n,children:(0,y.jsx)(u.WV.div,{dir:o.dir,...r,ref:t})})})}),eo=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=E(n),i=A("FocusGroupItem",n);return(0,y.jsx)(M.ItemSlot,{scope:n,children:(0,y.jsx)(u.WV.button,{...r,ref:t,onKeyDown:(0,a.M)(e.onKeyDown,e=>{if(["Home","End",...eo].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eo.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eu(t)),e.preventDefault()}})})})});function ea(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 el(e,t){let n=(0,h.W)(t);(0,m.b)(()=>{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 es(e){return e?"open":"closed"}function ec(e,t){return"".concat(e,"-trigger-").concat(t)}function ed(e,t){return"".concat(e,"-content-").concat(t)}function ef(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ev=L,ep=V,ew=K,em=Z,eh=H,eg=B,ey=Y,ex=et},51522:function(e,t,n){n.d(t,{D:function(){return o}});var r=n(4986);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},74053:function(e,t,n){n.d(t,{f:function(){return u}});var r=n(4986),o=n(81452),i=n(92984),a=r.forwardRef((e,t)=>(0,i.jsx)(o.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var u=a},9342:function(e,t,n){n.d(t,{c:function(){return l}});var r=n(4986),o=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function i(){return"undefined"!=typeof window}function a(){return"production"}function u(){return"development"===((i()?window.vam:a())||"production")}function l(e){return(0,r.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!i())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=a();return}window.vam=e})(t.mode),o(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(u()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.3.1",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint&&(r.dataset.endpoint=t.endpoint),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=u()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},u()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}},36780:function(e,t,n){n.d(t,{j:function(){return i}});let r=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r},i=(e,t)=>n=>{var i;if((null==t?void 0:t.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:u}=t,l=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],o=null==u?void 0:u[e];if(null===t)return null;let i=r(t)||r(o);return a[e][i]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return o(e,l,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.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({...u,...s}[t]):({...u,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},25011:function(e,t,n){n.d(t,{F:function(){return a}});var r=n(4986),o=r.createContext(void 0),i={setTheme:e=>{},themes:[]},a=()=>{var e;return null!=(e=r.useContext(o))?e:i}}}]);