@semiont/frontend 0.3.3 → 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.
Files changed (458) hide show
  1. package/package.json +1 -1
  2. package/standalone/apps/frontend/.next/BUILD_ID +1 -1
  3. package/standalone/apps/frontend/.next/app-path-routes-manifest.json +8 -8
  4. package/standalone/apps/frontend/.next/build-manifest.json +6 -6
  5. package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
  6. package/standalone/apps/frontend/.next/react-loadable-manifest.json +2 -2
  7. package/standalone/apps/frontend/.next/required-server-files.json +18 -6
  8. package/standalone/apps/frontend/.next/routes-manifest.json +1 -0
  9. package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js +776 -516
  10. package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js.nft.json +1 -1
  11. package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
  12. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js +1718 -1455
  13. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js.nft.json +1 -1
  14. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
  15. package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js +724 -461
  16. package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page.js.nft.json +1 -1
  17. package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page_client-reference-manifest.js +1 -1
  18. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js +370 -109
  19. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js.nft.json +1 -1
  20. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
  21. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js +581 -318
  22. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js.nft.json +1 -1
  23. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
  24. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js +449 -186
  25. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js.nft.json +1 -1
  26. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
  27. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js +430 -168
  28. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js.nft.json +1 -1
  29. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
  30. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js +31 -16
  31. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js.nft.json +1 -1
  32. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route_client-reference-manifest.js +1 -1
  33. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js +388 -126
  34. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js.nft.json +1 -1
  35. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
  36. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js +537 -275
  37. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js.nft.json +1 -1
  38. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
  39. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js +388 -126
  40. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js.nft.json +1 -1
  41. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
  42. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +745 -482
  43. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js.nft.json +1 -1
  44. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
  45. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js +366 -103
  46. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js.nft.json +1 -1
  47. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
  48. package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js +600 -339
  49. package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js.nft.json +1 -1
  50. package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
  51. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js +956 -691
  52. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js.nft.json +1 -1
  53. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
  54. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js +1699 -1436
  55. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js.nft.json +1 -1
  56. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
  57. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js +390 -127
  58. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page.js.nft.json +1 -1
  59. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page_client-reference-manifest.js +1 -1
  60. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js +1779 -1518
  61. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js.nft.json +1 -1
  62. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
  63. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js +1601 -1338
  64. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js.nft.json +1 -1
  65. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
  66. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js +2048 -1785
  67. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js.nft.json +1 -1
  68. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
  69. package/standalone/apps/frontend/.next/server/app/[locale]/page.js +462 -204
  70. package/standalone/apps/frontend/.next/server/app/[locale]/page.js.nft.json +1 -1
  71. package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  72. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js +476 -216
  73. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js.nft.json +1 -1
  74. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
  75. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js +489 -229
  76. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js.nft.json +1 -1
  77. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
  78. package/standalone/apps/frontend/.next/server/app/_global-error/page.js +627 -240
  79. package/standalone/apps/frontend/.next/server/app/_global-error/page.js.nft.json +1 -1
  80. package/standalone/apps/frontend/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  81. package/standalone/apps/frontend/.next/server/app/_global-error.html +1 -2
  82. package/standalone/apps/frontend/.next/server/app/_global-error.rsc +13 -9
  83. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +13 -9
  84. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  85. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error.segment.rsc +2 -1
  86. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  87. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +2 -1
  88. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  89. package/standalone/apps/frontend/.next/server/app/_not-found/page.js +814 -559
  90. package/standalone/apps/frontend/.next/server/app/_not-found/page.js.nft.json +1 -1
  91. package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  92. package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
  93. package/standalone/apps/frontend/.next/server/app/_not-found.rsc +8 -6
  94. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +8 -6
  95. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  96. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  97. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  98. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +2 -1
  99. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  100. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js +54 -39
  101. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
  102. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js +1 -1
  103. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js +49 -34
  104. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js.nft.json +1 -1
  105. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route_client-reference-manifest.js +1 -1
  106. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js +24 -9
  107. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js.nft.json +1 -1
  108. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route_client-reference-manifest.js +1 -1
  109. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js +24 -9
  110. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js.nft.json +1 -1
  111. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route_client-reference-manifest.js +1 -1
  112. package/standalone/apps/frontend/.next/server/app-paths-manifest.json +8 -8
  113. package/standalone/apps/frontend/.next/server/chunks/2617.js +43 -7
  114. package/standalone/apps/frontend/.next/server/chunks/3144.js +1 -1
  115. package/standalone/apps/frontend/.next/server/chunks/4741.js +60 -252
  116. package/standalone/apps/frontend/.next/server/chunks/730.js +1 -1
  117. package/standalone/apps/frontend/.next/server/chunks/7420.js +21 -288
  118. package/standalone/apps/frontend/.next/server/chunks/7873.js +24 -2
  119. package/standalone/apps/frontend/.next/server/chunks/{7246.js → 8569.js} +1169 -282
  120. package/standalone/apps/frontend/.next/server/chunks/{2628.js → 9927.js} +11422 -4290
  121. package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
  122. package/standalone/apps/frontend/.next/server/middleware-react-loadable-manifest.js +1 -1
  123. package/standalone/apps/frontend/.next/server/middleware.js +17991 -10692
  124. package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
  125. package/standalone/apps/frontend/.next/server/pages/500.html +1 -2
  126. package/standalone/apps/frontend/.next/server/prefetch-hints.json +1 -0
  127. package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
  128. package/standalone/apps/frontend/.next/static/I_XveRdyStDMqYJPcAAy5/_buildManifest.js +1 -0
  129. package/standalone/apps/frontend/.next/static/chunks/1315.3f76aa23520d903e.js +1 -0
  130. package/standalone/apps/frontend/.next/static/chunks/{432.4c1d971431c60454.js → 432.8cb455bfe72957a9.js} +1 -1
  131. package/standalone/apps/frontend/.next/static/chunks/87c73c54-e11922cda838f8cc.js +1 -0
  132. package/standalone/apps/frontend/.next/static/chunks/{891cff7f-c20ce667b1225aa7.js → 891cff7f-d7677a8f46c597cc.js} +1 -1
  133. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/{layout-4b67f7b5d5ba4728.js → layout-956ba0ffa1199bff.js} +1 -1
  134. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{layout-f76e1916749e66f6.js → layout-262d8dd6c6e33738.js} +1 -1
  135. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{layout-a403fd7a4877cc04.js → layout-c072ce8c7aeaa92e.js} +1 -1
  136. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{layout-2d4e9c2be4b4a4c7.js → layout-b60605082e447f42.js} +1 -1
  137. package/standalone/apps/frontend/.next/static/chunks/{common-ac307b22cd0a4080.js → common-42653c14d34c8864.js} +7 -7
  138. package/standalone/apps/frontend/.next/static/chunks/framework-b879567b90d34fb5.js +1 -0
  139. package/standalone/apps/frontend/.next/static/chunks/vendors-63213253c18580f4.js +40 -0
  140. package/standalone/apps/frontend/.next/static/chunks/{webpack-abf2ad17f175f867.js → webpack-a0284d55d288650f.js} +1 -1
  141. package/standalone/apps/frontend/package.json +5 -5
  142. package/standalone/apps/frontend/server.js +1 -1
  143. package/standalone/node_modules/@next/env/package.json +1 -1
  144. package/standalone/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
  145. package/standalone/node_modules/next/dist/build/analysis/extract-const-value.js +78 -63
  146. package/standalone/node_modules/next/dist/build/analysis/get-page-static-info.js +64 -40
  147. package/standalone/node_modules/next/dist/build/create-compiler-aliases.js +2 -0
  148. package/standalone/node_modules/next/dist/build/define-env.js +29 -11
  149. package/standalone/node_modules/next/dist/build/duration-to-string.js +1 -1
  150. package/standalone/node_modules/next/dist/build/entries.js +55 -295
  151. package/standalone/node_modules/next/dist/build/file-classifier.js +76 -0
  152. package/standalone/node_modules/next/dist/build/get-supported-browsers.js +38 -0
  153. package/standalone/node_modules/next/dist/build/load-jsconfig.js +7 -7
  154. package/standalone/node_modules/next/dist/build/lockfile.js +90 -9
  155. package/standalone/node_modules/next/dist/build/next-config-ts/transpile-config.js +128 -49
  156. package/standalone/node_modules/next/dist/build/print-build-errors.js +72 -0
  157. package/standalone/node_modules/next/dist/build/route-discovery.js +353 -0
  158. package/standalone/node_modules/next/dist/build/segment-config/app/app-segment-config.js +34 -17
  159. package/standalone/node_modules/next/dist/build/static-paths/app.js +68 -15
  160. package/standalone/node_modules/next/dist/build/static-paths/pages.js +3 -3
  161. package/standalone/node_modules/next/dist/build/swc/index.js +125 -48
  162. package/standalone/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
  163. package/standalone/node_modules/next/dist/build/swc/options.js +23 -6
  164. package/standalone/node_modules/next/dist/build/utils.js +48 -94
  165. package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/index.js +14 -3
  166. package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +4 -2
  167. package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +4 -2
  168. package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +1 -0
  169. package/standalone/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +5 -5
  170. package/standalone/node_modules/next/dist/build/webpack/config/index.js +3 -2
  171. package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +2 -1
  172. package/standalone/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +8 -1
  173. package/standalone/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +13 -4
  174. package/standalone/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +3 -1
  175. package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +2 -16
  176. package/standalone/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +2 -2
  177. package/standalone/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +106 -0
  178. package/standalone/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +16 -8
  179. package/standalone/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +24 -11
  180. package/standalone/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +21 -2
  181. package/standalone/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +6 -5
  182. package/standalone/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +10 -14
  183. package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +18 -4
  184. package/standalone/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +5 -4
  185. package/standalone/node_modules/next/dist/build/webpack-config.js +18 -8
  186. package/standalone/node_modules/next/dist/cli/next-test.js +4 -3
  187. package/standalone/node_modules/next/dist/client/app-find-source-map-url.js +2 -1
  188. package/standalone/node_modules/next/dist/client/components/app-router-headers.js +10 -0
  189. package/standalone/node_modules/next/dist/client/components/app-router-instance.js +82 -4
  190. package/standalone/node_modules/next/dist/client/components/app-router.js +39 -20
  191. package/standalone/node_modules/next/dist/client/components/builtin/app-error.js +29 -65
  192. package/standalone/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
  193. package/standalone/node_modules/next/dist/client/components/builtin/global-error.js +56 -38
  194. package/standalone/node_modules/next/dist/client/components/error-boundary.js +16 -6
  195. package/standalone/node_modules/next/dist/client/components/forbidden.js +1 -1
  196. package/standalone/node_modules/next/dist/client/components/handle-isr-error.js +3 -4
  197. package/standalone/node_modules/next/dist/client/components/links.js +7 -0
  198. package/standalone/node_modules/next/dist/client/components/navigation-untracked.js +2 -0
  199. package/standalone/node_modules/next/dist/client/components/navigation.js +27 -0
  200. package/standalone/node_modules/next/dist/client/components/navigation.react-server.js +5 -2
  201. package/standalone/node_modules/next/dist/client/components/not-found.js +1 -1
  202. package/standalone/node_modules/next/dist/client/components/redirect-boundary.js +1 -1
  203. package/standalone/node_modules/next/dist/client/components/redirect-error.js +0 -9
  204. package/standalone/node_modules/next/dist/client/components/redirect.js +2 -2
  205. package/standalone/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +73 -0
  206. package/standalone/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +102 -8
  207. package/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +165 -48
  208. package/standalone/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +19 -11
  209. package/standalone/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +669 -457
  210. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
  211. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +19 -20
  212. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +5 -117
  213. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +34 -19
  214. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +16 -32
  215. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +85 -57
  216. package/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +12 -10
  217. package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +10 -1
  218. package/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer.js +1 -1
  219. package/standalone/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
  220. package/standalone/node_modules/next/dist/client/components/segment-cache/cache.js +732 -231
  221. package/standalone/node_modules/next/dist/client/components/segment-cache/lru.js +13 -6
  222. package/standalone/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
  223. package/standalone/node_modules/next/dist/client/components/segment-cache/navigation.js +388 -250
  224. package/standalone/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
  225. package/standalone/node_modules/next/dist/client/components/segment-cache/scheduler.js +154 -55
  226. package/standalone/node_modules/next/dist/client/components/segment-cache/vary-path.js +63 -1
  227. package/standalone/node_modules/next/dist/client/components/unauthorized.js +1 -1
  228. package/standalone/node_modules/next/dist/client/components/use-action-queue.js +49 -3
  229. package/standalone/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js +9 -1
  230. package/standalone/node_modules/next/dist/client/flight-data-helpers.js +42 -29
  231. package/standalone/node_modules/next/dist/client/lib/javascript-url.js +32 -0
  232. package/standalone/node_modules/next/dist/client/lib/promise.js +53 -0
  233. package/standalone/node_modules/next/dist/client/{app-build-id.js → navigation-build-id.js} +17 -13
  234. package/standalone/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js +14 -0
  235. package/standalone/node_modules/next/dist/client/route-loader.js +9 -46
  236. package/standalone/node_modules/next/dist/client/router.js +1 -1
  237. package/standalone/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +74 -3
  238. package/standalone/node_modules/next/dist/compiled/babel/bundle.js +1 -1
  239. package/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +4 -4
  240. package/standalone/node_modules/next/dist/compiled/browserslist/index.js +1 -1
  241. package/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
  242. package/standalone/node_modules/next/dist/compiled/next-devtools/index.js +2209 -23
  243. package/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +42 -12
  244. package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +42 -12
  245. package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +42 -12
  246. package/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +42 -12
  247. package/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
  248. package/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
  249. package/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +10 -10
  250. package/standalone/node_modules/next/dist/compiled/react-is/package.json +1 -1
  251. package/standalone/node_modules/next/dist/compiled/tar/index.min.js +1 -0
  252. package/standalone/node_modules/next/dist/compiled/tar/package.json +1 -1
  253. package/standalone/node_modules/next/dist/compiled/unistore/unistore.js +1 -1
  254. package/standalone/node_modules/next/dist/lib/bundler.js +97 -0
  255. package/standalone/node_modules/next/dist/lib/constants.js +19 -4
  256. package/standalone/node_modules/next/dist/lib/download-swc.js +2 -2
  257. package/standalone/node_modules/next/dist/lib/find-root.js +11 -7
  258. package/standalone/node_modules/next/dist/lib/format-server-error.js +1 -0
  259. package/standalone/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +3 -20
  260. package/standalone/node_modules/next/dist/lib/interop-default.js +1 -0
  261. package/standalone/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
  262. package/standalone/node_modules/next/dist/lib/load-custom-routes.js +49 -5
  263. package/standalone/node_modules/next/dist/lib/memory/trace.js +109 -0
  264. package/standalone/node_modules/next/dist/lib/metadata/get-metadata-route.js +11 -2
  265. package/standalone/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
  266. package/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
  267. package/standalone/node_modules/next/dist/lib/try-to-parse-path.js +1 -2
  268. package/standalone/node_modules/next/dist/lib/turbopack-warning.js +0 -1
  269. package/standalone/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +6 -3
  270. package/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +1 -1
  271. package/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -1
  272. package/standalone/node_modules/next/dist/lib/typescript/runTypeCheck.js +6 -8
  273. package/standalone/node_modules/next/dist/lib/typescript/type-paths.js +7 -12
  274. package/standalone/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +17 -7
  275. package/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +9 -12
  276. package/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +66 -16
  277. package/standalone/node_modules/next/dist/next-devtools/server/shared.js +6 -10
  278. package/standalone/node_modules/next/dist/next-devtools/shared/webpack-module-path.js +4 -4
  279. package/standalone/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js +22 -4
  280. package/standalone/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js +7 -1
  281. package/standalone/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js +18 -13
  282. package/standalone/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js +7 -4
  283. package/standalone/node_modules/next/dist/server/app-render/action-handler.js +83 -15
  284. package/standalone/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +0 -82
  285. package/standalone/node_modules/next/dist/server/app-render/app-render-render-utils.js +45 -81
  286. package/standalone/node_modules/next/dist/server/app-render/app-render.js +1746 -803
  287. package/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +136 -50
  288. package/standalone/node_modules/next/dist/server/app-render/create-error-handler.js +6 -4
  289. package/standalone/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +52 -26
  290. package/standalone/node_modules/next/dist/server/app-render/csrf-protection.js +14 -3
  291. package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
  292. package/standalone/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
  293. package/standalone/node_modules/next/dist/server/app-render/dynamic-rendering.js +353 -37
  294. package/standalone/node_modules/next/dist/server/app-render/get-asset-query-string.js +2 -2
  295. package/standalone/node_modules/next/dist/server/app-render/get-layer-assets.js +1 -1
  296. package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
  297. package/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
  298. package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
  299. package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
  300. package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
  301. package/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
  302. package/standalone/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
  303. package/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +8 -1
  304. package/standalone/node_modules/next/dist/server/app-render/postponed-state.js +2 -1
  305. package/standalone/node_modules/next/dist/server/app-render/prospective-render-utils.js +1 -0
  306. package/standalone/node_modules/next/dist/server/app-render/segment-explorer-path.js +35 -10
  307. package/standalone/node_modules/next/dist/server/app-render/staged-rendering.js +142 -72
  308. package/standalone/node_modules/next/dist/server/app-render/stale-time.js +111 -0
  309. package/standalone/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
  310. package/standalone/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
  311. package/standalone/node_modules/next/dist/server/app-render/types.js +10 -4
  312. package/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +3 -1
  313. package/standalone/node_modules/next/dist/server/app-render/vary-params.js +336 -0
  314. package/standalone/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +59 -12
  315. package/standalone/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +54 -26
  316. package/standalone/node_modules/next/dist/server/async-storage/request-store.js +4 -4
  317. package/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -5
  318. package/standalone/node_modules/next/dist/server/base-server.js +65 -53
  319. package/standalone/node_modules/next/dist/server/config-schema.js +93 -8
  320. package/standalone/node_modules/next/dist/server/config-shared.js +57 -7
  321. package/standalone/node_modules/next/dist/server/config.js +96 -25
  322. package/standalone/node_modules/next/dist/server/dev/browser-logs/file-logger.js +9 -6
  323. package/standalone/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +46 -0
  324. package/standalone/node_modules/next/dist/server/dev/browser-logs/source-map.js +1 -4
  325. package/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +264 -33
  326. package/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +8 -4
  327. package/standalone/node_modules/next/dist/server/dev/log-requests.js +10 -2
  328. package/standalone/node_modules/next/dist/server/dev/middleware-turbopack.js +20 -10
  329. package/standalone/node_modules/next/dist/server/dev/middleware-webpack.js +13 -3
  330. package/standalone/node_modules/next/dist/server/dev/next-dev-server.js +19 -6
  331. package/standalone/node_modules/next/dist/server/dev/on-demand-entry-handler.js +69 -0
  332. package/standalone/node_modules/next/dist/server/dev/require-cache.js +51 -21
  333. package/standalone/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
  334. package/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +1 -0
  335. package/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +6 -15
  336. package/standalone/node_modules/next/dist/server/dynamic-rendering-utils.js +22 -0
  337. package/standalone/node_modules/next/dist/server/image-optimizer.js +157 -27
  338. package/standalone/node_modules/next/dist/server/lib/app-info-log.js +16 -38
  339. package/standalone/node_modules/next/dist/server/lib/cache-control.js +1 -1
  340. package/standalone/node_modules/next/dist/server/lib/clone-response.js +16 -16
  341. package/standalone/node_modules/next/dist/server/lib/cpu-profile.js +47 -16
  342. package/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +2 -2
  343. package/standalone/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
  344. package/standalone/node_modules/next/dist/server/lib/find-page-file.js +27 -7
  345. package/standalone/node_modules/next/dist/server/lib/implicit-tags.js +3 -3
  346. package/standalone/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +5 -3
  347. package/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +32 -10
  348. package/standalone/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +18 -1
  349. package/standalone/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
  350. package/standalone/node_modules/next/dist/server/lib/lru-cache.js +9 -1
  351. package/standalone/node_modules/next/dist/server/lib/patch-fetch.js +40 -7
  352. package/standalone/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
  353. package/standalone/node_modules/next/dist/server/lib/render-server.js +4 -1
  354. package/standalone/node_modules/next/dist/server/lib/router-server.js +24 -13
  355. package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
  356. package/standalone/node_modules/next/dist/server/lib/router-utils/filesystem.js +16 -15
  357. package/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +32 -11
  358. package/standalone/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +3 -3
  359. package/standalone/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +71 -71
  360. package/standalone/node_modules/next/dist/server/lib/router-utils/typegen.js +247 -2
  361. package/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +2 -1
  362. package/standalone/node_modules/next/dist/server/lib/start-server.js +73 -39
  363. package/standalone/node_modules/next/dist/server/lib/trace/tracer.js +11 -1
  364. package/standalone/node_modules/next/dist/server/lib/utils.js +40 -11
  365. package/standalone/node_modules/next/dist/server/load-components.js +2 -0
  366. package/standalone/node_modules/next/dist/server/load-manifest.external.js +37 -17
  367. package/standalone/node_modules/next/dist/server/mcp/tools/get-errors.js +11 -4
  368. package/standalone/node_modules/next/dist/server/mcp/tools/get-logs.js +9 -3
  369. package/standalone/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +52 -44
  370. package/standalone/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +6 -2
  371. package/standalone/node_modules/next/dist/server/mcp/tools/get-routes.js +44 -79
  372. package/standalone/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +12 -4
  373. package/standalone/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +62 -72
  374. package/standalone/node_modules/next/dist/server/next-server.js +69 -99
  375. package/standalone/node_modules/next/dist/server/next.js +3 -0
  376. package/standalone/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +61 -6
  377. package/standalone/node_modules/next/dist/server/node-environment-extensions/date.js +4 -4
  378. package/standalone/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +13 -6
  379. package/standalone/node_modules/next/dist/server/node-environment-extensions/{utils.js → io-utils.js} +14 -5
  380. package/standalone/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +8 -8
  381. package/standalone/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
  382. package/standalone/node_modules/next/dist/server/node-environment-extensions/random.js +2 -2
  383. package/standalone/node_modules/next/dist/server/node-environment-extensions/{unhandled-rejection.js → unhandled-rejection.external.js} +23 -4
  384. package/standalone/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +3 -3
  385. package/standalone/node_modules/next/dist/server/node-environment.js +1 -1
  386. package/standalone/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +2 -1
  387. package/standalone/node_modules/next/dist/server/patch-error-inspect.js +37 -20
  388. package/standalone/node_modules/next/dist/server/render-result.js +9 -0
  389. package/standalone/node_modules/next/dist/server/render.js +27 -25
  390. package/standalone/node_modules/next/dist/server/require-hook.js +19 -8
  391. package/standalone/node_modules/next/dist/server/response-cache/utils.js +1 -0
  392. package/standalone/node_modules/next/dist/server/resume-data-cache/cache-store.js +35 -23
  393. package/standalone/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +16 -7
  394. package/standalone/node_modules/next/dist/server/revalidation-utils.js +12 -7
  395. package/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +2 -1
  396. package/standalone/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +4 -1
  397. package/standalone/node_modules/next/dist/server/route-modules/app-page/module.js +31 -1
  398. package/standalone/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
  399. package/standalone/node_modules/next/dist/server/route-modules/pages/pages-handler.js +31 -8
  400. package/standalone/node_modules/next/dist/server/route-modules/route-module.js +71 -18
  401. package/standalone/node_modules/next/dist/server/stream-utils/encoded-tags.js +8 -0
  402. package/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +239 -58
  403. package/standalone/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +7 -2
  404. package/standalone/node_modules/next/dist/server/typescript/constant.js +1 -0
  405. package/standalone/node_modules/next/dist/server/typescript/rules/config.js +14 -3
  406. package/standalone/node_modules/next/dist/server/web/adapter.js +7 -3
  407. package/standalone/node_modules/next/dist/server/web/next-url.js +6 -2
  408. package/standalone/node_modules/next/dist/server/web/sandbox/sandbox.js +3 -0
  409. package/standalone/node_modules/next/dist/shared/lib/app-router-types.js +30 -11
  410. package/standalone/node_modules/next/dist/shared/lib/constants.js +7 -7
  411. package/standalone/node_modules/next/dist/shared/lib/deployment-id.js +37 -10
  412. package/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  413. package/standalone/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
  414. package/standalone/node_modules/next/dist/shared/lib/format-webpack-messages.js +22 -2
  415. package/standalone/node_modules/next/dist/shared/lib/image-config.js +3 -1
  416. package/standalone/node_modules/next/dist/shared/lib/is-internal.js +2 -0
  417. package/standalone/node_modules/next/dist/shared/lib/magic-identifier.js +6 -6
  418. package/standalone/node_modules/next/dist/shared/lib/router/router.js +32 -0
  419. package/standalone/node_modules/next/dist/shared/lib/router/utils/app-paths.js +11 -0
  420. package/standalone/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +11 -4
  421. package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +3 -2
  422. package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +9 -2
  423. package/standalone/node_modules/next/dist/shared/lib/router/utils/parse-url.js +8 -2
  424. package/standalone/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
  425. package/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +4 -0
  426. package/standalone/node_modules/next/dist/shared/lib/size-limit.js +6 -1
  427. package/standalone/node_modules/next/dist/shared/lib/turbopack/compilation-events.js +47 -10
  428. package/standalone/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js +90 -116
  429. package/standalone/node_modules/next/dist/shared/lib/turbopack/utils.js +14 -26
  430. package/standalone/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
  431. package/standalone/node_modules/next/dist/shared/lib/utils.js +2 -2
  432. package/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  433. package/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  434. package/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  435. package/standalone/node_modules/next/dist/trace/index.js +4 -0
  436. package/standalone/node_modules/next/dist/trace/report/to-json-build.js +11 -108
  437. package/standalone/node_modules/next/dist/trace/report/to-json.js +52 -38
  438. package/standalone/node_modules/next/dist/trace/trace.js +15 -1
  439. package/standalone/node_modules/next/package.json +21 -23
  440. package/standalone/node_modules/react/cjs/react.development.js +1284 -0
  441. package/standalone/package.json +3 -3
  442. package/standalone/packages/core/package.json +1 -1
  443. package/standalone/apps/frontend/.next/static/chunks/1315.18c68981a2eab4fe.js +0 -1
  444. package/standalone/apps/frontend/.next/static/chunks/87c73c54-c5fda2db2a4bd732.js +0 -1
  445. package/standalone/apps/frontend/.next/static/chunks/framework-86c2a58f458066a5.js +0 -1
  446. package/standalone/apps/frontend/.next/static/chunks/vendors-c7197feb11002a6e.js +0 -10
  447. package/standalone/apps/frontend/.next/static/xSLAuzRvOCf1TdGHvLFQ0/_buildManifest.js +0 -1
  448. package/standalone/node_modules/next/dist/client/components/router-reducer/handle-mutable.js +0 -66
  449. package/standalone/node_modules/next/dist/compiled/babel/code-frame.js +0 -1
  450. package/standalone/node_modules/next/dist/compiled/babel-code-frame/index.js +0 -1
  451. package/standalone/node_modules/next/dist/compiled/babel-code-frame/package.json +0 -1
  452. package/standalone/node_modules/next/dist/compiled/tar/index.js +0 -1
  453. package/standalone/node_modules/next/dist/server/app-render/staged-validation.js +0 -32
  454. package/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +0 -76
  455. package/standalone/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +0 -52
  456. package/standalone/node_modules/typescript/lib/typescript.js +0 -200276
  457. package/standalone/node_modules/typescript/package.json +0 -120
  458. /package/standalone/apps/frontend/.next/static/{xSLAuzRvOCf1TdGHvLFQ0 → I_XveRdyStDMqYJPcAAy5}/_ssgManifest.js +0 -0
