Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Node.js Stream support #65704

Merged

Conversation

Ethan-Arrowood
Copy link
Contributor

@Ethan-Arrowood Ethan-Arrowood commented May 13, 2024

WIP - 1:1 implementation of stream helpers utility file to support Node.js streams. Uses multiplex pattern. Also includes minor testing where necessary.

Copy link
Contributor Author

Ethan-Arrowood commented May 13, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Ethan-Arrowood and the rest of your teammates on Graphite Graphite

@Ethan-Arrowood Ethan-Arrowood changed the title implement chainStreams Implement Node.js Stream support for stream-utils file May 13, 2024
@ijjk
Copy link
Member

ijjk commented May 13, 2024

Failing test suites

Commit: d2d71d0

pnpm test test/integration/custom-server-types/test/index.test.js

  • Custom Server TypeScript > should build server.ts correctly
Expand output

● Custom Server TypeScript › should build server.ts correctly

exited with code: 2
../../../packages/next/src/build/analysis/get-page-static-info.ts(523,26): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(62,24): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(196,38): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(321,12): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(505,18): error TS2802: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(540,16): error TS2802: Type 'Map<any, any> | [string, string[]][]' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(581,20): error TS2802: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(624,28): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(709,12): error TS2802: Type 'Map<any, any> | [string, string[]][]' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(766,17): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(783,37): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/collect-build-traces.ts(805,24): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/compiler.ts(5,19): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/compiler.ts(6,21): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/compiler.ts(31,61): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/build/entries.ts(797,5): error TS2322: Type 'MiddlewareMatcher[]' is not assignable to type 'undefined'.
../../../packages/next/src/build/index.ts(1448,37): error TS2802: Type 'PageEntrypoints' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(1465,37): error TS2802: Type 'AppEntrypoints' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(1505,43): error TS2802: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2281,28): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2297,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2298,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2320,68): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2414,33): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2414,49): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2533,22): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2534,22): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2599,18): error TS2802: Type 'IterableIterator<TurborepoAccessTraceResult>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2606,30): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/index.ts(2611,51): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/is-writeable.ts(5,62): error TS2339: Property 'W_OK' does not exist on type 'typeof import("fs") | typeof constants'.
  Property 'W_OK' does not exist on type 'typeof import("fs")'.
