@vectorize-io/hindsight-control-plane 0.6.0 → 0.6.2

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 (576) hide show
  1. package/package.json +3 -3
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/app-path-routes-manifest.json +3 -0
  4. package/standalone/.next/build-manifest.json +8 -8
  5. package/standalone/.next/prerender-manifest.json +27 -3
  6. package/standalone/.next/routes-manifest.json +18 -0
  7. package/standalone/.next/server/app/_global-error/page/build-manifest.json +5 -5
  8. package/standalone/.next/server/app/_global-error/page.js +7 -9
  9. package/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/_global-error.html +1 -1
  12. package/standalone/.next/server/app/_global-error.rsc +7 -7
  13. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  14. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  15. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
  16. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  17. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  18. package/standalone/.next/server/app/_not-found/page/build-manifest.json +5 -5
  19. package/standalone/.next/server/app/_not-found/page.js +9 -11
  20. package/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  21. package/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  22. package/standalone/.next/server/app/_not-found.html +1 -1
  23. package/standalone/.next/server/app/_not-found.rsc +13 -13
  24. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +13 -13
  25. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  26. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +8 -8
  27. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  28. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  29. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  30. package/standalone/.next/server/app/api/auth/login/route/app-paths-manifest.json +3 -0
  31. package/standalone/.next/server/app/api/auth/login/route/build-manifest.json +9 -0
  32. package/standalone/.next/server/app/api/auth/login/route/server-reference-manifest.json +4 -0
  33. package/standalone/.next/server/app/api/auth/login/route.js +6 -0
  34. package/standalone/.next/server/app/api/auth/login/route.js.map +5 -0
  35. package/standalone/.next/server/app/api/auth/login/route.js.nft.json +1 -0
  36. package/standalone/.next/server/app/api/auth/login/route_client-reference-manifest.js +3 -0
  37. package/standalone/.next/server/app/api/auth/logout/route/app-paths-manifest.json +3 -0
  38. package/standalone/.next/server/app/api/auth/logout/route/build-manifest.json +9 -0
  39. package/standalone/.next/server/app/api/auth/logout/route/server-reference-manifest.json +4 -0
  40. package/standalone/.next/server/app/api/auth/logout/route.js +6 -0
  41. package/standalone/.next/server/app/api/auth/logout/route.js.map +5 -0
  42. package/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -0
  43. package/standalone/.next/server/app/api/auth/logout/route_client-reference-manifest.js +3 -0
  44. package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/route.js +5 -4
  45. package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/route.js.nft.json +1 -1
  46. package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/stats/route.js +5 -4
  47. package/standalone/.next/server/app/api/banks/[bankId]/audit-logs/stats/route.js.nft.json +1 -1
  48. package/standalone/.next/server/app/api/banks/[bankId]/config/route.js +5 -4
  49. package/standalone/.next/server/app/api/banks/[bankId]/config/route.js.nft.json +1 -1
  50. package/standalone/.next/server/app/api/banks/[bankId]/consolidate/route.js +5 -4
  51. package/standalone/.next/server/app/api/banks/[bankId]/consolidate/route.js.nft.json +1 -1
  52. package/standalone/.next/server/app/api/banks/[bankId]/consolidation-recover/route.js +5 -4
  53. package/standalone/.next/server/app/api/banks/[bankId]/consolidation-recover/route.js.nft.json +1 -1
  54. package/standalone/.next/server/app/api/banks/[bankId]/directives/[directiveId]/route.js +5 -4
  55. package/standalone/.next/server/app/api/banks/[bankId]/directives/[directiveId]/route.js.nft.json +1 -1
  56. package/standalone/.next/server/app/api/banks/[bankId]/directives/route.js +5 -4
  57. package/standalone/.next/server/app/api/banks/[bankId]/directives/route.js.nft.json +1 -1
  58. package/standalone/.next/server/app/api/banks/[bankId]/export/route.js +5 -4
  59. package/standalone/.next/server/app/api/banks/[bankId]/export/route.js.nft.json +1 -1
  60. package/standalone/.next/server/app/api/banks/[bankId]/import/route.js +5 -4
  61. package/standalone/.next/server/app/api/banks/[bankId]/import/route.js.nft.json +1 -1
  62. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/history/route.js +5 -4
  63. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/history/route.js.nft.json +1 -1
  64. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/refresh/route.js +5 -4
  65. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/refresh/route.js.nft.json +1 -1
  66. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/route.js +5 -4
  67. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/[mentalModelId]/route.js.nft.json +1 -1
  68. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/route.js +5 -4
  69. package/standalone/.next/server/app/api/banks/[bankId]/mental-models/route.js.nft.json +1 -1
  70. package/standalone/.next/server/app/api/banks/[bankId]/observations/[modelId]/route.js +5 -4
  71. package/standalone/.next/server/app/api/banks/[bankId]/observations/[modelId]/route.js.nft.json +1 -1
  72. package/standalone/.next/server/app/api/banks/[bankId]/observations/route.js +5 -4
  73. package/standalone/.next/server/app/api/banks/[bankId]/observations/route.js.nft.json +1 -1
  74. package/standalone/.next/server/app/api/banks/[bankId]/operations/[operationId]/route.js +5 -4
  75. package/standalone/.next/server/app/api/banks/[bankId]/operations/[operationId]/route.js.nft.json +1 -1
  76. package/standalone/.next/server/app/api/banks/[bankId]/route.js +5 -4
  77. package/standalone/.next/server/app/api/banks/[bankId]/route.js.nft.json +1 -1
  78. package/standalone/.next/server/app/api/banks/[bankId]/tags/route.js +5 -4
  79. package/standalone/.next/server/app/api/banks/[bankId]/tags/route.js.nft.json +1 -1
  80. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/deliveries/route.js +5 -4
  81. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/deliveries/route.js.nft.json +1 -1
  82. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/route.js +5 -4
  83. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/[webhookId]/route.js.nft.json +1 -1
  84. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/route.js +5 -4
  85. package/standalone/.next/server/app/api/banks/[bankId]/webhooks/route.js.nft.json +1 -1
  86. package/standalone/.next/server/app/api/banks/route.js +5 -4
  87. package/standalone/.next/server/app/api/banks/route.js.nft.json +1 -1
  88. package/standalone/.next/server/app/api/chunks/[chunkId]/route.js +5 -4
  89. package/standalone/.next/server/app/api/chunks/[chunkId]/route.js.nft.json +1 -1
  90. package/standalone/.next/server/app/api/documents/[documentId]/chunks/route.js +5 -4
  91. package/standalone/.next/server/app/api/documents/[documentId]/chunks/route.js.nft.json +1 -1
  92. package/standalone/.next/server/app/api/documents/[documentId]/reprocess/route.js +5 -4
  93. package/standalone/.next/server/app/api/documents/[documentId]/reprocess/route.js.nft.json +1 -1
  94. package/standalone/.next/server/app/api/documents/[documentId]/route.js +5 -4
  95. package/standalone/.next/server/app/api/documents/[documentId]/route.js.nft.json +1 -1
  96. package/standalone/.next/server/app/api/documents/route.js +5 -4
  97. package/standalone/.next/server/app/api/documents/route.js.nft.json +1 -1
  98. package/standalone/.next/server/app/api/entities/[entityId]/regenerate/route.js +5 -4
  99. package/standalone/.next/server/app/api/entities/[entityId]/regenerate/route.js.nft.json +1 -1
  100. package/standalone/.next/server/app/api/entities/[entityId]/route.js +5 -4
  101. package/standalone/.next/server/app/api/entities/[entityId]/route.js.nft.json +1 -1
  102. package/standalone/.next/server/app/api/entities/graph/route.js +5 -4
  103. package/standalone/.next/server/app/api/entities/graph/route.js.nft.json +1 -1
  104. package/standalone/.next/server/app/api/entities/route.js +5 -4
  105. package/standalone/.next/server/app/api/entities/route.js.nft.json +1 -1
  106. package/standalone/.next/server/app/api/files/retain/route.js +5 -4
  107. package/standalone/.next/server/app/api/files/retain/route.js.nft.json +1 -1
  108. package/standalone/.next/server/app/api/graph/route.js +5 -4
  109. package/standalone/.next/server/app/api/graph/route.js.nft.json +1 -1
  110. package/standalone/.next/server/app/api/health/route.js +5 -4
  111. package/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
  112. package/standalone/.next/server/app/api/list/route.js +5 -4
  113. package/standalone/.next/server/app/api/list/route.js.nft.json +1 -1
  114. package/standalone/.next/server/app/api/memories/[memoryId]/history/route.js +5 -4
  115. package/standalone/.next/server/app/api/memories/[memoryId]/history/route.js.nft.json +1 -1
  116. package/standalone/.next/server/app/api/memories/[memoryId]/route.js +5 -4
  117. package/standalone/.next/server/app/api/memories/[memoryId]/route.js.nft.json +1 -1
  118. package/standalone/.next/server/app/api/memories/retain/route.js +5 -4
  119. package/standalone/.next/server/app/api/memories/retain/route.js.nft.json +1 -1
  120. package/standalone/.next/server/app/api/memories/retain_async/route.js +5 -4
  121. package/standalone/.next/server/app/api/memories/retain_async/route.js.nft.json +1 -1
  122. package/standalone/.next/server/app/api/operations/[agentId]/route.js +5 -4
  123. package/standalone/.next/server/app/api/operations/[agentId]/route.js.nft.json +1 -1
  124. package/standalone/.next/server/app/api/profile/[bankId]/route.js +5 -4
  125. package/standalone/.next/server/app/api/profile/[bankId]/route.js.nft.json +1 -1
  126. package/standalone/.next/server/app/api/recall/route.js +5 -4
  127. package/standalone/.next/server/app/api/recall/route.js.nft.json +1 -1
  128. package/standalone/.next/server/app/api/reflect/route.js +5 -4
  129. package/standalone/.next/server/app/api/reflect/route.js.nft.json +1 -1
  130. package/standalone/.next/server/app/api/stats/[agentId]/memories-timeseries/route.js +5 -4
  131. package/standalone/.next/server/app/api/stats/[agentId]/memories-timeseries/route.js.nft.json +1 -1
  132. package/standalone/.next/server/app/api/stats/[agentId]/route.js +5 -4
  133. package/standalone/.next/server/app/api/stats/[agentId]/route.js.nft.json +1 -1
  134. package/standalone/.next/server/app/api/version/route.js +5 -4
  135. package/standalone/.next/server/app/api/version/route.js.nft.json +1 -1
  136. package/standalone/.next/server/app/banks/[bankId]/page/build-manifest.json +5 -5
  137. package/standalone/.next/server/app/banks/[bankId]/page.js +10 -12
  138. package/standalone/.next/server/app/banks/[bankId]/page.js.nft.json +1 -1
  139. package/standalone/.next/server/app/banks/[bankId]/page_client-reference-manifest.js +1 -1
  140. package/standalone/.next/server/app/dashboard/page/build-manifest.json +5 -5
  141. package/standalone/.next/server/app/dashboard/page.js +10 -12
  142. package/standalone/.next/server/app/dashboard/page.js.nft.json +1 -1
  143. package/standalone/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
  144. package/standalone/.next/server/app/dashboard.html +1 -1
  145. package/standalone/.next/server/app/dashboard.rsc +15 -15
  146. package/standalone/.next/server/app/dashboard.segments/_full.segment.rsc +15 -15
  147. package/standalone/.next/server/app/dashboard.segments/_head.segment.rsc +4 -4
  148. package/standalone/.next/server/app/dashboard.segments/_index.segment.rsc +8 -8
  149. package/standalone/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  150. package/standalone/.next/server/app/dashboard.segments/dashboard/__PAGE__.segment.rsc +4 -4
  151. package/standalone/.next/server/app/dashboard.segments/dashboard.segment.rsc +3 -3
  152. package/standalone/.next/server/app/index.html +1 -1
  153. package/standalone/.next/server/app/index.rsc +13 -13
  154. package/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  155. package/standalone/.next/server/app/index.segments/_full.segment.rsc +13 -13
  156. package/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
  157. package/standalone/.next/server/app/index.segments/_index.segment.rsc +8 -8
  158. package/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  159. package/standalone/.next/server/app/login/page/app-paths-manifest.json +3 -0
  160. package/standalone/.next/server/app/login/page/build-manifest.json +17 -0
  161. package/standalone/.next/server/app/login/page/next-font-manifest.json +6 -0
  162. package/standalone/.next/server/app/login/page/react-loadable-manifest.json +1 -0
  163. package/standalone/.next/server/app/login/page/server-reference-manifest.json +4 -0
  164. package/standalone/.next/server/app/login/page.js +13 -0
  165. package/standalone/.next/server/app/login/page.js.map +5 -0
  166. package/standalone/.next/server/app/login/page.js.nft.json +1 -0
  167. package/standalone/.next/server/app/login/page_client-reference-manifest.js +3 -0
  168. package/standalone/.next/server/app/login.html +1 -0
  169. package/standalone/.next/server/app/login.meta +15 -0
  170. package/standalone/.next/server/app/login.rsc +24 -0
  171. package/standalone/.next/server/app/login.segments/_full.segment.rsc +24 -0
  172. package/standalone/.next/server/app/login.segments/_head.segment.rsc +6 -0
  173. package/standalone/.next/server/app/login.segments/_index.segment.rsc +9 -0
  174. package/standalone/.next/server/app/login.segments/_tree.segment.rsc +2 -0
  175. package/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +9 -0
  176. package/standalone/.next/server/app/login.segments/login.segment.rsc +5 -0
  177. package/standalone/.next/server/app/page/build-manifest.json +5 -5
  178. package/standalone/.next/server/app/page.js +11 -13
  179. package/standalone/.next/server/app/page.js.nft.json +1 -1
  180. package/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  181. package/standalone/.next/server/app-paths-manifest.json +3 -0
  182. package/standalone/.next/server/chunks/0.eh__next-internal_server_app_api_auth_login_route_actions_031s_~r.js +3 -0
  183. package/standalone/.next/server/chunks/0.eh__next-internal_server_app_api_auth_logout_route_actions_13l1tt_.js +3 -0
  184. package/standalone/.next/server/chunks/[root-of-the-server]__0-19xx0._.js +3 -0
  185. package/standalone/.next/server/chunks/[root-of-the-server]__0-ensby._.js +3 -0
  186. package/standalone/.next/server/chunks/[root-of-the-server]__0-ykzc0._.js +3 -0
  187. package/standalone/.next/server/chunks/[root-of-the-server]__0.agsak._.js +3 -0
  188. package/standalone/.next/server/chunks/[root-of-the-server]__0.i626k._.js +3 -0
  189. package/standalone/.next/server/chunks/[root-of-the-server]__00i3o1z._.js +3 -0
  190. package/standalone/.next/server/chunks/[root-of-the-server]__02nwakm._.js +3 -0
  191. package/standalone/.next/server/chunks/[root-of-the-server]__045is_g._.js +3 -0
  192. package/standalone/.next/server/chunks/[root-of-the-server]__05-gqwe._.js +3 -0
  193. package/standalone/.next/server/chunks/[root-of-the-server]__08tjq.i._.js +3 -0
  194. package/standalone/.next/server/chunks/[root-of-the-server]__09o6ecb._.js +3 -0
  195. package/standalone/.next/server/chunks/[root-of-the-server]__0_522se._.js +3 -0
  196. package/standalone/.next/server/chunks/[root-of-the-server]__0_lg09a._.js +3 -0
  197. package/standalone/.next/server/chunks/[root-of-the-server]__0_lq~dt._.js +3 -0
  198. package/standalone/.next/server/chunks/[root-of-the-server]__0_nmf28._.js +3 -0
  199. package/standalone/.next/server/chunks/[root-of-the-server]__0c34es9._.js +3 -0
  200. package/standalone/.next/server/chunks/[root-of-the-server]__0dm~zm5._.js +3 -0
  201. package/standalone/.next/server/chunks/[root-of-the-server]__0dqqhi5._.js +3 -0
  202. package/standalone/.next/server/chunks/[root-of-the-server]__0g-k5nf._.js +3 -0
  203. package/standalone/.next/server/chunks/[root-of-the-server]__0g6ttz_._.js +3 -0
  204. package/standalone/.next/server/chunks/[root-of-the-server]__0h-un1o._.js +3 -0
  205. package/standalone/.next/server/chunks/[root-of-the-server]__0i_ddhv._.js +3 -0
  206. package/standalone/.next/server/chunks/[root-of-the-server]__0ib~g6h._.js +3 -0
  207. package/standalone/.next/server/chunks/[root-of-the-server]__0ih88nb._.js +3 -0
  208. package/standalone/.next/server/chunks/[root-of-the-server]__0j21skf._.js +3 -0
  209. package/standalone/.next/server/chunks/[root-of-the-server]__0jkvo~~._.js +3 -0
  210. package/standalone/.next/server/chunks/[root-of-the-server]__0jukxf0._.js +3 -0
  211. package/standalone/.next/server/chunks/[root-of-the-server]__0kfe-s3._.js +3 -0
  212. package/standalone/.next/server/chunks/[root-of-the-server]__0kpvc5m._.js +3 -0
  213. package/standalone/.next/server/chunks/[root-of-the-server]__0lxho.q._.js +3 -0
  214. package/standalone/.next/server/chunks/[root-of-the-server]__0mbqcjv._.js +3 -0
  215. package/standalone/.next/server/chunks/[root-of-the-server]__0nglzhr._.js +13 -0
  216. package/standalone/.next/server/chunks/[root-of-the-server]__0ow3d9r._.js +3 -0
  217. package/standalone/.next/server/chunks/[root-of-the-server]__0qhbr0h._.js +3 -0
  218. package/standalone/.next/server/chunks/[root-of-the-server]__0qlh00e._.js +3 -0
  219. package/standalone/.next/server/chunks/[root-of-the-server]__0qn6ojb._.js +3 -0
  220. package/standalone/.next/server/chunks/[root-of-the-server]__0qxre7i._.js +3 -0
  221. package/standalone/.next/server/chunks/[root-of-the-server]__0rldm53._.js +3 -0
  222. package/standalone/.next/server/chunks/[root-of-the-server]__0ugd9zh._.js +3 -0
  223. package/standalone/.next/server/chunks/[root-of-the-server]__0w48xj-._.js +3 -0
  224. package/standalone/.next/server/chunks/[root-of-the-server]__0wdo5wh._.js +3 -0
  225. package/standalone/.next/server/chunks/[root-of-the-server]__0wtx8ox._.js +3 -0
  226. package/standalone/.next/server/chunks/[root-of-the-server]__0w~~_ar._.js +3 -0
  227. package/standalone/.next/server/chunks/[root-of-the-server]__0x~pclg._.js +3 -0
  228. package/standalone/.next/server/chunks/[root-of-the-server]__10vi3mt._.js +3 -0
  229. package/standalone/.next/server/chunks/[root-of-the-server]__11doxv0._.js +3 -0
  230. package/standalone/.next/server/chunks/[root-of-the-server]__11ulkfa._.js +3 -0
  231. package/standalone/.next/server/chunks/[root-of-the-server]__134m13c._.js +3 -0
  232. package/standalone/.next/server/chunks/[root-of-the-server]__13jqxg3._.js +3 -0
  233. package/standalone/.next/server/chunks/hindsight-control-plane_src_lib_hindsight-client_ts_08a51-e._.js +3 -0
  234. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0146r~c._.js +3 -0
  235. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03krood._.js +11 -0
  236. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b3~l7~._.js +3 -0
  237. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bt.mb5._.js +3 -0
  238. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cbmrds._.js +3 -0
  239. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0din_f4._.js +3 -0
  240. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0i1yiyh._.js +3 -0
  241. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0l5r-52._.js +19 -0
  242. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tcyn68._.js +33 -0
  243. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__07.c_7l._.js → [root-of-the-server]__0~c-ivw._.js} +3 -3
  244. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__13dmc~7._.js +3 -0
  245. package/standalone/.next/server/chunks/ssr/_08qed-e._.js +1 -1
  246. package/standalone/.next/server/chunks/ssr/_0__8juh._.js +5 -0
  247. package/standalone/.next/server/chunks/ssr/_0k_-~3d._.js +6 -0
  248. package/standalone/.next/server/chunks/ssr/_0mh~vnk._.js +3 -0
  249. package/standalone/.next/server/chunks/ssr/_0q3l4f0._.js +3 -0
  250. package/standalone/.next/server/chunks/ssr/_0xgpb1t._.js +3 -0
  251. package/standalone/.next/server/chunks/ssr/hindsight-control-plane__next-internal_server_app_login_page_actions_0cpvup5.js +3 -0
  252. package/standalone/.next/server/chunks/ssr/hindsight-control-plane_src_0ki2hlw._.js +1 -1
  253. package/standalone/.next/server/chunks/ssr/hindsight-control-plane_src_components_bank-selector_tsx_06fpcdx._.js +7 -0
  254. package/standalone/.next/server/chunks/ssr/{_10tj6yd._.js → node_modules_09w7yel._.js} +3 -3
  255. package/standalone/.next/server/chunks/ssr/node_modules_0g2b~5_._.js +6 -0
  256. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js +6 -0
  257. package/standalone/.next/server/chunks/ssr/{0xqq_next_dist_client_components_0qccfea._.js → node_modules_next_dist_client_components_0inhx6q._.js} +2 -2
  258. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js +3 -0
  259. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +3 -0
  260. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js +3 -0
  261. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0it2daa.js +4 -0
  262. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +4 -0
  263. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rgz5sc.js +4 -0
  264. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0vji4h-.js +4 -0
  265. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0~l7yql.js +4 -0
  266. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_127zk4f.js +4 -0
  267. package/standalone/.next/server/edge/chunks/[root-of-the-server]__032ign5._.js +11 -0
  268. package/standalone/.next/server/edge/chunks/_078chv~._.js +3 -0
  269. package/standalone/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_04.8.xv.js +3 -0
  270. package/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0q-a.hc.js +3 -0
  271. package/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0z67sut.js +3 -0
  272. package/standalone/.next/server/middleware-build-manifest.js +8 -8
  273. package/standalone/.next/server/middleware-manifest.json +32 -2
  274. package/standalone/.next/server/pages/404.html +1 -1
  275. package/standalone/.next/server/pages/500.html +1 -1
  276. package/standalone/.next/server/server-reference-manifest.js +1 -1
  277. package/standalone/.next/server/server-reference-manifest.json +1 -1
  278. package/standalone/.next/static/chunks/01jfwizpstpzt.js +2 -0
  279. package/standalone/.next/static/chunks/{0fe.wql6.w4gs.js → 01xlw8hd842-c.js} +1 -1
  280. package/standalone/.next/static/chunks/02_um6l2wp~ls.css +2 -0
  281. package/standalone/.next/static/chunks/063f4u.4z~v2d.js +1 -0
  282. package/standalone/.next/static/chunks/0_nsfh~bkidtn.js +1 -0
  283. package/standalone/.next/static/chunks/0bno0116cz1js.js +5 -0
  284. package/standalone/.next/static/chunks/0cvc2q7n4bgin.js +1 -0
  285. package/standalone/.next/static/chunks/0k8fcq_tsf70-.js +4 -0
  286. package/standalone/.next/static/chunks/0roluhgciupg2.js +1 -0
  287. package/standalone/.next/static/chunks/0tzc13c.ie0tr.js +1 -0
  288. package/standalone/.next/static/chunks/0vk1nrxcez~j0.js +1 -0
  289. package/standalone/.next/static/chunks/0xe7gt3~du.d0.js +1 -0
  290. package/standalone/.next/static/chunks/0~6rybudzzg2n.js +3 -0
  291. package/standalone/.next/static/chunks/1448x0i8f6_ty.js +9 -0
  292. package/standalone/.next/static/chunks/172kko93lglzd.js +31 -0
  293. package/standalone/.next/static/chunks/turbopack-13c2vkonuuqnn.js +1 -0
  294. package/standalone/.next/static/jjcyUHSdhXRM74rBGX4tQ/_clientMiddlewareManifest.js +6 -0
  295. package/standalone/node_modules/@next/env/package.json +1 -1
  296. package/standalone/node_modules/next/dist/build/static-paths/app.js +2 -1
  297. package/standalone/node_modules/next/dist/build/swc/index.js +1 -1
  298. package/standalone/node_modules/next/dist/build/utils.js +2 -1
  299. package/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +2 -2
  300. package/standalone/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +8 -2
  301. package/standalone/node_modules/next/dist/client/route-params.js +23 -6
  302. package/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +2 -2
  303. package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +13 -13
  304. package/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +11 -11
  305. package/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +2 -2
  306. package/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
  307. package/standalone/node_modules/next/dist/lib/metadata/resolve-metadata.js +2 -4
  308. package/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  309. package/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +80 -0
  310. package/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +24 -20
  311. package/standalone/node_modules/next/dist/server/app-render/action-handler.js +3 -6
  312. package/standalone/node_modules/next/dist/server/app-render/app-render.js +62 -9
  313. package/standalone/node_modules/next/dist/server/app-render/collect-segment-data.js +16 -0
  314. package/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +49 -19
  315. package/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +8 -20
  316. package/standalone/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +8 -7
  317. package/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +2 -2
  318. package/standalone/node_modules/next/dist/server/async-storage/work-store.js +2 -1
  319. package/standalone/node_modules/next/dist/server/base-server.js +13 -5
  320. package/standalone/node_modules/next/dist/server/config-schema.js +11 -2
  321. package/standalone/node_modules/next/dist/server/config.js +1 -1
  322. package/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +18 -16
  323. package/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  324. package/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +2 -1
  325. package/standalone/node_modules/next/dist/server/image-optimizer.js +22 -2
  326. package/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  327. package/standalone/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
  328. package/standalone/node_modules/next/dist/server/lib/mock-request.js +30 -5
  329. package/standalone/node_modules/next/dist/server/lib/patch-set-header.js +7 -0
  330. package/standalone/node_modules/next/dist/server/lib/router-server.js +20 -4
  331. package/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +18 -4
  332. package/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +3 -1
  333. package/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
  334. package/standalone/node_modules/next/dist/server/next-server.js +1 -1
  335. package/standalone/node_modules/next/dist/server/render.js +47 -39
  336. package/standalone/node_modules/next/dist/server/request/fallback-params.js +27 -1
  337. package/standalone/node_modules/next/dist/server/route-modules/app-route/module.js +26 -10
  338. package/standalone/node_modules/next/dist/server/route-modules/route-module.js +11 -1
  339. package/standalone/node_modules/next/dist/server/server-utils.js +19 -2
  340. package/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +5 -5
  341. package/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1 -1
  342. package/standalone/node_modules/next/dist/server/web/adapter.js +4 -1
  343. package/standalone/node_modules/next/dist/server/web/edge-route-module-wrapper.js +2 -1
  344. package/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  345. package/standalone/node_modules/next/dist/{server → shared/lib}/htmlescape.js +15 -0
  346. package/standalone/node_modules/next/dist/shared/lib/router/routes/app.js +13 -1
  347. package/standalone/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +56 -10
  348. package/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  349. package/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  350. package/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  351. package/standalone/node_modules/next/package.json +15 -15
  352. package/standalone/package.json +3 -3
  353. package/standalone/.next/server/chunks/[root-of-the-server]__0-mzq5k._.js +0 -3
  354. package/standalone/.next/server/chunks/[root-of-the-server]__006nmon._.js +0 -3
  355. package/standalone/.next/server/chunks/[root-of-the-server]__03i9r24._.js +0 -3
  356. package/standalone/.next/server/chunks/[root-of-the-server]__04ov5nx._.js +0 -3
  357. package/standalone/.next/server/chunks/[root-of-the-server]__0641809._.js +0 -3
  358. package/standalone/.next/server/chunks/[root-of-the-server]__072_7sg._.js +0 -3
  359. package/standalone/.next/server/chunks/[root-of-the-server]__0_nif9x._.js +0 -3
  360. package/standalone/.next/server/chunks/[root-of-the-server]__0_uq85o._.js +0 -3
  361. package/standalone/.next/server/chunks/[root-of-the-server]__0bzczua._.js +0 -3
  362. package/standalone/.next/server/chunks/[root-of-the-server]__0d~.2wu._.js +0 -3
  363. package/standalone/.next/server/chunks/[root-of-the-server]__0e30_2-._.js +0 -3
  364. package/standalone/.next/server/chunks/[root-of-the-server]__0estz38._.js +0 -3
  365. package/standalone/.next/server/chunks/[root-of-the-server]__0f~qam_._.js +0 -3
  366. package/standalone/.next/server/chunks/[root-of-the-server]__0h-01m.._.js +0 -3
  367. package/standalone/.next/server/chunks/[root-of-the-server]__0h12w8h._.js +0 -3
  368. package/standalone/.next/server/chunks/[root-of-the-server]__0hof.m7._.js +0 -3
  369. package/standalone/.next/server/chunks/[root-of-the-server]__0i2otbg._.js +0 -3
  370. package/standalone/.next/server/chunks/[root-of-the-server]__0i8s1ez._.js +0 -3
  371. package/standalone/.next/server/chunks/[root-of-the-server]__0idud4m._.js +0 -3
  372. package/standalone/.next/server/chunks/[root-of-the-server]__0jbb41r._.js +0 -3
  373. package/standalone/.next/server/chunks/[root-of-the-server]__0k5dzt7._.js +0 -3
  374. package/standalone/.next/server/chunks/[root-of-the-server]__0lu.x0s._.js +0 -13
  375. package/standalone/.next/server/chunks/[root-of-the-server]__0m9skry._.js +0 -3
  376. package/standalone/.next/server/chunks/[root-of-the-server]__0ob35wz._.js +0 -3
  377. package/standalone/.next/server/chunks/[root-of-the-server]__0oqmwro._.js +0 -3
  378. package/standalone/.next/server/chunks/[root-of-the-server]__0q79ahg._.js +0 -3
  379. package/standalone/.next/server/chunks/[root-of-the-server]__0q8qt00._.js +0 -3
  380. package/standalone/.next/server/chunks/[root-of-the-server]__0rx61xd._.js +0 -3
  381. package/standalone/.next/server/chunks/[root-of-the-server]__0s3k8sh._.js +0 -3
  382. package/standalone/.next/server/chunks/[root-of-the-server]__0sfmlxb._.js +0 -3
  383. package/standalone/.next/server/chunks/[root-of-the-server]__0sppjv6._.js +0 -3
  384. package/standalone/.next/server/chunks/[root-of-the-server]__0t1c109._.js +0 -3
  385. package/standalone/.next/server/chunks/[root-of-the-server]__0t8dn-e._.js +0 -3
  386. package/standalone/.next/server/chunks/[root-of-the-server]__0tsjs49._.js +0 -3
  387. package/standalone/.next/server/chunks/[root-of-the-server]__0wb10vh._.js +0 -3
  388. package/standalone/.next/server/chunks/[root-of-the-server]__0xq~4xc._.js +0 -3
  389. package/standalone/.next/server/chunks/[root-of-the-server]__0y.4qtn._.js +0 -3
  390. package/standalone/.next/server/chunks/[root-of-the-server]__0z2j3hx._.js +0 -3
  391. package/standalone/.next/server/chunks/[root-of-the-server]__0zvjpa~._.js +0 -3
  392. package/standalone/.next/server/chunks/[root-of-the-server]__0zy9wud._.js +0 -3
  393. package/standalone/.next/server/chunks/[root-of-the-server]__0~2--h0._.js +0 -3
  394. package/standalone/.next/server/chunks/[root-of-the-server]__0~49ero._.js +0 -3
  395. package/standalone/.next/server/chunks/[root-of-the-server]__0~8b2h-._.js +0 -3
  396. package/standalone/.next/server/chunks/[root-of-the-server]__10koc90._.js +0 -3
  397. package/standalone/.next/server/chunks/[root-of-the-server]__10z2iah._.js +0 -3
  398. package/standalone/.next/server/chunks/[root-of-the-server]__12ww4dj._.js +0 -3
  399. package/standalone/.next/server/chunks/[root-of-the-server]__13ex1pi._.js +0 -3
  400. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_0lz8ap0._.js +0 -6
  401. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_0zdefg~._.js +0 -3
  402. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_forbidden_0hqinps.js +0 -3
  403. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_global-error_10_vrpd.js +0 -3
  404. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_client_components_builtin_unauthorized_0ili.5_.js +0 -3
  405. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0aave80.js +0 -4
  406. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0cik78y.js +0 -4
  407. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0d4rgnj.js +0 -4
  408. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0fev1c9.js +0 -4
  409. package/standalone/.next/server/chunks/ssr/0xqq_next_dist_esm_build_templates_app-page_0wtkrby.js +0 -4
  410. package/standalone/.next/server/chunks/ssr/[externals]_next_dist_shared_lib_no-fallback-error_external_0fgm~bn.js +0 -3
  411. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__01gojj5._.js +0 -3
  412. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__021w61p._.js +0 -3
  413. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__09_g7l8._.js +0 -11
  414. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cuzey5._.js +0 -33
  415. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0f1equb._.js +0 -3
  416. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0huzohk._.js +0 -12
  417. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kccejk._.js +0 -3
  418. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0~hnz..._.js +0 -3
  419. package/standalone/.next/server/chunks/ssr/_0dv_n64._.js +0 -3
  420. package/standalone/.next/server/chunks/ssr/_0u45pfs._.js +0 -6
  421. package/standalone/.next/server/chunks/ssr/hindsight-control-plane_06incyr._.js +0 -9
  422. package/standalone/.next/server/chunks/ssr/hindsight-control-plane_092-e4h._.js +0 -6
  423. package/standalone/.next/server/chunks/ssr/node_modules_@swc_helpers_cjs__interop_require_default_cjs_11~q6fv._.js +0 -3
  424. package/standalone/.next/static/3JRQG7ch5ssW2YtR-3Lf0/_clientMiddlewareManifest.js +0 -1
  425. package/standalone/.next/static/chunks/0.l3gmz37keyi.js +0 -7
  426. package/standalone/.next/static/chunks/03f~21255pdz0.js +0 -1
  427. package/standalone/.next/static/chunks/03tu-p_fcm7s0.js +0 -1
  428. package/standalone/.next/static/chunks/0lwpzlu3p_37_.js +0 -1
  429. package/standalone/.next/static/chunks/0nxd2tqd9jefm.js +0 -4
  430. package/standalone/.next/static/chunks/0qcaafzdcomzq.js +0 -2
  431. package/standalone/.next/static/chunks/0tk5mcccp069w.js +0 -9
  432. package/standalone/.next/static/chunks/0usfy29kyo2k4.css +0 -2
  433. package/standalone/.next/static/chunks/0yrpvl-tv4www.js +0 -1
  434. package/standalone/.next/static/chunks/14b8x85v-.9gx.js +0 -1
  435. package/standalone/.next/static/chunks/180mo8-.tlft_.js +0 -31
  436. package/standalone/.next/static/chunks/turbopack-0bm5a5y41_mqk.js +0 -1
  437. /package/standalone/.next/static/{3JRQG7ch5ssW2YtR-3Lf0 → jjcyUHSdhXRM74rBGX4tQ}/_buildManifest.js +0 -0
  438. /package/standalone/.next/static/{3JRQG7ch5ssW2YtR-3Lf0 → jjcyUHSdhXRM74rBGX4tQ}/_ssgManifest.js +0 -0
  439. /package/standalone/node_modules/{node_modules/@img → @img}/colour/color.cjs +0 -0
  440. /package/standalone/node_modules/{node_modules/@img → @img}/colour/index.cjs +0 -0
  441. /package/standalone/node_modules/{node_modules/@img → @img}/colour/package.json +0 -0
  442. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/README.md +0 -0
  443. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -0
  444. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/index.js +0 -0
  445. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  446. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/package.json +0 -0
  447. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linux-x64/versions.json +0 -0
  448. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/README.md +0 -0
  449. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -0
  450. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/index.js +0 -0
  451. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  452. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/package.json +0 -0
  453. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-libvips-linuxmusl-x64/versions.json +0 -0
  454. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  455. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linux-x64/package.json +0 -0
  456. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  457. /package/standalone/node_modules/{node_modules/@img → @img}/sharp-linuxmusl-x64/package.json +0 -0
  458. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/context.js +0 -0
  459. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/diag.js +0 -0
  460. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/metrics.js +0 -0
  461. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/propagation.js +0 -0
  462. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/api/trace.js +0 -0
  463. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/context-helpers.js +0 -0
  464. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/internal/baggage-impl.js +0 -0
  465. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/internal/symbol.js +0 -0
  466. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/baggage/utils.js +0 -0
  467. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context/NoopContextManager.js +0 -0
  468. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context/context.js +0 -0
  469. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/context-api.js +0 -0
  470. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/ComponentLogger.js +0 -0
  471. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/consoleLogger.js +0 -0
  472. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/internal/logLevelLogger.js +0 -0
  473. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag/types.js +0 -0
  474. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/diag-api.js +0 -0
  475. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/index.js +0 -0
  476. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/internal/global-utils.js +0 -0
  477. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/internal/semver.js +0 -0
  478. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/Metric.js +0 -0
  479. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/NoopMeter.js +0 -0
  480. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics/NoopMeterProvider.js +0 -0
  481. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/metrics-api.js +0 -0
  482. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/index.js +0 -0
  483. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/node/globalThis.js +0 -0
  484. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/platform/node/index.js +0 -0
  485. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation/NoopTextMapPropagator.js +0 -0
  486. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation/TextMapPropagator.js +0 -0
  487. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/propagation-api.js +0 -0
  488. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NonRecordingSpan.js +0 -0
  489. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NoopTracer.js +0 -0
  490. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/NoopTracerProvider.js +0 -0
  491. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/ProxyTracer.js +0 -0
  492. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/ProxyTracerProvider.js +0 -0
  493. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/SamplingResult.js +0 -0
  494. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/context-utils.js +0 -0
  495. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/tracestate-impl.js +0 -0
  496. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/tracestate-validators.js +0 -0
  497. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/internal/utils.js +0 -0
  498. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/invalid-span-constants.js +0 -0
  499. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/span_kind.js +0 -0
  500. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/spancontext-utils.js +0 -0
  501. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/status.js +0 -0
  502. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace/trace_flags.js +0 -0
  503. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/trace-api.js +0 -0
  504. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/build/src/version.js +0 -0
  505. /package/standalone/node_modules/{node_modules/@opentelemetry → @opentelemetry}/api/package.json +0 -0
  506. /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/cjs/_interop_require_default.cjs +0 -0
  507. /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/cjs/_interop_require_wildcard.cjs +0 -0
  508. /package/standalone/node_modules/{node_modules/@swc → @swc}/helpers/package.json +0 -0
  509. /package/standalone/node_modules/{node_modules/client-only → client-only}/index.js +0 -0
  510. /package/standalone/node_modules/{node_modules/client-only → client-only}/package.json +0 -0
  511. /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/detect-libc.js +0 -0
  512. /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/elf.js +0 -0
  513. /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/filesystem.js +0 -0
  514. /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/lib/process.js +0 -0
  515. /package/standalone/node_modules/{node_modules/detect-libc → detect-libc}/package.json +0 -0
  516. /package/standalone/node_modules/{node_modules/react → react}/cjs/react-compiler-runtime.production.js +0 -0
  517. /package/standalone/node_modules/{node_modules/react → react}/cjs/react-jsx-dev-runtime.production.js +0 -0
  518. /package/standalone/node_modules/{node_modules/react → react}/cjs/react-jsx-runtime.production.js +0 -0
  519. /package/standalone/node_modules/{node_modules/react → react}/cjs/react.development.js +0 -0
  520. /package/standalone/node_modules/{node_modules/react → react}/cjs/react.production.js +0 -0
  521. /package/standalone/node_modules/{node_modules/react → react}/compiler-runtime.js +0 -0
  522. /package/standalone/node_modules/{node_modules/react → react}/index.js +0 -0
  523. /package/standalone/node_modules/{node_modules/react → react}/jsx-dev-runtime.js +0 -0
  524. /package/standalone/node_modules/{node_modules/react → react}/jsx-runtime.js +0 -0
  525. /package/standalone/node_modules/{node_modules/react → react}/package.json +0 -0
  526. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server-legacy.browser.production.js +0 -0
  527. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server-legacy.node.production.js +0 -0
  528. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.browser.production.js +0 -0
  529. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.edge.production.js +0 -0
  530. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom-server.node.production.js +0 -0
  531. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/cjs/react-dom.production.js +0 -0
  532. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/index.js +0 -0
  533. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/package.json +0 -0
  534. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.browser.js +0 -0
  535. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.edge.js +0 -0
  536. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/server.node.js +0 -0
  537. /package/standalone/node_modules/{node_modules/react-dom → react-dom}/static.node.js +0 -0
  538. /package/standalone/node_modules/{node_modules/semver → semver}/classes/comparator.js +0 -0
  539. /package/standalone/node_modules/{node_modules/semver → semver}/classes/range.js +0 -0
  540. /package/standalone/node_modules/{node_modules/semver → semver}/classes/semver.js +0 -0
  541. /package/standalone/node_modules/{node_modules/semver → semver}/functions/cmp.js +0 -0
  542. /package/standalone/node_modules/{node_modules/semver → semver}/functions/coerce.js +0 -0
  543. /package/standalone/node_modules/{node_modules/semver → semver}/functions/compare.js +0 -0
  544. /package/standalone/node_modules/{node_modules/semver → semver}/functions/eq.js +0 -0
  545. /package/standalone/node_modules/{node_modules/semver → semver}/functions/gt.js +0 -0
  546. /package/standalone/node_modules/{node_modules/semver → semver}/functions/gte.js +0 -0
  547. /package/standalone/node_modules/{node_modules/semver → semver}/functions/lt.js +0 -0
  548. /package/standalone/node_modules/{node_modules/semver → semver}/functions/lte.js +0 -0
  549. /package/standalone/node_modules/{node_modules/semver → semver}/functions/neq.js +0 -0
  550. /package/standalone/node_modules/{node_modules/semver → semver}/functions/parse.js +0 -0
  551. /package/standalone/node_modules/{node_modules/semver → semver}/functions/satisfies.js +0 -0
  552. /package/standalone/node_modules/{node_modules/semver → semver}/internal/constants.js +0 -0
  553. /package/standalone/node_modules/{node_modules/semver → semver}/internal/debug.js +0 -0
  554. /package/standalone/node_modules/{node_modules/semver → semver}/internal/identifiers.js +0 -0
  555. /package/standalone/node_modules/{node_modules/semver → semver}/internal/lrucache.js +0 -0
  556. /package/standalone/node_modules/{node_modules/semver → semver}/internal/parse-options.js +0 -0
  557. /package/standalone/node_modules/{node_modules/semver → semver}/internal/re.js +0 -0
  558. /package/standalone/node_modules/{node_modules/semver → semver}/package.json +0 -0
  559. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/channel.js +0 -0
  560. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/colour.js +0 -0
  561. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/composite.js +0 -0
  562. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/constructor.js +0 -0
  563. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/index.js +0 -0
  564. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/input.js +0 -0
  565. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/is.js +0 -0
  566. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/libvips.js +0 -0
  567. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/operation.js +0 -0
  568. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/output.js +0 -0
  569. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/resize.js +0 -0
  570. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/sharp.js +0 -0
  571. /package/standalone/node_modules/{node_modules/sharp → sharp}/lib/utility.js +0 -0
  572. /package/standalone/node_modules/{node_modules/sharp → sharp}/package.json +0 -0
  573. /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/dist/index/index.js +0 -0
  574. /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/index.js +0 -0
  575. /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/package.json +0 -0
  576. /package/standalone/node_modules/{node_modules/styled-jsx → styled-jsx}/style.js +0 -0
