PageSourceSearch

https://sveasolar.com/_next/static/chunks/0scp3gasn5uf9.js

js sveasolar.com collected 2026-09-29 09:25:53 UTC 44,726 bytes, 8 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="3b0a5c50-453d-04c7-5ad6-1a61e1175d4f")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,209791,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return a}});class a{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let r=new a(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(a)}return t}}},758204,(e,t,r)=>{"use strict";function a(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},411095,(e,t,r)=>{"use strict";let a;function o(e){return(void 0===a&&"u">typeof window&&(a=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),a)?.createScriptURL(e)||e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return o}}),("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)},849817,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},488960,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return o}});let a=e.r(559630);function o(e,t,r){return new Promise((r,o)=>{let n=!1;e.then(e=>{n=!0,r(e)}).catch(o),(0,a.requestIdleCallback)(()=>setTimeout(()=>{n||o(t)},3800))})}("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)},68045,(e,t,r)=>{"use strict";let a;Object.defineProperty(r,"__esModule",{value:!0});var o={createRouteLoader:function(){return P},getClientBuildManifest:function(){return _},isAssetError:function(){return p},markAssetError:function(){return f}};for(var n in o)Object.defineProperty(r,n,{enumerable:!0,get:o[n]});e.r(2879),e.r(758204);let i=e.r(411095),s=e.r(559630),l=e.r(902506),u=e.r(849817),c=e.r(488960);function h(e,t,r){let a,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let n=new Promise(e=>{a=e});return t.set(e,{resolve:a,future:n}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):n}let d=Symbol("ASSET_LOAD_ERROR");function f(e){return Object.defineProperty(e,d,{})}function p(e){return e&&d in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function _(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,f(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,
2configurable:!0})),a)}function g(e,t){return _().then(r=>{if(!(t in r))throw f(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let a=r[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function P(e){let t=new Map,r=new Map,o=new Map,n=new Map;function i(e){{var t;let a=r.get(e.toString());return a?a:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(f(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a)}}function l(e){let t=o.get(e);return t||o.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw f(e)})),t}return{whenEntrypoint:e=>h(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),n.delete(e))})},loadRoute(r,o){return h(r,n,()=>{let n;return(0,c.resolvePromiseWithTimeout)(g(e,r).then(({scripts:e,css:a})=>Promise.all([t.has(r)?[]:Promise.all(e.map(i)),Promise.all(a.map(l))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),f(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),a).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(o)throw e;return{error:e}}).finally(()=>n?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,o)=>{let n=`
3      link[rel="prefetch"][href^="${t}"],
4      link[rel="preload"][href^="${t}"],
5      script[src^="${t}"]`;if(document.querySelector(n))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>o(f(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},993364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={getObjectClassLabel:function(){return n},isPlainObject:function(){return i}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});function n(e){return Object.prototype.toString.call(e)}function i(e){if("[object Object]"!==n(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},308739,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return i},getProperError:function(){return s}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let n=e.r(993364);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return i(e)?e:Object.defineProperty(Error((0,n.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},955111,(e,t,r)=>{"use strict";function a(e){return e.replace(/\\/g,"/")}
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return a}})},143701,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return n}});let a=e.r(944374),o=e.r(955111);function n(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,a.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},716775,(e,t,r)=>{"use strict";function a(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},800053,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return n}});let a=e.r(833485),o=e.r(752088);function n(e,t,r=!0){let i=new URL("u"<typeof window?"http://n":(0,a.getLocationOrigin)()),s=t?new URL(t,i):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):i,{pathname:l,searchParams:u,search:c,hash:h,href:d,origin:f}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(f!==i.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:r?(0,o.searchParamsToUrlQuery)(u):void 0,search:c,hash:h,href:d.slice(f.length),slashes:null}}},124595,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return o}});let a=e.r(441118);function o(e,t){{let{pathname:r}=(0,a.parsePath)(e),o=r.toLowerCase(),n=t?.toLowerCase();return t&&(o.startsWith(`/${n}/`)||o===`/${n}`)?`${r.length===t.length+1?"/":""}${e.slice(t.length+1)}`:e}}("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)},28758,(e,t,r)=>{"use strict";function a(e){return e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return a}}),e.r(442572),("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)},841174,(e,t,r)=>{"use strict";function a(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return a}})},584246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return o}});let a=e.r(384188);function o(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},587513,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let a=e.r(566128),o=e.r(584246),n=e.r(384188);function i(e,t){let{basePath:r,i18n:i,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,n.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,o.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(i){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,a.normalizeLocalePath)(l.pathname,i.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.anal
5yze(u):(0,a.normalizeLocalePath)(u,i.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},51672,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return o}});let a=e.r(441118);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:n}=(0,a.parsePath)(e);return`${r}${t}${o}${n}`}},635451,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let a=e.r(555359),o=e.r(607185),n=e.r(51672),i=e.r(488777);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,n.addPathSuffix)((0,o.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,n.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},129496,(e,t,r)=>{"use strict";function a(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let o=r[a];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let o=r[a];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return a}})},370962,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return a}});let a=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},305741,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={HTML_LIMITED_BOT_UA_RE:function(){return n.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return s},getBotType:function(){return c},isBot:function(){return u}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let n=e.r(370962),i=/Googlebot(?!-)|Googlebot$/i,s=n.HTML_LIMITED_BOT_UA_RE.source;function l(e){return n.HTML_LIMITED_BOT_UA_RE.test(e)}function u(e){return i.test(e)||l(e)}function c(e){return i.test(e)?"dom":l(e)?"html":void 0}},156100,(e,t,r)=>{"use strict";function a(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let o=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=o}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return a}}),e.r(365244)},370555,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isJavaScriptURLString",{enumerable:!0,get:function(){return o}});let a=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function o(e){return a.test(""+e)}("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)},998859,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={createKey:function(){return J},default:function(){return Y},matchesMiddleware:function(){return $}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let n=e.r(2879),i=e.r(887602),s=e.r(555359),l=e.r(68045),u=e.r(213039),c=i._(e.r(308739)),h=e.r(143701),d=e.r(566128),f=n._(e.r(716775)),p=e.r(833485),m=e.r(368395),_=e.r(800053),g=e.r(858509),P=e.r(373707),b=e.r(876883),y=e.r(303951),v=e.r(441118),R=e.r(966862),w=e.r(124595),E=e.r(28758),O=e.r(893105),j=e.r(442572),S=e.r(582041),L=e.r(841174),C=e.r(587513),T=e.r(635451),M=e.r(129496),x=e.r(162168),D=e.r(305741),A=e.r(234411),I=e.r(789480),N=e.r(156100),B=e.r(150138),k=e.r(902506),U=e.r(370555);function H(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,
5configurable:!0}),{cancelled:!0})}async function $(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,v.parsePath)(e.asPath),a=(0,j.hasBasePath)(r)?(0,E.removeBasePath)(r):r,o=(0,O.addBasePath)((0,R.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function W(e){let t=(0,p.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function F(e,t,r){let[a,o]=(0,S.resolveHref)(e,t,!0),n=(0,p.getLocationOrigin)(),i=a.startsWith(n),s=o&&o.startsWith(n);a=W(a),o=o?W(o):o;let l=i?a:(0,O.addBasePath)(a),u=r?W((0,S.resolveHref)(e,r)):o||a;return{url:l,as:s?u:(0,O.addBasePath)(u)}}function X(e,t){let r=(0,s.removeTrailingSlash)((0,h.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,m.isDynamicRoute)(t)&&(0,P.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function q(e){if(!await $(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),n=o||t.headers.get("x-nextjs-matched-path"),i=t.headers.get(B.MATCHED_PATH_HEADER);if(!i||n||i.includes("__next_data_catchall")||i.includes("/_error")||i.includes("/404")||(n=i),n){if(n.startsWith("/")){let t=(0,_.parseRelativeUrl)(n),i=(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),u=(0,s.removeTrailingSlash)(i.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,l.getClientBuildManifest)()]).then(([n,{__rewrites:s}])=>{let l=(0,R.addLocale)(i.pathname,i.locale);if((0,m.isDynamicRoute)(l)||!o&&n.includes((0,d.normalizeLocalePath)((0,E.removeBasePath)(l),r.router.locales).pathname)){let r=(0,C.getNextPathnameInfo)((0,_.parseRelativeUrl)(e).pathname,{nextConfig:a,parseData:!0});t.pathname=l=(0,O.addBasePath)(r.pathname)}if(!n.includes(u)){let e=X(u,n);e!==u&&(u=e)}let c=n.includes(u)?u:X((0,d.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),r.router.locales).pathname,n);if((0,m.isDynamicRoute)(c)){let e=(0,g.getRouteMatcher)((0,P.getRouteRegex)(c))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,v.parsePath)(e),i=(0,T.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${i}${t.query}${t.hash}`})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,v.parsePath)(u),t=(0,T.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let V=Symbol("SSG_DATA_NOT_FOUND");function G(e){try{return JSON.parse(e)}catch(e){return null}}function z({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:a,isServerRender:o,parseJSON:n,persist
5Cache:i,isBackground:s,unstable_skipClientCache:u}){let{href:c}=new URL(e,window.location.href),h=(0,k.getDeploymentId)(),d=s=>(function e(t,r,a){return fetch(t,{credentials:"same-origin",method:a.method||"GET",headers:Object.assign({},a.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,a):o)})(e,o?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{},h?{"x-deployment-id":h}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&G(r)?.notFound)return{dataHref:e,json:{notFound:V},response:t,text:r,cacheKey:c};let n=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw o||(0,l.markAssetError)(n),n}let i=t.headers.get(B.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=i&&i!==h){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw o||(0,l.markAssetError)(e),e}return{dataHref:e,json:n?G(r):null,response:t,text:r,cacheKey:c}})).then(e=>(i&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw u||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,l.markAssetError)(e),e});return u&&i?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(s?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function K({url:e,router:t}){if(e===(0,O.addBasePath)((0,R.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let Q=({route:e,router:t})=>{let r=!1,a=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}a===t.clc&&(t.clc=null)}};class Y{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:a,pageLoader:o,App:n,wrapApp:i,Component:l,err:u,subscription:c,isFallback:h,locale:d,locales:f,defaultLocale:g,domainLocales:P,isPreview:v}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,b.formatWithValidation)({pathname:(0,O.addBasePath)(e),query:t}),(0,p.getURL)());return}if(a.__NA)return void window.location.reload();if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:o,as:n,options:i,key:s}=a;this._key=s;let{pathname:l}=(0,_.parseRelativeUrl)(o);this.isSsr&&n===(0,O.addBasePath)(this.asPath)&&l===(0,O.addBasePath)(this.pathname)||(!this._bps||this._bps(a))&&this.change("replaceState",o,n,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};const R=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[R]={Component:l,initial:!0,props:a,err:u,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:n,styleSheets:[]},this.events=Y.events,this.pageLoader=o;const w=(0,m.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.locales=f,this.defaultLocale=g,this.domainLocales=P,this.isLocaleDomain=!!(0,y.detectDomainLocale)(P,self.location.hostname),this.state={route:R,pathname:e,query:t,asPath:w?e:r,isPreview:!!v,locale:d,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!r.startsWith("//")){const a={locale:d},o=(0,p.getURL)();this._initialMatchesMiddlewarePromise=$({router:this,locale:d,asPath:o}).then(n=>(a._shouldResolveHref=r!==e,this.changeState("replaceState",n?o:(0,b.formatWithValidation)({pathname:(0,O.addBasePath)(e),query:t}),o,a),n))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,U.isJavaScriptURLString)(e.toString())||t&&(0,U.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
5configurable:!0});return{url:e,as:t}=F(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,U.isJavaScriptURLString)(e.toString())||t&&(0,U.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=F(this,e,t),this.change("replaceState",e,t,r)}async _bfl(t,r,a,o){{if(!this._bfl_s&&!this._bfl_d){let r,n,{BloomFilter:i}=e.r(209791);try{({__routerFilterStatic:r,__routerFilterDynamic:n}=await (0,l.getClientBuildManifest)())}catch(e){if(console.error(e),o)return!0;return K({url:(0,O.addBasePath)((0,R.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!r&&s&&(r=s);let u={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!n&&u&&(n=u),r?.numHashes&&(this._bfl_s=new i(r.numItems,r.errorRate),this._bfl_s.import(r)),n?.numHashes&&(this._bfl_d=new i(n.numItems,n.errorRate),this._bfl_d.import(n))}let n=!1,i=!1;for(let{as:e,allowMatchCurrent:l}of[{as:t},{as:r}])if(e){let r=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,O.addBasePath)((0,R.addLocale)(r,a||this.locale));if(l||r!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(n=n||!!this._bfl_s?.contains(r)||!!this._bfl_s?.contains(u),[r,u])){let t=e.split("/");for(let e=0;!i&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){i=!0;break}}}if(n||i){if(o)return!0;return K({url:(0,O.addBasePath)((0,R.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,o){let n,i;if(!(0,x.isLocalURL)(t))return K({url:t,router:this}),!1;let h=1===a._h;h||a.shallow||await this._bfl(r,void 0,a.locale);let f=h||a._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(r).pathname,S={...this.state},L=!0!==this.isReady;this.isReady=!0;let C=this.isSsr;if(h||(this.isSsr=!1),h&&this.clc)return!1;let T=S.locale;{S.locale=!1===a.locale?this.defaultLocale:a.locale||S.locale,void 0===a.locale&&(a.locale=S.locale);let e=(0,_.parseRelativeUrl)((0,j.hasBasePath)(r)?(0,E.removeBasePath)(r):r),o=(0,d.normalizeLocalePath)(e.pathname,this.locales);o.detectedLocale&&(S.locale=o.detectedLocale,e.pathname=(0,O.addBasePath)(e.pathname),r=(0,b.formatWithValidation)(e),t=(0,O.addBasePath)((0,d.normalizeLocalePath)((0,j.hasBasePath)(t)?(0,E.removeBasePath)(t):t,this.locales).pathname));let n=!1;this.locales?.includes(S.locale)||(e.pathname=(0,R.addLocale)(e.pathname,S.locale),K({url:(0,b.formatWithValidation)(e),router:this}),n=!0);let i=(0,y.detectDomainLocale)(this.domainLocales,void 0,S.locale);if(!n&&i&&this.isLocaleDomain&&self.location.hostname!==i.domain){let e=(0,E.removeBasePath)(r);K({url:`http${i.http?"":"s"}://${i.domain}${(0,O.addBasePath)(`${S.locale===i.defaultLocale?"":`/${S.locale}`}${"/"===e?"":e}`||"/")}`,router:this}),n=!0}if(n)return new Promise(()=>{})}p.ST&&performance.mark("routeChange");let{shallow:D=!1,scroll:N=!0}=a,B={shallow:D};this._inFlightRoute&&this.clc&&(C||Y.events.emit("routeChangeError",H(),this._inFlightRoute,B),this.clc(),this.clc=null),r=(0,O.addBasePath)((0,R.addLocale)((0,j.hasBasePath)(r)?(0,E.removeBasePath)(r):r,a.locale,this.defaultLocale));let k=(0,w.removeLocale)((0,j.hasBasePath)(r)?(0,E.removeBasePath)(r):r,S.locale);this._inFlightRoute=r;let U=T!==S.locale;if(!h&&this.onlyAHashChange(k)&&!U){S.asPath=k,Y.events.emit("hashChangeStart",r,B),this.changeState(e,t,r,{...a,scroll:!1}),N&&this.scrollToHash(k);try{await this.set(S,this.components[S.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Y.events.emit("routeChangeError",e,k,B),e}return Y.events.emit("hashChangeComplete",r,B),!0}let W=(0,_.parseRelativeUrl)(t),{pathname:q,query:G}=W;try{[n,{__rewrites:i}]=await Promise.all([this.pageLoader.getPageList(),(0,l.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return K({url:r,router:this}),!1}this.urlIsNew(k)||U||(e="replaceState");let z=r;q=q?(0,s.removeTrailingSlash)((0,E.removeBasePath)(q)):q;let J=(0,s.removeTrailingSlash)(q),Q=r.startsWith("/")&&(0,_.parseRelativeUrl)(r).pathname;if(this.components[q]?.__appRouter)return K({url:r,router:this}),new Promise(()=>{});
5let Z=!!(Q&&J!==Q&&(!(0,m.isDynamicRoute)(J)||!(0,g.getRouteMatcher)((0,P.getRouteRegex)(J))(Q))),ee=!a.shallow&&await $({asPath:r,locale:S.locale,router:this});if(h&&ee&&(f=!1),f&&"/_error"!==q&&(a._shouldResolveHref=!0,W.pathname=X(q,n),W.pathname!==q&&(q=W.pathname,W.pathname=(0,O.addBasePath)(q),ee||(t=(0,b.formatWithValidation)(W)))),!(0,x.isLocalURL)(r))return K({url:r,router:this}),!1;z=(0,w.removeLocale)((0,E.removeBasePath)(z),S.locale),J=(0,s.removeTrailingSlash)(q);let et=!1;if((0,m.isDynamicRoute)(J)){let e=(0,_.parseRelativeUrl)(z),a=e.pathname,o=(0,P.getRouteRegex)(J);et=(0,g.getRouteMatcher)(o)(a);let n=J===a,i=n?(0,I.interpolateAs)(J,a,G):{};if(et&&(!n||i.result))n?r=(0,b.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,A.omit)(G,i.params)})):Object.assign(G,et);else{let e=Object.keys(o.groups).filter(e=>!G[e]&&!o.groups[e].optional);if(e.length>0&&!ee)throw Object.defineProperty(Error((n?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${a}) is incompatible with the \`href\` value (${J}). `)+`Read more: https://nextjs.org/docs/messages/${n?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}h||Y.events.emit("routeChangeStart",r,B);let er="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:J,pathname:q,query:G,as:r,resolvedAs:z,routeProps:B,locale:S.locale,isPreview:S.isPreview,hasMiddleware:ee,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:h&&!this.isFallback,isMiddlewareRewrite:Z});if(h||a.shallow||await this._bfl(r,"resolvedAs"in i?i.resolvedAs:void 0,S.locale),"route"in i&&ee){J=q=i.route||J,B.shallow||(G=Object.assign({},i.query||{},G));let e=(0,j.hasBasePath)(W.pathname)?(0,E.removeBasePath)(W.pathname):W.pathname;if(et&&q!==e&&Object.keys(et).forEach(e=>{et&&G[e]===et[e]&&delete G[e]}),(0,m.isDynamicRoute)(q)){let e=!B.shallow&&i.resolvedAs?i.resolvedAs:(0,O.addBasePath)((0,R.addLocale)(new URL(r,location.href).pathname,S.locale),!0);(0,j.hasBasePath)(e)&&(e=(0,E.removeBasePath)(e));{let t=(0,d.normalizeLocalePath)(e,this.locales);S.locale=t.detectedLocale||S.locale,e=t.pathname}let t=(0,P.getRouteRegex)(q),a=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(G,a)}}if("type"in i)if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,a);else return K({url:i.destination,router:this}),new Promise(()=>{});let s=i.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){a.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,_.parseRelativeUrl)(t);r.pathname=X(r.pathname,n);let{url:o,as:i}=F(this,t,t);return this.change(e,o,i,a)}return K({url:t,router:this}),new Promise(()=>{})}if(S.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===V){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:G,as:r,resolvedAs:z,routeProps:{shallow:!1},locale:S.locale,isPreview:S.isPreview,isNotFound:!0}),"type"in i)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}h&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);let l=a.shallow&&S.route===(i.route??J),f=a.scroll??(!h&&!l),p=o??(f?{x:0,y:0}:null),b={...S,route:J,pathname:q,query:G,asPath:k,isFallback:!1};if(h&&er){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:G,as:r,resolvedAs:z,routeProps:{shallow:!1},locale:S.locale,isPreview:S.isPreview,isQueryUpdating:h&&!this.isFallback}),"type"in i)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}
5`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);try{await this.set(b,i,p)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Y.events.emit("routeChangeError",e,k,B),e}return!0}if(Y.events.emit("beforeHistoryChange",r,B),this.changeState(e,t,r,a),!(h&&!p&&!L&&!U&&(0,M.compareRouterStates)(b,this.state))){try{await this.set(b,i,p)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw h||Y.events.emit("routeChangeError",i.error,k,B),i.error;S.locale&&(document.documentElement.lang=S.locale),h||Y.events.emit("routeChangeComplete",r,B),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a={}){("pushState"!==e||(0,p.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",r))}async handleRouteInfoError(e,t,r,a,o,n){if(e.cancelled)throw e;if((0,l.isAssetError)(e)||n)throw Y.events.emit("routeChangeError",e,a,o),K({url:a,router:this}),H();console.error(e);try{let a,{page:o,styleSheets:n}=await this.fetchComponent("/_error"),i={props:a,Component:o,styleSheets:n,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,a,o,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:a,resolvedAs:o,routeProps:n,locale:i,hasMiddleware:l,isPreview:u,unstable_skipClientCache:h,isQueryUpdating:f,isMiddlewareRewrite:p,isNotFound:m}){let _=e;try{let e=this.components[_];if(n.shallow&&e&&this.route===_)return e;let c=Q({route:_,router:this});l&&(e=void 0);let g=!e||"initial"in e?void 0:e,P={dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:m?"/404":o,locale:i}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h,isBackground:f},y=f&&!p?null:await q({fetchData:()=>z(P),asPath:m?"/404":o,locale:i,router:this}).catch(e=>{if(f)return null;throw e});if(y&&("/_error"===t||"/404"===t)&&(y.effect=void 0),f&&(y?y.json=self.__NEXT_DATA__.props:y={json:self.__NEXT_DATA__.props}),c(),y?.effect?.type==="redirect-internal"||y?.effect?.type==="redirect-external")return y.effect;if(y?.effect?.type==="rewrite"){let a=(0,s.removeTrailingSlash)(y.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!f||i.includes(a))&&(_=a,t=y.effect.resolvedHref,r={...r,...y.effect.parsedAs.query},o=(0,E.removeBasePath)((0,d.normalizeLocalePath)(y.effect.parsedAs.pathname,this.locales).pathname),e=this.components[_],n.shallow&&e&&this.route===_&&!l))return{...e,route:_}}if((0,L.isAPIRoute)(_))return K({url:a,router:this}),new Promise(()=>{});let v=g||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),R=y?.response?.headers.get("x-middleware-skip"),w=v.__N_SSG||v.__N_SSP;R&&y?.dataHref&&delete this.sdc[y.dataHref];let{props:O,cacheKey:j}=await this._getData(async()=>{if(w){if(y?.json&&!R)return{cacheKey:y.cacheKey,props:y.json};let e=y?.dataHref?y.dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:r}),asPath:o,locale:i}),a=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:a.cacheKey,props:a.json||{}}}return{headers:{},props:await this.getInitialProps(v.Component,{pathname:t,query:r,asPath:a,locale:i,locales:this.locales,defaultLocale:this.defaultLocale})}});return v.__N_SSP&&P.dataHref&&j&&delete this.sdc[j],this.isPreview||!v.__N_SSG||f||z(Object.assign({}
5,P,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),O.pageProps=Object.assign({},O.pageProps),v.props=O,v.route=_,v.query=r,v.resolvedAs=o,this.components[_]=v,v}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,a,n)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[a,o]=e.split("#",2);return!!o&&t===a&&r===o||t===a&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,N.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if("u">typeof window&&(0,D.isBot)(window.navigator.userAgent))return;let a=(0,_.parseRelativeUrl)(e),o=a.pathname,{pathname:n,query:i}=a,l=n;if(!1===r.locale){a.pathname=n=(0,d.normalizeLocalePath)(n,this.locales).pathname,e=(0,b.formatWithValidation)(a);let o=(0,_.parseRelativeUrl)(t),i=(0,d.normalizeLocalePath)(o.pathname,this.locales);o.pathname=i.pathname,r.locale=i.detectedLocale||this.defaultLocale,t=(0,b.formatWithValidation)(o)}let u=await this.pageLoader.getPageList(),c=t,h=void 0!==r.locale?r.locale||void 0:this.locale,f=await $({asPath:t,locale:h,router:this});a.pathname=X(a.pathname,u),(0,m.isDynamicRoute)(a.pathname)&&(n=a.pathname,a.pathname=n,Object.assign(i,(0,g.getRouteMatcher)((0,P.getRouteRegex)(a.pathname))((0,v.parsePath)(t).pathname)||{}),f||(e=(0,b.formatWithValidation)(a)));let p=await q({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:l,query:i}),skipInterpolation:!0,asPath:c,locale:h}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:this});if(p?.effect.type==="rewrite"&&(a.pathname=p.effect.resolvedHref,n=p.effect.resolvedHref,i={...i,...p.effect.parsedAs.query},c=p.effect.parsedAs.pathname,e=(0,b.formatWithValidation)(a)),p?.effect.type==="redirect-external")return;let y=(0,s.removeTrailingSlash)(n);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(y).then(t=>!!t&&z({dataHref:p?.json?p?.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](y)])}async fetchComponent(e){let t=Q({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],a=this._wrapApp(r);return t.AppTree=a,(0,p.loadGetInitialProps)(r,{AppTree:a,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},783358,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}}),e.r(2879);let a=e.r(318008);e.r(687652);let o=e.r(263917);function n(e){function t(t){return(0,a.jsx)(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
5dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},263917,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={Router:function(){return s.default},createRouter:function(){return g},default:function(){return m},makePublicRouterInstance:function(){return P},useRouter:function(){return _},withRouter:function(){return c.default}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let n=e.r(2879),i=n._(e.r(687652)),s=n._(e.r(998859)),l=e.r(640615),u=n._(e.r(308739)),c=n._(e.r(783358)),h={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!h.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return h.router}Object.defineProperty(h,"events",{get:()=>s.default.events}),d.forEach(e=>{Object.defineProperty(h,e,{get:()=>p()[e]})}),f.forEach(e=>{h[e]=(...t)=>p()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{h.ready(()=>{s.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(h[r])try{h[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message}
6${e.stack}`:e+"")}})})});let m=h;function _(){let e=i.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function g(...e){return h.router=new s.default(...e),h.readyCallbacks.forEach(e=>e()),h.readyCallbacks=[],h.router}function P(e){let t={};for(let r of d){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=s.default.events,f.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("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)},926853,(e,t,r)=>{t.exports=e.r(263917)}]);
7
8//# debugId=3b0a5c50-453d-04c7-5ad6-1a61e1175d4f

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.