(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[176],{9524:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1801),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return s}}),n(3997);var s=function(e){for(var n=arguments.length,s=Array(n>1?n-1:0),t=1;t0;t&&n&&t(n)})},e),elements:s},o.push(n),i.set(n,t),t)}function d(e,t,n){var s=l(n),a=s.id,r=s.observer,c=s.elements;return c.set(e,t),r.observe(e),function(){if(c.delete(e),r.unobserve(e),0===c.size){r.disconnect(),i.delete(a);var t=o.findIndex(function(e){return e.root===a.root&&e.margin===a.margin});t>-1&&o.splice(t,1)}}}function u(e){var n=e.rootRef,l=e.rootMargin,u=e.disabled||!c,h=a._((0,s.useState)(!1),2),t=h[0],o=h[1],i=(0,s.useRef)(null),m=(0,s.useCallback)(function(e){i.current=e},[]);return(0,s.useEffect)(function(){if(c){if(!u&&!t){var s,e=i.current;if(e&&e.tagName)return d(e,function(e){return e&&o(e)},{root:n?.current,rootMargin:l})}}else if(!t)return s=(0,r.requestIdleCallback)(function(){return o(!0)}),function(){return(0,r.cancelIdleCallback)(s)}},[u,l,n,t,i.current]),[m,t,(0,s.useCallback)(function(){o(!1)},[])]}("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)},4910:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});var n=/[|\\{}()[\]^$+*?.-]/,s=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(s,"\\$&"):e}},6304:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return s}});var s=n(1024)._(n(2265)).default.createContext(null)},8130: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 s},urlObjectKeys:function(){return o},formatWithValidation:function(){return r}});var o,i=n(8533)._(n(5991)),a=/https?|ftp|gopher|file/;function s(e){var n,l=e.auth,d=e.hostname,s=e.protocol||"",o=e.pathname||"",c=e.hash||"",r=e.query||"",t=!1,l=l?encodeURIComponent(l).replace(/%3A/i,":")+"@":"";return e.host?t=l+e.host:d&&(t=l+(~d.indexOf(":")?"["+d+"]":d),e.port&&(t+=":"+e.port)),r&&"object"==typeof r&&(r=String(i.urlQueryToSearchParams(r))),n=e.search||r&&"?"+r||"",s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||a.test(s))&&!1!==t?(t="//"+(t||""),o&&"/"!==o[0]&&(o="/"+o)):t||(t=""),c&&"#"!==c[0]&&(c="#"+c),n&&"?"!==n[0]&&(n="?"+n),""+s+t+(o=o.replace(/[?#]/g,encodeURIComponent))+(n=n.replace("#","%23"))+c}o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function r(e){return s(e)}},9289: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 s.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});var s=n(9255),o=n(5321)},948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});var s=n(1670),o=n(7414);function i(e,t,n){var i="",a=(0,o.getRouteRegex)(e),r=a.groups,c=(t!==e?(0,s.getRouteMatcher)(a)(t):"")||n,i=e,l=Object.keys(r);return l.every(function(e){var t=c[e]||"",o=r[e],n=o.repeat,a=o.optional,s="["+(n?"...":"")+e+"]";return a&&(s=(t?"":"/")+"["+s+"]"),n&&!Array.isArray(t)&&(t=[t]),(a||e in c)&&(i=i.replace(s,n?t.map(function(e){return encodeURIComponent(e)}).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:l,result:i}}},5321:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return s}});var n=/\/\[[^/]+?\](?=\/|$)/;function s(e){return n.test(e)}},8664:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});var s=n(6681),o=n(6746);function i(e){if(!(0,s.isAbsoluteUrl)(e))return!0;try{var t=(0,s.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch{return!1}}},8137:function(e,t){"use strict";function n(e,t){var n={};return Object.keys(e).forEach(function(s){t.includes(s)||(n[s]=e[s])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},5991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4670);function i(e){var t={};return e.forEach(function(e,n){void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function s(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var i=o._(e,2),a=i[0],n=i[1];Array.isArray(n)?n.forEach(function(e){return t.append(a,s(e))}):t.set(a,s(n))}),t}function r(e){for(var n=arguments.length,s=Array(n>1?n-1:0),t=1;t0;)n+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return n}}function h(e){var s,c=e.getSafeRouteKey,l=e.segment,r=e.routeKeys,n=e.keyPrefix,i=o(l),a=i.key,d=i.optional,u=i.repeat,t=a.replace(/\W/g,"");return n&&(t=""+n+t),s=!1,(0===t.length||t.length>30)&&(s=!0),isNaN(parseInt(t.slice(0,1)))||(s=!0),s&&(t=c()),n?r[t]=""+n+a:r[t]=""+a,u?d?"(?:/(?<"+t+">.+?))?":"/(?<"+t+">.+?)":"/(?<"+t+">[^/]+?)"}function u(e,t){var i=(0,r.removeTrailingSlash)(e).slice(1).split("/"),o=m(),n={};return{namedParameterizedRoute:i.map(function(e){var r=a.INTERCEPTION_ROUTE_MARKERS.some(function(t){return e.startsWith(t)}),i=e.match(/\[((?:\[.*\])|.+)\]/);return r&&i?h({getSafeRouteKey:o,segment:i[1],routeKeys:n,keyPrefix:t?"nxtI":void 0}):i?h({getSafeRouteKey:o,segment:i[1],routeKeys:n,keyPrefix:t?"nxtP":void 0}):"/"+(0,s.escapeStringRegexp)(e)}).join(""),routeKeys:n}}function f(e,t){var n=u(e,t);return c._(i._({},d(e)),{namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys})}function p(e,t){var o=l(e).parameterizedRoute,n=t.catchAll,s=void 0===n||n;return"/"===o?{namedRegex:"^/"+(s?".*":"")+"$"}:{namedRegex:"^"+u(e,!1).namedParameterizedRoute+(s?"(?:(/.*)?)":"")+"$"}}},9255:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(2977),a=n(8449),s=n(1801);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}}),o=function(){function e(){i._(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return a._(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(e){var t,n,o,i=this;if(void 0===e&&(e="/"),n=s._(this.children.keys()).sort(),null!==this.slugName&&n.splice(n.indexOf("[]"),1),null!==this.restSlugName&&n.splice(n.indexOf("[...]"),1),null!==this.optionalRestSlugName&&n.splice(n.indexOf("[[...]]"),1),t=n.map(function(t){return i.children.get(t)._smoosh(""+e+t+"/")}).reduce(function(e,t){return s._(e).concat(s._(t))},[]),null!==this.slugName&&t.push.apply(t,s._(this.children.get("[]")._smoosh(e+"["+this.slugName+"]/"))),!this.placeholder){if(o="/"===e?"/":e.slice(0,-1),null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+o+'" and "'+o+"[[..."+this.optionalRestSlugName+']]").');t.unshift(o)}return null!==this.restSlugName&&t.push.apply(t,s._(this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/"))),null!==this.optionalRestSlugName&&t.push.apply(t,s._(this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/"))),t}},{key:"_insert",value:function(t,n,s){if(0===t.length){this.placeholder=!1;return}if(s)throw Error("Catch-all must be the last part of the URL.");if(i=t[0],i.startsWith("[")&&i.endsWith("]")){var i,a=function(e,t){if(null!==e&&e!==t)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"').");n.forEach(function(e){if(e===t)throw Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path')}),n.push(t)},o=i.slice(1,-1),r=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),r=!0),o.startsWith("...")&&(o=o.substring(3),s=!0),o.startsWith("[")||o.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+o+"').");if(o.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+o+"').");if(s)if(r){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');a(this.optionalRestSlugName,o),this.optionalRestSlugName=o,i="[[...]]"}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 "'+t[0]+'").');a(this.restSlugName,o),this.restSlugName=o,i="[...]"}else{if(r)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');a(this.slugName,o),this.slugName=o,i="[]"}}this.children.has(i)||this.children.set(i,new e),this.children.get(i)._insert(t.slice(1),n,s)}}]),e}();function r(e){var t=new o;return e.forEach(function(e){return t.insert(e)}),t.smoosh()}},6681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d,h,m,g=n(6687),o=n(2977),i=n(6408),_=n(1801),s=n(6417),a=n(3891),y=n(9623);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 d},execOnce:function(){return j},isAbsoluteUrl:function(){return m},getLocationOrigin:function(){return f},getURL:function(){return v},getDisplayName:function(){return r},isResSent:function(){return p},normalizeRepeatedSlashes:function(){return b},loadGetInitialProps:function(){return u},SP:function(){return c},ST:function(){return w},DecodeError:function(){return O},NormalizeError:function(){return x},PageNotFoundError:function(){return C},MissingStaticPage:function(){return E},MiddlewareNotFoundError:function(){return k},stringifyError:function(){return A}}),d=["CLS","FCP","FID","INP","LCP","TTFB"];function j(e){var t,n=!1;return function(){for(var o=arguments.length,i=Array(o),s=0;s