@@ -28,6 +28,14 @@ module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.j
28
28
 
29
29
  /***/ }),
30
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
+
31
39
  /***/ 18753:
32
40
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
33
41
 
@@ -118,249 +126,12 @@ module.exports = require("path");
118
126
 
119
127
  /***/ }),
120
128
 
121
- /***/ 41025:
122
- /***/ ((module) => {
123
-
124
- "use strict";
125
- module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
126
-
127
- /***/ }),
128
-
129
- /***/ 43954:
130
- /***/ ((module) => {
131
-
132
- "use strict";
133
- module.exports = require("next/dist/shared/lib/router/utils/interception-routes");
134
-
135
- /***/ }),
136
-
137
- /***/ 45225:
129
+ /***/ 39583:
138
130
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
139
131
 
140
132
  "use strict";
141
133
  __webpack_require__.r(__webpack_exports__);
142
134
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
143
- /* harmony export */ "default": () => (/* binding */ KnowledgePage)
144
- /* harmony export */ });
145
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92692);
146
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
147
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71277);
148
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
149
- /* harmony import */ var _i18n_routing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(99704);
150
- /* harmony import */ var next_intl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56305);
151
- /* __next_internal_client_entry_do_not_use__ default auto */
152
-
153
-
154
-
155
- function KnowledgePage() {
156
- const t = (0,next_intl__WEBPACK_IMPORTED_MODULE_3__/* .useTranslations */ .c)('Sidebar');
157
- const router = (0,_i18n_routing__WEBPACK_IMPORTED_MODULE_2__/* .useRouter */ .rd)();
158
- const [checking, setChecking] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);
159
- process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
160
- // Check if there's a last viewed document
161
- const lastDocumentId = localStorage.getItem('lastViewedDocumentId');
162
- if (lastDocumentId) {
163
- // If there's a last viewed document, go to it
164
- router.replace(`/know/resource/${lastDocumentId}`);
165
- } else {
166
- // Otherwise, go to Discover
167
- router.replace('/know/discover');
168
- }
169
- setChecking(false);
170
- }, [
171
- router
172
- ]);
173
- if (checking) {
174
- return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
175
- className: "flex items-center justify-center py-20",
176
- children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
177
- className: "text-gray-600 dark:text-gray-300",
178
- children: t('loading')
179
- })
180
- });
181
- }
182
- return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
183
- className: "flex items-center justify-center py-20",
184
- children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
185
- className: "text-gray-600 dark:text-gray-300",
186
- children: t('redirecting')
187
- })
188
- });
189
- }
190
-
191
-
192
- /***/ }),
193
-
194
- /***/ 55201:
195
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
196
-
197
- Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 45225));
198
-
199
-
200
- /***/ }),
201
-
202
- /***/ 55511:
203
- /***/ ((module) => {
204
-
205
- "use strict";
206
- module.exports = require("crypto");
207
-
208
- /***/ }),
209
-
210
- /***/ 61998:
211
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
212
-
213
- "use strict";
214
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
215
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
216
- /* harmony export */ });
217
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
218
-
219
- function TrashIcon({ title, titleId, ...props }, svgRef) {
220
- return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
221
- xmlns: "http://www.w3.org/2000/svg",
222
- fill: "none",
223
- viewBox: "0 0 24 24",
224
- strokeWidth: 1.5,
225
- stroke: "currentColor",
226
- "aria-hidden": "true",
227
- "data-slot": "icon",
228
- ref: svgRef,
229
- "aria-labelledby": titleId
230
- }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
231
- id: titleId
232
- }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
233
- strokeLinecap: "round",
234
- strokeLinejoin: "round",
235
- d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
236
- }));
237
- }
238
- const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
239
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
240
-
241
-
242
- /***/ }),
243
-
244
- /***/ 63033:
245
- /***/ ((module) => {
246
-
247
- "use strict";
248
- module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
249
-
250
- /***/ }),
251
-
252
- /***/ 67255:
253
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
254
-
255
- "use strict";
256
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
257
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
258
- /* harmony export */ });
259
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
260
-
261
- function Bars3Icon({ title, titleId, ...props }, svgRef) {
262
- return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
263
- xmlns: "http://www.w3.org/2000/svg",
264
- fill: "none",
265
- viewBox: "0 0 24 24",
266
- strokeWidth: 1.5,
267
- stroke: "currentColor",
268
- "aria-hidden": "true",
269
- "data-slot": "icon",
270
- ref: svgRef,
271
- "aria-labelledby": titleId
272
- }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
273
- id: titleId
274
- }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
275
- strokeLinecap: "round",
276
- strokeLinejoin: "round",
277
- d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
278
- }));
279
- }
280
- const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(Bars3Icon);
281
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
282
-
283
-
284
- /***/ }),
285
-
286
- /***/ 70722:
287
- /***/ ((module) => {
288
-
289
- "use strict";
290
- module.exports = require("next/dist/shared/lib/invariant-error");
291
-
292
- /***/ }),
293
-
294
- /***/ 71062:
295
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296
-
297
- "use strict";
298
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
300
- /* harmony export */ });
301
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
302
-
303
- function ChevronLeftIcon({ title, titleId, ...props }, svgRef) {
304
- return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
305
- xmlns: "http://www.w3.org/2000/svg",
306
- fill: "none",
307
- viewBox: "0 0 24 24",
308
- strokeWidth: 1.5,
309
- stroke: "currentColor",
310
- "aria-hidden": "true",
311
- "data-slot": "icon",
312
- ref: svgRef,
313
- "aria-labelledby": titleId
314
- }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
315
- id: titleId
316
- }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
317
- strokeLinecap: "round",
318
- strokeLinejoin: "round",
319
- d: "M15.75 19.5 8.25 12l7.5-7.5"
320
- }));
321
- }
322
- const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ChevronLeftIcon);
323
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
324
-
325
-
326
- /***/ }),
327
-
328
- /***/ 77068:
329
- /***/ ((module) => {
330
-
331
- "use strict";
332
- module.exports = require("next/dist/shared/lib/size-limit");
333
-
334
- /***/ }),
335
-
336
- /***/ 77459:
337
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
338
-
339
- "use strict";
340
- __webpack_require__.r(__webpack_exports__);
341
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
342
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
343
- /* harmony export */ });
344
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30274);
345
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
346
- // This file is generated by the Webpack next-flight-loader.
347
-
348
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
349
- function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
350
- "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx",
351
- "default",
352
- ));
353
-
354
-
355
- /***/ }),
356
-
357
- /***/ 78289:
358
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
359
-
360
- "use strict";
361
- __webpack_require__.r(__webpack_exports__);
362
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
363
- /* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
364
135
  /* harmony export */ __next_app__: () => (/* binding */ __next_app__),