../../../packages/next/src/build/normalize-catchall-routes.ts(16,8): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/output/index.ts(102,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/output/index.ts(104,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/output/index.ts(106,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/output/index.ts(274,14): error TS2339: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.
  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.
../../../packages/next/src/build/output/index.ts(292,14): error TS2339: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.
  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.
../../../packages/next/src/build/output/index.ts(310,14): error TS2339: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.
  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.
../../../packages/next/src/build/output/store.ts(51,12): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(116,14): error TS2802: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(125,14): error TS2802: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(134,14): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(134,26): error TS2802: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(248,10): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(249,12): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(250,12): error TS2802: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(264,25): error TS2802: Type 'IterableIterator<[string, number]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(376,31): error TS2802: Type 'IterableIterator<[string, PageInfo]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(1170,16): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(1172,23): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/utils.ts(1885,31): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack-build/impl.ts(47,19): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/webpack-build/impl.ts(48,21): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/webpack-build/impl.ts(53,19): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/webpack-build/impl.ts(54,21): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'StatsError'.
../../../packages/next/src/build/webpack-build/impl.ts(237,15): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/webpack-config.ts(2337,38): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'RuleSetCondition'.
../../../packages/next/src/build/webpack/config/blocks/css/index.ts(48,35): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'RuleSetRule'.
../../../packages/next/src/build/webpack/config/blocks/css/index.ts(48,57): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'RuleSetRule'.
../../../packages/next/src/build/webpack/config/helpers.ts(5,17): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'RuleSetRule'.
../../../packages/next/src/build/webpack/config/helpers.ts(28,17): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'RuleSetRule'.
../../../packages/next/src/build/webpack/loaders/next-app-loader.ts(185,28): error TS2694: Namespace '"next/dist/compiled/webpack/webpack"' has no exported member 'LoaderContext'.
../../../packages/next/src/build/webpack/loaders/next-edge-app-route-loader/index.ts(18,35): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'LoaderDefinitionFunction'.
../../../packages/next/src/build/webpack/loaders/next-route-loader/index.ts(213,23): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'LoaderDefinitionFunction'.
../../../packages/next/src/build/webpack/plugins/app-build-manifest-plugin.ts(79,38): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/app-build-manifest-plugin.ts(79,50): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts(214,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts(259,40): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts(259,52): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(49,31): error TS2802: Type 'Set<Chunk>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(52,34): error TS2802: Type 'Iterable<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(79,53): error TS2802: Type 'Map<Module, Map<ChunkState, number>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(100,29): error TS2802: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(102,37): error TS2802: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(105,48): error TS2802: Type 'Map<ChunkState, number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(127,37): error TS2802: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(144,43): error TS2802: Type 'Map<ChunkState, number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(164,20): error TS2802: Type 'Map<Module, [number, Map<ChunkState, number>]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(200,39): error TS2802: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(256,34): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(264,44): error TS2802: Type 'IterableIterator<ChunkState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts(279,44): error TS2802: Type 'IterableIterator<ChunkState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(408,14): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(409,14): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(417,40): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(477,14): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(478,14): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(492,40): error TS2802: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(776,20): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(934,25): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'Dependency'.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(935,22): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'EntryOptions'.
../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts(1062,31): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts(284,15): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts(388,16): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.
../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts(449,29): error TS2802: Type 'SortableSet<ChunkGroup>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/font-stylesheet-gathering-plugin.ts(232,11): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/build/webpack/plugins/memory-with-gc-cache-plugin.ts(36,15): error TS2305: Module '"next/dist/compiled/webpack/webpack"' has no exported member 'Compiler'.
../../../packages/next/src/build/webpack/plugins/memory-with-gc-cache-plugin.ts(85,41): error TS2802: Type 'Map<string, CacheEntry>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(77,24): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'ModuleGraph'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(88,28): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(262,20): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'javascript'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(274,46): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'javascript'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(310,19): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'javascript'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(321,19): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'javascript'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(377,27): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'javascript'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(407,9): error TS2322: Type 'Set<unknown>' is not assignable to type 'boolean | Set<string>'.
  Type 'Set<unknown>' is not assignable to type 'Set<string>'.
    Type 'unknown' is not assignable to type 'string'.
../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts(612,28): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-drop-client-page-plugin.ts(20,32): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(67,26): error TS2802: Type 'undefined[] | Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(88,22): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(234,58): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(241,22): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(260,46): error TS2802: Type 'Map<any, Set<string>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(306,16): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(308,18): error TS2802: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(524,40): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(642,45): error TS2802: Type 'undefined[] | IterableIterator<[string, { ignored: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(651,46): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(658,49): error TS2802: Type 'undefined[] | IterableIterator<[string, { ignored: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts(832,44): error TS2339: Property 'dependencyType' does not exist on type 'unknown'.
../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts(298,16): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts(304,16): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts(702,33): error TS2802: Type 'Iterable<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/profiling-plugin.ts(1,10): error TS2305: Module '"next/dist/compiled/webpack/webpack"' has no exported member 'NormalModule'.
../../../packages/next/src/build/webpack/plugins/subresource-integrity-plugin.ts(28,30): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(2,10): error TS2305: Module '"next/dist/compiled/webpack/webpack"' has no exported member 'NormalModule'.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(122,33): error TS2802: Type 'ReadonlyMap<Feature, string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(127,35): error TS2802: Type 'ReadonlyMap<Feature, RegExp>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(175,31): error TS2802: Type 'IterableIterator<Feature>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(182,31): error TS2802: Type 'IterableIterator<Feature>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(197,34): error TS2802: Type 'Iterable<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts(229,16): error TS2802: Type 'IterableIterator<FeatureUsage>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/utils.ts(31,25): error TS2802: Type 'Iterable<NormalModule>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/build/webpack/utils.ts(100,28): error TS2802: Type 'Iterable<ModuleGraphConnection>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/cli/next-test.ts(50,5): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/cli/next-test.ts(62,5): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/client/components/app-router.tsx(434,16): error TS2339: Property 'next' does not exist on type 'Window & typeof globalThis'.
../../../packages/next/src/client/components/app-router.tsx(435,14): error TS2339: Property 'next' does not exist on type 'Window & typeof globalThis'.
../../../packages/next/src/client/components/app-router.tsx(785,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/components/navigation.ts(215,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/client/components/promise-queue.ts(8,3): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
../../../packages/next/src/client/components/promise-queue.ts(9,3): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
../../../packages/next/src/client/components/promise-queue.ts(10,3): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
../../../packages/next/src/client/components/promise-queue.ts(61,3): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx(78,18): error TS2339: Property '__nextDevClientId' does not exist on type 'Window & typeof globalThis'.
../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx(109,40): error TS2304: Cannot find name '__webpack_hash__'.
../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx(121,14): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts(84,5): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts(28,12): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/client/components/react-dev-overlay/server/middleware.ts(32,14): error TS2802: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/components/router-reducer/ppr-navigations.ts(681,29): error TS2802: Type 'IterableIterator<Task>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/components/router-reducer/prefetch-cache-utils.ts(231,44): error TS2802: Type 'Map<string, PrefetchCacheEntry>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/components/use-reducer-with-devtools.ts(17,32): error TS2802: Type 'IterableIterator<[any, any]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/script.tsx(180,8): error TS2802: Type 'NodeListOf<Element>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/client/script.tsx(181,8): error TS2802: Type 'NodeListOf<Element>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/export/index.ts(409,8): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/export/index.ts(446,14): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/build-custom-route.ts(57,5): error TS2322: Type 'undefined' is not assignable to type 'never'.
../../../packages/next/src/lib/create-client-router-filter.ts(66,45): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/create-client-router-filter.ts(68,46): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/eslint/runLintCheck.ts(293,4): error TS1055: Type 'ReturnType' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
../../../packages/next/src/lib/load-custom-routes.ts(340,31): error TS2802: Type 'IterableIterator<RegExpMatchArray>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/load-custom-routes.ts(373,55): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/load-custom-routes.ts(413,22): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/load-custom-routes.ts(443,55): error TS2802: Type 'Set<number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/load-custom-routes.ts(452,23): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/load-custom-routes.ts(465,23): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/metadata/resolve-metadata.ts(780,27): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/lib/metadata/resolvers/resolve-opengraph.ts(224,9): error TS2322: Type 'TwitterAppDescriptor | {}' is not assignable to type 'TwitterAppDescriptor'.
  Property 'id' is missing in type '{}' but required in type 'TwitterAppDescriptor'.
../../../packages/next/src/lib/typescript/diagnosticFormatter.ts(89,20): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/lib/typescript/diagnosticFormatter.ts(212,18): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/pages/_document.tsx(68,19): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/accept-header.ts(114,41): error TS2802: Type 'Map<string, { orig: string; pos: number; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/action-handler.ts(48,30): error TS2802: Type 'URLSearchParams' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/action-handler.ts(223,34): error TS2802: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/action-handler.ts(314,36): error TS2802: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/action-handler.ts(690,15): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/app-render/action-handler.ts(705,15): error TS2353: Object literal may only specify known properties, and 'duplex' does not exist in type 'RequestInit'.
../../../packages/next/src/server/app-render/app-render.tsx(373,7): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/app-render/app-render.tsx(980,11): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/app-render/app-render.tsx(1029,33): error TS2304: Cannot find name 'HeadersDescriptor'.
../../../packages/next/src/server/app-render/app-render.tsx(1357,13): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/app-render/dynamic-rendering.ts(30,34): error TS2339: Property 'unstable_postpone' does not exist on type 'typeof import("/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts")'.
../../../packages/next/src/server/app-render/dynamic-rendering.ts(183,4): error TS2534: A function returning 'never' cannot have a reachable end point.
../../../packages/next/src/server/app-render/dynamic-rendering.ts(199,9): error TS2339: Property 'unstable_postpone' does not exist on type 'typeof import("/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts")'.
../../../packages/next/src/server/app-render/dynamic-rendering.ts(261,11): error TS2339: Property 'unstable_postpone' does not exist on type 'typeof import("/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts")'.
../../../packages/next/src/server/app-render/get-css-inlined-link-tags.tsx(45,24): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/get-css-inlined-link-tags.tsx(45,49): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/get-preloadable-fonts.tsx(35,16): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/app-render/parse-and-validate-flight-router-state.tsx(3,10): error TS2305: Module '"next/dist/compiled/superstruct"' has no exported member 'assert'.
../../../packages/next/src/server/app-render/static/static-renderer.ts(13,37): error TS2307: Cannot find module 'react-dom/types' or its corresponding type declarations.
../../../packages/next/src/server/app-render/types.ts(22,35): error TS2339: Property 'enums' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(26,25): error TS2339: Property 'union' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(27,5): error TS2339: Property 'string' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(28,5): error TS2339: Property 'tuple' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(28,14): error TS2339: Property 'string' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(28,26): error TS2339: Property 'string' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(36,59): error TS2339: Property 'tuple' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(38,5): error TS2339: Property 'record' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(39,7): error TS2339: Property 'string' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(40,7): error TS2339: Property 'lazy' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(42,5): error TS2339: Property 'optional' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(42,16): error TS2339: Property 'nullable' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(42,27): error TS2339: Property 'string' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(43,5): error TS2339: Property 'optional' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(43,16): error TS2339: Property 'nullable' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(43,27): error TS2339: Property 'union' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(43,36): error TS2339: Property 'literal' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(43,58): error TS2339: Property 'literal' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(44,5): error TS2339: Property 'optional' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/app-render/types.ts(44,16): error TS2339: Property 'boolean' does not exist on type 'typeof import("next/dist/compiled/superstruct")'.
../../../packages/next/src/server/base-http/web.ts(28,33): error TS2802: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/base-server.ts(1222,29): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/config.ts(732,18): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/config.ts(794,8): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/extract-modules-from-turbopack-message.ts(34,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-middleware.ts(76,26): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(291,32): error TS2802: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(301,26): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(307,34): error TS2802: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(317,29): error TS2802: Type 'IterableIterator<HMR_ACTION_TYPES>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(334,26): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(349,26): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(561,38): error TS2802: Type 'IterableIterator<AsyncIterator<any, any, undefined>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(657,35): error TS2802: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(683,28): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(710,20): error TS2802: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(710,39): error TS2802: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(727,27): error TS2802: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(732,33): error TS2802: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(887,20): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(891,36): error TS2802: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(911,32): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-turbopack.ts(923,27): error TS2802: Type 'IterableIterator<CompilationError>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(92,22): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(261,34): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(1067,29): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(1303,13): error TS2345: Argument of type 'Set<unknown>' is not assignable to parameter of type 'readonly string[] | ReadonlySet<string>'.
  Type 'Set<unknown>' is not assignable to type 'ReadonlySet<string>'.
    Types of property 'forEach' are incompatible.
      Type '(callbackfn: (value: unknown, value2: unknown, set: Set<unknown>) => void, thisArg?: any) => void' is not assignable to type '(callbackfn: (value: string, value2: string, set: ReadonlySet<string>) => void, thisArg?: any) => void'.
        Types of parameters 'callbackfn' and 'callbackfn' are incompatible.
          Types of parameters 'value' and 'value' are incompatible.
            Type 'unknown' is not assignable to type 'string'.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(1312,11): error TS2322: Type 'Set<unknown>' is not assignable to type 'Set<string>'.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(1400,37): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/hot-reloader-webpack.ts(1410,39): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(263,34): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(268,38): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(519,26): error TS2694: Namespace '"next/dist/compiled/webpack/webpack".webpack' has no exported member 'MultiCompiler'.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(550,30): error TS2802: Type 'IterableIterator<{ name?: string; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(849,31): error TS2802: Type 'IterableIterator<{ entryKey: string; newEntry: boolean; shouldInvalidate: boolean; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(850,50): error TS2802: Type 'IterableIterator<[CompilerNameValues, { entryKey: string; newEntry: boolean; shouldInvalidate: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/on-demand-entry-handler.ts(887,39): error TS2802: Type 'IterableIterator<CompilerNameValues>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(239,36): error TS2802: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(566,29): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(715,35): error TS2802: Type 'Map<string, Route>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(815,20): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/server/dev/turbopack-utils.ts(891,21): error TS2802: Type 'IterableIterator<`{"type":"app","side":"app","page":"${string}"}` | `{"type":"app","side":"pages","page":"${string}"}` | `{"type":"app","side":"root","page":"${string}"}` | `{"type":"app","side":"assets","page":"${string}"}` | `{"type":"pages","side":"app","page":"${string}"}` | `{"type":"pages","side":"pages","page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(897,21): error TS2802: Type 'IterableIterator<`{"type":"app","side":"app","page":"${string}"}` | `{"type":"app","side":"pages","page":"${string}"}` | `{"type":"app","side":"root","page":"${string}"}` | `{"type":"app","side":"assets","page":"${string}"}` | `{"type":"pages","side":"app","page":"${string}"}` | `{"type":"pages","side":"pages","page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(904,23): error TS2802: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(910,24): error TS2802: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(916,23): error TS2802: Type 'IterableIterator<`{"type":"app","side":"app","page":"${string}"}` | `{"type":"app","side":"pages","page":"${string}"}` | `{"type":"app","side":"root","page":"${string}"}` | `{"type":"app","side":"assets","page":"${string}"}` | `{"type":"pages","side":"app","page":"${string}"}` | `{"type":"pages","side":"pages","page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack-utils.ts(922,22): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(153,21): error TS2802: Type 'Iterable<ActionManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(202,21): error TS2802: Type 'Iterable<AppBuildManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(287,21): error TS2802: Type 'Iterable<BuildManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(344,13): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(349,24): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(404,21): error TS2802: Type 'Iterable<NextFontManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(456,21): error TS2802: Type 'Iterable<LoadableManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(521,21): error TS2802: Type 'Iterable<TurbopackMiddlewareManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/dev/turbopack/manifest-loader.ts(587,21): error TS2802: Type 'Iterable<PagesManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/font-utils.ts(57,20): error TS2802: Type 'IterableIterator<RegExpMatchArray>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/font-utils.ts(62,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/incremental-cache/fetch-cache.ts(70,21): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/incremental-cache/file-system-cache.ts(155,12): error TS2339: Property 'revalidatedAt' does not exist on type '{}'.
../../../packages/next/src/server/lib/incremental-cache/file-system-cache.ts(156,7): error TS2741: Property 'revalidatedAt' is missing in type '{}' but required in type '{ revalidatedAt: number; }'.
../../../packages/next/src/server/lib/incremental-cache/index.ts(318,27): error TS2802: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/incremental-cache/index.ts(318,39): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/incremental-cache/index.ts(370,16): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.
../../../packages/next/src/server/lib/mock-request.ts(248,25): error TS2802: Type 'IArguments' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/patch-fetch.ts(555,15): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/lib/patch-set-header.ts(39,14): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/router-server.ts(205,7): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/lib/router-utils/resolve-routes.ts(448,13): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/lib/router-utils/resolve-routes.ts(545,33): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/router-utils/setup-dev-bundler.ts(511,27): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/lib/start-server.ts(71,5): error TS1055: Type 'ReturnType' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
../../../packages/next/src/server/lib/start-server.ts(349,14): error TS1252: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
../../../packages/next/src/server/lib/trace/tracer.ts(420,11): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
../../../packages/next/src/server/lib/trace/tracer.ts(425,33): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
../../../packages/next/src/server/lib/trace/tracer.ts(428,68): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
../../../packages/next/src/server/next-server.ts(1619,30): error TS2802: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/next.ts(267,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/next.ts(269,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/next.ts(271,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/render.tsx(333,54): error TS2802: Type 'Set<number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.ts(83,24): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/route-modules/app-route/helpers/auto-implement-methods.ts(51,51): error TS2802: Type 'Set<"POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "PATCH">' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/route-modules/pages/builtin/_error.tsx(22,3): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/server/web/adapter.ts(110,20): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/adapter.ts(389,32): error TS2802: Type 'Map<any, any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/sandbox/context.ts(85,30): error TS2802: Type 'Map<string, ModuleContext>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/sandbox/context.ts(88,30): error TS2802: Type 'Map<string, Promise<ModuleContext>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/sandbox/context.ts(355,14): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(355,41): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(361,17): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(363,16): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(370,16): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(372,14): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(374,19): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(375,16): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/sandbox/context.ts(397,46): error TS2339: Property 'headers' does not exist on type '{}'.
../../../packages/next/src/server/web/spec-extension/adapters/headers.ts(195,33): error TS2802: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/spec-extension/response.ts(22,32): error TS2802: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/server/web/utils.ts(123,32): error TS2802: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/shared/lib/head.tsx(37,9): error TS2578: Unused '@ts-expect-error' directive.
../../../packages/next/src/shared/lib/router/utils/sorted-routes.ts(17,31): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
../../../packages/next/src/shared/lib/router/utils/sorted-routes.ts(115,16): error TS1251: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.

  516 |     instance.on('exit', (code) => {
  517 |       if (code) {
> 518 |         return reject(new Error('exited with code: ' + code + '\n' + output))
      |                       ^
  519 |       }
  520 |       resolve()
  521 |     })

  at ChildProcess.<anonymous> (lib/next-test-utils.ts:518:23)

Read more about building and testing Next.js in contributing.md.

pnpm test test/integration/import-assertion/test/index.test.js

  • production mode > import-assertion prod > should handle json assertions
Expand output

● production mode › import-assertion prod › should handle json assertions

FetchError: request to http://localhost:39797/es failed, reason: connect ECONNREFUSED 127.0.0.1:39797

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected]/node_modules/node-fetch/lib/index.js:1491:11)

Read more about building and testing Next.js in contributing.md.

pnpm test test/integration/next-image-new/svgo-webpack/test/index.test.ts

  • svgo-webpack with Image Component > production mode > should not fail to build invalid usage of the Image component
Expand output

● svgo-webpack with Image Component › production mode › should not fail to build invalid usage of the Image component

expect(received).toEqual(expected) // deep equality

- Expected  -    1
+ Received  + 2847

- Array []
+ Array [
+   "===== TS errors =====",
+   "[Test Mode] ../../../../packages/next/src/build/analysis/get-page-static-info.ts:523:26",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  521 |",
+   "  522 |     if (extraProperties && pageType === PAGE_TYPES.APP) {",
+   "> 523 |       for (const prop of extraProperties) {",
+   "      |                          ^",
+   "  524 |         if (!AUTHORIZED_EXTRA_ROUTER_PROPS.includes(prop)) continue",
+   "  525 |         try {",
+   "  526 |           extraConfig[prop] = extractExportedConstValue(swcAST, prop)",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:62:24",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  60 |   let allParentsIgnored = true",
+   "  61 |",
+   "> 62 |   for (const parent of reason.parents.values()) {",
+   "     |                        ^",
+   "  63 |     if (!children.has(parent)) {",
+   "  64 |       children.add(parent)",
+   "  65 |       if (",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:196:38",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  194 |           existedNftFile.files.push(...turbotraceFiles)",
+   "  195 |           const filesSet = new Set(existedNftFile.files)",
+   "> 196 |           existedNftFile.files = [...filesSet]",
+   "      |                                      ^",
+   "  197 |           await fs.writeFile(",
+   "  198 |             turbotraceOutputPath,",
+   "  199 |             JSON.stringify(existedNftFile),",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:321:12",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  319 |",
+   "  320 |         ...(isStandalone ? [] : TRACE_IGNORES),",
+   "> 321 |         ...additionalIgnores,",
+   "      |            ^",
+   "  322 |         ...(config.experimental.outputFileTracingIgnores || []),",
+   "  323 |       ]",
+   "  324 |",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:505:18",
+   "Type error: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  503 |           for (const file of entries) {",
+   "  504 |             const curFiles = [",
+   "> 505 |               ...(parentFilesMap",
+   "      |                  ^",
+   "  506 |                 .get(path.relative(outputFileTracingRoot, file))",
+   "  507 |                 ?.keys() || []),",
+   "  508 |             ]",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:540:16",
+   "Type error: Type 'Map<any, any> | [string, string[]][]' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  538 |         await Promise.all(",
+   "  539 |           [",
+   "> 540 |             ...(entryNameFilesMap",
+   "      |                ^",
+   "  541 |               ? Object.entries(entryNameFilesMap)",
+   "  542 |               : new Map()),",
+   "  543 |           ].map(async ([entryName, entryNameFiles]) => {",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:581:20",
+   "Type error: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  579 |             for (const file of [...entryNameFiles, entryOutputPath]) {",
+   "  580 |               const curFiles = [",
+   "> 581 |                 ...(parentFilesMap",
+   "      |                    ^",
+   "  582 |                   .get(path.relative(outputFileTracingRoot, file))",
+   "  583 |                   ?.keys() || []),",
+   "  584 |               ]",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:624:28",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  622 |               JSON.stringify({",
+   "  623 |                 ...existingTrace,",
+   "> 624 |                 files: [...curTracedFiles].sort(),",
+   "      |                            ^",
+   "  625 |                 ...(isFlyingShuttle",
+   "  626 |                   ? {",
+   "  627 |                       fileHashes: curFileHashes,",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:709:12",
+   "Type error: Type 'Map<any, any> | [string, string[]][]' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  707 |     await Promise.all(",
+   "  708 |       [",
+   "> 709 |         ...(entryNameFilesMap ? Object.entries(entryNameFilesMap) : new Map()),",
+   "      |            ^",
+   "  710 |       ].map(async ([entryName]) => {",
+   "  711 |         const isApp = entryName.startsWith('app/')",
+   "  712 |         const isPages = entryName.startsWith('pages/')",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:766:17",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  764 |         if (combinedIncludes?.size) {",
+   "  765 |           await Promise.all(",
+   "> 766 |             [...combinedIncludes].map(async (includeGlob) => {",
+   "      |                 ^",
+   "  767 |               const results = await glob(includeGlob)",
+   "  768 |               const resolvedInclude = resolvedTraceIncludes.get(",
+   "  769 |                 includeGlob",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:783:37",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  781 |",
+   "  782 |         if (combinedExcludes?.size) {",
+   "> 783 |           const resolvedGlobs = [...combinedExcludes].map((exclude) =>",
+   "      |                                     ^",
+   "  784 |             path.join(dir, exclude)",
+   "  785 |           )",
+   "  786 |",
+   "[Test Mode] ../../../../packages/next/src/build/collect-build-traces.ts:805:24",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  803 |           JSON.stringify({",
+   "  804 |             version: traceContent.version,",
+   "> 805 |             files: [...combined],",
+   "      |                        ^",
+   "  806 |           })",
+   "  807 |         )",
+   "  808 |       })",
+   "[Test Mode] ../../../../packages/next/src/build/compiler.ts:5:19",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  3 |",
+   "  4 | export type CompilerResult = {",
+   "> 5 |   errors: webpack.StatsError[]",
+   "    |                   ^",
+   "  6 |   warnings: webpack.StatsError[]",
+   "  7 |   stats: webpack.Stats | undefined",
+   "  8 | }",
+   "[Test Mode] ../../../../packages/next/src/build/compiler.ts:6:21",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  4 | export type CompilerResult = {",
+   "  5 |   errors: webpack.StatsError[]",
+   "> 6 |   warnings: webpack.StatsError[]",
+   "    |                     ^",
+   "  7 |   stats: webpack.Stats | undefined",
+   "  8 | }",
+   "  9 |",
+   "[Test Mode] ../../../../packages/next/src/build/compiler.ts:31:61",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  29 | // Webpack 5 requires the compiler to be closed (to save caches)",
+   "  30 | // Webpack 4 does not have this close method so in order to be backwards compatible we check if it exists",
+   "> 31 | function closeCompiler(compiler: webpack.Compiler | webpack.MultiCompiler) {",
+   "     |                                                             ^",
+   "  32 |   return new Promise<void>((resolve, reject) => {",
+   "  33 |     // @ts-ignore Close only exists on the compiler in webpack 5",
+   "  34 |     return compiler.close((err: any) => (err ? reject(err) : resolve()))",
+   "[Test Mode] ../../../../packages/next/src/build/entries.ts:797:5",
+   "Type error: Type 'MiddlewareMatcher[]' is not assignable to type 'undefined'.",
+   "  795 |     server,",
+   "  796 |     edgeServer,",
+   "> 797 |     middlewareMatchers,",
+   "      |     ^",
+   "  798 |   }",
+   "  799 | }",
+   "  800 |",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:1448:37",
+   "Type error: Type 'PageEntrypoints' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1446 |         }",
+   "  1447 |",
+   "> 1448 |         for (const [page, route] of currentEntrypoints.page) {",
+   "       |                                     ^",
+   "  1449 |           enqueue(() =>",
+   "  1450 |             handleRouteType({",
+   "  1451 |               dev,",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:1465:37",
+   "Type error: Type 'AppEntrypoints' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1463 |         }",
+   "  1464 |",
+   "> 1465 |         for (const [page, route] of currentEntrypoints.app) {",
+   "       |                                     ^",
+   "  1466 |           enqueue(() =>",
+   "  1467 |             handleRouteType({",
+   "  1468 |               page,",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:1505:43",
+   "Type error: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1503 |           message: string",
+   "  1504 |         }[] = []",
+   "> 1505 |         for (const [page, entryIssues] of currentEntryIssues) {",
+   "       |                                           ^",
+   "  1506 |           for (const issue of entryIssues.values()) {",
+   "  1507 |             if (issue.severity !== 'warning') {",
+   "  1508 |               errors.push({",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2281:28",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2279 |           distDir,",
+   "  2280 |           edgeRuntimeRoutes: collectRoutesUsingEdgeRuntime(pageInfos),",
+   "> 2281 |           staticPages: [...staticPages],",
+   "       |                            ^",
+   "  2282 |           nextBuildSpan,",
+   "  2283 |           hasSsrAmpPages,",
+   "  2284 |           buildTraceContext,",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2297:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2295 |         // data routes since we can't determine these until after build",
+   "  2296 |         routesManifest.dataRoutes = getSortedRoutes([",
+   "> 2297 |           ...serverPropsPages,",
+   "       |              ^",
+   "  2298 |           ...ssgPages,",
+   "  2299 |         ]).map((page) => {",
+   "  2300 |           return buildDataRoute(page, buildId)",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2298:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2296 |         routesManifest.dataRoutes = getSortedRoutes([",
+   "  2297 |           ...serverPropsPages,",
+   "> 2298 |           ...ssgPages,",
+   "       |              ^",
+   "  2299 |         ]).map((page) => {",
+   "  2300 |           return buildDataRoute(page, buildId)",
+   "  2301 |         })",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2320:68",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2318 |           `Build optimization failed: found page${",
+   "  2319 |             invalidPages.size === 1 ? '' : 's'",
+   "> 2320 |           } without a React Component as default export in \\n${[...invalidPages]",
+   "       |                                                                    ^",
+   "  2321 |             .map((pg) => `pages${pg}`)",
+   "  2322 |             .join(",
+   "  2323 |               '\\n'",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2414:33",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2412 |         !hasPages500 && !hasNonStaticErrorPage && !customAppGetInitialProps",
+   "  2413 |",
+   "> 2414 |       const combinedPages = [...staticPages, ...ssgPages]",
+   "       |                                 ^",
+   "  2415 |       const isApp404Static = appStaticPaths.has(",
+   "  2416 |         UNDERSCORE_NOT_FOUND_ROUTE_ENTRY",
+   "  2417 |       )",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2414:49",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2412 |         !hasPages500 && !hasNonStaticErrorPage && !customAppGetInitialProps",
+   "  2413 |",
+   "> 2414 |       const combinedPages = [...staticPages, ...ssgPages]",
+   "       |                                                 ^",
+   "  2415 |       const isApp404Static = appStaticPaths.has(",
+   "  2416 |         UNDERSCORE_NOT_FOUND_ROUTE_ENTRY",
+   "  2417 |       )",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2533:22",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2531 |               if (i18n) {",
+   "  2532 |                 for (const page of [",
+   "> 2533 |                   ...staticPages,",
+   "       |                      ^",
+   "  2534 |                   ...ssgPages,",
+   "  2535 |                   ...(useStaticPages404 ? ['/404'] : []),",
+   "  2536 |                   ...(useDefaultStatic500 ? ['/500'] : []),",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2534:22",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2532 |                 for (const page of [",
+   "  2533 |                   ...staticPages,",
+   "> 2534 |                   ...ssgPages,",
+   "       |                      ^",
+   "  2535 |                   ...(useStaticPages404 ? ['/404'] : []),",
+   "  2536 |                   ...(useDefaultStatic500 ? ['/500'] : []),",
+   "  2537 |                 ]) {",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2599:18",
+   "Type error: Type 'IterableIterator<TurborepoAccessTraceResult>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2597 |             traces: [",
+   "  2598 |               turborepoAccessTraceResult,",
+   "> 2599 |               ...exportResult.turborepoAccessTraceResults.values(),",
+   "       |                  ^",
+   "  2600 |             ],",
+   "  2601 |           })",
+   "  2602 |",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2606:30",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2604 |",
+   "  2605 |           // remove server bundles that were exported",
+   "> 2606 |           for (const page of staticPages) {",
+   "       |                              ^",
+   "  2607 |             const serverBundle = getPagePath(page, distDir, undefined, false)",
+   "  2608 |             await fs.unlink(serverBundle)",
+   "  2609 |           }",
+   "[Test Mode] ../../../../packages/next/src/build/index.ts:2611:51",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  2609 |           }",
+   "  2610 |",
+   "> 2611 |           for (const [originalAppPath, routes] of appStaticPaths) {",
+   "       |                                                   ^",
+   "  2612 |             const page = appNormalizedPaths.get(originalAppPath) || ''",
+   "  2613 |             const appConfig = appDefaultConfigs.get(originalAppPath) || {}",
+   "  2614 |             let hasDynamicData =",
+   "[Test Mode] ../../../../packages/next/src/build/is-writeable.ts:5:62",
+   "Type error: Property 'W_OK' does not exist on type 'typeof import(\"fs\") | typeof constants'.",
+   "  Property 'W_OK' does not exist on type 'typeof import(\"fs\")'.",
+   "  3 | export async function isWriteable(directory: string): Promise<boolean> {",
+   "  4 |   try {",
+   "> 5 |     await fs.promises.access(directory, (fs.constants || fs).W_OK)",
+   "    |                                                              ^",
+   "  6 |     return true",
+   "  7 |   } catch (err) {",
+   "  8 |     return false",
+   "[Test Mode] ../../../../packages/next/src/build/normalize-catchall-routes.ts:16:8",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  14 | ) {",
+   "  15 |   const catchAllRoutes = [",
+   "> 16 |     ...new Set(",
+   "     |        ^",
+   "  17 |       Object.values(appPaths)",
+   "  18 |         .flat()",
+   "  19 |         .filter(isCatchAllRoute)",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:102:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  100 |",
+   "  101 | const buildStore = createStore<BuildStatusStore>({",
+   "> 102 |   // @ts-expect-error initial value",
+   "      |   ^",
+   "  103 |   client: {},",
+   "  104 |   // @ts-expect-error initial value",
+   "  105 |   server: {},",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:104:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  102 |   // @ts-expect-error initial value",
+   "  103 |   client: {},",
+   "> 104 |   // @ts-expect-error initial value",
+   "      |   ^",
+   "  105 |   server: {},",
+   "  106 |   // @ts-expect-error initial value",
+   "  107 |   edgeServer: {},",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:106:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  104 |   // @ts-expect-error initial value",
+   "  105 |   server: {},",
+   "> 106 |   // @ts-expect-error initial value",
+   "      |   ^",
+   "  107 |   edgeServer: {},",
+   "  108 | })",
+   "  109 | let buildWasDone = false",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:274:14",
+   "Type error: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.",
+   "  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.",
+   "  272 |       !buildStore.getState().server.loading &&",
+   "  273 |       !buildStore.getState().edgeServer.loading &&",
+   "> 274 |       status.totalModulesCount > 0",
+   "      |              ^",
+   "  275 |     ) {",
+   "  276 |       buildStore.setState({",
+   "  277 |         client: status,",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:292:14",
+   "Type error: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.",
+   "  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.",
+   "  290 |       !buildStore.getState().client.loading &&",
+   "  291 |       !buildStore.getState().edgeServer.loading &&",
+   "> 292 |       status.totalModulesCount > 0",
+   "      |              ^",
+   "  293 |     ) {",
+   "  294 |       buildStore.setState({",
+   "  295 |         server: status,",
+   "[Test Mode] ../../../../packages/next/src/build/output/index.ts:310:14",
+   "Type error: Property 'totalModulesCount' does not exist on type 'WebpackStatus'.",
+   "  Property 'totalModulesCount' does not exist on type '{ loading: true; }'.",
+   "  308 |       !buildStore.getState().client.loading &&",
+   "  309 |       !buildStore.getState().server.loading &&",
+   "> 310 |       status.totalModulesCount > 0",
+   "      |              ^",
+   "  311 |     ) {",
+   "  312 |       buildStore.setState({",
+   "  313 |         edgeServer: status,",
+   "[Test Mode] ../../../../packages/next/src/build/output/store.ts:51:12",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  49 |     (",
+   "  50 |       [",
+   "> 51 |         ...new Set([...Object.keys(lastStore), ...Object.keys(nextStore)]),",
+   "     |            ^",
+   "  52 |       ] as Array<keyof OutputState>",
+   "  53 |     ).every((key) => Object.is(lastStore[key], nextStore[key]))",
+   "  54 |   ) {",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:116:14",
+   "Type error: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  114 |",
+   "  115 | export function unique<T>(main: ReadonlyArray<T>, sub: ReadonlyArray<T>): T[] {",
+   "> 116 |   return [...new Set([...main, ...sub])]",
+   "      |              ^",
+   "  117 | }",
+   "  118 |",
+   "  119 | export function difference<T>(",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:125:14",
+   "Type error: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  123 |   const a = new Set(main)",
+   "  124 |   const b = new Set(sub)",
+   "> 125 |   return [...a].filter((x) => !b.has(x))",
+   "      |              ^",
+   "  126 | }",
+   "  127 |",
+   "  128 | /**",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:134:14",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  132 |   const a = new Set(main)",
+   "  133 |   const b = new Set(sub)",
+   "> 134 |   return [...new Set([...a].filter((x) => b.has(x)))]",
+   "      |              ^",
+   "  135 | }",
+   "  136 |",
+   "  137 | function sum(a: ReadonlyArray<number>): number {",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:134:26",
+   "Type error: Type 'Set<T>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  132 |   const a = new Set(main)",
+   "  133 |   const b = new Set(sub)",
+   "> 134 |   return [...new Set([...a].filter((x) => b.has(x)))]",
+   "      |                          ^",
+   "  135 | }",
+   "  136 |",
+   "  137 | function sum(a: ReadonlyArray<number>): number {",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:248:10",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  246 |   await Promise.all(",
+   "  247 |     [",
+   "> 248 |       ...new Set<string>([",
+   "      |          ^",
+   "  249 |         ...files.pages.each.keys(),",
+   "  250 |         ...(files.app?.each.keys() ?? []),",
+   "  251 |       ]),",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:249:12",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  247 |     [",
+   "  248 |       ...new Set<string>([",
+   "> 249 |         ...files.pages.each.keys(),",
+   "      |            ^",
+   "  250 |         ...(files.app?.each.keys() ?? []),",
+   "  251 |       ]),",
+   "  252 |     ].map(async (f) => {",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:250:12",
+   "Type error: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  248 |       ...new Set<string>([",
+   "  249 |         ...files.pages.each.keys(),",
+   "> 250 |         ...(files.app?.each.keys() ?? []),",
+   "      |            ^",
+   "  251 |       ]),",
+   "  252 |     ].map(async (f) => {",
+   "  253 |       try {",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:264:25",
+   "Type error: Type 'IterableIterator<[string, number]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  262 |     expected: number",
+   "  263 |   }): Promise<ComputeFilesManifest> => {",
+   "> 264 |     const entries = [...listing.each.entries()]",
+   "      |                         ^",
+   "  265 |",
+   "  266 |     const shapeGroup = (group: [string, number][]): ComputeFilesGroup =>",
+   "  267 |       group.reduce(",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:376:31",
+   "Type error: Type 'IterableIterator<[string, PageInfo]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  374 | ): RoutesUsingEdgeRuntime {",
+   "  375 |   const routesUsingEdgeRuntime: RoutesUsingEdgeRuntime = {}",
+   "> 376 |   for (const [route, info] of input.entries()) {",
+   "      |                               ^",
+   "  377 |     if (isEdgeRuntime(info.runtime)) {",
+   "  378 |       routesUsingEdgeRuntime[route] = 0",
+   "  379 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:1170:16",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1168 |",
+   "  1169 |   return {",
+   "> 1170 |     paths: [...prerenderPaths],",
+   "       |                ^",
+   "  1171 |     fallback: staticPathsResult.fallback,",
+   "  1172 |     encodedPaths: [...encodedPrerenderPaths],",
+   "  1173 |   }",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:1172:23",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1170 |     paths: [...prerenderPaths],",
+   "  1171 |     fallback: staticPathsResult.fallback,",
+   "> 1172 |     encodedPaths: [...encodedPrerenderPaths],",
+   "       |                       ^",
+   "  1173 |   }",
+   "  1174 | }",
+   "  1175 |",
+   "[Test Mode] ../../../../packages/next/src/build/utils.ts:1885:31",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1883 |   >()",
+   "  1884 |",
+   "> 1885 |   const dynamicSsgPages = [...ssgPages].filter((page) => isDynamicRoute(page))",
+   "       |                               ^",
+   "  1886 |   const additionalSsgPathsByPath: {",
+   "  1887 |     [page: string]: { [path: string]: string }",
+   "  1888 |   } = {}",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-build/impl.ts:47:19",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  45 |",
+   "  46 | type CompilerResult = {",
+   "> 47 |   errors: webpack.StatsError[]",
+   "     |                   ^",
+   "  48 |   warnings: webpack.StatsError[]",
+   "  49 |   stats: (webpack.Stats | undefined)[]",
+   "  50 | }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-build/impl.ts:48:21",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  46 | type CompilerResult = {",
+   "  47 |   errors: webpack.StatsError[]",
+   "> 48 |   warnings: webpack.StatsError[]",
+   "     |                     ^",
+   "  49 |   stats: (webpack.Stats | undefined)[]",
+   "  50 | }",
+   "  51 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-build/impl.ts:53:19",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  51 |",
+   "  52 | type SingleCompilerResult = {",
+   "> 53 |   errors: webpack.StatsError[]",
+   "     |                   ^",
+   "  54 |   warnings: webpack.StatsError[]",
+   "  55 |   stats: webpack.Stats | undefined",
+   "  56 | }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-build/impl.ts:54:21",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'StatsError'.",
+   "  52 | type SingleCompilerResult = {",
+   "  53 |   errors: webpack.StatsError[]",
+   "> 54 |   warnings: webpack.StatsError[]",
+   "     |                     ^",
+   "  55 |   stats: webpack.Stats | undefined",
+   "  56 | }",
+   "  57 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-build/impl.ts:237:15",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  235 |             import: [",
+   "  236 |               // TODO-APP: cast clientEntry[CLIENT_STATIC_FILES_RUNTIME_MAIN_APP] to type EntryDescription once it's available from webpack",
+   "> 237 |               // @ts-expect-error clientEntry['main-app'] is type EntryDescription { import: ... }",
+   "      |               ^",
+   "  238 |               ...clientEntry[CLIENT_STATIC_FILES_RUNTIME_MAIN_APP].import,",
+   "  239 |               value,",
+   "  240 |             ],",
+   "[Test Mode] ../../../../packages/next/src/build/webpack-config.ts:2337:38",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'RuleSetCondition'.",
+   "  2335 |   }",
+   "  2336 |",
+   "> 2337 |   function canMatchCss(rule: webpack.RuleSetCondition | undefined): boolean {",
+   "       |                                      ^",
+   "  2338 |     if (!rule) {",
+   "  2339 |       return false",
+   "  2340 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/config/blocks/css/index.ts:48:35",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'RuleSetRule'.",
+   "  46 |  * Mark a rule as removable if built-in CSS support is disabled",
+   "  47 |  */",
+   "> 48 | function markRemovable(r: webpack.RuleSetRule): webpack.RuleSetRule {",
+   "     |                                   ^",
+   "  49 |   Object.defineProperty(r, Symbol.for('__next_css_remove'), {",
+   "  50 |     enumerable: false,",
+   "  51 |     value: true,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/config/blocks/css/index.ts:48:57",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'RuleSetRule'.",
+   "  46 |  * Mark a rule as removable if built-in CSS support is disabled",
+   "  47 |  */",
+   "> 48 | function markRemovable(r: webpack.RuleSetRule): webpack.RuleSetRule {",
+   "     |                                                         ^",
+   "  49 |   Object.defineProperty(r, Symbol.for('__next_css_remove'), {",
+   "  50 |     enumerable: false,",
+   "  51 |     value: true,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/config/helpers.ts:5:17",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'RuleSetRule'.",
+   "  3 |",
+   "  4 | export const loader = curry(function loader(",
+   "> 5 |   rule: webpack.RuleSetRule,",
+   "    |                 ^",
+   "  6 |   config: webpack.Configuration",
+   "  7 | ) {",
+   "  8 |   if (!config.module) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/config/helpers.ts:28:17",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'RuleSetRule'.",
+   "  26 |",
+   "  27 | export const unshiftLoader = curry(function unshiftLoader(",
+   "> 28 |   rule: webpack.RuleSetRule,",
+   "     |                 ^",
+   "  29 |   config: webpack.Configuration",
+   "  30 | ) {",
+   "  31 |   if (!config.module) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/loaders/next-app-loader.ts:185:28",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\"' has no exported member 'LoaderContext'.",
+   "  183 |       pathname: string",
+   "  184 |     ) => [key: string, segment: string | string[]][]",
+   "> 185 |     loaderContext: webpack.LoaderContext<AppLoaderOptions>",
+   "      |                            ^",
+   "  186 |     pageExtensions: PageExtensions",
+   "  187 |     basePath: string",
+   "  188 |     collectedDeclarations: [string, string][]",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/loaders/next-edge-app-route-loader/index.ts:18:35",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'LoaderDefinitionFunction'.",
+   "  16 | }",
+   "  17 |",
+   "> 18 | const EdgeAppRouteLoader: webpack.LoaderDefinitionFunction<EdgeAppRouteLoaderQuery> =",
+   "     |                                   ^",
+   "  19 |   async function (this) {",
+   "  20 |     const {",
+   "  21 |       page,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/loaders/next-route-loader/index.ts:213:23",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'LoaderDefinitionFunction'.",
+   "  211 |  * @returns the loader definition function",
+   "  212 |  */",
+   "> 213 | const loader: webpack.LoaderDefinitionFunction<RouteLoaderOptions> =",
+   "      |                       ^",
+   "  214 |   async function () {",
+   "  215 |     if (!this._module) {",
+   "  216 |       throw new Error('Invariant: expected this to reference a module')",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/app-build-manifest-plugin.ts:79:38",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  77 |",
+   "  78 |       const filesForPage = getEntrypointFiles(entrypoint)",
+   "> 79 |       manifest.pages[pagePath] = [...new Set([...mainFiles, ...filesForPage])]",
+   "     |                                      ^",
+   "  80 |     }",
+   "  81 |",
+   "  82 |     const json = JSON.stringify(manifest, null, 2)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/app-build-manifest-plugin.ts:79:50",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  77 |",
+   "  78 |       const filesForPage = getEntrypointFiles(entrypoint)",
+   "> 79 |       manifest.pages[pagePath] = [...new Set([...mainFiles, ...filesForPage])]",
+   "     |                                                  ^",
+   "  80 |     }",
+   "  81 |",
+   "  82 |     const json = JSON.stringify(manifest, null, 2)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts:214:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  212 |       if (this.appDirEnabled) {",
+   "  213 |         assetMap.rootMainFiles = [",
+   "> 214 |           ...new Set(",
+   "      |              ^",
+   "  215 |             getEntrypointFiles(",
+   "  216 |               entrypoints.get(CLIENT_STATIC_FILES_RUNTIME_MAIN_APP)",
+   "  217 |             )",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts:259:40",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  257 |         const filesForPage = getEntrypointFiles(entrypoint)",
+   "  258 |",
+   "> 259 |         assetMap.pages[pagePath] = [...new Set([...mainFiles, ...filesForPage])]",
+   "      |                                        ^",
+   "  260 |       }",
+   "  261 |",
+   "  262 |       if (!this.isDevFallback) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/build-manifest-plugin.ts:259:52",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  257 |         const filesForPage = getEntrypointFiles(entrypoint)",
+   "  258 |",
+   "> 259 |         assetMap.pages[pagePath] = [...new Set([...mainFiles, ...filesForPage])]",
+   "      |                                                    ^",
+   "  260 |       }",
+   "  261 |",
+   "  262 |       if (!this.isDevFallback) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:49:31",
+   "Type error: Type 'Set<Chunk>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  47 |",
+   "  48 |           // Collect all css modules in chunks and the execpted order of them",
+   "> 49 |           for (const chunk of compilation.chunks) {",
+   "     |                               ^",
+   "  50 |             if (chunk.name?.startsWith('pages/')) continue",
+   "  51 |             const modules = []",
+   "  52 |             for (const module of chunkGraph.getChunkModulesIterable(chunk)) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:52:34",
+   "Type error: Type 'Iterable<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  50 |             if (chunk.name?.startsWith('pages/')) continue",
+   "  51 |             const modules = []",
+   "> 52 |             for (const module of chunkGraph.getChunkModulesIterable(chunk)) {",
+   "     |                                  ^",
+   "  53 |               if (!module.type?.startsWith('css')) continue",
+   "  54 |               modules.push(module)",
+   "  55 |             }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:79:53",
+   "Type error: Type 'Map<Module, Map<ChunkState, number>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  77 |           const orderedModules: { module: Module; sum: number }[] = []",
+   "  78 |",
+   "> 79 |           for (const [module, moduleChunkStates] of chunkStatesByModule) {",
+   "     |                                                     ^",
+   "  80 |             let sum = 0",
+   "  81 |             for (const i of moduleChunkStates.values()) {",
+   "  82 |               sum += i",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:100:29",
+   "Type error: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "   98 |",
+   "   99 |           if (!this.strict) {",
+   "> 100 |             for (const b of remainingModules) {",
+   "      |                             ^",
+   "  101 |               const dependent = new Set<Module>()",
+   "  102 |               loop: for (const a of remainingModules) {",
+   "  103 |                 if (a === b) continue",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:102:37",
+   "Type error: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  100 |             for (const b of remainingModules) {",
+   "  101 |               const dependent = new Set<Module>()",
+   "> 102 |               loop: for (const a of remainingModules) {",
+   "      |                                     ^",
+   "  103 |                 if (a === b) continue",
+   "  104 |                 // check if a depends on b",
+   "  105 |                 for (const [chunkState, ia] of chunkStatesByModule.get(a)!) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:105:48",
+   "Type error: Type 'Map<ChunkState, number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  103 |                 if (a === b) continue",
+   "  104 |                 // check if a depends on b",
+   "> 105 |                 for (const [chunkState, ia] of chunkStatesByModule.get(a)!) {",
+   "      |                                                ^",
+   "  106 |                   const bChunkStates = chunkStatesByModule.get(b)!",
+   "  107 |                   const ib = bChunkStates.get(chunkState)",
+   "  108 |                   if (ib === undefined) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:127:37",
+   "Type error: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  125 |",
+   "  126 |           // Process through all modules",
+   "> 127 |           for (const startModule of remainingModules) {",
+   "      |                                     ^",
+   "  128 |             // The current position of processing in all selected chunks",
+   "  129 |             let allChunkStates = new Map(chunkStatesByModule.get(startModule)!)",
+   "  130 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:144:43",
+   "Type error: Type 'Map<ChunkState, number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  142 |               [number, Map<ChunkState, number>]",
+   "  143 |             >()",
+   "> 144 |             for (const [chunkState, i] of allChunkStates) {",
+   "      |                                           ^",
+   "  145 |               const nextModule = chunkState.modules[i + 1]",
+   "  146 |               if (nextModule && remainingModules.has(nextModule)) {",
+   "  147 |                 potentialNextModules.set(nextModule, [",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:164:20",
+   "Type error: Type 'Map<Module, [number, Map<ChunkState, number>]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  162 |                 nextModule,",
+   "  163 |                 [size, nextChunkStates],",
+   "> 164 |               ] of potentialNextModules) {",
+   "      |                    ^",
+   "  165 |                 let maxRequests = 0",
+   "  166 |                 for (const chunkState of nextChunkStates.keys()) {",
+   "  167 |                   // There is always some overlap",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:200:39",
+   "Type error: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  198 |                   const dependent = allDependents.get(nextModule)",
+   "  199 |                   if (dependent) {",
+   "> 200 |                     for (const dep of dependent) {",
+   "      |                                       ^",
+   "  201 |                       if (newChunkModules.has(dep)) {",
+   "  202 |                         // A dependent of the module is already in the chunk, which would violate the order",
+   "  203 |                         continue loop",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:256:34",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  254 |             newChunk.preventIntegration = true",
+   "  255 |             newChunk.idNameHints.add('css')",
+   "> 256 |             for (const module of newChunkModules) {",
+   "      |                                  ^",
+   "  257 |               remainingModules.delete(module)",
+   "  258 |               chunkGraph.connectChunkAndModule(newChunk, module)",
+   "  259 |               newChunksByModule.set(module, newChunk)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:264:44",
+   "Type error: Type 'IterableIterator<ChunkState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  262 |           }",
+   "  263 |",
+   "> 264 |           for (const { chunk, modules } of chunkStates.values()) {",
+   "      |                                            ^",
+   "  265 |             const chunks = new Set()",
+   "  266 |             for (const module of modules) {",
+   "  267 |               const newChunk = newChunksByModule.get(module)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/css-chunking-plugin.ts:279:44",
+   "Type error: Type 'IterableIterator<ChunkState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  277 |           if (summary) {",
+   "  278 |             console.log('Top 20 chunks by request count:')",
+   "> 279 |             const orderedChunkStates = [...chunkStates.values()]",
+   "      |                                            ^",
+   "  280 |             orderedChunkStates.sort((a, b) => b.requests - a.requests)",
+   "  281 |             for (const { chunk, modules, requests } of orderedChunkStates.slice(",
+   "  282 |               0,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:408:14",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  406 |         }",
+   "  407 |         actionMapsPerEntry[name] = new Map([",
+   "> 408 |           ...actionMapsPerEntry[name],",
+   "      |              ^",
+   "  409 |           ...actionEntryImports,",
+   "  410 |         ])",
+   "  411 |       }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:409:14",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  407 |         actionMapsPerEntry[name] = new Map([",
+   "  408 |           ...actionMapsPerEntry[name],",
+   "> 409 |           ...actionEntryImports,",
+   "      |              ^",
+   "  410 |         ])",
+   "  411 |       }",
+   "  412 |     })",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:417:40",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  415 |       actionMapsPerEntry",
+   "  416 |     )) {",
+   "> 417 |       for (const [dep, actionNames] of actionEntryImports) {",
+   "      |                                        ^",
+   "  418 |         for (const actionName of actionNames) {",
+   "  419 |           createdActions.add(name + '@' + dep + '@' + actionName)",
+   "  420 |         }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:477:14",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  475 |         }",
+   "  476 |         actionMapsPerClientEntry[name] = new Map([",
+   "> 477 |           ...actionMapsPerClientEntry[name],",
+   "      |              ^",
+   "  478 |           ...actionEntryImports,",
+   "  479 |         ])",
+   "  480 |       }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:478:14",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  476 |         actionMapsPerClientEntry[name] = new Map([",
+   "  477 |           ...actionMapsPerClientEntry[name],",
+   "> 478 |           ...actionEntryImports,",
+   "      |              ^",
+   "  479 |         ])",
+   "  480 |       }",
+   "  481 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:492:40",
+   "Type error: Type 'Map<string, string[]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  490 |       let remainingClientImportedActions = false",
+   "  491 |       const remainingActionEntryImports = new Map<string, string[]>()",
+   "> 492 |       for (const [dep, actionNames] of actionEntryImports) {",
+   "      |                                        ^",
+   "  493 |         const remainingActionNames = []",
+   "  494 |         for (const actionName of actionNames) {",
+   "  495 |           const id = name + '@' + dep + '@' + actionName",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:776:20",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  774 |         .map((clientImportPath) => ({",
+   "  775 |           request: clientImportPath,",
+   "> 776 |           ids: [...clientImports[clientImportPath]],",
+   "      |                    ^",
+   "  777 |         })),",
+   "  778 |       server: false,",
+   "  779 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:934:25",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'Dependency'.",
+   "  932 |     compilation: any,",
+   "  933 |     context: string,",
+   "> 934 |     dependency: webpack.Dependency,",
+   "      |                         ^",
+   "  935 |     options: webpack.EntryOptions",
+   "  936 |   ): Promise<any> /* Promise<module> */ {",
+   "  937 |     return new Promise((resolve, reject) => {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:935:22",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'EntryOptions'.",
+   "  933 |     context: string,",
+   "  934 |     dependency: webpack.Dependency,",
+   "> 935 |     options: webpack.EntryOptions",
+   "      |                      ^",
+   "  936 |   ): Promise<any> /* Promise<module> */ {",
+   "  937 |     return new Promise((resolve, reject) => {",
+   "  938 |       const entry = compilation.entries.get(options.name)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts:1062:31",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1060 |     // or there's nothing in collected imports are empty.",
+   "  1061 |     // we should include the whole module.",
+   "> 1062 |     if (!isFirstImport && [...clientImportsSet][0] !== '*') {",
+   "       |                               ^",
+   "  1063 |       clientComponentImports[modRequest] = new Set(['*'])",
+   "  1064 |     }",
+   "  1065 |   } else {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts:284:15",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  282 |         let resource =",
+   "  283 |           mod.type === 'css/mini-extract'",
+   "> 284 |             ? // @ts-expect-error TODO: use `identifier()` instead.",
+   "      |               ^",
+   "  285 |               mod._identifier.slice(mod._identifier.lastIndexOf('!') + 1)",
+   "  286 |             : mod.resource",
+   "  287 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts:388:16",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.",
+   "  386 |       const checkedChunks = new Set()",
+   "  387 |",
+   "> 388 |       function recordChunkGroup(chunkGroup: ChunkGroup) {",
+   "      |                ^",
+   "  389 |         // Ensure recursion is stopped if we've already checked this chunk group.",
+   "  390 |         if (checkedChunkGroups.has(chunkGroup)) return",
+   "  391 |         checkedChunkGroups.add(chunkGroup)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts:449:29",
+   "Type error: Type 'SortableSet<ChunkGroup>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  447 |",
+   "  448 |         // Walk through all children chunk groups too.",
+   "> 449 |         for (const child of chunkGroup.childrenIterable) {",
+   "      |                             ^",
+   "  450 |           recordChunkGroup(child)",
+   "  451 |         }",
+   "  452 |       }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/font-stylesheet-gathering-plugin.ts:232:11",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  230 |           }",
+   "  231 |",
+   "> 232 |           // @ts-expect-error invalid assets type",
+   "      |           ^",
+   "  233 |           compilation.assets[AUTOMATIC_FONT_OPTIMIZATION_MANIFEST] =",
+   "  234 |             new sources.RawSource(",
+   "  235 |               JSON.stringify(this.manifestContent, null, '  ')",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/memory-with-gc-cache-plugin.ts:36:15",
+   "Type error: Module '\"next/dist/compiled/webpack/webpack\"' has no exported member 'Compiler'.",
+   "  34 |",
+   "  35 | import type { webpack } from 'next/dist/compiled/webpack/webpack'",
+   "> 36 | import type { Compiler } from 'next/dist/compiled/webpack/webpack'",
+   "     |               ^",
+   "  37 |",
+   "  38 | // Webpack doesn't expose Etag as a type so get it this way instead.",
+   "  39 | type Etag = Parameters<typeof webpack.Cache.prototype.get>[1]",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/memory-with-gc-cache-plugin.ts:85:41",
+   "Type error: Type 'Map<string, CacheEntry>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  83 |      */",
+   "  84 |     function decreaseTTLAndEvict() {",
+   "> 85 |       for (const [identifier, entry] of cache) {",
+   "     |                                         ^",
+   "  86 |         // Decrease item time to live",
+   "  87 |         entry.ttl--",
+   "  88 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:77:24",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'ModuleGraph'.",
+   "  75 | function isUsingIndirectEvalAndUsedByExports(args: {",
+   "  76 |   module: webpack.Module",
+   "> 77 |   moduleGraph: webpack.ModuleGraph",
+   "     |                        ^",
+   "  78 |   runtime: any",
+   "  79 |   usingIndirectEval: true | Set<string>",
+   "  80 |   wp: typeof webpack",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:88:28",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  86 |",
+   "  87 |   const exportsInfo = moduleGraph.getExportsInfo(module)",
+   "> 88 |   for (const exportName of usingIndirectEval) {",
+   "     |                            ^",
+   "  89 |     if (exportsInfo.getUsed(exportName, runtime) !== wp.UsageState.Unused) {",
+   "  90 |       return true",
+   "  91 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:262:20",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'javascript'.",
+   "  260 |   compilation: webpack.Compilation",
+   "  261 |   entryModule?: webpack.Module",
+   "> 262 |   parser?: webpack.javascript.JavascriptParser",
+   "      |                    ^",
+   "  263 | }) {",
+   "  264 |   const error = new compilation.compiler.webpack.WebpackError(message)",
+   "  265 |   error.name = NAME",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:274:46",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'javascript'.",
+   "  272 | }",
+   "  273 |",
+   "> 274 | function isInMiddlewareLayer(parser: webpack.javascript.JavascriptParser) {",
+   "      |                                              ^",
+   "  275 |   return parser.state.module?.layer === 'middleware'",
+   "  276 | }",
+   "  277 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:310:19",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'javascript'.",
+   "  308 |   loc: any",
+   "  309 |   compilation: webpack.Compilation",
+   "> 310 |   parser: webpack.javascript.JavascriptParser",
+   "      |                   ^",
+   "  311 | }) {",
+   "  312 |   return buildWebpackError({",
+   "  313 |     message: `A Node.js API is used (${apiName} at line: ${loc.start.line}) which is not supported in the Edge Runtime.",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:321:19",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'javascript'.",
+   "  319 |",
+   "  320 | function registerUnsupportedApiHooks(",
+   "> 321 |   parser: webpack.javascript.JavascriptParser,",
+   "      |                   ^",
+   "  322 |   compilation: webpack.Compilation",
+   "  323 | ) {",
+   "  324 |   for (const expression of EDGE_UNSUPPORTED_NODE_APIS) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:377:27",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'javascript'.",
+   "  375 |   compilation: webpack.Compilation",
+   "  376 | }) {",
+   "> 377 |   return (parser: webpack.javascript.JavascriptParser) => {",
+   "      |                           ^",
+   "  378 |     const {",
+   "  379 |       dev,",
+   "  380 |       compiler: { webpack: wp },",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:407:9",
+   "Type error: Type 'Set<unknown>' is not assignable to type 'boolean | Set<string>'.",
+   "  Type 'Set<unknown>' is not assignable to type 'Set<string>'.",
+   "    Type 'unknown' is not assignable to type 'string'.",
+   "  405 |         }",
+   "  406 |",
+   "> 407 |         buildInfo.usingIndirectEval = new Set([",
+   "      |         ^",
+   "  408 |           ...Array.from(buildInfo.usingIndirectEval),",
+   "  409 |           ...Array.from(used),",
+   "  410 |         ])",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/middleware-plugin.ts:612:28",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  610 |       let ogImageGenerationCount = 0",
+   "  611 |",
+   "> 612 |       for (const module of modules) {",
+   "      |                            ^",
+   "  613 |         const buildInfo = getModuleBuildInfo(module)",
+   "  614 |",
+   "  615 |         /**",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-drop-client-page-plugin.ts:20:32",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  18 |         function findEntryModule(mod: any): webpack.Module | null {",
+   "  19 |           const queue = new Set([mod])",
+   "> 20 |           for (const module of queue) {",
+   "     |                                ^",
+   "  21 |             const incomingConnections =",
+   "  22 |               compilation.moduleGraph.getIncomingConnections(module)",
+   "  23 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:67:26",
+   "Type error: Type 'undefined[] | Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  65 |     seen = new Set<string>()",
+   "  66 |   ) {",
+   "> 67 |     for (const parent of parents || []) {",
+   "     |                          ^",
+   "  68 |       if (!seen.has(parent)) {",
+   "  69 |         seen.add(parent)",
+   "  70 |         let parentFiles = parentFilesMap.get(parent)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:88:22",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  86 |   }",
+   "  87 |",
+   "> 88 |   for (const file of fileList!) {",
+   "     |                      ^",
+   "  89 |     const reason = reasons!.get(file)",
+   "  90 |     const isInitial =",
+   "  91 |       reason?.type.length === 1 && reason.type.includes('initial')",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:234:58",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  232 |         }",
+   "  233 |         entryFilesMap.set(entrypoint, entryFiles)",
+   "> 234 |         entryNameFilesMap.set(entrypoint.name || '', [...entryFiles])",
+   "      |                                                          ^",
+   "  235 |       }",
+   "  236 |",
+   "  237 |       // startTrace existed and callable",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:241:22",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  239 |         action: {",
+   "  240 |           action: 'annotate',",
+   "> 241 |           input: [...chunksToTrace],",
+   "      |                      ^",
+   "  242 |           contextDirectory:",
+   "  243 |             this.turbotrace?.contextDirectory ?? this.tracingRoot,",
+   "  244 |           processCwd: this.turbotrace?.processCwd ?? this.rootDir,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:260:46",
+   "Type error: Type 'Map<any, Set<string>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  258 |       const outputPrefix = this.compilerType === 'server' ? '../' : ''",
+   "  259 |",
+   "> 260 |       for (const [entrypoint, entryFiles] of entryFilesMap) {",
+   "      |                                              ^",
+   "  261 |         const traceOutputName = `${outputPrefix}${entrypoint.name}.js.nft.json`",
+   "  262 |         const traceOutputPath = nodePath.dirname(",
+   "  263 |           nodePath.join(outputPath, traceOutputName)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:306:16",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  304 |         await Promise.all(",
+   "  305 |           [",
+   "> 306 |             ...new Set([",
+   "      |                ^",
+   "  307 |               ...entryFiles,",
+   "  308 |               ...(this.entryTraces.get(entrypoint.name)?.keys() || []),",
+   "  309 |             ]),",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:308:18",
+   "Type error: Type 'undefined[] | IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  306 |             ...new Set([",
+   "  307 |               ...entryFiles,",
+   "> 308 |               ...(this.entryTraces.get(entrypoint.name)?.keys() || []),",
+   "      |                  ^",
+   "  309 |             ]),",
+   "  310 |           ].map(async (file) => {",
+   "  311 |             const fileInfo = this.entryTraces.get(entrypoint.name)?.get(file)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:524:40",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  522 |",
+   "  523 |               if (curExtraEntries) {",
+   "> 524 |                 entriesToTrace.push(...curExtraEntries.keys())",
+   "      |                                        ^",
+   "  525 |               }",
+   "  526 |             }",
+   "  527 |",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:642:45",
+   "Type error: Type 'undefined[] | IterableIterator<[string, { ignored: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  640 |                   })",
+   "  641 |",
+   "> 642 |                   for (const [dep, info] of parentFilesMap",
+   "      |                                             ^",
+   "  643 |                     .get(normalizedEntry)",
+   "  644 |                     ?.entries() || []) {",
+   "  645 |                     finalDeps.set(nodePath.join(this.tracingRoot, dep), {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:651:46",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  649 |",
+   "  650 |                   if (curExtraEntries) {",
+   "> 651 |                     for (const extraEntry of curExtraEntries.keys()) {",
+   "      |                                              ^",
+   "  652 |                       const normalizedExtraEntry = nodePath.relative(",
+   "  653 |                         this.tracingRoot,",
+   "  654 |                         extraEntry",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:658:49",
+   "Type error: Type 'undefined[] | IterableIterator<[string, { ignored: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  656 |                       finalDeps.set(extraEntry, { bundled: false })",
+   "  657 |",
+   "> 658 |                       for (const [dep, info] of parentFilesMap",
+   "      |                                                 ^",
+   "  659 |                         .get(normalizedExtraEntry)",
+   "  660 |                         ?.entries() || []) {",
+   "  661 |                         finalDeps.set(nodePath.join(this.tracingRoot, dep), {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts:832:44",
+   "Type error: Property 'dependencyType' does not exist on type 'unknown'.",
+   "  830 |                     // we don't block emitting the initial asset from this",
+   "  831 |                   }",
+   "> 832 |                   resolve([result, options.dependencyType === 'esm'])",
+   "      |                                            ^",
+   "  833 |                 }",
+   "  834 |               )",
+   "  835 |             })",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts:298:16",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  296 |       let slugCnt = 1",
+   "  297 |",
+   "> 298 |       function append(suffix: string) {",
+   "      |                ^",
+   "  299 |         for (let i = 0; i < possibleNormalizedRoutes.length; i++) {",
+   "  300 |           possibleNormalizedRoutes[i] += suffix",
+   "  301 |         }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts:304:16",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  302 |       }",
+   "  303 |",
+   "> 304 |       function fork(suffix: string) {",
+   "      |                ^",
+   "  305 |         const currentLength = possibleNormalizedRoutes.length",
+   "  306 |         for (let i = 0; i < currentLength; i++) {",
+   "  307 |           possibleNormalizedRoutes.push(possibleNormalizedRoutes[i] + suffix)",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/next-types-plugin/index.ts:702:33",
+   "Type error: Type 'Iterable<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  700 |                   chunk",
+   "  701 |                 ) as Iterable<webpack.NormalModule>",
+   "> 702 |               for (const mod of chunkModules) {",
+   "      |                                 ^",
+   "  703 |                 promises.push(handleModule(mod, assets))",
+   "  704 |",
+   "  705 |                 // If this is a concatenation, register each child to the parent ID.",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/profiling-plugin.ts:1:10",
+   "Type error: Module '\"next/dist/compiled/webpack/webpack\"' has no exported member 'NormalModule'.",
+   "> 1 | import { NormalModule } from 'next/dist/compiled/webpack/webpack'",
+   "    |          ^",
+   "  2 | import type { Span } from '../../../trace'",
+   "  3 | import type { webpack } from 'next/dist/compiled/webpack/webpack'",
+   "  4 | import path from 'path'",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/subresource-integrity-plugin.ts:28:30",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  26 |           // For each file, deduped, calculate the file hash.",
+   "  27 |           const hashes: Record<string, string> = {}",
+   "> 28 |           for (const file of files.values()) {",
+   "     |                              ^",
+   "  29 |             // Get the buffer for the asset.",
+   "  30 |             const asset = assets[file]",
+   "  31 |             if (!asset) {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:2:10",
+   "Type error: Module '\"next/dist/compiled/webpack/webpack\"' has no exported member 'NormalModule'.",
+   "  1 | import type { webpack } from 'next/dist/compiled/webpack/webpack'",
+   "> 2 | import { NormalModule } from 'next/dist/compiled/webpack/webpack'",
+   "    |          ^",
+   "  3 |",
+   "  4 | /**",
+   "  5 |  * List of target triples next-swc native binary supports.",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:122:33",
+   "Type error: Type 'ReadonlyMap<Feature, string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  120 |   }",
+   "  121 |   const normalizedIdentifier = module.identifier().replace(/\\\\/g, '/')",
+   "> 122 |   for (const [feature, path] of FEATURE_MODULE_MAP) {",
+   "      |                                 ^",
+   "  123 |     if (normalizedIdentifier.endsWith(path)) {",
+   "  124 |       return feature",
+   "  125 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:127:35",
+   "Type error: Type 'ReadonlyMap<Feature, RegExp>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  125 |     }",
+   "  126 |   }",
+   "> 127 |   for (const [feature, regexp] of FEATURE_MODULE_REGEXP_MAP) {",
+   "      |                                   ^",
+   "  128 |     if (regexp.test(normalizedIdentifier)) {",
+   "  129 |       return feature",
+   "  130 |     }",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:175:31",
+   "Type error: Type 'IterableIterator<Feature>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  173 |     }",
+   "  174 |",
+   "> 175 |     for (const featureName of FEATURE_MODULE_MAP.keys()) {",
+   "      |                               ^",
+   "  176 |       this.usageTracker.set(featureName, {",
+   "  177 |         featureName,",
+   "  178 |         invocationCount: 0,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:182:31",
+   "Type error: Type 'IterableIterator<Feature>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  180 |     }",
+   "  181 |",
+   "> 182 |     for (const featureName of FEATURE_MODULE_REGEXP_MAP.keys()) {",
+   "      |                               ^",
+   "  183 |       this.usageTracker.set(featureName, {",
+   "  184 |         featureName,",
+   "  185 |         invocationCount: 0,",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:197:34",
+   "Type error: Type 'Iterable<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  195 |           TelemetryPlugin.name,",
+   "  196 |           async (modules: Iterable<Module>, modulesFinish: () => void) => {",
+   "> 197 |             for (const module of modules) {",
+   "      |                                  ^",
+   "  198 |               const feature = findFeatureInModule(module)",
+   "  199 |               if (!feature) {",
+   "  200 |                 continue",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/plugins/telemetry-plugin.ts:229:16",
+   "Type error: Type 'IterableIterator<FeatureUsage>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  227 |",
+   "  228 |   usages(): FeatureUsage[] {",
+   "> 229 |     return [...this.usageTracker.values()]",
+   "      |                ^",
+   "  230 |   }",
+   "  231 |",
+   "  232 |   packagesUsedInServerSideProps(): string[] {",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/utils.ts:31:25",
+   "Type error: Type 'Iterable<NormalModule>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  29 |         // TODO: Update type so that it doesn't have to be cast.",
+   "  30 |       ) as Iterable<NormalModule>",
+   "> 31 |       for (const mod of chunkModules) {",
+   "     |                         ^",
+   "  32 |         const modId = compilation.chunkGraph.getModuleId(mod)?.toString()",
+   "  33 |         callback(mod, chunk, chunkGroup, modId)",
+   "  34 |         const anyModule = mod as any",
+   "[Test Mode] ../../../../packages/next/src/build/webpack/utils.ts:100:28",
+   "Type error: Type 'Iterable<ModuleGraphConnection>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "   98 | ): ModuleGraphConnection[] {",
+   "   99 |   const connections = []",
+   "> 100 |   for (const connection of moduleGraph.getOutgoingConnections(module)) {",
+   "      |                            ^",
+   "  101 |     if (connection.dependency && connection.module) {",
+   "  102 |       connections.push({",
+   "  103 |         connection,",
+   "[Test Mode] ../../../../packages/next/src/cli/next-test.ts:50:5",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  48 |   } catch (err) {",
+   "  49 |     // if that failed, then `directory` is not a valid path, so it must have meant to be the first item for `testRunnerArgs`",
+   "> 50 |     // @ts-expect-error directory is a string here since `getProjectDir` will succeed if its undefined",
+   "     |     ^",
+   "  51 |     testRunnerArgs.unshift(directory)",
+   "  52 |     // intentionally set baseDir to the resolved '.' path",
+   "  53 |     baseDir = getProjectDir()",
+   "[Test Mode] ../../../../packages/next/src/cli/next-test.ts:62:5",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  60 |   } catch (err) {",
+   "  61 |     // if it doesn't, then most likely `baseDir` is not a Next.js project directory",
+   "> 62 |     // @ts-expect-error directory is a string here since `getProjectDir` will succeed if its undefined",
+   "     |     ^",
+   "  63 |     testRunnerArgs.unshift(directory)",
+   "  64 |     // intentionally set baseDir to the resolved '.' path",
+   "  65 |     baseDir = getProjectDir()",
+   "[Test Mode] ../../../../packages/next/src/client/components/app-router.tsx:434:16",
+   "Type error: Property 'next' does not exist on type 'Window & typeof globalThis'.",
+   "  432 |   useEffect(() => {",
+   "  433 |     // Exists for debugging purposes. Don't use in application code.",
+   "> 434 |     if (window.next) {",
+   "      |                ^",
+   "  435 |       window.next.router = appRouter",
+   "  436 |     }",
+   "  437 |   }, [appRouter])",
+   "[Test Mode] ../../../../packages/next/src/client/components/app-router.tsx:435:14",
+   "Type error: Property 'next' does not exist on type 'Window & typeof globalThis'.",
+   "  433 |     // Exists for debugging purposes. Don't use in application code.",
+   "  434 |     if (window.next) {",
+   "> 435 |       window.next.router = appRouter",
+   "      |              ^",
+   "  436 |     }",
+   "  437 |   }, [appRouter])",
+   "  438 |",
+   "[Test Mode] ../../../../packages/next/src/client/components/app-router.tsx:785:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  783 |     ? `?dpl=${process.env.NEXT_DEPLOYMENT_ID}`",
+   "  784 |     : ''",
+   "> 785 |   return [...runtimeStyles].map((href, i) => (",
+   "      |              ^",
+   "  786 |     <link",
+   "  787 |       key={i}",
+   "  788 |       rel=\"stylesheet\"",
+   "[Test Mode] ../../../../packages/next/src/client/components/navigation.ts:215:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  213 | ): string[] {",
+   "  214 |   const context = useContext(LayoutRouterContext)",
+   "> 215 |   // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts",
+   "      |   ^",
+   "  216 |   if (!context) return null",
+   "  217 |",
+   "  218 |   return getSelectedLayoutSegmentPath(context.tree, parallelRouteKey)",
+   "[Test Mode] ../../../../packages/next/src/client/components/promise-queue.ts:8:3",
+   "Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.",
+   "   6 | */",
+   "   7 | export class PromiseQueue {",
+   ">  8 |   #maxConcurrency: number",
+   "     |   ^",
+   "   9 |   #runningCount: number",
+   "  10 |   #queue: Array<{",
+   "  11 |     promiseFn: Promise<any>",
+   "[Test Mode] ../../../../packages/next/src/client/components/promise-queue.ts:9:3",
+   "Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.",
+   "   7 | export class PromiseQueue {",
+   "   8 |   #maxConcurrency: number",
+   ">  9 |   #runningCount: number",
+   "     |   ^",
+   "  10 |   #queue: Array<{",
+   "  11 |     promiseFn: Promise<any>",
+   "  12 |     task: () => void",
+   "[Test Mode] ../../../../packages/next/src/client/components/promise-queue.ts:10:3",
+   "Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.",
+   "   8 |   #maxConcurrency: number",
+   "   9 |   #runningCount: number",
+   "> 10 |   #queue: Array<{",
+   "     |   ^",
+   "  11 |     promiseFn: Promise<any>",
+   "  12 |     task: () => void",
+   "  13 |   }>",
+   "[Test Mode] ../../../../packages/next/src/client/components/promise-queue.ts:61:3",
+   "Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.",
+   "  59 |   }",
+   "  60 |",
+   "> 61 |   #processNext(forced = false) {",
+   "     |   ^",
+   "  62 |     if (",
+   "  63 |       (this.#runningCount < this.#maxConcurrency || forced) &&",
+   "  64 |       this.#queue.length > 0",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx:78:18",
+   "Type error: Property '__nextDevClientId' does not exist on type 'Window & typeof globalThis'.",
+   "  76 |     JSON.stringify({",
+   "  77 |       event: 'client-hmr-latency',",
+   "> 78 |       id: window.__nextDevClientId,",
+   "     |                  ^",
+   "  79 |       startTime: startLatency,",
+   "  80 |       endTime: endLatency,",
+   "  81 |       page: window.location.pathname,",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx:109:40",
+   "Type error: Cannot find name '__webpack_hash__'.",
+   "  107 |   // __webpack_hash__ is the hash of the current compilation.",
+   "  108 |   // It's a global variable injected by Webpack.",
+   "> 109 |   return mostRecentCompilationHash !== __webpack_hash__",
+   "      |                                        ^",
+   "  110 | }",
+   "  111 |",
+   "  112 | // Webpack disallows updates in other states.",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx:121:14",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  119 |     fn()",
+   "  120 |   } else {",
+   "> 121 |     function handler(status: any) {",
+   "      |              ^",
+   "  122 |       if (status === 'idle') {",
+   "  123 |         // @ts-expect-error module.hot exists",
+   "  124 |         module.hot.removeStatusHandler(handler)",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts:84:5",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  82 |     }",
+   "  83 |",
+   "> 84 |     // @ts-expect-error argument is defined",
+   "     |     ^",
+   "  85 |     prev.apply(console, arguments)",
+   "  86 |   }",
+   "  87 | }",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts:28:12",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  26 |",
+   "  27 | if (typeof window !== 'undefined') {",
+   "> 28 |   function handleError(error: unknown) {",
+   "     |            ^",
+   "  29 |     if (isNextRouterError(error)) {",
+   "  30 |       return false",
+   "  31 |     }",
+   "[Test Mode] ../../../../packages/next/src/client/components/react-dev-overlay/server/middleware.ts:32:14",
+   "Type error: Type 'Set<Module>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  30 |   compilation: webpack.Compilation",
+   "  31 | ) {",
+   "> 32 |   return [...compilation.modules].find(",
+   "     |              ^",
+   "  33 |     (searchModule) => getModuleId(compilation, searchModule) === id",
+   "  34 |   )",
+   "  35 | }",
+   "[Test Mode] ../../../../packages/next/src/client/components/router-reducer/ppr-navigations.ts:681:29",
+   "Type error: Type 'IterableIterator<Task>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  679 |     // task node with no children. That will be the root of the cache node tree",
+   "  680 |     // that needs to be resolved.",
+   "> 681 |     for (const taskChild of taskChildren.values()) {",
+   "      |                             ^",
+   "  682 |       abortTask(taskChild, error)",
+   "  683 |     }",
+   "  684 |   }",
+   "[Test Mode] ../../../../packages/next/src/client/components/router-reducer/prefetch-cache-utils.ts:231:44",
+   "Type error: Type 'Map<string, PrefetchCacheEntry>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  229 |   prefetchCache: ReadonlyReducerState['prefetchCache']",
+   "  230 | ) {",
+   "> 231 |   for (const [href, prefetchCacheEntry] of prefetchCache) {",
+   "      |                                            ^",
+   "  232 |     if (",
+   "  233 |       getPrefetchEntryCacheStatus(prefetchCacheEntry) ===",
+   "  234 |       PrefetchCacheEntryStatus.expired",
+   "[Test Mode] ../../../../packages/next/src/client/components/use-reducer-with-devtools.ts:17:32",
+   "Type error: Type 'IterableIterator<[any, any]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  15 |   if (val instanceof Map) {",
+   "  16 |     const obj: { [key: string]: any } = {}",
+   "> 17 |     for (const [key, value] of val.entries()) {",
+   "     |                                ^",
+   "  18 |       if (typeof value === 'function') {",
+   "  19 |         obj[key] = 'fn()'",
+   "  20 |         continue",
+   "[Test Mode] ../../../../packages/next/src/client/script.tsx:180:8",
+   "Type error: Type 'NodeListOf<Element>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  178 | function addBeforeInteractiveToCache() {",
+   "  179 |   const scripts = [",
+   "> 180 |     ...document.querySelectorAll('[data-nscript=\"beforeInteractive\"]'),",
+   "      |        ^",
+   "  181 |     ...document.querySelectorAll('[data-nscript=\"beforePageRender\"]'),",
+   "  182 |   ]",
+   "  183 |   scripts.forEach((script) => {",
+   "[Test Mode] ../../../../packages/next/src/client/script.tsx:181:8",
+   "Type error: Type 'NodeListOf<Element>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  179 |   const scripts = [",
+   "  180 |     ...document.querySelectorAll('[data-nscript=\"beforeInteractive\"]'),",
+   "> 181 |     ...document.querySelectorAll('[data-nscript=\"beforePageRender\"]'),",
+   "      |        ^",
+   "  182 |   ]",
+   "  183 |   scripts.forEach((script) => {",
+   "  184 |     const cacheKey = script.id || script.getAttribute('src')",
+   "[Test Mode] ../../../../packages/next/src/export/index.ts:409:8",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  407 |   // make sure to prevent duplicates",
+   "  408 |   const exportPaths = [",
+   "> 409 |     ...new Set(",
+   "      |        ^",
+   "  410 |       Object.keys(exportPathMap).map((path) =>",
+   "  411 |         denormalizePagePath(normalizePagePath(path))",
+   "  412 |       )",
+   "[Test Mode] ../../../../packages/next/src/export/index.ts:446:14",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  444 |       throw new ExportError(",
+   "  445 |         `Found pages with \\`fallback\\` enabled:\\n${[",
+   "> 446 |           ...fallbackEnabledPages,",
+   "      |              ^",
+   "  447 |         ].join('\\n')}\\n${SSG_FALLBACK_EXPORT_ERROR}\\n`",
+   "  448 |       )",
+   "  449 |     }",
+   "[Test Mode] ../../../../packages/next/src/lib/build-custom-route.ts:57:5",
+   "Type error: Type 'undefined' is not assignable to type 'never'.",
+   "  55 |     ...route,",
+   "  56 |     statusCode: getRedirectStatus(route as Redirect),",
+   "> 57 |     permanent: undefined,",
+   "     |     ^",
+   "  58 |     regex,",
+   "  59 |   }",
+   "  60 | }",
+   "[Test Mode] ../../../../packages/next/src/lib/create-client-router-filter.ts:66:45",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  64 |   }",
+   "  65 |",
+   "> 66 |   const staticFilter = BloomFilter.from([...staticPaths], allowedErrorRate)",
+   "     |                                             ^",
+   "  67 |",
+   "  68 |   const dynamicFilter = BloomFilter.from([...dynamicPaths], allowedErrorRate)",
+   "  69 |   const data = {",
+   "[Test Mode] ../../../../packages/next/src/lib/create-client-router-filter.ts:68:46",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  66 |   const staticFilter = BloomFilter.from([...staticPaths], allowedErrorRate)",
+   "  67 |",
+   "> 68 |   const dynamicFilter = BloomFilter.from([...dynamicPaths], allowedErrorRate)",
+   "     |                                              ^",
+   "  69 |   const data = {",
+   "  70 |     staticFilter: staticFilter.export(),",
+   "  71 |     dynamicFilter: dynamicFilter.export(),",
+   "[Test Mode] ../../../../packages/next/src/lib/eslint/runLintCheck.ts:293:4",
+   "Type error: Type 'ReturnType' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.",
+   "  291 |     strict?: boolean",
+   "  292 |   }",
+   "> 293 | ): ReturnType<typeof lint> {",
+   "      |    ^",
+   "  294 |   const {",
+   "  295 |     lintDuringBuild = false,",
+   "  296 |     eslintOptions = null,",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:340:31",
+   "Type error: Type 'IterableIterator<RegExpMatchArray>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  338 |",
+   "  339 |         if (hasItem.value) {",
+   "> 340 |           for (const match of hasItem.value.matchAll(namedGroupsRegex)) {",
+   "      |                               ^",
+   "  341 |             if (match[1]) {",
+   "  342 |               hasSegments.add(match[1])",
+   "  343 |             }",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:373:55",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  371 |         if (unnamedInDest.size > 0) {",
+   "  372 |           invalidParts.push(",
+   "> 373 |             `\\`destination\\` has unnamed params ${[...unnamedInDest].join(",
+   "      |                                                       ^",
+   "  374 |               ', '",
+   "  375 |             )}`",
+   "  376 |           )",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:413:22",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  411 |               invalidParts.push(",
+   "  412 |                 `\\`destination\\` has segments not in \\`source\\` or \\`has\\` (${[",
+   "> 413 |                   ...invalidDestSegments,",
+   "      |                      ^",
+   "  414 |                 ].join(', ')})`",
+   "  415 |               )",
+   "  416 |             }",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:443:55",
+   "Type error: Type 'Set<number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  441 |     if (hadInvalidStatus) {",
+   "  442 |       console.error(",
+   "> 443 |         `\\nValid redirect statusCode values are ${[...allowedStatusCodes].join(",
+   "      |                                                       ^",
+   "  444 |           ', '",
+   "  445 |         )}`",
+   "  446 |       )",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:452:23",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  450 |         `\\nValid \\`has\\` object shape is ${JSON.stringify(",
+   "  451 |           {",
+   "> 452 |             type: [...allowedHasTypes].join(', '),",
+   "      |                       ^",
+   "  453 |             key: 'the key to check for',",
+   "  454 |             value: 'undefined or a value string to match against',",
+   "  455 |           },",
+   "[Test Mode] ../../../../packages/next/src/lib/load-custom-routes.ts:465:23",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  463 |         `\\nValid \\`missing\\` object shape is ${JSON.stringify(",
+   "  464 |           {",
+   "> 465 |             type: [...allowedHasTypes].join(', '),",
+   "      |                       ^",
+   "  466 |             key: 'the key to check for',",
+   "  467 |             value: 'undefined or a value string to match against',",
+   "  468 |           },",
+   "[Test Mode] ../../../../packages/next/src/lib/metadata/resolve-metadata.ts:780:27",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  778 |   // Only log warnings if there are any, and only once after the metadata resolving process is finished",
+   "  779 |   if (buildState.warnings.size > 0) {",
+   "> 780 |     for (const warning of buildState.warnings) {",
+   "      |                           ^",
+   "  781 |       Log.warn(warning)",
+   "  782 |     }",
+   "  783 |   }",
+   "[Test Mode] ../../../../packages/next/src/lib/metadata/resolvers/resolve-opengraph.ts:224:9",
+   "Type error: Type 'TwitterAppDescriptor | {}' is not assignable to type 'TwitterAppDescriptor'.",
+   "  Property 'id' is missing in type '{}' but required in type 'TwitterAppDescriptor'.",
+   "  222 |       }",
+   "  223 |       case 'app': {",
+   "> 224 |         resolved.app = resolved.app || {}",
+   "      |         ^",
+   "  225 |         break",
+   "  226 |       }",
+   "  227 |       default:",
+   "[Test Mode] ../../../../packages/next/src/lib/typescript/diagnosticFormatter.ts:89:20",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  87 |           )}\" does not match the required types of a Next.js ${type}.`",
+   "  88 |",
+   "> 89 |           function processNext(",
+   "     |                    ^",
+   "  90 |             indent: number,",
+   "  91 |             next?: import('typescript').DiagnosticMessageChain[]",
+   "  92 |           ) {",
+   "[Test Mode] ../../../../packages/next/src/lib/typescript/diagnosticFormatter.ts:212:18",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  210 |         }",
+   "  211 |",
+   "> 212 |         function processNextItems(",
+   "      |                  ^",
+   "  213 |           indent: number,",
+   "  214 |           next?: import('typescript').DiagnosticMessageChain[]",
+   "  215 |         ) {",
+   "[Test Mode] ../../../../packages/next/src/pages/_document.tsx:68:19",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  66 |     sharedFiles,",
+   "  67 |     pageFiles,",
+   "> 68 |     allFiles: [...new Set([...sharedFiles, ...pageFiles])],",
+   "     |                   ^",
+   "  69 |   }",
+   "  70 | }",
+   "  71 |",
+   "[Test Mode] ../../../../packages/next/src/server/accept-header.ts:114:41",
+   "Type error: Type 'Map<string, { orig: string; pos: number; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  112 |   for (const selection of values) {",
+   "  113 |     if (selection === '*') {",
+   "> 114 |       for (const [preference, value] of lowers) {",
+   "      |                                         ^",
+   "  115 |         if (!map.has(preference)) {",
+   "  116 |           preferred.push(value.orig)",
+   "  117 |         }",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/action-handler.ts:48:30",
+   "Type error: Type 'URLSearchParams' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  46 |   const searchParams = new URLSearchParams(query)",
+   "  47 |   const formData = new FormData()",
+   "> 48 |   for (const [key, value] of searchParams) {",
+   "     |                              ^",
+   "  49 |     formData.append(key, value)",
+   "  50 |   }",
+   "  51 |   return formData",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/action-handler.ts:223:34",
+   "Type error: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  221 |     if (response.headers.get('content-type') === RSC_CONTENT_TYPE_HEADER) {",
+   "  222 |       // copy the headers from the redirect response to the response we're sending",
+   "> 223 |       for (const [key, value] of response.headers) {",
+   "      |                                  ^",
+   "  224 |         if (!actionsForbiddenHeaders.includes(key)) {",
+   "  225 |           res.setHeader(key, value)",
+   "  226 |         }",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/action-handler.ts:314:36",
+   "Type error: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  312 |       if (response.headers.get('content-type') === RSC_CONTENT_TYPE_HEADER) {",
+   "  313 |         // copy the headers from the redirect response to the response we're sending",
+   "> 314 |         for (const [key, value] of response.headers) {",
+   "      |                                    ^",
+   "  315 |           if (!actionsForbiddenHeaders.includes(key)) {",
+   "  316 |             res.setHeader(key, value)",
+   "  317 |           }",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/action-handler.ts:690:15",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  688 |             const fakeRequest = new Request('http://localhost', {",
+   "  689 |               method: 'POST',",
+   "> 690 |               // @ts-expect-error",
+   "      |               ^",
+   "  691 |               headers: { 'Content-Type': contentType },",
+   "  692 |               body: new ReadableStream({",
+   "  693 |                 start: (controller) => {",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/action-handler.ts:705:15",
+   "Type error: Object literal may only specify known properties, and 'duplex' does not exist in type 'RequestInit'.",
+   "  703 |                 },",
+   "  704 |               }),",
+   "> 705 |               duplex: 'half',",
+   "      |               ^",
+   "  706 |             })",
+   "  707 |             const formData = await fakeRequest.formData()",
+   "  708 |             const action = await decodeAction(formData, serverModuleMap)",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/app-render.tsx:373:7",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  371 |     {",
+   "  372 |       onError: ctx.flightDataRendererErrorHandler,",
+   "> 373 |       // @ts-expect-error This `renderToStream` wraps the `renderToReadableStream` or `renderToPipeableStream` from `react-server-dom-webpack` which doesn't specify a `nonce` prop on either options object. Leaving it in in case some other method is being used here.",
+   "      |       ^",
+   "  374 |       nonce: ctx.nonce,",
+   "  375 |     }",
+   "  376 |   )",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/app-render.tsx:980:11",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  978 |         {",
+   "  979 |           onError: serverComponentsErrorHandler,",
+   "> 980 |           // @ts-expect-error This `renderToStream` wraps the `renderToReadableStream` or `renderToPipeableStream` from `react-server-dom-webpack` which doesn't specify a `nonce` prop on either options object. Leaving it in in case some other method is being used here.",
+   "      |           ^",
+   "  981 |           nonce,",
+   "  982 |         }",
+   "  983 |       )",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/app-render.tsx:1029:33",
+   "Type error: Cannot find name 'HeadersDescriptor'.",
+   "  1027 |         // server to alter preloading priorities in unwanted ways",
+   "  1028 |         (!isStaticGeneration && !isResume)",
+   "> 1029 |           ? (headers: Headers | HeadersDescriptor) => {",
+   "       |                                 ^",
+   "  1030 |               HeadersAdapter.from(headers).forEach((value, key) => {",
+   "  1031 |                 setHeader(key, value)",
+   "  1032 |               })",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/app-render.tsx:1357:13",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  1355 |           {",
+   "  1356 |             onError: serverComponentsErrorHandler,",
+   "> 1357 |             // @ts-expect-error This `renderToStream` wraps the `renderToReadableStream` or `renderToPipeableStream` from `react-server-dom-webpack` which doesn't specify a `nonce` prop on either options object. Leaving it in in case some other method is being used here.",
+   "       |             ^",
+   "  1358 |             nonce,",
+   "  1359 |           }",
+   "  1360 |         )",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/dynamic-rendering.ts:30:34",
+   "Type error: Property 'unstable_postpone' does not exist on type 'typeof import(\"/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts\")'.",
+   "  28 | import { StaticGenBailoutError } from '../../client/components/static-generation-bailout'",
+   "  29 |",
+   "> 30 | const hasPostpone = typeof React.unstable_postpone === 'function'",
+   "     |                                  ^",
+   "  31 |",
+   "  32 | type DynamicAccess = {",
+   "  33 |   /**",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/dynamic-rendering.ts:183:4",
+   "Type error: A function returning 'never' cannot have a reachable end point.",
+   "  181 |   expression: string,",
+   "  182 |   route: string",
+   "> 183 | ): never {",
+   "      |    ^",
+   "  184 |   assertPostpone()",
+   "  185 |   const reason =",
+   "  186 |     `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` +",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/dynamic-rendering.ts:199:9",
+   "Type error: Property 'unstable_postpone' does not exist on type 'typeof import(\"/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts\")'.",
+   "  197 |   })",
+   "  198 |",
+   "> 199 |   React.unstable_postpone(reason)",
+   "      |         ^",
+   "  200 | }",
+   "  201 |",
+   "  202 | export function usedDynamicAPIs(prerenderState: PrerenderState): boolean {",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/dynamic-rendering.ts:261:11",
+   "Type error: Property 'unstable_postpone' does not exist on type 'typeof import(\"/root/actions-runner/_work/next.js/next.js/node_modules/.pnpm/[email protected]/node_modules/types-react/index.d.ts\")'.",
+   "  259 |   // We get our hands on a postpone instance by calling postpone and catching the throw",
+   "  260 |   try {",
+   "> 261 |     React.unstable_postpone(reason)",
+   "      |           ^",
+   "  262 |   } catch (x: unknown) {",
+   "  263 |     controller.abort(x)",
+   "  264 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/get-css-inlined-link-tags.tsx:45:24",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  43 |   }",
+   "  44 |",
+   "> 45 |   return { styles: [...cssChunks], scripts: [...jsChunks] }",
+   "     |                        ^",
+   "  46 | }",
+   "  47 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/get-css-inlined-link-tags.tsx:45:49",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  43 |   }",
+   "  44 |",
+   "> 45 |   return { styles: [...cssChunks], scripts: [...jsChunks] }",
+   "     |                                                 ^",
+   "  46 | }",
+   "  47 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/get-preloadable-fonts.tsx:35:16",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  33 |",
+   "  34 |   if (fontFiles.size) {",
+   "> 35 |     return [...fontFiles].sort()",
+   "     |                ^",
+   "  36 |   } else if (foundFontUsage && injectedFontPreloadTags.size === 0) {",
+   "  37 |     return []",
+   "  38 |   } else {",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/parse-and-validate-flight-router-state.tsx:3:10",
+   "Type error: Module '\"next/dist/compiled/superstruct\"' has no exported member 'assert'.",
+   "  1 | import type { FlightRouterState } from './types'",
+   "  2 | import { flightRouterStateSchema } from './types'",
+   "> 3 | import { assert } from 'next/dist/compiled/superstruct'",
+   "    |          ^",
+   "  4 |",
+   "  5 | export function parseAndValidateFlightRouterState(",
+   "  6 |   stateHeader: string | string[] | undefined",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/static/static-renderer.ts:13:37",
+   "Type error: Cannot find module 'react-dom/types' or its corresponding type declarations.",
+   "  11 |   StaticResumeRenderer,",
+   "  12 | } from './renderers'",
+   "> 13 | import type { PostponedState } from 'react-dom/types'",
+   "     |                                     ^",
+   "  14 | import type { JSX } from 'react'",
+   "  15 |",
+   "  16 | export class VoidRenderer implements Renderer {",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:22:35",
+   "Type error: Property 'enums' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  20 |   | 'dynamic-intercepted'",
+   "  21 |",
+   "> 22 | const dynamicParamTypesSchema = s.enums(['c', 'ci', 'oc', 'd', 'di'])",
+   "     |                                   ^",
+   "  23 |",
+   "  24 | export type DynamicParamTypesShort = s.Infer<typeof dynamicParamTypesSchema>",
+   "  25 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:26:25",
+   "Type error: Property 'union' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  24 | export type DynamicParamTypesShort = s.Infer<typeof dynamicParamTypesSchema>",
+   "  25 |",
+   "> 26 | const segmentSchema = s.union([",
+   "     |                         ^",
+   "  27 |   s.string(),",
+   "  28 |   s.tuple([s.string(), s.string(), dynamicParamTypesSchema]),",
+   "  29 | ])",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:27:5",
+   "Type error: Property 'string' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  25 |",
+   "  26 | const segmentSchema = s.union([",
+   "> 27 |   s.string(),",
+   "     |     ^",
+   "  28 |   s.tuple([s.string(), s.string(), dynamicParamTypesSchema]),",
+   "  29 | ])",
+   "  30 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:28:5",
+   "Type error: Property 'tuple' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  26 | const segmentSchema = s.union([",
+   "  27 |   s.string(),",
+   "> 28 |   s.tuple([s.string(), s.string(), dynamicParamTypesSchema]),",
+   "     |     ^",
+   "  29 | ])",
+   "  30 |",
+   "  31 | export type Segment = s.Infer<typeof segmentSchema>",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:28:14",
+   "Type error: Property 'string' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  26 | const segmentSchema = s.union([",
+   "  27 |   s.string(),",
+   "> 28 |   s.tuple([s.string(), s.string(), dynamicParamTypesSchema]),",
+   "     |              ^",
+   "  29 | ])",
+   "  30 |",
+   "  31 | export type Segment = s.Infer<typeof segmentSchema>",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:28:26",
+   "Type error: Property 'string' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  26 | const segmentSchema = s.union([",
+   "  27 |   s.string(),",
+   "> 28 |   s.tuple([s.string(), s.string(), dynamicParamTypesSchema]),",
+   "     |                          ^",
+   "  29 | ])",
+   "  30 |",
+   "  31 | export type Segment = s.Infer<typeof segmentSchema>",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:36:59",
+   "Type error: Property 'tuple' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  34 | // use any here. This does not have any impact on the runtime type since the validation",
+   "  35 | // does work correctly.",
+   "> 36 | export const flightRouterStateSchema: s.Describe<any> = s.tuple([",
+   "     |                                                           ^",
+   "  37 |   segmentSchema,",
+   "  38 |   s.record(",
+   "  39 |     s.string(),",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:38:5",
+   "Type error: Property 'record' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  36 | export const flightRouterStateSchema: s.Describe<any> = s.tuple([",
+   "  37 |   segmentSchema,",
+   "> 38 |   s.record(",
+   "     |     ^",
+   "  39 |     s.string(),",
+   "  40 |     s.lazy(() => flightRouterStateSchema)",
+   "  41 |   ),",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:39:7",
+   "Type error: Property 'string' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  37 |   segmentSchema,",
+   "  38 |   s.record(",
+   "> 39 |     s.string(),",
+   "     |       ^",
+   "  40 |     s.lazy(() => flightRouterStateSchema)",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:40:7",
+   "Type error: Property 'lazy' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  38 |   s.record(",
+   "  39 |     s.string(),",
+   "> 40 |     s.lazy(() => flightRouterStateSchema)",
+   "     |       ^",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:42:5",
+   "Type error: Property 'optional' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  40 |     s.lazy(() => flightRouterStateSchema)",
+   "  41 |   ),",
+   "> 42 |   s.optional(s.nullable(s.string())),",
+   "     |     ^",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:42:16",
+   "Type error: Property 'nullable' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  40 |     s.lazy(() => flightRouterStateSchema)",
+   "  41 |   ),",
+   "> 42 |   s.optional(s.nullable(s.string())),",
+   "     |                ^",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:42:27",
+   "Type error: Property 'string' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  40 |     s.lazy(() => flightRouterStateSchema)",
+   "  41 |   ),",
+   "> 42 |   s.optional(s.nullable(s.string())),",
+   "     |                           ^",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:43:5",
+   "Type error: Property 'optional' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "> 43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "     |     ^",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "  46 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:43:16",
+   "Type error: Property 'nullable' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "> 43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "     |                ^",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "  46 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:43:27",
+   "Type error: Property 'union' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "> 43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "     |                           ^",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "  46 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:43:36",
+   "Type error: Property 'literal' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "> 43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "     |                                    ^",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "  46 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:43:58",
+   "Type error: Property 'literal' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  41 |   ),",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "> 43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "     |                                                          ^",
+   "  44 |   s.optional(s.boolean()),",
+   "  45 | ])",
+   "  46 |",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:44:5",
+   "Type error: Property 'optional' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "> 44 |   s.optional(s.boolean()),",
+   "     |     ^",
+   "  45 | ])",
+   "  46 |",
+   "  47 | /**",
+   "[Test Mode] ../../../../packages/next/src/server/app-render/types.ts:44:16",
+   "Type error: Property 'boolean' does not exist on type 'typeof import(\"next/dist/compiled/superstruct\")'.",
+   "  42 |   s.optional(s.nullable(s.string())),",
+   "  43 |   s.optional(s.nullable(s.union([s.literal('refetch'), s.literal('refresh')]))),",
+   "> 44 |   s.optional(s.boolean()),",
+   "     |                ^",
+   "  45 | ])",
+   "  46 |",
+   "  47 | /**",
+   "[Test Mode] ../../../../packages/next/src/server/base-http/web.ts:28:33",
+   "Type error: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  26 |",
+   "  27 |     this.headers = {}",
+   "> 28 |     for (const [name, value] of request.headers.entries()) {",
+   "     |                                 ^",
+   "  29 |       this.headers[name] = value",
+   "  30 |     }",
+   "  31 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/base-server.ts:1222:29",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1220 |             ])",
+   "  1221 |           }",
+   "> 1222 |           for (const key of routeParamKeys) {",
+   "       |                             ^",
+   "  1223 |             delete parsedUrl.query[key]",
+   "  1224 |           }",
+   "  1225 |           parsedUrl.pathname = matchedPath",
+   "[Test Mode] ../../../../packages/next/src/server/config.ts:732:18",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  730 |       throw new Error(",
+   "  731 |         `Specified i18n.locales contains the following duplicate locales:\\n` +",
+   "> 732 |           `${[...duplicateLocales].join(', ')}\\n` +",
+   "      |                  ^",
+   "  733 |           `Each locale should be listed only once.\\n` +",
+   "  734 |           `See more info here: https://nextjs.org/docs/messages/invalid-i18n-config`",
+   "  735 |       )",
+   "[Test Mode] ../../../../packages/next/src/server/config.ts:794:8",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  792 |   }",
+   "  793 |   result.experimental.optimizePackageImports = [",
+   "> 794 |     ...new Set([",
+   "      |        ^",
+   "  795 |       ...userProvidedOptimizePackageImports,",
+   "  796 |       'lucide-react',",
+   "  797 |       'date-fns',",
+   "[Test Mode] ../../../../packages/next/src/server/dev/extract-modules-from-turbopack-message.ts:34:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  32 |   }",
+   "  33 |",
+   "> 34 |   return [...updatedModules]",
+   "     |              ^",
+   "  35 | }",
+   "  36 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-middleware.ts:76:26",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  74 |",
+   "  75 |   everyClient(fn: (client: ws) => void) {",
+   "> 76 |     for (const client of this.clients) {",
+   "     |                          ^",
+   "  77 |       fn(client)",
+   "  78 |     }",
+   "  79 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:291:32",
+   "Type error: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  289 |",
+   "  290 |   function sendEnqueuedMessages() {",
+   "> 291 |     for (const [, issueMap] of currentEntryIssues) {",
+   "      |                                ^",
+   "  292 |       if (",
+   "  293 |         [...issueMap.values()].filter((i) => i.severity !== 'warning').length >",
+   "  294 |         0",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:301:26",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  299 |     }",
+   "  300 |",
+   "> 301 |     for (const client of clients) {",
+   "      |                          ^",
+   "  302 |       const state = clientStates.get(client)",
+   "  303 |       if (!state) {",
+   "  304 |         continue",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:307:34",
+   "Type error: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  305 |       }",
+   "  306 |",
+   "> 307 |       for (const [, issueMap] of state.clientIssues) {",
+   "      |                                  ^",
+   "  308 |         if (",
+   "  309 |           [...issueMap.values()].filter((i) => i.severity !== 'warning')",
+   "  310 |             .length > 0",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:317:29",
+   "Type error: Type 'IterableIterator<HMR_ACTION_TYPES>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  315 |       }",
+   "  316 |",
+   "> 317 |       for (const payload of state.hmrPayloads.values()) {",
+   "      |                             ^",
+   "  318 |         sendToClient(client, payload)",
+   "  319 |       }",
+   "  320 |       state.hmrPayloads.clear()",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:334:26",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  332 |",
+   "  333 |   const sendHmr: SendHmr = (id: string, payload: HMR_ACTION_TYPES) => {",
+   "> 334 |     for (const client of clients) {",
+   "      |                          ^",
+   "  335 |       clientStates.get(client)?.hmrPayloads.set(id, payload)",
+   "  336 |     }",
+   "  337 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:349:26",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  347 |     payload.issues = []",
+   "  348 |",
+   "> 349 |     for (const client of clients) {",
+   "      |                          ^",
+   "  350 |       clientStates.get(client)?.turbopackUpdates.push(payload)",
+   "  351 |     }",
+   "  352 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:561:38",
+   "Type error: Type 'IterableIterator<AsyncIterator<any, any, undefined>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  559 |         client.on('close', () => {",
+   "  560 |           // Remove active subscriptions",
+   "> 561 |           for (const subscription of subscriptions.values()) {",
+   "      |                                      ^",
+   "  562 |             subscription.return?.()",
+   "  563 |           }",
+   "  564 |           clientStates.delete(client)",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:657:35",
+   "Type error: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  655 |         const errors: CompilationError[] = []",
+   "  656 |",
+   "> 657 |         for (const entryIssues of currentEntryIssues.values()) {",
+   "      |                                   ^",
+   "  658 |           for (const issue of entryIssues.values()) {",
+   "  659 |             if (issue.severity !== 'warning') {",
+   "  660 |               errors.push({",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:683:28",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  681 |     send(action) {",
+   "  682 |       const payload = JSON.stringify(action)",
+   "> 683 |       for (const client of clients) {",
+   "      |                            ^",
+   "  684 |         client.send(payload)",
+   "  685 |       }",
+   "  686 |     },",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:710:20",
+   "Type error: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  708 |       if (thisEntryIssues !== undefined && thisEntryIssues.size > 0) {",
+   "  709 |         // If there is an error related to the requesting page we display it instead of the first error",
+   "> 710 |         return [...topLevelIssues, ...thisEntryIssues.values()]",
+   "      |                    ^",
+   "  711 |           .map((issue) => {",
+   "  712 |             const formattedIssue = formatIssue(issue)",
+   "  713 |             if (issue.severity === 'warning') {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:710:39",
+   "Type error: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  708 |       if (thisEntryIssues !== undefined && thisEntryIssues.size > 0) {",
+   "  709 |         // If there is an error related to the requesting page we display it instead of the first error",
+   "> 710 |         return [...topLevelIssues, ...thisEntryIssues.values()]",
+   "      |                                       ^",
+   "  711 |           .map((issue) => {",
+   "  712 |             const formattedIssue = formatIssue(issue)",
+   "  713 |             if (issue.severity === 'warning') {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:727:27",
+   "Type error: Type 'IterableIterator<Issue>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  725 |       // Otherwise, return all errors across pages",
+   "  726 |       const errors = []",
+   "> 727 |       for (const issue of topLevelIssues) {",
+   "      |                           ^",
+   "  728 |         if (issue.severity !== 'warning') {",
+   "  729 |           errors.push(new Error(formatIssue(issue)))",
+   "  730 |         }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:732:33",
+   "Type error: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  730 |         }",
+   "  731 |       }",
+   "> 732 |       for (const entryIssues of currentEntryIssues.values()) {",
+   "      |                                 ^",
+   "  733 |         for (const issue of entryIssues.values()) {",
+   "  734 |           if (issue.severity !== 'warning') {",
+   "  735 |             const message = formatIssue(issue)",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:887:20",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  885 |           sendEnqueuedMessages()",
+   "  886 |",
+   "> 887 |           function addErrors(",
+   "      |                    ^",
+   "  888 |             errorsMap: Map<string, CompilationError>,",
+   "  889 |             issues: EntryIssuesMap",
+   "  890 |           ) {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:891:36",
+   "Type error: Type 'IterableIterator<IssuesMap>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  889 |             issues: EntryIssuesMap",
+   "  890 |           ) {",
+   "> 891 |             for (const issueMap of issues.values()) {",
+   "      |                                    ^",
+   "  892 |               for (const [key, issue] of issueMap) {",
+   "  893 |                 if (issue.severity === 'warning') continue",
+   "  894 |                 if (errorsMap.has(key)) continue",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:911:32",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  909 |           addErrors(errors, currentEntryIssues)",
+   "  910 |",
+   "> 911 |           for (const client of clients) {",
+   "      |                                ^",
+   "  912 |             const state = clientStates.get(client)",
+   "  913 |             if (!state) {",
+   "  914 |               continue",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-turbopack.ts:923:27",
+   "Type error: Type 'IterableIterator<CompilationError>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  921 |               action: HMR_ACTIONS_SENT_TO_BROWSER.BUILT,",
+   "  922 |               hash: String(++hmrHash),",
+   "> 923 |               errors: [...clientErrors.values()],",
+   "      |                           ^",
+   "  924 |               warnings: [],",
+   "  925 |             })",
+   "  926 |           }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:92:22",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  90 |",
+   "  91 | function diff(a: Set<any>, b: Set<any>) {",
+   "> 92 |   return new Set([...a].filter((v) => !b.has(v)))",
+   "     |                      ^",
+   "  93 | }",
+   "  94 |",
+   "  95 | const wsServer = new ws.Server({ noServer: true })",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:261:34",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  259 |   public serverStats: webpack.Stats | null",
+   "  260 |   public edgeServerStats: webpack.Stats | null",
+   "> 261 |   public multiCompiler?: webpack.MultiCompiler",
+   "      |                                  ^",
+   "  262 |   public activeWebpackConfigs?: Array<",
+   "  263 |     UnwrapPromise<ReturnType<typeof getBaseWebpackConfig>>",
+   "  264 |   >",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:1067:29",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  1065 |     this.multiCompiler = webpack(",
+   "  1066 |       this.activeWebpackConfigs",
+   "> 1067 |     ) as unknown as webpack.MultiCompiler",
+   "       |                             ^",
+   "  1068 |",
+   "  1069 |     // Copy over the filesystem so that it is shared between all compilers.",
+   "  1070 |     const inputFileSystem = this.multiCompiler.compilers[0].inputFileSystem",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:1303:13",
+   "Type error: Argument of type 'Set<unknown>' is not assignable to parameter of type 'readonly string[] | ReadonlySet<string>'.",
+   "  Type 'Set<unknown>' is not assignable to type 'ReadonlySet<string>'.",
+   "    Types of property 'forEach' are incompatible.",
+   "      Type '(callbackfn: (value: unknown, value2: unknown, set: Set<unknown>) => void, thisArg?: any) => void' is not assignable to type '(callbackfn: (value: string, value2: string, set: ReadonlySet<string>) => void, thisArg?: any) => void'.",
+   "        Types of parameters 'callbackfn' and 'callbackfn' are incompatible.",
+   "          Types of parameters 'value' and 'value' are incompatible.",
+   "            Type 'unknown' is not assignable to type 'string'.",
+   "  1301 |           const diffChunkNames = difference<string>(",
+   "  1302 |             this.serverChunkNames || new Set(),",
+   "> 1303 |             chunkNames",
+   "       |             ^",
+   "  1304 |           )",
+   "  1305 |",
+   "  1306 |           if (",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:1312:11",
+   "Type error: Type 'Set<unknown>' is not assignable to type 'Set<string>'.",
+   "  1310 |             return",
+   "  1311 |           }",
+   "> 1312 |           this.serverChunkNames = chunkNames",
+   "       |           ^",
+   "  1313 |         }",
+   "  1314 |",
+   "  1315 |         this.serverPrevDocumentHash = documentChunk.hash || null",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:1400:37",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1398 |",
+   "  1399 |           if (addedPages.size > 0) {",
+   "> 1400 |             for (const addedPage of addedPages) {",
+   "       |                                     ^",
+   "  1401 |               const page = getRouteFromEntrypoint(addedPage)",
+   "  1402 |               this.send({",
+   "  1403 |                 action: HMR_ACTIONS_SENT_TO_BROWSER.ADDED_PAGE,",
+   "[Test Mode] ../../../../packages/next/src/server/dev/hot-reloader-webpack.ts:1410:39",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1408 |",
+   "  1409 |           if (removedPages.size > 0) {",
+   "> 1410 |             for (const removedPage of removedPages) {",
+   "       |                                       ^",
+   "  1411 |               const page = getRouteFromEntrypoint(removedPage)",
+   "  1412 |               this.send({",
+   "  1413 |                 action: HMR_ACTIONS_SENT_TO_BROWSER.REMOVED_PAGE,",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:263:34",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  261 | // Otherwise, webpack hash gets changed and it'll force the client to reload.",
+   "  262 | class Invalidator {",
+   "> 263 |   private multiCompiler: webpack.MultiCompiler",
+   "      |                                  ^",
+   "  264 |",
+   "  265 |   private building: BuildingTracker = new Set()",
+   "  266 |   private rebuildAgain: RebuildTracker = new Set()",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:268:38",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  266 |   private rebuildAgain: RebuildTracker = new Set()",
+   "  267 |",
+   "> 268 |   constructor(multiCompiler: webpack.MultiCompiler) {",
+   "      |                                      ^",
+   "  269 |     this.multiCompiler = multiCompiler",
+   "  270 |   }",
+   "  271 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:519:26",
+   "Type error: Namespace '\"next/dist/compiled/webpack/webpack\".webpack' has no exported member 'MultiCompiler'.",
+   "  517 |   hotReloader: HotReloaderWebpack",
+   "  518 |   maxInactiveAge: number",
+   "> 519 |   multiCompiler: webpack.MultiCompiler",
+   "      |                          ^",
+   "  520 |   nextConfig: NextConfigComplete",
+   "  521 |   pagesBufferLength: number",
+   "  522 |   pagesDir?: string",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:550:30",
+   "Type error: Type 'IterableIterator<{ name?: string; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  548 |   ) {",
+   "  549 |     const pagePaths: string[] = []",
+   "> 550 |     for (const entrypoint of entrypoints.values()) {",
+   "      |                              ^",
+   "  551 |       const page = getRouteFromEntrypoint(entrypoint.name!, hasAppDir)",
+   "  552 |",
+   "  553 |       if (page) {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:849:31",
+   "Type error: Type 'IterableIterator<{ entryKey: string; newEntry: boolean; shouldInvalidate: boolean; }>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  847 |       })",
+   "  848 |",
+   "> 849 |       const addedValues = [...added.values()]",
+   "      |                               ^",
+   "  850 |       const entriesThatShouldBeInvalidated = [...added.entries()].filter(",
+   "  851 |         ([, entry]) => entry.shouldInvalidate",
+   "  852 |       )",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:850:50",
+   "Type error: Type 'IterableIterator<[CompilerNameValues, { entryKey: string; newEntry: boolean; shouldInvalidate: boolean; }]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  848 |",
+   "  849 |       const addedValues = [...added.values()]",
+   "> 850 |       const entriesThatShouldBeInvalidated = [...added.entries()].filter(",
+   "      |                                                  ^",
+   "  851 |         ([, entry]) => entry.shouldInvalidate",
+   "  852 |       )",
+   "  853 |       const hasNewEntry = addedValues.some((entry) => entry.newEntry)",
+   "[Test Mode] ../../../../packages/next/src/server/dev/on-demand-entry-handler.ts:887:39",
+   "Type error: Type 'IterableIterator<CompilerNameValues>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  885 |         )",
+   "  886 |",
+   "> 887 |         curInvalidator.invalidate([...added.keys()])",
+   "      |                                       ^",
+   "  888 |         await invalidatePromise",
+   "  889 |       }",
+   "  890 |     } finally {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:239:36",
+   "Type error: Type 'Set<unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  237 |",
+   "  238 |   if (relevantIssues.size && throwIssue) {",
+   "> 239 |     throw new ModuleBuildError([...relevantIssues].join('\\n\\n'))",
+   "      |                                    ^",
+   "  240 |   }",
+   "  241 | }",
+   "  242 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:566:29",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  564 |     this.entryMap.set(key, newAssetPaths)",
+   "  565 |",
+   "> 566 |     for (const assetPath of newAssetPaths) {",
+   "      |                             ^",
+   "  567 |       let assetPathKeys = this.assetMap.get(assetPath)",
+   "  568 |       if (!assetPathKeys) {",
+   "  569 |         assetPathKeys = new Set()",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:715:35",
+   "Type error: Type 'Map<string, Route>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  713 |   currentEntrypoints.app.clear()",
+   "  714 |",
+   "> 715 |   for (const [pathname, route] of entrypoints.routes) {",
+   "      |                                   ^",
+   "  716 |     switch (route.type) {",
+   "  717 |       case 'page':",
+   "  718 |       case 'page-api':",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:815:20",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  813 |     const endpoint = middleware.endpoint",
+   "  814 |",
+   "> 815 |     async function processMiddleware() {",
+   "      |                    ^",
+   "  816 |       const writtenEndpoint = await endpoint.writeToDisk()",
+   "  817 |       dev?.hooks.handleWrittenEndpoint(key, writtenEndpoint)",
+   "  818 |       processIssues(currentEntryIssues, key, writtenEndpoint, false, logErrors)",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:891:21",
+   "Type error: Type 'IterableIterator<`{\"type\":\"app\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"pages\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"root\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"assets\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"pages\",\"page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  889 | } & HandleEntrypointsDevOpts) {",
+   "  890 |   // this needs to be first as `hasEntrypointForKey` uses the `assetMapper`",
+   "> 891 |   for (const key of assetMapper.keys()) {",
+   "      |                     ^",
+   "  892 |     if (!hasEntrypointForKey(currentEntrypoints, key, assetMapper)) {",
+   "  893 |       assetMapper.delete(key)",
+   "  894 |     }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:897:21",
+   "Type error: Type 'IterableIterator<`{\"type\":\"app\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"pages\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"root\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"assets\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"pages\",\"page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  895 |   }",
+   "  896 |",
+   "> 897 |   for (const key of changeSubscriptions.keys()) {",
+   "      |                     ^",
+   "  898 |     // middleware is handled separately",
+   "  899 |     if (!hasEntrypointForKey(currentEntrypoints, key, assetMapper)) {",
+   "  900 |       await hooks.unsubscribeFromChanges(key)",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:904:23",
+   "Type error: Type 'EntryIssuesMap' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  902 |   }",
+   "  903 |",
+   "> 904 |   for (const [key] of currentEntryIssues) {",
+   "      |                       ^",
+   "  905 |     if (!hasEntrypointForKey(currentEntrypoints, key, assetMapper)) {",
+   "  906 |       currentEntryIssues.delete(key)",
+   "  907 |     }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:910:24",
+   "Type error: Type 'Set<ws>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  908 |   }",
+   "  909 |",
+   "> 910 |   for (const client of clients) {",
+   "      |                        ^",
+   "  911 |     const state = clientStates.get(client)",
+   "  912 |     if (!state) {",
+   "  913 |       continue",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:916:23",
+   "Type error: Type 'IterableIterator<`{\"type\":\"app\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"pages\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"root\",\"page\":\"${string}\"}` | `{\"type\":\"app\",\"side\":\"assets\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"app\",\"page\":\"${string}\"}` | `{\"type\":\"pages\",\"side\":\"pages\",\"page...' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  914 |     }",
+   "  915 |",
+   "> 916 |     for (const key of state.clientIssues.keys()) {",
+   "      |                       ^",
+   "  917 |       if (!hasEntrypointForKey(currentEntrypoints, key, assetMapper)) {",
+   "  918 |         state.clientIssues.delete(key)",
+   "  919 |       }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack-utils.ts:922:22",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  920 |     }",
+   "  921 |",
+   "> 922 |     for (const id of state.subscriptions.keys()) {",
+   "      |                      ^",
+   "  923 |       if (",
+   "  924 |         !hasEntrypointForKey(",
+   "  925 |           currentEntrypoints,",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:153:21",
+   "Type error: Type 'Iterable<ActionManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  151 |     }",
+   "  152 |",
+   "> 153 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  154 |       mergeActionIds(manifest.node, m.node)",
+   "  155 |       mergeActionIds(manifest.edge, m.edge)",
+   "  156 |     }",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:202:21",
+   "Type error: Type 'Iterable<AppBuildManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  200 |       pages: {},",
+   "  201 |     }",
+   "> 202 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  203 |       Object.assign(manifest.pages, m.pages)",
+   "  204 |     }",
+   "  205 |     return manifest",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:287:21",
+   "Type error: Type 'Iterable<BuildManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  285 |       ampFirstPages: [],",
+   "  286 |     }",
+   "> 287 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  288 |       Object.assign(manifest.pages, m.pages)",
+   "  289 |       if (m.rootMainFiles.length) manifest.rootMainFiles = m.rootMainFiles",
+   "  290 |       // polyfillFiles should always be the same, so we can overwrite instead of actually merging",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:344:13",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  342 |       __rewrites: normalizeRewritesForBuildManifest(processedRewrites) as any,",
+   "  343 |       ...Object.fromEntries(",
+   "> 344 |         [...pageEntrypoints.keys()].map((pathname) => [",
+   "      |             ^",
+   "  345 |           pathname,",
+   "  346 |           `static/chunks/pages${pathname === '/' ? '/index' : pathname}.js`,",
+   "  347 |         ])",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:349:24",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  347 |         ])",
+   "  348 |       ),",
+   "> 349 |       sortedPages: [...pageEntrypoints.keys()],",
+   "      |                        ^",
+   "  350 |     }",
+   "  351 |     const buildManifestJs = `self.__BUILD_MANIFEST = ${JSON.stringify(",
+   "  352 |       content",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:404:21",
+   "Type error: Type 'Iterable<NextFontManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  402 |       pagesUsingSizeAdjust: false,",
+   "  403 |     }",
+   "> 404 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  405 |       Object.assign(manifest.app, m.app)",
+   "  406 |       Object.assign(manifest.pages, m.pages)",
+   "  407 |",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:456:21",
+   "Type error: Type 'Iterable<LoadableManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  454 |   private mergeLoadableManifests(manifests: Iterable<LoadableManifest>) {",
+   "  455 |     const manifest: LoadableManifest = {}",
+   "> 456 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  457 |       Object.assign(manifest, m)",
+   "  458 |     }",
+   "  459 |     return manifest",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:521:21",
+   "Type error: Type 'Iterable<TurbopackMiddlewareManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  519 |     }",
+   "  520 |     let instrumentation: InstrumentationDefinition | undefined = undefined",
+   "> 521 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  522 |       Object.assign(manifest.functions, m.functions)",
+   "  523 |       Object.assign(manifest.middleware, m.middleware)",
+   "  524 |       if (m.instrumentation) {",
+   "[Test Mode] ../../../../packages/next/src/server/dev/turbopack/manifest-loader.ts:587:21",
+   "Type error: Type 'Iterable<PagesManifest>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  585 |   private mergePagesManifests(manifests: Iterable<PagesManifest>) {",
+   "  586 |     const manifest: PagesManifest = {}",
+   "> 587 |     for (const m of manifests) {",
+   "      |                     ^",
+   "  588 |       Object.assign(manifest, m)",
+   "  589 |     }",
+   "  590 |     return manifest",
+   "[Test Mode] ../../../../packages/next/src/server/font-utils.ts:57:20",
+   "Type error: Type 'IterableIterator<RegExpMatchArray>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  55 |   const fontNames = new Set<string>()",
+   "  56 |",
+   "> 57 |   for (let font of matches) {",
+   "     |                    ^",
+   "  58 |     const fontFamily = font[1].replace(/^['\"]|['\"]$/g, '')",
+   "  59 |     fontNames.add(fontFamily)",
+   "  60 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/font-utils.ts:62:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  60 |   }",
+   "  61 |",
+   "> 62 |   return [...fontNames]",
+   "     |              ^",
+   "  63 | }",
+   "  64 |",
+   "  65 | function formatName(str: string): string {",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/fetch-cache.ts:70:21",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  68 |     if (set1.size !== set2.size) return false",
+   "  69 |",
+   "> 70 |     for (let tag of set1) {",
+   "     |                     ^",
+   "  71 |       if (!set2.has(tag)) return false",
+   "  72 |     }",
+   "  73 |",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/file-system-cache.ts:155:12",
+   "Type error: Property 'revalidatedAt' does not exist on type '{}'.",
+   "  153 |     for (const tag of tags) {",
+   "  154 |       const data = tagsManifest.items[tag] || {}",
+   "> 155 |       data.revalidatedAt = Date.now()",
+   "      |            ^",
+   "  156 |       tagsManifest.items[tag] = data",
+   "  157 |     }",
+   "  158 |",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/file-system-cache.ts:156:7",
+   "Type error: Property 'revalidatedAt' is missing in type '{}' but required in type '{ revalidatedAt: number; }'.",
+   "  154 |       const data = tagsManifest.items[tag] || {}",
+   "  155 |       data.revalidatedAt = Date.now()",
+   "> 156 |       tagsManifest.items[tag] = data",
+   "      |       ^",
+   "  157 |     }",
+   "  158 |",
+   "  159 |     try {",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/index.ts:318:27",
+   "Type error: Type 'Set<any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  316 |         const formData = init.body as FormData",
+   "  317 |         ;(init as any)._ogBody = init.body",
+   "> 318 |         for (const key of new Set([...formData.keys()])) {",
+   "      |                           ^",
+   "  319 |           const values = formData.getAll(key)",
+   "  320 |           bodyChunks.push(",
+   "  321 |             `${key}=${(",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/index.ts:318:39",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  316 |         const formData = init.body as FormData",
+   "  317 |         ;(init as any)._ogBody = init.body",
+   "> 318 |         for (const key of new Set([...formData.keys()])) {",
+   "      |                                       ^",
+   "  319 |           const values = formData.getAll(key)",
+   "  320 |           bodyChunks.push(",
+   "  321 |             `${key}=${(",
+   "[Test Mode] ../../../../packages/next/src/server/lib/incremental-cache/index.ts:370:16",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.",
+   "  368 |",
+   "  369 |     if (process.env.NEXT_RUNTIME === 'edge') {",
+   "> 370 |       function bufferToHex(buffer: ArrayBuffer): string {",
+   "      |                ^",
+   "  371 |         return Array.prototype.map",
+   "  372 |           .call(new Uint8Array(buffer), (b) => b.toString(16).padStart(2, '0'))",
+   "  373 |           .join('')",
+   "[Test Mode] ../../../../packages/next/src/server/lib/mock-request.ts:248:25",
+   "Type error: Type 'IArguments' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  246 |   public end() {",
+   "  247 |     this.finished = true",
+   "> 248 |     return super.end(...arguments)",
+   "      |                         ^",
+   "  249 |   }",
+   "  250 |",
+   "  251 |   /**",
+   "[Test Mode] ../../../../packages/next/src/server/lib/patch-fetch.ts:555:15",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  553 |",
+   "  554 |             for (const field of requestInputFields) {",
+   "> 555 |               // @ts-expect-error custom fields",
+   "      |               ^",
+   "  556 |               reqOptions[field] = reqInput[field]",
+   "  557 |             }",
+   "  558 |             input = new Request(reqInput.url, reqOptions)",
+   "[Test Mode] ../../../../packages/next/src/server/lib/patch-set-header.ts:39:14",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  37 |         value = [",
+   "  38 |           // TODO: (wyattjoh) find out why this is called multiple times resulting in duplicate cookies being added",
+   "> 39 |           ...new Set([",
+   "     |              ^",
+   "  40 |             ...(middlewareValue || []),",
+   "  41 |             ...(typeof value === 'string'",
+   "  42 |               ? [value]",
+   "[Test Mode] ../../../../packages/next/src/server/lib/router-server.ts:205:7",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  203 |",
+   "  204 |     if (compress) {",
+   "> 205 |       // @ts-expect-error not express req/res",
+   "      |       ^",
+   "  206 |       compress(req, res, () => {})",
+   "  207 |     }",
+   "  208 |     req.on('error', (_err) => {",
+   "[Test Mode] ../../../../packages/next/src/server/lib/router-utils/resolve-routes.ts:448:13",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  446 |           const match = fsChecker.getMiddlewareMatchers()",
+   "  447 |           if (",
+   "> 448 |             // @ts-expect-error BaseNextRequest stuff",
+   "      |             ^",
+   "  449 |             match?.(parsedUrl.pathname, req, parsedUrl.query)",
+   "  450 |           ) {",
+   "  451 |             if (ensureMiddleware) {",
+   "[Test Mode] ../../../../packages/next/src/server/lib/router-utils/resolve-routes.ts:545:33",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  543 |",
+   "  544 |               // Update or add headers.",
+   "> 545 |               for (const key of overriddenHeaders.keys()) {",
+   "      |                                 ^",
+   "  546 |                 const valueKey = 'x-middleware-request-' + key",
+   "  547 |                 const newValue = middlewareHeaders[valueKey]",
+   "  548 |                 const oldValue = req.headers[key]",
+   "[Test Mode] ../../../../packages/next/src/server/lib/router-utils/setup-dev-bundler.ts:511:27",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  509 |           } found, please remove the conflicting files to continue:\\n`",
+   "  510 |",
+   "> 511 |           for (const p of conflictingAppPagePaths) {",
+   "      |                           ^",
+   "  512 |             const appPath = path.relative(dir, appPageFilePaths.get(p)!)",
+   "  513 |             const pagesPath = path.relative(dir, pagesPageFilePaths.get(p)!)",
+   "  514 |             errorMessage += `  \"${pagesPath}\" - \"${appPath}\"\\n`",
+   "[Test Mode] ../../../../packages/next/src/server/lib/start-server.ts:71:5",
+   "Type error: Type 'ReturnType' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.",
+   "  69 |   experimentalHttpsServer?: boolean",
+   "  70 |   quiet?: boolean",
+   "> 71 | }): ReturnType<typeof initialize> {",
+   "     |     ^",
+   "  72 |   return initialize({",
+   "  73 |     dir,",
+   "  74 |     port,",
+   "[Test Mode] ../../../../packages/next/src/server/lib/start-server.ts:349:14",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.",
+   "  347 |",
+   "  348 |   if (isDev) {",
+   "> 349 |     function watchConfigFiles(",
+   "      |              ^",
+   "  350 |       dirToWatch: string,",
+   "  351 |       onChange: (filename: string) => void",
+   "  352 |     ) {",
+   "[Test Mode] ../../../../packages/next/src/server/lib/trace/tracer.ts:420:11",
+   "Type error: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.",
+   "  418 |         const scopeBoundCb = tracer.getContext().bind(context.active(), cb)",
+   "  419 |         return tracer.trace(name, optionsObj, (_span, done) => {",
+   "> 420 |           arguments[lastArgId] = function (err: any) {",
+   "      |           ^",
+   "  421 |             done?.(err)",
+   "  422 |             return scopeBoundCb.apply(this, arguments)",
+   "  423 |           }",
+   "[Test Mode] ../../../../packages/next/src/server/lib/trace/tracer.ts:425:33",
+   "Type error: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.",
+   "  423 |           }",
+   "  424 |",
+   "> 425 |           return fn.apply(this, arguments)",
+   "      |                                 ^",
+   "  426 |         })",
+   "  427 |       } else {",
+   "  428 |         return tracer.trace(name, optionsObj, () => fn.apply(this, arguments))",
+   "[Test Mode] ../../../../packages/next/src/server/lib/trace/tracer.ts:428:68",
+   "Type error: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.",
+   "  426 |         })",
+   "  427 |       } else {",
+   "> 428 |         return tracer.trace(name, optionsObj, () => fn.apply(this, arguments))",
+   "      |                                                                    ^",
+   "  429 |       }",
+   "  430 |     }",
+   "  431 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/next-server.ts:1619:30",
+   "Type error: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  1617 |     }",
+   "  1618 |",
+   "> 1619 |     for (let [key, value] of result.response.headers) {",
+   "       |                              ^",
+   "  1620 |       if (key.toLowerCase() !== 'set-cookie') continue",
+   "  1621 |",
+   "  1622 |       // Clear existing header.",
+   "[Test Mode] ../../../../packages/next/src/server/next.ts:267:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  265 |   private didWebSocketSetup: boolean = false",
+   "  266 |",
+   "> 267 |   // @ts-expect-error These are initialized in prepare()",
+   "      |   ^",
+   "  268 |   protected requestHandler: WorkerRequestHandler",
+   "  269 |   // @ts-expect-error These are initialized in prepare()",
+   "  270 |   protected upgradeHandler: WorkerUpgradeHandler",
+   "[Test Mode] ../../../../packages/next/src/server/next.ts:269:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  267 |   // @ts-expect-error These are initialized in prepare()",
+   "  268 |   protected requestHandler: WorkerRequestHandler",
+   "> 269 |   // @ts-expect-error These are initialized in prepare()",
+   "      |   ^",
+   "  270 |   protected upgradeHandler: WorkerUpgradeHandler",
+   "  271 |   // @ts-expect-error These are initialized in prepare()",
+   "  272 |   protected renderServer: NextServer",
+   "[Test Mode] ../../../../packages/next/src/server/next.ts:271:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  269 |   // @ts-expect-error These are initialized in prepare()",
+   "  270 |   protected upgradeHandler: WorkerUpgradeHandler",
+   "> 271 |   // @ts-expect-error These are initialized in prepare()",
+   "      |   ^",
+   "  272 |   protected renderServer: NextServer",
+   "  273 |",
+   "  274 |   async prepare() {",
+   "[Test Mode] ../../../../packages/next/src/server/render.tsx:333:54",
+   "Type error: Type 'Set<number>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  331 |   } else if (hasStatusCode && !allowedStatusCodes.has(statusCode!)) {",
+   "  332 |     errors.push(",
+   "> 333 |       `\\`statusCode\\` must undefined or one of ${[...allowedStatusCodes].join(",
+   "      |                                                      ^",
+   "  334 |         ', '",
+   "  335 |       )}`",
+   "  336 |     )",
+   "[Test Mode] ../../../../packages/next/src/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.ts:83:24",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  81 |     // Make a unique array of directories. This is what lets us de-duplicate",
+   "  82 |     // loads for the same directory.",
+   "> 83 |     const unique = [...new Set(directories)]",
+   "     |                        ^",
+   "  84 |",
+   "  85 |     const results = await Promise.all(",
+   "  86 |       unique.map(async (directory) => {",
+   "[Test Mode] ../../../../packages/next/src/server/route-modules/app-route/helpers/auto-implement-methods.ts:51:51",
+   "Type error: Type 'Set<\"POST\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PUT\" | \"DELETE\" | \"PATCH\">' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  49 |",
+   "  50 |       // Get all the methods that were implemented by the userland module.",
+   "> 51 |       const allow: HTTP_METHOD[] = ['OPTIONS', ...implemented]",
+   "     |                                                   ^",
+   "  52 |",
+   "  53 |       // If the list of methods doesn't include HEAD, but it includes GET, then",
+   "  54 |       // add HEAD as it's automatically implemented.",
+   "[Test Mode] ../../../../packages/next/src/server/route-modules/pages/builtin/_error.tsx:22:3",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  20 |     Document,",
+   "  21 |   },",
+   "> 22 |   // @ts-expect-error -- Types don't account for getInitialProps. `Error` requires to be instantiated with `statusCode` but the types currently don't guarantee that.",
+   "     |   ^",
+   "  23 |   userland: moduleError,",
+   "  24 | })",
+   "  25 |",
+   "[Test Mode] ../../../../packages/next/src/server/web/adapter.ts:110:20",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  108 |   // Iterator uses an index to keep track of the current iteration. Because of deleting and appending below we can't just use the iterator.",
+   "  109 |   // Instead we use the keys before iteration.",
+   "> 110 |   const keys = [...requestUrl.searchParams.keys()]",
+   "      |                    ^",
+   "  111 |   for (const key of keys) {",
+   "  112 |     const value = requestUrl.searchParams.getAll(key)",
+   "  113 |",
+   "[Test Mode] ../../../../packages/next/src/server/web/adapter.ts:389:32",
+   "Type error: Type 'Map<any, any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  387 |   const overwrittenHeaders: string[] = []",
+   "  388 |   if (middlewareOverrideHeaders) {",
+   "> 389 |     for (const [key, value] of flightHeaders) {",
+   "      |                                ^",
+   "  390 |       finalResponse.headers.set(`x-middleware-request-${key}`, value)",
+   "  391 |       overwrittenHeaders.push(key)",
+   "  392 |     }",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:85:30",
+   "Type error: Type 'Map<string, ModuleContext>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  83 |   }",
+   "  84 |",
+   "> 85 |   for (const [key, cache] of moduleContexts) {",
+   "     |                              ^",
+   "  86 |     handleContext(key, cache, moduleContexts)",
+   "  87 |   }",
+   "  88 |   for (const [key, cache] of pendingModuleCaches) {",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:88:30",
+   "Type error: Type 'Map<string, Promise<ModuleContext>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  86 |     handleContext(key, cache, moduleContexts)",
+   "  87 |   }",
+   "> 88 |   for (const [key, cache] of pendingModuleCaches) {",
+   "     |                              ^",
+   "  89 |     handleContext(key, await cache, pendingModuleCaches)",
+   "  90 |   }",
+   "  91 | }",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:355:14",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  353 |         }",
+   "  354 |",
+   "> 355 |         init.headers = new Headers(init.headers ?? {})",
+   "      |              ^",
+   "  356 |",
+   "  357 |         // Forward subrequest header from incoming request to outgoing request",
+   "  358 |         const store = requestStore.getStore()",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:355:41",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  353 |         }",
+   "  354 |",
+   "> 355 |         init.headers = new Headers(init.headers ?? {})",
+   "      |                                         ^",
+   "  356 |",
+   "  357 |         // Forward subrequest header from incoming request to outgoing request",
+   "  358 |         const store = requestStore.getStore()",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:361:17",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  359 |         if (",
+   "  360 |           store?.headers.has('x-middleware-subrequest') &&",
+   "> 361 |           !init.headers.has('x-middleware-subrequest')",
+   "      |                 ^",
+   "  362 |         ) {",
+   "  363 |           init.headers.set(",
+   "  364 |             'x-middleware-subrequest',",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:363:16",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  361 |           !init.headers.has('x-middleware-subrequest')",
+   "  362 |         ) {",
+   "> 363 |           init.headers.set(",
+   "      |                ^",
+   "  364 |             'x-middleware-subrequest',",
+   "  365 |             store.headers.get('x-middleware-subrequest') ?? ''",
+   "  366 |           )",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:370:16",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  368 |",
+   "  369 |         const prevs =",
+   "> 370 |           init.headers.get(`x-middleware-subrequest`)?.split(':') || []",
+   "      |                ^",
+   "  371 |         const value = prevs.concat(options.moduleName).join(':')",
+   "  372 |         init.headers.set('x-middleware-subrequest', value)",
+   "  373 |",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:372:14",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  370 |           init.headers.get(`x-middleware-subrequest`)?.split(':') || []",
+   "  371 |         const value = prevs.concat(options.moduleName).join(':')",
+   "> 372 |         init.headers.set('x-middleware-subrequest', value)",
+   "      |              ^",
+   "  373 |",
+   "  374 |         if (!init.headers.has('user-agent')) {",
+   "  375 |           init.headers.set(`user-agent`, `Next.js Middleware`)",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:374:19",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  372 |         init.headers.set('x-middleware-subrequest', value)",
+   "  373 |",
+   "> 374 |         if (!init.headers.has('user-agent')) {",
+   "      |                   ^",
+   "  375 |           init.headers.set(`user-agent`, `Next.js Middleware`)",
+   "  376 |         }",
+   "  377 |",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:375:16",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  373 |",
+   "  374 |         if (!init.headers.has('user-agent')) {",
+   "> 375 |           init.headers.set(`user-agent`, `Next.js Middleware`)",
+   "      |                ^",
+   "  376 |         }",
+   "  377 |",
+   "  378 |         const response =",
+   "[Test Mode] ../../../../packages/next/src/server/web/sandbox/context.ts:397:46",
+   "Type error: Property 'headers' does not exist on type '{}'.",
+   "  395 |                 headers: {",
+   "  396 |                   ...Object.fromEntries(input.headers),",
+   "> 397 |                   ...Object.fromEntries(init.headers),",
+   "      |                                              ^",
+   "  398 |                 },",
+   "  399 |               })",
+   "  400 |             : __fetch(String(input), init)",
+   "[Test Mode] ../../../../packages/next/src/server/web/spec-extension/adapters/headers.ts:195:33",
+   "Type error: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  193 |     thisArg?: any",
+   "  194 |   ): void {",
+   "> 195 |     for (const [name, value] of this.entries()) {",
+   "      |                                 ^",
+   "  196 |       callbackfn.call(thisArg, value, name, this)",
+   "  197 |     }",
+   "  198 |   }",
+   "[Test Mode] ../../../../packages/next/src/server/web/spec-extension/response.ts:22:32",
+   "Type error: Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  20 |",
+   "  21 |     const keys = []",
+   "> 22 |     for (const [key, value] of init.request.headers) {",
+   "     |                                ^",
+   "  23 |       headers.set('x-middleware-request-' + key, value)",
+   "  24 |       keys.push(key)",
+   "  25 |     }",
+   "[Test Mode] ../../../../packages/next/src/server/web/utils.ts:123:32",
+   "Type error: Type 'IterableIterator<[string, string]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  121 |   const cookies: string[] = []",
+   "  122 |   if (headers) {",
+   "> 123 |     for (const [key, value] of headers.entries()) {",
+   "      |                                ^",
+   "  124 |       if (key.toLowerCase() === 'set-cookie') {",
+   "  125 |         // We may have gotten a comma joined string of cookies, or multiple",
+   "  126 |         // set-cookie headers. We need to merge them into one header array",
+   "[Test Mode] ../../../../packages/next/src/shared/lib/head.tsx:37:9",
+   "Type error: Unused '@ts-expect-error' directive.",
+   "  35 |       // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]",
+   "  36 |       React.Children.toArray(child.props.children).reduce(",
+   "> 37 |         // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]",
+   "     |         ^",
+   "  38 |         (",
+   "  39 |           fragmentList: Array<React.ReactElement<any>>,",
+   "  40 |           fragmentChild: React.ReactElement | number | string",
+   "[Test Mode] ../../../../packages/next/src/shared/lib/router/utils/sorted-routes.ts:17:31",
+   "Type error: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  15 |",
+   "  16 |   private _smoosh(prefix: string = '/'): string[] {",
+   "> 17 |     const childrenPaths = [...this.children.keys()].sort()",
+   "     |                               ^",
+   "  18 |     if (this.slugName !== null) {",
+   "  19 |       childrenPaths.splice(childrenPaths.indexOf('[]'), 1)",
+   "  20 |     }",
+   "[Test Mode] ../../../../packages/next/src/shared/lib/router/utils/sorted-routes.ts:115:16",
+   "Type error: Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.",
+   "  113 |       }",
+   "  114 |",
+   "> 115 |       function handleSlug(previousSlug: string | null, nextSlug: string) {",
+   "      |                ^",
+   "  116 |         if (previousSlug !== null) {",
+   "  117 |           // If the specific segment already has a slug but the slug is not `something`",
+   "  118 |           // This prevents collisions like:",
+   "===== TS errors =====",
+   "Failed to compile.",
+   "../../../../packages/next/src/build/analysis/get-page-static-info.ts:523:26",
+   "Type error: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.",
+   "  521 |",
+   "  522 |     if (extraProperties && pageType === PAGE_TYPES.APP) {",
+   "> 523 |       for (const prop of extraProperties) {",
+   "      |                          ^",
+   "  524 |         if (!AUTHORIZED_EXTRA_ROUTER_PROPS.includes(prop)) continue",
+   "  525 |         try {",
+   "  526 |           extraConfig[prop] = extractExportedConstValue(swcAST, prop)",
+ ]

  27 |             .split('\n')
  28 |             .filter((line: string) => line && !line.trim().startsWith('⚠'))
> 29 |           expect(errors).toEqual([])
     |                          ^
  30 |           expect(code).toBe(0)
  31 |         })
  32 |       }

  at Object.toEqual (integration/next-image-new/svgo-webpack/test/index.test.ts:29:26)

Read more about building and testing Next.js in contributing.md.

pnpm test test/integration/app-types/app-types.test.js

  • app type checking > production mode > should generate route types correctly and report link error
Expand output

● app type checking › production mode › should generate route types correctly and report link error

expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 1

@@ -1,6 +1,7 @@
  Array [
+   6,
    17,
    18,
    19,
    20,
    21,

  42 |         const ST = 17
  43 |         const ED = 34
> 44 |         expect(errorLines).toEqual(
     |                            ^
  45 |           Array.from({ length: ED - ST + 1 }, (_, i) => i + ST)
  46 |         )
  47 |       })

  at Object.toEqual (integration/app-types/app-types.test.js:44:28)

Read more about building and testing Next.js in contributing.md.

pnpm test test/integration/typescript-custom-tsconfig/test/index.test.js

  • Custom TypeScript Config > production mode > should warn when using custom typescript path
Expand output

● Custom TypeScript Config › production mode › should warn when using custom typescript path

expect(received).toMatch(expected)

Expected pattern: /Using tsconfig file:/
Received string:  "  ▲ Next.js 15.0.0-canary.28·
   Checking validity of types ...
"

  17 |         })
  18 |
> 19 |         expect(stdout).toMatch(warnMessage)
     |                        ^
  20 |       })
  21 |     }
  22 |   )

  at Object.toMatch (integration/typescript-custom-tsconfig/test/index.test.js:19:24)

Read more about building and testing Next.js in contributing.md.

@ijjk
Copy link
Member

ijjk commented May 13, 2024

Stats from current PR

Default Build (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js implement-stream-utils Change
buildDuration 16.7s 15.9s N/A
buildDurationCached 8.6s 8s N/A
nodeModulesSize 359 MB 383 MB ⚠️ +24.2 MB
nextStartRea..uration (ms) 399ms 396ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js implement-stream-utils Change
3377.HASH.js gzip 168 B 168 B
6561-HASH.js gzip 36.1 kB 36.1 kB N/A
7908-HASH.js gzip 5.06 kB 5.07 kB N/A
7ba1ee62-HASH.js gzip 51.7 kB 51.7 kB N/A
framework-HASH.js gzip 56.7 kB 56.7 kB N/A
main-app-HASH.js gzip 222 B 217 B N/A
main-HASH.js gzip 32.3 kB 32.3 kB N/A
webpack-HASH.js gzip 1.71 kB 1.71 kB N/A
Overall change 168 B 168 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js implement-stream-utils Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js implement-stream-utils Change
_app-HASH.js gzip 192 B 192 B
_error-HASH.js gzip 192 B 191 B N/A
amp-HASH.js gzip 511 B 511 B
css-HASH.js gzip 340 B 342 B N/A
dynamic-HASH.js gzip 2.53 kB 2.52 kB N/A
edge-ssr-HASH.js gzip 265 B 266 B N/A
head-HASH.js gzip 361 B 363 B N/A
hooks-HASH.js gzip 389 B 389 B
image-HASH.js gzip 4.27 kB 4.27 kB N/A
index-HASH.js gzip 268 B 268 B
link-HASH.js gzip 2.68 kB 2.68 kB N/A
routerDirect..HASH.js gzip 327 B 324 B N/A
script-HASH.js gzip 395 B 394 B N/A
withRouter-HASH.js gzip 322 B 321 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 1.47 kB 1.47 kB
Client Build Manifests
vercel/next.js canary vercel/next.js implement-stream-utils Change
_buildManifest.js gzip 485 B 482 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js implement-stream-utils Change
index.html gzip 523 B 522 B N/A
link.html gzip 536 B 536 B
withRouter.html gzip 520 B 518 B N/A
Overall change 536 B 536 B
Edge SSR bundle Size Overall increase ⚠️
vercel/next.js canary vercel/next.js implement-stream-utils Change
edge-ssr.js gzip 125 kB 127 kB ⚠️ +2.11 kB
page.js gzip 167 kB 167 kB ⚠️ +536 B
Overall change 291 kB 294 kB ⚠️ +2.64 kB
Middleware size
vercel/next.js canary vercel/next.js implement-stream-utils Change
middleware-b..fest.js gzip 661 B 658 B N/A
middleware-r..fest.js gzip 155 B 154 B N/A
middleware.js gzip 29.5 kB 29.5 kB N/A
edge-runtime..pack.js gzip 1.03 kB 1.03 kB
Overall change 1.03 kB 1.03 kB
Next Runtimes Overall increase ⚠️
vercel/next.js canary vercel/next.js implement-stream-utils Change
app-page-exp...dev.js gzip 184 kB 241 kB ⚠️ +57.1 kB
app-page-exp..prod.js gzip 112 kB 145 kB ⚠️ +32.4 kB
app-page-tur..prod.js gzip 123 kB 160 kB ⚠️ +37.4 kB
app-page-tur..prod.js gzip 119 kB 182 kB ⚠️ +63.1 kB
app-page.run...dev.js gzip 178 kB 282 kB ⚠️ +103 kB
app-page.run..prod.js gzip 109 kB 168 kB ⚠️ +59.7 kB
app-route-ex...dev.js gzip 23.4 kB 23.4 kB
app-route-ex..prod.js gzip 18.8 kB 18.8 kB
app-route-tu..prod.js gzip 18.8 kB 18.8 kB
app-route-tu..prod.js gzip 18.6 kB 18.6 kB
app-route.ru...dev.js gzip 24.6 kB 24.6 kB
app-route.ru..prod.js gzip 18.6 kB 18.6 kB
pages-api-tu..prod.js gzip 9.53 kB 9.54 kB N/A
pages-api.ru...dev.js gzip 9.8 kB 9.81 kB N/A
pages-api.ru..prod.js gzip 9.53 kB 9.54 kB N/A
pages-turbo...prod.js gzip 21.5 kB 74.4 kB ⚠️ +52.8 kB
pages.runtim...dev.js gzip 22.1 kB 108 kB ⚠️ +85.4 kB
pages.runtim..prod.js gzip 21.5 kB 74.4 kB ⚠️ +52.8 kB
server.runti..prod.js gzip 51.8 kB 156 kB ⚠️ +104 kB
Overall change 1.06 MB 1.71 MB ⚠️ +648 kB
build cache Overall increase ⚠️
vercel/next.js canary vercel/next.js implement-stream-utils Change
0.pack gzip 1.67 MB 1.67 MB ⚠️ +3.3 kB
index.pack gzip 129 kB 130 kB ⚠️ +514 B
Overall change 1.8 MB 1.8 MB ⚠️ +3.81 kB
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 5963: /***/ (
+    /***/ 7904: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -30,7 +30,7 @@
         default: () => /* binding */ nHandler,
       });
 
-      // NAMESPACE OBJECT: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsG8Cc8t%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // NAMESPACE OBJECT: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsG8Cc8t%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       var page_next_edge_ssr_entry_namespaceObject = {};
       __webpack_require__.r(page_next_edge_ssr_entry_namespaceObject);
       __webpack_require__.d(page_next_edge_ssr_entry_namespaceObject, {
@@ -59,8 +59,7 @@
         preconnect: () => entry_base /* preconnect */.$P,
         preloadFont: () => entry_base /* preloadFont */.C5,
         preloadStyle: () => entry_base /* preloadStyle */.oH,
-        renderToReadableStream: () =>
-          entry_base /* renderToReadableStream */.aW,
+        renderToStream: () => entry_base /* renderToStream */.Pg,
         requestAsyncStorage: () => entry_base /* requestAsyncStorage */.Fg,
         routeModule: () => routeModule,
         serverHooks: () => entry_base /* serverHooks */.GP,
@@ -70,35 +69,35 @@
         tree: () => tree,
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(1567);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(8537);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 86 modules
-      var render = __webpack_require__(9776);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
-      var incremental_cache = __webpack_require__(5097);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/app-render/app-render.js + 51 modules
-      var app_render = __webpack_require__(5762);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(4178);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(6780);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(8011);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/app-render/entry-base.js + 10 modules
-      var entry_base = __webpack_require__(9814); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsG8Cc8t%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(2030);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(7857);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 86 modules
+      var render = __webpack_require__(6485);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+      var incremental_cache = __webpack_require__(7604);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/app-render/app-render.js + 49 modules
+      var app_render = __webpack_require__(7824);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(5563);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(5891);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(5037);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/app-render/entry-base.js + 10 modules
+      var entry_base = __webpack_require__(3744); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsG8Cc8t%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       const component0 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 130)
+          __webpack_require__.bind(__webpack_require__, 7554)
         );
       const component1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 4455)
+          __webpack_require__.bind(__webpack_require__, 287)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 69)
+          __webpack_require__.bind(__webpack_require__, 5710)
         );
 
       // We inject the tree and pages here so that we can use them in the route
@@ -164,12 +163,12 @@
       });
 
       //# sourceMappingURL=app-page.js.map
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(1866);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(1863);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(5372); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0aCI6Ii9fbmV4dC9pbWFnZSIsImxvYWRlciI6ImRlZmF1bHQiLCJsb2FkZXJGaWxlIjoiIiwiZG9tYWlucyI6W10sImRpc2FibGVTdGF0aWNJbWFnZXMiOmZhbHNlLCJtaW5pbXVtQ2FjaGVUVEwiOjYwLCJmb3JtYXRzIjpbImltYWdlL3dlYnAiXSwiZGFuZ2Vyb3VzbHlBbGxvd1NWRyI6ZmFsc2UsImNvbnRlbnRTZWN1cml0eVBvbGljeSI6InNjcmlwdC1zcmMgJ25vbmUnOyBmcmFtZS1zcmMgJ25vbmUnOyBzYW5kYm94OyIsImNvbnRlbnREaXNwb3NpdGlvblR5cGUiOiJhdHRhY2htZW50IiwicmVtb3RlUGF0dGVybnMiOltdLCJ1bm9wdGltaXplZCI6ZmFsc2V9LCJkZXZJbmRpY2F0b3JzIjp7ImJ1aWxkQWN0aXZpdHkiOnRydWUsImJ1aWxkQWN0aXZpdHlQb3NpdGlvbiI6ImJvdHRvbS1yaWdodCJ9LCJvbkRlbWFuZEVudHJpZXMiOnsibWF4SW5hY3RpdmVBZ2UiOjYwMDAwLCJwYWdlc0J1ZmZlckxlbmd0aCI6NX0sImFtcCI6eyJjYW5vbmljYWxCYXNlIjoiIn0sImJhc2VQYXRoIjoiIiwic2Fzc09wdGlvbnMiOnt9LCJ0cmFpbGluZ1NsYXNoIjpmYWxzZSwiaTE4biI6bnVsbCwicHJvZHVjdGlvbkJyb3dzZXJTb3VyY2VNYXBzIjpmYWxzZSwib3B0aW1pemVGb250cyI6dHJ1ZSwiZXhjbHVkZURlZmF1bHRNb21lbnRMb2NhbGVzIjp0cnVlLCJzZXJ2ZXJSdW50aW1lQ29uZmlnIjp7fSwicHVibGljUnVudGltZUNvbmZpZyI6e30sInJlYWN0UHJvZHVjdGlvblByb2ZpbGluZyI6ZmFsc2UsInJlYWN0U3RyaWN0TW9kZSI6bnVsbCwiaHR0cEFnZW50T3B0aW9ucyI6eyJrZWVwQWxpdmUiOnRydWV9LCJzdGF0aWNQYWdlR2VuZXJhdGlvblRpbWVvdXQiOjYwLCJtb2R1bGFyaXplSW1wb3J0cyI6eyJAbXVpL2ljb25zLW1hdGVyaWFsIjp7InRyYW5zZm9ybSI6IkBtdWkvaWNvbnMtbWF0ZXJpYWwve3ttZW1iZXJ9fSJ9LCJsb2Rhc2giOnsidHJhbnNmb3JtIjoibG9kYXNoL3t7bWVtYmVyfX0ifX0sImV4cGVyaW1lbnRhbCI6eyJmbHlpbmdTaHV0dGxlIjpmYWxzZSwicHJlcmVuZGVyRWFybHlFeGl0Ijp0cnVlLCJzZXJ2ZXJNaW5pZmljYXRpb24iOnRydWUsInNlcnZlclNvdXJjZU1hcHMiOmZhbHNlLCJsaW5rTm9Ub3VjaFN0YXJ0IjpmYWxzZSwiY2FzZVNlbnNpdGl2ZVJvdXRlcyI6ZmFsc2UsInByZWxvYWRFbnRyaWVzT25TdGFydCI6dHJ1ZSwiY2xpZW50Um91dGVyRmlsdGVyIjp0cnVlLCJjbGllbnRSb3V0ZXJGaWx0ZXJSZWRpcmVjdHMiOmZhbHNlLCJmZXRjaENhY2hlS2V5UHJlZml4IjoiIiwibWlkZGxld2FyZVByZWZldGNoIjoiZmxleGlibGUiLCJvcHRpbWlzdGljQ2xpZW50Q2FjaGUiOnRydWUsIm1hbnVhbENsaWVudEJhc2VQYXRoIjpmYWxzZSwiY3B1cyI6MTksIm1lbW9yeUJhc2VkV29ya2Vyc0NvdW50IjpmYWxzZSwiaXNyRmx1c2hUb0Rpc2siOnRydWUsIndvcmtlclRocmVhZHMiOmZhbHNlLCJvcHRpbWl6ZUNzcyI6ZmFsc2UsIm5leHRTY3JpcHRXb3JrZXJzIjpmYWxzZSwic2Nyb2xsUmVzdG9yYXRpb24iOmZhbHNlLCJleHRlcm5hbERpciI6ZmFsc2UsImRpc2FibGVPcHRpbWl6ZWRMb2FkaW5nIjpmYWxzZSwiZ3ppcFNpemUiOnRydWUsImNyYUNvbXBhdCI6ZmFsc2UsImVzbUV4dGVybmFscyI6dHJ1ZSwiZnVsbHlTcGVjaWZpZWQiOmZhbHNlLCJvdXRwdXRGaWxlVHJhY2luZ1Jvb3QiOiIvdG1wL25leHQtc3RhdHNHOENjOHQvc3RhdHMtYXBwIiwic3djVHJhY2VQcm9maWxpbmciOmZhbHNlLCJmb3JjZVN3Y1RyYW5zZm9ybXMiOmZhbHNlLCJsYXJnZVBhZ2VEYXRhQnl0ZXMiOjEyODAwMCwiYWRqdXN0Rm9udEZhbGxiYWNrcyI6ZmFsc2UsImFkanVzdEZvbnRGYWxsYmFja3NXaXRoU2l6ZUFkanVzdCI6ZmFsc2UsInR5cGVkUm91dGVzIjpmYWxzZSwiaW5zdHJ1bWVudGF0aW9uSG9vayI6ZmFsc2UsInBhcmFsbGVsU2VydmVyQ29tcGlsZXMiOmZhbHNlLCJwYXJhbGxlbFNlcnZlckJ1aWxkVHJhY2VzIjpmYWxzZSwicHByIjpmYWxzZSwid2VicGFja01lbW9yeU9wdGltaXphdGlvbnMiOmZhbHNlLCJvcHRpbWl6ZVNlcnZlclJlYWN0Ijp0cnVlLCJ1c2VFYXJseUltcG9ydCI6ZmFsc2UsInN0YWxlVGltZXMiOnsiZHluYW1pYyI6MCwic3RhdGljIjozMDB9LCJhZnRlciI6ZmFsc2UsIm9wdGltaXplUGFja2FnZUltcG9ydHMiOlsibHVjaWRlLXJlYWN0IiwiZGF0ZS1mbnMiLCJsb2Rhc2gtZXMiLCJyYW1kYSIsImFudGQiLCJyZWFjdC1ib290c3RyYXAiLCJhaG9va3MiLCJAYW50LWRlc2lnbi9pY29ucyIsIkBoZWFkbGVzc3VpL3JlYWN0IiwiQGhlYWRsZXNzdWktZmxvYXQvcmVhY3QiLCJAaGVyb2ljb25zL3JlYWN0LzIwL3NvbGlkIiwiQGhlcm9pY29ucy9yZWFjdC8yNC9zb2xpZCIsIkBoZXJvaWNvbnMvcmVhY3QvMjQvb3V0bGluZSIsIkB2aXN4L3Zpc3giLCJAdHJlbW9yL3JlYWN0IiwicnhqcyIsIkBtdWkvbWF0ZXJpYWwiLCJAbXVpL2ljb25zLW1hdGVyaWFsIiwicmVjaGFydHMiLCJyZWFjdC11c2UiLCJlZmZlY3QiLCJAZWZmZWN0L3NjaGVtYSIsIkBlZmZlY3QvcGxhdGZvcm0iLCJAZWZmZWN0L3BsYXRmb3JtLW5vZGUiLCJAZWZmZWN0L3BsYXRmb3JtLWJyb3dzZXIiLCJAZWZmZWN0L3BsYXRmb3JtLWJ1biIsIkBlZmZlY3Qvc3FsIiwiQGVmZmVjdC9zcWwtbXNzcWwiLCJAZWZmZWN0L3NxbC1teXNxbDIiLCJAZWZmZWN0L3NxbC1wZyIsIkBlZmZlY3Qvc3FsLXNxdWxpdGUtbm9kZSIsIkBlZmZlY3Qvc3FsLXNxdWxpdGUtYnVuIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS13YXNtIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1yZWFjdC1uYXRpdmUiLCJAZWZmZWN0L3JwYyIsIkBlZmZlY3QvcnBjLWh0dHAiLCJAZWZmZWN0L3R5cGVjbGFzcyIsIkBlZmZlY3QvZXhwZXJpbWVudGFsIiwiQGVmZmVjdC9vcGVudGVsZW1ldHJ5IiwiQG1hdGVyaWFsLXVpL2NvcmUiLCJAbWF0ZXJpYWwtdWkvaWNvbnMiLCJAdGFibGVyL2ljb25zLXJlYWN0IiwibXVpLWNvcmUiLCJyZWFjdC1pY29ucy9haSIsInJlYWN0LWljb25zL2JpIiwicmVhY3QtaWNvbnMvYnMiLCJyZWFjdC1pY29ucy9jZyIsInJlYWN0LWljb25zL2NpIiwicmVhY3QtaWNvbnMvZGkiLCJyZWFjdC1pY29ucy9mYSIsInJlYWN0LWljb25zL2ZhNiIsInJlYWN0LWljb25zL2ZjIiwicmVhY3QtaWNvbnMvZmkiLCJyZWFjdC1pY29ucy9naSIsInJlYWN0LWljb25zL2dvIiwicmVhY3QtaWNvbnMvZ3IiLCJyZWFjdC1pY29ucy9oaSIsInJlYWN0LWljb25zL2hpMiIsInJlYWN0LWljb25zL2ltIiwicmVhY3QtaWNvbnMvaW8iLCJyZWFjdC1pY29ucy9pbzUiLCJyZWFjdC1pY29ucy9saWEiLCJyZWFjdC1pY29ucy9saWIiLCJyZWFjdC1pY29ucy9sdSIsInJlYWN0LWljb25zL21kIiwicmVhY3QtaWNvbnMvcGkiLCJyZWFjdC1pY29ucy9yaSIsInJlYWN0LWljb25zL3J4IiwicmVhY3QtaWNvbnMvc2kiLCJyZWFjdC1pY29ucy9zbCIsInJlYWN0LWljb25zL3RiIiwicmVhY3QtaWNvbnMvdGZpIiwicmVhY3QtaWNvbnMvdGkiLCJyZWFjdC1pY29ucy92c2MiLCJyZWFjdC1pY29ucy93aSJdfSwiYnVuZGxlUGFnZXNSb3V0ZXJEZXBlbmRlbmNpZXMiOmZhbHNlLCJjb25maWdGaWxlIjoiL3RtcC9uZXh0LXN0YXRzRzhDYzh0L3N0YXRzLWFwcC9uZXh0LmNvbmZpZy5qcyIsImNvbmZpZ0ZpbGVOYW1lIjoibmV4dC5jb25maWcuanMifQ==","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzRzhDYzh0JTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JnByZWZlcnJlZFJlZ2lvbj0mbWlkZGxld2FyZUNvbmZpZz1lMzAlM0Qh","sriEnabled":false,"middlewareConfig":"e30="}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(2055);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(9032);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(3314); // CONCATENATED MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0aCI6Ii9fbmV4dC9pbWFnZSIsImxvYWRlciI6ImRlZmF1bHQiLCJsb2FkZXJGaWxlIjoiIiwiZG9tYWlucyI6W10sImRpc2FibGVTdGF0aWNJbWFnZXMiOmZhbHNlLCJtaW5pbXVtQ2FjaGVUVEwiOjYwLCJmb3JtYXRzIjpbImltYWdlL3dlYnAiXSwiZGFuZ2Vyb3VzbHlBbGxvd1NWRyI6ZmFsc2UsImNvbnRlbnRTZWN1cml0eVBvbGljeSI6InNjcmlwdC1zcmMgJ25vbmUnOyBmcmFtZS1zcmMgJ25vbmUnOyBzYW5kYm94OyIsImNvbnRlbnREaXNwb3NpdGlvblR5cGUiOiJhdHRhY2htZW50IiwicmVtb3RlUGF0dGVybnMiOltdLCJ1bm9wdGltaXplZCI6ZmFsc2V9LCJkZXZJbmRpY2F0b3JzIjp7ImJ1aWxkQWN0aXZpdHkiOnRydWUsImJ1aWxkQWN0aXZpdHlQb3NpdGlvbiI6ImJvdHRvbS1yaWdodCJ9LCJvbkRlbWFuZEVudHJpZXMiOnsibWF4SW5hY3RpdmVBZ2UiOjYwMDAwLCJwYWdlc0J1ZmZlckxlbmd0aCI6NX0sImFtcCI6eyJjYW5vbmljYWxCYXNlIjoiIn0sImJhc2VQYXRoIjoiIiwic2Fzc09wdGlvbnMiOnt9LCJ0cmFpbGluZ1NsYXNoIjpmYWxzZSwiaTE4biI6bnVsbCwicHJvZHVjdGlvbkJyb3dzZXJTb3VyY2VNYXBzIjpmYWxzZSwib3B0aW1pemVGb250cyI6dHJ1ZSwiZXhjbHVkZURlZmF1bHRNb21lbnRMb2NhbGVzIjp0cnVlLCJzZXJ2ZXJSdW50aW1lQ29uZmlnIjp7fSwicHVibGljUnVudGltZUNvbmZpZyI6e30sInJlYWN0UHJvZHVjdGlvblByb2ZpbGluZyI6ZmFsc2UsInJlYWN0U3RyaWN0TW9kZSI6bnVsbCwiaHR0cEFnZW50T3B0aW9ucyI6eyJrZWVwQWxpdmUiOnRydWV9LCJzdGF0aWNQYWdlR2VuZXJhdGlvblRpbWVvdXQiOjYwLCJtb2R1bGFyaXplSW1wb3J0cyI6eyJAbXVpL2ljb25zLW1hdGVyaWFsIjp7InRyYW5zZm9ybSI6IkBtdWkvaWNvbnMtbWF0ZXJpYWwve3ttZW1iZXJ9fSJ9LCJsb2Rhc2giOnsidHJhbnNmb3JtIjoibG9kYXNoL3t7bWVtYmVyfX0ifX0sImV4cGVyaW1lbnRhbCI6eyJmbHlpbmdTaHV0dGxlIjpmYWxzZSwicHJlcmVuZGVyRWFybHlFeGl0Ijp0cnVlLCJzZXJ2ZXJNaW5pZmljYXRpb24iOnRydWUsInNlcnZlclNvdXJjZU1hcHMiOmZhbHNlLCJsaW5rTm9Ub3VjaFN0YXJ0IjpmYWxzZSwiY2FzZVNlbnNpdGl2ZVJvdXRlcyI6ZmFsc2UsInByZWxvYWRFbnRyaWVzT25TdGFydCI6dHJ1ZSwiY2xpZW50Um91dGVyRmlsdGVyIjp0cnVlLCJjbGllbnRSb3V0ZXJGaWx0ZXJSZWRpcmVjdHMiOmZhbHNlLCJmZXRjaENhY2hlS2V5UHJlZml4IjoiIiwibWlkZGxld2FyZVByZWZldGNoIjoiZmxleGlibGUiLCJvcHRpbWlzdGljQ2xpZW50Q2FjaGUiOnRydWUsIm1hbnVhbENsaWVudEJhc2VQYXRoIjpmYWxzZSwiY3B1cyI6MTksIm1lbW9yeUJhc2VkV29ya2Vyc0NvdW50IjpmYWxzZSwiaXNyRmx1c2hUb0Rpc2siOnRydWUsIndvcmtlclRocmVhZHMiOmZhbHNlLCJvcHRpbWl6ZUNzcyI6ZmFsc2UsIm5leHRTY3JpcHRXb3JrZXJzIjpmYWxzZSwic2Nyb2xsUmVzdG9yYXRpb24iOmZhbHNlLCJleHRlcm5hbERpciI6ZmFsc2UsImRpc2FibGVPcHRpbWl6ZWRMb2FkaW5nIjpmYWxzZSwiZ3ppcFNpemUiOnRydWUsImNyYUNvbXBhdCI6ZmFsc2UsImVzbUV4dGVybmFscyI6dHJ1ZSwiZnVsbHlTcGVjaWZpZWQiOmZhbHNlLCJvdXRwdXRGaWxlVHJhY2luZ1Jvb3QiOiIvdG1wL25leHQtc3RhdHNHOENjOHQvc3RhdHMtYXBwIiwic3djVHJhY2VQcm9maWxpbmciOmZhbHNlLCJmb3JjZVN3Y1RyYW5zZm9ybXMiOmZhbHNlLCJsYXJnZVBhZ2VEYXRhQnl0ZXMiOjEyODAwMCwiYWRqdXN0Rm9udEZhbGxiYWNrcyI6ZmFsc2UsImFkanVzdEZvbnRGYWxsYmFja3NXaXRoU2l6ZUFkanVzdCI6ZmFsc2UsInR5cGVkUm91dGVzIjpmYWxzZSwiaW5zdHJ1bWVudGF0aW9uSG9vayI6ZmFsc2UsInBhcmFsbGVsU2VydmVyQ29tcGlsZXMiOmZhbHNlLCJwYXJhbGxlbFNlcnZlckJ1aWxkVHJhY2VzIjpmYWxzZSwicHByIjpmYWxzZSwid2VicGFja01lbW9yeU9wdGltaXphdGlvbnMiOmZhbHNlLCJvcHRpbWl6ZVNlcnZlclJlYWN0Ijp0cnVlLCJ1c2VFYXJseUltcG9ydCI6ZmFsc2UsInN0YWxlVGltZXMiOnsiZHluYW1pYyI6MCwic3RhdGljIjozMDB9LCJhZnRlciI6ZmFsc2UsIm9wdGltaXplUGFja2FnZUltcG9ydHMiOlsibHVjaWRlLXJlYWN0IiwiZGF0ZS1mbnMiLCJsb2Rhc2gtZXMiLCJyYW1kYSIsImFudGQiLCJyZWFjdC1ib290c3RyYXAiLCJhaG9va3MiLCJAYW50LWRlc2lnbi9pY29ucyIsIkBoZWFkbGVzc3VpL3JlYWN0IiwiQGhlYWRsZXNzdWktZmxvYXQvcmVhY3QiLCJAaGVyb2ljb25zL3JlYWN0LzIwL3NvbGlkIiwiQGhlcm9pY29ucy9yZWFjdC8yNC9zb2xpZCIsIkBoZXJvaWNvbnMvcmVhY3QvMjQvb3V0bGluZSIsIkB2aXN4L3Zpc3giLCJAdHJlbW9yL3JlYWN0IiwicnhqcyIsIkBtdWkvbWF0ZXJpYWwiLCJAbXVpL2ljb25zLW1hdGVyaWFsIiwicmVjaGFydHMiLCJyZWFjdC11c2UiLCJlZmZlY3QiLCJAZWZmZWN0L3NjaGVtYSIsIkBlZmZlY3QvcGxhdGZvcm0iLCJAZWZmZWN0L3BsYXRmb3JtLW5vZGUiLCJAZWZmZWN0L3BsYXRmb3JtLWJyb3dzZXIiLCJAZWZmZWN0L3BsYXRmb3JtLWJ1biIsIkBlZmZlY3Qvc3FsIiwiQGVmZmVjdC9zcWwtbXNzcWwiLCJAZWZmZWN0L3NxbC1teXNxbDIiLCJAZWZmZWN0L3NxbC1wZyIsIkBlZmZlY3Qvc3FsLXNxdWxpdGUtbm9kZSIsIkBlZmZlY3Qvc3FsLXNxdWxpdGUtYnVuIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS13YXNtIiwiQGVmZmVjdC9zcWwtc3F1bGl0ZS1yZWFjdC1uYXRpdmUiLCJAZWZmZWN0L3JwYyIsIkBlZmZlY3QvcnBjLWh0dHAiLCJAZWZmZWN0L3R5cGVjbGFzcyIsIkBlZmZlY3QvZXhwZXJpbWVudGFsIiwiQGVmZmVjdC9vcGVudGVsZW1ldHJ5IiwiQG1hdGVyaWFsLXVpL2NvcmUiLCJAbWF0ZXJpYWwtdWkvaWNvbnMiLCJAdGFibGVyL2ljb25zLXJlYWN0IiwibXVpLWNvcmUiLCJyZWFjdC1pY29ucy9haSIsInJlYWN0LWljb25zL2JpIiwicmVhY3QtaWNvbnMvYnMiLCJyZWFjdC1pY29ucy9jZyIsInJlYWN0LWljb25zL2NpIiwicmVhY3QtaWNvbnMvZGkiLCJyZWFjdC1pY29ucy9mYSIsInJlYWN0LWljb25zL2ZhNiIsInJlYWN0LWljb25zL2ZjIiwicmVhY3QtaWNvbnMvZmkiLCJyZWFjdC1pY29ucy9naSIsInJlYWN0LWljb25zL2dvIiwicmVhY3QtaWNvbnMvZ3IiLCJyZWFjdC1pY29ucy9oaSIsInJlYWN0LWljb25zL2hpMiIsInJlYWN0LWljb25zL2ltIiwicmVhY3QtaWNvbnMvaW8iLCJyZWFjdC1pY29ucy9pbzUiLCJyZWFjdC1pY29ucy9saWEiLCJyZWFjdC1pY29ucy9saWIiLCJyZWFjdC1pY29ucy9sdSIsInJlYWN0LWljb25zL21kIiwicmVhY3QtaWNvbnMvcGkiLCJyZWFjdC1pY29ucy9yaSIsInJlYWN0LWljb25zL3J4IiwicmVhY3QtaWNvbnMvc2kiLCJyZWFjdC1pY29ucy9zbCIsInJlYWN0LWljb25zL3RiIiwicmVhY3QtaWNvbnMvdGZpIiwicmVhY3QtaWNvbnMvdGkiLCJyZWFjdC1pY29ucy92c2MiLCJyZWFjdC1pY29ucy93aSJdfSwiYnVuZGxlUGFnZXNSb3V0ZXJEZXBlbmRlbmNpZXMiOmZhbHNlLCJjb25maWdGaWxlIjoiL3RtcC9uZXh0LXN0YXRzRzhDYzh0L3N0YXRzLWFwcC9uZXh0LmNvbmZpZy5qcyIsImNvbmZpZ0ZpbGVOYW1lIjoibmV4dC5jb25maWcuanMifQ==","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzRzhDYzh0JTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JnByZWZlcnJlZFJlZ2lvbj0mbWlkZGxld2FyZUNvbmZpZz1lMzAlM0Qh","sriEnabled":false,"middlewareConfig":"e30="}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -428,47 +427,47 @@
       /***/
     },
 
