(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[313],{1550:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return addLocale}}),n(9758);let addLocale=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4868:function(e,t,n){"use strict";function getDomainLocale(e,t,n,o){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}),n(9758),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return R}});let o=n(7295),a=o._(n(4032)),i=n(633),l=n(429),u=n(6476),s=n(7481),c=n(1550),f=n(436),d=n(562),p=n(2593),h=n(4868),g=n(7492),m=n(3827),y=new Set;function prefetch(e,t,n,o,a,i){if(!i&&!(0,l.isLocalURL)(t))return;if(!o.bypassPrefetchedCheck){let a=void 0!==o.locale?o.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+a;if(y.has(i))return;y.add(i)}let u=i?e.prefetch(t,a):e.prefetch(t,n,o);Promise.resolve(u).catch(e=>{})}function isModifiedEvent(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function linkClicked(e,t,n,o,i,u,s,c,f,d){let{nodeName:p}=e.currentTarget,h="A"===p.toUpperCase();if(h&&(isModifiedEvent(e)||!f&&!(0,l.isLocalURL)(n)))return;e.preventDefault();let navigate=()=>{let e=null==s||s;"beforePopState"in t?t[i?"replace":"push"](n,o,{shallow:u,locale:c,scroll:e}):t[i?"replace":"push"](o||n,{forceOptimisticNavigation:!d,scroll:e})};f?a.default.startTransition(navigate):navigate()}function formatStringOrUrl(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let b=a.default.forwardRef(function(e,t){let n,o;let{href:l,as:u,children:y,prefetch:b=null,passHref:R,replace:P,shallow:v,scroll:_,locale:O,onClick:S,onMouseEnter:E,onTouchStart:N,legacyBehavior:j=!1,...x}=e;n=y,j&&("string"==typeof n||"number"==typeof n)&&(n=a.default.createElement("a",null,n));let w=a.default.useContext(f.RouterContext),M=a.default.useContext(d.AppRouterContext),U=null!=w?w:M,k=!w,C=!1!==b,L=null===b?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:I,as:T}=a.default.useMemo(()=>{if(!w){let e=formatStringOrUrl(l);return{href:e,as:u?formatStringOrUrl(u):e}}let[e,t]=(0,i.resolveHref)(w,l,!0);return{href:e,as:u?(0,i.resolveHref)(w,u):t||e}},[w,l,u]),A=a.default.useRef(I),D=a.default.useRef(T);j&&(o=a.default.Children.only(n));let W=j?o&&"object"==typeof o&&o.ref:t,[z,F,K]=(0,p.useIntersection)({rootMargin:"200px"}),Q=a.default.useCallback(e=>{(D.current!==T||A.current!==I)&&(K(),D.current=T,A.current=I),z(e),W&&("function"==typeof W?W(e):"object"==typeof W&&(W.current=e))},[T,W,I,K,z]);a.default.useEffect(()=>{U&&F&&C&&prefetch(U,I,T,{locale:O},{kind:L},k)},[T,I,F,O,C,null==w?void 0:w.locale,U,k,L]);let $={ref:Q,onClick(e){j||"function"!=typeof S||S(e),j&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),U&&!e.defaultPrevented&&linkClicked(e,U,I,T,P,v,_,O,k,C)},onMouseEnter(e){j||"function"!=typeof E||E(e),j&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&(C||!k)&&prefetch(U,I,T,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:L},k)},onTouchStart(e){j||"function"!=typeof N||N(e),j&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&(C||!k)&&prefetch(U,I,T,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:L},k)}};if((0,s.isAbsoluteUrl)(T))$.href=T;else if(!j||R||"a"===o.type&&!("href"in o.props)){let e=void 0!==O?O:null==w?void 0:w.locale,t=(null==w?void 0:w.isLocaleDomain)&&(0,h.getDomainLocale)(T,e,null==w?void 0:w.locales,null==w?void 0:w.domainLocales);$.href=t||(0,g.addBasePath)((0,c.addLocale)(T,e,null==w?void 0:w.defaultLocale))}return j?a.default.cloneElement(o,$):a.default.createElement("a",{...x,...$},n)}),R=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1340:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return o}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return resolveHref}});let o=n(5489),a=n(6476),i=n(8299),l=n(7481),u=n(9758),s=n(429),c=n(6080),f=n(5384);function resolveHref(e,t,n){let d;let p="string"==typeof t?t:(0,a.formatWithValidation)(t),h=p.match(/^[a-zA-Z]{1,}:\/\//),g=h?p.slice(h[0].length):p,m=g.split("?",1);if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,l.normalizeRepeatedSlashes)(g);p=(h?h[0]:"")+t}if(!(0,s.isLocalURL)(p))return n?[p]:p;try{d=new URL(p.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(p,d);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,c.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,o.searchParamsToUrlQuery)(e.searchParams),{result:l,params:u}=(0,f.interpolateAs)(e.pathname,e.pathname,n);l&&(t=(0,a.formatWithValidation)({pathname:l,hash:e.hash,query:(0,i.omit)(n,u)}))}let l=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return n?[l,t||l]:l}catch(e){return n?[p]:p}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2593:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let o=n(4032),a=n(1340),i="function"==typeof IntersectionObserver,l=new Map,u=[];function createObserver(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},o=u.find(e=>e.root===n.root&&e.margin===n.margin);if(o&&(t=l.get(o)))return t;let a=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:a},u.push(n),l.set(n,t),t}function observe(e,t,n){let{id:o,observer:a,elements:i}=createObserver(n);return i.set(e,t),a.observe(e),function(){if(i.delete(e),a.unobserve(e),0===i.size){a.disconnect(),l.delete(o);let e=u.findIndex(e=>e.root===o.root&&e.margin===o.margin);e>-1&&u.splice(e,1)}}}function useIntersection(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!i,[s,c]=(0,o.useState)(!1),f=(0,o.useRef)(null),d=(0,o.useCallback)(e=>{f.current=e},[]);(0,o.useEffect)(()=>{if(i){if(u||s)return;let e=f.current;if(e&&e.tagName){let o=observe(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n});return o}}else if(!s){let e=(0,a.requestIdleCallback)(()=>c(!0));return()=>(0,a.cancelIdleCallback)(e)}},[u,n,t,s,f.current]);let p=(0,o.useCallback)(()=>{c(!1)},[]);return[d,s,p]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3064:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return escapeStringRegexp}});let n=/[|\\{}()[\]^$+*?.-]/,o=/[|\\{}()[\]^$+*?.-]/g;function escapeStringRegexp(e){return n.test(e)?e.replace(o,"\\$&"):e}},6476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return formatUrl},urlObjectKeys:function(){return l},formatWithValidation:function(){return formatWithValidation}});let o=n(3589),a=o._(n(5489)),i=/https?|ftp|gopher|file/;function formatUrl(e){let{auth:t,hostname:n}=e,o=e.protocol||"",l=e.pathname||"",u=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:n&&(c=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(a.urlQueryToSearchParams(s)));let f=e.search||s&&"?"+s||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||i.test(o))&&!1!==c?(c="//"+(c||""),l&&"/"!==l[0]&&(l="/"+l)):c||(c=""),u&&"#"!==u[0]&&(u="#"+u),f&&"?"!==f[0]&&(f="?"+f),""+o+c+(l=l.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+u}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function formatWithValidation(e){return formatUrl(e)}},6080:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return o.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let o=n(8729),a=n(607)},5384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return interpolateAs}});let o=n(7157),a=n(1908);function interpolateAs(e,t,n){let i="",l=(0,a.getRouteRegex)(e),u=l.groups,s=(t!==e?(0,o.getRouteMatcher)(l)(t):"")||n;i=e;let c=Object.keys(u);return c.every(e=>{let t=s[e]||"",{repeat:n,optional:o}=u[e],a="["+(n?"...":"")+e+"]";return o&&(a=(t?"":"/")+"["+a+"]"),n&&!Array.isArray(t)&&(t=[t]),(o||e in s)&&(i=i.replace(a,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:c,result:i}}},607:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return isDynamicRoute}});let n=/\/\[[^/]+?\](?=\/|$)/;function isDynamicRoute(e){return n.test(e)}},429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return isLocalURL}});let o=n(7481),a=n(1448);function isLocalURL(e){if(!(0,o.isAbsoluteUrl)(e))return!0;try{let t=(0,o.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,a.hasBasePath)(n.pathname)}catch(e){return!1}}},8299:function(e,t){"use strict";function omit(e,t){let n={};return Object.keys(e).forEach(o=>{t.includes(o)||(n[o]=e[o])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return omit}})},5489:function(e,t){"use strict";function searchParamsToUrlQuery(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function stringifyUrlQueryParam(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function urlQueryToSearchParams(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,stringifyUrlQueryParam(e))):t.set(n,stringifyUrlQueryParam(o))}),t}function assign(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{searchParamsToUrlQuery:function(){return searchParamsToUrlQuery},urlQueryToSearchParams:function(){return urlQueryToSearchParams},assign:function(){return assign}})},7157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return getRouteMatcher}});let o=n(7481);function getRouteMatcher(e){let{re:t,groups:n}=e;return e=>{let a=t.exec(e);if(!a)return!1;let decode=e=>{try{return decodeURIComponent(e)}catch(e){throw new o.DecodeError("failed to decode param")}},i={};return Object.keys(n).forEach(e=>{let t=n[e],o=a[t.pos];void 0!==o&&(i[e]=~o.indexOf("/")?o.split("/").map(e=>decode(e)):t.repeat?[decode(o)]:decode(o))}),i}}},1908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRouteRegex:function(){return getRouteRegex},getNamedRouteRegex:function(){return getNamedRouteRegex},getNamedMiddlewareRegex:function(){return getNamedMiddlewareRegex}});let o=n(9579),a=n(3064),i=n(2293);function parseParameter(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function getParametrizedRoute(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},l=1;return{parameterizedRoute:t.map(e=>{let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:o,repeat:u}=parseParameter(i[1]);return n[e]={pos:l++,repeat:u,optional:o},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,a.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:o}=parseParameter(i[1]);return n[e]={pos:l++,repeat:t,optional:o},t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function getRouteRegex(e){let{parameterizedRoute:t,groups:n}=getParametrizedRoute(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function buildGetSafeRouteKey(){let e=0;return()=>{let t="",n=++e;for(;n>0;)t+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return t}}function getSafeKeyFromSegment(e){let{getSafeRouteKey:t,segment:n,routeKeys:o,keyPrefix:a}=e,{key:i,optional:l,repeat:u}=parseParameter(n),s=i.replace(/\W/g,"");a&&(s=""+a+s);let c=!1;return(0===s.length||s.length>30)&&(c=!0),isNaN(parseInt(s.slice(0,1)))||(c=!0),c&&(s=t()),a?o[s]=""+a+i:o[s]=""+i,u?l?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}function getNamedParametrizedRoute(e,t){let n=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=buildGetSafeRouteKey(),u={};return{namedParameterizedRoute:n.map(e=>{let n=o.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);return n&&i?getSafeKeyFromSegment({getSafeRouteKey:l,segment:i[1],routeKeys:u,keyPrefix:t?"nxtI":void 0}):i?getSafeKeyFromSegment({getSafeRouteKey:l,segment:i[1],routeKeys:u,keyPrefix:t?"nxtP":void 0}):"/"+(0,a.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function getNamedRouteRegex(e,t){let n=getNamedParametrizedRoute(e,t);return{...getRouteRegex(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function getNamedMiddlewareRegex(e,t){let{parameterizedRoute:n}=getParametrizedRoute(e),{catchAll:o=!0}=t;if("/"===n)return{namedRegex:"^/"+(o?".*":"")+"$"};let{namedParameterizedRoute:a}=getNamedParametrizedRoute(e,!1);return{namedRegex:"^"+a+(o?"(?:(/.*)?)":"")+"$"}}},8729:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return getSortedRoutes}});let UrlNode=class UrlNode{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let a=o.slice(1,-1),i=!1;if(a.startsWith("[")&&a.endsWith("]")&&(a=a.slice(1,-1),i=!0),a.startsWith("...")&&(a=a.substring(3),n=!0),a.startsWith("[")||a.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+a+"').");if(a.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+a+"').");function handleSlug(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');handleSlug(this.optionalRestSlugName,a),this.optionalRestSlugName=a,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');handleSlug(this.restSlugName,a),this.restSlugName=a,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');handleSlug(this.slugName,a),this.slugName=a,o="[]"}}this.children.has(o)||this.children.set(o,new UrlNode),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}};function getSortedRoutes(e){let t=new UrlNode;return e.forEach(e=>t.insert(e)),t.smoosh()}},7481:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{WEB_VITALS:function(){return n},execOnce:function(){return execOnce},isAbsoluteUrl:function(){return isAbsoluteUrl},getLocationOrigin:function(){return getLocationOrigin},getURL:function(){return getURL},getDisplayName:function(){return getDisplayName},isResSent:function(){return isResSent},normalizeRepeatedSlashes:function(){return normalizeRepeatedSlashes},loadGetInitialProps:function(){return loadGetInitialProps},SP:function(){return a},ST:function(){return i},DecodeError:function(){return DecodeError},NormalizeError:function(){return NormalizeError},PageNotFoundError:function(){return PageNotFoundError},MissingStaticPage:function(){return MissingStaticPage},MiddlewareNotFoundError:function(){return MiddlewareNotFoundError},stringifyError:function(){return stringifyError}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function execOnce(e){let t,n=!1;return function(){for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n||(n=!0,t=e(...a)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,isAbsoluteUrl=e=>o.test(e);function getLocationOrigin(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function getURL(){let{href:e}=window.location,t=getLocationOrigin();return e.substring(t.length)}function getDisplayName(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function isResSent(e){return e.finished||e.headersSent}function normalizeRepeatedSlashes(e){let t=e.split("?"),n=t[0];return n.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function loadGetInitialProps(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await loadGetInitialProps(t.Component,t.ctx)}:{};let o=await e.getInitialProps(t);if(n&&isResSent(n))return o;if(!o){let t='"'+getDisplayName(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.';throw Error(t)}return o}let a="undefined"!=typeof performance,i=a&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);let DecodeError=class DecodeError extends Error{};let NormalizeError=class NormalizeError extends Error{};let PageNotFoundError=class PageNotFoundError extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}};let MissingStaticPage=class MissingStaticPage extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}};let MiddlewareNotFoundError=class MiddlewareNotFoundError extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}};function stringifyError(e){return JSON.stringify({message:e.message,stack:e.stack})}},5030:function(e,t,n){"use strict";/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(4032),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,u=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function q(e,t,n){var o,i={},c=null,f=null;for(o in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(f=t.ref),t)l.call(t,o)&&!s.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:a,type:e,key:c,ref:f,props:i,_owner:u.current}}t.Fragment=i,t.jsx=q,t.jsxs=q},1911:function(e,t,n){"use strict";e.exports=n(5030)},1706:function(e,t,n){e.exports=n(6684)},9357:function(e,t,n){e.exports=n(6566)},3501:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e){if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t)}return o}function clsx(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}t.Z=clsx}}]);