365
136
  /* harmony export */ handler: () => (/* binding */ handler),
366
137
  /* harmony export */ routeModule: () => (/* binding */ routeModule)
@@ -403,25 +174,30 @@ __webpack_require__.r(__webpack_exports__);
403
174
  /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(38038);
404
175
  /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__);
405
176
  /* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(29898);
406
- /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(98798);
407
- /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__);
408
- /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(86439);
409
- /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_23__);
410
- /* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(77068);
411
- /* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_24__);
412
- /* harmony import */ var _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(56357);
413
- /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(35402);
414
- /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__);
415
- /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(29059);
416
- /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__);
417
- /* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(70722);
418
- /* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_28__);
419
- /* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(31182);
420
- /* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_29__);
421
- /* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(43954);
422
- /* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_30__);
177
+ /* harmony import */ var next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62918);
178
+ /* 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__);
179
+ /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(98798);
180
+ /* 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__);
181
+ /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
182
+ /* 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__);
183
+ /* harmony import */ var next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(77068);
184
+ /* 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__);
185
+ /* harmony import */ var next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(31214);
186
+ /* 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__);
187
+ /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(35402);
188
+ /* 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__);
189
+ /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(29059);
190
+ /* 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__);
191
+ /* harmony import */ var next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(70722);
192
+ /* 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__);
193
+ /* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(31182);
194
+ /* harmony import */ var next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__);
195
+ /* harmony import */ var next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(43954);
196
+ /* 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__);
197
+ /* harmony import */ var next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(17891);
198
+ /* 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__);
423
199
  /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
424
- /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__) if(["default","GlobalError","__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_26__[__WEBPACK_IMPORT_KEY__]
200
+ /* 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__]
425
201
  /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
426
202
  const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 95235));
427
203
  const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 25195));
@@ -430,9 +206,13 @@ const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_requi
430
206
  const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 4253, 23));
431
207
  const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 49184, 23));
432
208
  const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 57149));
433
- const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 28310));
434
- const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 12156));
435
- const page9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 77459));
209
+ const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
210
+ const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 28310));
211
+ const module9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 12156));
212
+ const module10 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 56357));
213
+ const page11 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 77459));
214
+
215
+
436
216
 
437
217
 
438
218
 
@@ -471,21 +251,25 @@ const tree = {
471
251
  'know',
472
252
  {
473
253
  children: ['__PAGE__', {}, {
474
- page: [page9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx"],
254
+ page: [page11, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx"],
475
255
 
476
256
  }]
477
257
  },
478
258
  {
479
- 'layout': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/layout.tsx"],
259
+ 'layout': [module9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/layout.tsx"],
260
+ 'global-error': [module10, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
480
261
 
481
- }
262
+ },
263
+ []
482
264
  ]
483
265
  },
484
266
  {
485
267
  'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
486
- 'not-found': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
268
+ 'global-error': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
269
+ 'not-found': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
487
270
 
488
- }
271
+ },
272
+ ["_not-found","_global-error","api"]
489
273
  ]
490
274
  },
491
275
  {
@@ -496,11 +280,10 @@ const tree = {
496
280
  'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
497
281
  'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
498
282
 
499
- }
283
+ },
284
+ []
500
285
  ]
501
286
  }.children;
502
-
503
-
504
287
  const __next_app_require__ = __webpack_require__
505
288
  const __next_app_load_chunk__ = () => Promise.resolve()
506
289
  const __next_app__ = {
@@ -513,6 +296,7 @@ const __next_app__ = {
513
296
 
514
297
 
515
298
 
299
+
516
300
  // Create and export the route module that will be consumed.
517
301
  const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
518
302
  definition: {
@@ -530,12 +314,53 @@ const routeModule = new next_dist_server_route_modules_app_page_module_compiled_
530
314
  distDir: ".next" || 0,
531
315
  relativeProjectDir: false || ''
532
316
  });
317
+ function buildDynamicSegmentPlaceholder(param) {
318
+ const { repeat, optional } = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getParamProperties)(param.paramType);
319
+ if (optional) {
320
+ return `[[...${param.paramName}]]`;
321
+ }
322
+ if (repeat) {
323
+ return `[...${param.paramName}]`;
324
+ }
325
+ return `[${param.paramName}]`;
326
+ }
327
+ /**
328
+ * Builds the cache key for the most complete prerenderable shell we can derive
329
+ * from the shell that matched this request. Only params that can still be
330
+ * filled by `generateStaticParams` are substituted; fully dynamic params stay
331
+ * as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into
332
+ * `/c/[two]` rather than `/c/foo`.
333
+ */ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {
334
+ const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[
335
+ param.paramName,
336
+ param
337
+ ]));
338
+ return fallbackPathname.split('/').map((segment)=>{
339
+ const segmentParam = (0,next_dist_shared_lib_router_utils_get_segment_param__WEBPACK_IMPORTED_MODULE_32__.getSegmentParam)(segment);
340
+ if (!segmentParam) {
341
+ return segment;
342
+ }
343
+ const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);
344
+ if (!remainingParam) {
345
+ return segment;
346
+ }
347
+ const value = params == null ? void 0 : params[remainingParam.paramName];
348
+ if (!value) {
349
+ return segment;
350
+ }
351
+ const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);
352
+ return segment.replace(buildDynamicSegmentPlaceholder(remainingParam), encodedValue);
353
+ }).join('/') || '/';
354
+ }
533
355
  async function handler(req, res, ctx) {
534
- var _this;
356
+ var _this, _prerenderManifest_routes_resolvedPathname, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams;
357
+ if (ctx.requestMeta) {
358
+ (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.setRequestMeta)(req, ctx.requestMeta);
359
+ }
535
360
  if (routeModule.isDev) {
536
361
  (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
537
362
  }
538
- const isMinimalMode = Boolean( false || (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode'));
363
+ const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode'));
539
364
  let srcPage = "/[locale]/know/page";
540
365
  // turbopack doesn't normalize `/index` in the page name
541
366
  // so we need to to process dynamic routes properly
@@ -555,7 +380,7 @@ async function handler(req, res, ctx) {
555
380
  ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
556
381
  return null;
557
382
  }
558
- const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId } = prepareResult;
383
+ const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken } = prepareResult;
559
384
  const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_13__.normalizeAppPath)(srcPage);
560
385
  let { isOnDemandRevalidate } = prepareResult;
561
386
  // We use the resolvedPathname instead of the parsedUrl.pathname because it
@@ -565,7 +390,8 @@ async function handler(req, res, ctx) {
565
390
  // treat the pathname as dynamic. Currently, there's a bug in the PPR
566
391
  // implementation that incorrectly leaves %%drp placeholders in the output of
567
392
  // parallel routes. This is addressed with cacheComponents.
568
- const prerenderInfo = nextConfig.experimental.ppr && !nextConfig.cacheComponents && (0,next_dist_shared_lib_router_utils_interception_routes__WEBPACK_IMPORTED_MODULE_30__.isInterceptionRouteAppPath)(resolvedPathname) ? null : routeModule.match(resolvedPathname, prerenderManifest);
393
+ 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);
394
+ const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;
569
395
  const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
570
396
  const userAgent = req.headers['user-agent'] || '';
571
397
  const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_16__.getBotType)(userAgent);
