@semiont/frontend 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/standalone/apps/frontend/.next/BUILD_ID +1 -1
- package/standalone/apps/frontend/.next/app-path-routes-manifest.json +5 -5
- package/standalone/apps/frontend/.next/build-manifest.json +6 -6
- package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
- package/standalone/apps/frontend/.next/react-loadable-manifest.json +2 -2
- package/standalone/apps/frontend/.next/required-server-files.json +18 -6
- package/standalone/apps/frontend/.next/routes-manifest.json +1 -0
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js +776 -516
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js +1718 -1455
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js +724 -461
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js +370 -109
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js +581 -318
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js +449 -186
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js +430 -168
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js +31 -16
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js +388 -126
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js +537 -275
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js +388 -126
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +745 -482
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js +366 -103
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js +600 -339
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js +956 -691
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js +1699 -1436
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js +390 -127
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js +1779 -1518
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js +1601 -1338
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js +2048 -1785
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js +462 -204
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js +476 -216
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js +489 -229
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error/page.js +627 -240
- package/standalone/apps/frontend/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.html +1 -2
- package/standalone/apps/frontend/.next/server/app/_global-error.rsc +13 -9
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +13 -9
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found/page.js +814 -559
- package/standalone/apps/frontend/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.rsc +8 -6
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +8 -6
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +2 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js +54 -39
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js +49 -34
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js +24 -9
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js +24 -9
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app-paths-manifest.json +5 -5
- package/standalone/apps/frontend/.next/server/chunks/2617.js +43 -7
- package/standalone/apps/frontend/.next/server/chunks/3144.js +7 -3
- package/standalone/apps/frontend/.next/server/chunks/4741.js +60 -252
- package/standalone/apps/frontend/.next/server/chunks/730.js +1 -1
- package/standalone/apps/frontend/.next/server/chunks/7420.js +21 -288
- package/standalone/apps/frontend/.next/server/chunks/7873.js +24 -2
- package/standalone/apps/frontend/.next/server/chunks/{7246.js → 8569.js} +1169 -282
- package/standalone/apps/frontend/.next/server/chunks/{2628.js → 9927.js} +11422 -4290
- package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/middleware.js +17991 -10692
- package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
- package/standalone/apps/frontend/.next/server/pages/500.html +1 -2
- package/standalone/apps/frontend/.next/server/prefetch-hints.json +1 -0
- package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
- package/standalone/apps/frontend/.next/static/I_XveRdyStDMqYJPcAAy5/_buildManifest.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/1315.3f76aa23520d903e.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/{432.4c1d971431c60454.js → 432.8cb455bfe72957a9.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/87c73c54-e11922cda838f8cc.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/{891cff7f-c20ce667b1225aa7.js → 891cff7f-d7677a8f46c597cc.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/{layout-4b67f7b5d5ba4728.js → layout-956ba0ffa1199bff.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{layout-f76e1916749e66f6.js → layout-262d8dd6c6e33738.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{layout-a403fd7a4877cc04.js → layout-c072ce8c7aeaa92e.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{layout-2d4e9c2be4b4a4c7.js → layout-b60605082e447f42.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/common-42653c14d34c8864.js +69 -0
- package/standalone/apps/frontend/.next/static/chunks/framework-b879567b90d34fb5.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/vendors-63213253c18580f4.js +40 -0
- package/standalone/apps/frontend/.next/static/chunks/{webpack-abf2ad17f175f867.js → webpack-a0284d55d288650f.js} +1 -1
- package/standalone/apps/frontend/package.json +5 -5
- package/standalone/apps/frontend/server.js +1 -1
- package/standalone/node_modules/@next/env/package.json +1 -1
- package/standalone/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
- package/standalone/node_modules/next/dist/build/analysis/extract-const-value.js +78 -63
- package/standalone/node_modules/next/dist/build/analysis/get-page-static-info.js +64 -40
- package/standalone/node_modules/next/dist/build/create-compiler-aliases.js +2 -0
- package/standalone/node_modules/next/dist/build/define-env.js +29 -11
- package/standalone/node_modules/next/dist/build/duration-to-string.js +1 -1
- package/standalone/node_modules/next/dist/build/entries.js +55 -295
- package/standalone/node_modules/next/dist/build/file-classifier.js +76 -0
- package/standalone/node_modules/next/dist/build/get-supported-browsers.js +38 -0
- package/standalone/node_modules/next/dist/build/load-jsconfig.js +7 -7
- package/standalone/node_modules/next/dist/build/lockfile.js +90 -9
- package/standalone/node_modules/next/dist/build/next-config-ts/transpile-config.js +128 -49
- package/standalone/node_modules/next/dist/build/print-build-errors.js +72 -0
- package/standalone/node_modules/next/dist/build/route-discovery.js +353 -0
- package/standalone/node_modules/next/dist/build/segment-config/app/app-segment-config.js +34 -17
- package/standalone/node_modules/next/dist/build/static-paths/app.js +68 -15
- package/standalone/node_modules/next/dist/build/static-paths/pages.js +3 -3
- package/standalone/node_modules/next/dist/build/swc/index.js +125 -48
- package/standalone/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
- package/standalone/node_modules/next/dist/build/swc/options.js +23 -6
- package/standalone/node_modules/next/dist/build/utils.js +48 -94
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/index.js +14 -3
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +4 -2
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +4 -2
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +1 -0
- package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +5 -5
- package/standalone/node_modules/next/dist/build/webpack/config/index.js +3 -2
- package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +2 -1
- package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +8 -1
- package/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +13 -4
- package/standalone/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +3 -1
- package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +2 -16
- package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +2 -2
- package/standalone/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +106 -0
- package/standalone/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +16 -8
- package/standalone/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +24 -11
- package/standalone/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +21 -2
- package/standalone/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +6 -5
- package/standalone/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +10 -14
- package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +18 -4
- package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +5 -4
- package/standalone/node_modules/next/dist/build/webpack-config.js +18 -8
- package/standalone/node_modules/next/dist/cli/next-test.js +4 -3
- package/standalone/node_modules/next/dist/client/app-find-source-map-url.js +2 -1
- package/standalone/node_modules/next/dist/client/components/app-router-headers.js +10 -0
- package/standalone/node_modules/next/dist/client/components/app-router-instance.js +82 -4
- package/standalone/node_modules/next/dist/client/components/app-router.js +39 -20
- package/standalone/node_modules/next/dist/client/components/builtin/app-error.js +29 -65
- package/standalone/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
- package/standalone/node_modules/next/dist/client/components/builtin/global-error.js +56 -38
- package/standalone/node_modules/next/dist/client/components/error-boundary.js +16 -6
- package/standalone/node_modules/next/dist/client/components/forbidden.js +1 -1
- package/standalone/node_modules/next/dist/client/components/handle-isr-error.js +3 -4
- package/standalone/node_modules/next/dist/client/components/links.js +7 -0
- package/standalone/node_modules/next/dist/client/components/navigation-untracked.js +2 -0
- package/standalone/node_modules/next/dist/client/components/navigation.js +27 -0
- package/standalone/node_modules/next/dist/client/components/navigation.react-server.js +5 -2
- package/standalone/node_modules/next/dist/client/components/not-found.js +1 -1
- package/standalone/node_modules/next/dist/client/components/redirect-boundary.js +1 -1
- package/standalone/node_modules/next/dist/client/components/redirect-error.js +0 -9
- package/standalone/node_modules/next/dist/client/components/redirect.js +2 -2
- package/standalone/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +73 -0
- package/standalone/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +102 -8
- package/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +165 -48
- package/standalone/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +19 -11
- package/standalone/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +669 -457
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +19 -20
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +5 -117
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +34 -19
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +16 -32
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +85 -57
- package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +12 -10
- package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +10 -1
- package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer.js +1 -1
- package/standalone/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/cache.js +732 -231
- package/standalone/node_modules/next/dist/client/components/segment-cache/lru.js +13 -6
- package/standalone/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/navigation.js +388 -250
- package/standalone/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
- package/standalone/node_modules/next/dist/client/components/segment-cache/scheduler.js +154 -55
- package/standalone/node_modules/next/dist/client/components/segment-cache/vary-path.js +63 -1
- package/standalone/node_modules/next/dist/client/components/unauthorized.js +1 -1
- package/standalone/node_modules/next/dist/client/components/use-action-queue.js +49 -3
- package/standalone/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js +9 -1
- package/standalone/node_modules/next/dist/client/flight-data-helpers.js +42 -29
- package/standalone/node_modules/next/dist/client/lib/javascript-url.js +32 -0
- package/standalone/node_modules/next/dist/client/lib/promise.js +53 -0
- package/standalone/node_modules/next/dist/client/{app-build-id.js → navigation-build-id.js} +17 -13
- package/standalone/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js +14 -0
- package/standalone/node_modules/next/dist/client/route-loader.js +9 -46
- package/standalone/node_modules/next/dist/client/router.js +1 -1
- package/standalone/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +74 -3
- package/standalone/node_modules/next/dist/compiled/babel/bundle.js +1 -1
- package/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +4 -4
- package/standalone/node_modules/next/dist/compiled/browserslist/index.js +1 -1
- package/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/standalone/node_modules/next/dist/compiled/next-devtools/index.js +2209 -23
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +42 -12
- package/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
- package/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +10 -10
- package/standalone/node_modules/next/dist/compiled/react-is/package.json +1 -1
- package/standalone/node_modules/next/dist/compiled/tar/index.min.js +1 -0
- package/standalone/node_modules/next/dist/compiled/tar/package.json +1 -1
- package/standalone/node_modules/next/dist/compiled/unistore/unistore.js +1 -1
- package/standalone/node_modules/next/dist/lib/bundler.js +97 -0
- package/standalone/node_modules/next/dist/lib/constants.js +19 -4
- package/standalone/node_modules/next/dist/lib/download-swc.js +2 -2
- package/standalone/node_modules/next/dist/lib/find-root.js +11 -7
- package/standalone/node_modules/next/dist/lib/format-server-error.js +1 -0
- package/standalone/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +3 -20
- package/standalone/node_modules/next/dist/lib/interop-default.js +1 -0
- package/standalone/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
- package/standalone/node_modules/next/dist/lib/load-custom-routes.js +49 -5
- package/standalone/node_modules/next/dist/lib/memory/trace.js +109 -0
- package/standalone/node_modules/next/dist/lib/metadata/get-metadata-route.js +11 -2
- package/standalone/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
- package/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
- package/standalone/node_modules/next/dist/lib/try-to-parse-path.js +1 -2
- package/standalone/node_modules/next/dist/lib/turbopack-warning.js +0 -1
- package/standalone/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +6 -3
- package/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +1 -1
- package/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -1
- package/standalone/node_modules/next/dist/lib/typescript/runTypeCheck.js +6 -8
- package/standalone/node_modules/next/dist/lib/typescript/type-paths.js +7 -12
- package/standalone/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +17 -7
- package/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +9 -12
- package/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +66 -16
- package/standalone/node_modules/next/dist/next-devtools/server/shared.js +6 -10
- package/standalone/node_modules/next/dist/next-devtools/shared/webpack-module-path.js +4 -4
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js +22 -4
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js +7 -1
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js +18 -13
- package/standalone/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js +7 -4
- package/standalone/node_modules/next/dist/server/app-render/action-handler.js +83 -15
- package/standalone/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +0 -82
- package/standalone/node_modules/next/dist/server/app-render/app-render-render-utils.js +45 -81
- package/standalone/node_modules/next/dist/server/app-render/app-render.js +1746 -803
- package/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +136 -50
- package/standalone/node_modules/next/dist/server/app-render/create-error-handler.js +6 -4
- package/standalone/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +52 -26
- package/standalone/node_modules/next/dist/server/app-render/csrf-protection.js +14 -3
- package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
- package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
- package/standalone/node_modules/next/dist/server/app-render/dynamic-rendering.js +353 -37
- package/standalone/node_modules/next/dist/server/app-render/get-asset-query-string.js +2 -2
- package/standalone/node_modules/next/dist/server/app-render/get-layer-assets.js +1 -1
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
- package/standalone/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
- package/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +8 -1
- package/standalone/node_modules/next/dist/server/app-render/postponed-state.js +2 -1
- package/standalone/node_modules/next/dist/server/app-render/prospective-render-utils.js +1 -0
- package/standalone/node_modules/next/dist/server/app-render/segment-explorer-path.js +35 -10
- package/standalone/node_modules/next/dist/server/app-render/staged-rendering.js +142 -72
- package/standalone/node_modules/next/dist/server/app-render/stale-time.js +111 -0
- package/standalone/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
- package/standalone/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
- package/standalone/node_modules/next/dist/server/app-render/types.js +10 -4
- package/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +3 -1
- package/standalone/node_modules/next/dist/server/app-render/vary-params.js +336 -0
- package/standalone/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +59 -12
- package/standalone/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +54 -26
- package/standalone/node_modules/next/dist/server/async-storage/request-store.js +4 -4
- package/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -5
- package/standalone/node_modules/next/dist/server/base-server.js +65 -53
- package/standalone/node_modules/next/dist/server/config-schema.js +93 -8
- package/standalone/node_modules/next/dist/server/config-shared.js +57 -7
- package/standalone/node_modules/next/dist/server/config.js +96 -25
- package/standalone/node_modules/next/dist/server/dev/browser-logs/file-logger.js +9 -6
- package/standalone/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +46 -0
- package/standalone/node_modules/next/dist/server/dev/browser-logs/source-map.js +1 -4
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +264 -33
- package/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +8 -4
- package/standalone/node_modules/next/dist/server/dev/log-requests.js +10 -2
- package/standalone/node_modules/next/dist/server/dev/middleware-turbopack.js +20 -10
- package/standalone/node_modules/next/dist/server/dev/middleware-webpack.js +13 -3
- package/standalone/node_modules/next/dist/server/dev/next-dev-server.js +19 -6
- package/standalone/node_modules/next/dist/server/dev/on-demand-entry-handler.js +69 -0
- package/standalone/node_modules/next/dist/server/dev/require-cache.js +51 -21
- package/standalone/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
- package/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +1 -0
- package/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +6 -15
- package/standalone/node_modules/next/dist/server/dynamic-rendering-utils.js +22 -0
- package/standalone/node_modules/next/dist/server/image-optimizer.js +157 -27
- package/standalone/node_modules/next/dist/server/lib/app-info-log.js +16 -38
- package/standalone/node_modules/next/dist/server/lib/cache-control.js +1 -1
- package/standalone/node_modules/next/dist/server/lib/clone-response.js +16 -16
- package/standalone/node_modules/next/dist/server/lib/cpu-profile.js +47 -16
- package/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +2 -2
- package/standalone/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
- package/standalone/node_modules/next/dist/server/lib/find-page-file.js +27 -7
- package/standalone/node_modules/next/dist/server/lib/implicit-tags.js +3 -3
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +5 -3
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +32 -10
- package/standalone/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +18 -1
- package/standalone/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
- package/standalone/node_modules/next/dist/server/lib/lru-cache.js +9 -1
- package/standalone/node_modules/next/dist/server/lib/patch-fetch.js +40 -7
- package/standalone/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
- package/standalone/node_modules/next/dist/server/lib/render-server.js +4 -1
- package/standalone/node_modules/next/dist/server/lib/router-server.js +24 -13
- package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
- package/standalone/node_modules/next/dist/server/lib/router-utils/filesystem.js +16 -15
- package/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +32 -11
- package/standalone/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +3 -3
- package/standalone/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +71 -71
- package/standalone/node_modules/next/dist/server/lib/router-utils/typegen.js +247 -2
- package/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +2 -1
- package/standalone/node_modules/next/dist/server/lib/start-server.js +73 -39
- package/standalone/node_modules/next/dist/server/lib/trace/tracer.js +11 -1
- package/standalone/node_modules/next/dist/server/lib/utils.js +40 -11
- package/standalone/node_modules/next/dist/server/load-components.js +2 -0
- package/standalone/node_modules/next/dist/server/load-manifest.external.js +37 -17
- package/standalone/node_modules/next/dist/server/mcp/tools/get-errors.js +11 -4
- package/standalone/node_modules/next/dist/server/mcp/tools/get-logs.js +9 -3
- package/standalone/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +52 -44
- package/standalone/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +6 -2
- package/standalone/node_modules/next/dist/server/mcp/tools/get-routes.js +44 -79
- package/standalone/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +12 -4
- package/standalone/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +62 -72
- package/standalone/node_modules/next/dist/server/next-server.js +69 -99
- package/standalone/node_modules/next/dist/server/next.js +3 -0
- package/standalone/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +61 -6
- package/standalone/node_modules/next/dist/server/node-environment-extensions/date.js +4 -4
- package/standalone/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +13 -6
- package/standalone/node_modules/next/dist/server/node-environment-extensions/{utils.js → io-utils.js} +14 -5
- package/standalone/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +8 -8
- package/standalone/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
- package/standalone/node_modules/next/dist/server/node-environment-extensions/random.js +2 -2
- package/standalone/node_modules/next/dist/server/node-environment-extensions/{unhandled-rejection.js → unhandled-rejection.external.js} +23 -4
- package/standalone/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +3 -3
- package/standalone/node_modules/next/dist/server/node-environment.js +1 -1
- package/standalone/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +2 -1
- package/standalone/node_modules/next/dist/server/patch-error-inspect.js +37 -20
- package/standalone/node_modules/next/dist/server/render-result.js +9 -0
- package/standalone/node_modules/next/dist/server/render.js +27 -25
- package/standalone/node_modules/next/dist/server/require-hook.js +19 -8
- package/standalone/node_modules/next/dist/server/response-cache/utils.js +1 -0
- package/standalone/node_modules/next/dist/server/resume-data-cache/cache-store.js +35 -23
- package/standalone/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +16 -7
- package/standalone/node_modules/next/dist/server/revalidation-utils.js +12 -7
- package/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +2 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +4 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/module.js +31 -1
- package/standalone/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
- package/standalone/node_modules/next/dist/server/route-modules/pages/pages-handler.js +31 -8
- package/standalone/node_modules/next/dist/server/route-modules/route-module.js +71 -18
- package/standalone/node_modules/next/dist/server/stream-utils/encoded-tags.js +8 -0
- package/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +239 -58
- package/standalone/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +7 -2
- package/standalone/node_modules/next/dist/server/typescript/constant.js +1 -0
- package/standalone/node_modules/next/dist/server/typescript/rules/config.js +14 -3
- package/standalone/node_modules/next/dist/server/web/adapter.js +7 -3
- package/standalone/node_modules/next/dist/server/web/next-url.js +6 -2
- package/standalone/node_modules/next/dist/server/web/sandbox/sandbox.js +3 -0
- package/standalone/node_modules/next/dist/shared/lib/app-router-types.js +30 -11
- package/standalone/node_modules/next/dist/shared/lib/constants.js +7 -7
- package/standalone/node_modules/next/dist/shared/lib/deployment-id.js +37 -10
- package/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/standalone/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
- package/standalone/node_modules/next/dist/shared/lib/format-webpack-messages.js +22 -2
- package/standalone/node_modules/next/dist/shared/lib/image-config.js +3 -1
- package/standalone/node_modules/next/dist/shared/lib/is-internal.js +2 -0
- package/standalone/node_modules/next/dist/shared/lib/magic-identifier.js +6 -6
- package/standalone/node_modules/next/dist/shared/lib/router/router.js +32 -0
- package/standalone/node_modules/next/dist/shared/lib/router/utils/app-paths.js +11 -0
- package/standalone/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +11 -4
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +3 -2
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +9 -2
- package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-url.js +8 -2
- package/standalone/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
- package/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +4 -0
- package/standalone/node_modules/next/dist/shared/lib/size-limit.js +6 -1
- package/standalone/node_modules/next/dist/shared/lib/turbopack/compilation-events.js +47 -10
- package/standalone/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js +90 -116
- package/standalone/node_modules/next/dist/shared/lib/turbopack/utils.js +14 -26
- package/standalone/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
- package/standalone/node_modules/next/dist/shared/lib/utils.js +2 -2
- package/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/standalone/node_modules/next/dist/trace/index.js +4 -0
- package/standalone/node_modules/next/dist/trace/report/to-json-build.js +11 -108
- package/standalone/node_modules/next/dist/trace/report/to-json.js +52 -38
- package/standalone/node_modules/next/dist/trace/trace.js +15 -1
- package/standalone/node_modules/next/package.json +21 -23
- package/standalone/node_modules/react/cjs/react.development.js +1284 -0
- package/standalone/package.json +3 -3
- package/standalone/packages/core/package.json +1 -1
- package/standalone/apps/frontend/.next/static/chunks/1315.18c68981a2eab4fe.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/87c73c54-c5fda2db2a4bd732.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/common-d9b436492e46bb05.js +0 -69
- package/standalone/apps/frontend/.next/static/chunks/framework-86c2a58f458066a5.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/vendors-c7197feb11002a6e.js +0 -10
- package/standalone/apps/frontend/.next/static/kMwuefB4Z1_6Xta5NPqs1/_buildManifest.js +0 -1
- package/standalone/node_modules/next/dist/client/components/router-reducer/handle-mutable.js +0 -66
- package/standalone/node_modules/next/dist/compiled/babel/code-frame.js +0 -1
- package/standalone/node_modules/next/dist/compiled/babel-code-frame/index.js +0 -1
- package/standalone/node_modules/next/dist/compiled/babel-code-frame/package.json +0 -1
- package/standalone/node_modules/next/dist/compiled/tar/index.js +0 -1
- package/standalone/node_modules/next/dist/server/app-render/staged-validation.js +0 -32
- package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +0 -76
- package/standalone/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +0 -52
- package/standalone/node_modules/typescript/lib/typescript.js +0 -200276
- package/standalone/node_modules/typescript/package.json +0 -120
- /package/standalone/apps/frontend/.next/static/{kMwuefB4Z1_6Xta5NPqs1 → I_XveRdyStDMqYJPcAAy5}/_ssgManifest.js +0 -0
|
@@ -20,13 +20,44 @@ module.exports = require("next/dist/server/app-render/after-task-async-storage.e
|
|
|
20
20
|
|
|
21
21
|
/***/ }),
|
|
22
22
|
|
|
23
|
-
/***/
|
|
23
|
+
/***/ 10846:
|
|
24
|
+
/***/ ((module) => {
|
|
25
|
+
|
|
26
|
+
"use strict";
|
|
27
|
+
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 17891:
|
|
32
|
+
/***/ ((module) => {
|
|
33
|
+
|
|
34
|
+
"use strict";
|
|
35
|
+
module.exports = require("next/dist/shared/lib/router/utils/get-segment-param");
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
39
|
+
/***/ 19121:
|
|
40
|
+
/***/ ((module) => {
|
|
41
|
+
|
|
42
|
+
"use strict";
|
|
43
|
+
module.exports = require("next/dist/server/app-render/action-async-storage.external.js");
|
|
44
|
+
|
|
45
|
+
/***/ }),
|
|
46
|
+
|
|
47
|
+
/***/ 19771:
|
|
48
|
+
/***/ ((module) => {
|
|
49
|
+
|
|
50
|
+
"use strict";
|
|
51
|
+
module.exports = require("process");
|
|
52
|
+
|
|
53
|
+
/***/ }),
|
|
54
|
+
|
|
55
|
+
/***/ 21901:
|
|
24
56
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25
57
|
|
|
26
58
|
"use strict";
|
|
27
59
|
__webpack_require__.r(__webpack_exports__);
|
|
28
60
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29
|
-
/* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
30
61
|
/* harmony export */ __next_app__: () => (/* binding */ __next_app__),
|
|
31
62
|
/* harmony export */ handler: () => (/* binding */ handler),
|
|
32
63
|
/* harmony export */ routeModule: () => (/* binding */ routeModule)
|
|
@@ -69,25 +100,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
69
100
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(38038);
|
|
70
101
|
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__);
|
|
71
102
|
/* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(29898);
|
|
72
|
-
/* harmony import */ var
|
|
73
|
-
/* harmony import */ var
|
|
74
|
-
/* harmony import */ var
|
|
75
|
-
/* harmony import */ var
|
|
76
|
-
/* harmony import */ var
|
|
77
|
-
/* harmony import */ var
|
|
78
|
-
/* harmony import */ var
|
|
79
|
-
/* harmony import */ var
|
|
80
|
-
/* harmony import */ var
|
|
81
|
-
/* harmony import */ var
|
|
82
|
-
/* harmony import */ var
|
|
83
|
-
/* harmony import */ var
|
|
84
|
-
/* harmony import */ var
|
|
85
|
-
/* harmony import */ var
|
|
86
|
-
/* harmony import */ var
|
|
87
|
-
/* harmony import */ var
|
|
88
|
-
/* harmony import */ var
|
|
103
|
+
/* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62918);
|
|
104
|
+
/* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__);
|
|
105
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(98798);
|
|
106
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
|
|
107
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
|
|
108
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
|
|
109
|
+
/* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(77068);
|
|
110
|
+
/* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__);
|
|
111
|
+
/* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(31214);
|
|
112
|
+
/* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__);
|
|
113
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(35402);
|
|
114
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__);
|
|
115
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(29059);
|
|
116
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__);
|
|
117
|
+
/* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(70722);
|
|
118
|
+
/* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__);
|
|
119
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(31182);
|
|
120
|
+
/* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__);
|
|
121
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(43954);
|
|
122
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__);
|
|
123
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(17891);
|
|
124
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__);
|
|
89
125
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
90
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in
|
|
126
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__) if(["default","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__[__WEBPACK_IMPORT_KEY__]
|
|
91
127
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
92
128
|
const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 95235));
|
|
93
129
|
const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 25195));
|
|
@@ -96,8 +132,13 @@ const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_requi
|
|
|
96
132
|
const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 4253, 23));
|
|
97
133
|
const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 49184, 23));
|
|
98
134
|
const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 57149));
|
|
99
|
-
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
100
|
-
const
|
|
135
|
+
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
136
|
+
const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 28310));
|
|
137
|
+
const module9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
138
|
+
const module10 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
|
|
139
|
+
const page11 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 81179));
|
|
140
|
+
|
|
141
|
+
|
|
101
142
|
|
|
102
143
|
|
|
103
144
|
|
|
@@ -139,27 +180,31 @@ const tree = {
|
|
|
139
180
|
'signin',
|
|
140
181
|
{
|
|
141
182
|
children: ['__PAGE__', {}, {
|
|
142
|
-
page: [
|
|
183
|
+
page: [page11, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/auth/signin/page.tsx"],
|
|
143
184
|
|
|
144
185
|
}]
|
|
145
186
|
},
|
|
146
187
|
{
|
|
188
|
+
'global-error': [module10, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
147
189
|
|
|
148
|
-
|
|
149
|
-
|
|
190
|
+
},
|
|
191
|
+
[]
|
|
150
192
|
]
|
|
151
193
|
},
|
|
152
194
|
{
|
|
195
|
+
'global-error': [module9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
153
196
|
|
|
154
|
-
|
|
155
|
-
|
|
197
|
+
},
|
|
198
|
+
[]
|
|
156
199
|
]
|
|
157
200
|
},
|
|
158
201
|
{
|
|
159
202
|
'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
|
|
160
|
-
'
|
|
203
|
+
'global-error': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
204
|
+
'not-found': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
|
|
161
205
|
|
|
162
|
-
}
|
|
206
|
+
},
|
|
207
|
+
["_not-found","_global-error","api"]
|
|
163
208
|
]
|
|
164
209
|
},
|
|
165
210
|
{
|
|
@@ -170,11 +215,10 @@ const tree = {
|
|
|
170
215
|
'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
|
|
171
216
|
'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
|
|
172
217
|
|
|
173
|
-
}
|
|
218
|
+
},
|
|
219
|
+
[]
|
|
174
220
|
]
|
|
175
221
|
}.children;
|
|
176
|
-
|
|
177
|
-
|
|
178
222
|
const __next_app_require__ = __webpack_require__
|
|
179
223
|
const __next_app_load_chunk__ = () => Promise.resolve()
|
|
180
224
|
const __next_app__ = {
|
|
@@ -187,6 +231,7 @@ const __next_app__ = {
|
|
|
187
231
|
|
|
188
232
|
|
|
189
233
|
|
|
234
|
+
|
|
190
235
|
// Create and export the route module that will be consumed.
|
|
191
236
|
const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
|
|
192
237
|
definition: {
|
|
@@ -204,12 +249,53 @@ const routeModule = new next_dist_server_route_modules_app_page_module_compiled_
|
|
|
204
249
|
distDir: ".next" || 0,
|
|
205
250
|
relativeProjectDir: false || ''
|
|
206
251
|
});
|
|
252
|
+
function buildDynamicSegmentPlaceholder(param) {
|
|
253
|
+
const { repeat, optional } = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getParamProperties)(param.paramType);
|
|
254
|
+
if (optional) {
|
|
255
|
+
return `[[...${param.paramName}]]`;
|
|
256
|
+
}
|
|
257
|
+
if (repeat) {
|
|
258
|
+
return `[...${param.paramName}]`;
|
|
259
|
+
}
|
|
260
|
+
return `[${param.paramName}]`;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Builds the cache key for the most complete prerenderable shell we can derive
|
|
264
|
+
* from the shell that matched this request. Only params that can still be
|
|
265
|
+
* filled by `generateStaticParams` are substituted; fully dynamic params stay
|
|
266
|
+
* as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into
|
|
267
|
+
* `/c/[two]` rather than `/c/foo`.
|
|
268
|
+
*/ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {
|
|
269
|
+
const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[
|
|
270
|
+
param.paramName,
|
|
271
|
+
param
|
|
272
|
+
]));
|
|
273
|
+
return fallbackPathname.split('/').map((segment)=>{
|
|
274
|
+
const segmentParam = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getSegmentParam)(segment);
|
|
275
|
+
if (!segmentParam) {
|
|
276
|
+
return segment;
|
|
277
|
+
}
|
|
278
|
+
const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);
|
|
279
|
+
if (!remainingParam) {
|
|
280
|
+
return segment;
|
|
281
|
+
}
|
|
282
|
+
const value = params == null ? void 0 : params[remainingParam.paramName];
|
|
283
|
+
if (!value) {
|
|
284
|
+
return segment;
|
|
285
|
+
}
|
|
286
|
+
const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);
|
|
287
|
+
return segment.replace(buildDynamicSegmentPlaceholder(remainingParam), encodedValue);
|
|
288
|
+
}).join('/') || '/';
|
|
289
|
+
}
|
|
207
290
|
async function handler(req, res, ctx) {
|
|
208
|
-
var _this;
|
|
291
|
+
var _this, _prerenderManifest_routes_resolvedPathname, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams;
|
|
292
|
+
if (ctx.requestMeta) {
|
|
293
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.setRequestMeta)(req, ctx.requestMeta);
|
|
294
|
+
}
|
|
209
295
|
if (routeModule.isDev) {
|
|
210
296
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
211
297
|
}
|
|
212
|
-
const isMinimalMode = Boolean(
|
|
298
|
+
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode'));
|
|
213
299
|
let srcPage = "/[locale]/auth/signin/page";
|
|
214
300
|
// turbopack doesn't normalize `/index` in the page name
|
|
215
301
|
// so we need to to process dynamic routes properly
|
|
@@ -229,7 +315,7 @@ async function handler(req, res, ctx) {
|
|
|
229
315
|
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
230
316
|
return null;
|
|
231
317
|
}
|
|
232
|
-
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId } = prepareResult;
|
|
318
|
+
const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken } = prepareResult;
|
|
233
319
|
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_13__.normalizeAppPath)(srcPage);
|
|
234
320
|
let { isOnDemandRevalidate } = prepareResult;
|
|
235
321
|
// We use the resolvedPathname instead of the parsedUrl.pathname because it
|
|
@@ -239,7 +325,8 @@ async function handler(req, res, ctx) {
|
|
|
239
325
|
// treat the pathname as dynamic. Currently, there's a bug in the PPR
|
|
240
326
|
// implementation that incorrectly leaves %%drp placeholders in the output of
|
|
241
327
|
// parallel routes. This is addressed with cacheComponents.
|
|
242
|
-
const
|
|
328
|
+
const prerenderMatch = nextConfig.experimental.ppr && !nextConfig.cacheComponents && (0,next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__.isInterceptionRouteAppPath)(resolvedPathname) ? null : routeModule.match(resolvedPathname, prerenderManifest);
|
|
329
|
+
const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;
|
|
243
330
|
const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
|
|
244
331
|
const userAgent = req.headers['user-agent'] || '';
|
|
245
332
|
const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_16__.getBotType)(userAgent);
|
|
@@ -256,15 +343,65 @@ async function handler(req, res, ctx) {
|
|
|
256
343
|
* If the route being rendered is an app page, and the ppr feature has been
|
|
257
344
|
* enabled, then the given route _could_ support PPR.
|
|
258
345
|
*/ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
|
|
346
|
+
// Stash postponed state for server actions when in minimal mode.
|
|
347
|
+
// We extract it here so the RDC is available for the re-render after the action completes.
|
|
348
|
+
const resumeStateLengthHeader = req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_STATE_LENGTH_HEADER];
|
|
349
|
+
if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {
|
|
350
|
+
const stateLength = parseInt(resumeStateLengthHeader, 10);
|
|
351
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
352
|
+
if (!isNaN(stateLength) && stateLength > 0) {
|
|
353
|
+
var _nextConfig_experimental_serverActions;
|
|
354
|
+
if (stateLength > maxPostponedStateSizeBytes) {
|
|
355
|
+
res.statusCode = 413;
|
|
356
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
357
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
358
|
+
return null;
|
|
359
|
+
}
|
|
360
|
+
// Calculate max total body size to prevent buffering excessively large
|
|
361
|
+
// payloads before the action handler checks. We use stateLength (not
|
|
362
|
+
// maxPostponedStateSizeBytes) so the postponed state doesn't eat into
|
|
363
|
+
// the action body budget - it's already validated above.
|
|
364
|
+
const defaultActionBodySizeLimit = '1 MB';
|
|
365
|
+
const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;
|
|
366
|
+
const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? (__webpack_require__(32683).parse)(actionBodySizeLimit) : 1024 * 1024 // 1 MB
|
|
367
|
+
;
|
|
368
|
+
const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;
|
|
369
|
+
const fullBody = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxTotalBodySize);
|
|
370
|
+
if (fullBody === null) {
|
|
371
|
+
res.statusCode = 413;
|
|
372
|
+
res.end(`Request body exceeded limit. ` + `To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit`);
|
|
373
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
if (fullBody.length >= stateLength) {
|
|
377
|
+
// Extract postponed state from the beginning
|
|
378
|
+
const postponedState = fullBody.subarray(0, stateLength).toString('utf8');
|
|
379
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponedState);
|
|
380
|
+
// Store the remaining action body for the action handler
|
|
381
|
+
const actionBody = fullBody.subarray(stateLength);
|
|
382
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'actionBody', actionBody);
|
|
383
|
+
} else {
|
|
384
|
+
throw Object.defineProperty(new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`), "__NEXT_ERROR_CODE", {
|
|
385
|
+
value: "E979",
|
|
386
|
+
enumerable: false,
|
|
387
|
+
configurable: true
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
259
392
|
if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && couldSupportPPR && req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_HEADER] === '1' && req.method === 'POST') {
|
|
393
|
+
const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
|
|
260
394
|
// Decode the postponed state from the request body, it will come as
|
|
261
395
|
// an array of buffers, so collect them and then concat them to form
|
|
262
396
|
// the string.
|
|
263
|
-
const body =
|
|
264
|
-
|
|
265
|
-
|
|
397
|
+
const body = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxPostponedStateSizeBytes);
|
|
398
|
+
if (body === null) {
|
|
399
|
+
res.statusCode = 413;
|
|
400
|
+
res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
|
|
401
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
402
|
+
return null;
|
|
266
403
|
}
|
|
267
|
-
const postponed =
|
|
404
|
+
const postponed = body.toString('utf8');
|
|
268
405
|
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponed);
|
|
269
406
|
}
|
|
270
407
|
// When enabled, this will allow the use of the `?__nextppronly` query to
|
|
@@ -273,14 +410,29 @@ async function handler(req, res, ctx) {
|
|
|
273
410
|
// When enabled, this will allow the use of the `?__nextppronly` query
|
|
274
411
|
// to enable debugging of the fallback shell.
|
|
275
412
|
const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
|
|
413
|
+
// Whether the testing API is exposed (dev mode or explicit flag)
|
|
414
|
+
const exposeTestingApi = routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true;
|
|
415
|
+
// Enable the Instant Navigation Testing API. Renders only the prefetched
|
|
416
|
+
// portion of the page, excluding dynamic content. This allows tests to
|
|
417
|
+
// assert on the prefetched UI state deterministically.
|
|
418
|
+
// - Header: Used for client-side navigations where we can set request headers
|
|
419
|
+
// - Cookie: Used for MPA navigations (page reload, full page load) where we
|
|
420
|
+
// can't set request headers. Only applies to document requests (no RSC
|
|
421
|
+
// header) - RSC requests should proceed normally even during a locked scope,
|
|
422
|
+
// with blocking happening on the client side.
|
|
423
|
+
const isInstantNavigationTest = exposeTestingApi && (req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.NEXT_INSTANT_PREFETCH_HEADER] === '1' || req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_HEADER] === undefined && typeof req.headers.cookie === 'string' && req.headers.cookie.includes(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.NEXT_INSTANT_TEST_COOKIE + '='));
|
|
276
424
|
// This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
|
|
277
425
|
// prerender manifest and this is an app page.
|
|
278
|
-
const isRoutePPREnabled =
|
|
426
|
+
const isRoutePPREnabled = // When the instant navigation testing API is active, enable the PPR
|
|
427
|
+
// prerender path even without Cache Components. In dev mode without CC,
|
|
428
|
+
// static pages need this path to produce buffered segment data (the
|
|
429
|
+
// legacy prerender path hangs in dev mode).
|
|
430
|
+
(couldSupportPPR || isInstantNavigationTest) && (((_this = prerenderManifest.routes[normalizedSrcPage] ?? prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _this.renderingMode) === 'PARTIALLY_STATIC' || // Ideally we'd want to check the appConfig to see if this page has PPR
|
|
279
431
|
// enabled or not, but that would require plumbing the appConfig through
|
|
280
432
|
// to the server during development. We assume that the page supports it
|
|
281
|
-
// but only during development.
|
|
282
|
-
hasDebugStaticShellQuery && (
|
|
283
|
-
const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
|
|
433
|
+
// but only during development or when the testing API is exposed.
|
|
434
|
+
(hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
|
|
435
|
+
const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;
|
|
284
436
|
// We should enable debugging dynamic accesses when the static shell
|
|
285
437
|
// debugging has been enabled and we're also in development mode.
|
|
286
438
|
const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
|
|
@@ -292,7 +444,11 @@ async function handler(req, res, ctx) {
|
|
|
292
444
|
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
293
445
|
// we can use this fact to only generate the flight data for the request
|
|
294
446
|
// because we can't cache the HTML (as it's also dynamic).
|
|
295
|
-
|
|
447
|
+
const staticPrefetchDataRoute = (_prerenderManifest_routes_resolvedPathname = prerenderManifest.routes[resolvedPathname]) == null ? void 0 : _prerenderManifest_routes_resolvedPathname.prefetchDataRoute;
|
|
448
|
+
let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static
|
|
449
|
+
// so we can serve the prebuilt .rsc without a dynamic render.
|
|
450
|
+
// Only do this for routes that have a concrete prefetchDataRoute.
|
|
451
|
+
!staticPrefetchDataRoute;
|
|
296
452
|
// During a PPR revalidation, the RSC request is not dynamic if we do not have the postponed data.
|
|
297
453
|
// We only attach the postponed data during a resume. If there's no postponed data, then it must be a revalidation.
|
|
298
454
|
// This is to ensure that we don't bypass the cache during a revalidation.
|
|
@@ -308,10 +464,11 @@ async function handler(req, res, ctx) {
|
|
|
308
464
|
// being true for a revalidate due to modifying the base-server this.renderOpts
|
|
309
465
|
// when fixing this to correct logic it causes hydration issue since we set
|
|
310
466
|
// serveStreamingMetadata to true during export
|
|
311
|
-
const serveStreamingMetadata =
|
|
312
|
-
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a
|
|
313
|
-
// to serve a static response.
|
|
314
|
-
|
|
467
|
+
const serveStreamingMetadata = botType && isRoutePPREnabled ? false : !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
|
|
468
|
+
const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a bot request and PPR is enabled, then we don't want
|
|
469
|
+
// to serve a static response. This applies to both DOM bots (like Googlebot)
|
|
470
|
+
// and HTML-limited bots.
|
|
471
|
+
!(botType && isRoutePPREnabled));
|
|
315
472
|
// When a page supports cacheComponents, we can support RDC for Navigations
|
|
316
473
|
const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;
|
|
317
474
|
// In development, we always want to generate dynamic HTML.
|
|
@@ -328,18 +485,37 @@ async function handler(req, res, ctx) {
|
|
|
328
485
|
// RSC request, we'll pass the minimal postponed data to the render
|
|
329
486
|
// which will trigger the `supportsDynamicResponse` to be true.
|
|
330
487
|
isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);
|
|
331
|
-
// When
|
|
332
|
-
|
|
488
|
+
// When bots request PPR page, perform the full dynamic rendering.
|
|
489
|
+
// This applies to both DOM bots (like Googlebot) and HTML-limited bots.
|
|
490
|
+
const shouldWaitOnAllReady = Boolean(botType) && isRoutePPREnabled;
|
|
491
|
+
const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];
|
|
492
|
+
const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;
|
|
333
493
|
let ssgCacheKey = null;
|
|
334
494
|
if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
335
|
-
|
|
495
|
+
// For normal SSG routes we cache by the fully resolved pathname. For
|
|
496
|
+
// partial fallbacks we instead derive the cache key from the shell
|
|
497
|
+
// that matched this request so `/prefix/[one]/[two]` can specialize into
|
|
498
|
+
// `/prefix/c/[two]` without promoting all the way to `/prefix/c/foo`.
|
|
499
|
+
const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;
|
|
500
|
+
if (nextConfig.experimental.partialFallbacks === true && fallbackPathname && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && !hasUnresolvedRootFallbackParams) {
|
|
501
|
+
if (remainingPrerenderableParams.length > 0) {
|
|
502
|
+
const completedShellCacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);
|
|
503
|
+
// If applying the current request params doesn't make the shell any
|
|
504
|
+
// more complete, then this shell is already at its most complete
|
|
505
|
+
// form and should remain shared rather than creating a new cache entry.
|
|
506
|
+
ssgCacheKey = completedShellCacheKey !== fallbackPathname ? completedShellCacheKey : null;
|
|
507
|
+
}
|
|
508
|
+
} else {
|
|
509
|
+
ssgCacheKey = resolvedPathname;
|
|
510
|
+
}
|
|
336
511
|
}
|
|
337
512
|
// the staticPathKey differs from ssgCacheKey since
|
|
338
513
|
// ssgCacheKey is null in dev since we're always in "dynamic"
|
|
339
|
-
// mode in dev to bypass the cache
|
|
340
|
-
//
|
|
514
|
+
// mode in dev to bypass the cache. It can also be null for partial
|
|
515
|
+
// fallback shells that should remain shared and must not create a
|
|
516
|
+
// param-specific ISR entry, but we still need to honor fallback handling.
|
|
341
517
|
let staticPathKey = ssgCacheKey;
|
|
342
|
-
if (!staticPathKey && routeModule.isDev) {
|
|
518
|
+
if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams))) {
|
|
343
519
|
staticPathKey = resolvedPathname;
|
|
344
520
|
}
|
|
345
521
|
// If this is a request for an app path that should be statically generated
|
|
@@ -349,9 +525,8 @@ async function handler(req, res, ctx) {
|
|
|
349
525
|
(0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
|
|
350
526
|
}
|
|
351
527
|
const ComponentMod = {
|
|
352
|
-
...
|
|
528
|
+
...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__,
|
|
353
529
|
tree,
|
|
354
|
-
GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
355
530
|
handler,
|
|
356
531
|
routeModule,
|
|
357
532
|
__next_app__
|
|
@@ -369,6 +544,8 @@ async function handler(req, res, ctx) {
|
|
|
369
544
|
const method = req.method || 'GET';
|
|
370
545
|
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.getTracer)();
|
|
371
546
|
const activeSpan = tracer.getActiveScopeSpan();
|
|
547
|
+
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
548
|
+
const remainingFallbackRouteParams = nextConfig.experimental.partialFallbacks === true && remainingPrerenderableParams.length > 0 ? (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams.filter((param)=>!remainingPrerenderableParams.some((prerenderableParam)=>prerenderableParam.paramName === param.paramName))) ?? [] : [];
|
|
372
549
|
const render404 = async ()=>{
|
|
373
550
|
// TODO: should route-module itself handle rendering the 404
|
|
374
551
|
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
@@ -381,6 +558,7 @@ async function handler(req, res, ctx) {
|
|
|
381
558
|
try {
|
|
382
559
|
const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
|
|
383
560
|
res.setHeader('Vary', varyHeader);
|
|
561
|
+
let parentSpan;
|
|
384
562
|
const invokeRouteModule = async (span, context)=>{
|
|
385
563
|
const nextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextRequest(req);
|
|
386
564
|
const nextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextResponse(res);
|
|
@@ -408,19 +586,29 @@ async function handler(req, res, ctx) {
|
|
|
408
586
|
'next.span_name': name
|
|
409
587
|
});
|
|
410
588
|
span.updateName(name);
|
|
589
|
+
// Propagate http.route to the parent span if one exists (e.g.
|
|
590
|
+
// a platform-created HTTP span in adapter deployments).
|
|
591
|
+
if (parentSpan && parentSpan !== span) {
|
|
592
|
+
parentSpan.setAttribute('http.route', route);
|
|
593
|
+
parentSpan.updateName(name);
|
|
594
|
+
}
|
|
411
595
|
} else {
|
|
412
596
|
span.updateName(`${method} ${srcPage}`);
|
|
413
597
|
}
|
|
414
598
|
});
|
|
415
599
|
};
|
|
416
|
-
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache');
|
|
600
|
+
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, prerenderManifest, isMinimalMode);
|
|
601
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
602
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
417
603
|
const doRender = async ({ span, postponed, fallbackRouteParams, forceStaticRender })=>{
|
|
418
604
|
const context = {
|
|
419
605
|
query,
|
|
420
606
|
params,
|
|
421
607
|
page: normalizedSrcPage,
|
|
422
608
|
sharedContext: {
|
|
423
|
-
buildId
|
|
609
|
+
buildId,
|
|
610
|
+
deploymentId,
|
|
611
|
+
clientAssetToken
|
|
424
612
|
},
|
|
425
613
|
serverComponentsHmrCache: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'serverComponentsHmrCache'),
|
|
426
614
|
fallbackRouteParams,
|
|
@@ -456,7 +644,6 @@ async function handler(req, res, ctx) {
|
|
|
456
644
|
trailingSlash: nextConfig.trailingSlash,
|
|
457
645
|
images: nextConfig.images,
|
|
458
646
|
previewProps: prerenderManifest.preview,
|
|
459
|
-
deploymentId: deploymentId,
|
|
460
647
|
enableTainting: nextConfig.experimental.taint,
|
|
461
648
|
htmlLimitedBots: nextConfig.htmlLimitedBots,
|
|
462
649
|
reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,
|
|
@@ -465,8 +652,9 @@ async function handler(req, res, ctx) {
|
|
|
465
652
|
cacheLifeProfiles: nextConfig.cacheLife,
|
|
466
653
|
basePath: nextConfig.basePath,
|
|
467
654
|
serverActions: nextConfig.experimental.serverActions,
|
|
655
|
+
logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),
|
|
468
656
|
...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {
|
|
469
|
-
|
|
657
|
+
isBuildTimePrerendering: true,
|
|
470
658
|
supportsDynamicResponse: false,
|
|
471
659
|
isStaticGeneration: true,
|
|
472
660
|
isDebugDynamicAccesses: isDebugDynamicAccesses
|
|
@@ -477,11 +665,14 @@ async function handler(req, res, ctx) {
|
|
|
477
665
|
expireTime: nextConfig.expireTime,
|
|
478
666
|
staleTimes: nextConfig.experimental.staleTimes,
|
|
479
667
|
dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),
|
|
668
|
+
optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),
|
|
480
669
|
inlineCss: Boolean(nextConfig.experimental.inlineCss),
|
|
670
|
+
prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,
|
|
481
671
|
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
672
|
+
cachedNavigations: Boolean(nextConfig.experimental.cachedNavigations),
|
|
482
673
|
clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],
|
|
483
674
|
clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,
|
|
484
|
-
maxPostponedStateSizeBytes: (0,
|
|
675
|
+
maxPostponedStateSizeBytes: (0,next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize)
|
|
485
676
|
},
|
|
486
677
|
waitUntil: ctx.waitUntil,
|
|
487
678
|
onClose: (cb)=>{
|
|
@@ -489,15 +680,9 @@ async function handler(req, res, ctx) {
|
|
|
489
680
|
},
|
|
490
681
|
onAfterTaskError: ()=>{},
|
|
491
682
|
onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),
|
|
492
|
-
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
493
|
-
dev: routeModule.isDev
|
|
683
|
+
err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
|
|
494
684
|
}
|
|
495
685
|
};
|
|
496
|
-
if (isDebugStaticShell || isDebugDynamicAccesses) {
|
|
497
|
-
context.renderOpts.nextExport = true;
|
|
498
|
-
context.renderOpts.supportsDynamicResponse = false;
|
|
499
|
-
context.renderOpts.isDebugDynamicAccesses = isDebugDynamicAccesses;
|
|
500
|
-
}
|
|
501
686
|
// When we're revalidating in the background, we should not allow dynamic
|
|
502
687
|
// responses.
|
|
503
688
|
if (forceStaticRender) {
|
|
@@ -560,6 +745,16 @@ async function handler(req, res, ctx) {
|
|
|
560
745
|
if (prerenderInfo) {
|
|
561
746
|
fallbackMode = (0,next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.parseFallbackField)(prerenderInfo.fallback);
|
|
562
747
|
}
|
|
748
|
+
if (nextConfig.experimental.partialFallbacks === true && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {
|
|
749
|
+
// Generic source shells without unresolved root params don't have a
|
|
750
|
+
// concrete fallback file of their own, so they're marked as blocking.
|
|
751
|
+
// When we can complete the shell into a more specific
|
|
752
|
+
// prerendered shell for this request, treat it like a prerender
|
|
753
|
+
// fallback so we can serve that shell instead of blocking on the full
|
|
754
|
+
// route. Root-param shells stay blocking, since unknown root branches
|
|
755
|
+
// should not inherit a shell from another generated branch.
|
|
756
|
+
fallbackMode = next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.PRERENDER;
|
|
757
|
+
}
|
|
563
758
|
// When serving a HTML bot request, we want to serve a blocking render and
|
|
564
759
|
// not the prerendered page. This ensures that the correct content is served
|
|
565
760
|
// to the bot in the head.
|
|
@@ -584,10 +779,10 @@ async function handler(req, res, ctx) {
|
|
|
584
779
|
// getStaticPaths.
|
|
585
780
|
(isProduction || prerenderInfo) && // When fallback isn't present, abort this render so we 404
|
|
586
781
|
fallbackMode === next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.NOT_FOUND) {
|
|
587
|
-
if (nextConfig.
|
|
782
|
+
if (nextConfig.adapterPath) {
|
|
588
783
|
return await render404();
|
|
589
784
|
}
|
|
590
|
-
throw new
|
|
785
|
+
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError();
|
|
591
786
|
}
|
|
592
787
|
// When cacheComponents is enabled, we can use the fallback
|
|
593
788
|
// response if the request is not a dynamic RSC request because the
|
|
@@ -596,10 +791,19 @@ async function handler(req, res, ctx) {
|
|
|
596
791
|
// contains param references, and therefore we can't use the fallback.
|
|
597
792
|
if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {
|
|
598
793
|
const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;
|
|
599
|
-
const fallbackRouteParams = //
|
|
600
|
-
//
|
|
601
|
-
|
|
794
|
+
const fallbackRouteParams = // In production or when debugging the static shell (e.g. instant
|
|
795
|
+
// navigation testing), use the prerender manifest's fallback
|
|
796
|
+
// route params which correctly identifies which params are
|
|
797
|
+
// unknown. Note: in dev, this block is only entered for
|
|
798
|
+
// non-prerendered URLs (guarded by the outer condition).
|
|
799
|
+
(isProduction || isDebugStaticShell) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : // fallback (simulating the worst-case shell).
|
|
602
800
|
isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
|
|
801
|
+
// When rendering a debug static shell, override the fallback
|
|
802
|
+
// params on the request so that the staged rendering correctly
|
|
803
|
+
// defers params that are not statically known.
|
|
804
|
+
if (isDebugStaticShell && fallbackRouteParams) {
|
|
805
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackRouteParams);
|
|
806
|
+
}
|
|
603
807
|
// We use the response cache here to handle the revalidation and
|
|
604
808
|
// management of the fallback shell.
|
|
605
809
|
const fallbackResponse = await routeModule.handleResponse({
|
|
@@ -615,8 +819,12 @@ async function handler(req, res, ctx) {
|
|
|
615
819
|
// We pass `undefined` as rendering a fallback isn't resumed
|
|
616
820
|
// here.
|
|
617
821
|
postponed: undefined,
|
|
822
|
+
// Always serve the shell that matched this request
|
|
823
|
+
// immediately. If there are still prerenderable params left,
|
|
824
|
+
// the background path below will complete the shell into a
|
|
825
|
+
// more specific cache entry for later requests.
|
|
618
826
|
fallbackRouteParams,
|
|
619
|
-
forceStaticRender:
|
|
827
|
+
forceStaticRender: true
|
|
620
828
|
}),
|
|
621
829
|
waitUntil: ctx.waitUntil,
|
|
622
830
|
isMinimalMode
|
|
@@ -625,6 +833,39 @@ async function handler(req, res, ctx) {
|
|
|
625
833
|
if (fallbackResponse === null) return null;
|
|
626
834
|
// Otherwise, if we did get a fallback response, we should return it.
|
|
627
835
|
if (fallbackResponse) {
|
|
836
|
+
if (!isMinimalMode && isRoutePPREnabled && // Match the build-time contract: only fallback shells that can
|
|
837
|
+
// still be completed with prerenderable params should upgrade.
|
|
838
|
+
remainingPrerenderableParams.length > 0 && nextConfig.experimental.partialFallbacks === true && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so
|
|
839
|
+
// don't upgrade fallback shells in the background when it's
|
|
840
|
+
// exposed.
|
|
841
|
+
!exposeTestingApi && // Instant Navigation Testing API requests intentionally keep
|
|
842
|
+
// the route in shell mode; don't upgrade these in background.
|
|
843
|
+
!isInstantNavigationTest && // Avoid background revalidate during prefetches; this can trigger
|
|
844
|
+
// static prerender errors that surface as 500s for the prefetch
|
|
845
|
+
// request itself.
|
|
846
|
+
!isPrefetchRSCRequest) {
|
|
847
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
848
|
+
const responseCache = routeModule.getResponseCache(req);
|
|
849
|
+
try {
|
|
850
|
+
// Only the params that were just specialized should be
|
|
851
|
+
// removed from the fallback render. Any remaining fallback
|
|
852
|
+
// params stay deferred so the revalidated result is a more
|
|
853
|
+
// specific shell (e.g. `/prefix/c/[two]`), not a fully
|
|
854
|
+
// concrete route (`/prefix/c/foo`).
|
|
855
|
+
await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{
|
|
856
|
+
return doRender({
|
|
857
|
+
span: c.span,
|
|
858
|
+
postponed: undefined,
|
|
859
|
+
fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : null,
|
|
860
|
+
forceStaticRender: true
|
|
861
|
+
});
|
|
862
|
+
}, // We don't have a prior entry for this param-specific shell.
|
|
863
|
+
null, hasResolved, ctx.waitUntil);
|
|
864
|
+
} catch (err) {
|
|
865
|
+
console.error('Error revalidating the page in the background', err);
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
}
|
|
628
869
|
// Remove the cache control from the response to prevent it from being
|
|
629
870
|
// used in the surrounding cache.
|
|
630
871
|
delete fallbackResponse.cacheControl;
|
|
@@ -635,12 +876,15 @@ async function handler(req, res, ctx) {
|
|
|
635
876
|
// Only requests that aren't revalidating can be resumed. If we have the
|
|
636
877
|
// minimal postponed data, then we should resume the render with it.
|
|
637
878
|
let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;
|
|
638
|
-
// If this is a dynamic RSC request
|
|
639
|
-
// the static render (if available). This
|
|
640
|
-
// resume data cache (RDC) from the static
|
|
641
|
-
// is consistent between the static and
|
|
879
|
+
// If this is a dynamic RSC request or a server action request, we should
|
|
880
|
+
// use the postponed data from the static render (if available). This
|
|
881
|
+
// ensures that we can utilize the resume data cache (RDC) from the static
|
|
882
|
+
// render to ensure that the data is consistent between the static and
|
|
883
|
+
// dynamic renders (for navigations) or when re-rendering after a server
|
|
884
|
+
// action.
|
|
642
885
|
if (// Only enable RDC for Navigations if the feature is enabled.
|
|
643
|
-
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache &&
|
|
886
|
+
supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions
|
|
887
|
+
(isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC
|
|
644
888
|
// requests, as we're typically revalidating the page in the background
|
|
645
889
|
// instead. However, if the cache entry is stale, we should trigger a
|
|
646
890
|
// background revalidation on dynamic RSC requests. This prevents us
|
|
@@ -665,7 +909,7 @@ async function handler(req, res, ctx) {
|
|
|
665
909
|
(incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {
|
|
666
910
|
// We want to schedule this on the next tick to ensure that the
|
|
667
911
|
// render is not blocked on it.
|
|
668
|
-
(0,
|
|
912
|
+
(0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
|
|
669
913
|
const responseCache = routeModule.getResponseCache(req);
|
|
670
914
|
try {
|
|
671
915
|
await responseCache.revalidate(resolvedPathname, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({
|
|
@@ -702,11 +946,21 @@ async function handler(req, res, ctx) {
|
|
|
702
946
|
}
|
|
703
947
|
};
|
|
704
948
|
}
|
|
705
|
-
const fallbackRouteParams = //
|
|
706
|
-
//
|
|
707
|
-
//
|
|
708
|
-
isProduction && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)
|
|
709
|
-
|
|
949
|
+
const fallbackRouteParams = // In production or when debugging the static shell for a
|
|
950
|
+
// non-prerendered URL, use the prerender manifest's fallback route
|
|
951
|
+
// params which correctly identifies which params are unknown.
|
|
952
|
+
(isProduction && (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'renderFallbackShell') || isDebugStaticShell && !isPrerendered) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
|
|
953
|
+
// For staged dynamic rendering (Cached Navigations) and debug static
|
|
954
|
+
// shell rendering, pass the fallback params via request meta so the
|
|
955
|
+
// RequestStore knows which params to defer. We don't pass them as
|
|
956
|
+
// fallbackRouteParams because that would replace actual param values
|
|
957
|
+
// with opaque placeholders during segment resolution.
|
|
958
|
+
if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents && !isPrerendered && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
|
|
959
|
+
const fallbackParams = (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
|
|
960
|
+
if (fallbackParams) {
|
|
961
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackParams);
|
|
962
|
+
}
|
|
963
|
+
}
|
|
710
964
|
// Perform the render.
|
|
711
965
|
return doRender({
|
|
712
966
|
span,
|
|
@@ -737,7 +991,7 @@ async function handler(req, res, ctx) {
|
|
|
737
991
|
}
|
|
738
992
|
// In dev, we should not cache pages for any reason.
|
|
739
993
|
if (routeModule.isDev) {
|
|
740
|
-
res.setHeader('Cache-Control', 'no-
|
|
994
|
+
res.setHeader('Cache-Control', 'no-cache, must-revalidate');
|
|
741
995
|
}
|
|
742
996
|
if (!cacheEntry) {
|
|
743
997
|
if (ssgCacheKey) {
|
|
@@ -763,6 +1017,16 @@ async function handler(req, res, ctx) {
|
|
|
763
1017
|
});
|
|
764
1018
|
}
|
|
765
1019
|
const didPostpone = typeof cacheEntry.value.postponed === 'string';
|
|
1020
|
+
// Set the build ID header for RSC navigation requests when deploymentId is configured. This
|
|
1021
|
+
// corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID
|
|
1022
|
+
// from the RSC payload when deploymentId is set (relying on this header instead). Server
|
|
1023
|
+
// actions are excluded here because action redirect responses get the deployment ID header
|
|
1024
|
+
// from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts
|
|
1025
|
+
// which copies headers from the internal RSC fetch).
|
|
1026
|
+
// For static prerenders served from CDN, routes-manifest.json adds a header.
|
|
1027
|
+
if (isRSCRequest && !isPossibleServerAction && deploymentId) {
|
|
1028
|
+
res.setHeader(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);
|
|
1029
|
+
}
|
|
766
1030
|
if (isSSG && // We don't want to send a cache header for requests that contain dynamic
|
|
767
1031
|
// data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
|
|
768
1032
|
// request, then we should set the cache header.
|
|
@@ -823,7 +1087,7 @@ async function handler(req, res, ctx) {
|
|
|
823
1087
|
};
|
|
824
1088
|
} else {
|
|
825
1089
|
cacheControl = {
|
|
826
|
-
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.
|
|
1090
|
+
revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.CACHE_ONE_YEAR_SECONDS,
|
|
827
1091
|
expire: undefined
|
|
828
1092
|
};
|
|
829
1093
|
}
|
|
@@ -851,7 +1115,7 @@ async function handler(req, res, ctx) {
|
|
|
851
1115
|
const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);
|
|
852
1116
|
if (matchedSegment !== undefined) {
|
|
853
1117
|
// Cache hit
|
|
854
|
-
return (0,
|
|
1118
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
855
1119
|
req,
|
|
856
1120
|
res,
|
|
857
1121
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -867,7 +1131,7 @@ async function handler(req, res, ctx) {
|
|
|
867
1131
|
// don't bother to respond with 404, because these requests are only
|
|
868
1132
|
// issued as part of a prefetch.
|
|
869
1133
|
res.statusCode = 204;
|
|
870
|
-
return (0,
|
|
1134
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
871
1135
|
req,
|
|
872
1136
|
res,
|
|
873
1137
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -922,7 +1186,7 @@ async function handler(req, res, ctx) {
|
|
|
922
1186
|
res.statusCode = cachedData.status;
|
|
923
1187
|
}
|
|
924
1188
|
// Redirect information is encoded in RSC payload, so we don't need to use redirect status codes
|
|
925
|
-
if (!isMinimalMode && cachedData.status &&
|
|
1189
|
+
if (!isMinimalMode && cachedData.status && next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__.RedirectStatusCode[cachedData.status] && isRSCRequest) {
|
|
926
1190
|
res.statusCode = 200;
|
|
927
1191
|
}
|
|
928
1192
|
// Mark that the request did postpone.
|
|
@@ -940,7 +1204,7 @@ async function handler(req, res, ctx) {
|
|
|
940
1204
|
if (cachedData.html.contentType !== next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_CONTENT_TYPE_HEADER) {
|
|
941
1205
|
if (nextConfig.cacheComponents) {
|
|
942
1206
|
res.statusCode = 404;
|
|
943
|
-
return (0,
|
|
1207
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
944
1208
|
req,
|
|
945
1209
|
res,
|
|
946
1210
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -950,14 +1214,14 @@ async function handler(req, res, ctx) {
|
|
|
950
1214
|
});
|
|
951
1215
|
} else {
|
|
952
1216
|
// Otherwise this case is not expected.
|
|
953
|
-
throw Object.defineProperty(new
|
|
1217
|
+
throw Object.defineProperty(new next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__.InvariantError(`Expected RSC response, got ${cachedData.html.contentType}`), "__NEXT_ERROR_CODE", {
|
|
954
1218
|
value: "E789",
|
|
955
1219
|
enumerable: false,
|
|
956
1220
|
configurable: true
|
|
957
1221
|
});
|
|
958
1222
|
}
|
|
959
1223
|
}
|
|
960
|
-
return (0,
|
|
1224
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
961
1225
|
req,
|
|
962
1226
|
res,
|
|
963
1227
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -968,7 +1232,7 @@ async function handler(req, res, ctx) {
|
|
|
968
1232
|
}
|
|
969
1233
|
// As this isn't a prefetch request, we should serve the static flight
|
|
970
1234
|
// data.
|
|
971
|
-
return (0,
|
|
1235
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
972
1236
|
req,
|
|
973
1237
|
res,
|
|
974
1238
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -979,6 +1243,27 @@ async function handler(req, res, ctx) {
|
|
|
979
1243
|
}
|
|
980
1244
|
// This is a request for HTML data.
|
|
981
1245
|
const body = cachedData.html;
|
|
1246
|
+
// Instant Navigation Testing API: serve the static shell with an
|
|
1247
|
+
// injected script that sets self.__next_instant_test and kicks off a
|
|
1248
|
+
// static RSC fetch for hydration. The transform stream also appends
|
|
1249
|
+
// closing </body></html> tags so the browser can parse the full document.
|
|
1250
|
+
// In dev mode, also inject self.__next_r so the HMR WebSocket and
|
|
1251
|
+
// debug channel can initialize.
|
|
1252
|
+
if (isInstantNavigationTest && isDebugStaticShell) {
|
|
1253
|
+
const instantTestRequestId = routeModule.isDev === true ? crypto.randomUUID() : null;
|
|
1254
|
+
body.pipeThrough((0,next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__.createInstantTestScriptInsertionTransformStream)(instantTestRequestId));
|
|
1255
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1256
|
+
req,
|
|
1257
|
+
res,
|
|
1258
|
+
generateEtags: nextConfig.generateEtags,
|
|
1259
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
1260
|
+
result: body,
|
|
1261
|
+
cacheControl: {
|
|
1262
|
+
revalidate: 0,
|
|
1263
|
+
expire: undefined
|
|
1264
|
+
}
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
982
1267
|
// If there's no postponed state, we should just serve the HTML. This
|
|
983
1268
|
// should also be the case for a resume request because it's completed
|
|
984
1269
|
// as a server render (rather than a static render).
|
|
@@ -987,7 +1272,7 @@ async function handler(req, res, ctx) {
|
|
|
987
1272
|
// that's between the static and dynamic parts so we can compare the
|
|
988
1273
|
// chunks and add assertions.
|
|
989
1274
|
if (false) {}
|
|
990
|
-
return (0,
|
|
1275
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
991
1276
|
req,
|
|
992
1277
|
res,
|
|
993
1278
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1009,7 +1294,7 @@ async function handler(req, res, ctx) {
|
|
|
1009
1294
|
controller.close();
|
|
1010
1295
|
}
|
|
1011
1296
|
}));
|
|
1012
|
-
return (0,
|
|
1297
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1013
1298
|
req,
|
|
1014
1299
|
res,
|
|
1015
1300
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1066,7 +1351,7 @@ async function handler(req, res, ctx) {
|
|
|
1066
1351
|
console.error("couldn't abort transformer", e);
|
|
1067
1352
|
});
|
|
1068
1353
|
});
|
|
1069
|
-
return (0,
|
|
1354
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
1070
1355
|
req,
|
|
1071
1356
|
res,
|
|
1072
1357
|
generateEtags: nextConfig.generateEtags,
|
|
@@ -1083,9 +1368,10 @@ async function handler(req, res, ctx) {
|
|
|
1083
1368
|
};
|
|
1084
1369
|
// TODO: activeSpan code path is for when wrapped by
|
|
1085
1370
|
// next-server can be removed when this is no longer used
|
|
1086
|
-
if (activeSpan) {
|
|
1371
|
+
if (isWrappedByNextServer && activeSpan) {
|
|
1087
1372
|
await handleResponse(activeSpan);
|
|
1088
1373
|
} else {
|
|
1374
|
+
parentSpan = tracer.getActiveScopeSpan();
|
|
1089
1375
|
return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
|
|
1090
1376
|
spanName: `${method} ${srcPage}`,
|
|
1091
1377
|
kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
|
|
@@ -1093,10 +1379,10 @@ async function handler(req, res, ctx) {
|
|
|
1093
1379
|
'http.method': method,
|
|
1094
1380
|
'http.target': req.url
|
|
1095
1381
|
}
|
|
1096
|
-
}, handleResponse));
|
|
1382
|
+
}, handleResponse), undefined, !isWrappedByNextServer);
|
|
1097
1383
|
}
|
|
1098
1384
|
} catch (err) {
|
|
1099
|
-
if (!(err instanceof
|
|
1385
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError)) {
|
|
1100
1386
|
const silenceLog = false;
|
|
1101
1387
|
await routeModule.onRequestError(req, err, {
|
|
1102
1388
|
routerKind: 'App Router',
|
|
@@ -1129,30 +1415,6 @@ async function handler(req, res, ctx) {
|
|
|
1129
1415
|
//# sourceMappingURL=app-page.js.map
|
|
1130
1416
|
|
|
1131
1417
|
|
|
1132
|
-
/***/ }),
|
|
1133
|
-
|
|
1134
|
-
/***/ 10846:
|
|
1135
|
-
/***/ ((module) => {
|
|
1136
|
-
|
|
1137
|
-
"use strict";
|
|
1138
|
-
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
1139
|
-
|
|
1140
|
-
/***/ }),
|
|
1141
|
-
|
|
1142
|
-
/***/ 19121:
|
|
1143
|
-
/***/ ((module) => {
|
|
1144
|
-
|
|
1145
|
-
"use strict";
|
|
1146
|
-
module.exports = require("next/dist/server/app-render/action-async-storage.external.js");
|
|
1147
|
-
|
|
1148
|
-
/***/ }),
|
|
1149
|
-
|
|
1150
|
-
/***/ 19771:
|
|
1151
|
-
/***/ ((module) => {
|
|
1152
|
-
|
|
1153
|
-
"use strict";
|
|
1154
|
-
module.exports = require("process");
|
|
1155
|
-
|
|
1156
1418
|
/***/ }),
|
|
1157
1419
|
|
|
1158
1420
|
/***/ 26713:
|
|
@@ -1658,7 +1920,7 @@ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_re
|
|
|
1658
1920
|
var __webpack_require__ = require("../../../../webpack-runtime.js");
|
|
1659
1921
|
__webpack_require__.C(exports);
|
|
1660
1922
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
1661
|
-
var __webpack_exports__ = __webpack_require__.X(0, [
|
|
1923
|
+
var __webpack_exports__ = __webpack_require__.X(0, [8569,4741,9927,7420,3144,8255,9988], () => (__webpack_exec__(21901)));
|
|
1662
1924
|
module.exports = __webpack_exports__;
|
|
1663
1925
|
|
|
1664
1926
|
})();
|