{"version":3,"sources":["../../src/build/utils.ts"],"names":["unique","difference","computeFromManifest","isMiddlewareFilename","isInstrumentationHookFilename","printTreeView","printCustomRoutes","getJsPageSizeInKb","buildStaticPaths","collectAppConfig","collectGenerateParams","buildAppStaticPaths","isPageStatic","hasCustomGetInitialProps","getDefinedNamedExports","detectConflictingPaths","copyTracedFiles","isReservedPage","isAppBuiltinNotFoundPage","isCustomErrorPage","isMiddlewareFile","isInstrumentationHookFile","getPossibleInstrumentationHookFilenames","getPossibleMiddlewareFilenames","NestedMiddlewareError","getSupportedBrowsers","isWebpackServerLayer","isWebpackDefaultLayer","isWebpackAppLayer","print","console","log","RESERVED_PAGE","fileGzipStats","fsStatGzip","file","cached","getGzipSize","fileSize","fs","stat","size","fileStats","fsStat","main","sub","Set","a","b","filter","x","has","intersect","sum","reduce","cachedBuildManifest","cachedAppBuildManifest","lastCompute","lastComputePageInfo","manifests","distPath","gzipSize","pageInfos","files","Object","is","build","app","countBuildFiles","map","key","manifest","set","Infinity","get","pages","each","Map","expected","pageInfo","isHybridAmp","getSize","stats","Promise","all","keys","f","path","join","groupFiles","listing","entries","shapeGroup","group","acc","push","total","len","common","router","undefined","sizes","MIDDLEWARE_FILENAME","INSTRUMENTATION_HOOK_FILENAME","filterAndSortList","list","routeType","hasCustomApp","e","slice","sort","localeCompare","lists","buildId","pagesDir","pageExtensions","buildManifest","appBuildManifest","middlewareManifest","useStaticPages404","getPrettySize","_size","prettyBytes","green","yellow","red","bold","MIN_DURATION","getPrettyDuration","_duration","duration","getCleanName","fileName","replace","findPageFile","usedSymbols","messages","printFileTree","routerType","filteredPages","length","entry","underline","forEach","item","i","arr","border","ampFirst","ampFirstPages","includes","totalDuration","pageDuration","ssgPageDurations","symbol","static","isSsg","isEdgeRuntime","runtime","add","initialRevalidateSeconds","cyan","totalSize","uniqueCssFiles","endsWith","contSymbol","index","innerSymbol","ssgPageRoutes","totalRoutes","routes","some","d","previewPages","Math","min","routesWithDuration","route","idx","remainingRoutes","remaining","avgDuration","round","sharedFilesSize","sharedFiles","sharedCssFiles","originalName","cleanName","middlewareInfo","middleware","middlewareSizes","dep","textTable","align","stringLength","str","stripAnsi","redirects","rewrites","headers","printRoutes","type","isRedirects","isHeaders","routesStr","routeStr","source","r","destination","statusCode","permanent","header","last","value","combinedRewrites","beforeFiles","afterFiles","fallback","page","cachedStats","pageManifest","Error","newKey","normalizeAppPath","pageData","pagePath","denormalizePagePath","denormalizeAppPagePath","fnFilterJs","pageFiles","appFiles","fnMapRealPath","allFilesReal","selfFilesReal","getCachedSize","allFilesSize","selfFilesSize","getStaticPaths","staticPathsResult","configFileName","locales","defaultLocale","appDir","prerenderPaths","encodedPrerenderPaths","_routeRegex","getRouteRegex","_routeMatcher","getRouteMatcher","_validParamKeys","expectedReturnVal","Array","isArray","invalidStaticPathKeys","toPrerender","paths","removeTrailingSlash","localePathResult","normalizeLocalePath","cleanedEntry","detectedLocale","result","split","segment","escapePathDelimiters","decodeURIComponent","invalidKeys","k","params","builtPage","encodedBuiltPage","validParamKey","repeat","optional","groups","paramValue","hasOwnProperty","replaced","encodeURIComponent","locale","curLocale","encodedPaths","mod","hasConfig","config","revalidate","dynamicParams","dynamic","fetchCache","preferredRegion","parentSegments","generateParams","isLayout","layout","isClientComponent","isClientReference","isDynamicSegment","test","generateStaticParams","segmentPath","children","distDir","isrFlushToDisk","incrementalCacheHandlerPath","requestHeaders","maxMemoryCacheSize","fetchCacheKeyPrefix","staticGenerationAsyncStorage","serverHooks","patchFetch","CacheHandler","require","default","incrementalCache","IncrementalCache","nodeFs","dev","flushToDisk","serverDistDir","getPrerenderManifest","version","dynamicRoutes","notFoundRoutes","preview","CurCacheHandler","minimalMode","ciEnvironment","hasNextSupport","StaticGenerationAsyncStorageWrapper","wrap","urlPathname","renderOpts","originalPathname","supportsDynamicHTML","isRevalidate","isBot","pageEntry","hadAllParamsGenerated","buildParams","paramsItems","curGenerate","newParams","builtParams","generate","process","env","NODE_ENV","isDynamicRoute","runtimeEnvConfig","httpAgentOptions","parentId","pageRuntime","edgeInfo","pageType","originalAppPath","isPageStaticSpan","trace","traceAsyncFn","setConfig","setHttpClientAndAgentOptions","componentsResult","prerenderRoutes","encodedPrerenderRoutes","prerenderFallback","appConfig","pathIsEdgeRuntime","getRuntimeContext","edgeFunctionEntry","wasm","binding","filePath","name","useCache","context","_ENTRIES","ComponentMod","Component","pageConfig","reactLoadableManifest","getServerSideProps","getStaticProps","loadComponents","isAppPath","Comp","tree","routeModule","AppRouteRouteModule","userland","builtConfig","curGenParams","curRevalidate","Log","warn","isValidElementType","hasGetInitialProps","getInitialProps","hasStaticProps","hasStaticPaths","hasServerProps","SSG_GET_INITIAL_PROPS_CONFLICT","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","pageIsDynamic","isNextImageImported","globalThis","__NEXT_IMAGE_IMPORTED","unstable_includeFiles","unstable_excludeFiles","isStatic","amp","isAmpOnly","catch","err","message","error","checkingApp","components","_app","origGetInitialProps","combinedPages","ssgPages","additionalSsgPaths","conflictingPaths","dynamicSsgPages","additionalSsgPathsByPath","pathsPage","curPath","currentPath","toLowerCase","lowerPath","conflictingPage","find","conflictingPath","conflictingPathsOutput","pathItems","pathItem","isDynamic","exit","dir","pageKeys","appPageKeys","tracingRoot","serverConfig","hasInstrumentationHook","staticPages","outputPath","moduleType","nextConfig","relative","packageJsonPath","packageJson","JSON","parse","readFile","copiedFiles","rm","recursive","force","handleTraceFiles","traceFilePath","traceData","copySema","Sema","capacity","traceFileDir","dirname","relativeFile","acquire","tracedFilePath","fileOutputPath","mkdir","symlink","readlink","code","copyFile","release","handleEdgeFunction","handleFile","originalPath","assets","edgeFunctionHandlers","values","functions","normalizePagePath","pageFile","pageTraceFile","serverOutputPath","writeFile","stringify","folder","extensions","extension","constructor","nestedFileNames","mainDir","pagesOrAppDir","posix","sep","resolve","isDevelopment","browsers","browsersListConfig","browserslist","loadConfig","MODERN_BROWSERSLIST_TARGET","layer","Boolean","WEB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