@@ -582,15 +408,65 @@ async function handler(req, res, ctx) {
582
408
  * If the route being rendered is an app page, and the ppr feature has been
583
409
  * enabled, then the given route _could_ support PPR.
584
410
  */ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
411
+ // Stash postponed state for server actions when in minimal mode.
412
+ // We extract it here so the RDC is available for the re-render after the action completes.
413
+ const resumeStateLengthHeader = req.headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_RESUME_STATE_LENGTH_HEADER];
414
+ if (!(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {
415
+ const stateLength = parseInt(resumeStateLengthHeader, 10);
416
+ const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
417
+ if (!isNaN(stateLength) && stateLength > 0) {
418
+ var _nextConfig_experimental_serverActions;
419
+ if (stateLength > maxPostponedStateSizeBytes) {
420
+ res.statusCode = 413;
421
+ res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
422
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
423
+ return null;
424
+ }
425
+ // Calculate max total body size to prevent buffering excessively large
426
+ // payloads before the action handler checks. We use stateLength (not
427
+ // maxPostponedStateSizeBytes) so the postponed state doesn't eat into
428
+ // the action body budget - it's already validated above.
429
+ const defaultActionBodySizeLimit = '1 MB';
430
+ const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;
431
+ const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? (__webpack_require__(32683).parse)(actionBodySizeLimit) : 1024 * 1024 // 1 MB
432
+ ;
433
+ const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;
434
+ const fullBody = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxTotalBodySize);
435
+ if (fullBody === null) {
436
+ res.statusCode = 413;
437
+ 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`);
438
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
439
+ return null;
440
+ }
441
+ if (fullBody.length >= stateLength) {
442
+ // Extract postponed state from the beginning
443
+ const postponedState = fullBody.subarray(0, stateLength).toString('utf8');
444
+ (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponedState);
445
+ // Store the remaining action body for the action handler
446
+ const actionBody = fullBody.subarray(stateLength);
447
+ (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'actionBody', actionBody);
448
+ } else {
449
+ throw Object.defineProperty(new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`), "__NEXT_ERROR_CODE", {
450
+ value: "E979",
451
+ enumerable: false,
452
+ configurable: true
453
+ });
454
+ }
455
+ }
456
+ }
585
457
  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') {
