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

1 line
8.7 KiB
Plaintext

{"version":3,"sources":["../../../src/server/app-render/create-component-tree.tsx"],"names":["React","isClientReference","getLayoutOrPageModule","interopDefault","preloadComponent","addSearchParamsIfPageSegment","parseLoaderTree","createComponentAndStyles","getLayerAssets","hasLoadingComponentInTree","createComponentTree","createSegmentPath","loaderTree","tree","parentParams","firstItem","rootLayoutIncluded","injectedCSS","injectedFontPreloadTags","asNotFound","metadataOutlet","ctx","renderOpts","nextConfigOutput","staticGenerationStore","componentMod","staticGenerationBailout","NotFoundBoundary","LayoutRouter","RenderFromTemplateContext","StaticGenerationSearchParamsBailoutProvider","serverHooks","DynamicServerError","pagePath","getDynamicParamFromSegment","query","isPrefetch","searchParamsProps","page","layoutOrPagePath","segment","components","parallelRoutes","layout","template","error","loading","notFound","injectedCSSWithCurrentLayout","Set","injectedFontPreloadTagsWithCurrentLayout","styles","Template","templateStyles","filePath","getComponent","Fragment","ErrorComponent","errorStyles","Loading","loadingStyles","isLayout","isPage","layoutOrPageMod","rootLayoutAtThisLevel","rootLayoutIncludedAtThisLevelOrAbove","NotFound","notFoundStyles","dynamic","forceDynamic","dynamicShouldError","link","forceStatic","fetchCache","revalidate","defaultRevalidate","isStaticGeneration","dynamicUsageDescription","dynamicUsageErr","LayoutOrPage","undefined","Component","parallelKeys","Object","keys","hasSlotKey","length","componentProps","NotFoundComponent","RootLayoutComponent","process","env","NODE_ENV","isValidElementType","require","Error","segmentParam","currentParams","value","param","actualSegment","treeSegment","parallelRouteMap","Promise","all","map","parallelRouteKey","isChildrenRouteKey","currentSegmentPath","parallelRoute","childSegment","childSegmentParam","notFoundComponent","getParallelRoutePair","currentChildProp","currentStyles","parallelRouterKey","segmentPath","hasLoading","Boolean","childProp","childElement","childPropSegment","ChildComponent","childComponentStyles","child","current","parallelRouteComponents","reduce","list","Comp","children","isClientComponent","meta","name","content","props","params","resolve","then","propsForComponent"],"mappings":"AACA,OAAOA,WAAW,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