1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2940],{54365:function(e,t,n){t.Z=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}},33145:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(48461),o=n.n(r)},48461:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getImageProps:function(){return u}});let r=n(60917),o=n(55346),i=n(65878),l=r._(n(5084));function u(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[650,1280],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let a=i.Image},27540:function(e,t,n){let r;n.d(t,{R:function(){return D}});var o=n(23121),i=n(1701),l={visible:{y:0,transition:{ease:i.Lj.easeOut}},hidden:{y:"-100%",transition:{ease:i.Lj.easeIn}}},u=n(2646),a=n(72243),c=n(56041),s=n(21770),d=(0,c.tv)({slots:{base:["flex","z-40","w-full","h-auto","items-center","justify-center","data-[menu-open=true]:border-none"],wrapper:["z-40","flex","px-6","gap-4","w-full","flex-row","relative","flex-nowrap","items-center","justify-between","h-[var(--navbar-height)]"],toggle:["group","flex","items-center","justify-center","w-6","h-full","outline-none","rounded-small","tap-highlight-transparent",...s.Dh],srOnly:["sr-only"],toggleIcon:["w-full","h-full","pointer-events-none","flex","flex-col","items-center","justify-center","text-inherit","group-data-[pressed=true]:opacity-70","transition-opacity","before:content-['']","before:block","before:h-px","before:w-6","before:bg-current","before:transition-transform","before:duration-150","before:-translate-y-1","before:rotate-0","group-data-[open=true]:before:translate-y-px","group-data-[open=true]:before:rotate-45","after:content-['']","after:block","after:h-px","after:w-6","after:bg-current","after:transition-transform","after:duration-150","after:translate-y-1","after:rotate-0","group-data-[open=true]:after:translate-y-0","group-data-[open=true]:after:-rotate-45"],brand:["flex","basis-0","flex-row","flex-grow","flex-nowrap","justify-start","bg-transparent","items-center","no-underline","text-medium","whitespace-nowrap","box-border"],content:["flex","gap-4","h-full","flex-row","flex-nowrap","items-center","data-[justify=start]:justify-start","data-[justify=start]:flex-grow","data-[justify=start]:basis-0","data-[justify=center]:justify-center","data-[justify=end]:justify-end","data-[justify=end]:flex-grow","data-[justify=end]:basis-0"],item:["text-medium","whitespace-nowrap","box-border","list-none","data-[active=true]:font-semibold"],menu:["z-30","px-6","pt-2","fixed","flex","max-w-full","top-[var(--navbar-height)]","inset-x-0","bottom-0","w-screen","flex-col","gap-2","overflow-y-auto"],menuItem:["text-large","data-[active=true]:font-semibold"]},variants:{position:{static:{base:"static"},sticky:{base:"sticky top-0 inset-x-0"}},maxWidth:{sm:{wrapper:"max-w-[640px]"},md:{wrapper:"max-w-[768px]"},lg:{wrapper:"max-w-[1024px]"},xl:{wrapper:"max-w-[1280px]"},"2xl":{wrapper:"max-w-[1536px]"},full:{wrapper:"max-w-full"}},hideOnScroll:{true:{base:["sticky","top-0","inset-x-0"]}},isBordered:{true:{base:["border-b","border-divider"]}},isBlurred:{false:{base:"bg-background",menu:"bg-background"},true:{base:["backdrop-blur-lg","data-[menu-open=true]:backdrop-blur-xl","backdrop-saturate-150","bg-background/70"],menu:["backdrop-blur-xl","backdrop-saturate-150","bg-background/70"]}},disableAnimation:{true:{menu:["hidden","h-[calc(100dvh_-_var(--navbar-height))]","data-[open=true]:flex"]}}},defaultVariants:{maxWidth:"lg",position:"sticky",isBlurred:!0}}),f=n(88160),p=n(2357),h=n(46763),m=n(97765),v=n(2265),b=n(1070),y="undefined"!=typeof window;function g(e){return y?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var w=e=>
1{let{elementRef:t,delay:n=30,callback:r,isEnabled:o}=e,i=(0,v.useRef)(o?g(null==t?void 0:t.current):{x:0,y:0}),l=(0,v.useRef)(null),u=(0,v.useCallback)(()=>{let e=g(null==t?void 0:t.current);"function"==typeof r&&r({prevPos:i.current,currPos:e}),i.current=e,l.current=null},[r,t]);return(0,v.useEffect)(()=>{if(!o)return;let e=()=>{n?(l.current&&clearTimeout(l.current),l.current=setTimeout(u,n)):u()},r=(null==t?void 0:t.current)||window;return r.addEventListener("scroll",e),()=>{r.removeEventListener("scroll",e),l.current&&(clearTimeout(l.current),l.current=null)}},[null==t?void 0:t.current,n,u,o]),i.current},E=n(37814),N=n(14853);function x(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}function T(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function k(e,t){let n=e;for(T(n,t)&&(n=n.parentElement);n&&!T(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}let L="undefined"!=typeof document&&window.visualViewport,R=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),S=0;function C(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function _(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function P(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=k(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect().top,r=n.getBoundingClientRect().top;r>t+n.clientHeight&&(e.scrollTop+=r-t)}n=e.parentElement}}function j(e){return e instanceof HTMLInputElement&&!R.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var M=n(55564),A=n(36321),F=n(50278),W=n(9330),O=n(57437),K=()=>n.e(6796).then(n.bind(n,66796)).then(e=>e.default),I=(0,a.Gp)((e,t)=>{let{children:n,...i}=e,c=function(e){var t,n;let o=(0,u.w)(),[i,l]=(0,a.oe)(e,d.variantKeys),{ref:c,as:s,parentRef:y,height:g="4rem",shouldHideOnScroll:T=!1,disableScrollHandler:R=!1,shouldBlockScroll:M=!0,onScrollPositionChange:A,isMenuOpen:F,isMenuDefaultOpen:W,onMenuOpenChange:O=()=>{},motionProps:K,className:I,classNames:D,...z}=i,H=null!=(n=null!=(t=e.disableAnimation)?t:null==o?void 0:o.disableAnimation)&&n,B=(0,f.gy)(c),U=(0,v.useRef)(0),$=(0,v.useRef)(0),[V,q]=(0,v.useState)(!1),[G,X]=function(e,t,n){let[r,o]=(0,v.useState)(e||t),i=(0,v.useRef)(void 0!==e),l=void 0!==e;(0,v.useEffect)(()=>{let e=i.current;e!==l&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),i.current=l},[l]);let u=l?e:r,a=(0,v.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(u,e)&&n(e,...t),l||(u=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o((n,...o)=>{let i=e(l?u:n,...o);return(r(i,...t),l)?n:i})):(l||o(e),r(e,...t))},[l,u,n]);return[u,a]}(F,null!=W&&W,(0,v.useCallback)(e=>{O(e||!1)},[O])),Z=()=>{if(B.current){let e=B.current.offsetWidth;e!==U.current&&(U.current=e)}};!function(e={}){let{isDisabled:t}=e;(0,E.b)(()=>{if(!t){let e,t,n,o,i;return 1==++S&&(r=(0,N.gn)()?(n=null,o=()=>{if(n)return;let e=window.pageXOffset,t=window.pageYOffset;n=x(_(window,"scroll",()=>{window.scrollTo(0,0)}),C(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),C(document.documentElement,"overflow","hidden"),C(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},i=x(_(document,"touchstart",n=>{((e=k(n.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=C(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),_(document,"touchmove",t=>{if(!e||e===document.documentElement||e===document.body){t.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()},{passive:!1,capture:!0}),_(document,"touchend",e=>{let n=e.target;j(n)&&n!==document.activeElement&&(e.preventDefault(),o(),n.style.transform="translateY(-2000px)",n.focus(),requestAnimationFrame(()=>{n.style.transform=""})),t&&t()},{passive:!1,capture:!0}),_(document,"focus",e=>{let t=e.target;j(t)&&(o(),t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",L&&(L.height<window.innerHeight?requestAnimationFrame(()=>{P(t)}):L.addEventListener("resize",()=>P(t),{once:!0}))}))},!0)),()=>{null==t||t(),null==n||n(),i()}):x(C(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),C(document.documentElement,"overflow","hidden"))),()=>{0==--S&&r()}}},[t])}({isDisabled:!(M&&G)}),function(e){let{ref:t,box:n,onResize:r}=e;(0,v.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!(void 0!==window.ResizeObserver))return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{let t=new window.ResizeObserver(e=>{e.length&&r()});return t.observe(e,{box:n}
1),()=>{e&&t.unobserve(e)}}}},[r,t,n])}({ref:B,onResize:()=>{var e;let t=null==(e=B.current)?void 0:e.offsetWidth,n=window.innerWidth-document.documentElement.clientWidth;t&&t+n==U.current||t===U.current||(Z(),X(!1))}}),(0,v.useEffect)(()=>{var e;Z(),$.current=(null==(e=B.current)?void 0:e.offsetHeight)||0},[]);let Y=(0,v.useMemo)(()=>d({...l,disableAnimation:H,hideOnScroll:T}),[(0,p.Xx)(l),H,T]),J=(0,h.W)(null==D?void 0:D.base,I);return w({elementRef:y,isEnabled:T||!R,callback:e=>{let{prevPos:t,currPos:n}=e;null==A||A(n.y),T&&q(e=>{let r=n.y>t.y&&n.y>$.current;return r!==e?r:e})}}),{Component:s||"nav",slots:Y,domRef:B,height:g,isHidden:V,disableAnimation:H,shouldHideOnScroll:T,isMenuOpen:G,classNames:D,setIsMenuOpen:X,motionProps:K,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,b.d)(z,e),"data-hidden":(0,m.PB)(V),"data-menu-open":(0,m.PB)(G),ref:B,className:Y.base({class:(0,h.W)(J,null==e?void 0:e.className)}),style:{"--navbar-height":"number"==typeof g?"".concat(g,"px"):g,...null==z?void 0:z.style,...null==e?void 0:e.style}}},getWrapperProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-menu-open":(0,m.PB)(G),className:Y.wrapper({class:(0,h.W)(null==D?void 0:D.wrapper,null==e?void 0:e.className)})}}}}({...i,ref:t}),s=c.Component,[y,g]=(0,A.N)(n,o.$),T=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("header",{...c.getWrapperProps(),children:y}),g]});return(0,O.jsx)(M.V,{value:c,children:c.shouldHideOnScroll?(0,O.jsx)(F.X,{features:K,children:(0,O.jsx)(W.m.nav,{animate:c.isHidden?"hidden":"visible",initial:!1,variants:l,...(0,b.d)(c.getBaseProps(),c.motionProps),children:T})}):(0,O.jsx)(s,{...c.getBaseProps(),children:T})})});I.displayName="NextUI.Navbar";var D=I},55564:function(e,t,n){n.d(t,{V:function(){return r},q:function(){return o}});var[r,o]=(0,n(40280).k)({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"})},80532:function(e,t,n){n.d(t,{U:function(){return c}});var r=n(55564),o=n(72243),i=n(88160),l=n(46763),u=n(57437),a=(0,o.Gp)((e,t)=>{var n;let{as:o,className:a,children:c,justify:s="start",...d}=e,f=(0,i.gy)(t),{slots:p,classNames:h}=(0,r.q)(),m=(0,l.W)(null==h?void 0:h.content,a);return(0,u.jsx)(o||"ul",{ref:f,className:null==(n=p.content)?void 0:n.call(p,{class:m}),"data-justify":s,...d,children:c})});a.displayName="NextUI.NavbarContent";var c=a},23121:function(e,t,n){n.d(t,{$:function(){return eT}});var r=n(55564),o={enter:{height:"calc(100vh - var(--navbar-height))",transition:{duration:.3,easings:"easeOut"}},exit:{height:0,transition:{duration:.25,easings:"easeIn"}}},i=n(72243),l=n(88160),u=n(46763),a=n(97765),c=n(53458),s=n(50278),d=n(9330),f=n(1070),p=n(2265);let h=(0,p.createContext)({}),m=p.createContext({register:()=>{}});function v({children:e}){let t=(0,p.useMemo)(()=>({register:()=>{}}),[]);return p.createElement(m.Provider,{value:t},e)}m.displayName="PressResponderContext";var b=n(37814);let y=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},g=e=>e&&"window"in e&&e.window===e?e:y(e).defaultView||window;var w=n(90952);function E(e,t){if(!(0,w.Wr)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){var r;if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:null!==(r=n)&&"object"==typeof r&&"nodeType"in r&&"number"==typeof r.nodeType&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in r?n.host:n.parentNode}return!1}let N=(e=document)=>{var t;if(!(0,w.Wr)())return e.activeElement;let n=e.activeElement;for(;n&&("shadowRoot"in n)&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function x(e){return(0,w.Wr)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}var T=n(14853);let k="undefined"!=typeof Element&&"checkVisibility"in Element.prototype;function L(e,t){return k?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=g(e);
1if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||L(e.parentElement,e))}let R=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],S=R.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";R.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let C=R.join(':not([hidden]):not([tabindex="-1"]),');function _(e){return e.matches(S)&&L(e)&&!j(e)}function P(e){return e.matches(C)&&L(e)&&!j(e)}function j(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}class M{get currentNode(){return this._currentNode}set currentNode(e){if(!E(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,o=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=r,this._currentSetFor.add(o),n=r=e.host}else n=n.parentNode;let o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=r,this._currentSetFor.add(o),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return E(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if("function"==typeof this.filter?n=this.filter(e):(null===(t=this.filter)||void 0===t?void 0:t.acceptNode)&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if("function"==typeof this.filter?e=this.filter(t):(null===(n=this.filter)||void 0===n?void 0:n.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(null===(t=this.filter)||void 0===t?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=r?r:null,this.whatToShow=null!=n?n:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));let o=t.shadowRoot;if(o){let e=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}function A(e){if(function(){if(null==F){F=!1;try{document.createElement("div").focus({get preventScroll(){return F=!0,!0}})}catch{}}return F}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let F=null;function W(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:l,altKey:u,shiftKey:a}=t;(0,T.vU)()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&((0,T.V5)()?i=!0:l=!0);let c=(0,T.Pf)()&&(0,T.V5)()&&!(0,T.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:l,altKey:u,shiftKey:a}):new MouseEvent("click",{metaKey:i,ctrlKey:l,altKey:u,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});W.isOpening=n,A(e),e.dispatchEvent(c),W.isOpening=!1}W.isOpening=!1;let O=null,K=new Set,I=new Map,D=!1,z=!1;function H(e,t){for(let n of K)n(e,t)}function B(e){D=!0,W.isOpening||e.metaKey||!(0,T.V5)()&&e.altKey||e.ctrlKey||"Control"
1===e.key||"Shift"===e.key||"Meta"===e.key||(O="keyboard",H("keyboard",e))}function U(e){O="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(D=!0,H("pointer",e))}function $(e){W.isOpening||(""!==e.pointerType||!e.isTrusted)&&((0,T.Dt)()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(D=!0,O="virtual")}function V(e){e.target!==window&&e.target!==document&&e.isTrusted&&(D||z||(O="virtual",H("virtual",e)),D=!1,z=!1)}function q(){D=!1,z=!0}function G(e){if("undefined"==typeof window||"undefined"==typeof document||I.get(g(e)))return;let t=g(e),n=y(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){D=!0,r.apply(this,arguments)},n.addEventListener("keydown",B,!0),n.addEventListener("keyup",B,!0),n.addEventListener("click",$,!0),t.addEventListener("focus",V,!0),t.addEventListener("blur",q,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",U,!0),n.addEventListener("pointermove",U,!0),n.addEventListener("pointerup",U,!0)),t.addEventListener("beforeunload",()=>{X(e)},{once:!0}),I.set(t,{focus:r})}let X=(e,t)=>{let n=g(e),r=y(e);t&&r.removeEventListener("DOMContentLoaded",t),I.has(n)&&(n.HTMLElement.prototype.focus=I.get(n).focus,r.removeEventListener("keydown",B,!0),r.removeEventListener("keyup",B,!0),r.removeEventListener("click",$,!0),n.removeEventListener("focus",V,!0),n.removeEventListener("blur",q,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",U,!0),r.removeEventListener("pointermove",U,!0),r.removeEventListener("pointerup",U,!0)),I.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=y(void 0);"loading"!==n.readyState?G(void 0):(t=()=>{G(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>X(e,t)}();let Z=new Map,Y=new Set;function J(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=Z.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),Z.delete(n.target)),0===Z.size)){for(let e of Y)e();Y.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=Z.get(n.target);r||(r=new Set,Z.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?J():document.addEventListener("DOMContentLoaded",J));let Q=p.createContext(null),ee="react-aria-focus-scope-restore",et=null;function en(e){let t,n,{children:r,contain:o,restoreFocus:i,autoFocus:l}=e,u=(0,p.useRef)(null),a=(0,p.useRef)(null),c=(0,p.useRef)([]),{parentNode:s}=(0,p.useContext)(Q)||{},d=(0,p.useMemo)(()=>new em({scopeRef:c}),[c]);(0,b.b)(()=>{let e=s||ev.root;if(ev.getTreeNode(e.scopeRef)&&et&&!eu(et,e.scopeRef)){let t=ev.getTreeNode(et);t&&(e=t)}e.addChild(d),ev.addNode(d)},[d,s]),(0,b.b)(()=>{let e=ev.getTreeNode(c);e&&(e.contain=!!o)},[o]),(0,b.b)(()=>{var e;let t=null===(e=u.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==a.current;)n.push(t),t.addEventListener(ee,r),t=t.nextSibling;return c.current=n,()=>{for(let e of n)e.removeEventListener(ee,r)}},[r]),(0,b.b)(()=>
1{if(i||o)return;let e=c.current,t=y(e?e[0]:void 0),n=e=>{let t=x(e);ei(t,c.current)?et=c:el(t)||(et=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[c,i,o]),t=(0,p.useRef)(void 0),n=(0,p.useRef)(void 0),(0,b.b)(()=>{let e=c.current;if(!o){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let r=y(e?e[0]:void 0),i=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!eo(c)||e.isComposing)return;let t=N(r),n=c.current;if(!n||!ei(t,n))return;let o=ep(er(n),{tabbable:!0},n);if(!t)return;o.currentNode=t;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&ea(i,!0)},l=e=>{(!et||eu(et,c))&&ei(x(e),c.current)?(et=c,t.current=x(e)):eo(c)&&!el(x(e),c)?t.current?t.current.focus():et&&et.current&&es(et.current):eo(c)&&(t.current=x(e))},u=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let n=O,o=("virtual"===n||null===n)&&(0,T.Dt)()&&(0,T.i7)(),i=N(r);if(!o&&i&&eo(c)&&!el(i,c)){et=c;let n=x(e);if(n&&n.isConnected){var l;t.current=n,null===(l=t.current)||void 0===l||l.focus()}else et.current&&es(et.current)}})};return r.addEventListener("keydown",i,!1),r.addEventListener("focusin",l,!1),null==e||e.forEach(e=>e.addEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",u,!1)),()=>{r.removeEventListener("keydown",i,!1),r.removeEventListener("focusin",l,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",u,!1))}},[c,o]),(0,b.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,p.useRef)("undefined"!=typeof document?N(y(e.current?e.current[0]:void 0)):null);(0,b.b)(()=>{let r=e.current,o=y(r?r[0]:void 0);if(!t||n)return;let i=()=>{(!et||eu(et,e))&&ei(N(o),e.current)&&(et=e)};return o.addEventListener("focusin",i,!1),null==r||r.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,n]),(0,b.b)(()=>{let r=y(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!eo(e)||t.isComposing)return;let n=r.activeElement;if(!el(n,e)||!ed(e))return;let o=ev.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,l=ep(r.body,{tabbable:!0});l.currentNode=n;let u=t.shiftKey?l.previousNode():l.nextNode();if(i&&i.isConnected&&i!==r.body||(i=void 0,o.nodeToRestore=void 0),(!u||!el(u,e))&&i){l.currentNode=i;do u=t.shiftKey?l.previousNode():l.nextNode();while(el(u,e));(t.preventDefault(),t.stopPropagation(),u)?ea(u,!0):el(i)?ea(i,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),(0,b.b)(()=>{var n;let o=y(e.current?e.current[0]:void 0);if(!t)return;let i=ev.getTreeNode(e);if(i)return i.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=ev.getTreeNode(e);if(!n)return;let r=n.nodeToRestore,i=N(o);if(t&&r&&(i&&el(i,e)||i===o.body&&ed(e))){let t=ev.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){ef(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&ev.getTreeNode(n.scopeRef)){ef(ec(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}(c,i,o),function(e,t){let n=p.useRef(t);(0,p.useEffect)(()=>{n.current&&(et=e,!ei(N(y(e.current?e.current[0]:void 0)),et.current)&&e.current&&es(e.current)),n.current=!1},[e])}(c,l),(0,p.useEffect)(()=>{let e=N(y(c.current?c.current[0]:void 0)),t=null;if(ei(e,c.current)){for(let n of ev.traverse())n.scopeRef&&ei(e,n.scopeRef.current)&&(t=n);t===ev.getTreeNode(c)&&(et=t.scopeRef)}},[c]),(0,b.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=ev.getTreeNode(c))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(c===et||eu(c,et))&&(!r||ev.getTreeNode(r))&&(et=r),ev.removeTreeNode(c)},[c]);let f=(0,p.useMemo)(()=>({focusNext(e={}){var t;let n=c.current,{from:r,tabbable:o,wrap:i,accept:l}=e,u=r||N(y(null!==(t=n[0])&&void 0!==t?t:void 0)),a=n[0].previousElementSibling,s=ep(er(n),{tabbable:o,accept:l},n);s.currentNode=ei(u,n)?u:a;let d=s.nextNode();return!d&&i&&(s.currentNode=a,d=s.nextNode()),d&&ea(d,!0),d},focusPrevious(e={}){var t;let n=c.current,{from:r,tabbable:o,wrap:i,accept:l}=e,u=r||N(y(null!==(t=n[0])&&void 0!==t?t:void 0)),a=n[n.length-1].nextElementSibling,s=ep(er(n),{tabbable:o,accept:l},n);s.currentNode=ei(u,n)?u:a;let d=s.previousNode();return!d&&i&&(s.currentNode=a,d=s.previousNode()),d&&ea(d,!0),d},focusFirst(e={}){let t=c.current,{tabbable:n,accept:r}=e,o=ep(er(t),{tabbable:n,accept:r},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&ea(i,!0),i},focusLast(e={}){let t=c.current,{tabbable:n,accept:r}=e,o=ep(er(t),{tabbable:n,accept:r},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&ea(i,!0),i}}),[]),h=(0,p.useMemo)(()=>({focusManager:f,parentNode:d}),[d,f]);return p.createElement(Q.Provider,{value:h},p.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:u}),r,p.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function er(e){return e[0].parentElement}function eo(e){let t=ev.getTreeNode(et);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function ei(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function el(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of ev.traverse(ev.getTreeNode(t)))if(n&&ei(e,n.current))return!0;return!1}function eu(e,t){var n;let r=null===(n=ev.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function ea(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{!function(e){let t=y(e);if("virtual"===O){var n;let r=N(t);n=()=>{let n=N(t);(n===r||n===t.body)&&e.isConnected&&A(e)},requestAnimationFrame(()=>{(function(){for(let[e]of Z)"isConnected"in e&&!e.isConnected&&Z.delete(e)})(),0===Z.size?n():Y.add(n)})}else A(e)}(e)}catch{}}function ec(e,t=!0){let n=e[0].previousElementSibling,r=er(e),o=ep(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();return t&&!i&&((o=ep(r=er(e),{tabbable:!1},e)).currentNode=n,i=o.nextNode()),i}function es(e,t=!0){ea(ec(e,t))}function ed(e){let t=ev.getTreeNode(et);for(;t&&t.scopeRef!==e;
1){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function ef(e){e.dispatchEvent(new CustomEvent(ee,{bubbles:!0,cancelable:!0}))&&ea(e)}function ep(e,t,n){var r,o,i;let l=(null==t?void 0:t.tabbable)?P:_,u=y((null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null),a=(r=e||u,o=NodeFilter.SHOW_ELEMENT,i={acceptNode(e){var r;return(null==t?void 0:null===(r=t.from)||void 0===r?void 0:r.contains(e))||(null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var n,r;let o=null===(r=e.form)||void 0===r?void 0:null===(n=r.elements)||void 0===n?void 0:n.namedItem(e.name);t=[...null!=o?o:[]]}else t=[...y(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===a.currentNode.tagName&&"radio"===a.currentNode.type&&a.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:l(e)&&(!n||ei(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}},(0,w.Wr)()?new M(u,r,o,i):u.createTreeWalker(r,o,i));return(null==t?void 0:t.from)&&(a.currentNode=t.from),a}class eh{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new em({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&ei(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new eh;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new em({scopeRef:null}),this.fastMap.set(null,this.root)}}class em{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let ev=new eh;var eb=n(54887),ey=n(87365);let eg=p.createContext(null);function ew(e){var t;let n=(0,ey.Av)(),{portalContainer:r=n?null:document.body,isExiting:o}=e,[i,l]=(0,p.useState)(!1),u=(0,p.useMemo)(()=>({contain:i,setContain:l}),[i,l]),{getContainer:a}=null!==(t=(0,p.useContext)(h))&&void 0!==t?t:{};if(!e.portalContainer&&a&&(r=a()),!r)return null;let c=e.children;return e.disableFocusManagement||(c=p.createElement(en,{restoreFocus:!0,contain:i&&!o},c)),c=p.createElement(eg.Provider,{value:u},p.createElement(v,null,c)),eb.createPortal(c,r)}var eE=n(57437),eN=()=>n.e(6796).then(n.bind(n,66796)).then(e=>e.default),ex=(0,i.Gp)((e,t)=>{var n,i;let{className:h,children:m,portalContainer:v,motionProps:b,style:y,...g}=e,w=(0,l.gy)(t),{slots:E,isMenuOpen:N,height:x,disableAnimation:T,classNames:k}=(0,r.q)(),L=(0,u.W)(null==k?void 0:k.menu,h),R=N?ew:p.Fragment;return T?(0,eE.jsx)(R,{portalContainer:v,children:(0,eE.jsx)("ul",{ref:w,className:null==(n=E.menu)?void 0:n.call(E,{class:L}),"data-open":(0,a.PB)(N),style:{"--navbar-height":"number"==typeof x?"".concat(x,"px"):x},...g,children:m})}):(0,eE.jsx)(c.M,{mode:"wait",children:N?(0,eE.jsx)(ew,{portalContainer:v,children:(0,eE.jsx)(s.X,{features:eN,children:(0,eE.jsx)(d.m.ul,{ref:w,layoutScroll:!0,animate:"enter",className:null==(i=E.menu)?void 0:i.call(E,{class:L}),"data-open":(0,a.PB)(N),exit:"exit",initial:"exit",style:{"--navbar-height":"number"==typeof x?"".concat(x,"px"):x,...y},variants:o,...(0,f.d)(b,g),children:m})})}):null})});ex.displayName="NextUI.NavbarMenu";var eT=ex},14853:function(e,t,n){function r(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Dt:function(){return f},Pf:function(){return s},V5:function(){return l},gn:function(){return c},i7:function(){return d},vU:function(){return p},zc:function(){return a}});let l=i(function(){return o(/^Mac/i)}),u=i(function(){return o(/^iPhone/i)}),a=i(function(){return o(/^iPad/i)||l()&&navigator.maxTouchPoints>1}),c=i(function(){return u()||a()});i(function(){return l()||c()});
1let s=i(function(){return r(/AppleWebKit/i)&&!d()}),d=i(function(){return r(/Chrome/i)}),f=i(function(){return r(/Android/i)}),p=i(function(){return r(/Firefox/i)})},37814:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(2265);let o="undefined"!=typeof document?r.useLayoutEffect:()=>{}},1070:function(e,t,n){n.d(t,{d:function(){return i}}),n(2265),"undefined"!=typeof window&&window.document&&window.document.createElement;let r=new Map;var o=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(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)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r};function i(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let i=e[n];for(let e in i){let n=t[e],l=i[e];"function"==typeof n&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof l?t[e]=o(n,l):"id"===e&&n&&l?t.id=function(e,t){if(e===t)return e;let n=r.get(e);if(n)return n.forEach(e=>e(t)),t;let o=r.get(t);return o?(o.forEach(t=>t(e)),e):t}(n,l):t[e]=void 0!==l?l:n}}return t}},36321:function(e,t,n){n.d(t,{N:function(){return o}});var r=n(2265),o=(e,t)=>{var n;let o=[];return[null==(n=r.Children.map(e,e=>(0,r.isValidElement)(e)&&e.type===t?(o.push(e),null):e))?void 0:n.filter(
1Boolean),o.length>=0?o:void 0]}},95278:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(40641);function o(e,t){let{id:n,"aria-label":o,"aria-labelledby":i}=e;return n=(0,r.Me)(n),i&&o?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),o||i||!t||(o=t),{id:n,"aria-label":o,"aria-labelledby":i}}},38322:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(99376),o=n(2265),i=n.t(o,2),l=n(28774),u=i["use".trim()],a=n(50412),c=n(6641),s=n(37512),d=n(57437),f=n(41392);function p(e){let{Link:t,config:n,getPathname:i,...p}=function(e,t){var n,i,l;let f={...n=t||{},localePrefix:"object"==typeof(l=n.localePrefix)?l:{mode:l||"always"},localeCookie:!!((i=n.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof i&&i},localeDetection:n.localeDetection??!0,alternateLinks:n.alternateLinks??!0},p=f.pathnames,h=(0,o.forwardRef)(function({href:t,locale:n,...r},o){let i,l;"object"==typeof t?(i=t.pathname,l=t.params):i=t;let s=(0,a.t3)(t),h=e(),v=(0,a.tI)(h)?u(h):h,b=s?m({locale:n||v,href:null==p?i:{pathname:i,params:l},forcePrefix:null!=n||void 0}):i;return(0,d.jsx)(c.default,{ref:o,href:"object"==typeof t?{...t,pathname:b}:b,locale:n,localeCookie:f.localeCookie,...r})});function m(e){let t;let{forcePrefix:n,href:r,locale:o}=e;return null==p?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,s.Ci)(r.query))):t=r:t=(0,s.cT)({locale:o,...(0,s.hm)(r),pathnames:f.pathnames}),(0,s.r6)(t,o,f,n)}function v(e){return function(t,...n){return e(m(t),...n)}}return{config:f,Link:h,redirect:v(r.redirect),permanentRedirect:v(r.permanentRedirect),getPathname:m}}(l.bU,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,r.usePathname)(),n=(0,l.bU)();return(0,o.useMemo)(()=>{if(!t)return t;let r=t,o=(0,a.Af)(n,e.localePrefix);if((0,a.Tp)(o,t))r=(0,a.vz)(t,o);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,a.Sk)(n);(0,a.Tp)(e,t)&&(r=(0,a.vz)(t,e))}return r},[e.localePrefix,n,t])}(n),t=(0,l.bU)();return(0,o.useMemo)(()=>e&&n.pathnames?(0,s.Bv)(t,e,n.pathnames):e,[t,e])},useRouter:function(){let e=(0,r.useRouter)(),t=(0,l.bU)(),u=(0,r.usePathname)();return(0,o.useMemo)(()=>{function r(e){return function(r,o){let{locale:l,...a}=o||{},c=[i({href:r,locale:l||t,forcePrefix:null!=l||void 0})];Object.keys(a).length>0&&c.push(a),(0,f.Z)(n.localeCookie,u,t,l),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,u,e])},getPathname:i}}},6641:function(e,t,n){n.d(t,{default:function(){return c}});var r=n(27648),o=n(99376),i=n(2265),l=n(28774),u=n(41392),a=n(57437),c=(0,i.forwardRef)(function(e,t){let{href:n,locale:i,localeCookie:c,onClick:s,prefetch:d,...f}=e,p=(0,l.bU)(),h=null!=i&&i!==p,m=(0,o.usePathname)();return h&&(d=!1),(0,a.jsx)(r.default,{ref:t,href:n,hrefLang:h?i:void 0,onClick:function(e){(0,u.Z)(c,m,p,i),s&&s(e)},prefetch:d,...f})})},41392:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(37512);function o(e,t,n,o){if(!e||!(o!==n&&null!=o)||!t)return;let i=(0,r.bv)(t),{name:l,...u}=e;u.path||(u.path=""!==i?i:"/");let a=`${l}=${o};`;for(let[e,t]of Object.entries(u))a+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(a+="="+t),a+=";";document.cookie=a}},37512:function(e,t,n){n.d(t,{Bv:function(){return u},Ci:function(){return i},bv:function(){return a},cT:function(){return l},hm:function(){return o},r6:function(){return c}});var r=n(50412);function o(e){return"string"==typeof e?{pathname:e}:e}function i(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function l({pathname:e,locale:t,params:n,pathnames:o,query:l}){function u(e){let u;let a=o[e];return a?(u=(0,r.lB)(a,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),u=u.replace(RegExp(n,"g"),r)}),u=new URL(u=u.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):u=e,u=(0,r.RZ)(u),l&&(u+=i(l)),u}if("string"==typeof e)return u(e);{let{pathname:t,...n}=e;return{...n,pathname:u(t)}}}function u(e,t,n){let o=(0,r.kp)(Object.keys(n)),i=decodeURI(t);for(let t of o){let o=n[t];if("string"==typeof o){if((0,r.wl)(o,i))return t}else if((0,r.wl)((0,r.lB)(o,e,t),i))return t}return t}function a(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,n,o){let i;let{mode:l}=n.localePrefix;return void 0!==o?i=o:(0,r.t3)(e)&&("always"===l?i=!0:"as-needed"===l&&(i=n.domains?!n.domains.some(e=>e.defaultLocale===t):t!==n.defaultLocale)),i?(0,r.R3)((0,r.Af)(t,n.localePrefix),e):e}},50412:function(e,t,n){n.d(t,{Af:function(){return d},R3:function(){return l},RZ:function(){return c},Sk:function(){return f},Tp:function(){return u},kp:function(){return b},lB:function(){return a},t3:function(){return o},tI:function(){return y},vz:function(){return i},wl:function(){return s}});var r=n(25566);function o(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function i(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function l(e,t){let n=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function u(e,t){return t===e||t.startsWith(`${e}/`)}function a(e,t,n){return"string"==typeof e?e:e[t]||n}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}(),[n,...o]=e.split("#"),i=o.join("#"),l=n;if("/"!==l){let e=l.endsWith("/");t&&!e?l+="/":!t&&e&&(l=l.slice(0,-1))}return i&&(l+="#"+i),l}function s(e,t){let n=c(e),r=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(n).test(r)}function d(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function v(e,t){let n=e.split("/"),r=t.split("/"),o=Math.max(n.length,r.length);for(let e=0;e<o;e++){let t=n[e],o=r[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!h(t)&&h(o))return -1;if(h(t)&&!h(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}function b(e){return e.sort(v)}function y(e){return"function"==typeof e.then}}}]);
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.