securityos/node_modules/next/dist/esm/server/app-render/app-render.js.map

1 line
17 KiB
Plaintext

{"version":3,"sources":["../../../src/server/app-render/app-render.tsx"],"names":["React","createServerComponentRenderer","RenderResult","renderToInitialFizzStream","createBufferedTransformStream","continueFizzStream","streamToBufferedResult","cloneTransformStream","canSegmentBeOverridden","stripInternalQueries","NEXT_ROUTER_PREFETCH","NEXT_ROUTER_STATE_TREE","RSC","createMetadataComponents","RequestAsyncStorageWrapper","StaticGenerationAsyncStorageWrapper","isNotFoundError","getURLFromRedirectError","isRedirectError","getRedirectStatusCodeFromError","addImplicitTags","patchFetch","AppRenderSpan","getTracer","FlightRenderResult","createErrorHandler","getShortDynamicParamType","dynamicParamTypes","getSegmentParam","getScriptNonceFromHeader","parseAndValidateFlightRouterState","validateURL","createFlightRouterStateFromLoaderTree","handleAction","NEXT_DYNAMIC_NO_SSR_CODE","warn","appendMutableCookies","createServerInsertedHTML","getRequiredScripts","addPathPrefix","makeGetServerInsertedHTML","walkTreeWithFlightRouterState","createComponentTree","getAssetQueryString","createNotFoundLoaderTree","loaderTree","findDynamicParamFromRouterState","providedFlightRouterState","segment","treeSegment","Array","isArray","param","value","type","parallelRouterState","Object","values","maybeDynamicParam","makeGetDynamicParamFromSegment","params","getDynamicParamFromSegment","segmentParam","key","undefined","map","i","encodeURIComponent","join","generateFlight","ctx","options","flightData","componentMod","tree","renderToReadableStream","appUsingSizeAdjustment","staticGenerationStore","urlPathname","providedSearchParams","requestId","skipFlight","MetadataTree","MetadataOutlet","pathname","searchParams","createSegmentPath","child","loaderTreeToFilter","parentParams","flightRouterState","isFirst","rscPayloadHead","injectedCSS","Set","injectedFontPreloadTags","rootLayoutIncluded","asNotFound","isNotFoundPath","metadataOutlet","path","slice","buildIdFlightDataPair","renderOpts","buildId","flightReadableStream","actionResult","clientReferenceManifest","clientModules","context","serverContexts","onError","flightDataRendererErrorHandler","pipeThrough","createServerComponentsRenderer","loaderTreeToRender","preinitScripts","formState","serverComponentsRenderOpts","nonce","props","query","AppRouter","GlobalError","initialTree","errorType","Component","ComponentTree","styles","firstItem","assetPrefix","initialCanonicalUrl","initialHead","res","statusCode","meta","name","content","globalErrorComponent","serverComponentsErrorHandler","renderToHTMLOrFlightImpl","req","pagePath","baseCtx","isFlight","headers","toLowerCase","requestTimestamp","Date","now","buildManifest","subresourceIntegrityManifest","serverActionsManifest","ComponentMod","dev","nextFontManifest","supportsDynamicHTML","serverActionsBodySizeLimit","appDirDevErrorLogger","__next_app__","globalThis","__next_require__","require","__next_chunk_load__","loadChunk","extraRenderResultMeta","appUsingSizeAdjust","capturedErrors","allCapturedErrors","isNextExport","nextExport","_source","errorLogger","htmlRendererErrorHandler","generateStaticHTML","createSearchParamsBailoutProxy","requestStore","fetchMetrics","isPrefetch","process","env","NEXT_RUNTIME","crypto","randomUUID","nanoid","isStaticGeneration","searchParamsProps","defaultRevalidate","csp","inlinedDataTransformStream","TransformStream","validateRootLayout","getTree","HeadManagerContext","ServerInsertedHTMLProvider","renderServerInsertedHTML","getRootSpanAttributes","set","bodyResult","wrap","getBodyResult","spanName","attributes","polyfills","polyfillFiles","filter","polyfill","endsWith","src","integrity","crossOrigin","noModule","bootstrapScript","ServerComponentsRenderer","Provider","appDir","getServerInsertedHTML","fizzStream","ReactDOMServer","element","streamOptions","bootstrapScripts","experimental_formState","result","inlinedDataStream","readable","serverInsertedHTMLToHead","err","code","message","includes","digest","hasRedirectError","mutableCookies","Headers","setHeader","from","redirectUrl","basePath","is404","serverErrorComponentsRenderOpts","errorMeta","NODE_ENV","errorPreinitScripts","errorBootstrapScript","ErrorPage","head","html","id","body","finalErr","bailOnNotFound","actionRequestResult","page","notFoundLoaderTree","extendMetadata","renderResult","waitUntil","Promise","all","pendingRevalidates","fetchTags","tags","htmlResult","length","stringifiedFlightPayload","forceStatic","revalidate","pageData","staticBailoutInfo","description","dynamicUsageDescription","stack","dynamicUsageStack","renderToHTMLOrFlight","url","requestAsyncStorage","staticGenerationAsyncStorage"],"mappings":"AAaA,O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