(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return u},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function u(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(190809)._(e.r(998183)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(u.urlQueryToSearchParams(l)));let f=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),f&&"?"!==f[0]&&(f="?"+f),o=o.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${c}${o}${f}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return O},MissingStaticPage:function(){return v},NormalizeError:function(){return P},PageNotFoundError:function(){return b},SP:function(){return g},ST:function(){return m},WEB_VITALS:function(){return u},execOnce:function(){return a},getDisplayName:function(){return s},getLocationOrigin:function(){return c},getURL:function(){return f},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return _}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function f(){let{href:e}=window.location,t=c();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&p(r))return n;if(!n)throw Object.defineProperty(Error(`"${s(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let g="undefined"!=typeof performance,m=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class P extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class O extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=e.r(718967),o=e.r(652817);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(190809),a=e.r(843476),i=u._(e.r(271645)),l=e.r(195057),c=e.r(8372),f=e.r(818581),s=e.r(718967),p=e.r(405550);e.r(233525);let d=e.r(91949),h=e.r(573668),g=e.r(509396);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function y(t){var r;let n,o,u,[l,y]=(0,i.useOptimistic)(d.IDLE_LINK_STATUS),b=(0,i.useRef)(null),{href:v,as:O,children:_,prefetch:j=null,passHref:E,replace:S,shallow:x,scroll:R,onClick:L,onMouseEnter:T,onTouchStart:C,legacyBehavior:$=!1,onNavigate:w,ref:A,unstable_dynamicOnHover:N,...M}=t;n=_,$&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let U=i.default.useContext(c.AppRouterContext),k=!1!==j,I=!1!==j?null===(r=j)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,{href:z,as:F}=i.default.useMemo(()=>{let e=m(v);return{href:e,as:O?m(O):e}},[v,O]);if($){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let B=$?o&&"object"==typeof o&&o.ref:A,D=i.default.useCallback(e=>(null!==U&&(b.current=(0,d.mountLinkInstance)(e,z,U,I,k,y)),()=>{b.current&&((0,d.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,d.unmountPrefetchableInstance)(e)}),[k,z,U,I,y]),K={ref:(0,f.useMergedRef)(D,B),onClick(t){$||"function"!=typeof L||L(t),$&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,o,u,a,l){if("undefined"!=typeof window){let c,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){u&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:s}=e.r(699781);i.default.startTransition(()=>{s(n||r,u?"replace":"push",a??!0,o.current)})}}(t,z,F,b,S,R,w)},onMouseEnter(e){$||"function"!=typeof T||T(e),$&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&k&&(0,d.onNavigationIntent)(e.currentTarget,!0===N)},onTouchStart:function(e){$||"function"!=typeof C||C(e),$&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&k&&(0,d.onNavigationIntent)(e.currentTarget,!0===N)}};return(0,s.isAbsoluteUrl)(F)?K.href=F:$&&!E&&("a"!==o.type||"href"in o.props)||(K.href=(0,p.addBasePath)(F)),u=$?i.default.cloneElement(o,K):(0,a.jsx)("a",{...M,...K,children:n}),(0,a.jsx)(P.Provider,{value:l,children:u})}e.r(284508);let P=(0,i.createContext)(d.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(P);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},618566,(e,t,r)=>{t.exports=e.r(976562)},77105,549092,489790,33165,e=>{"use strict";var t=e.i(522016),r=e.i(618566),n=e.i(271645),o=e.i(861745),u=e.i(247167);function a(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function i(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function l(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function c(e,t){return t===e||t.startsWith(`${e}/`)}function f(e,t,r){return"string"==typeof e?e:e[t]||r}function s(e){let t=function(){try{return"true"===u.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),a=r;if("/"!==a){let e=a.endsWith("/");t&&!e?a+="/":!t&&e&&(a=a.slice(0,-1))}return o&&(a+="#"+o),a}function p(e,t){let r,n=s(e),o=s(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function d(e,t){return"never"!==t.mode&&t.prefixes?.[e]||h(e)}function h(e){return"/"+e}function g(e){return e.includes("[[...")}function m(e){return e.includes("[...")}function y(e){return e.includes("[")}function P(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function j({pathname:e,locale:t,params:r,pathnames:n,query:o}){function u(e){let u,a=n[e];return a?(u=f(a,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),u=u.replace(RegExp(r,"g"),n)}),u=new URL(u=u.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):u=e,u=s(u),o&&(u+=_(o)),u}if("string"==typeof e)return u(e);{let{pathname:t,...r}=e;return{...r,pathname:u(t)}}}function E(e,t,r){let n=b(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(p(n,o))return t}else if(p(f(n,e,t),o))return t}return t}function S(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function x(e,t,r,n){let o,{mode:u}=r.localePrefix;return void 0!==n?o=n:a(e)&&("always"===u?o=!0:"as-needed"===u&&(o=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),o?l(d(t,r.localePrefix),e):e}function R(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=S(t),{name:u,...a}=e;a.path||(a.path=""!==o?o:"/");let i=`${u}=${n};`;for(let[e,t]of Object.entries(a))i+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(i+="="+t),i+=";";document.cookie=i}e.s(["getLocaleAsPrefix",()=>h,"getLocalePrefix",()=>d,"getLocalizedTemplate",()=>f,"getSortedPathnames",()=>b,"hasPathnamePrefixed",()=>c,"isLocalizableHref",()=>a,"isPromise",()=>v,"matchesPathname",()=>p,"normalizeTrailingSlash",()=>s,"prefixPathname",()=>l,"unprefixPathname",()=>i],549092),e.s(["applyPathnamePrefix",()=>x,"compileLocalizedPathname",()=>j,"getBasePath",()=>S,"getRoute",()=>E,"normalizeNameOrNameWithParams",()=>O,"serializeSearchParams",()=>_],489790),e.s(["default",()=>R],33165);var L=e.i(843476),T=(0,n.forwardRef)(function({href:e,locale:n,localeCookie:u,onClick:a,prefetch:i,...l},c){let f=(0,o.useLocale)(),s=null!=n&&n!==f,p=(0,r.usePathname)();return s&&(i=!1),(0,L.jsx)(t.default,{ref:c,href:e,hrefLang:s?n:void 0,onClick:function(e){R(u,p,f,n),a&&a(e)},prefetch:i,...l})});e.s(["default",()=>T],77105)}]);