458
+ const { maxPostponedStateSize, maxPostponedStateSizeBytes } = (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize);
586
459
  // Decode the postponed state from the request body, it will come as
587
460
  // an array of buffers, so collect them and then concat them to form
588
461
  // the string.
589
- const body = [];
590
- for await (const chunk of req){
591
- body.push(chunk);
462
+ const body = await (0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.readBodyWithSizeLimit)(req, maxPostponedStateSizeBytes);
463
+ if (body === null) {
464
+ res.statusCode = 413;
465
+ res.end((0,next_dist_server_lib_postponed_request_body__WEBPACK_IMPORTED_MODULE_26__.getPostponedStateExceededErrorMessage)(maxPostponedStateSize));
466
+ ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
467
+ return null;
592
468
  }
593
- const postponed = Buffer.concat(body).toString('utf8');
469
+ const postponed = body.toString('utf8');
594
470
  (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'postponed', postponed);
595
471
  }
596
472
  // When enabled, this will allow the use of the `?__nextppronly` query to
@@ -599,14 +475,29 @@ async function handler(req, res, ctx) {
599
475
  // When enabled, this will allow the use of the `?__nextppronly` query
600
476
  // to enable debugging of the fallback shell.
601
477
  const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
478
+ // Whether the testing API is exposed (dev mode or explicit flag)
479
+ const exposeTestingApi = routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true;
480
+ // Enable the Instant Navigation Testing API. Renders only the prefetched
481
+ // portion of the page, excluding dynamic content. This allows tests to
482
+ // assert on the prefetched UI state deterministically.
483
+ // - Header: Used for client-side navigations where we can set request headers
484
+ // - Cookie: Used for MPA navigations (page reload, full page load) where we
485
+ // can't set request headers. Only applies to document requests (no RSC
486
+ // header) - RSC requests should proceed normally even during a locked scope,
487
+ // with blocking happening on the client side.
488
+ 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 + '='));
602
489
  // This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
603
490
  // prerender manifest and this is an app page.
604
- const isRoutePPREnabled = couldSupportPPR && (((_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
491
+ const isRoutePPREnabled = // When the instant navigation testing API is active, enable the PPR
492
+ // prerender path even without Cache Components. In dev mode without CC,
493
+ // static pages need this path to produce buffered segment data (the
494
+ // legacy prerender path hangs in dev mode).
495
+ (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
605
496
  // enabled or not, but that would require plumbing the appConfig through
606
497
  // to the server during development. We assume that the page supports it
607
- // but only during development.
608
- hasDebugStaticShellQuery && (routeModule.isDev === true || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
609
- const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
498
+ // but only during development or when the testing API is exposed.
499
+ (hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
500
+ const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;
610
501
  // We should enable debugging dynamic accesses when the static shell
611
502
  // debugging has been enabled and we're also in development mode.
612
503
  const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
@@ -618,7 +509,11 @@ async function handler(req, res, ctx) {
618
509
  // If PPR is enabled, and this is a RSC request (but not a prefetch), then
619
510
  // we can use this fact to only generate the flight data for the request
620
511
  // because we can't cache the HTML (as it's also dynamic).
621
- let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest;
512
+ const staticPrefetchDataRoute = (_prerenderManifest_routes_resolvedPathname = prerenderManifest.routes[resolvedPathname]) == null ? void 0 : _prerenderManifest_routes_resolvedPathname.prefetchDataRoute;
513
+ let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static
514
+ // so we can serve the prebuilt .rsc without a dynamic render.
515
+ // Only do this for routes that have a concrete prefetchDataRoute.
516
+ !staticPrefetchDataRoute;
622
517
  // During a PPR revalidation, the RSC request is not dynamic if we do not have the postponed data.
623
518
  // We only attach the postponed data during a resume. If there's no postponed data, then it must be a revalidation.
624
519
  // This is to ensure that we don't bypass the cache during a revalidation.
@@ -634,10 +529,11 @@ async function handler(req, res, ctx) {
634
529
  // being true for a revalidate due to modifying the base-server this.renderOpts
635
530
  // when fixing this to correct logic it causes hydration issue since we set
636
531
  // serveStreamingMetadata to true during export
637
- const serveStreamingMetadata = isHtmlBot && isRoutePPREnabled ? false : !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
638
- const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a html bot request and PPR is enabled, then we don't want
639
- // to serve a static response.
640
- !(isHtmlBot && isRoutePPREnabled));
532
+ const serveStreamingMetadata = botType && isRoutePPREnabled ? false : !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
533
+ const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a bot request and PPR is enabled, then we don't want
534
+ // to serve a static response. This applies to both DOM bots (like Googlebot)
535
+ // and HTML-limited bots.
536
+ !(botType && isRoutePPREnabled));
641
537
  // When a page supports cacheComponents, we can support RDC for Navigations
642
538
  const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;
643
539
  // In development, we always want to generate dynamic HTML.
@@ -654,18 +550,37 @@ async function handler(req, res, ctx) {
654
550
  // RSC request, we'll pass the minimal postponed data to the render
655
551
  // which will trigger the `supportsDynamicResponse` to be true.
656
552
  isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);
657
- // When html bots request PPR page, perform the full dynamic rendering.
658
- const shouldWaitOnAllReady = isHtmlBot && isRoutePPREnabled;
553
+ // When bots request PPR page, perform the full dynamic rendering.
554
+ // This applies to both DOM bots (like Googlebot) and HTML-limited bots.
555
+ const shouldWaitOnAllReady = Boolean(botType) && isRoutePPREnabled;
556
+ const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];
557
+ const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;
659
558
  let ssgCacheKey = null;
660
559
  if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
661
- ssgCacheKey = resolvedPathname;
560
+ // For normal SSG routes we cache by the fully resolved pathname. For
561
+ // partial fallbacks we instead derive the cache key from the shell
562
+ // that matched this request so `/prefix/[one]/[two]` can specialize into
563
+ // `/prefix/c/[two]` without promoting all the way to `/prefix/c/foo`.
564
+ const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;
565
+ if (nextConfig.experimental.partialFallbacks === true && fallbackPathname && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && !hasUnresolvedRootFallbackParams) {
566
+ if (remainingPrerenderableParams.length > 0) {
567
+ const completedShellCacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);
568
+ // If applying the current request params doesn't make the shell any
569
+ // more complete, then this shell is already at its most complete
570
+ // form and should remain shared rather than creating a new cache entry.
571
+ ssgCacheKey = completedShellCacheKey !== fallbackPathname ? completedShellCacheKey : null;
572
+ }
573
+ } else {
574
+ ssgCacheKey = resolvedPathname;
575
+ }
662
576
  }
663
577
  // the staticPathKey differs from ssgCacheKey since
664
578
  // ssgCacheKey is null in dev since we're always in "dynamic"
665
- // mode in dev to bypass the cache, but we still need to honor
666
- // dynamicParams = false in dev mode
579
+ // mode in dev to bypass the cache. It can also be null for partial
580
+ // fallback shells that should remain shared and must not create a
581
+ // param-specific ISR entry, but we still need to honor fallback handling.
667
582
  let staticPathKey = ssgCacheKey;
668
- if (!staticPathKey && routeModule.isDev) {
583
+ if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams))) {
669
584
  staticPathKey = resolvedPathname;
670
585
  }
671
586
  // If this is a request for an app path that should be statically generated
@@ -675,9 +590,8 @@ async function handler(req, res, ctx) {
675
590
  (0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
676
591
  }
677
592
  const ComponentMod = {
678
- ...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__,
593
+ ...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_27__,
679
594
  tree,
680
- GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
681
595
  handler,
682
596
  routeModule,
683
597
  __next_app__
@@ -695,6 +609,8 @@ async function handler(req, res, ctx) {
695
609
  const method = req.method || 'GET';
696
610
  const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.getTracer)();
697
611
  const activeSpan = tracer.getActiveScopeSpan();
612
+ const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
613
+ 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))) ?? [] : [];
698
614
  const render404 = async ()=>{
699
615
  // TODO: should route-module itself handle rendering the 404
700
616
  if (routerServerContext == null ? void 0 : routerServerContext.render404) {
@@ -707,6 +623,7 @@ async function handler(req, res, ctx) {
707
623
  try {
708
624
  const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);
709
625
  res.setHeader('Vary', varyHeader);
626
+ let parentSpan;
710
627
  const invokeRouteModule = async (span, context)=>{
711
628
  const nextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextRequest(req);
712
629
  const nextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__.NodeNextResponse(res);
@@ -734,19 +651,29 @@ async function handler(req, res, ctx) {
734
651
  'next.span_name': name
735
652
  });
736
653
  span.updateName(name);
654
+ // Propagate http.route to the parent span if one exists (e.g.
655
+ // a platform-created HTTP span in adapter deployments).
656
+ if (parentSpan && parentSpan !== span) {
657
+ parentSpan.setAttribute('http.route', route);
658
+ parentSpan.updateName(name);
659
+ }
737
660
  } else {
738
661
  span.updateName(`${method} ${srcPage}`);
739
662
  }
740
663
  });
741
664
  };
742
- const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache');
665
+ const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, prerenderManifest, isMinimalMode);
666
+ incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
667
+ globalThis.__incrementalCache = incrementalCache;
743
668
  const doRender = async ({ span, postponed, fallbackRouteParams, forceStaticRender })=>{
744
669
  const context = {
745
670
  query,
746
671
  params,
747
672
  page: normalizedSrcPage,
748
673
  sharedContext: {
749
- buildId
674
+ buildId,
675
+ deploymentId,
676
+ clientAssetToken
750
677
  },
751
678
  serverComponentsHmrCache: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'serverComponentsHmrCache'),
752
679
  fallbackRouteParams,
@@ -782,7 +709,6 @@ async function handler(req, res, ctx) {
782
709
  trailingSlash: nextConfig.trailingSlash,
783
710
  images: nextConfig.images,
784
711
  previewProps: prerenderManifest.preview,
785
- deploymentId: deploymentId,
786
712
  enableTainting: nextConfig.experimental.taint,
787
713
  htmlLimitedBots: nextConfig.htmlLimitedBots,
788
714
  reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,
@@ -791,8 +717,9 @@ async function handler(req, res, ctx) {
791
717
  cacheLifeProfiles: nextConfig.cacheLife,
792
718
  basePath: nextConfig.basePath,
793
719
  serverActions: nextConfig.experimental.serverActions,
720
+ logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),
794
721
  ...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {
795
- nextExport: true,
722
+ isBuildTimePrerendering: true,
796
723
  supportsDynamicResponse: false,
797
724
  isStaticGeneration: true,
798
725
  isDebugDynamicAccesses: isDebugDynamicAccesses
@@ -803,11 +730,14 @@ async function handler(req, res, ctx) {
803
730
  expireTime: nextConfig.expireTime,
804
731
  staleTimes: nextConfig.experimental.staleTimes,
805
732
  dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),
733
+ optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),
806
734
  inlineCss: Boolean(nextConfig.experimental.inlineCss),
735
+ prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,
807
736
  authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
737
+ cachedNavigations: Boolean(nextConfig.experimental.cachedNavigations),
808
738
  clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],
809
739
  clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,
810
- maxPostponedStateSizeBytes: (0,next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_24__.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize)
740
+ maxPostponedStateSizeBytes: (0,next_dist_shared_lib_size_limit__WEBPACK_IMPORTED_MODULE_25__.parseMaxPostponedStateSize)(nextConfig.experimental.maxPostponedStateSize)
811
741
  },
812
742
  waitUntil: ctx.waitUntil,
813
743
  onClose: (cb)=>{
@@ -815,15 +745,9 @@ async function handler(req, res, ctx) {
815
745
  },
816
746
  onAfterTaskError: ()=>{},
817
747
  onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),
818
- err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError'),
819
- dev: routeModule.isDev
820
- }
821
- };
822
- if (isDebugStaticShell || isDebugDynamicAccesses) {
823
- context.renderOpts.nextExport = true;
824
- context.renderOpts.supportsDynamicResponse = false;
825
- context.renderOpts.isDebugDynamicAccesses = isDebugDynamicAccesses;
826
- }
748
+ err: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'invokeError')
749
+ }
750
+ };
827
751
  // When we're revalidating in the background, we should not allow dynamic
828
752
  // responses.
829
753
  if (forceStaticRender) {
@@ -886,6 +810,16 @@ async function handler(req, res, ctx) {
886
810
  if (prerenderInfo) {
887
811
  fallbackMode = (0,next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.parseFallbackField)(prerenderInfo.fallback);
888
812
  }
813
+ if (nextConfig.experimental.partialFallbacks === true && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {
814
+ // Generic source shells without unresolved root params don't have a
815
+ // concrete fallback file of their own, so they're marked as blocking.
816
+ // When we can complete the shell into a more specific
817
+ // prerendered shell for this request, treat it like a prerender
818
+ // fallback so we can serve that shell instead of blocking on the full
819
+ // route. Root-param shells stay blocking, since unknown root branches
820
+ // should not inherit a shell from another generated branch.
821
+ fallbackMode = next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.PRERENDER;
822
+ }
889
823
  // When serving a HTML bot request, we want to serve a blocking render and
890
824
  // not the prerendered page. This ensures that the correct content is served
891
825
  // to the bot in the head.
@@ -910,10 +844,10 @@ async function handler(req, res, ctx) {
910
844
  // getStaticPaths.
911
845
  (isProduction || prerenderInfo) && // When fallback isn't present, abort this render so we 404
912
846
  fallbackMode === next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_18__.FallbackMode.NOT_FOUND) {
913
- if (nextConfig.experimental.adapterPath) {
847
+ if (nextConfig.adapterPath) {
914
848
  return await render404();
915
849
  }
916
- throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_23__.NoFallbackError();
850
+ throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError();
917
851
  }
918
852
  // When cacheComponents is enabled, we can use the fallback
919
853
  // response if the request is not a dynamic RSC request because the
@@ -922,10 +856,19 @@ async function handler(req, res, ctx) {
922
856
  // contains param references, and therefore we can't use the fallback.
923
857
  if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {
924
858
  const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;
925
- const fallbackRouteParams = // If we're in production and we have fallback route params, then we
926
- // can use the manifest fallback route params.
927
- isProduction && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : // have to manually generate the fallback route params.
859
+ const fallbackRouteParams = // In production or when debugging the static shell (e.g. instant
860
+ // navigation testing), use the prerender manifest's fallback
861
+ // route params which correctly identifies which params are
862
+ // unknown. Note: in dev, this block is only entered for
863
+ // non-prerendered URLs (guarded by the outer condition).
864
+ (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).
928
865
  isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
866
+ // When rendering a debug static shell, override the fallback
867
+ // params on the request so that the staged rendering correctly
868
+ // defers params that are not statically known.
869
+ if (isDebugStaticShell && fallbackRouteParams) {
870
+ (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackRouteParams);
871
+ }
929
872
  // We use the response cache here to handle the revalidation and
930
873
  // management of the fallback shell.
931
874
  const fallbackResponse = await routeModule.handleResponse({
@@ -941,8 +884,12 @@ async function handler(req, res, ctx) {
941
884
  // We pass `undefined` as rendering a fallback isn't resumed
942
885
  // here.
943
886
  postponed: undefined,
887
+ // Always serve the shell that matched this request
888
+ // immediately. If there are still prerenderable params left,
889
+ // the background path below will complete the shell into a
890
+ // more specific cache entry for later requests.
944
891
  fallbackRouteParams,
945
- forceStaticRender: false
892
+ forceStaticRender: true
946
893
  }),
947
894
  waitUntil: ctx.waitUntil,
948
895
  isMinimalMode
@@ -951,6 +898,39 @@ async function handler(req, res, ctx) {
951
898
  if (fallbackResponse === null) return null;
952
899
  // Otherwise, if we did get a fallback response, we should return it.
953
900
  if (fallbackResponse) {
901
+ if (!isMinimalMode && isRoutePPREnabled && // Match the build-time contract: only fallback shells that can
902
+ // still be completed with prerenderable params should upgrade.
903
+ remainingPrerenderableParams.length > 0 && nextConfig.experimental.partialFallbacks === true && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so
904
+ // don't upgrade fallback shells in the background when it's
905
+ // exposed.
906
+ !exposeTestingApi && // Instant Navigation Testing API requests intentionally keep
907
+ // the route in shell mode; don't upgrade these in background.
908
+ !isInstantNavigationTest && // Avoid background revalidate during prefetches; this can trigger
909
+ // static prerender errors that surface as 500s for the prefetch
910
+ // request itself.
911
+ !isPrefetchRSCRequest) {
912
+ (0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
913
+ const responseCache = routeModule.getResponseCache(req);
914
+ try {
915
+ // Only the params that were just specialized should be
916
+ // removed from the fallback render. Any remaining fallback
917
+ // params stay deferred so the revalidated result is a more
918
+ // specific shell (e.g. `/prefix/c/[two]`), not a fully
919
+ // concrete route (`/prefix/c/foo`).
920
+ await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{
921
+ return doRender({
922
+ span: c.span,
923
+ postponed: undefined,
924
+ fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(remainingFallbackRouteParams) : null,
925
+ forceStaticRender: true
926
+ });
927
+ }, // We don't have a prior entry for this param-specific shell.
928
+ null, hasResolved, ctx.waitUntil);
929
+ } catch (err) {
930
+ console.error('Error revalidating the page in the background', err);
931
+ }
932
+ });
933
+ }
954
934
  // Remove the cache control from the response to prevent it from being
955
935
  // used in the surrounding cache.
956
936
  delete fallbackResponse.cacheControl;
@@ -961,12 +941,15 @@ async function handler(req, res, ctx) {
961
941
  // Only requests that aren't revalidating can be resumed. If we have the
962
942
  // minimal postponed data, then we should resume the render with it.
963
943
  let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;
964
- // If this is a dynamic RSC request, we should use the postponed data from
965
- // the static render (if available). This ensures that we can utilize the
966
- // resume data cache (RDC) from the static render to ensure that the data
967
- // is consistent between the static and dynamic renders.
944
+ // If this is a dynamic RSC request or a server action request, we should
945
+ // use the postponed data from the static render (if available). This
946
+ // ensures that we can utilize the resume data cache (RDC) from the static
947
+ // render to ensure that the data is consistent between the static and
948
+ // dynamic renders (for navigations) or when re-rendering after a server
949
+ // action.
968
950
  if (// Only enable RDC for Navigations if the feature is enabled.
969
- supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache && isDynamicRSCRequest && // We don't typically trigger an on-demand revalidation for dynamic RSC
951
+ supportsRDCForNavigations && "nodejs" !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions
952
+ (isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC
970
953
  // requests, as we're typically revalidating the page in the background
971
954
  // instead. However, if the cache entry is stale, we should trigger a
972
955
  // background revalidation on dynamic RSC requests. This prevents us
@@ -991,7 +974,7 @@ async function handler(req, res, ctx) {
991
974
  (incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {
992
975
  // We want to schedule this on the next tick to ensure that the
993
976
  // render is not blocked on it.
994
- (0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_29__.scheduleOnNextTick)(async ()=>{
977
+ (0,next_dist_lib_scheduler__WEBPACK_IMPORTED_MODULE_30__.scheduleOnNextTick)(async ()=>{
995
978
  const responseCache = routeModule.getResponseCache(req);
996
979
  try {
997
980
  await responseCache.revalidate(resolvedPathname, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({
@@ -1028,11 +1011,21 @@ async function handler(req, res, ctx) {
1028
1011
  }
1029
1012
  };
1030
1013
  }
1031
- const fallbackRouteParams = // If we're in production and we have fallback route params, then we
1032
- // can use the manifest fallback route params if we need to render the
1033
- // fallback shell.
1034
- isProduction && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'renderFallbackShell') ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams) : // manually generate the fallback route params.
1035
- isDebugFallbackShell ? (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.getFallbackRouteParams)(normalizedSrcPage, routeModule) : null;
1014
+ const fallbackRouteParams = // In production or when debugging the static shell for a
1015
+ // non-prerendered URL, use the prerender manifest's fallback route
1016
+ // params which correctly identifies which params are unknown.
1017
+ (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;
1018
+ // For staged dynamic rendering (Cached Navigations) and debug static
1019
+ // shell rendering, pass the fallback params via request meta so the
1020
+ // RequestStore knows which params to defer. We don't pass them as
1021
+ // fallbackRouteParams because that would replace actual param values
1022
+ // with opaque placeholders during segment resolution.
1023
+ if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents && !isPrerendered && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {
1024
+ const fallbackParams = (0,next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__.createOpaqueFallbackRouteParams)(prerenderInfo.fallbackRouteParams);
1025
+ if (fallbackParams) {
1026
+ (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.addRequestMeta)(req, 'fallbackParams', fallbackParams);
1027
+ }
1028
+ }
1036
1029
  // Perform the render.
1037
1030
  return doRender({
1038
1031
  span,
@@ -1063,7 +1056,7 @@ async function handler(req, res, ctx) {
1063
1056
  }
1064
1057
  // In dev, we should not cache pages for any reason.
1065
1058
  if (routeModule.isDev) {
1066
- res.setHeader('Cache-Control', 'no-store, must-revalidate');
1059
+ res.setHeader('Cache-Control', 'no-cache, must-revalidate');
1067
1060
  }
1068
1061
  if (!cacheEntry) {
1069
1062
  if (ssgCacheKey) {
@@ -1089,6 +1082,16 @@ async function handler(req, res, ctx) {
1089
1082
  });
1090
1083
  }
1091
1084
  const didPostpone = typeof cacheEntry.value.postponed === 'string';
1085
+ // Set the build ID header for RSC navigation requests when deploymentId is configured. This
1086
+ // corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID
1087
+ // from the RSC payload when deploymentId is set (relying on this header instead). Server
1088
+ // actions are excluded here because action redirect responses get the deployment ID header
1089
+ // from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts
1090
+ // which copies headers from the internal RSC fetch).
1091
+ // For static prerenders served from CDN, routes-manifest.json adds a header.
1092
+ if (isRSCRequest && !isPossibleServerAction && deploymentId) {
1093
+ res.setHeader(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);
1094
+ }
1092
1095
  if (isSSG && // We don't want to send a cache header for requests that contain dynamic
1093
1096
  // data. If this is a Dynamic RSC request or wasn't a Prefetch RSC
1094
1097
  // request, then we should set the cache header.
@@ -1149,7 +1152,7 @@ async function handler(req, res, ctx) {
1149
1152
  };
1150
1153
  } else {
1151
1154
  cacheControl = {
1152
- revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.CACHE_ONE_YEAR,
1155
+ revalidate: next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_20__.CACHE_ONE_YEAR_SECONDS,
1153
1156
  expire: undefined
1154
1157
  };
1155
1158
  }
@@ -1177,7 +1180,7 @@ async function handler(req, res, ctx) {
1177
1180
  const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);
1178
1181
  if (matchedSegment !== undefined) {
1179
1182
  // Cache hit
1180
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1183
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1181
1184
  req,
1182
1185
  res,
1183
1186
  generateEtags: nextConfig.generateEtags,
@@ -1193,7 +1196,7 @@ async function handler(req, res, ctx) {
1193
1196
  // don't bother to respond with 404, because these requests are only
1194
1197
  // issued as part of a prefetch.
1195
1198
  res.statusCode = 204;
1196
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1199
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1197
1200
  req,
1198
1201
  res,
1199
1202
  generateEtags: nextConfig.generateEtags,
@@ -1248,7 +1251,7 @@ async function handler(req, res, ctx) {
1248
1251
  res.statusCode = cachedData.status;
1249
1252
  }
1250
1253
  // Redirect information is encoded in RSC payload, so we don't need to use redirect status codes
1251
- if (!isMinimalMode && cachedData.status && next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__.RedirectStatusCode[cachedData.status] && isRSCRequest) {
1254
+ if (!isMinimalMode && cachedData.status && next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_28__.RedirectStatusCode[cachedData.status] && isRSCRequest) {
1252
1255
  res.statusCode = 200;
1253
1256
  }
1254
1257
  // Mark that the request did postpone.
@@ -1266,7 +1269,7 @@ async function handler(req, res, ctx) {
1266
1269
  if (cachedData.html.contentType !== next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_15__.RSC_CONTENT_TYPE_HEADER) {
1267
1270
  if (nextConfig.cacheComponents) {
1268
1271
  res.statusCode = 404;
1269
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1272
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1270
1273
  req,
1271
1274
  res,
1272
1275
  generateEtags: nextConfig.generateEtags,
@@ -1276,14 +1279,14 @@ async function handler(req, res, ctx) {
1276
1279
  });
1277
1280
  } else {
1278
1281
  // Otherwise this case is not expected.
1279
- throw Object.defineProperty(new next_dist_shared_lib_invariant_error__WEBPACK_IMPORTED_MODULE_28__.InvariantError(`Expected RSC response, got ${cachedData.html.contentType}`), "__NEXT_ERROR_CODE", {
1282
+ 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", {
1280
1283
  value: "E789",
1281
1284
  enumerable: false,
1282
1285
  configurable: true
1283
1286
  });
1284
1287
  }
1285
1288
  }
1286
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1289
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1287
1290
  req,
1288
1291
  res,
1289
1292
  generateEtags: nextConfig.generateEtags,
@@ -1294,7 +1297,7 @@ async function handler(req, res, ctx) {
1294
1297
  }
1295
1298
  // As this isn't a prefetch request, we should serve the static flight
1296
1299
  // data.
1297
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1300
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1298
1301
  req,
1299
1302
  res,
1300
1303
  generateEtags: nextConfig.generateEtags,
@@ -1305,6 +1308,27 @@ async function handler(req, res, ctx) {
1305
1308
  }
1306
1309
  // This is a request for HTML data.
1307
1310
  const body = cachedData.html;
1311
+ // Instant Navigation Testing API: serve the static shell with an
1312
+ // injected script that sets self.__next_instant_test and kicks off a
1313
+ // static RSC fetch for hydration. The transform stream also appends
1314
+ // closing </body></html> tags so the browser can parse the full document.
1315
+ // In dev mode, also inject self.__next_r so the HMR WebSocket and
1316
+ // debug channel can initialize.
1317
+ if (isInstantNavigationTest && isDebugStaticShell) {
1318
+ const instantTestRequestId = routeModule.isDev === true ? crypto.randomUUID() : null;
1319
+ body.pipeThrough((0,next_dist_server_stream_utils_node_web_streams_helper__WEBPACK_IMPORTED_MODULE_22__.createInstantTestScriptInsertionTransformStream)(instantTestRequestId));
1320
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1321
+ req,
1322
+ res,
1323
+ generateEtags: nextConfig.generateEtags,
1324
+ poweredByHeader: nextConfig.poweredByHeader,
1325
+ result: body,
1326
+ cacheControl: {
1327
+ revalidate: 0,
1328
+ expire: undefined
1329
+ }
1330
+ });
1331
+ }
1308
1332
  // If there's no postponed state, we should just serve the HTML. This
1309
1333
  // should also be the case for a resume request because it's completed
1310
1334
  // as a server render (rather than a static render).
@@ -1313,7 +1337,7 @@ async function handler(req, res, ctx) {
1313
1337
  // that's between the static and dynamic parts so we can compare the
1314
1338
  // chunks and add assertions.
1315
1339
  if (false) {}
1316
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1340
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1317
1341
  req,
1318
1342
  res,
1319
1343
  generateEtags: nextConfig.generateEtags,
@@ -1335,7 +1359,7 @@ async function handler(req, res, ctx) {
1335
1359
  controller.close();
1336
1360
  }
1337
1361
  }));
1338
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1362
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1339
1363
  req,
1340
1364
  res,
1341
1365
  generateEtags: nextConfig.generateEtags,
@@ -1392,7 +1416,7 @@ async function handler(req, res, ctx) {
1392
1416
  console.error("couldn't abort transformer", e);
1393
1417
  });
1394
1418
  });
1395
- return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_22__.sendRenderResult)({
1419
+ return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
1396
1420
  req,
1397
1421
  res,
1398
1422
  generateEtags: nextConfig.generateEtags,
@@ -1409,9 +1433,10 @@ async function handler(req, res, ctx) {
1409
1433
  };
1410
1434
  // TODO: activeSpan code path is for when wrapped by
1411
1435
  // next-server can be removed when this is no longer used
1412
- if (activeSpan) {
1436
+ if (isWrappedByNextServer && activeSpan) {
1413
1437
  await handleResponse(activeSpan);
1414
1438
  } else {
1439
+ parentSpan = tracer.getActiveScopeSpan();
1415
1440
  return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
1416
1441
  spanName: `${method} ${srcPage}`,
1417
1442
  kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
@@ -1419,10 +1444,10 @@ async function handler(req, res, ctx) {
1419
1444
  'http.method': method,
1420
1445
  'http.target': req.url
1421
1446
  }
1422
- }, handleResponse));
1447
+ }, handleResponse), undefined, !isWrappedByNextServer);
1423
1448
  }
1424
1449
  } catch (err) {
1425
- if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_23__.NoFallbackError)) {
1450
+ if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError)) {
1426
1451
  const silenceLog = false;
1427
1452
  await routeModule.onRequestError(req, err, {
1428
1453
  routerKind: 'App Router',
@@ -1455,6 +1480,242 @@ async function handler(req, res, ctx) {
1455
1480
  //# sourceMappingURL=app-page.js.map
1456
1481
 
1457
1482
 
1483
+ /***/ }),
1484
+
1485
+ /***/ 41025:
1486
+ /***/ ((module) => {
1487
+
1488
+ "use strict";
1489
+ module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
1490
+
1491
+ /***/ }),
1492
+
1493
+ /***/ 43954:
1494
+ /***/ ((module) => {
1495
+
1496
+ "use strict";
1497
+ module.exports = require("next/dist/shared/lib/router/utils/interception-routes");
1498
+
1499
+ /***/ }),
1500
+
1501
+ /***/ 45225:
1502
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1503
+
1504
+ "use strict";
1505
+ __webpack_require__.r(__webpack_exports__);
1506
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1507
+ /* harmony export */ "default": () => (/* binding */ KnowledgePage)
1508
+ /* harmony export */ });
1509
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92692);
1510
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
1511
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71277);
1512
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1513
+ /* harmony import */ var _i18n_routing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(99704);
1514
+ /* harmony import */ var next_intl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56305);
1515
+ /* __next_internal_client_entry_do_not_use__ default auto */
1516
+
1517
+
1518
+
1519
+ function KnowledgePage() {
1520
+ const t = (0,next_intl__WEBPACK_IMPORTED_MODULE_3__/* .useTranslations */ .c)('Sidebar');
1521
+ const router = (0,_i18n_routing__WEBPACK_IMPORTED_MODULE_2__/* .useRouter */ .rd)();
1522
+ const [checking, setChecking] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);
1523
+ process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
1524
+ // Check if there's a last viewed document
1525
+ const lastDocumentId = localStorage.getItem('lastViewedDocumentId');
1526
+ if (lastDocumentId) {
1527
+ // If there's a last viewed document, go to it
1528
+ router.replace(`/know/resource/${lastDocumentId}`);
1529
+ } else {
1530
+ // Otherwise, go to Discover
1531
+ router.replace('/know/discover');
1532
+ }
1533
+ setChecking(false);
1534
+ }, [
1535
+ router
1536
+ ]);
1537
+ if (checking) {
1538
+ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
1539
+ className: "flex items-center justify-center py-20",
1540
+ children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
1541
+ className: "text-gray-600 dark:text-gray-300",
1542
+ children: t('loading')
1543
+ })
1544
+ });
1545
+ }
1546
+ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
1547
+ className: "flex items-center justify-center py-20",
1548
+ children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
1549
+ className: "text-gray-600 dark:text-gray-300",
1550
+ children: t('redirecting')
1551
+ })
1552
+ });
1553
+ }
1554
+
1555
+
1556
+ /***/ }),
1557
+
1558
+ /***/ 55201:
1559
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
1560
+
1561
+ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 45225));
1562
+
1563
+
1564
+ /***/ }),
1565
+
1566
+ /***/ 55511:
1567
+ /***/ ((module) => {
1568
+
1569
+ "use strict";
1570
+ module.exports = require("crypto");
1571
+
1572
+ /***/ }),
1573
+
1574
+ /***/ 61998:
1575
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1576
+
1577
+ "use strict";
1578
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1579
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
1580
+ /* harmony export */ });
1581
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
1582
+
1583
+ function TrashIcon({ title, titleId, ...props }, svgRef) {
1584
+ return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
1585
+ xmlns: "http://www.w3.org/2000/svg",
1586
+ fill: "none",
1587
+ viewBox: "0 0 24 24",
1588
+ strokeWidth: 1.5,
1589
+ stroke: "currentColor",
1590
+ "aria-hidden": "true",
1591
+ "data-slot": "icon",
1592
+ ref: svgRef,
1593
+ "aria-labelledby": titleId
1594
+ }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
1595
+ id: titleId
1596
+ }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
1597
+ strokeLinecap: "round",
1598
+ strokeLinejoin: "round",
1599
+ d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
1600
+ }));
1601
+ }
1602
+ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
1603
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
1604
+
1605
+
1606
+ /***/ }),
1607
+
1608
+ /***/ 63033:
1609
+ /***/ ((module) => {
1610
+
1611
+ "use strict";
1612
+ module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
1613
+
1614
+ /***/ }),
1615
+
1616
+ /***/ 67255:
1617
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1618
+
1619
+ "use strict";
1620
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1621
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
1622
+ /* harmony export */ });
1623
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
1624
+
1625
+ function Bars3Icon({ title, titleId, ...props }, svgRef) {
1626
+ return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
1627
+ xmlns: "http://www.w3.org/2000/svg",
1628
+ fill: "none",
1629
+ viewBox: "0 0 24 24",
1630
+ strokeWidth: 1.5,
1631
+ stroke: "currentColor",
1632
+ "aria-hidden": "true",
1633
+ "data-slot": "icon",
1634
+ ref: svgRef,
1635
+ "aria-labelledby": titleId
1636
+ }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
1637
+ id: titleId
1638
+ }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
1639
+ strokeLinecap: "round",
1640
+ strokeLinejoin: "round",
1641
+ d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
1642
+ }));
1643
+ }
1644
+ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(Bars3Icon);
1645
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
1646
+
1647
+
1648
+ /***/ }),
1649
+
1650
+ /***/ 70722:
1651
+ /***/ ((module) => {
1652
+
1653
+ "use strict";
1654
+ module.exports = require("next/dist/shared/lib/invariant-error");
1655
+
1656
+ /***/ }),
1657
+
1658
+ /***/ 71062:
1659
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1660
+
1661
+ "use strict";
1662
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1663
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
1664
+ /* harmony export */ });
1665
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71277);
1666
+
1667
+ function ChevronLeftIcon({ title, titleId, ...props }, svgRef) {
1668
+ return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
1669
+ xmlns: "http://www.w3.org/2000/svg",
1670
+ fill: "none",
1671
+ viewBox: "0 0 24 24",
1672
+ strokeWidth: 1.5,
1673
+ stroke: "currentColor",
1674
+ "aria-hidden": "true",
1675
+ "data-slot": "icon",
1676
+ ref: svgRef,
1677
+ "aria-labelledby": titleId
1678
+ }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
1679
+ id: titleId
1680
+ }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
1681
+ strokeLinecap: "round",
1682
+ strokeLinejoin: "round",
1683
+ d: "M15.75 19.5 8.25 12l7.5-7.5"
1684
+ }));
1685
+ }
1686
+ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(ChevronLeftIcon);
1687
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
1688
+
1689
+
1690
+ /***/ }),
1691
+
1692
+ /***/ 77068:
1693
+ /***/ ((module) => {
1694
+
1695
+ "use strict";
1696
+ module.exports = require("next/dist/shared/lib/size-limit");
1697
+
1698
+ /***/ }),
1699
+
1700
+ /***/ 77459:
1701
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1702
+
1703
+ "use strict";
1704
+ __webpack_require__.r(__webpack_exports__);
1705
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1706
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1707
+ /* harmony export */ });
1708
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30274);
1709
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
1710
+ // This file is generated by the Webpack next-flight-loader.
1711
+
1712
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
1713
+ function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
1714
+ "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/know/page.tsx",
1715
+ "default",
1716
+ ));
1717
+
1718
+
1458
1719
  /***/ }),
1459
1720
 
1460
1721
  /***/ 79551:
@@ -1582,7 +1843,7 @@ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(A
1582
1843
  var __webpack_require__ = require("../../../webpack-runtime.js");
1583
1844
  __webpack_require__.C(exports);
1584
1845
  var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
1585
- var __webpack_exports__ = __webpack_require__.X(0, [7246,4741,2628,7420,7780,3144,8255,9988,5015], () => (__webpack_exec__(78289)));
1846
+ var __webpack_exports__ = __webpack_require__.X(0, [8569,4741,9927,7420,7780,3144,8255,9988,5015], () => (__webpack_exec__(39583)));
1586
1847
  module.exports = __webpack_exports__;
1587
1848
 
1588
1849
  })();