{"version":3,"sources":["webpack://_N_E//codebuild/output/src112981716/src/MyLifetime/node_modules/@next/polyfill-module/dist/polyfill-module.js","webpack://_N_E/../../../next-server/lib/runtime-config.ts","webpack://_N_E//codebuild/output/src112981716/src/MyLifetime/node_modules/next/node_modules/@babel/runtime/helpers/extends.js","webpack://_N_E/../../client/next.js","webpack://_N_E/../../client/performance-relayer.ts","webpack://_N_E/../../../client/portal/index.tsx","webpack://_N_E/../../client/index.tsx","webpack://_N_E/../../client/head-manager.ts","webpack://_N_E/(webpack)/web-vitals/web-vitals.es5.umd.min.js","webpack://_N_E/../../client/route-announcer.tsx","webpack://_N_E/../../client/page-loader.ts"],"names":["String","prototype","trimStart","trimLeft","trimEnd","trimRight","Symbol","Object","defineProperty","configurable","get","t","exec","this","toString","Array","flat","r","concat","apply","some","isArray","flatMap","map","Promise","finally","then","constructor","o","resolve","configValue","runtimeConfig","_extends","module","exports","assign","target","i","arguments","length","source","key","hasOwnProperty","call","window","console","isRegistered","location","onReport","metric","userReportHandler","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","portalNode","React","document","forceUpdate","createPortal","data","JSON","process","__NEXT_VERSION","looseToArray","props","err","isFallback","prefix","__webpack_public_path__","envConfig","serverRuntimeConfig","publicRuntimeConfig","asPath","hasBasePath","delBasePath","pageLoader","PageLoader","register","p","setTimeout","headManager","appElement","router","page","hydrateProps","isDynamicRoute","querystring","URLSearchParams","_h","shallow","hash","el","Component","emitter","initialErr","appEntrypoint","component","CachedApp","mod","uniqueID","Date","Math","entries","perfStartEntry","id","name","startTime","value","label","entryType","pageEntrypoint","CachedComponent","createRouter","initialProps","App","wrapApp","Boolean","subscription","render","scroll","locale","locales","defaultLocale","domainLocales","isPreview","renderCtx","initial","renderingProps","renderError","doRender","renderErr","renderErrorProps","AppTree","appCtx","ctx","pathname","query","loadGetInitialProps","initProps","styleSheets","shouldHydrate","ReactDOM","markHydrateComplete","ST","performance","clearMarks","markRenderComplete","navStartEntries","measure","mark","AppContainer","fn","error","makePublicRouterInstance","wrappedAppProps","appProps","input","undefined","lastAppProps","canceled","renderPromise","lastRenderReject","resolvePromise","Error","reject","currentStyleTags","currentHrefs","Set","tag","noscript","nonce","styleTag","onStart","elem","callback","desiredHrefs","s","idx","referenceNode","targetTag","getComputedStyle","type","reactEl","renderReactElement","callbacks","Root","Head","updatePromise","mountedInstances","updateHead","head","promise","tags","h","components","titleComponent","title","children","headEl","headCountEl","headCount","Number","oldTags","j","newTags","newTag","k","len","oldTag","updateElements","DOMAttributeNames","acceptCharset","className","htmlFor","httpEquiv","noModule","reactElementToDOM","attr","dangerouslySetInnerHTML","599","e","n","now","floor","random","a","delta","isFinal","PerformanceObserver","supportedEntryTypes","includes","getEntries","observe","buffered","u","persisted","c","addEventListener","timeStamp","visibilityState","isUnloading","capture","once","l","disconnect","f","d","passive","hadRecentInput","push","takeRecords","processingStart","perfMetrics","onFirstInputDelay","cancelable","getEntriesByType","timing","max","navigationStart","responseStart","readyState","__nccwpck_require__","ab","__dirname","RouteAnnouncer","useState","initialPathLoaded","useRef","useEffect","pageHeader","newRouteAnnouncement","setRouteAnnouncement","aria-live","role","style","border","clip","height","margin","overflow","padding","position","width","whiteSpace","wordWrap","buildId","assetPrefix","promisedSsgManifest","promisedDevPagesManifest","routeLoader","getClientBuildManifest","manifest","parseRelativeUrl","route","normalizeRoute","getHrefForSlug","path","dataRoute","removePathTrailingSlash","addLocale","addBasePath","ssg","isDynamic","interpolatedRoute","interpolateAs","loadRoute","res","href","text","prefetch"],"mappings":"4FAAA,cAAcA,OAAOC,YAAYD,OAAOC,UAAUC,UAAUF,OAAOC,UAAUE,UAAU,YAAYH,OAAOC,YAAYD,OAAOC,UAAUG,QAAQJ,OAAOC,UAAUI,WAAW,gBAAgBC,OAAOL,WAAWM,OAAOC,eAAeF,OAAOL,UAAU,cAAc,CAACQ,cAAa,EAAGC,IAAI,WAAW,IAAIC,EAAE,WAAWC,KAAKC,KAAKC,YAAY,OAAOH,EAAEA,EAAE,Q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MAGR,YAAIkI,EAAsBA,EACnBA,gBAAP,IA0EgBC,CAAd,GAEMC,EAAkBC,YACtB,IAAMC,GAAY,cAChB,IAAAC,0BAAwB,IAAAC,WAAA,EADR,IAAlB,SAIA,OAAO,IAAAC,aAAA,sBACU,EAAKf,SADf,OACyBY,GADzB,OACqCI,EAAM,GADlD,KAKIC,GAAqB,IAAAzN,gBAA3B,GACM0N,EAAoBD,GACtB,IAAAE,eAAA,OAD+B,OAAnC,GAIA,OAAOF,EACHC,GAAqBR,EADT,GAEZA,EAFJ,K,6BAQI,GACJ,OAAO7R,KAAKqR,oBAAL,MAAgC/G,YAAD,OACpCA,MADF,Q,+BAKM,GACN,OAAOtK,KAAKuR,YAAYgB,UAAUZ,GAAO9Q,MAAM2R,YAC7C,GAAI,cAAJ,EACE,MAAO,CACL/N,KAAM+N,EADD,UAELhN,IAAKgN,EAFA,QAGLvK,YAAauK,cAAgBzR,YAAD,MAAQ,CAClC0R,KAAM1R,EAD4B,KAElC2R,KAAM3R,EALV,aASF,MAAMyR,EAAN,W,+BAII,GACN,OAAOxS,KAAKuR,YAAYoB,SAAxB,O","file":"static/chunks/main-8da5b8a5d4e6aea360db.js","sourcesContent":["\"trimStart\"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),\"trimEnd\"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),\"description\"in Symbol.prototype||Object.defineProperty(Symbol.prototype,\"description\",{configurable:!0,get:function(){var t=/\\((.*)\\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if(\"function\"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(o){return r.resolve(t()).then(function(){return o})},function(o){return r.resolve(t()).then(function(){throw o})})});\n","let runtimeConfig: any\n\nexport default () => {\n return runtimeConfig\n}\n\nexport function setConfig(configValue: any): void {\n runtimeConfig = configValue\n}\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;","import initNext, * as next from './'\n\nwindow.next = next\n\ninitNext().catch(console.error)\n","import {\n getCLS,\n getFCP,\n getFID,\n getLCP,\n getTTFB,\n Metric,\n ReportHandler,\n} from 'next/dist/compiled/web-vitals'\n\nconst initialHref = location.href\nlet isRegistered = false\nlet userReportHandler: ReportHandler | undefined\n\nfunction onReport(metric: Metric): void {\n if (userReportHandler) {\n userReportHandler(metric)\n }\n\n // This code is not shipped, executed, or present in the client-side\n // JavaScript bundle unless explicitly enabled in your application.\n //\n // When this feature is enabled, we'll make it very clear by printing a\n // message during the build (`next build`).\n if (\n process.env.NODE_ENV === 'production' &&\n // This field is empty unless you explicitly configure it:\n process.env.__NEXT_ANALYTICS_ID\n ) {\n const body: Record = {\n dsn: process.env.__NEXT_ANALYTICS_ID,\n id: metric.id,\n page: window.__NEXT_DATA__.page,\n href: initialHref,\n event_name: metric.name,\n value: metric.value.toString(),\n speed:\n 'connection' in navigator &&\n navigator['connection'] &&\n 'effectiveType' in navigator['connection']\n ? (navigator['connection']['effectiveType'] as string)\n : '',\n }\n\n const blob = new Blob([new URLSearchParams(body).toString()], {\n // This content type is necessary for `sendBeacon`:\n type: 'application/x-www-form-urlencoded',\n })\n const vitalsUrl = 'https://vitals.vercel-insights.com/v1/vitals'\n ;(navigator.sendBeacon && navigator.sendBeacon(vitalsUrl, blob)) ||\n fetch(vitalsUrl, {\n body: blob,\n method: 'POST',\n credentials: 'omit',\n keepalive: true,\n })\n }\n}\n\nexport default (onPerfEntry?: ReportHandler): void => {\n // Update function if it changes:\n userReportHandler = onPerfEntry\n\n // Only register listeners once:\n if (isRegistered) {\n return\n }\n isRegistered = true\n\n getCLS(onReport)\n getFID(onReport)\n getFCP(onReport)\n getLCP(onReport)\n getTTFB(onReport)\n}\n","import * as React from 'react'\nimport { createPortal } from 'react-dom'\n\ntype PortalProps = {\n children: React.ReactNode\n type: string\n}\n\nexport const Portal: React.FC = ({ children, type }) => {\n let portalNode = React.useRef(null)\n let [, forceUpdate] = React.useState<{}>()\n React.useEffect(() => {\n portalNode.current = document.createElement(type)\n document.body.appendChild(portalNode.current)\n forceUpdate({})\n return () => {\n if (portalNode.current) {\n document.body.removeChild(portalNode.current)\n }\n }\n }, [type])\n\n return portalNode.current ? createPortal(children, portalNode.current) : null\n}\n","/* global location */\nimport '@next/polyfill-module'\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport { HeadManagerContext } from '../next-server/lib/head-manager-context'\nimport mitt, { MittEmitter } from '../next-server/lib/mitt'\nimport { RouterContext } from '../next-server/lib/router-context'\nimport Router, {\n AppComponent,\n AppProps,\n delBasePath,\n hasBasePath,\n PrivateRouteInfo,\n} from '../next-server/lib/router/router'\nimport { isDynamicRoute } from '../next-server/lib/router/utils/is-dynamic'\nimport * as querystring from '../next-server/lib/router/utils/querystring'\nimport * as envConfig from '../next-server/lib/runtime-config'\nimport {\n getURL,\n loadGetInitialProps,\n NEXT_DATA,\n ST,\n} from '../next-server/lib/utils'\nimport { Portal } from './portal'\nimport initHeadManager from './head-manager'\nimport PageLoader, { StyleSheetTuple } from './page-loader'\nimport measureWebVitals from './performance-relayer'\nimport { RouteAnnouncer } from './route-announcer'\nimport { createRouter, makePublicRouterInstance } from './router'\n\n/// \n\ndeclare let __webpack_public_path__: string\n\ndeclare global {\n interface Window {\n /* test fns */\n __NEXT_HYDRATED?: boolean\n __NEXT_HYDRATED_CB?: () => void\n\n /* prod */\n __NEXT_PRELOADREADY?: (ids?: (string | number)[]) => void\n __NEXT_DATA__: NEXT_DATA\n __NEXT_P: any[]\n }\n}\n\ntype RenderRouteInfo = PrivateRouteInfo & {\n App: AppComponent\n scroll?: { x: number; y: number } | null\n}\ntype RenderErrorProps = Omit\n\nconst data: typeof window['__NEXT_DATA__'] = JSON.parse(\n document.getElementById('__NEXT_DATA__')!.textContent!\n)\nwindow.__NEXT_DATA__ = data\n\nexport const version = process.env.__NEXT_VERSION\n\nconst looseToArray = (input: any): T[] => [].slice.call(input)\n\nconst {\n props: hydrateProps,\n err: hydrateErr,\n page,\n query,\n buildId,\n assetPrefix,\n runtimeConfig,\n dynamicIds,\n isFallback,\n locale,\n locales,\n domainLocales,\n isPreview,\n} = data\n\nlet { defaultLocale } = data\n\nconst prefix: string = assetPrefix || ''\n\n// With dynamic assetPrefix it's no longer possible to set assetPrefix at the build time\n// So, this is how we do it in the client side at runtime\n__webpack_public_path__ = `${prefix}/_next/` //eslint-disable-line\n// Initialize next/config with the environment configuration\nenvConfig.setConfig({\n serverRuntimeConfig: {},\n publicRuntimeConfig: runtimeConfig || {},\n})\n\nlet asPath: string = getURL()\n\n// make sure not to attempt stripping basePath for 404s\nif (hasBasePath(asPath)) {\n asPath = delBasePath(asPath)\n}\n\nif (process.env.__NEXT_I18N_SUPPORT) {\n const {\n normalizeLocalePath,\n } = require('../next-server/lib/i18n/normalize-locale-path') as typeof import('../next-server/lib/i18n/normalize-locale-path')\n\n const {\n detectDomainLocale,\n } = require('../next-server/lib/i18n/detect-domain-locale') as typeof import('../next-server/lib/i18n/detect-domain-locale')\n\n const {\n parseRelativeUrl,\n } = require('../next-server/lib/router/utils/parse-relative-url') as typeof import('../next-server/lib/router/utils/parse-relative-url')\n\n const {\n formatUrl,\n } = require('../next-server/lib/router/utils/format-url') as typeof import('../next-server/lib/router/utils/format-url')\n\n if (locales) {\n const parsedAs = parseRelativeUrl(asPath)\n const localePathResult = normalizeLocalePath(parsedAs.pathname, locales)\n\n if (localePathResult.detectedLocale) {\n parsedAs.pathname = localePathResult.pathname\n asPath = formatUrl(parsedAs)\n } else {\n // derive the default locale if it wasn't detected in the asPath\n // since we don't prerender static pages with all possible default\n // locales\n defaultLocale = locale\n }\n\n // attempt detecting default locale based on hostname\n const detectedDomain = detectDomainLocale(\n process.env.__NEXT_I18N_DOMAINS as any,\n window.location.hostname\n )\n\n // TODO: investigate if defaultLocale needs to be populated after\n // hydration to prevent mismatched renders\n if (detectedDomain) {\n defaultLocale = detectedDomain.defaultLocale\n }\n }\n}\n\nif (process.env.__NEXT_SCRIPT_LOADER && data.scriptLoader) {\n const { initScriptLoader } = require('./experimental-script')\n initScriptLoader(data.scriptLoader)\n}\n\ntype RegisterFn = (input: [string, () => void]) => void\n\nconst pageLoader: PageLoader = new PageLoader(buildId, prefix)\nconst register: RegisterFn = ([r, f]) =>\n pageLoader.routeLoader.onEntrypoint(r, f)\nif (window.__NEXT_P) {\n // Defer page registration for another tick. This will increase the overall\n // latency in hydrating the page, but reduce the total blocking time.\n window.__NEXT_P.map((p) => setTimeout(() => register(p), 0))\n}\nwindow.__NEXT_P = []\n;(window.__NEXT_P as any).push = register\n\nconst headManager: {\n mountedInstances: Set\n updateHead: (head: JSX.Element[]) => void\n} = initHeadManager()\nconst appElement: HTMLElement | null = document.getElementById('__next')\n\nlet lastRenderReject: (() => void) | null\nlet webpackHMR: any\nexport let router: Router\nlet CachedApp: AppComponent, onPerfEntry: (metric: any) => void\n\nclass Container extends React.Component<{\n fn: (err: Error, info?: any) => void\n}> {\n componentDidCatch(componentErr: Error, info: any) {\n this.props.fn(componentErr, info)\n }\n\n componentDidMount() {\n this.scrollToHash()\n\n // We need to replace the router state if:\n // - the page was (auto) exported and has a query string or search (hash)\n // - it was auto exported and is a dynamic route (to provide params)\n // - if it is a client-side skeleton (fallback render)\n if (\n router.isSsr &&\n // We don't update for 404 requests as this can modify\n // the asPath unexpectedly e.g. adding basePath when\n // it wasn't originally present\n page !== '/404' &&\n !(\n page === '/_error' &&\n hydrateProps &&\n hydrateProps.pageProps &&\n hydrateProps.pageProps.statusCode === 404\n ) &&\n (isFallback ||\n (data.nextExport &&\n (isDynamicRoute(router.pathname) ||\n location.search ||\n process.env.__NEXT_HAS_REWRITES)) ||\n (hydrateProps &&\n hydrateProps.__N_SSG &&\n (location.search || process.env.__NEXT_HAS_REWRITES)))\n ) {\n // update query on mount for exported pages\n router.replace(\n router.pathname +\n '?' +\n String(\n querystring.assign(\n querystring.urlQueryToSearchParams(router.query),\n new URLSearchParams(location.search)\n )\n ),\n asPath,\n {\n // @ts-ignore\n // WARNING: `_h` is an internal option for handing Next.js\n // client-side hydration. Your app should _never_ use this property.\n // It may change at any time without notice.\n _h: 1,\n // Fallback pages must trigger the data fetch, so the transition is\n // not shallow.\n // Other pages (strictly updating query) happens shallowly, as data\n // requirements would already be present.\n shallow: !isFallback,\n }\n )\n }\n }\n\n componentDidUpdate() {\n this.scrollToHash()\n }\n\n scrollToHash() {\n let { hash } = location\n hash = hash && hash.substring(1)\n if (!hash) return\n\n const el: HTMLElement | null = document.getElementById(hash)\n if (!el) return\n\n // If we call scrollIntoView() in here without a setTimeout\n // it won't scroll properly.\n setTimeout(() => el.scrollIntoView(), 0)\n }\n\n render() {\n if (process.env.NODE_ENV === 'production') {\n return this.props.children\n } else {\n const { ReactDevOverlay } = require('@next/react-dev-overlay/lib/client')\n return {this.props.children}\n }\n }\n}\n\nexport const emitter: MittEmitter = mitt()\nlet CachedComponent: React.ComponentType\n\nexport default async (opts: { webpackHMR?: any } = {}) => {\n // This makes sure this specific lines are removed in production\n if (process.env.NODE_ENV === 'development') {\n webpackHMR = opts.webpackHMR\n }\n\n let initialErr = hydrateErr\n\n try {\n const appEntrypoint = await pageLoader.routeLoader.whenEntrypoint('/_app')\n if ('error' in appEntrypoint) {\n throw appEntrypoint.error\n }\n\n const { component: app, exports: mod } = appEntrypoint\n CachedApp = app as AppComponent\n if (mod && mod.reportWebVitals) {\n onPerfEntry = ({\n id,\n name,\n startTime,\n value,\n duration,\n entryType,\n entries,\n }): void => {\n // Combines timestamp with random number for unique ID\n const uniqueID: string = `${Date.now()}-${\n Math.floor(Math.random() * (9e12 - 1)) + 1e12\n }`\n let perfStartEntry: string | undefined\n\n if (entries && entries.length) {\n perfStartEntry = entries[0].startTime\n }\n\n mod.reportWebVitals({\n id: id || uniqueID,\n name,\n startTime: startTime || perfStartEntry,\n value: value == null ? duration : value,\n label:\n entryType === 'mark' || entryType === 'measure'\n ? 'custom'\n : 'web-vital',\n })\n }\n }\n\n const pageEntrypoint =\n // The dev server fails to serve script assets when there's a hydration\n // error, so we need to skip waiting for the entrypoint.\n process.env.NODE_ENV === 'development' && hydrateErr\n ? { error: hydrateErr }\n : await pageLoader.routeLoader.whenEntrypoint(page)\n if ('error' in pageEntrypoint) {\n throw pageEntrypoint.error\n }\n CachedComponent = pageEntrypoint.component\n\n if (process.env.NODE_ENV !== 'production') {\n const { isValidElementType } = require('react-is')\n if (!isValidElementType(CachedComponent)) {\n throw new Error(\n `The default export is not a React Component in page: \"${page}\"`\n )\n }\n }\n } catch (error) {\n // This catches errors like throwing in the top level of a module\n initialErr = error\n }\n\n if (process.env.NODE_ENV === 'development') {\n const { getNodeError } = require('@next/react-dev-overlay/lib/client')\n // Server-side runtime errors need to be re-thrown on the client-side so\n // that the overlay is rendered.\n if (initialErr) {\n if (initialErr === hydrateErr) {\n setTimeout(() => {\n let error\n try {\n // Generate a new error object. We `throw` it because some browsers\n // will set the `stack` when thrown, and we want to ensure ours is\n // not overridden when we re-throw it below.\n throw new Error(initialErr!.message)\n } catch (e) {\n error = e\n }\n\n error.name = initialErr!.name\n error.stack = initialErr!.stack\n\n const node = getNodeError(error)\n throw node\n })\n }\n // We replaced the server-side error with a client-side error, and should\n // no longer rewrite the stack trace to a Node error.\n else {\n setTimeout(() => {\n throw initialErr\n })\n }\n }\n }\n\n if (window.__NEXT_PRELOADREADY) {\n await window.__NEXT_PRELOADREADY(dynamicIds)\n }\n\n router = createRouter(page, query, asPath, {\n initialProps: hydrateProps,\n pageLoader,\n App: CachedApp,\n Component: CachedComponent,\n wrapApp,\n err: initialErr,\n isFallback: Boolean(isFallback),\n subscription: (info, App, scroll) =>\n render(\n Object.assign<\n {},\n Omit,\n Pick\n >({}, info, {\n App,\n scroll,\n }) as RenderRouteInfo\n ),\n locale,\n locales,\n defaultLocale,\n domainLocales,\n isPreview,\n })\n\n const renderCtx: RenderRouteInfo = {\n App: CachedApp,\n initial: true,\n Component: CachedComponent,\n props: hydrateProps,\n err: initialErr,\n }\n\n if (process.env.NODE_ENV === 'production') {\n render(renderCtx)\n return emitter\n } else {\n return { emitter, render, renderCtx }\n }\n}\n\nexport async function render(renderingProps: RenderRouteInfo): Promise {\n if (renderingProps.err) {\n await renderError(renderingProps)\n return\n }\n\n try {\n await doRender(renderingProps)\n } catch (renderErr) {\n // bubble up cancelation errors\n if (renderErr.cancelled) {\n throw renderErr\n }\n\n if (process.env.NODE_ENV === 'development') {\n // Ensure this error is displayed in the overlay in development\n setTimeout(() => {\n throw renderErr\n })\n }\n await renderError({ ...renderingProps, err: renderErr })\n }\n}\n\n// This method handles all runtime and debug errors.\n// 404 and 500 errors are special kind of errors\n// and they are still handle via the main render method.\nexport function renderError(renderErrorProps: RenderErrorProps): Promise {\n const { App, err } = renderErrorProps\n\n // In development runtime errors are caught by our overlay\n // In production we catch runtime errors using componentDidCatch which will trigger renderError\n if (process.env.NODE_ENV !== 'production') {\n // A Next.js rendering runtime error is always unrecoverable\n // FIXME: let's make this recoverable (error in GIP client-transition)\n webpackHMR.onUnrecoverableError()\n\n // We need to render an empty so that the `` can\n // render itself.\n return doRender({\n App: () => null,\n props: {},\n Component: () => null,\n styleSheets: [],\n })\n }\n\n // Make sure we log the error to the console, otherwise users can't track down issues.\n console.error(err)\n return pageLoader\n .loadPage('/_error')\n .then(({ page: ErrorComponent, styleSheets }) => {\n // In production we do a normal render with the `ErrorComponent` as component.\n // If we've gotten here upon initial render, we can use the props from the server.\n // Otherwise, we need to call `getInitialProps` on `App` before mounting.\n const AppTree = wrapApp(App)\n const appCtx = {\n Component: ErrorComponent,\n AppTree,\n router,\n ctx: { err, pathname: page, query, asPath, AppTree },\n }\n return Promise.resolve(\n renderErrorProps.props\n ? renderErrorProps.props\n : loadGetInitialProps(App, appCtx)\n ).then((initProps) =>\n doRender({\n ...renderErrorProps,\n err,\n Component: ErrorComponent,\n styleSheets,\n props: initProps,\n })\n )\n })\n}\n\nlet reactRoot: any = null\nlet shouldHydrate: boolean = typeof ReactDOM.hydrate === 'function'\n\nfunction renderReactElement(\n domEl: HTMLElement,\n fn: (cb: () => void) => JSX.Element\n): void {\n // mark start of hydrate/render\n if (ST) {\n performance.mark('beforeRender')\n }\n\n const reactEl = fn(shouldHydrate ? markHydrateComplete : markRenderComplete)\n if (process.env.__NEXT_REACT_ROOT) {\n if (!reactRoot) {\n const createRootName =\n typeof (ReactDOM as any).unstable_createRoot === 'function'\n ? 'unstable_createRoot'\n : 'createRoot'\n reactRoot = (ReactDOM as any)[createRootName](domEl, {\n hydrate: shouldHydrate,\n })\n }\n reactRoot.render(reactEl)\n shouldHydrate = false\n } else {\n // The check for `.hydrate` is there to support React alternatives like preact\n if (shouldHydrate) {\n ReactDOM.hydrate(reactEl, domEl)\n shouldHydrate = false\n } else {\n ReactDOM.render(reactEl, domEl)\n }\n }\n}\n\nfunction markHydrateComplete(): void {\n if (!ST) return\n\n performance.mark('afterHydrate') // mark end of hydration\n\n performance.measure(\n 'Next.js-before-hydration',\n 'navigationStart',\n 'beforeRender'\n )\n performance.measure('Next.js-hydration', 'beforeRender', 'afterHydrate')\n\n if (onPerfEntry) {\n performance.getEntriesByName('Next.js-hydration').forEach(onPerfEntry)\n }\n clearMarks()\n}\n\nfunction markRenderComplete(): void {\n if (!ST) return\n\n performance.mark('afterRender') // mark end of render\n const navStartEntries: PerformanceEntryList = performance.getEntriesByName(\n 'routeChange',\n 'mark'\n )\n\n if (!navStartEntries.length) return\n\n performance.measure(\n 'Next.js-route-change-to-render',\n navStartEntries[0].name,\n 'beforeRender'\n )\n performance.measure('Next.js-render', 'beforeRender', 'afterRender')\n if (onPerfEntry) {\n performance.getEntriesByName('Next.js-render').forEach(onPerfEntry)\n performance\n .getEntriesByName('Next.js-route-change-to-render')\n .forEach(onPerfEntry)\n }\n clearMarks()\n ;['Next.js-route-change-to-render', 'Next.js-render'].forEach((measure) =>\n performance.clearMeasures(measure)\n )\n}\n\nfunction clearMarks(): void {\n ;[\n 'beforeRender',\n 'afterHydrate',\n 'afterRender',\n 'routeChange',\n ].forEach((mark) => performance.clearMarks(mark))\n}\n\nfunction AppContainer({\n children,\n}: React.PropsWithChildren<{}>): React.ReactElement {\n return (\n \n renderError({ App: CachedApp, err: error }).catch((err) =>\n console.error('Error rendering page: ', err)\n )\n }\n >\n \n \n {children}\n \n \n \n )\n}\n\nconst wrapApp = (App: AppComponent) => (\n wrappedAppProps: Record\n): JSX.Element => {\n const appProps: AppProps = {\n ...wrappedAppProps,\n Component: CachedComponent,\n err: hydrateErr,\n router,\n }\n return (\n \n \n \n )\n}\n\nlet lastAppProps: AppProps\nfunction doRender(input: RenderRouteInfo): Promise {\n let { App, Component, props, err }: RenderRouteInfo = input\n let styleSheets: StyleSheetTuple[] | undefined =\n 'initial' in input ? undefined : input.styleSheets\n Component = Component || lastAppProps.Component\n props = props || lastAppProps.props\n\n const appProps: AppProps = {\n ...props,\n Component,\n err,\n router,\n }\n // lastAppProps has to be set before ReactDom.render to account for ReactDom throwing an error.\n lastAppProps = appProps\n\n let canceled: boolean = false\n let resolvePromise: () => void\n const renderPromise = new Promise((resolve, reject) => {\n if (lastRenderReject) {\n lastRenderReject()\n }\n resolvePromise = () => {\n lastRenderReject = null\n resolve()\n }\n lastRenderReject = () => {\n canceled = true\n lastRenderReject = null\n\n const error: any = new Error('Cancel rendering route')\n error.cancelled = true\n reject(error)\n }\n })\n\n // This function has a return type to ensure it doesn't start returning a\n // Promise. It should remain synchronous.\n function onStart(): boolean {\n if (\n !styleSheets ||\n // We use `style-loader` in development, so we don't need to do anything\n // unless we're in production:\n process.env.NODE_ENV !== 'production'\n ) {\n return false\n }\n\n const currentStyleTags: HTMLStyleElement[] = looseToArray(\n document.querySelectorAll('style[data-n-href]')\n )\n const currentHrefs: Set = new Set(\n currentStyleTags.map((tag) => tag.getAttribute('data-n-href'))\n )\n\n const noscript: Element | null = document.querySelector(\n 'noscript[data-n-css]'\n )\n const nonce: string | null | undefined = noscript?.getAttribute(\n 'data-n-css'\n )\n\n styleSheets.forEach(({ href, text }: { href: string; text: any }) => {\n if (!currentHrefs.has(href)) {\n const styleTag = document.createElement('style')\n styleTag.setAttribute('data-n-href', href)\n styleTag.setAttribute('media', 'x')\n\n if (nonce) {\n styleTag.setAttribute('nonce', nonce)\n }\n\n document.head.appendChild(styleTag)\n styleTag.appendChild(document.createTextNode(text))\n }\n })\n return true\n }\n\n function onHeadCommit(): void {\n if (\n // We use `style-loader` in development, so we don't need to do anything\n // unless we're in production:\n process.env.NODE_ENV === 'production' &&\n // We can skip this during hydration. Running it wont cause any harm, but\n // we may as well save the CPU cycles:\n styleSheets &&\n // Ensure this render was not canceled\n !canceled\n ) {\n const desiredHrefs: Set = new Set(styleSheets.map((s) => s.href))\n const currentStyleTags: HTMLStyleElement[] = looseToArray<\n HTMLStyleElement\n >(document.querySelectorAll('style[data-n-href]'))\n const currentHrefs: string[] = currentStyleTags.map(\n (tag) => tag.getAttribute('data-n-href')!\n )\n\n // Toggle `