-    /***/ 7065: /***/ (
+    /***/ 9417: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 4877)
+        __webpack_require__.bind(__webpack_require__, 3475)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3594)
+        __webpack_require__.bind(__webpack_require__, 4242)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9991)
+        __webpack_require__.bind(__webpack_require__, 12)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9492)
+        __webpack_require__.bind(__webpack_require__, 3877)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3467)
+        __webpack_require__.bind(__webpack_require__, 1138)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 6075)
+        __webpack_require__.bind(__webpack_require__, 8752)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 4001)
+        __webpack_require__.bind(__webpack_require__, 4199)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5091)
+        __webpack_require__.bind(__webpack_require__, 394)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 4442)
+        __webpack_require__.bind(__webpack_require__, 3202)
       );
 
       /***/
     },
 
-    /***/ 5126: /***/ () => {
+    /***/ 6035: /***/ () => {
       /***/
     },
 
-    /***/ 69: /***/ (
+    /***/ 5710: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -488,7 +487,7 @@
       /***/
     },
 
-    /***/ 130: /***/ (
+    /***/ 7554: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -500,7 +499,7 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(8361);
+        __webpack_require__(3539);
 
       function RootLayout({ children }) {
         return /*#__PURE__*/ (0,
@@ -519,7 +518,7 @@
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ __webpack_require__.O(0, [653, 854], () => __webpack_exec__(5963));
+    /******/ __webpack_require__.O(0, [956, 957], () => __webpack_exec__(7904));
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ (_ENTRIES = typeof _ENTRIES === "undefined" ? {} : _ENTRIES)[
       "middleware_app/app-edge-ssr/page"
Diff for middleware.js

Diff too large to display

Diff for edge-ssr.js

Diff too large to display

Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [8358],
   {
-    /***/ 774: /***/ (
+    /***/ 3834: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(482);
+          return __webpack_require__(5458);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 9611: /***/ (module, exports, __webpack_require__) => {
+    /***/ 375: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,15 +40,15 @@
         __webpack_require__(3537)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6973)
+        __webpack_require__(6393)
       );
-      const _getimgprops = __webpack_require__(4823);
-      const _imageconfig = __webpack_require__(2356);
-      const _imageconfigcontextsharedruntime = __webpack_require__(8081);
-      const _warnonce = __webpack_require__(2683);
-      const _routercontextsharedruntime = __webpack_require__(852);
+      const _getimgprops = __webpack_require__(5446);
+      const _imageconfig = __webpack_require__(6510);
+      const _imageconfigcontextsharedruntime = __webpack_require__(2630);
+      const _warnonce = __webpack_require__(169);
+      const _routercontextsharedruntime = __webpack_require__(4584);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1634)
+        __webpack_require__(4947)
       );
       // This is replaced by webpack define plugin
       const configEnv = {
@@ -376,7 +376,7 @@
       /***/
     },
 
-    /***/ 4823: /***/ (
+    /***/ 5446: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -392,9 +392,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(2683);
-      const _imageblursvg = __webpack_require__(4199);
-      const _imageconfig = __webpack_require__(2356);
+      const _warnonce = __webpack_require__(169);
+      const _imageblursvg = __webpack_require__(5411);
+      const _imageconfig = __webpack_require__(6510);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -769,7 +769,7 @@
       /***/
     },
 
-    /***/ 4199: /***/ (__unused_webpack_module, exports) => {
+    /***/ 5411: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -824,7 +824,7 @@
       /***/
     },
 
-    /***/ 1104: /***/ (
+    /***/ 2870: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -851,10 +851,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(1478);
-      const _getimgprops = __webpack_require__(4823);
-      const _imagecomponent = __webpack_require__(9611);
+      const _getimgprops = __webpack_require__(5446);
+      const _imagecomponent = __webpack_require__(375);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1634)
+        __webpack_require__(4947)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -886,7 +886,7 @@
       /***/
     },
 
-    /***/ 1634: /***/ (__unused_webpack_module, exports) => {
+    /***/ 4947: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -921,7 +921,7 @@
       /***/
     },
 
-    /***/ 482: /***/ (
+    /***/ 5458: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -938,8 +938,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(898);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_vrduafyijdumnv5m4yyxi35vzu/node_modules/next/image.js
-      var next_image = __webpack_require__(4064);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-6230622a1a-20240610_react_66pum5zqjmu66dbgsbrnmwmucy/node_modules/next/image.js
+      var next_image = __webpack_require__(3515);
       var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
       /* harmony default export */ const nextjs = {
         src: "/_next/static/media/nextjs.cae0b805.png",
@@ -969,12 +969,12 @@
       /***/
     },
 
-    /***/ 4064: /***/ (
+    /***/ 3515: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(1104);
+      module.exports = __webpack_require__(2870);
 
       /***/
     },
@@ -984,7 +984,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
-      __webpack_exec__(774)
+      __webpack_exec__(3834)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for app-page-exp..ntime.dev.js
failed to diff
Diff for app-page-exp..time.prod.js

Diff too large to display

Diff for app-page-tur..time.prod.js

Diff too large to display

Diff for app-page-tur..time.prod.js

Diff too large to display

Diff for app-page.runtime.dev.js
failed to diff
Diff for app-page.runtime.prod.js

Diff too large to display

Diff for pages-api-tu..time.prod.js
@@ -17,5 +17,5 @@
  * Copyright(c) 2012 TJ Holowaychuk
  * Copyright(c) 2016-2017 Douglas Christopher Wilson
  * MIT Licensed
- */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});let n=require("crypto");var o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(N||(N={})).executeRoute="Router.executeRoute",(j||(j={})).runHandler="Node.runHandler",(T||(T={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(_||(_={})),(A||(A={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,N,j,T,_,A,O=r("./dist/compiled/bytes/index.js"),M=r.n(O);let P=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+P(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var H=r("./dist/compiled/fresh/index.js"),E=r.n(H);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var q=r("./dist/compiled/@edge-runtime/cookies/index.js"),$=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,$.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,$.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0;null==(w=c.api)||w.externalResolver,v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new q.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let g=0,y=m&&"boolean"!=typeof m?M().parse(m):4194304,R=t.write,C=t.end;t.write=(...e)=>(g+=Buffer.byteLength(e[0]||""),R.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(g+=Buffer.byteLength(r[0]||"")),m&&g>=y&&console.warn(`API response for ${e.url} exceeds ${M().format(y)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),C.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),t.end();return}let o=t.getHeader("Content-Type");if(r instanceof L.Stream){o||t.setHeader("Content-Type","application/octet-stream"),r.pipe(t);return}let i=["object","number","boolean"].includes(typeof r),a=i?JSON.stringify(r):r;if((n=k(a))&&t.setHeader("ETag",n),!E()(e.headers,{etag:n})||(t.statusCode=304,t.end(),0)){if(Buffer.isBuffer(r)){o||t.setHeader("Content-Type","application/octet-stream"),t.setHeader("Content-Length",r.length),t.end(r);return}i&&t.setHeader("Content-Type","application/json; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a)),t.end(a)}})(e,t,r),t.json=e=>{t.setHeader("Content-Type","application/json; charset=utf-8"),t.send(JSON.stringify(e))},t.redirect=(e,r)=>(function(e,t,r){if("string"==typeof t&&(r=t,t=307),"number"!=typeof t||"string"!=typeof r)throw Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').");return e.writeHead(t,{Location:r}),e.write(r),e.end(),e})(t,e,r),t.setDraftMode=(e={enable:!0})=>(function(e,t){if(!D(t.previewModeId))throw Error("invariant: invalid previewModeId");let n=t.enable?void 0:new Date(0),{serialize:o}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],o(p,t.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:n})]),e})(t,Object.assign({},d,e)),t.setPreviewData=(e,n={})=>(function(e,t,n){if(!D(n.previewModeId))throw Error("invariant: invalid previewModeId");if(!D(n.previewModeEncryptionKey))throw Error("invariant: invalid previewModeEncryptionKey");if(!D(n.previewModeSigningKey))throw Error("invariant: invalid previewModeSigningKey");let o=r("next/dist/compiled/jsonwebtoken"),{encryptWithSecret:i}=r("./dist/esm/server/crypto-utils.js"),a=o.sign({data:i(Buffer.from(n.previewModeEncryptionKey),JSON.stringify(t))},n.previewModeSigningKey,{algorithm:"HS256",...void 0!==n.maxAge?{expiresIn:n.maxAge}:void 0});if(a.length>2048)throw Error("Preview data is limited to 2KB currently, reduce how much data you are storing as preview data to continue");let{serialize:s}=r("./dist/compiled/cookie/index.js"),d=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof d?[d]:Array.isArray(d)?d:[],s(p,n.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0}),s(u,a,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0})]),e})(t,e,Object.assign({},d,n)),t.clearPreviewData=(e={})=>f(t,e),t.revalidate=(t,r)=>z(t,r||{},e,d);let N=s.default||s;await N(e,t)}catch(e){if(e instanceof h)m(t,e.statusCode,e.message);else{if(g)throw B(e)&&(e.page=y),e;if(console.error(e),c)throw e;m(t,500,"Internal Server Error")}}}class U extends g{constructor(e){if(super(e),"function"!=typeof e.userland.default)throw Error(`Page ${e.definition.page} does not export a default function.`);this.apiResolverWrapped=function(e,t){return(...r)=>{var n;return null==(n=(0,d.getTracer)().getRootSpanAttributes())||n.set("next.route",e),(0,d.getTracer)().trace(j.runHandler,{spanName:`executing api route (pages) ${e}`},()=>t(...r))}}(e.definition.page,K)}async render(e,t,r){let{apiResolverWrapped:n}=this;await n(e,t,r.query,this.userland,{...r.previewProps,revalidate:r.revalidate,trustHostHeader:r.trustHostHeader,allowedRevalidateHeaderKeys:r.allowedRevalidateHeaderKeys,hostname:r.hostname},r.minimalMode,r.dev,r.page)}}let F=U})(),module.exports=n})();
+ */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});var n=r("crypto"),o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},crypto:e=>{"use strict";e.exports=require("crypto")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(N||(N={})).executeRoute="Router.executeRoute",(j||(j={})).runHandler="Node.runHandler",(T||(T={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(_||(_={})),(A||(A={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,N,j,T,_,A,O=r("./dist/compiled/bytes/index.js"),M=r.n(O);let P=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+P(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var H=r("./dist/compiled/fresh/index.js"),E=r.n(H);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var q=r("./dist/compiled/@edge-runtime/cookies/index.js"),$=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,$.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,$.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0;null==(w=c.api)||w.externalResolver,v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new q.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let g=0,y=m&&"boolean"!=typeof m?M().parse(m):4194304,R=t.write,C=t.end;t.write=(...e)=>(g+=Buffer.byteLength(e[0]||""),R.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(g+=Buffer.byteLength(r[0]||"")),m&&g>=y&&console.warn(`API response for ${e.url} exceeds ${M().format(y)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),C.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),t.end();return}let o=t.getHeader("Content-Type");if(r instanceof L.Stream){o||t.setHeader("Content-Type","application/octet-stream"),r.pipe(t);return}let i=["object","number","boolean"].includes(typeof r),a=i?JSON.stringify(r):r;if((n=k(a))&&t.setHeader("ETag",n),!E()(e.headers,{etag:n})||(t.statusCode=304,t.end(),0)){if(Buffer.isBuffer(r)){o||t.setHeader("Content-Type","application/octet-stream"),t.setHeader("Content-Length",r.length),t.end(r);return}i&&t.setHeader("Content-Type","application/json; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a)),t.end(a)}})(e,t,r),t.json=e=>{t.setHeader("Content-Type","application/json; charset=utf-8"),t.send(JSON.stringify(e))},t.redirect=(e,r)=>(function(e,t,r){if("string"==typeof t&&(r=t,t=307),"number"!=typeof t||"string"!=typeof r)throw Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').");return e.writeHead(t,{Location:r}),e.write(r),e.end(),e})(t,e,r),t.setDraftMode=(e={enable:!0})=>(function(e,t){if(!D(t.previewModeId))throw Error("invariant: invalid previewModeId");let n=t.enable?void 0:new Date(0),{serialize:o}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],o(p,t.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:n})]),e})(t,Object.assign({},d,e)),t.setPreviewData=(e,n={})=>(function(e,t,n){if(!D(n.previewModeId))throw Error("invariant: invalid previewModeId");if(!D(n.previewModeEncryptionKey))throw Error("invariant: invalid previewModeEncryptionKey");if(!D(n.previewModeSigningKey))throw Error("invariant: invalid previewModeSigningKey");let o=r("next/dist/compiled/jsonwebtoken"),{encryptWithSecret:i}=r("./dist/esm/server/crypto-utils.js"),a=o.sign({data:i(Buffer.from(n.previewModeEncryptionKey),JSON.stringify(t))},n.previewModeSigningKey,{algorithm:"HS256",...void 0!==n.maxAge?{expiresIn:n.maxAge}:void 0});if(a.length>2048)throw Error("Preview data is limited to 2KB currently, reduce how much data you are storing as preview data to continue");let{serialize:s}=r("./dist/compiled/cookie/index.js"),d=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof d?[d]:Array.isArray(d)?d:[],s(p,n.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0}),s(u,a,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0})]),e})(t,e,Object.assign({},d,n)),t.clearPreviewData=(e={})=>f(t,e),t.revalidate=(t,r)=>z(t,r||{},e,d);let N=s.default||s;await N(e,t)}catch(e){if(e instanceof h)m(t,e.statusCode,e.message);else{if(g)throw B(e)&&(e.page=y),e;if(console.error(e),c)throw e;m(t,500,"Internal Server Error")}}}class U extends g{constructor(e){if(super(e),"function"!=typeof e.userland.default)throw Error(`Page ${e.definition.page} does not export a default function.`);this.apiResolverWrapped=function(e,t){return(...r)=>{var n;return null==(n=(0,d.getTracer)().getRootSpanAttributes())||n.set("next.route",e),(0,d.getTracer)().trace(j.runHandler,{spanName:`executing api route (pages) ${e}`},()=>t(...r))}}(e.definition.page,K)}async render(e,t,r){let{apiResolverWrapped:n}=this;await n(e,t,r.query,this.userland,{...r.previewProps,revalidate:r.revalidate,trustHostHeader:r.trustHostHeader,allowedRevalidateHeaderKeys:r.allowedRevalidateHeaderKeys,hostname:r.hostname},r.minimalMode,r.dev,r.page)}}let F=U})(),module.exports=n})();
 //# sourceMappingURL=pages-api-turbo.runtime.prod.js.map