@@ -204,29 +204,35 @@ function serializeError(dev, err) {
204
204
  statusCode: 500
205
205
  };
206
206
  }
207
+ function getSafariCacheBusterQueryString(req) {
208
+ if (process.env.__NEXT_DEV_SERVER) {
209
+ const userAgent = (req.headers['user-agent'] || '').toLowerCase();
210
+ if (userAgent.includes('safari') && !userAgent.includes('chrome')) {
211
+ return `?ts=${Date.now()}`;
212
+ }
213
+ }
214
+ return '';
215
+ }
207
216
  async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sharedContext, renderContext) {
208
217
  // Adds support for reading `cookies` in `getServerSideProps` when SSR.
209
218
  (0, _apiutils.setLazyProp)({
210
219
  req: req
211
220
  }, 'cookies', (0, _getcookieparser.getCookieParser)(req.headers));
212
- let baseAssetQueryString = process.env.__NEXT_DEV_SERVER && renderOpts.assetQueryString || '';
213
- if (process.env.__NEXT_DEV_SERVER && !baseAssetQueryString) {
214
- const userAgent = (req.headers['user-agent'] || '').toLowerCase();
215
- if (userAgent.includes('safari') && !userAgent.includes('chrome')) {
216
- // In dev we invalidate the cache by appending a timestamp to the resource URL.
217
- // This is a workaround to fix https://github.com/vercel/next.js/issues/5860
218
- // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed.
219
- // Note: The workaround breaks breakpoints on reload since the script url always changes,
220
- // so we only apply it to Safari.
221
- baseAssetQueryString = `?ts=${Date.now()}`;
222
- }
223
- }
224
- const mutableAssetQueryString = baseAssetQueryString + (sharedContext.deploymentId ? `${baseAssetQueryString ? '&' : '?'}dpl=${sharedContext.deploymentId}` : '');
225
- const assetQueryString = baseAssetQueryString + (sharedContext.clientAssetToken ? `${baseAssetQueryString ? '&' : '?'}dpl=${sharedContext.clientAssetToken}` : '');
226
- const metadata = {
227
- assetQueryString,
228
- mutableAssetQueryString
229
- };
221
+ // cssCacheBuster is a workaround for a Safari bug
222
+ // (https://bugs.webkit.org/show_bug.cgi?id=187726) where preloaded CSS
223
+ // resources are cached and not re-fetched on HMR. It must only be applied
224
+ // to CSS and font assets — not to script tags — because the Turbopack
225
+ // runtime infers ASSET_SUFFIX from the executing script's query string and
226
+ // leaks it onto all static asset URLs (including images), causing
227
+ // next/image validation errors.
228
+ // See https://github.com/vercel/next.js/issues/92118.
229
+ const cssCacheBuster = getSafariCacheBusterQueryString(req);
230
+ const mutableAssetQueryString = sharedContext.deploymentId ? `?dpl=${sharedContext.deploymentId}` : '';
231
+ const assetQueryString = sharedContext.clientAssetToken ? `?dpl=${sharedContext.clientAssetToken}` : '';
232
+ // cssAssetQueryString is assetQueryString with the cacheBuster prepended.
233
+ // Use this for CSS and font URLs; use assetQueryString for script URLs.
234
+ const cssAssetQueryString = cssCacheBuster + (sharedContext.clientAssetToken ? `${cssCacheBuster ? '&' : '?'}dpl=${sharedContext.clientAssetToken}` : '');
235
+ const metadata = {};
230
236
  // don't modify original query object
231
237
  query = Object.assign({}, query);
232
238
  const { err, pageConfig = {}, buildManifest, reactLoadableManifest, ErrorDebug, getStaticProps, getStaticPaths, getServerSideProps, isNextDataRequest, params, previewProps, basePath, images, runtime: globalRuntime, isExperimentalCompile, expireTime } = renderOpts;
@@ -968,26 +974,21 @@ async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sh
968
974
  // If it has getInitialProps, we will render the shell in `renderPage`.
969
975
  // Otherwise we do it right now.
970
976
  let documentInitialPropsRes;
971
- const [rawStyledJsxInsertedHTML, content] = await Promise.all([
972
- renderToString(styledJsxInsertedHTML()),
973
- (async ()=>{
974
- if (hasDocumentGetInitialProps) {
975
- documentInitialPropsRes = await loadDocumentInitialProps(renderShell);
976
- if (documentInitialPropsRes === null) return null;
977
- const { docProps } = documentInitialPropsRes;
978
- return docProps.html;
979
- } else {
980
- documentInitialPropsRes = {};
981
- const stream = await renderShell(App, Component);
982
- await stream.allReady;
983
- return (0, _nodewebstreamshelper.streamToString)(stream);
984
- }
985
- })()
986
- ]);
987
- if (content === null) {
988
- return null;
977
+ let content;
978
+ if (hasDocumentGetInitialProps) {
979
+ documentInitialPropsRes = await loadDocumentInitialProps(renderShell);
980
+ if (documentInitialPropsRes === null) {
981
+ content = null;
982
+ } else {
983
+ const { docProps } = documentInitialPropsRes;
984
+ content = docProps.html;
985
+ }
986
+ } else {
987
+ documentInitialPropsRes = {};
988
+ const stream = await renderShell(App, Component);
989
+ await stream.allReady;
990
+ content = await (0, _nodewebstreamshelper.streamToString)(stream);
989
991
  }
990
- const contentHTML = rawStyledJsxInsertedHTML + content;
991
992
  // @ts-ignore: documentInitialPropsRes is set
992
993
  const { docProps } = documentInitialPropsRes || {};
993
994
  const documentElement = (htmlProps)=>{
@@ -1008,6 +1009,12 @@ async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sh
1008
1009
  styles = jsxStyleRegistry.styles();
1009
1010
  jsxStyleRegistry.flush();
1010
1011
  }
1012
+ // Registry is now flushed; rawStyledJsxInsertedHTML will be empty.
1013
+ const rawStyledJsxInsertedHTML = await renderToString(styledJsxInsertedHTML());
1014
+ if (content === null) {
1015
+ return null;
1016
+ }
1017
+ const contentHTML = rawStyledJsxInsertedHTML + content;
1011
1018
  return {
1012
1019
  contentHTML,
1013
1020
  documentElement,
@@ -1079,8 +1086,9 @@ async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sh
1079
1086
  // Only enabled in production as development mode has features relying on HMR (style injection for example)
1080
1087
  unstable_runtimeJS: process.env.NODE_ENV === 'production' ? pageConfig.unstable_runtimeJS : undefined,
1081
1088
  unstable_JsPreload: pageConfig.unstable_JsPreload,
1082
- assetQueryString: assetQueryString || '',
1083
- mutableAssetQueryString: mutableAssetQueryString || '',
1089
+ assetQueryString,
1090
+ cssAssetQueryString,
1091
+ mutableAssetQueryString,
1084
1092
  scriptLoader,
1085
1093
  locale,
1086
1094
  disableOptimizedLoading,
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  0 && (module.exports = {
6
+ buildDynamicSegmentPlaceholder: null,
6
7
  createOpaqueFallbackRouteParams: null,
7
- getFallbackRouteParams: null
8
+ getFallbackRouteParams: null,
9
+ getPlaceholderFallbackRouteParams: null
8
10
  });
9
11
  function _export(target, all) {
10
12
  for(var name in all)Object.defineProperty(target, name, {
@@ -13,17 +15,24 @@ function _export(target, all) {
13
15
  });
14
16
  }
15
17
  _export(exports, {
18
+ buildDynamicSegmentPlaceholder: function() {
19
+ return buildDynamicSegmentPlaceholder;
20
+ },
16
21
  createOpaqueFallbackRouteParams: function() {
17
22
  return createOpaqueFallbackRouteParams;
18
23
  },
19
24
  getFallbackRouteParams: function() {
20
25
  return getFallbackRouteParams;
26
+ },
27
+ getPlaceholderFallbackRouteParams: function() {
28
+ return getPlaceholderFallbackRouteParams;
21
29
  }
22
30
  });
23
31
  const _utils = require("../../build/static-paths/utils");
24
32
  const _getshortdynamicparamtype = require("../app-render/get-short-dynamic-param-type");
25
33
  const _app = require("../../shared/lib/router/routes/app");
26
34
  const _extractpathnamerouteparamsegmentsfromloadertree = require("../../build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree");
35
+ const _getsegmentparam = require("../../shared/lib/router/utils/get-segment-param");
27
36
  function createOpaqueFallbackRouteParams(fallbackRouteParams) {
28
37
  // If there are no fallback route params, we can return early.
29
38
  if (fallbackRouteParams.length === 0) return null;
@@ -42,6 +51,23 @@ function createOpaqueFallbackRouteParams(fallbackRouteParams) {
42
51
  }
43
52
  return keys;
44
53
  }
54
+ function buildDynamicSegmentPlaceholder(param) {
55
+ const { repeat, optional } = (0, _getsegmentparam.getParamProperties)(param.paramType);
56
+ if (optional) {
57
+ return `[[...${param.paramName}]]`;
58
+ }
59
+ if (repeat) {
60
+ return `[...${param.paramName}]`;
61
+ }
62
+ return `[${param.paramName}]`;
63
+ }
64
+ function getPlaceholderFallbackRouteParams(params, fallbackRouteParams) {
65
+ return fallbackRouteParams.filter((param)=>{
66
+ const placeholder = buildDynamicSegmentPlaceholder(param);
67
+ const value = params == null ? void 0 : params[param.paramName];
68
+ return value === placeholder || Array.isArray(value) && value.length === 1 && value[0] === placeholder;
69
+ });
70
+ }
45
71
  function getFallbackRouteParams(page, routeModule) {
46
72
  const route = (0, _app.parseAppRoute)(page, true);
47
73
  // Extract the pathname-contributing segments from the loader tree. This
@@ -115,9 +115,9 @@ class WrappedNextRouterError {
115
115
  }
116
116
  class AppRouteRouteModule extends _routemodule.RouteModule {
117
117
  static #_ = this.sharedModules = _sharedmodules;
118
- constructor({ userland, definition, distDir, relativeProjectDir, resolvedPagePath, nextConfigOutput }){
118
+ constructor({ userland, getUserland, definition, distDir, relativeProjectDir, resolvedPagePath, nextConfigOutput }){
119
119
  super({
120
- userland,
120
+ userland: userland,
121
121
  definition,
122
122
  distDir,
123
123
  relativeProjectDir
@@ -134,13 +134,14 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
134
134
  */ this.actionAsyncStorage = _actionasyncstorageexternal.actionAsyncStorage;
135
135
  this.resolvedPagePath = resolvedPagePath;
136
136
  this.nextConfigOutput = nextConfigOutput;
137
+ this._getUserland = getUserland;
137
138
  // Automatically implement some methods if they aren't implemented by the
138
139
  // userland module.
139
140
  this.methods = (0, _autoimplementmethods.autoImplementMethods)(userland);
140
141
  // Get the non-static methods for this route.
141
142
  this.hasNonStaticMethods = hasNonStaticMethods(userland);
142
143
  // Get the dynamic property from the userland module.
143
- this.dynamic = this.userland.dynamic;
144
+ this.dynamic = userland.dynamic;
144
145
  if (this.nextConfigOutput === 'export') {
145
146
  if (this.dynamic === 'force-dynamic') {
146
147
  throw Object.defineProperty(new Error(`export const dynamic = "force-dynamic" on page "${definition.pathname}" cannot be used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export`), "__NEXT_ERROR_CODE", {
@@ -191,8 +192,19 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
191
192
  if (!(0, _http.isHTTPMethod)(method)) return ()=>new Response(null, {
192
193
  status: 400
193
194
  });
194
- // Return the handler.
195
- return this.methods[method];
195
+ return (0, _autoimplementmethods.autoImplementMethods)(this.userland)[method];
196
+ }
197
+ /**
198
+ * Like resolve(), but re-fetches the userland module on every call via the
199
+ * async getter. Only used in Turbopack dev mode, where server HMR disposes
200
+ * modules between requests. The async wrapper also unwraps async-module
201
+ * Promises produced by ESM-only serverExternalPackages.
202
+ */ async resolveWithGetter(method, getUserland) {
203
+ if (!(0, _http.isHTTPMethod)(method)) return ()=>new Response(null, {
204
+ status: 400
205
+ });
206
+ const userland = await getUserland();
207
+ return (0, _autoimplementmethods.autoImplementMethods)(userland)[method];
196
208
  }
197
209
  async do(handler, actionStore, workStore, // @TODO refactor to not take this argument but instead construct the RequestStore
198
210
  // inside this function. Right now we get passed a RequestStore even when
@@ -501,13 +513,16 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
501
513
  return res;
502
514
  }
503
515
  async handle(req, context) {
504
- // Get the handler function for the given method.
505
- const handler = this.resolve(req.method);
516
+ // Get the handler function for the given method. In Turbopack dev mode,
517
+ // use resolveWithGetter() to re-fetch the live userland on every request
518
+ // In all other modes, resolve() is synchronous.
519
+ const handler = this._getUserland ? await this.resolveWithGetter(req.method, this._getUserland) : this.resolve(req.method);
506
520
  // Get the context for the static generation.
507
521
  const staticGenerationContext = {
508
522
  page: this.definition.page,
509
523
  renderOpts: context.renderOpts,
510
524
  buildId: context.sharedContext.buildId,
525
+ deploymentId: context.sharedContext.deploymentId,
511
526
  previouslyRevalidatedTags: []
512
527
  };
513
528
  // Add the fetchCache option to the renderOpts.
@@ -526,7 +541,7 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
526
541
  const response = await this.actionAsyncStorage.run(actionStore, ()=>this.workUnitAsyncStorage.run(requestStore, ()=>this.workAsyncStorage.run(workStore, async ()=>{
527
542
  // Check to see if we should bail out of static generation based on
528
543
  // having non-static methods.
529
- if (this.hasNonStaticMethods) {
544
+ if (hasNonStaticMethods(this.userland)) {
530
545
  if (workStore.isStaticGeneration) {
531
546
  const err = Object.defineProperty(new _hooksservercontext.DynamicServerError('Route is configured with methods that cannot be statically generated.'), "__NEXT_ERROR_CODE", {
532
547
  value: "E582",
@@ -542,7 +557,8 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
542
557
  // proxying it in certain circumstances based on execution type and configuration
543
558
  let request = req;
544
559
  // Update the static generation store based on the dynamic property.
545
- switch(this.dynamic){
560
+ const { dynamic } = this.userland;
561
+ switch(dynamic){
546
562
  case 'force-dynamic':
547
563
  {
548
564
  // Routes of generated paths should be dynamic
@@ -580,7 +596,7 @@ class AppRouteRouteModule extends _routemodule.RouteModule {
580
596
  request = proxyNextRequest(req, workStore);
581
597
  break;
582
598
  default:
583
- this.dynamic;
599
+ dynamic;
584
600
  }
585
601
  const tracer = (0, _tracer.getTracer)();
586
602
  // Update the root span attribute for the route.
@@ -21,6 +21,7 @@ const _apiutils = require("../api-utils");
21
21
  const _normalizedatapath = require("../../shared/lib/page-path/normalize-data-path");
22
22
  const _pathhasprefix = require("../../shared/lib/router/utils/path-has-prefix");
23
23
  const _requestmeta = require("../request-meta");
24
+ const _patchsetheader = require("../lib/patch-set-header");
24
25
  const _normalizepagepath = require("../../shared/lib/page-path/normalize-page-path");
25
26
  const _ismetadataroute = require("../../lib/metadata/is-metadata-route");
26
27
  const _incrementalcache = require("../lib/incremental-cache");
@@ -340,6 +341,9 @@ class RouteModule {
340
341
  let absoluteProjectDir;
341
342
  // edge runtime handles loading instrumentation at the edge adapter level
342
343
  if (process.env.NEXT_RUNTIME !== 'edge') {
344
+ if (res) {
345
+ (0, _patchsetheader.patchSetHeaderWithCookieSupport)(req, res);
346
+ }
343
347
  const { join, relative } = require('node:path');
344
348
  absoluteProjectDir = join(/* turbopackIgnore: true */ process.cwd(), (0, _requestmeta.getRequestMeta)(req, 'relativeProjectDir') || this.relativeProjectDir);
345
349
  const absoluteDistDir = (0, _requestmeta.getRequestMeta)(req, 'distDir');
@@ -478,7 +482,13 @@ class RouteModule {
478
482
  }
479
483
  }
480
484
  serverUtils.normalizeCdnUrl(req, combinedParamKeys);
481
- serverUtils.normalizeQueryParams(query, routeParamKeys);
485
+ // When Next is not hosted in a single process, upstream proxies will add query values for route params that were used to match the route.
486
+ // Outside of that environment, there is no reason to do any normalization to honor those query values.
487
+ if (!(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer)) {
488
+ serverUtils.normalizeQueryParams(query, routeParamKeys);
489
+ } else {
490
+ serverUtils.filterInternalQuery(query, []);
491
+ }
482
492
  serverUtils.filterInternalQuery(originalQuery, combinedParamKeys);
483
493
  if (pageIsDynamic) {
484
494
  const queryResult = serverUtils.normalizeDynamicRouteParams(query, true);
@@ -92,6 +92,23 @@ function interpolateDynamicPath(pathname, params, defaultRouteRegex) {
92
92
  return pathname;
93
93
  }
94
94
  function normalizeDynamicRouteParams(query, defaultRouteRegex, defaultRouteMatches, ignoreMissingOptional) {
95
+ const isDefaultValueMatch = (candidateValue, defaultValue)=>{
96
+ if (!candidateValue) {
97
+ return false;
98
+ }
99
+ let normalizedCandidateValue = (0, _apppaths.normalizeRscURL)(candidateValue);
100
+ for(let i = 0; i < 3; i++){
101
+ if (normalizedCandidateValue === defaultValue) {
102
+ return true;
103
+ }
104
+ const decodedCandidateValue = (0, _decodequerypathparameter.decodeQueryPathParameter)(normalizedCandidateValue);
105
+ if (decodedCandidateValue === normalizedCandidateValue) {
106
+ break;
107
+ }
108
+ normalizedCandidateValue = decodedCandidateValue;
109
+ }
110
+ return false;
111
+ };
95
112
  let hasValidParams = true;
96
113
  let params = {};
97
114
  for (const key of Object.keys(defaultRouteRegex.groups)){
@@ -107,8 +124,8 @@ function normalizeDynamicRouteParams(query, defaultRouteRegex, defaultRouteMatch
107
124
  const defaultValue = defaultRouteMatches[key];
108
125
  const isOptional = defaultRouteRegex.groups[key].optional;
109
126
  const isDefaultValue = Array.isArray(defaultValue) ? defaultValue.some((defaultVal)=>{
110
- return Array.isArray(value) ? value.some((val)=>val.includes(defaultVal)) : value == null ? void 0 : value.includes(defaultVal);
111
- }) : value == null ? void 0 : value.includes(defaultValue);
127
+ return Array.isArray(value) ? value.some((val)=>isDefaultValueMatch(val, defaultVal)) : isDefaultValueMatch(value, defaultVal);
128
+ }) : Array.isArray(value) ? value.some((val)=>isDefaultValueMatch(val, defaultValue)) : isDefaultValueMatch(value, defaultValue);
112
129
  if (isDefaultValue || typeof value === 'undefined' && !(isOptional && ignoreMissingOptional)) {
113
130
  return {
114
131
  params: {},
@@ -402,9 +402,9 @@ function createHeadInsertionTransformStream(insert) {
402
402
  }
403
403
  });
404
404
  }
405
- function createClientResumeScriptInsertionTransformStream() {
405
+ async function createClientResumeScriptInsertionTransformStream() {
406
406
  const segmentPath = '/_full';
407
- const cacheBustingHeader = (0, _cachebustingsearchparam.computeCacheBustingSearchParam)('1', '/_full', undefined, undefined // headers[NEXT_URL]
407
+ const cacheBustingHeader = await (0, _cachebustingsearchparam.computeCacheBustingSearchParam)('1', '/_full', undefined, undefined // headers[NEXT_URL]
408
408
  );
409
409
  const searchStr = `${_approuterheaders.NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`;
410
410
  const NEXT_CLIENT_RESUME_SCRIPT = `<script>__NEXT_CLIENT_RESUME=fetch(location.pathname+'?${searchStr}',{credentials:'same-origin',headers:{'${_approuterheaders.RSC_HEADER}': '1','${_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER}': '1','${_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER}': '${segmentPath}'}})</script>`;
@@ -442,7 +442,7 @@ function createClientResumeScriptInsertionTransformStream() {
442
442
  }
443
443
  });
444
444
  }
445
- function createInstantTestScriptInsertionTransformStream(requestId) {
445
+ async function createInstantTestScriptInsertionTransformStream(requestId) {
446
446
  // Kick off a fetch for the static RSC payload. This is the hydration
447
447
  // source for the locked static shell — same as the __NEXT_CLIENT_RESUME
448
448
  // fetch used for fallback routes, but with NEXT_INSTANT_PREFETCH_HEADER
@@ -452,7 +452,7 @@ function createInstantTestScriptInsertionTransformStream(requestId) {
452
452
  // as the feature flag (truthy = instant test mode). The client processes
453
453
  // this as a fallback prerender payload for hydration.
454
454
  const segmentPath = '/_full';
455
- const cacheBustingHeader = (0, _cachebustingsearchparam.computeCacheBustingSearchParam)('1', segmentPath, undefined, undefined);
455
+ const cacheBustingHeader = await (0, _cachebustingsearchparam.computeCacheBustingSearchParam)('1', segmentPath, undefined, undefined);
456
456
  const searchStr = `${_approuterheaders.NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`;
457
457
  // In dev mode, inject self.__next_r (request ID) so that HMR WebSocket
458
458
  // and debug channel initialization don't crash. The static shell
@@ -804,7 +804,7 @@ async function continueStaticFallbackPrerender(prerenderStream, { inlinedDataStr
804
804
  // Insert generated tags to head
805
805
  createHeadInsertionTransformStream(getServerInsertedHTML),
806
806
  // Insert the client resume script into the head
807
- createClientResumeScriptInsertionTransformStream(),
807
+ await createClientResumeScriptInsertionTransformStream(),
808
808
  // Transform metadata
809
809
  createMetadataTransformStream(getServerInsertedMetadata),
810
810
  // Insert the inlined data (Flight data, form state, etc.) stream into the HTML
@@ -842,7 +842,7 @@ async function cache(kind, id, boundArgsLength, originalFn, args) {
842
842
  // safely reuse the results across builds yet. In the meantime we add the buildId to the
843
843
  // arguments as a seed to ensure they're not reused. Remove this once Action IDs hash
844
844
  // the implementation.
845
- const buildId = workStore.buildId;
845
+ const buildId = workStore.deploymentId || workStore.buildId;
846
846
  // In dev mode, when the HMR refresh hash is set, we include it in the
847
847
  // cache key. This ensures that cache entries are not reused when server
848
848
  // components have been edited. This is a very coarse approach. But it's
@@ -41,6 +41,7 @@ const _webonclose = require("./web-on-close");
41
41
  const _getedgepreviewprops = require("./get-edge-preview-props");
42
42
  const _builtinrequestcontext = require("../after/builtin-request-context");
43
43
  const _implicittags = require("../lib/implicit-tags");
44
+ const _isrscrequest = require("../lib/is-rsc-request");
44
45
  const _requestmeta = require("../request-meta");
45
46
  class NextRequestHint extends _request.NextRequest {
46
47
  constructor(params){
@@ -128,9 +129,10 @@ async function adapter(params) {
128
129
  buildId = requestURL.buildId || '';
129
130
  requestURL.buildId = '';
130
131
  }
132
+ let deploymentId = process.env.NEXT_DEPLOYMENT_ID;
131
133
  const requestHeaders = (0, _utils.fromNodeOutgoingHttpHeaders)(params.request.headers);
132
134
  const isNextDataRequest = requestHeaders.has('x-nextjs-data');
133
- const isRSCRequest = requestHeaders.get(_approuterheaders.RSC_HEADER) === '1';
135
+ const isRSCRequest = (0, _isrscrequest.isRSCRequestHeader)(requestHeaders.get(_approuterheaders.RSC_HEADER));
134
136
  if (isNextDataRequest && requestURL.pathname === '/index') {
135
137
  requestURL.pathname = '/';
136
138
  }
@@ -249,6 +251,7 @@ async function adapter(params) {
249
251
  },
250
252
  isPrefetchRequest: request.headers.get(_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER) === '1',
251
253
  buildId: buildId ?? '',
254
+ deploymentId: deploymentId ?? '',
252
255
  previouslyRevalidatedTags: []
253
256
  });
254
257
  return await _workasyncstorageexternal.workAsyncStorage.run(workStore, ()=>_workunitasyncstorageexternal.workUnitAsyncStorage.run(requestStore, params.handler, request, event));
@@ -90,7 +90,8 @@ class EdgeRouteModuleWrapper {
90
90
  cacheLifeProfiles: nextConfig.cacheLife
91
91
  },
92
92
  sharedContext: {
93
- buildId: ''
93
+ buildId: '',
94
+ deploymentId: ''
94
95
  }
95
96
  };
96
97
  // Get the response from the handler.
@@ -21,7 +21,7 @@ _export(exports, {
21
21
  }
22
22
  });
23
23
  function isStableBuild() {
24
- return !"16.2.0"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
24
+ return !"16.2.6"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
25
25
  }
26
26
  class CanaryOnlyConfigError extends Error {
27
27
  constructor(arg){
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  0 && (module.exports = {
8
8
  ESCAPE_REGEX: null,
9
+ htmlEscapeAttributeString: null,
9
10
  htmlEscapeJsonString: null
10
11
  });
11
12
  function _export(target, all) {
@@ -18,6 +19,9 @@ _export(exports, {
18
19
  ESCAPE_REGEX: function() {
19
20
  return ESCAPE_REGEX;
20
21
  },
22
+ htmlEscapeAttributeString: function() {
23
+ return htmlEscapeAttributeString;
24
+ },
21
25
  htmlEscapeJsonString: function() {
22
26
  return htmlEscapeJsonString;
23
27
  }
@@ -30,8 +34,19 @@ const ESCAPE_LOOKUP = {
30
34
  '\u2029': '\\u2029'
31
35
  };
32
36
  const ESCAPE_REGEX = /[&><\u2028\u2029]/g;
37
+ const ATTRIBUTE_ESCAPE_LOOKUP = {
38
+ '&': '&amp;',
39
+ '"': '&quot;',
40
+ "'": '&#39;',
41
+ '<': '&lt;',
42
+ '>': '&gt;'
43
+ };
44
+ const ATTRIBUTE_ESCAPE_REGEX = /[&"'<>]/g;
33
45
  function htmlEscapeJsonString(str) {
34
46
  return str.replace(ESCAPE_REGEX, (match)=>ESCAPE_LOOKUP[match]);
35
47
  }
48
+ function htmlEscapeAttributeString(str) {
49
+ return str.replace(ATTRIBUTE_ESCAPE_REGEX, (match)=>ATTRIBUTE_ESCAPE_LOOKUP[match]);
50
+ }
36
51
 
37
52
  //# sourceMappingURL=htmlescape.js.map
@@ -31,6 +31,17 @@ _export(exports, {
31
31
  const _invarianterror = require("../../invariant-error");
32
32
  const _getsegmentparam = require("../utils/get-segment-param");
33
33
  const _interceptionroutes = require("../utils/interception-routes");
34
+ function normalizeEncodedDynamicPlaceholder(segment) {
35
+ if (!/%5b|%5d/i.test(segment)) {
36
+ return segment;
37
+ }
38
+ try {
39
+ const decodedSegment = decodeURIComponent(segment);
40
+ return (0, _getsegmentparam.getSegmentParam)(decodedSegment) ? decodedSegment : segment;
41
+ } catch {
42
+ return segment;
43
+ }
44
+ }
34
45
  function parseAppRouteSegment(segment) {
35
46
  if (segment === '') {
36
47
  return null;
@@ -80,8 +91,9 @@ function parseAppRoute(pathname, normalized) {
80
91
  let interceptingRoute;
81
92
  let interceptedRoute;
82
93
  for (const segment of pathnameSegments){
94
+ const normalizedSegment = normalizeEncodedDynamicPlaceholder(segment);
83
95
  // Parse the segment into an AppSegment.
84
- const appSegment = parseAppRouteSegment(segment);
96
+ const appSegment = parseAppRouteSegment(normalizedSegment);
85
97
  if (!appSegment) {
86
98
  continue;
87
99
  }
@@ -2,23 +2,69 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- Object.defineProperty(exports, "computeCacheBustingSearchParam", {
6
- enumerable: true,
7
- get: function() {
5
+ 0 && (module.exports = {
6
+ computeCacheBustingSearchParam: null,
7
+ computeLegacyCacheBustingSearchParam: null
8
+ });
9
+ function _export(target, all) {
10
+ for(var name in all)Object.defineProperty(target, name, {
11
+ enumerable: true,
12
+ get: all[name]
13
+ });
14
+ }
15
+ _export(exports, {
16
+ computeCacheBustingSearchParam: function() {
8
17
  return computeCacheBustingSearchParam;
18
+ },
19
+ computeLegacyCacheBustingSearchParam: function() {
20
+ return computeLegacyCacheBustingSearchParam;
9
21
  }
10
22
  });
11
23
  const _hash = require("../../hash");
12
- function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {
24
+ const CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES = 12;
25
+ const textEncoder = new TextEncoder();
26
+ function encodeCacheBustingSearchParam(bytes) {
27
+ let binary = '';
28
+ for(let i = 0; i < bytes.length; i++){
29
+ binary += String.fromCharCode(bytes[i]);
30
+ }
31
+ return btoa(binary).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
32
+ }
33
+ function normalizeCacheBustingInput(value) {
34
+ if (value === undefined) {
35
+ return '0';
36
+ }
37
+ return Array.isArray(value) ? value.join(',') : value;
38
+ }
39
+ function createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {
13
40
  if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) {
41
+ return null;
42
+ }
43
+ return [
44
+ prefetchHeader ?? '0',
45
+ normalizeCacheBustingInput(segmentPrefetchHeader),
46
+ normalizeCacheBustingInput(stateTreeHeader),
47
+ normalizeCacheBustingInput(nextUrlHeader)
48
+ ].join(',');
49
+ }
50
+ async function computeCacheBustingSearchParamFromInput(input) {
51
+ // Truncate SHA-256 to 96 bits to keep `_rsc` compact
52
+ const digest = await globalThis.crypto.subtle.digest('SHA-256', textEncoder.encode(input));
53
+ return encodeCacheBustingSearchParam(new Uint8Array(digest).subarray(0, CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES));
54
+ }
55
+ async function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {
56
+ const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);
57
+ if (input === null) {
58
+ return '';
59
+ }
60
+ return computeCacheBustingSearchParamFromInput(input);
61
+ }
62
+ function computeLegacyCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {
63
+ const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);
64
+ if (input === null) {
14
65
  return '';
15
66
  }
16
- return (0, _hash.hexHash)([
17
- prefetchHeader || '0',
18
- segmentPrefetchHeader || '0',
19
- stateTreeHeader || '0',
20
- nextUrlHeader || '0'
21
- ].join(','));
67
+ return (0, _hash.hexHash)(input);
22
68
  }
23
69
 
24
70
  //# sourceMappingURL=cache-busting-search-param.js.map
@@ -81,7 +81,7 @@ function getAnonymousMeta() {
81
81
  isWsl: _iswsl.default,
82
82
  isCI: _ciinfo.isCI,
83
83
  ciName: _ciinfo.isCI && _ciinfo.name || null,
84
- nextVersion: "16.2.0"
84
+ nextVersion: "16.2.6"
85
85
  };
86
86
  return traits;
87
87
  }
@@ -38,7 +38,7 @@ async function eventSwcLoadFailure(event) {
38
38
  telemetry.record({
39
39
  eventName: EVENT_PLUGIN_PRESENT,
40
40
  payload: {
41
- nextVersion: "16.2.0",
41
+ nextVersion: "16.2.6",
42
42
  glibcVersion,
43
43
  installedSwcPackages,
44
44
  arch: process.arch,
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
12
12
  function eventCliSession(nextConfig, event) {
13
13
  var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "16.2.0" !== 'string') {
15
+ if (typeof "16.2.6" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "16.2.0",
20
+ nextVersion: "16.2.6",
21
21
  nodeVersion: process.version,
22
22
  cliCommand: event.cliCommand,
23
23
  isSrcDir: event.isSrcDir,