\ No newline at end of file
Diff for pages-api.runtime.dev.js
@@ -17,6 +17,6 @@
  * Copyright(c) 2012 TJ Holowaychuk
  * Copyright(c) 2016-2017 Douglas Christopher Wilson
  * MIT Licensed
- */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});let n=require("crypto");var o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(j||(j={})).executeRoute="Router.executeRoute",(N||(N={})).runHandler="Node.runHandler",(A||(A={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(T||(T={})),(_||(_={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,j,N,A,T,_,P=r("./dist/compiled/bytes/index.js"),O=r.n(P);let M=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+M(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var E=r("./dist/compiled/fresh/index.js"),H=r.n(E);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var $=r("./dist/compiled/@edge-runtime/cookies/index.js"),q=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,q.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,q.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0,g=(null==(w=c.api)?void 0:w.externalResolver)||!1;v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new $.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let y=0,R=m&&"boolean"!=typeof m?O().parse(m):4194304,C=t.write,j=t.end;t.write=(...e)=>(y+=Buffer.byteLength(e[0]||""),C.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(y+=Buffer.byteLength(r[0]||"")),m&&y>=R&&console.warn(`API response for ${e.url} exceeds ${O().format(R)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),j.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),r&&console.warn(`A body was attempted to be set with a 204 statusCode for ${e.url}, this is invalid and the body was ignored.
+ */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});var n=r("crypto"),o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},crypto:e=>{"use strict";e.exports=require("crypto")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(j||(j={})).executeRoute="Router.executeRoute",(N||(N={})).runHandler="Node.runHandler",(A||(A={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(T||(T={})),(_||(_={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,j,N,A,T,_,P=r("./dist/compiled/bytes/index.js"),O=r.n(P);let M=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+M(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var E=r("./dist/compiled/fresh/index.js"),H=r.n(E);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var $=r("./dist/compiled/@edge-runtime/cookies/index.js"),q=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,q.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,q.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0,g=(null==(w=c.api)?void 0:w.externalResolver)||!1;v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new $.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let y=0,R=m&&"boolean"!=typeof m?O().parse(m):4194304,C=t.write,j=t.end;t.write=(...e)=>(y+=Buffer.byteLength(e[0]||""),C.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(y+=Buffer.byteLength(r[0]||"")),m&&y>=R&&console.warn(`API response for ${e.url} exceeds ${O().format(R)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),j.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),r&&console.warn(`A body was attempted to be set with a 204 statusCode for ${e.url}, this is invalid and the body was ignored.
 See more info here https://nextjs.org/docs/messages/invalid-api-status-body`),t.end();return}let o=t.getHeader("Content-Type");if(r instanceof L.Stream){o||t.setHeader("Content-Type","application/octet-stream"),r.pipe(t);return}let i=["object","number","boolean"].includes(typeof r),a=i?JSON.stringify(r):r;if((n=k(a))&&t.setHeader("ETag",n),!H()(e.headers,{etag:n})||(t.statusCode=304,t.end(),0)){if(Buffer.isBuffer(r)){o||t.setHeader("Content-Type","application/octet-stream"),t.setHeader("Content-Length",r.length),t.end(r);return}i&&t.setHeader("Content-Type","application/json; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a)),t.end(a)}})(e,t,r),t.json=e=>{t.setHeader("Content-Type","application/json; charset=utf-8"),t.send(JSON.stringify(e))},t.redirect=(e,r)=>(function(e,t,r){if("string"==typeof t&&(r=t,t=307),"number"!=typeof t||"string"!=typeof r)throw Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').");return e.writeHead(t,{Location:r}),e.write(r),e.end(),e})(t,e,r),t.setDraftMode=(e={enable:!0})=>(function(e,t){if(!D(t.previewModeId))throw Error("invariant: invalid previewModeId");let n=t.enable?void 0:new Date(0),{serialize:o}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],o(p,t.previewModeId,{httpOnly:!0,sameSite:"lax",secure:!1,path:"/",expires:n})]),e})(t,Object.assign({},d,e)),t.setPreviewData=(e,n={})=>(function(e,t,n){if(!D(n.previewModeId))throw Error("invariant: invalid previewModeId");if(!D(n.previewModeEncryptionKey))throw Error("invariant: invalid previewModeEncryptionKey");if(!D(n.previewModeSigningKey))throw Error("invariant: invalid previewModeSigningKey");let o=r("next/dist/compiled/jsonwebtoken"),{encryptWithSecret:i}=r("./dist/esm/server/crypto-utils.js"),a=o.sign({data:i(Buffer.from(n.previewModeEncryptionKey),JSON.stringify(t))},n.previewModeSigningKey,{algorithm:"HS256",...void 0!==n.maxAge?{expiresIn:n.maxAge}:void 0});if(a.length>2048)throw Error("Preview data is limited to 2KB currently, reduce how much data you are storing as preview data to continue");let{serialize:s}=r("./dist/compiled/cookie/index.js"),d=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof d?[d]:Array.isArray(d)?d:[],s(p,n.previewModeId,{httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0}),s(u,a,{httpOnly:!0,sameSite:"lax",secure:!1,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0})]),e})(t,e,Object.assign({},d,n)),t.clearPreviewData=(e={})=>f(t,e),t.revalidate=(t,r)=>z(t,r||{},e,d);let N=s.default||s,A=!1;t.once("pipe",()=>A=!0);let T=await N(e,t);if(void 0!==T){if(T instanceof Response)throw Error('API route returned a Response object in the Node.js runtime, this is not supported. Please use `runtime: "edge"` instead: https://nextjs.org/docs/api-routes/edge-api-routes');console.warn(`API handler should not return a value, received ${typeof T}.`)}g||t.finished||t.headersSent||A||console.warn(`API resolved without sending a response for ${e.url}, this may result in stalled requests.`)}catch(e){if(e instanceof h)m(t,e.statusCode,e.message);else{if(g)throw B(e)&&(e.page=y),e;if(console.error(e),c)throw e;m(t,500,"Internal Server Error")}}}class U extends g{constructor(e){if(super(e),"function"!=typeof e.userland.default)throw Error(`Page ${e.definition.page} does not export a default function.`);this.apiResolverWrapped=function(e,t){return(...r)=>{var n;return null==(n=(0,d.getTracer)().getRootSpanAttributes())||n.set("next.route",e),(0,d.getTracer)().trace(N.runHandler,{spanName:`executing api route (pages) ${e}`},()=>t(...r))}}(e.definition.page,K)}async render(e,t,r){let{apiResolverWrapped:n}=this;await n(e,t,r.query,this.userland,{...r.previewProps,revalidate:r.revalidate,trustHostHeader:r.trustHostHeader,allowedRevalidateHeaderKeys:r.allowedRevalidateHeaderKeys,hostname:r.hostname},r.minimalMode,r.dev,r.page)}}let F=U})(),module.exports=n})();
 //# sourceMappingURL=pages-api.runtime.dev.js.map
\ No newline at end of file
Diff for pages-api.ru..time.prod.js
@@ -17,5 +17,5 @@
  * Copyright(c) 2012 TJ Holowaychuk
  * Copyright(c) 2016-2017 Douglas Christopher Wilson
  * MIT Licensed
- */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});let n=require("crypto");var o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(N||(N={})).executeRoute="Router.executeRoute",(j||(j={})).runHandler="Node.runHandler",(T||(T={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(_||(_={})),(A||(A={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,N,j,T,_,A,O=r("./dist/compiled/bytes/index.js"),M=r.n(O);let P=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+P(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var H=r("./dist/compiled/fresh/index.js"),E=r.n(H);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var q=r("./dist/compiled/@edge-runtime/cookies/index.js"),$=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,$.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,$.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0;null==(w=c.api)||w.externalResolver,v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new q.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let g=0,y=m&&"boolean"!=typeof m?M().parse(m):4194304,R=t.write,C=t.end;t.write=(...e)=>(g+=Buffer.byteLength(e[0]||""),R.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(g+=Buffer.byteLength(r[0]||"")),m&&g>=y&&console.warn(`API response for ${e.url} exceeds ${M().format(y)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),C.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),t.end();return}let o=t.getHeader("Content-Type");if(r instanceof L.Stream){o||t.setHeader("Content-Type","application/octet-stream"),r.pipe(t);return}let i=["object","number","boolean"].includes(typeof r),a=i?JSON.stringify(r):r;if((n=k(a))&&t.setHeader("ETag",n),!E()(e.headers,{etag:n})||(t.statusCode=304,t.end(),0)){if(Buffer.isBuffer(r)){o||t.setHeader("Content-Type","application/octet-stream"),t.setHeader("Content-Length",r.length),t.end(r);return}i&&t.setHeader("Content-Type","application/json; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a)),t.end(a)}})(e,t,r),t.json=e=>{t.setHeader("Content-Type","application/json; charset=utf-8"),t.send(JSON.stringify(e))},t.redirect=(e,r)=>(function(e,t,r){if("string"==typeof t&&(r=t,t=307),"number"!=typeof t||"string"!=typeof r)throw Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').");return e.writeHead(t,{Location:r}),e.write(r),e.end(),e})(t,e,r),t.setDraftMode=(e={enable:!0})=>(function(e,t){if(!D(t.previewModeId))throw Error("invariant: invalid previewModeId");let n=t.enable?void 0:new Date(0),{serialize:o}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],o(p,t.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:n})]),e})(t,Object.assign({},d,e)),t.setPreviewData=(e,n={})=>(function(e,t,n){if(!D(n.previewModeId))throw Error("invariant: invalid previewModeId");if(!D(n.previewModeEncryptionKey))throw Error("invariant: invalid previewModeEncryptionKey");if(!D(n.previewModeSigningKey))throw Error("invariant: invalid previewModeSigningKey");let o=r("next/dist/compiled/jsonwebtoken"),{encryptWithSecret:i}=r("./dist/esm/server/crypto-utils.js"),a=o.sign({data:i(Buffer.from(n.previewModeEncryptionKey),JSON.stringify(t))},n.previewModeSigningKey,{algorithm:"HS256",...void 0!==n.maxAge?{expiresIn:n.maxAge}:void 0});if(a.length>2048)throw Error("Preview data is limited to 2KB currently, reduce how much data you are storing as preview data to continue");let{serialize:s}=r("./dist/compiled/cookie/index.js"),d=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof d?[d]:Array.isArray(d)?d:[],s(p,n.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0}),s(u,a,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0})]),e})(t,e,Object.assign({},d,n)),t.clearPreviewData=(e={})=>f(t,e),t.revalidate=(t,r)=>z(t,r||{},e,d);let N=s.default||s;await N(e,t)}catch(e){if(e instanceof h)m(t,e.statusCode,e.message);else{if(g)throw B(e)&&(e.page=y),e;if(console.error(e),c)throw e;m(t,500,"Internal Server Error")}}}class U extends g{constructor(e){if(super(e),"function"!=typeof e.userland.default)throw Error(`Page ${e.definition.page} does not export a default function.`);this.apiResolverWrapped=function(e,t){return(...r)=>{var n;return null==(n=(0,d.getTracer)().getRootSpanAttributes())||n.set("next.route",e),(0,d.getTracer)().trace(j.runHandler,{spanName:`executing api route (pages) ${e}`},()=>t(...r))}}(e.definition.page,K)}async render(e,t,r){let{apiResolverWrapped:n}=this;await n(e,t,r.query,this.userland,{...r.previewProps,revalidate:r.revalidate,trustHostHeader:r.trustHostHeader,allowedRevalidateHeaderKeys:r.allowedRevalidateHeaderKeys,hostname:r.hostname},r.minimalMode,r.dev,r.page)}}let F=U})(),module.exports=n})();
+ */var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var o=e["if-modified-since"],i=e["if-none-match"];if(!o&&!i)return!1;var a=e["cache-control"];if(a&&t.test(a))return!1;if(i&&"*"!==i){var s=n.etag;if(!s)return!1;for(var d=!0,p=function(e){for(var t=0,r=[],n=0,o=0,i=e.length;o<i;o++)switch(e.charCodeAt(o)){case 32:n===t&&(n=t=o+1);break;case 44:r.push(e.substring(n,t)),n=t=o+1;break;default:t=o+1}return r.push(e.substring(n,t)),r}(i),u=0;u<p.length;u++){var l=p[u];if(l===s||l==="W/"+s||"W/"+l===s){d=!1;break}}if(d)return!1}if(o){var c=n["last-modified"];if(!c||!(r(c)<=r(o)))return!1}return!0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab=__dirname+"/";var o=n(695);e.exports=o})()},"./dist/esm/server/crypto-utils.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptWithSecret:()=>s,encryptWithSecret:()=>a});var n=r("crypto"),o=r.n(n);let i="aes-256-gcm";function a(e,t){let r=o().randomBytes(16),n=o().randomBytes(64),a=o().pbkdf2Sync(e,n,1e5,32,"sha512"),s=o().createCipheriv(i,a,r),d=Buffer.concat([s.update(t,"utf8"),s.final()]),p=s.getAuthTag();return Buffer.concat([n,r,p,d]).toString("hex")}function s(e,t){let r=Buffer.from(t,"hex"),n=r.slice(0,64),a=r.slice(64,80),s=r.slice(80,96),d=r.slice(96),p=o().pbkdf2Sync(e,n,1e5,32,"sha512"),u=o().createDecipheriv(i,p,a);return u.setAuthTag(s),u.update(d)+u.final("utf8")}},"next/dist/compiled/jsonwebtoken":e=>{"use strict";e.exports=require("next/dist/compiled/jsonwebtoken")},"next/dist/compiled/node-html-parser":e=>{"use strict";e.exports=require("next/dist/compiled/node-html-parser")},"next/dist/compiled/raw-body":e=>{"use strict";e.exports=require("next/dist/compiled/raw-body")},crypto:e=>{"use strict";e.exports=require("crypto")},querystring:e=>{"use strict";e.exports=require("querystring")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{PagesAPIRouteModule:()=>U,default:()=>F});class e{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}class t extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new t}}class o extends Headers{constructor(t){super(),this.headers=new Proxy(t,{get(r,n,o){if("symbol"==typeof n)return e.get(r,n,o);let i=n.toLowerCase(),a=Object.keys(t).find(e=>e.toLowerCase()===i);if(void 0!==a)return e.get(r,a,o)},set(r,n,o,i){if("symbol"==typeof n)return e.set(r,n,o,i);let a=n.toLowerCase(),s=Object.keys(t).find(e=>e.toLowerCase()===a);return e.set(r,s??n,o,i)},has(r,n){if("symbol"==typeof n)return e.has(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0!==i&&e.has(r,i)},deleteProperty(r,n){if("symbol"==typeof n)return e.deleteProperty(r,n);let o=n.toLowerCase(),i=Object.keys(t).find(e=>e.toLowerCase()===o);return void 0===i||e.deleteProperty(r,i)}})}static seal(r){return new Proxy(r,{get(r,n,o){switch(n){case"append":case"delete":case"set":return t.callable;default:return e.get(r,n,o)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new o(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}let i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"};({...s,GROUP:{serverOnly:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.instrument,s.middleware],neutralTarget:[s.api],clientOnly:[s.serverSideRendering,s.appPagesBrowser],app:[s.reactServerComponents,s.actionBrowser,s.appMetadataRoute,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument]}});let d=require("next/dist/server/lib/trace/tracer");(function(e){e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404"})(y||(y={})),function(e){e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents"}(x||(x={})),function(e){e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer"}(b||(b={})),function(e){e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch"}(w||(w={})),(S||(S={})).startServer="startServer.startServer",function(e){e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult"}(R||(R={})),function(e){e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch"}(C||(C={})),(N||(N={})).executeRoute="Router.executeRoute",(j||(j={})).runHandler="Node.runHandler",(T||(T={})).runHandler="AppRouteRouteHandlers.runHandler",function(e){e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport"}(_||(_={})),(A||(A={})).execute="Middleware.execute";let p="__prerender_bypass",u="__next_preview_data",l=Symbol(u),c=Symbol(p);function f(e,t={}){if(c in e)return e;let{serialize:n}=r("./dist/compiled/cookie/index.js"),o=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof o?[o]:Array.isArray(o)?o:[],n(p,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0}),n(u,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==t.path?{path:t.path}:void 0})]),Object.defineProperty(e,c,{value:!0,enumerable:!1}),e}class h extends Error{constructor(e,t){super(t),this.statusCode=e}}function m(e,t,r){e.statusCode=t,e.statusMessage=r,e.end(r)}function v({req:e},t,r){let n={configurable:!0,enumerable:!0},o={...n,writable:!0};Object.defineProperty(e,t,{...n,get:()=>{let n=r();return Object.defineProperty(e,t,{...o,value:n}),n},set:r=>{Object.defineProperty(e,t,{...o,value:r})}})}class g{constructor({userland:e,definition:t}){this.userland=e,this.definition=t}}var y,x,b,w,S,R,C,N,j,T,_,A,O=r("./dist/compiled/bytes/index.js"),M=r.n(O);let P=e=>{let t=e.length,r=0,n=0,o=8997,i=0,a=33826,s=0,d=40164,p=0,u=52210;for(;r<t;)o^=e.charCodeAt(r++),n=435*o,i=435*a,s=435*d,p=435*u,s+=o<<8,p+=a<<8,i+=n>>>16,o=65535&n,s+=i>>>16,a=65535&i,u=p+(s>>>16)&65535,d=65535&s;return(15&u)*281474976710656+4294967296*d+65536*a+(o^u>>4)},k=(e,t=!1)=>(t?'W/"':'"')+P(e).toString(36)+e.length.toString(36)+'"';"undefined"!=typeof performance&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);var H=r("./dist/compiled/fresh/index.js"),E=r.n(H);let L=require("stream");function B(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}var q=r("./dist/compiled/@edge-runtime/cookies/index.js"),$=r("./dist/compiled/content-type/index.js");async function I(e,t){let n,o;try{n=(0,$.parse)(e.headers["content-type"]||"text/plain")}catch{n=(0,$.parse)("text/plain")}let{type:i,parameters:a}=n,s=a.charset||"utf-8";try{let n=r("next/dist/compiled/raw-body");o=await n(e,{encoding:s,limit:t})}catch(e){if(B(e)&&"entity.too.large"===e.type)throw new h(413,`Body exceeded ${t} limit`);throw new h(400,"Invalid body")}let d=o.toString();return"application/json"===i||"application/ld+json"===i?function(e){if(0===e.length)return{};try{return JSON.parse(e)}catch(e){throw new h(400,"Invalid JSON")}}(d):"application/x-www-form-urlencoded"===i?r("querystring").decode(d):d}function D(e){return"string"==typeof e&&e.length>=16}async function z(e,t,r,n){if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid urlPath provided to revalidate(), must be a path e.g. /blog/post-1, received ${e}`);let o={[i]:n.previewModeId,...t.unstable_onlyGenerated?{[a]:"1"}:{}},s=[...n.allowedRevalidateHeaderKeys||[],...n.trustHostHeader?["cookie","x-vercel-protection-bypass"]:[]];for(let e of Object.keys(r.headers))s.includes(e)&&(o[e]=r.headers[e]);try{if(n.trustHostHeader){let n=await fetch(`https://${r.headers.host}${e}`,{method:"HEAD",headers:o}),i=n.headers.get("x-vercel-cache")||n.headers.get("x-nextjs-cache");if((null==i?void 0:i.toUpperCase())!=="REVALIDATED"&&!(404===n.status&&t.unstable_onlyGenerated))throw Error(`Invalid response ${n.status}`)}else if(n.revalidate)await n.revalidate({urlPath:e,revalidateHeaders:o,opts:t});else throw Error("Invariant: required internal revalidate method not passed to api-utils")}catch(t){throw Error(`Failed to revalidate ${e}: ${B(t)?t.message:t}`)}}async function K(e,t,n,s,d,c,g,y){try{var x,b,w,S;if(!s){t.statusCode=404,t.end("Not Found");return}let c=s.config||{},h=(null==(x=c.api)?void 0:x.bodyParser)!==!1,m=(null==(b=c.api)?void 0:b.responseLimit)??!0;null==(w=c.api)||w.externalResolver,v({req:e},"cookies",(S=e.headers,function(){let{cookie:e}=S;if(!e)return{};let{parse:t}=r("./dist/compiled/cookie/index.js");return t(Array.isArray(e)?e.join("; "):e)})),e.query=n,v({req:e},"previewData",()=>(function(e,t,n){var s,d;let c;if(n&&function(e,t){let r=o.from(e.headers);return{isOnDemandRevalidate:r.get(i)===t.previewModeId,revalidateOnlyGenerated:r.has(a)}}(e,n).isOnDemandRevalidate)return!1;if(l in e)return e[l];let h=o.from(e.headers),m=new q.RequestCookies(h),v=null==(s=m.get(p))?void 0:s.value,g=null==(d=m.get(u))?void 0:d.value;if(v&&!g&&v===n.previewModeId){let t={};return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}if(!v&&!g)return!1;if(!v||!g||v!==n.previewModeId)return f(t),!1;try{c=r("next/dist/compiled/jsonwebtoken").verify(g,n.previewModeSigningKey)}catch{return f(t),!1}let{decryptWithSecret:y}=r("./dist/esm/server/crypto-utils.js"),x=y(Buffer.from(n.previewModeEncryptionKey),c.data);try{let t=JSON.parse(x);return Object.defineProperty(e,l,{value:t,enumerable:!1}),t}catch{return!1}})(e,t,d)),v({req:e},"preview",()=>!1!==e.previewData||void 0),v({req:e},"draftMode",()=>e.preview),h&&!e.body&&(e.body=await I(e,c.api&&c.api.bodyParser&&c.api.bodyParser.sizeLimit?c.api.bodyParser.sizeLimit:"1mb"));let g=0,y=m&&"boolean"!=typeof m?M().parse(m):4194304,R=t.write,C=t.end;t.write=(...e)=>(g+=Buffer.byteLength(e[0]||""),R.apply(t,e)),t.end=(...r)=>(r.length&&"function"!=typeof r[0]&&(g+=Buffer.byteLength(r[0]||"")),m&&g>=y&&console.warn(`API response for ${e.url} exceeds ${M().format(y)}. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit`),C.apply(t,r)),t.status=e=>(t.statusCode=e,t),t.send=r=>(function(e,t,r){var n;if(null==r){t.end();return}if(204===t.statusCode||304===t.statusCode){t.removeHeader("Content-Type"),t.removeHeader("Content-Length"),t.removeHeader("Transfer-Encoding"),t.end();return}let o=t.getHeader("Content-Type");if(r instanceof L.Stream){o||t.setHeader("Content-Type","application/octet-stream"),r.pipe(t);return}let i=["object","number","boolean"].includes(typeof r),a=i?JSON.stringify(r):r;if((n=k(a))&&t.setHeader("ETag",n),!E()(e.headers,{etag:n})||(t.statusCode=304,t.end(),0)){if(Buffer.isBuffer(r)){o||t.setHeader("Content-Type","application/octet-stream"),t.setHeader("Content-Length",r.length),t.end(r);return}i&&t.setHeader("Content-Type","application/json; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a)),t.end(a)}})(e,t,r),t.json=e=>{t.setHeader("Content-Type","application/json; charset=utf-8"),t.send(JSON.stringify(e))},t.redirect=(e,r)=>(function(e,t,r){if("string"==typeof t&&(r=t,t=307),"number"!=typeof t||"string"!=typeof r)throw Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').");return e.writeHead(t,{Location:r}),e.write(r),e.end(),e})(t,e,r),t.setDraftMode=(e={enable:!0})=>(function(e,t){if(!D(t.previewModeId))throw Error("invariant: invalid previewModeId");let n=t.enable?void 0:new Date(0),{serialize:o}=r("./dist/compiled/cookie/index.js"),i=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof i?[i]:Array.isArray(i)?i:[],o(p,t.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:n})]),e})(t,Object.assign({},d,e)),t.setPreviewData=(e,n={})=>(function(e,t,n){if(!D(n.previewModeId))throw Error("invariant: invalid previewModeId");if(!D(n.previewModeEncryptionKey))throw Error("invariant: invalid previewModeEncryptionKey");if(!D(n.previewModeSigningKey))throw Error("invariant: invalid previewModeSigningKey");let o=r("next/dist/compiled/jsonwebtoken"),{encryptWithSecret:i}=r("./dist/esm/server/crypto-utils.js"),a=o.sign({data:i(Buffer.from(n.previewModeEncryptionKey),JSON.stringify(t))},n.previewModeSigningKey,{algorithm:"HS256",...void 0!==n.maxAge?{expiresIn:n.maxAge}:void 0});if(a.length>2048)throw Error("Preview data is limited to 2KB currently, reduce how much data you are storing as preview data to continue");let{serialize:s}=r("./dist/compiled/cookie/index.js"),d=e.getHeader("Set-Cookie");return e.setHeader("Set-Cookie",[..."string"==typeof d?[d]:Array.isArray(d)?d:[],s(p,n.previewModeId,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0}),s(u,a,{httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==n.maxAge?{maxAge:n.maxAge}:void 0,...void 0!==n.path?{path:n.path}:void 0})]),e})(t,e,Object.assign({},d,n)),t.clearPreviewData=(e={})=>f(t,e),t.revalidate=(t,r)=>z(t,r||{},e,d);let N=s.default||s;await N(e,t)}catch(e){if(e instanceof h)m(t,e.statusCode,e.message);else{if(g)throw B(e)&&(e.page=y),e;if(console.error(e),c)throw e;m(t,500,"Internal Server Error")}}}class U extends g{constructor(e){if(super(e),"function"!=typeof e.userland.default)throw Error(`Page ${e.definition.page} does not export a default function.`);this.apiResolverWrapped=function(e,t){return(...r)=>{var n;return null==(n=(0,d.getTracer)().getRootSpanAttributes())||n.set("next.route",e),(0,d.getTracer)().trace(j.runHandler,{spanName:`executing api route (pages) ${e}`},()=>t(...r))}}(e.definition.page,K)}async render(e,t,r){let{apiResolverWrapped:n}=this;await n(e,t,r.query,this.userland,{...r.previewProps,revalidate:r.revalidate,trustHostHeader:r.trustHostHeader,allowedRevalidateHeaderKeys:r.allowedRevalidateHeaderKeys,hostname:r.hostname},r.minimalMode,r.dev,r.page)}}let F=U})(),module.exports=n})();
 //# sourceMappingURL=pages-api.runtime.prod.js.map
\ No newline at end of file
Diff for pages-turbo...time.prod.js

Diff too large to display

Diff for pages.runtime.dev.js

Diff too large to display

Diff for pages.runtime.prod.js

Diff too large to display

Diff for server.runtime.prod.js

Diff too large to display

Commit: d2d71d0

@ijjk ijjk added the tests label May 28, 2024
@Ethan-Arrowood Ethan-Arrowood marked this pull request as ready for review June 19, 2024 19:10
@Ethan-Arrowood Ethan-Arrowood merged commit f846f7c into experimental-node-streams-support Jun 19, 2024
7 of 16 checks passed
@Ethan-Arrowood Ethan-Arrowood deleted the implement-stream-utils branch June 19, 2024 19:10
@github-actions github-actions bot added the locked label Jul 4, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants