@hesed/webui 0.2.0 → 0.2.5

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 (1141) hide show
  1. package/README.md +2 -2
  2. package/dist/lib/server.js +10 -4
  3. package/oclif.manifest.json +1 -1
  4. package/package.json +5 -10
  5. package/web/.next/standalone/node_modules/@img/colour/color.cjs +1596 -0
  6. package/web/.next/standalone/node_modules/@img/colour/index.cjs +1 -0
  7. package/web/.next/standalone/node_modules/@img/colour/package.json +58 -0
  8. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +46 -0
  9. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  10. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +1 -0
  11. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  12. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +42 -0
  13. package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +30 -0
  14. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
  15. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  16. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  17. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  18. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  19. package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  20. package/web/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  21. package/web/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +46 -0
  22. package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  23. package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  24. package/web/.next/standalone/node_modules/@next/env/dist/index.js +1 -0
  25. package/web/.next/standalone/node_modules/@next/env/package.json +36 -0
  26. package/web/.next/standalone/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  27. package/web/.next/standalone/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  28. package/web/.next/standalone/node_modules/@swc/helpers/package.json +471 -0
  29. package/web/.next/standalone/node_modules/client-only/index.js +0 -0
  30. package/web/.next/standalone/node_modules/client-only/package.json +19 -0
  31. package/web/.next/standalone/node_modules/detect-libc/lib/detect-libc.js +313 -0
  32. package/web/.next/standalone/node_modules/detect-libc/lib/elf.js +39 -0
  33. package/web/.next/standalone/node_modules/detect-libc/lib/filesystem.js +51 -0
  34. package/web/.next/standalone/node_modules/detect-libc/lib/process.js +24 -0
  35. package/web/.next/standalone/node_modules/detect-libc/package.json +44 -0
  36. package/web/.next/standalone/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
  37. package/web/.next/standalone/node_modules/next/dist/build/define-env.js +255 -0
  38. package/web/.next/standalone/node_modules/next/dist/build/duration-to-string.js +99 -0
  39. package/web/.next/standalone/node_modules/next/dist/build/get-supported-browsers.js +38 -0
  40. package/web/.next/standalone/node_modules/next/dist/build/next-config-ts/require-hook.js +85 -0
  41. package/web/.next/standalone/node_modules/next/dist/build/next-config-ts/transpile-config.js +251 -0
  42. package/web/.next/standalone/node_modules/next/dist/build/output/format.js +84 -0
  43. package/web/.next/standalone/node_modules/next/dist/build/output/log.js +135 -0
  44. package/web/.next/standalone/node_modules/next/dist/build/segment-config/app/app-segment-config.js +162 -0
  45. package/web/.next/standalone/node_modules/next/dist/build/segment-config/app/app-segments.js +137 -0
  46. package/web/.next/standalone/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +52 -0
  47. package/web/.next/standalone/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +137 -0
  48. package/web/.next/standalone/node_modules/next/dist/build/static-paths/app.js +736 -0
  49. package/web/.next/standalone/node_modules/next/dist/build/static-paths/pages.js +169 -0
  50. package/web/.next/standalone/node_modules/next/dist/build/static-paths/utils.js +119 -0
  51. package/web/.next/standalone/node_modules/next/dist/build/swc/helpers.js +15 -0
  52. package/web/.next/standalone/node_modules/next/dist/build/swc/index.js +1348 -0
  53. package/web/.next/standalone/node_modules/next/dist/build/swc/install-bindings.js +30 -0
  54. package/web/.next/standalone/node_modules/next/dist/build/swc/jest-transformer.js +76 -0
  55. package/web/.next/standalone/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
  56. package/web/.next/standalone/node_modules/next/dist/build/swc/options.js +403 -0
  57. package/web/.next/standalone/node_modules/next/dist/build/swc/types.js +6 -0
  58. package/web/.next/standalone/node_modules/next/dist/build/utils.js +1216 -0
  59. package/web/.next/standalone/node_modules/next/dist/cli/next-test.js +170 -0
  60. package/web/.next/standalone/node_modules/next/dist/client/add-base-path.js +24 -0
  61. package/web/.next/standalone/node_modules/next/dist/client/app-call-server.js +34 -0
  62. package/web/.next/standalone/node_modules/next/dist/client/app-find-source-map-url.js +39 -0
  63. package/web/.next/standalone/node_modules/next/dist/client/assign-location.js +29 -0
  64. package/web/.next/standalone/node_modules/next/dist/client/components/app-router-announcer.js +78 -0
  65. package/web/.next/standalone/node_modules/next/dist/client/components/app-router-headers.js +138 -0
  66. package/web/.next/standalone/node_modules/next/dist/client/components/app-router-instance.js +397 -0
  67. package/web/.next/standalone/node_modules/next/dist/client/components/app-router-utils.js +62 -0
  68. package/web/.next/standalone/node_modules/next/dist/client/components/app-router.js +514 -0
  69. package/web/.next/standalone/node_modules/next/dist/client/components/builtin/default.js +35 -0
  70. package/web/.next/standalone/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
  71. package/web/.next/standalone/node_modules/next/dist/client/components/builtin/global-error.js +100 -0
  72. package/web/.next/standalone/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +52 -0
  73. package/web/.next/standalone/node_modules/next/dist/client/components/error-boundary.js +144 -0
  74. package/web/.next/standalone/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
  75. package/web/.next/standalone/node_modules/next/dist/client/components/errors/root-error-boundary.js +41 -0
  76. package/web/.next/standalone/node_modules/next/dist/client/components/forbidden.js +48 -0
  77. package/web/.next/standalone/node_modules/next/dist/client/components/handle-isr-error.js +30 -0
  78. package/web/.next/standalone/node_modules/next/dist/client/components/hooks-server-context.js +42 -0
  79. package/web/.next/standalone/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
  80. package/web/.next/standalone/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
  81. package/web/.next/standalone/node_modules/next/dist/client/components/is-next-router-error.js +23 -0
  82. package/web/.next/standalone/node_modules/next/dist/client/components/links.js +299 -0
  83. package/web/.next/standalone/node_modules/next/dist/client/components/match-segments.js +32 -0
  84. package/web/.next/standalone/node_modules/next/dist/client/components/nav-failure-handler.js +61 -0
  85. package/web/.next/standalone/node_modules/next/dist/client/components/navigation-devtools.js +126 -0
  86. package/web/.next/standalone/node_modules/next/dist/client/components/navigation-untracked.js +67 -0
  87. package/web/.next/standalone/node_modules/next/dist/client/components/navigation.js +225 -0
  88. package/web/.next/standalone/node_modules/next/dist/client/components/navigation.react-server.js +75 -0
  89. package/web/.next/standalone/node_modules/next/dist/client/components/not-found.js +42 -0
  90. package/web/.next/standalone/node_modules/next/dist/client/components/readonly-url-search-params.js +41 -0
  91. package/web/.next/standalone/node_modules/next/dist/client/components/redirect-boundary.js +107 -0
  92. package/web/.next/standalone/node_modules/next/dist/client/components/redirect-error.js +43 -0
  93. package/web/.next/standalone/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
  94. package/web/.next/standalone/node_modules/next/dist/client/components/redirect.js +91 -0
  95. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +201 -0
  96. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
  97. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +153 -0
  98. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +32 -0
  99. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +457 -0
  100. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +59 -0
  101. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +1341 -0
  102. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
  103. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +63 -0
  104. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
  105. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +23 -0
  106. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +56 -0
  107. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +83 -0
  108. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +62 -0
  109. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +320 -0
  110. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +58 -0
  111. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +70 -0
  112. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/router-reducer.js +66 -0
  113. package/web/.next/standalone/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +66 -0
  114. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
  115. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/cache-key.js +28 -0
  116. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/cache-map.js +305 -0
  117. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/cache.js +1933 -0
  118. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/lru.js +152 -0
  119. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
  120. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/navigation.js +597 -0
  121. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
  122. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/prefetch.js +31 -0
  123. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/scheduler.js +1249 -0
  124. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/types.js +69 -0
  125. package/web/.next/standalone/node_modules/next/dist/client/components/segment-cache/vary-path.js +278 -0
  126. package/web/.next/standalone/node_modules/next/dist/client/components/static-generation-bailout.js +42 -0
  127. package/web/.next/standalone/node_modules/next/dist/client/components/unauthorized.js +49 -0
  128. package/web/.next/standalone/node_modules/next/dist/client/components/unrecognized-action-error.js +39 -0
  129. package/web/.next/standalone/node_modules/next/dist/client/components/unresolved-thenable.js +23 -0
  130. package/web/.next/standalone/node_modules/next/dist/client/components/unstable-rethrow.browser.js +28 -0
  131. package/web/.next/standalone/node_modules/next/dist/client/components/unstable-rethrow.js +25 -0
  132. package/web/.next/standalone/node_modules/next/dist/client/components/unstable-rethrow.server.js +32 -0
  133. package/web/.next/standalone/node_modules/next/dist/client/components/use-action-queue.js +148 -0
  134. package/web/.next/standalone/node_modules/next/dist/client/dev/debug-channel.js +172 -0
  135. package/web/.next/standalone/node_modules/next/dist/client/flight-data-helpers.js +232 -0
  136. package/web/.next/standalone/node_modules/next/dist/client/has-base-path.js +23 -0
  137. package/web/.next/standalone/node_modules/next/dist/client/lib/console.js +177 -0
  138. package/web/.next/standalone/node_modules/next/dist/client/lib/javascript-url.js +32 -0
  139. package/web/.next/standalone/node_modules/next/dist/client/navigation-build-id.js +53 -0
  140. package/web/.next/standalone/node_modules/next/dist/client/normalize-trailing-slash.js +36 -0
  141. package/web/.next/standalone/node_modules/next/dist/client/remove-base-path.js +32 -0
  142. package/web/.next/standalone/node_modules/next/dist/client/route-params.js +247 -0
  143. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
  144. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
  145. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
  146. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
  147. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
  148. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
  149. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
  150. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
  151. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
  152. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
  153. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
  154. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
  155. package/web/.next/standalone/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
  156. package/web/.next/standalone/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
  157. package/web/.next/standalone/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
  158. package/web/.next/standalone/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
  159. package/web/.next/standalone/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
  160. package/web/.next/standalone/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
  161. package/web/.next/standalone/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
  162. package/web/.next/standalone/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
  163. package/web/.next/standalone/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
  164. package/web/.next/standalone/node_modules/next/dist/compiled/async-retry/index.js +1 -0
  165. package/web/.next/standalone/node_modules/next/dist/compiled/async-retry/package.json +1 -0
  166. package/web/.next/standalone/node_modules/next/dist/compiled/async-sema/index.js +1 -0
  167. package/web/.next/standalone/node_modules/next/dist/compiled/async-sema/package.json +1 -0
  168. package/web/.next/standalone/node_modules/next/dist/compiled/busboy/index.js +1 -0
  169. package/web/.next/standalone/node_modules/next/dist/compiled/busboy/package.json +1 -0
  170. package/web/.next/standalone/node_modules/next/dist/compiled/bytes/index.js +8 -0
  171. package/web/.next/standalone/node_modules/next/dist/compiled/bytes/package.json +1 -0
  172. package/web/.next/standalone/node_modules/next/dist/compiled/ci-info/index.js +1 -0
  173. package/web/.next/standalone/node_modules/next/dist/compiled/ci-info/package.json +1 -0
  174. package/web/.next/standalone/node_modules/next/dist/compiled/commander/index.js +1 -0
  175. package/web/.next/standalone/node_modules/next/dist/compiled/commander/package.json +1 -0
  176. package/web/.next/standalone/node_modules/next/dist/compiled/comment-json/index.js +7 -0
  177. package/web/.next/standalone/node_modules/next/dist/compiled/comment-json/package.json +1 -0
  178. package/web/.next/standalone/node_modules/next/dist/compiled/compression/index.js +58 -0
  179. package/web/.next/standalone/node_modules/next/dist/compiled/compression/package.json +1 -0
  180. package/web/.next/standalone/node_modules/next/dist/compiled/conf/index.js +15 -0
  181. package/web/.next/standalone/node_modules/next/dist/compiled/conf/package.json +1 -0
  182. package/web/.next/standalone/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
  183. package/web/.next/standalone/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
  184. package/web/.next/standalone/node_modules/next/dist/compiled/cookie/index.js +7 -0
  185. package/web/.next/standalone/node_modules/next/dist/compiled/cookie/package.json +1 -0
  186. package/web/.next/standalone/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
  187. package/web/.next/standalone/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
  188. package/web/.next/standalone/node_modules/next/dist/compiled/debug/index.js +1 -0
  189. package/web/.next/standalone/node_modules/next/dist/compiled/debug/package.json +1 -0
  190. package/web/.next/standalone/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
  191. package/web/.next/standalone/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
  192. package/web/.next/standalone/node_modules/next/dist/compiled/find-up/index.js +1 -0
  193. package/web/.next/standalone/node_modules/next/dist/compiled/find-up/package.json +1 -0
  194. package/web/.next/standalone/node_modules/next/dist/compiled/fresh/index.js +8 -0
  195. package/web/.next/standalone/node_modules/next/dist/compiled/fresh/package.json +1 -0
  196. package/web/.next/standalone/node_modules/next/dist/compiled/http-proxy/index.js +34 -0
  197. package/web/.next/standalone/node_modules/next/dist/compiled/http-proxy/package.json +1 -0
  198. package/web/.next/standalone/node_modules/next/dist/compiled/image-detector/detector.js +1 -0
  199. package/web/.next/standalone/node_modules/next/dist/compiled/image-size/index.js +1 -0
  200. package/web/.next/standalone/node_modules/next/dist/compiled/image-size/package.json +1 -0
  201. package/web/.next/standalone/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
  202. package/web/.next/standalone/node_modules/next/dist/compiled/ipaddr.js/package.json +1 -0
  203. package/web/.next/standalone/node_modules/next/dist/compiled/is-animated/index.js +1 -0
  204. package/web/.next/standalone/node_modules/next/dist/compiled/is-animated/package.json +1 -0
  205. package/web/.next/standalone/node_modules/next/dist/compiled/is-docker/index.js +1 -0
  206. package/web/.next/standalone/node_modules/next/dist/compiled/is-docker/package.json +1 -0
  207. package/web/.next/standalone/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
  208. package/web/.next/standalone/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
  209. package/web/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
  210. package/web/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
  211. package/web/.next/standalone/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
  212. package/web/.next/standalone/node_modules/next/dist/compiled/nanoid/package.json +1 -0
  213. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +54 -0
  214. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +54 -0
  215. package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
  216. package/web/.next/standalone/node_modules/next/dist/compiled/p-limit/index.js +1 -0
  217. package/web/.next/standalone/node_modules/next/dist/compiled/p-limit/package.json +1 -0
  218. package/web/.next/standalone/node_modules/next/dist/compiled/p-queue/index.js +1 -0
  219. package/web/.next/standalone/node_modules/next/dist/compiled/p-queue/package.json +1 -0
  220. package/web/.next/standalone/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
  221. package/web/.next/standalone/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
  222. package/web/.next/standalone/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -0
  223. package/web/.next/standalone/node_modules/next/dist/compiled/path-to-regexp/package.json +1 -0
  224. package/web/.next/standalone/node_modules/next/dist/compiled/picomatch/index.js +1 -0
  225. package/web/.next/standalone/node_modules/next/dist/compiled/picomatch/package.json +1 -0
  226. package/web/.next/standalone/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
  227. package/web/.next/standalone/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
  228. package/web/.next/standalone/node_modules/next/dist/compiled/react-is/index.js +7 -0
  229. package/web/.next/standalone/node_modules/next/dist/compiled/react-is/package.json +26 -0
  230. package/web/.next/standalone/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
  231. package/web/.next/standalone/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
  232. package/web/.next/standalone/node_modules/next/dist/compiled/semver/index.js +1 -0
  233. package/web/.next/standalone/node_modules/next/dist/compiled/semver/package.json +1 -0
  234. package/web/.next/standalone/node_modules/next/dist/compiled/send/index.js +70 -0
  235. package/web/.next/standalone/node_modules/next/dist/compiled/send/package.json +1 -0
  236. package/web/.next/standalone/node_modules/next/dist/compiled/source-map/package.json +1 -0
  237. package/web/.next/standalone/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
  238. package/web/.next/standalone/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
  239. package/web/.next/standalone/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
  240. package/web/.next/standalone/node_modules/next/dist/compiled/string-hash/index.js +1 -0
  241. package/web/.next/standalone/node_modules/next/dist/compiled/string-hash/package.json +1 -0
  242. package/web/.next/standalone/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
  243. package/web/.next/standalone/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
  244. package/web/.next/standalone/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
  245. package/web/.next/standalone/node_modules/next/dist/compiled/superstruct/package.json +1 -0
  246. package/web/.next/standalone/node_modules/next/dist/compiled/tar/index.min.js +1 -0
  247. package/web/.next/standalone/node_modules/next/dist/compiled/tar/package.json +1 -0
  248. package/web/.next/standalone/node_modules/next/dist/compiled/text-table/index.js +1 -0
  249. package/web/.next/standalone/node_modules/next/dist/compiled/text-table/package.json +1 -0
  250. package/web/.next/standalone/node_modules/next/dist/compiled/watchpack/package.json +1 -0
  251. package/web/.next/standalone/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
  252. package/web/.next/standalone/node_modules/next/dist/compiled/ws/index.js +1 -0
  253. package/web/.next/standalone/node_modules/next/dist/compiled/ws/package.json +1 -0
  254. package/web/.next/standalone/node_modules/next/dist/compiled/zod/index.cjs +1 -0
  255. package/web/.next/standalone/node_modules/next/dist/compiled/zod/package.json +1 -0
  256. package/web/.next/standalone/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -0
  257. package/web/.next/standalone/node_modules/next/dist/compiled/zod-validation-error/package.json +1 -0
  258. package/web/.next/standalone/node_modules/next/dist/experimental/testmode/context.js +57 -0
  259. package/web/.next/standalone/node_modules/next/dist/experimental/testmode/fetch.js +142 -0
  260. package/web/.next/standalone/node_modules/next/dist/experimental/testmode/httpget.js +26 -0
  261. package/web/.next/standalone/node_modules/next/dist/experimental/testmode/server-edge.js +32 -0
  262. package/web/.next/standalone/node_modules/next/dist/experimental/testmode/server.js +62 -0
  263. package/web/.next/standalone/node_modules/next/dist/export/helpers/create-incremental-cache.js +61 -0
  264. package/web/.next/standalone/node_modules/next/dist/lib/batcher.js +65 -0
  265. package/web/.next/standalone/node_modules/next/dist/lib/build-custom-route.js +46 -0
  266. package/web/.next/standalone/node_modules/next/dist/lib/bundler.js +97 -0
  267. package/web/.next/standalone/node_modules/next/dist/lib/client-and-server-references.js +54 -0
  268. package/web/.next/standalone/node_modules/next/dist/lib/coalesced-function.js +39 -0
  269. package/web/.next/standalone/node_modules/next/dist/lib/compile-error.js +14 -0
  270. package/web/.next/standalone/node_modules/next/dist/lib/constants.js +420 -0
  271. package/web/.next/standalone/node_modules/next/dist/lib/create-client-router-filter.js +67 -0
  272. package/web/.next/standalone/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
  273. package/web/.next/standalone/node_modules/next/dist/lib/detached-promise.js +32 -0
  274. package/web/.next/standalone/node_modules/next/dist/lib/detect-typo.js +51 -0
  275. package/web/.next/standalone/node_modules/next/dist/lib/download-swc.js +183 -0
  276. package/web/.next/standalone/node_modules/next/dist/lib/error-telemetry-utils.js +42 -0
  277. package/web/.next/standalone/node_modules/next/dist/lib/fallback.js +100 -0
  278. package/web/.next/standalone/node_modules/next/dist/lib/fatal-error.js +14 -0
  279. package/web/.next/standalone/node_modules/next/dist/lib/file-exists.js +53 -0
  280. package/web/.next/standalone/node_modules/next/dist/lib/find-config.js +102 -0
  281. package/web/.next/standalone/node_modules/next/dist/lib/find-pages-dir.js +65 -0
  282. package/web/.next/standalone/node_modules/next/dist/lib/find-root.js +126 -0
  283. package/web/.next/standalone/node_modules/next/dist/lib/format-cli-help-output.js +84 -0
  284. package/web/.next/standalone/node_modules/next/dist/lib/format-dynamic-import-path.js +24 -0
  285. package/web/.next/standalone/node_modules/next/dist/lib/format-server-error.js +75 -0
  286. package/web/.next/standalone/node_modules/next/dist/lib/framework/boundary-components.js +62 -0
  287. package/web/.next/standalone/node_modules/next/dist/lib/framework/boundary-constants.js +36 -0
  288. package/web/.next/standalone/node_modules/next/dist/lib/fs/rename.js +87 -0
  289. package/web/.next/standalone/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
  290. package/web/.next/standalone/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +52 -0
  291. package/web/.next/standalone/node_modules/next/dist/lib/get-files-in-dir.js +33 -0
  292. package/web/.next/standalone/node_modules/next/dist/lib/get-network-host.js +44 -0
  293. package/web/.next/standalone/node_modules/next/dist/lib/get-package-version.js +118 -0
  294. package/web/.next/standalone/node_modules/next/dist/lib/get-project-dir.js +51 -0
  295. package/web/.next/standalone/node_modules/next/dist/lib/has-necessary-dependencies.js +49 -0
  296. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-cache-directory.js +66 -0
  297. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-npx-command.js +29 -0
  298. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-online.js +50 -0
  299. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-pkg-manager.js +63 -0
  300. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-registry.js +45 -0
  301. package/web/.next/standalone/node_modules/next/dist/lib/helpers/get-reserved-port.js +116 -0
  302. package/web/.next/standalone/node_modules/next/dist/lib/helpers/install.js +83 -0
  303. package/web/.next/standalone/node_modules/next/dist/lib/import-next-warning.js +50 -0
  304. package/web/.next/standalone/node_modules/next/dist/lib/inline-static-env.js +112 -0
  305. package/web/.next/standalone/node_modules/next/dist/lib/install-dependencies.js +40 -0
  306. package/web/.next/standalone/node_modules/next/dist/lib/interop-default.js +16 -0
  307. package/web/.next/standalone/node_modules/next/dist/lib/is-api-route.js +15 -0
  308. package/web/.next/standalone/node_modules/next/dist/lib/is-app-page-route.js +15 -0
  309. package/web/.next/standalone/node_modules/next/dist/lib/is-app-route-route.js +15 -0
  310. package/web/.next/standalone/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
  311. package/web/.next/standalone/node_modules/next/dist/lib/is-error.js +78 -0
  312. package/web/.next/standalone/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
  313. package/web/.next/standalone/node_modules/next/dist/lib/is-internal-component.js +36 -0
  314. package/web/.next/standalone/node_modules/next/dist/lib/is-serializable-props.js +106 -0
  315. package/web/.next/standalone/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
  316. package/web/.next/standalone/node_modules/next/dist/lib/load-custom-routes.js +594 -0
  317. package/web/.next/standalone/node_modules/next/dist/lib/memory/gc-observer.js +53 -0
  318. package/web/.next/standalone/node_modules/next/dist/lib/memory/shutdown.js +29 -0
  319. package/web/.next/standalone/node_modules/next/dist/lib/memory/startup.js +47 -0
  320. package/web/.next/standalone/node_modules/next/dist/lib/memory/trace.js +109 -0
  321. package/web/.next/standalone/node_modules/next/dist/lib/metadata/constants.js +40 -0
  322. package/web/.next/standalone/node_modules/next/dist/lib/metadata/default-metadata.js +82 -0
  323. package/web/.next/standalone/node_modules/next/dist/lib/metadata/generate/icon-mark.js +22 -0
  324. package/web/.next/standalone/node_modules/next/dist/lib/metadata/generate/utils.js +52 -0
  325. package/web/.next/standalone/node_modules/next/dist/lib/metadata/get-metadata-route.js +123 -0
  326. package/web/.next/standalone/node_modules/next/dist/lib/metadata/is-metadata-route.js +221 -0
  327. package/web/.next/standalone/node_modules/next/dist/lib/metadata/metadata-context.js +18 -0
  328. package/web/.next/standalone/node_modules/next/dist/lib/metadata/metadata.js +1686 -0
  329. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolve-metadata.js +884 -0
  330. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
  331. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
  332. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
  333. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
  334. package/web/.next/standalone/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
  335. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
  336. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/extra-types.js +9 -0
  337. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/icons.js +6 -0
  338. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/manifest-types.js +6 -0
  339. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/metadata-interface.js +18 -0
  340. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/metadata-types.js +10 -0
  341. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/opengraph-types.js +6 -0
  342. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/resolvers.js +6 -0
  343. package/web/.next/standalone/node_modules/next/dist/lib/metadata/types/twitter-types.js +7 -0
  344. package/web/.next/standalone/node_modules/next/dist/lib/mime-type.js +20 -0
  345. package/web/.next/standalone/node_modules/next/dist/lib/mkcert.js +204 -0
  346. package/web/.next/standalone/node_modules/next/dist/lib/multi-file-writer.js +75 -0
  347. package/web/.next/standalone/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
  348. package/web/.next/standalone/node_modules/next/dist/lib/non-nullable.js +15 -0
  349. package/web/.next/standalone/node_modules/next/dist/lib/normalize-path.js +21 -0
  350. package/web/.next/standalone/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
  351. package/web/.next/standalone/node_modules/next/dist/lib/page-types.js +18 -0
  352. package/web/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +185 -0
  353. package/web/.next/standalone/node_modules/next/dist/lib/pick.js +19 -0
  354. package/web/.next/standalone/node_modules/next/dist/lib/picocolors.js +177 -0
  355. package/web/.next/standalone/node_modules/next/dist/lib/pretty-bytes.js +74 -0
  356. package/web/.next/standalone/node_modules/next/dist/lib/realpath.js +20 -0
  357. package/web/.next/standalone/node_modules/next/dist/lib/recursive-copy.js +76 -0
  358. package/web/.next/standalone/node_modules/next/dist/lib/recursive-delete.js +137 -0
  359. package/web/.next/standalone/node_modules/next/dist/lib/recursive-readdir.js +124 -0
  360. package/web/.next/standalone/node_modules/next/dist/lib/redirect-status.js +46 -0
  361. package/web/.next/standalone/node_modules/next/dist/lib/require-instrumentation-client.js +26 -0
  362. package/web/.next/standalone/node_modules/next/dist/lib/resolve-build-paths.js +154 -0
  363. package/web/.next/standalone/node_modules/next/dist/lib/resolve-from.js +65 -0
  364. package/web/.next/standalone/node_modules/next/dist/lib/route-pattern-normalizer.js +107 -0
  365. package/web/.next/standalone/node_modules/next/dist/lib/scheduler.js +64 -0
  366. package/web/.next/standalone/node_modules/next/dist/lib/semver-noop.js +18 -0
  367. package/web/.next/standalone/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
  368. package/web/.next/standalone/node_modules/next/dist/lib/setup-exception-listeners.js +11 -0
  369. package/web/.next/standalone/node_modules/next/dist/lib/static-env.js +92 -0
  370. package/web/.next/standalone/node_modules/next/dist/lib/try-to-parse-path.js +67 -0
  371. package/web/.next/standalone/node_modules/next/dist/lib/turbopack-warning.js +185 -0
  372. package/web/.next/standalone/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +243 -0
  373. package/web/.next/standalone/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +153 -0
  374. package/web/.next/standalone/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
  375. package/web/.next/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +27 -0
  376. package/web/.next/standalone/node_modules/next/dist/lib/typescript/runTypeCheck.js +149 -0
  377. package/web/.next/standalone/node_modules/next/dist/lib/typescript/type-paths.js +51 -0
  378. package/web/.next/standalone/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +75 -0
  379. package/web/.next/standalone/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +395 -0
  380. package/web/.next/standalone/node_modules/next/dist/lib/url.js +75 -0
  381. package/web/.next/standalone/node_modules/next/dist/lib/verify-partytown-setup.js +115 -0
  382. package/web/.next/standalone/node_modules/next/dist/lib/verify-root-layout.js +165 -0
  383. package/web/.next/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +228 -0
  384. package/web/.next/standalone/node_modules/next/dist/lib/wait.js +19 -0
  385. package/web/.next/standalone/node_modules/next/dist/lib/with-promise-cache.js +24 -0
  386. package/web/.next/standalone/node_modules/next/dist/lib/worker.js +234 -0
  387. package/web/.next/standalone/node_modules/next/dist/server/ReactDOMServerPages.js +16 -0
  388. package/web/.next/standalone/node_modules/next/dist/server/accept-header.js +132 -0
  389. package/web/.next/standalone/node_modules/next/dist/server/after/after-context.js +140 -0
  390. package/web/.next/standalone/node_modules/next/dist/server/after/after.js +26 -0
  391. package/web/.next/standalone/node_modules/next/dist/server/after/awaiter.js +74 -0
  392. package/web/.next/standalone/node_modules/next/dist/server/after/builtin-request-context.js +38 -0
  393. package/web/.next/standalone/node_modules/next/dist/server/after/index.js +21 -0
  394. package/web/.next/standalone/node_modules/next/dist/server/after/run-with-after.js +35 -0
  395. package/web/.next/standalone/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
  396. package/web/.next/standalone/node_modules/next/dist/server/api-utils/index.js +201 -0
  397. package/web/.next/standalone/node_modules/next/dist/server/api-utils/node/api-resolver.js +395 -0
  398. package/web/.next/standalone/node_modules/next/dist/server/api-utils/node/parse-body.js +79 -0
  399. package/web/.next/standalone/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +86 -0
  400. package/web/.next/standalone/node_modules/next/dist/server/api-utils/web.js +17 -0
  401. package/web/.next/standalone/node_modules/next/dist/server/app-render/action-async-storage-instance.js +14 -0
  402. package/web/.next/standalone/node_modules/next/dist/server/app-render/action-async-storage.external.js +13 -0
  403. package/web/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +1027 -0
  404. package/web/.next/standalone/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
  405. package/web/.next/standalone/node_modules/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
  406. package/web/.next/standalone/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +167 -0
  407. package/web/.next/standalone/node_modules/next/dist/server/app-render/app-render-render-utils.js +76 -0
  408. package/web/.next/standalone/node_modules/next/dist/server/app-render/app-render-scheduling.js +188 -0
  409. package/web/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +4522 -0
  410. package/web/.next/standalone/node_modules/next/dist/server/app-render/async-local-storage.js +76 -0
  411. package/web/.next/standalone/node_modules/next/dist/server/app-render/cache-signal.js +181 -0
  412. package/web/.next/standalone/node_modules/next/dist/server/app-render/collect-segment-data.js +616 -0
  413. package/web/.next/standalone/node_modules/next/dist/server/app-render/console-async-storage-instance.js +14 -0
  414. package/web/.next/standalone/node_modules/next/dist/server/app-render/console-async-storage.external.js +13 -0
  415. package/web/.next/standalone/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +33 -0
  416. package/web/.next/standalone/node_modules/next/dist/server/app-render/create-component-tree.js +870 -0
  417. package/web/.next/standalone/node_modules/next/dist/server/app-render/create-error-handler.js +189 -0
  418. package/web/.next/standalone/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +102 -0
  419. package/web/.next/standalone/node_modules/next/dist/server/app-render/csrf-protection.js +86 -0
  420. package/web/.next/standalone/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
  421. package/web/.next/standalone/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
  422. package/web/.next/standalone/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
  423. package/web/.next/standalone/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +13 -0
  424. package/web/.next/standalone/node_modules/next/dist/server/app-render/dynamic-rendering.js +1144 -0
  425. package/web/.next/standalone/node_modules/next/dist/server/app-render/encryption-utils-server.js +114 -0
  426. package/web/.next/standalone/node_modules/next/dist/server/app-render/encryption-utils.js +93 -0
  427. package/web/.next/standalone/node_modules/next/dist/server/app-render/encryption.js +259 -0
  428. package/web/.next/standalone/node_modules/next/dist/server/app-render/entry-base.js +256 -0
  429. package/web/.next/standalone/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
  430. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-asset-query-string.js +29 -0
  431. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +49 -0
  432. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-layer-assets.js +65 -0
  433. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
  434. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +32 -0
  435. package/web/.next/standalone/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
  436. package/web/.next/standalone/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
  437. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
  438. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +103 -0
  439. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
  440. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
  441. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
  442. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
  443. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
  444. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +713 -0
  445. package/web/.next/standalone/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
  446. package/web/.next/standalone/node_modules/next/dist/server/app-render/interop-default.js +17 -0
  447. package/web/.next/standalone/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +92 -0
  448. package/web/.next/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +264 -0
  449. package/web/.next/standalone/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +29 -0
  450. package/web/.next/standalone/node_modules/next/dist/server/app-render/module-loading/track-dynamic-import.js +57 -0
  451. package/web/.next/standalone/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
  452. package/web/.next/standalone/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +66 -0
  453. package/web/.next/standalone/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +49 -0
  454. package/web/.next/standalone/node_modules/next/dist/server/app-render/postponed-state.js +157 -0
  455. package/web/.next/standalone/node_modules/next/dist/server/app-render/prospective-render-utils.js +74 -0
  456. package/web/.next/standalone/node_modules/next/dist/server/app-render/react-large-shell-error.js +17 -0
  457. package/web/.next/standalone/node_modules/next/dist/server/app-render/react-server.node.js +39 -0
  458. package/web/.next/standalone/node_modules/next/dist/server/app-render/render-css-resource.js +52 -0
  459. package/web/.next/standalone/node_modules/next/dist/server/app-render/required-scripts.js +76 -0
  460. package/web/.next/standalone/node_modules/next/dist/server/app-render/rsc/postpone.js +18 -0
  461. package/web/.next/standalone/node_modules/next/dist/server/app-render/rsc/preloads.js +74 -0
  462. package/web/.next/standalone/node_modules/next/dist/server/app-render/rsc/taint.js +79 -0
  463. package/web/.next/standalone/node_modules/next/dist/server/app-render/segment-explorer-path.js +128 -0
  464. package/web/.next/standalone/node_modules/next/dist/server/app-render/server-inserted-html.js +77 -0
  465. package/web/.next/standalone/node_modules/next/dist/server/app-render/staged-rendering.js +343 -0
  466. package/web/.next/standalone/node_modules/next/dist/server/app-render/stale-time.js +111 -0
  467. package/web/.next/standalone/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
  468. package/web/.next/standalone/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
  469. package/web/.next/standalone/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
  470. package/web/.next/standalone/node_modules/next/dist/server/app-render/types.js +65 -0
  471. package/web/.next/standalone/node_modules/next/dist/server/app-render/use-flight-response.js +214 -0
  472. package/web/.next/standalone/node_modules/next/dist/server/app-render/vary-params.js +336 -0
  473. package/web/.next/standalone/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +232 -0
  474. package/web/.next/standalone/node_modules/next/dist/server/app-render/work-async-storage-instance.js +14 -0
  475. package/web/.next/standalone/node_modules/next/dist/server/app-render/work-async-storage.external.js +13 -0
  476. package/web/.next/standalone/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
  477. package/web/.next/standalone/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +280 -0
  478. package/web/.next/standalone/node_modules/next/dist/server/async-storage/draft-mode-provider.js +62 -0
  479. package/web/.next/standalone/node_modules/next/dist/server/async-storage/request-store.js +144 -0
  480. package/web/.next/standalone/node_modules/next/dist/server/async-storage/with-store.js +6 -0
  481. package/web/.next/standalone/node_modules/next/dist/server/async-storage/work-store.js +92 -0
  482. package/web/.next/standalone/node_modules/next/dist/server/base-http/helpers.js +36 -0
  483. package/web/.next/standalone/node_modules/next/dist/server/base-http/index.js +54 -0
  484. package/web/.next/standalone/node_modules/next/dist/server/base-http/node.js +147 -0
  485. package/web/.next/standalone/node_modules/next/dist/server/base-http/web.js +124 -0
  486. package/web/.next/standalone/node_modules/next/dist/server/base-server.js +1882 -0
  487. package/web/.next/standalone/node_modules/next/dist/server/body-streams.js +114 -0
  488. package/web/.next/standalone/node_modules/next/dist/server/cache-dir.js +26 -0
  489. package/web/.next/standalone/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
  490. package/web/.next/standalone/node_modules/next/dist/server/ci-info.js +41 -0
  491. package/web/.next/standalone/node_modules/next/dist/server/client-component-renderer-logger.js +70 -0
  492. package/web/.next/standalone/node_modules/next/dist/server/config-schema.js +727 -0
  493. package/web/.next/standalone/node_modules/next/dist/server/config-shared.js +369 -0
  494. package/web/.next/standalone/node_modules/next/dist/server/config-utils.js +185 -0
  495. package/web/.next/standalone/node_modules/next/dist/server/config.js +1545 -0
  496. package/web/.next/standalone/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
  497. package/web/.next/standalone/node_modules/next/dist/server/crypto-utils.js +70 -0
  498. package/web/.next/standalone/node_modules/next/dist/server/dev/browser-logs/file-logger.js +186 -0
  499. package/web/.next/standalone/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +558 -0
  500. package/web/.next/standalone/node_modules/next/dist/server/dev/browser-logs/source-map.js +222 -0
  501. package/web/.next/standalone/node_modules/next/dist/server/dev/debug-channel.js +87 -0
  502. package/web/.next/standalone/node_modules/next/dist/server/dev/dev-indicator-server-state.js +15 -0
  503. package/web/.next/standalone/node_modules/next/dist/server/dev/get-source-map-from-file.js +100 -0
  504. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-middleware.js +274 -0
  505. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
  506. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
  507. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1480 -0
  508. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-types.js +58 -0
  509. package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1386 -0
  510. package/web/.next/standalone/node_modules/next/dist/server/dev/log-requests.js +149 -0
  511. package/web/.next/standalone/node_modules/next/dist/server/dev/messages.js +74 -0
  512. package/web/.next/standalone/node_modules/next/dist/server/dev/middleware-turbopack.js +403 -0
  513. package/web/.next/standalone/node_modules/next/dist/server/dev/middleware-webpack.js +483 -0
  514. package/web/.next/standalone/node_modules/next/dist/server/dev/node-stack-frames.js +72 -0
  515. package/web/.next/standalone/node_modules/next/dist/server/dev/on-demand-entry-handler.js +773 -0
  516. package/web/.next/standalone/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
  517. package/web/.next/standalone/node_modules/next/dist/server/dev/require-cache.js +79 -0
  518. package/web/.next/standalone/node_modules/next/dist/server/dev/serialized-errors.js +67 -0
  519. package/web/.next/standalone/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
  520. package/web/.next/standalone/node_modules/next/dist/server/dev/static-paths-worker.js +105 -0
  521. package/web/.next/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +687 -0
  522. package/web/.next/standalone/node_modules/next/dist/server/dynamic-rendering-utils.js +108 -0
  523. package/web/.next/standalone/node_modules/next/dist/server/font-utils.js +43 -0
  524. package/web/.next/standalone/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
  525. package/web/.next/standalone/node_modules/next/dist/server/get-page-files.js +23 -0
  526. package/web/.next/standalone/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
  527. package/web/.next/standalone/node_modules/next/dist/server/image-optimizer.js +1240 -0
  528. package/web/.next/standalone/node_modules/next/dist/server/instrumentation/types.js +6 -0
  529. package/web/.next/standalone/node_modules/next/dist/server/instrumentation/utils.js +21 -0
  530. package/web/.next/standalone/node_modules/next/dist/server/internal-utils.js +39 -0
  531. package/web/.next/standalone/node_modules/next/dist/server/is-private-ip.js +36 -0
  532. package/web/.next/standalone/node_modules/next/dist/server/lib/app-dir-module.js +59 -0
  533. package/web/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +132 -0
  534. package/web/.next/standalone/node_modules/next/dist/server/lib/async-callback-set.js +29 -0
  535. package/web/.next/standalone/node_modules/next/dist/server/lib/cache-control.js +22 -0
  536. package/web/.next/standalone/node_modules/next/dist/server/lib/cache-handlers/default.external.js +18 -0
  537. package/web/.next/standalone/node_modules/next/dist/server/lib/cache-handlers/default.js +160 -0
  538. package/web/.next/standalone/node_modules/next/dist/server/lib/cache-handlers/types.js +8 -0
  539. package/web/.next/standalone/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +116 -0
  540. package/web/.next/standalone/node_modules/next/dist/server/lib/clone-response.js +77 -0
  541. package/web/.next/standalone/node_modules/next/dist/server/lib/cpu-profile.js +59 -0
  542. package/web/.next/standalone/node_modules/next/dist/server/lib/decode-query-path-parameter.js +26 -0
  543. package/web/.next/standalone/node_modules/next/dist/server/lib/dedupe-fetch.js +163 -0
  544. package/web/.next/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +95 -0
  545. package/web/.next/standalone/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
  546. package/web/.next/standalone/node_modules/next/dist/server/lib/encode-cache-tag.js +45 -0
  547. package/web/.next/standalone/node_modules/next/dist/server/lib/etag.js +56 -0
  548. package/web/.next/standalone/node_modules/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
  549. package/web/.next/standalone/node_modules/next/dist/server/lib/experimental/ppr.js +47 -0
  550. package/web/.next/standalone/node_modules/next/dist/server/lib/find-page-file.js +147 -0
  551. package/web/.next/standalone/node_modules/next/dist/server/lib/fix-mojibake.js +25 -0
  552. package/web/.next/standalone/node_modules/next/dist/server/lib/format-hostname.js +16 -0
  553. package/web/.next/standalone/node_modules/next/dist/server/lib/i18n-provider.js +129 -0
  554. package/web/.next/standalone/node_modules/next/dist/server/lib/implicit-tags.js +80 -0
  555. package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +335 -0
  556. package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +501 -0
  557. package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +57 -0
  558. package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +73 -0
  559. package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
  560. package/web/.next/standalone/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
  561. package/web/.next/standalone/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
  562. package/web/.next/standalone/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
  563. package/web/.next/standalone/node_modules/next/dist/server/lib/lazy-result.js +46 -0
  564. package/web/.next/standalone/node_modules/next/dist/server/lib/lru-cache.js +191 -0
  565. package/web/.next/standalone/node_modules/next/dist/server/lib/match-next-data-pathname.js +18 -0
  566. package/web/.next/standalone/node_modules/next/dist/server/lib/mock-request.js +441 -0
  567. package/web/.next/standalone/node_modules/next/dist/server/lib/module-loader/module-loader.js +8 -0
  568. package/web/.next/standalone/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +25 -0
  569. package/web/.next/standalone/node_modules/next/dist/server/lib/module-loader/route-module-loader.js +26 -0
  570. package/web/.next/standalone/node_modules/next/dist/server/lib/node-fs-methods.js +28 -0
  571. package/web/.next/standalone/node_modules/next/dist/server/lib/parse-stack.js +46 -0
  572. package/web/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +982 -0
  573. package/web/.next/standalone/node_modules/next/dist/server/lib/patch-set-header.js +45 -0
  574. package/web/.next/standalone/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
  575. package/web/.next/standalone/node_modules/next/dist/server/lib/render-server.js +155 -0
  576. package/web/.next/standalone/node_modules/next/dist/server/lib/router-server.js +699 -0
  577. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
  578. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/build-data-route.js +48 -0
  579. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
  580. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +211 -0
  581. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +42 -0
  582. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/filesystem.js +591 -0
  583. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +89 -0
  584. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +96 -0
  585. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/is-postpone.js +16 -0
  586. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js +118 -0
  587. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +643 -0
  588. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +286 -0
  589. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/router-server-context.js +26 -0
  590. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/typegen.js +858 -0
  591. package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/types.js +6 -0
  592. package/web/.next/standalone/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
  593. package/web/.next/standalone/node_modules/next/dist/server/lib/server-ipc/utils.js +83 -0
  594. package/web/.next/standalone/node_modules/next/dist/server/lib/source-maps.js +196 -0
  595. package/web/.next/standalone/node_modules/next/dist/server/lib/start-server.js +494 -0
  596. package/web/.next/standalone/node_modules/next/dist/server/lib/streaming-metadata.js +38 -0
  597. package/web/.next/standalone/node_modules/next/dist/server/lib/to-route.js +37 -0
  598. package/web/.next/standalone/node_modules/next/dist/server/lib/trace/constants.js +203 -0
  599. package/web/.next/standalone/node_modules/next/dist/server/lib/trace/tracer.js +280 -0
  600. package/web/.next/standalone/node_modules/next/dist/server/lib/trace/utils.js +16 -0
  601. package/web/.next/standalone/node_modules/next/dist/server/lib/types.js +6 -0
  602. package/web/.next/standalone/node_modules/next/dist/server/lib/utils.js +278 -0
  603. package/web/.next/standalone/node_modules/next/dist/server/lib/worker-utils.js +36 -0
  604. package/web/.next/standalone/node_modules/next/dist/server/load-components.js +179 -0
  605. package/web/.next/standalone/node_modules/next/dist/server/load-default-error-components.js +41 -0
  606. package/web/.next/standalone/node_modules/next/dist/server/load-manifest.external.js +117 -0
  607. package/web/.next/standalone/node_modules/next/dist/server/match-bundle.js +25 -0
  608. package/web/.next/standalone/node_modules/next/dist/server/mcp/get-mcp-middleware.js +49 -0
  609. package/web/.next/standalone/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +41 -0
  610. package/web/.next/standalone/node_modules/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
  611. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-errors.js +114 -0
  612. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-logs.js +67 -0
  613. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +188 -0
  614. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +59 -0
  615. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-routes.js +136 -0
  616. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +121 -0
  617. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
  618. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +90 -0
  619. package/web/.next/standalone/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +137 -0
  620. package/web/.next/standalone/node_modules/next/dist/server/next-server.js +1429 -0
  621. package/web/.next/standalone/node_modules/next/dist/server/next-typescript.js +13 -0
  622. package/web/.next/standalone/node_modules/next/dist/server/next.js +455 -0
  623. package/web/.next/standalone/node_modules/next/dist/server/node-environment-baseline.js +25 -0
  624. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +301 -0
  625. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/console-exit.js +49 -0
  626. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/console-file.js +56 -0
  627. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/date.js +52 -0
  628. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
  629. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +577 -0
  630. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +33 -0
  631. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/io-utils.js +195 -0
  632. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
  633. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
  634. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/random.js +28 -0
  635. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +508 -0
  636. package/web/.next/standalone/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
  637. package/web/.next/standalone/node_modules/next/dist/server/node-environment.js +19 -0
  638. package/web/.next/standalone/node_modules/next/dist/server/node-polyfill-crypto.js +21 -0
  639. package/web/.next/standalone/node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
  640. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
  641. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
  642. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
  643. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
  644. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/app/index.js +42 -0
  645. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/pages/index.js +44 -0
  646. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
  647. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
  648. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
  649. package/web/.next/standalone/node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
  650. package/web/.next/standalone/node_modules/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
  651. package/web/.next/standalone/node_modules/next/dist/server/normalizers/normalizer.js +6 -0
  652. package/web/.next/standalone/node_modules/next/dist/server/normalizers/normalizers.js +23 -0
  653. package/web/.next/standalone/node_modules/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
  654. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/base-path.js +25 -0
  655. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/next-data.js +38 -0
  656. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
  657. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/prefix.js +39 -0
  658. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/rsc.js +19 -0
  659. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +33 -0
  660. package/web/.next/standalone/node_modules/next/dist/server/normalizers/request/suffix.js +27 -0
  661. package/web/.next/standalone/node_modules/next/dist/server/normalizers/underscore-normalizer.js +17 -0
  662. package/web/.next/standalone/node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
  663. package/web/.next/standalone/node_modules/next/dist/server/og/image-response.js +53 -0
  664. package/web/.next/standalone/node_modules/next/dist/server/patch-error-inspect.js +453 -0
  665. package/web/.next/standalone/node_modules/next/dist/server/pipe-readable.js +140 -0
  666. package/web/.next/standalone/node_modules/next/dist/server/post-process.js +39 -0
  667. package/web/.next/standalone/node_modules/next/dist/server/render-result.js +204 -0
  668. package/web/.next/standalone/node_modules/next/dist/server/render.js +1148 -0
  669. package/web/.next/standalone/node_modules/next/dist/server/request/connection.js +133 -0
  670. package/web/.next/standalone/node_modules/next/dist/server/request/cookies.js +235 -0
  671. package/web/.next/standalone/node_modules/next/dist/server/request/draft-mode.js +230 -0
  672. package/web/.next/standalone/node_modules/next/dist/server/request/fallback-params.js +95 -0
  673. package/web/.next/standalone/node_modules/next/dist/server/request/headers.js +229 -0
  674. package/web/.next/standalone/node_modules/next/dist/server/request/params.js +527 -0
  675. package/web/.next/standalone/node_modules/next/dist/server/request/pathname.js +119 -0
  676. package/web/.next/standalone/node_modules/next/dist/server/request/root-params.js +194 -0
  677. package/web/.next/standalone/node_modules/next/dist/server/request/search-params.js +526 -0
  678. package/web/.next/standalone/node_modules/next/dist/server/request/utils.js +51 -0
  679. package/web/.next/standalone/node_modules/next/dist/server/request-meta.js +55 -0
  680. package/web/.next/standalone/node_modules/next/dist/server/require-hook.js +82 -0
  681. package/web/.next/standalone/node_modules/next/dist/server/require.js +109 -0
  682. package/web/.next/standalone/node_modules/next/dist/server/response-cache/index.js +311 -0
  683. package/web/.next/standalone/node_modules/next/dist/server/response-cache/types.js +41 -0
  684. package/web/.next/standalone/node_modules/next/dist/server/response-cache/utils.js +104 -0
  685. package/web/.next/standalone/node_modules/next/dist/server/response-cache/web.js +101 -0
  686. package/web/.next/standalone/node_modules/next/dist/server/resume-data-cache/cache-store.js +96 -0
  687. package/web/.next/standalone/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +124 -0
  688. package/web/.next/standalone/node_modules/next/dist/server/revalidation-utils.js +157 -0
  689. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
  690. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
  691. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/locale-route-definition.js +6 -0
  692. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
  693. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/pages-route-definition.js +6 -0
  694. package/web/.next/standalone/node_modules/next/dist/server/route-definitions/route-definition.js +6 -0
  695. package/web/.next/standalone/node_modules/next/dist/server/route-kind.js +32 -0
  696. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js +239 -0
  697. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.js +120 -0
  698. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-managers/route-matcher-manager.js +6 -0
  699. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +55 -0
  700. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js +43 -0
  701. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +91 -0
  702. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +112 -0
  703. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +77 -0
  704. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +77 -0
  705. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/file-cache-route-matcher-provider.js +28 -0
  706. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +106 -0
  707. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +42 -0
  708. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/file-reader.js +6 -0
  709. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js +30 -0
  710. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/manifest-loader.js +6 -0
  711. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +34 -0
  712. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +20 -0
  713. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js +21 -0
  714. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js +55 -0
  715. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js +64 -0
  716. package/web/.next/standalone/node_modules/next/dist/server/route-matcher-providers/route-matcher-provider.js +6 -0
  717. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/app-page-route-matcher.js +18 -0
  718. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/app-route-route-matcher.js +15 -0
  719. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/locale-route-matcher.js +68 -0
  720. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js +30 -0
  721. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/pages-route-matcher.js +30 -0
  722. package/web/.next/standalone/node_modules/next/dist/server/route-matchers/route-matcher.js +54 -0
  723. package/web/.next/standalone/node_modules/next/dist/server/route-matches/app-page-route-match.js +6 -0
  724. package/web/.next/standalone/node_modules/next/dist/server/route-matches/app-route-route-match.js +6 -0
  725. package/web/.next/standalone/node_modules/next/dist/server/route-matches/locale-route-match.js +6 -0
  726. package/web/.next/standalone/node_modules/next/dist/server/route-matches/pages-api-route-match.js +16 -0
  727. package/web/.next/standalone/node_modules/next/dist/server/route-matches/pages-route-match.js +6 -0
  728. package/web/.next/standalone/node_modules/next/dist/server/route-matches/route-match.js +6 -0
  729. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +51 -0
  730. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
  731. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/module.js +162 -0
  732. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/module.render.js +24 -0
  733. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
  734. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
  735. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
  736. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
  737. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
  738. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
  739. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
  740. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
  741. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +140 -0
  742. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
  743. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
  744. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
  745. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
  746. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
  747. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
  748. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
  749. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
  750. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
  751. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +125 -0
  752. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
  753. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
  754. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
  755. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
  756. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
  757. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
  758. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
  759. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
  760. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +85 -0
  761. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
  762. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
  763. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
  764. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
  765. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
  766. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/module.js +915 -0
  767. package/web/.next/standalone/node_modules/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
  768. package/web/.next/standalone/node_modules/next/dist/server/route-modules/checks.js +45 -0
  769. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
  770. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/module.compiled.js +20 -0
  771. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/module.js +92 -0
  772. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/module.render.js +24 -0
  773. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/pages-handler.js +545 -0
  774. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
  775. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
  776. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
  777. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
  778. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
  779. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
  780. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
  781. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
  782. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
  783. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
  784. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
  785. package/web/.next/standalone/node_modules/next/dist/server/route-modules/pages-api/module.js +58 -0
  786. package/web/.next/standalone/node_modules/next/dist/server/route-modules/route-module.js +660 -0
  787. package/web/.next/standalone/node_modules/next/dist/server/runtime-reacts.external.js +46 -0
  788. package/web/.next/standalone/node_modules/next/dist/server/send-payload.js +88 -0
  789. package/web/.next/standalone/node_modules/next/dist/server/send-response.js +70 -0
  790. package/web/.next/standalone/node_modules/next/dist/server/serve-static.js +66 -0
  791. package/web/.next/standalone/node_modules/next/dist/server/server-route-utils.js +30 -0
  792. package/web/.next/standalone/node_modules/next/dist/server/server-utils.js +340 -0
  793. package/web/.next/standalone/node_modules/next/dist/server/setup-http-agent-env.js +31 -0
  794. package/web/.next/standalone/node_modules/next/dist/server/stream-utils/encoded-tags.js +122 -0
  795. package/web/.next/standalone/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +918 -0
  796. package/web/.next/standalone/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +74 -0
  797. package/web/.next/standalone/node_modules/next/dist/server/typescript/constant.js +98 -0
  798. package/web/.next/standalone/node_modules/next/dist/server/typescript/index.js +199 -0
  799. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/client-boundary.js +97 -0
  800. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/config.js +512 -0
  801. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
  802. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/error.js +38 -0
  803. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/metadata.js +234 -0
  804. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/server-boundary.js +115 -0
  805. package/web/.next/standalone/node_modules/next/dist/server/typescript/rules/server.js +79 -0
  806. package/web/.next/standalone/node_modules/next/dist/server/typescript/utils.js +212 -0
  807. package/web/.next/standalone/node_modules/next/dist/server/use-cache/cache-life.js +163 -0
  808. package/web/.next/standalone/node_modules/next/dist/server/use-cache/cache-tag.js +52 -0
  809. package/web/.next/standalone/node_modules/next/dist/server/use-cache/constants.js +28 -0
  810. package/web/.next/standalone/node_modules/next/dist/server/use-cache/handlers.js +121 -0
  811. package/web/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-errors.js +36 -0
  812. package/web/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1588 -0
  813. package/web/.next/standalone/node_modules/next/dist/server/utils.js +73 -0
  814. package/web/.next/standalone/node_modules/next/dist/server/web/adapter.js +395 -0
  815. package/web/.next/standalone/node_modules/next/dist/server/web/edge-route-module-wrapper.js +124 -0
  816. package/web/.next/standalone/node_modules/next/dist/server/web/error.js +54 -0
  817. package/web/.next/standalone/node_modules/next/dist/server/web/exports/index.js +56 -0
  818. package/web/.next/standalone/node_modules/next/dist/server/web/get-edge-preview-props.js +23 -0
  819. package/web/.next/standalone/node_modules/next/dist/server/web/globals.js +128 -0
  820. package/web/.next/standalone/node_modules/next/dist/server/web/http.js +39 -0
  821. package/web/.next/standalone/node_modules/next/dist/server/web/internal-edge-wait-until.js +64 -0
  822. package/web/.next/standalone/node_modules/next/dist/server/web/next-url.js +199 -0
  823. package/web/.next/standalone/node_modules/next/dist/server/web/sandbox/context.js +462 -0
  824. package/web/.next/standalone/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
  825. package/web/.next/standalone/node_modules/next/dist/server/web/sandbox/index.js +28 -0
  826. package/web/.next/standalone/node_modules/next/dist/server/web/sandbox/resource-managers.js +88 -0
  827. package/web/.next/standalone/node_modules/next/dist/server/web/sandbox/sandbox.js +137 -0
  828. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +192 -0
  829. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +142 -0
  830. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
  831. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +211 -0
  832. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
  833. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/fetch-event.js +98 -0
  834. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/image-response.js +22 -0
  835. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/request.js +99 -0
  836. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/response.js +136 -0
  837. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/revalidate.js +215 -0
  838. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +293 -0
  839. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +51 -0
  840. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/url-pattern.js +14 -0
  841. package/web/.next/standalone/node_modules/next/dist/server/web/spec-extension/user-agent.js +46 -0
  842. package/web/.next/standalone/node_modules/next/dist/server/web/types.js +6 -0
  843. package/web/.next/standalone/node_modules/next/dist/server/web/utils.js +151 -0
  844. package/web/.next/standalone/node_modules/next/dist/server/web/web-on-close.js +87 -0
  845. package/web/.next/standalone/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
  846. package/web/.next/standalone/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
  847. package/web/.next/standalone/node_modules/next/dist/shared/lib/app-router-types.js +46 -0
  848. package/web/.next/standalone/node_modules/next/dist/shared/lib/constants.js +448 -0
  849. package/web/.next/standalone/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
  850. package/web/.next/standalone/node_modules/next/dist/shared/lib/deployment-id.js +63 -0
  851. package/web/.next/standalone/node_modules/next/dist/shared/lib/dset.js +34 -0
  852. package/web/.next/standalone/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
  853. package/web/.next/standalone/node_modules/next/dist/shared/lib/entry-constants.js +36 -0
  854. package/web/.next/standalone/node_modules/next/dist/shared/lib/error-source.js +36 -0
  855. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +39 -0
  856. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
  857. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/constants.js +19 -0
  858. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +24 -0
  859. package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
  860. package/web/.next/standalone/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
  861. package/web/.next/standalone/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
  862. package/web/.next/standalone/node_modules/next/dist/shared/lib/hash.js +42 -0
  863. package/web/.next/standalone/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
  864. package/web/.next/standalone/node_modules/next/dist/shared/lib/head.js +163 -0
  865. package/web/.next/standalone/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
  866. package/web/.next/standalone/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +40 -0
  867. package/web/.next/standalone/node_modules/next/dist/shared/lib/htmlescape.js +52 -0
  868. package/web/.next/standalone/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
  869. package/web/.next/standalone/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
  870. package/web/.next/standalone/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
  871. package/web/.next/standalone/node_modules/next/dist/shared/lib/image-blur-svg.js +22 -0
  872. package/web/.next/standalone/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
  873. package/web/.next/standalone/node_modules/next/dist/shared/lib/image-config.js +77 -0
  874. package/web/.next/standalone/node_modules/next/dist/shared/lib/invariant-error.js +18 -0
  875. package/web/.next/standalone/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
  876. package/web/.next/standalone/node_modules/next/dist/shared/lib/is-thenable.js +20 -0
  877. package/web/.next/standalone/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
  878. package/web/.next/standalone/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
  879. package/web/.next/standalone/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
  880. package/web/.next/standalone/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
  881. package/web/.next/standalone/node_modules/next/dist/shared/lib/match-local-pattern.js +46 -0
  882. package/web/.next/standalone/node_modules/next/dist/shared/lib/match-remote-pattern.js +63 -0
  883. package/web/.next/standalone/node_modules/next/dist/shared/lib/modern-browserslist-target.js +15 -0
  884. package/web/.next/standalone/node_modules/next/dist/shared/lib/no-fallback-error.external.js +18 -0
  885. package/web/.next/standalone/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
  886. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
  887. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
  888. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
  889. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
  890. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
  891. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
  892. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
  893. package/web/.next/standalone/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
  894. package/web/.next/standalone/node_modules/next/dist/shared/lib/promise-with-resolvers.js +26 -0
  895. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/adapters.js +136 -0
  896. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/routes/app.js +134 -0
  897. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
  898. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
  899. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
  900. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/app-paths.js +62 -0
  901. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
  902. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +70 -0
  903. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
  904. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
  905. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
  906. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +174 -0
  907. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
  908. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
  909. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
  910. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/html-bots.js +17 -0
  911. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/index.js +30 -0
  912. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
  913. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +108 -0
  914. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/is-bot.js +57 -0
  915. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  916. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
  917. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +30 -0
  918. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
  919. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +43 -0
  920. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/parse-url.js +38 -0
  921. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
  922. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
  923. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +292 -0
  924. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/querystring.js +79 -0
  925. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
  926. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
  927. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +21 -0
  928. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +116 -0
  929. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
  930. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +45 -0
  931. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/route-regex.js +256 -0
  932. package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +244 -0
  933. package/web/.next/standalone/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
  934. package/web/.next/standalone/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +99 -0
  935. package/web/.next/standalone/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
  936. package/web/.next/standalone/node_modules/next/dist/shared/lib/segment.js +102 -0
  937. package/web/.next/standalone/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
  938. package/web/.next/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +56 -0
  939. package/web/.next/standalone/node_modules/next/dist/shared/lib/side-effect.js +63 -0
  940. package/web/.next/standalone/node_modules/next/dist/shared/lib/size-limit.js +40 -0
  941. package/web/.next/standalone/node_modules/next/dist/shared/lib/turbopack/internal-error.js +53 -0
  942. package/web/.next/standalone/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
  943. package/web/.next/standalone/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
  944. package/web/.next/standalone/node_modules/next/dist/shared/lib/utils.js +207 -0
  945. package/web/.next/standalone/node_modules/next/dist/shared/lib/zod.js +101 -0
  946. package/web/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +89 -0
  947. package/web/.next/standalone/node_modules/next/dist/telemetry/detached-flush.js +56 -0
  948. package/web/.next/standalone/node_modules/next/dist/telemetry/events/build.js +174 -0
  949. package/web/.next/standalone/node_modules/next/dist/telemetry/events/index.js +41 -0
  950. package/web/.next/standalone/node_modules/next/dist/telemetry/events/plugins.js +51 -0
  951. package/web/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
  952. package/web/.next/standalone/node_modules/next/dist/telemetry/events/version.js +66 -0
  953. package/web/.next/standalone/node_modules/next/dist/telemetry/flush-telemetry.js +19 -0
  954. package/web/.next/standalone/node_modules/next/dist/telemetry/post-telemetry-payload.js +48 -0
  955. package/web/.next/standalone/node_modules/next/dist/telemetry/project-id.js +48 -0
  956. package/web/.next/standalone/node_modules/next/dist/telemetry/storage.js +301 -0
  957. package/web/.next/standalone/node_modules/next/dist/trace/index.js +58 -0
  958. package/web/.next/standalone/node_modules/next/dist/trace/report/index.js +37 -0
  959. package/web/.next/standalone/node_modules/next/dist/trace/report/to-json-build.js +40 -0
  960. package/web/.next/standalone/node_modules/next/dist/trace/report/to-json.js +165 -0
  961. package/web/.next/standalone/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
  962. package/web/.next/standalone/node_modules/next/dist/trace/shared.js +39 -0
  963. package/web/.next/standalone/node_modules/next/dist/trace/trace.js +211 -0
  964. package/web/.next/standalone/node_modules/next/package.json +378 -0
  965. package/web/.next/standalone/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  966. package/web/.next/standalone/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  967. package/web/.next/standalone/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  968. package/web/.next/standalone/node_modules/react/cjs/react.development.js +1284 -0
  969. package/web/.next/standalone/node_modules/react/cjs/react.production.js +542 -0
  970. package/web/.next/standalone/node_modules/react/compiler-runtime.js +14 -0
  971. package/web/.next/standalone/node_modules/react/index.js +7 -0
  972. package/web/.next/standalone/node_modules/react/jsx-dev-runtime.js +7 -0
  973. package/web/.next/standalone/node_modules/react/jsx-runtime.js +7 -0
  974. package/web/.next/standalone/node_modules/react/package.json +51 -0
  975. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
  976. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
  977. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
  978. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
  979. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom-server.node.production.js +7707 -0
  980. package/web/.next/standalone/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  981. package/web/.next/standalone/node_modules/react-dom/index.js +38 -0
  982. package/web/.next/standalone/node_modules/react-dom/package.json +117 -0
  983. package/web/.next/standalone/node_modules/react-dom/server.browser.js +16 -0
  984. package/web/.next/standalone/node_modules/react-dom/server.edge.js +17 -0
  985. package/web/.next/standalone/node_modules/react-dom/server.node.js +18 -0
  986. package/web/.next/standalone/node_modules/react-dom/static.node.js +14 -0
  987. package/web/.next/standalone/node_modules/semver/classes/comparator.js +143 -0
  988. package/web/.next/standalone/node_modules/semver/classes/range.js +577 -0
  989. package/web/.next/standalone/node_modules/semver/classes/semver.js +350 -0
  990. package/web/.next/standalone/node_modules/semver/functions/cmp.js +54 -0
  991. package/web/.next/standalone/node_modules/semver/functions/coerce.js +62 -0
  992. package/web/.next/standalone/node_modules/semver/functions/compare.js +7 -0
  993. package/web/.next/standalone/node_modules/semver/functions/eq.js +5 -0
  994. package/web/.next/standalone/node_modules/semver/functions/gt.js +5 -0
  995. package/web/.next/standalone/node_modules/semver/functions/gte.js +5 -0
  996. package/web/.next/standalone/node_modules/semver/functions/lt.js +5 -0
  997. package/web/.next/standalone/node_modules/semver/functions/lte.js +5 -0
  998. package/web/.next/standalone/node_modules/semver/functions/neq.js +5 -0
  999. package/web/.next/standalone/node_modules/semver/functions/parse.js +18 -0
  1000. package/web/.next/standalone/node_modules/semver/functions/satisfies.js +12 -0
  1001. package/web/.next/standalone/node_modules/semver/internal/constants.js +37 -0
  1002. package/web/.next/standalone/node_modules/semver/internal/debug.js +11 -0
  1003. package/web/.next/standalone/node_modules/semver/internal/identifiers.js +29 -0
  1004. package/web/.next/standalone/node_modules/semver/internal/lrucache.js +42 -0
  1005. package/web/.next/standalone/node_modules/semver/internal/parse-options.js +17 -0
  1006. package/web/.next/standalone/node_modules/semver/internal/re.js +223 -0
  1007. package/web/.next/standalone/node_modules/semver/package.json +78 -0
  1008. package/web/.next/standalone/node_modules/sharp/lib/channel.js +177 -0
  1009. package/web/.next/standalone/node_modules/sharp/lib/colour.js +195 -0
  1010. package/web/.next/standalone/node_modules/sharp/lib/composite.js +212 -0
  1011. package/web/.next/standalone/node_modules/sharp/lib/constructor.js +499 -0
  1012. package/web/.next/standalone/node_modules/sharp/lib/index.js +16 -0
  1013. package/web/.next/standalone/node_modules/sharp/lib/input.js +809 -0
  1014. package/web/.next/standalone/node_modules/sharp/lib/is.js +143 -0
  1015. package/web/.next/standalone/node_modules/sharp/lib/libvips.js +207 -0
  1016. package/web/.next/standalone/node_modules/sharp/lib/operation.js +1016 -0
  1017. package/web/.next/standalone/node_modules/sharp/lib/output.js +1666 -0
  1018. package/web/.next/standalone/node_modules/sharp/lib/resize.js +595 -0
  1019. package/web/.next/standalone/node_modules/sharp/lib/sharp.js +121 -0
  1020. package/web/.next/standalone/node_modules/sharp/lib/utility.js +291 -0
  1021. package/web/.next/standalone/node_modules/sharp/package.json +202 -0
  1022. package/web/.next/standalone/node_modules/styled-jsx/dist/index/index.js +499 -0
  1023. package/web/.next/standalone/node_modules/styled-jsx/index.js +1 -0
  1024. package/web/.next/standalone/node_modules/styled-jsx/package.json +132 -0
  1025. package/web/.next/standalone/node_modules/styled-jsx/style.js +1 -0
  1026. package/web/.next/standalone/web/.next/BUILD_ID +1 -0
  1027. package/web/.next/standalone/web/.next/app-path-routes-manifest.json +5 -0
  1028. package/web/.next/standalone/web/.next/build-manifest.json +20 -0
  1029. package/web/.next/standalone/web/.next/package.json +1 -0
  1030. package/web/.next/standalone/web/.next/prerender-manifest.json +85 -0
  1031. package/web/.next/standalone/web/.next/required-server-files.json +334 -0
  1032. package/web/.next/standalone/web/.next/routes-manifest.json +63 -0
  1033. package/web/.next/standalone/web/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  1034. package/web/.next/standalone/web/.next/server/app/_global-error/page/build-manifest.json +16 -0
  1035. package/web/.next/standalone/web/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  1036. package/web/.next/standalone/web/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  1037. package/web/.next/standalone/web/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  1038. package/web/.next/standalone/web/.next/server/app/_global-error/page.js +9 -0
  1039. package/web/.next/standalone/web/.next/server/app/_global-error/page.js.map +5 -0
  1040. package/web/.next/standalone/web/.next/server/app/_global-error/page.js.nft.json +1 -0
  1041. package/web/.next/standalone/web/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  1042. package/web/.next/standalone/web/.next/server/app/_global-error.html +1 -0
  1043. package/web/.next/standalone/web/.next/server/app/_global-error.meta +15 -0
  1044. package/web/.next/standalone/web/.next/server/app/_global-error.rsc +14 -0
  1045. package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
  1046. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  1047. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
  1048. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  1049. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  1050. package/web/.next/standalone/web/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  1051. package/web/.next/standalone/web/.next/server/app/_not-found/page/build-manifest.json +16 -0
  1052. package/web/.next/standalone/web/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
  1053. package/web/.next/standalone/web/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  1054. package/web/.next/standalone/web/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  1055. package/web/.next/standalone/web/.next/server/app/_not-found/page.js +12 -0
  1056. package/web/.next/standalone/web/.next/server/app/_not-found/page.js.map +5 -0
  1057. package/web/.next/standalone/web/.next/server/app/_not-found/page.js.nft.json +1 -0
  1058. package/web/.next/standalone/web/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  1059. package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -0
  1060. package/web/.next/standalone/web/.next/server/app/_not-found.meta +16 -0
  1061. package/web/.next/standalone/web/.next/server/app/_not-found.rsc +16 -0
  1062. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +16 -0
  1063. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +5 -0
  1064. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +6 -0
  1065. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  1066. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  1067. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  1068. package/web/.next/standalone/web/.next/server/app/index.html +1 -0
  1069. package/web/.next/standalone/web/.next/server/app/index.meta +14 -0
  1070. package/web/.next/standalone/web/.next/server/app/index.rsc +18 -0
  1071. package/web/.next/standalone/web/.next/server/app/index.segments/__PAGE__.segment.rsc +9 -0
  1072. package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +18 -0
  1073. package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +5 -0
  1074. package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +6 -0
  1075. package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +2 -0
  1076. package/web/.next/standalone/web/.next/server/app/page/app-paths-manifest.json +3 -0
  1077. package/web/.next/standalone/web/.next/server/app/page/build-manifest.json +16 -0
  1078. package/web/.next/standalone/web/.next/server/app/page/next-font-manifest.json +6 -0
  1079. package/web/.next/standalone/web/.next/server/app/page/react-loadable-manifest.json +1 -0
  1080. package/web/.next/standalone/web/.next/server/app/page/server-reference-manifest.json +4 -0
  1081. package/web/.next/standalone/web/.next/server/app/page.js +13 -0
  1082. package/web/.next/standalone/web/.next/server/app/page.js.map +5 -0
  1083. package/web/.next/standalone/web/.next/server/app/page.js.nft.json +1 -0
  1084. package/web/.next/standalone/web/.next/server/app/page_client-reference-manifest.js +3 -0
  1085. package/web/.next/standalone/web/.next/server/app-paths-manifest.json +5 -0
  1086. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__0100oqz._.js +19 -0
  1087. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__03bqxv9._.js +33 -0
  1088. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__10hrvcf._.js +3 -0
  1089. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__10riywf._.js +3 -0
  1090. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__17sw5v1._.js +3 -0
  1091. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__1my83lt._.js +33 -0
  1092. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__1ujipwi._.js +3 -0
  1093. package/web/.next/standalone/web/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  1094. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_0h91jdk._.js +33 -0
  1095. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_1vgd_ru._.js +6 -0
  1096. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  1097. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
  1098. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js +3 -0
  1099. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
  1100. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13nn6g7.js +4 -0
  1101. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
  1102. package/web/.next/standalone/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o7-715.js +4 -0
  1103. package/web/.next/standalone/web/.next/server/chunks/ssr/web_0iag39l._.js +3 -0
  1104. package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_0crg1np.js +3 -0
  1105. package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_19z2-pv.js +3 -0
  1106. package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app_page_actions_1xcff7h.js +3 -0
  1107. package/web/.next/standalone/web/.next/server/chunks/ssr/web_app_page_tsx_1-p0-hs._.js +3 -0
  1108. package/web/.next/standalone/web/.next/server/functions-config-manifest.json +4 -0
  1109. package/web/.next/standalone/web/.next/server/middleware-build-manifest.js +20 -0
  1110. package/web/.next/standalone/web/.next/server/middleware-manifest.json +6 -0
  1111. package/web/.next/standalone/web/.next/server/next-font-manifest.js +1 -0
  1112. package/web/.next/standalone/web/.next/server/next-font-manifest.json +6 -0
  1113. package/web/.next/standalone/web/.next/server/pages/404.html +1 -0
  1114. package/web/.next/standalone/web/.next/server/pages/500.html +1 -0
  1115. package/web/.next/standalone/web/.next/server/pages-manifest.json +4 -0
  1116. package/web/.next/standalone/web/.next/server/prefetch-hints.json +1 -0
  1117. package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -0
  1118. package/web/.next/standalone/web/.next/server/server-reference-manifest.json +5 -0
  1119. package/web/.next/standalone/web/.next/static/chunks/0atut6a2uuyid.js +5 -0
  1120. package/web/.next/standalone/web/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  1121. package/web/.next/standalone/web/.next/static/chunks/158myu8e_yme3.js +1 -0
  1122. package/web/.next/standalone/web/.next/static/chunks/1_v5h-yjbgzno.js +1 -0
  1123. package/web/.next/standalone/web/.next/static/chunks/1bnss_1e9svpl.css +1 -0
  1124. package/web/.next/standalone/web/.next/static/chunks/1jq4o6yq14o4c.js +31 -0
  1125. package/web/.next/standalone/web/.next/static/chunks/28o7f8wux_ygy.js +1 -0
  1126. package/web/.next/standalone/web/.next/static/chunks/2nykiepra7i1k.js +1 -0
  1127. package/web/.next/standalone/web/.next/static/chunks/turbopack-3i0d1wb0b07u8.js +1 -0
  1128. package/web/.next/standalone/web/.next/static/joVKrLO0gaukRMU2MsNLa/_buildManifest.js +11 -0
  1129. package/web/.next/standalone/web/.next/static/joVKrLO0gaukRMU2MsNLa/_clientMiddlewareManifest.js +1 -0
  1130. package/web/.next/standalone/web/.next/static/joVKrLO0gaukRMU2MsNLa/_ssgManifest.js +1 -0
  1131. package/web/.next/standalone/web/server.js +38 -0
  1132. package/web/app/globals.css +0 -381
  1133. package/web/app/layout.tsx +0 -20
  1134. package/web/app/page.tsx +0 -57
  1135. package/web/components/command-detail.tsx +0 -159
  1136. package/web/components/command-list.tsx +0 -105
  1137. package/web/components/theme-provider.tsx +0 -12
  1138. package/web/components/theme-toggle.tsx +0 -62
  1139. package/web/lib/types.ts +0 -77
  1140. package/web/next.config.mjs +0 -14
  1141. package/web/tsconfig.json +0 -23
@@ -0,0 +1,1027 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ 0 && (module.exports = {
6
+ handleAction: null,
7
+ parseHostHeader: 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
+ handleAction: function() {
17
+ return handleAction;
18
+ },
19
+ parseHostHeader: function() {
20
+ return parseHostHeader;
21
+ }
22
+ });
23
+ const _approuterheaders = require("../../client/components/app-router-headers");
24
+ const _httpaccessfallback = require("../../client/components/http-access-fallback/http-access-fallback");
25
+ const _redirect = require("../../client/components/redirect");
26
+ const _redirecterror = require("../../client/components/redirect-error");
27
+ const _renderresult = /*#__PURE__*/ _interop_require_default(require("../render-result"));
28
+ const _flightrenderresult = require("./flight-render-result");
29
+ const _utils = require("../lib/server-ipc/utils");
30
+ const _requestcookies = require("../web/spec-extension/adapters/request-cookies");
31
+ const _constants = require("../../lib/constants");
32
+ const _serveractionrequestmeta = require("../lib/server-action-request-meta");
33
+ const _csrfprotection = require("./csrf-protection");
34
+ const _log = require("../../build/output/log");
35
+ const _cookies = require("../web/spec-extension/cookies");
36
+ const _headers = require("../web/spec-extension/adapters/headers");
37
+ const _utils1 = require("../web/utils");
38
+ const _manifestssingleton = require("./manifests-singleton");
39
+ const _helpers = require("../base-http/helpers");
40
+ const _segmentexplorerpath = require("./segment-explorer-path");
41
+ const _serverreferenceinfo = require("../../shared/lib/server-reference-info");
42
+ const _redirectstatuscode = require("../../client/components/redirect-status-code");
43
+ const _requeststore = require("../async-storage/request-store");
44
+ const _workunitasyncstorageexternal = require("../app-render/work-unit-async-storage.external");
45
+ const _invarianterror = require("../../shared/lib/invariant-error");
46
+ const _revalidationutils = require("../revalidation-utils");
47
+ const _requestmeta = require("../request-meta");
48
+ const _setcachebustingsearchparam = require("../../client/components/router-reducer/set-cache-busting-search-param");
49
+ const _actionrevalidationkind = require("../../shared/lib/action-revalidation-kind");
50
+ const _cachebustingsearchparam = require("../../shared/lib/router/utils/cache-busting-search-param");
51
+ function _interop_require_default(obj) {
52
+ return obj && obj.__esModule ? obj : {
53
+ default: obj
54
+ };
55
+ }
56
+ const INLINE_ACTION_PREFIX = '$$RSC_SERVER_ACTION_';
57
+ /**
58
+ * Checks if the app has any server actions defined in any runtime.
59
+ */ function hasServerActions() {
60
+ const serverActionsManifest = (0, _manifestssingleton.getServerActionsManifest)();
61
+ return Object.keys(serverActionsManifest.node).length > 0 || Object.keys(serverActionsManifest.edge).length > 0;
62
+ }
63
+ function nodeHeadersToRecord(headers) {
64
+ const record = {};
65
+ for (const [key, value] of Object.entries(headers)){
66
+ if (value !== undefined) {
67
+ record[key] = Array.isArray(value) ? value.join(', ') : `${value}`;
68
+ }
69
+ }
70
+ return record;
71
+ }
72
+ function getForwardedHeaders(req, res) {
73
+ // Get request headers and cookies
74
+ const requestHeaders = req.headers;
75
+ const requestCookies = new _cookies.RequestCookies(_headers.HeadersAdapter.from(requestHeaders));
76
+ // Get response headers and cookies
77
+ const responseHeaders = res.getHeaders();
78
+ const responseCookies = new _cookies.ResponseCookies((0, _utils1.fromNodeOutgoingHttpHeaders)(responseHeaders));
79
+ // Merge request and response headers
80
+ const mergedHeaders = (0, _utils.filterReqHeaders)({
81
+ ...nodeHeadersToRecord(requestHeaders),
82
+ ...nodeHeadersToRecord(responseHeaders)
83
+ }, _utils.actionsForbiddenHeaders);
84
+ // Merge cookies into requestCookies, so responseCookies always take precedence
85
+ // and overwrite/delete those from requestCookies.
86
+ responseCookies.getAll().forEach((cookie)=>{
87
+ if (typeof cookie.value === 'undefined') {
88
+ requestCookies.delete(cookie.name);
89
+ } else {
90
+ requestCookies.set(cookie);
91
+ }
92
+ });
93
+ // Update the 'cookie' header with the merged cookies
94
+ mergedHeaders['cookie'] = requestCookies.toString();
95
+ // Remove headers that should not be forwarded
96
+ delete mergedHeaders['transfer-encoding'];
97
+ return new Headers(mergedHeaders);
98
+ }
99
+ function addRevalidationHeader(res, { workStore, requestStore }) {
100
+ var _workStore_pendingRevalidatedTags;
101
+ // If a tag was revalidated, the client router needs to invalidate all the
102
+ // client router cache as they may be stale. And if a path was revalidated, the
103
+ // client needs to invalidate all subtrees below that path.
104
+ // TODO: Currently we don't send the specific tags or paths to the client,
105
+ // we just send a flag indicating that all the static data on the client
106
+ // should be invalidated. In the future, this will likely be a Bloom filter
107
+ // or bitmask of some kind.
108
+ // TODO-APP: Currently the prefetch cache doesn't have subtree information,
109
+ // so we need to invalidate the entire cache if a path was revalidated.
110
+ // TODO-APP: Currently paths are treated as tags, so the second element of the tuple
111
+ // is always empty.
112
+ // Only count tags without a profile (updateTag) as requiring client cache invalidation
113
+ // Tags with a profile (revalidateTag) use stale-while-revalidate and shouldn't
114
+ // trigger immediate client-side cache invalidation
115
+ const isTagRevalidated = ((_workStore_pendingRevalidatedTags = workStore.pendingRevalidatedTags) == null ? void 0 : _workStore_pendingRevalidatedTags.some((item)=>item.profile === undefined)) ? 1 : 0;
116
+ const isCookieRevalidated = (0, _requestcookies.getModifiedCookieValues)(requestStore.mutableCookies).length ? 1 : 0;
117
+ // First check if a tag, cookie, or path was revalidated.
118
+ if (isTagRevalidated || isCookieRevalidated) {
119
+ res.setHeader(_approuterheaders.NEXT_ACTION_REVALIDATED_HEADER, JSON.stringify(_actionrevalidationkind.ActionDidRevalidateStaticAndDynamic));
120
+ } else if (// Check for refresh() actions. This will invalidate only the dynamic data.
121
+ workStore.pathWasRevalidated !== undefined && workStore.pathWasRevalidated !== _actionrevalidationkind.ActionDidNotRevalidate) {
122
+ res.setHeader(_approuterheaders.NEXT_ACTION_REVALIDATED_HEADER, JSON.stringify(workStore.pathWasRevalidated));
123
+ }
124
+ }
125
+ /**
126
+ * Forwards a server action request to a separate worker. Used when the requested action is not available in the current worker.
127
+ */ async function createForwardedActionResponse(req, res, host, workerPathname, basePath) {
128
+ var _getRequestMeta;
129
+ if (!host) {
130
+ throw Object.defineProperty(new Error('Invariant: Missing `host` header from a forwarded Server Actions request.'), "__NEXT_ERROR_CODE", {
131
+ value: "E226",
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ }
136
+ const forwardedHeaders = getForwardedHeaders(req, res);
137
+ // indicate that this action request was forwarded from another worker
138
+ // we use this to skip rendering the flight tree so that we don't update the UI
139
+ // with the response from the forwarded worker
140
+ forwardedHeaders.set('x-action-forwarded', '1');
141
+ const proto = ((_getRequestMeta = (0, _requestmeta.getRequestMeta)(req, 'initProtocol')) == null ? void 0 : _getRequestMeta.replace(/:+$/, '')) || 'https';
142
+ // For standalone or the serverful mode, use the internal origin directly
143
+ // other than the host headers from the request.
144
+ const origin = process.env.__NEXT_PRIVATE_ORIGIN || `${proto}://${host.value}`;
145
+ const fetchUrl = new URL(`${origin}${basePath}${workerPathname}`);
146
+ try {
147
+ var _response_headers_get, // Since we aren't consuming the response body, we cancel it to avoid memory leaks
148
+ _response_body;
149
+ let body;
150
+ if (// The type check here ensures that `req` is correctly typed, and the
151
+ // environment variable check provides dead code elimination.
152
+ process.env.NEXT_RUNTIME === 'edge' && (0, _helpers.isWebNextRequest)(req)) {
153
+ if (!req.body) {
154
+ throw Object.defineProperty(new Error('Invariant: missing request body.'), "__NEXT_ERROR_CODE", {
155
+ value: "E333",
156
+ enumerable: false,
157
+ configurable: true
158
+ });
159
+ }
160
+ body = req.body;
161
+ } else if (// The type check here ensures that `req` is correctly typed, and the
162
+ // environment variable check provides dead code elimination.
163
+ process.env.NEXT_RUNTIME !== 'edge' && (0, _helpers.isNodeNextRequest)(req)) {
164
+ body = req.stream();
165
+ } else {
166
+ throw Object.defineProperty(new Error('Invariant: Unknown request type.'), "__NEXT_ERROR_CODE", {
167
+ value: "E114",
168
+ enumerable: false,
169
+ configurable: true
170
+ });
171
+ }
172
+ // Forward the request to the new worker
173
+ const response = await fetch(fetchUrl, {
174
+ method: 'POST',
175
+ body,
176
+ duplex: 'half',
177
+ headers: forwardedHeaders,
178
+ redirect: 'manual',
179
+ next: {
180
+ // @ts-ignore
181
+ internal: 1
182
+ }
183
+ });
184
+ if ((_response_headers_get = response.headers.get('content-type')) == null ? void 0 : _response_headers_get.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER)) {
185
+ // copy the headers from the redirect response to the response we're sending
186
+ for (const [key, value] of response.headers){
187
+ if (!_utils.actionsForbiddenHeaders.includes(key)) {
188
+ res.setHeader(key, value);
189
+ }
190
+ }
191
+ return new _flightrenderresult.FlightRenderResult(response.body);
192
+ }
193
+ (_response_body = response.body) == null ? void 0 : _response_body.cancel();
194
+ // Pass the action-not-found marker through so the client throws
195
+ // UnrecognizedActionError instead of a generic "unexpected response".
196
+ if (response.headers.get(_approuterheaders.NEXT_ACTION_NOT_FOUND_HEADER) === '1') {
197
+ res.setHeader(_approuterheaders.NEXT_ACTION_NOT_FOUND_HEADER, '1');
198
+ res.setHeader('content-type', 'text/plain');
199
+ res.statusCode = 404;
200
+ return _renderresult.default.fromStatic('Server action not found.', 'text/plain');
201
+ }
202
+ } catch (err) {
203
+ // we couldn't stream the forwarded response, so we'll just return an empty response
204
+ console.error(`failed to forward action response`, err);
205
+ }
206
+ return _renderresult.default.fromStatic('{}', _constants.JSON_CONTENT_TYPE_HEADER);
207
+ }
208
+ /**
209
+ * Returns the parsed redirect URL if we deem that it is hosted by us.
210
+ *
211
+ * We handle both relative and absolute redirect URLs.
212
+ *
213
+ * In case the redirect URL is not relative to the application we return `null`.
214
+ */ function getAppRelativeRedirectUrl(basePath, host, redirectUrl, currentPathname) {
215
+ if (redirectUrl.startsWith('/')) {
216
+ // Absolute path - just add basePath
217
+ return new URL(`${basePath}${redirectUrl}`, 'http://n');
218
+ } else if (redirectUrl.startsWith('.')) {
219
+ // Relative path - resolve relative to current pathname
220
+ let base = currentPathname || '/';
221
+ // Ensure the base path ends with a slash so relative resolution works correctly
222
+ // e.g., "./subpage" from "/subdir" should resolve to "/subdir/subpage"
223
+ // not "/subpage"
224
+ if (!base.endsWith('/')) {
225
+ base = base + '/';
226
+ }
227
+ const resolved = new URL(redirectUrl, `http://n${base}`);
228
+ // Include basePath in the final URL
229
+ return new URL(`${basePath}${resolved.pathname}${resolved.search}${resolved.hash}`, 'http://n');
230
+ }
231
+ const parsedRedirectUrl = new URL(redirectUrl);
232
+ if ((host == null ? void 0 : host.value) !== parsedRedirectUrl.host) {
233
+ return null;
234
+ }
235
+ // At this point the hosts are the same, just confirm we
236
+ // are routing to a path underneath the `basePath`
237
+ return parsedRedirectUrl.pathname.startsWith(basePath) ? parsedRedirectUrl : null;
238
+ }
239
+ async function createRedirectRenderResult(req, res, originalHost, redirectUrl, redirectType, basePath, workStore, currentPathname) {
240
+ res.setHeader('x-action-redirect', `${redirectUrl};${redirectType}`);
241
+ // If we're redirecting to another route of this Next.js application, we'll
242
+ // try to stream the response from the other worker path. When that works,
243
+ // we can save an extra roundtrip and avoid a full page reload.
244
+ // When the redirect URL starts with a `/` or is to the same host, under the
245
+ // `basePath` we treat it as an app-relative redirect;
246
+ const appRelativeRedirectUrl = getAppRelativeRedirectUrl(basePath, originalHost, redirectUrl, currentPathname);
247
+ if (appRelativeRedirectUrl) {
248
+ var _getRequestMeta;
249
+ if (!originalHost) {
250
+ throw Object.defineProperty(new Error('Invariant: Missing `host` header from a forwarded Server Actions request.'), "__NEXT_ERROR_CODE", {
251
+ value: "E226",
252
+ enumerable: false,
253
+ configurable: true
254
+ });
255
+ }
256
+ const forwardedHeaders = getForwardedHeaders(req, res);
257
+ forwardedHeaders.set(_approuterheaders.RSC_HEADER, '1');
258
+ const proto = ((_getRequestMeta = (0, _requestmeta.getRequestMeta)(req, 'initProtocol')) == null ? void 0 : _getRequestMeta.replace(/:+$/, '')) || 'https';
259
+ // For standalone or the serverful mode, use the internal origin directly
260
+ // other than the host headers from the request.
261
+ const origin = process.env.__NEXT_PRIVATE_ORIGIN || `${proto}://${originalHost.value}`;
262
+ const fetchUrl = new URL(`${origin}${appRelativeRedirectUrl.pathname}${appRelativeRedirectUrl.search}`);
263
+ if (workStore.pendingRevalidatedTags) {
264
+ var _workStore_incrementalCache_prerenderManifest_preview, _workStore_incrementalCache_prerenderManifest, _workStore_incrementalCache;
265
+ forwardedHeaders.set(_constants.NEXT_CACHE_REVALIDATED_TAGS_HEADER, workStore.pendingRevalidatedTags.map((item)=>item.tag).join(','));
266
+ forwardedHeaders.set(_constants.NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER, ((_workStore_incrementalCache = workStore.incrementalCache) == null ? void 0 : (_workStore_incrementalCache_prerenderManifest = _workStore_incrementalCache.prerenderManifest) == null ? void 0 : (_workStore_incrementalCache_prerenderManifest_preview = _workStore_incrementalCache_prerenderManifest.preview) == null ? void 0 : _workStore_incrementalCache_prerenderManifest_preview.previewModeId) || '');
267
+ }
268
+ // Ensures that when the path was revalidated we don't return a partial response on redirects
269
+ forwardedHeaders.delete(_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER);
270
+ // When an action follows a redirect, it's no longer handling an action: it's just a normal RSC request
271
+ // to the requested URL. We should remove the `next-action` header so that it's not treated as an action
272
+ forwardedHeaders.delete(_approuterheaders.ACTION_HEADER);
273
+ try {
274
+ var _response_headers_get;
275
+ const cacheBustingSearchParam = await (0, _cachebustingsearchparam.computeCacheBustingSearchParam)(forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_PREFETCH_HEADER) ? '1' : undefined, forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER) ?? undefined, forwardedHeaders.get(_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER) ?? undefined, forwardedHeaders.get(_approuterheaders.NEXT_URL) ?? undefined);
276
+ (0, _setcachebustingsearchparam.setCacheBustingSearchParamWithHash)(fetchUrl, cacheBustingSearchParam);
277
+ const response = await fetch(fetchUrl, {
278
+ method: 'GET',
279
+ headers: forwardedHeaders,
280
+ next: {
281
+ // @ts-ignore
282
+ internal: 1
283
+ }
284
+ });
285
+ if ((_response_headers_get = response.headers.get('content-type')) == null ? void 0 : _response_headers_get.startsWith(_approuterheaders.RSC_CONTENT_TYPE_HEADER)) {
286
+ // copy the headers from the redirect response to the response we're sending
287
+ for (const [key, value] of response.headers){
288
+ if (!_utils.actionsForbiddenHeaders.includes(key)) {
289
+ res.setHeader(key, value);
290
+ }
291
+ }
292
+ return new _flightrenderresult.FlightRenderResult(response.body);
293
+ } else {
294
+ var // Since we aren't consuming the response body, we cancel it to avoid memory leaks
295
+ _response_body;
296
+ (_response_body = response.body) == null ? void 0 : _response_body.cancel();
297
+ }
298
+ } catch (err) {
299
+ // we couldn't stream the redirect response, so we'll just do a normal redirect
300
+ console.error(`failed to get redirect response`, err);
301
+ }
302
+ }
303
+ return _renderresult.default.EMPTY;
304
+ }
305
+ /**
306
+ * Ensures the value of the header can't create long logs.
307
+ */ function limitUntrustedHeaderValueForLogs(value) {
308
+ return value.length > 100 ? value.slice(0, 100) + '...' : value;
309
+ }
310
+ function parseHostHeader(headers, originDomain) {
311
+ var _forwardedHostHeader_split_, _forwardedHostHeader_split;
312
+ const forwardedHostHeader = headers['x-forwarded-host'];
313
+ const forwardedHostHeaderValue = forwardedHostHeader && Array.isArray(forwardedHostHeader) ? forwardedHostHeader[0] : forwardedHostHeader == null ? void 0 : (_forwardedHostHeader_split = forwardedHostHeader.split(',')) == null ? void 0 : (_forwardedHostHeader_split_ = _forwardedHostHeader_split[0]) == null ? void 0 : _forwardedHostHeader_split_.trim();
314
+ const hostHeader = headers['host'];
315
+ if (originDomain) {
316
+ return forwardedHostHeaderValue === originDomain ? {
317
+ type: "x-forwarded-host",
318
+ value: forwardedHostHeaderValue
319
+ } : hostHeader === originDomain ? {
320
+ type: "host",
321
+ value: hostHeader
322
+ } : undefined;
323
+ }
324
+ return forwardedHostHeaderValue ? {
325
+ type: "x-forwarded-host",
326
+ value: forwardedHostHeaderValue
327
+ } : hostHeader ? {
328
+ type: "host",
329
+ value: hostHeader
330
+ } : undefined;
331
+ }
332
+ async function handleAction({ req, res, ComponentMod, generateFlight, workStore, requestStore, serverActions, ctx, metadata }) {
333
+ const contentType = req.headers['content-type'];
334
+ const { page } = ctx.renderOpts;
335
+ const serverModuleMap = (0, _manifestssingleton.getServerModuleMap)();
336
+ const { actionId, isMultipartAction, isFetchAction, isURLEncodedAction, isPossibleServerAction } = (0, _serveractionrequestmeta.getServerActionRequestMetadata)(req);
337
+ const handleUnrecognizedFetchAction = (err)=>{
338
+ // If the deployment doesn't have skew protection, this is expected to occasionally happen,
339
+ // so we use a warning instead of an error.
340
+ console.warn(err);
341
+ // Return an empty response with a header that the client router will interpret.
342
+ // We don't need to waste time encoding a flight response, and using a blank body + header
343
+ // means that unrecognized actions can also be handled at the infra level
344
+ // (i.e. without needing to invoke a lambda)
345
+ res.setHeader(_approuterheaders.NEXT_ACTION_NOT_FOUND_HEADER, '1');
346
+ res.setHeader('content-type', 'text/plain');
347
+ res.statusCode = 404;
348
+ return {
349
+ type: 'done',
350
+ result: _renderresult.default.fromStatic('Server action not found.', 'text/plain')
351
+ };
352
+ };
353
+ // If it can't be a Server Action, skip handling.
354
+ // Note that this can be a false positive -- any multipart/urlencoded POST can get us here,
355
+ // But won't know if it's an MPA action or not until we call `decodeAction` below.
356
+ if (!isPossibleServerAction) {
357
+ return null;
358
+ }
359
+ // We don't currently support URL encoded actions, so we bail out early.
360
+ // Depending on if it's a fetch action or an MPA, we return a different response.
361
+ if (isURLEncodedAction) {
362
+ if (isFetchAction) {
363
+ return {
364
+ type: 'not-found'
365
+ };
366
+ } else {
367
+ // This is an MPA action, so we return null
368
+ return null;
369
+ }
370
+ }
371
+ // If the app has no server actions at all, we can 404 early.
372
+ if (!hasServerActions()) {
373
+ return handleUnrecognizedFetchAction(getActionNotFoundError(actionId));
374
+ }
375
+ if (workStore.isStaticGeneration) {
376
+ throw Object.defineProperty(new Error("Invariant: server actions can't be handled during static rendering"), "__NEXT_ERROR_CODE", {
377
+ value: "E359",
378
+ enumerable: false,
379
+ configurable: true
380
+ });
381
+ }
382
+ let temporaryReferences;
383
+ // When running actions the default is no-store, you can still `cache: 'force-cache'`
384
+ workStore.fetchCache = 'default-no-store';
385
+ const originHeader = req.headers['origin'];
386
+ const originHost = typeof originHeader === 'string' ? // However, these contexts can still send along credentials like cookies,
387
+ // so we need to check if they're allowed cross-origin requests.
388
+ originHeader === 'null' ? 'null' : new URL(originHeader).host : undefined;
389
+ const host = parseHostHeader(req.headers);
390
+ let warning = undefined;
391
+ function warnBadServerActionRequest() {
392
+ if (warning) {
393
+ (0, _log.warn)(warning);
394
+ }
395
+ }
396
+ // This is to prevent CSRF attacks. If `x-forwarded-host` is set, we need to
397
+ // ensure that the request is coming from the same host.
398
+ if (!originHost) {
399
+ // This is a handcrafted request without an origin or a request from an unsafe browser.
400
+ // We'll let this through but log a warning.
401
+ // We can't guard against unsafe browsers and handcrafted requests can't contain
402
+ // user credentials that haven't been shared willingly.
403
+ warning = 'Missing `origin` header from a forwarded Server Actions request.';
404
+ } else if (!host || originHost !== host.value) {
405
+ // If the customer sets a list of allowed origins, we'll allow the request.
406
+ // These are considered safe but might be different from forwarded host set
407
+ // by the infra (i.e. reverse proxies).
408
+ if ((0, _csrfprotection.isCsrfOriginAllowed)(originHost, serverActions == null ? void 0 : serverActions.allowedOrigins)) {
409
+ // Ignore it
410
+ } else {
411
+ if (host) {
412
+ // This seems to be an CSRF attack. We should not proceed the action.
413
+ console.error(`\`${host.type}\` header with value \`${limitUntrustedHeaderValueForLogs(host.value)}\` does not match \`origin\` header with value \`${limitUntrustedHeaderValueForLogs(originHost)}\` from a forwarded Server Actions request. Aborting the action.`);
414
+ } else {
415
+ // This is an attack. We should not proceed the action.
416
+ console.error(`\`x-forwarded-host\` or \`host\` headers are not provided. One of these is needed to compare the \`origin\` header from a forwarded Server Actions request. Aborting the action.`);
417
+ }
418
+ const error = Object.defineProperty(new Error('Invalid Server Actions request.'), "__NEXT_ERROR_CODE", {
419
+ value: "E80",
420
+ enumerable: false,
421
+ configurable: true
422
+ });
423
+ if (isFetchAction) {
424
+ res.statusCode = 500;
425
+ metadata.statusCode = 500;
426
+ const promise = Promise.reject(error);
427
+ try {
428
+ // we need to await the promise to trigger the rejection early
429
+ // so that it's already handled by the time we call
430
+ // the RSC runtime. Otherwise, it will throw an unhandled
431
+ // promise rejection error in the renderer.
432
+ await promise;
433
+ } catch {
434
+ // swallow error, it's gonna be handled on the client
435
+ }
436
+ return {
437
+ type: 'done',
438
+ result: await generateFlight(req, ctx, requestStore, {
439
+ actionResult: promise,
440
+ // We didn't execute an action, so no revalidations could have
441
+ // occurred. We can skip rendering the page.
442
+ skipPageRendering: true,
443
+ temporaryReferences
444
+ })
445
+ };
446
+ }
447
+ throw error;
448
+ }
449
+ }
450
+ // ensure we avoid caching server actions unexpectedly
451
+ res.setHeader('Cache-Control', 'no-cache, no-store, max-age=0, must-revalidate');
452
+ const { actionAsyncStorage } = ComponentMod;
453
+ const actionWasForwarded = Boolean(req.headers['x-action-forwarded']);
454
+ // Only attempt to forward if this request has not already been forwarded.
455
+ // Otherwise middleware that rewrites the action POST can cause the receiving
456
+ // worker to forward again, looping indefinitely.
457
+ if (actionId && !actionWasForwarded) {
458
+ const forwardedWorker = (0, _manifestssingleton.selectWorkerForForwarding)(actionId, page);
459
+ // If forwardedWorker is truthy, it means there isn't a worker for the
460
+ // action in the current handler, so we forward the request to a worker that
461
+ // has the action.
462
+ if (forwardedWorker) {
463
+ return {
464
+ type: 'done',
465
+ result: await createForwardedActionResponse(req, res, host, forwardedWorker, ctx.renderOpts.basePath)
466
+ };
467
+ }
468
+ }
469
+ try {
470
+ return await actionAsyncStorage.run({
471
+ isAction: true
472
+ }, async ()=>{
473
+ // We only use these for fetch actions -- MPA actions handle them inside `decodeAction`.
474
+ let actionModId;
475
+ let boundActionArguments = [];
476
+ if (// The type check here ensures that `req` is correctly typed, and the
477
+ // environment variable check provides dead code elimination.
478
+ process.env.NEXT_RUNTIME === 'edge' && (0, _helpers.isWebNextRequest)(req)) {
479
+ if (!req.body) {
480
+ throw Object.defineProperty(new Error('invariant: Missing request body.'), "__NEXT_ERROR_CODE", {
481
+ value: "E364",
482
+ enumerable: false,
483
+ configurable: true
484
+ });
485
+ }
486
+ // TODO: add body limit
487
+ // Use react-server-dom-webpack/server
488
+ const { createTemporaryReferenceSet, decodeReply, decodeAction, decodeFormState } = ComponentMod;
489
+ temporaryReferences = createTemporaryReferenceSet();
490
+ if (isMultipartAction) {
491
+ // TODO-APP: Add streaming support
492
+ const formData = await req.request.formData();
493
+ if (isFetchAction) {
494
+ // A fetch action with a multipart body.
495
+ try {
496
+ actionModId = getActionModIdOrError(actionId, serverModuleMap);
497
+ } catch (err) {
498
+ return handleUnrecognizedFetchAction(err);
499
+ }
500
+ boundActionArguments = await decodeReply(formData, serverModuleMap, {
501
+ temporaryReferences
502
+ });
503
+ } else {
504
+ // Multipart POST, but not a fetch action.
505
+ // Potentially an MPA action, we have to try decoding it to check.
506
+ if (areAllActionIdsValid(formData, serverModuleMap) === false) {
507
+ // TODO: This can be from skew or manipulated input. We should handle this case
508
+ // more gracefully but this preserves the prior behavior where decodeAction would throw instead.
509
+ throw Object.defineProperty(new Error(`Failed to find Server Action. This request might be from an older or newer deployment.\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`), "__NEXT_ERROR_CODE", {
510
+ value: "E975",
511
+ enumerable: false,
512
+ configurable: true
513
+ });
514
+ }
515
+ const action = await decodeAction(formData, serverModuleMap);
516
+ if (typeof action === 'function') {
517
+ // an MPA action.
518
+ // Only warn if it's a server action, otherwise skip for other post requests
519
+ warnBadServerActionRequest();
520
+ const { actionResult } = await executeActionAndPrepareForRender(action, [], workStore, requestStore, actionWasForwarded);
521
+ const formState = await decodeFormState(actionResult, formData, serverModuleMap);
522
+ // Skip the fetch path.
523
+ // We need to render a full HTML version of the page for the response, we'll handle that in app-render.
524
+ return {
525
+ type: 'done',
526
+ result: undefined,
527
+ formState
528
+ };
529
+ } else {
530
+ // We couldn't decode an action, so this POST request turned out not to be a server action request.
531
+ return null;
532
+ }
533
+ }
534
+ } else {
535
+ // POST with non-multipart body.
536
+ // If it's not multipart AND not a fetch action,
537
+ // then it can't be an action request.
538
+ if (!isFetchAction) {
539
+ return null;
540
+ }
541
+ try {
542
+ actionModId = getActionModIdOrError(actionId, serverModuleMap);
543
+ } catch (err) {
544
+ return handleUnrecognizedFetchAction(err);
545
+ }
546
+ // A fetch action with a non-multipart body.
547
+ // In practice, this happens if `encodeReply` returned a string instead of FormData,
548
+ // which can happen for very simple JSON-like values that don't need multiple flight rows.
549
+ const chunks = [];
550
+ const reader = req.body.getReader();
551
+ while(true){
552
+ const { done, value } = await reader.read();
553
+ if (done) {
554
+ break;
555
+ }
556
+ chunks.push(value);
557
+ }
558
+ const actionData = Buffer.concat(chunks).toString('utf-8');
559
+ boundActionArguments = await decodeReply(actionData, serverModuleMap, {
560
+ temporaryReferences
561
+ });
562
+ }
563
+ } else if (// The type check here ensures that `req` is correctly typed, and the
564
+ // environment variable check provides dead code elimination.
565
+ process.env.NEXT_RUNTIME !== 'edge' && (0, _helpers.isNodeNextRequest)(req)) {
566
+ // Use react-server-dom-webpack/server.node which supports streaming
567
+ const { createTemporaryReferenceSet, decodeReply, decodeReplyFromBusboy, decodeAction, decodeFormState } = require(`./react-server.node`);
568
+ temporaryReferences = createTemporaryReferenceSet();
569
+ const { PassThrough, Readable, Transform } = require('node:stream');
570
+ const { pipeline } = require('node:stream/promises');
571
+ // If actionBody was stashed in request meta (from parsing the postponed
572
+ // state prefix in minimal mode), use it instead of req.body
573
+ const actionBodyFromMeta = (0, _requestmeta.getRequestMeta)(req, 'actionBody');
574
+ const body = actionBodyFromMeta ? Readable.from(actionBodyFromMeta) : req.body;
575
+ const defaultBodySizeLimit = '1 MB';
576
+ const bodySizeLimit = (serverActions == null ? void 0 : serverActions.bodySizeLimit) ?? defaultBodySizeLimit;
577
+ const bodySizeLimitBytes = bodySizeLimit !== defaultBodySizeLimit ? require('next/dist/compiled/bytes').parse(bodySizeLimit) : 1024 * 1024 // 1 MB
578
+ ;
579
+ let size = 0;
580
+ const sizeLimitTransform = new Transform({
581
+ transform (chunk, encoding, callback) {
582
+ size += Buffer.byteLength(chunk, encoding);
583
+ if (size > bodySizeLimitBytes) {
584
+ const { ApiError } = require('../api-utils');
585
+ callback(Object.defineProperty(new ApiError(413, `Body exceeded ${bodySizeLimit} limit.\n` + `To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit`), "__NEXT_ERROR_CODE", {
586
+ value: "E394",
587
+ enumerable: false,
588
+ configurable: true
589
+ }));
590
+ return;
591
+ }
592
+ callback(null, chunk);
593
+ }
594
+ });
595
+ if (isMultipartAction) {
596
+ if (isFetchAction) {
597
+ // A fetch action with a multipart body.
598
+ try {
599
+ actionModId = getActionModIdOrError(actionId, serverModuleMap);
600
+ } catch (err) {
601
+ return handleUnrecognizedFetchAction(err);
602
+ }
603
+ const busboy = require('next/dist/compiled/busboy')({
604
+ defParamCharset: 'utf8',
605
+ headers: req.headers,
606
+ limits: {
607
+ fieldSize: bodySizeLimitBytes
608
+ }
609
+ });
610
+ const abortController = new AbortController();
611
+ try {
612
+ ;
613
+ [, boundActionArguments] = await Promise.all([
614
+ pipeline(body, sizeLimitTransform, busboy, {
615
+ signal: abortController.signal
616
+ }),
617
+ decodeReplyFromBusboy(busboy, serverModuleMap, {
618
+ temporaryReferences
619
+ })
620
+ ]);
621
+ } catch (err) {
622
+ abortController.abort();
623
+ throw err;
624
+ }
625
+ } else {
626
+ // Multipart POST, but not a fetch action.
627
+ // Potentially an MPA action, we have to try decoding it to check.
628
+ const sizeLimitedBody = new PassThrough();
629
+ // React doesn't yet publish a busboy version of decodeAction
630
+ // so we polyfill the parsing of FormData.
631
+ const fakeRequest = new Request('http://localhost', {
632
+ method: 'POST',
633
+ // @ts-expect-error
634
+ headers: {
635
+ 'Content-Type': contentType
636
+ },
637
+ body: Readable.toWeb(sizeLimitedBody),
638
+ duplex: 'half'
639
+ });
640
+ let formData;
641
+ const abortController = new AbortController();
642
+ try {
643
+ ;
644
+ [, formData] = await Promise.all([
645
+ pipeline(body, sizeLimitTransform, sizeLimitedBody, {
646
+ signal: abortController.signal
647
+ }),
648
+ fakeRequest.formData()
649
+ ]);
650
+ } catch (err) {
651
+ abortController.abort();
652
+ throw err;
653
+ }
654
+ if (areAllActionIdsValid(formData, serverModuleMap) === false) {
655
+ // TODO: This can be from skew or manipulated input. We should handle this case
656
+ // more gracefully but this preserves the prior behavior where decodeAction would throw instead.
657
+ throw Object.defineProperty(new Error(`Failed to find Server Action. This request might be from an older or newer deployment.\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`), "__NEXT_ERROR_CODE", {
658
+ value: "E975",
659
+ enumerable: false,
660
+ configurable: true
661
+ });
662
+ }
663
+ // TODO: Refactor so it is harder to accidentally decode an action before you have validated that the
664
+ // action referred to is available.
665
+ const action = await decodeAction(formData, serverModuleMap);
666
+ if (typeof action === 'function') {
667
+ // an MPA action.
668
+ // Only warn if it's a server action, otherwise skip for other post requests
669
+ warnBadServerActionRequest();
670
+ const { actionResult } = await executeActionAndPrepareForRender(action, [], workStore, requestStore, actionWasForwarded);
671
+ const formState = await decodeFormState(actionResult, formData, serverModuleMap);
672
+ // Skip the fetch path.
673
+ // We need to render a full HTML version of the page for the response, we'll handle that in app-render.
674
+ return {
675
+ type: 'done',
676
+ result: undefined,
677
+ formState
678
+ };
679
+ } else {
680
+ // We couldn't decode an action, so this POST request turned out not to be a server action request.
681
+ return null;
682
+ }
683
+ }
684
+ } else {
685
+ // POST with non-multipart body.
686
+ // If it's not multipart AND not a fetch action,
687
+ // then it can't be an action request.
688
+ if (!isFetchAction) {
689
+ return null;
690
+ }
691
+ try {
692
+ actionModId = getActionModIdOrError(actionId, serverModuleMap);
693
+ } catch (err) {
694
+ return handleUnrecognizedFetchAction(err);
695
+ }
696
+ // A fetch action with a non-multipart body.
697
+ // In practice, this happens if `encodeReply` returned a string instead of FormData,
698
+ // which can happen for very simple JSON-like values that don't need multiple flight rows.
699
+ const sizeLimitedBody = new PassThrough();
700
+ const chunks = [];
701
+ await Promise.all([
702
+ pipeline(body, sizeLimitTransform, sizeLimitedBody),
703
+ (async ()=>{
704
+ for await (const chunk of sizeLimitedBody){
705
+ chunks.push(Buffer.from(chunk));
706
+ }
707
+ })()
708
+ ]);
709
+ const actionData = Buffer.concat(chunks).toString('utf-8');
710
+ boundActionArguments = await decodeReply(actionData, serverModuleMap, {
711
+ temporaryReferences
712
+ });
713
+ }
714
+ } else {
715
+ throw Object.defineProperty(new Error('Invariant: Unknown request type.'), "__NEXT_ERROR_CODE", {
716
+ value: "E114",
717
+ enumerable: false,
718
+ configurable: true
719
+ });
720
+ }
721
+ // actions.js
722
+ // app/page.js
723
+ // action worker1
724
+ // appRender1
725
+ // app/foo/page.js
726
+ // action worker2
727
+ // appRender
728
+ // / -> fire action -> POST / -> appRender1 -> modId for the action file
729
+ // /foo -> fire action -> POST /foo -> appRender2 -> modId for the action file
730
+ const actionMod = await ComponentMod.__next_app__.require(actionModId);
731
+ const actionHandler = actionMod[// `actionId` must exist if we got here, as otherwise we would have thrown an error above
732
+ actionId];
733
+ // Log server action call in development when enabled
734
+ let logInfo = null;
735
+ const { type: actionType } = (0, _serverreferenceinfo.extractInfoFromServerReferenceId)(actionId);
736
+ if (process.env.NODE_ENV === 'development' && ctx.renderOpts.logServerFunctions && // TODO: For now, skip logging for 'use cache' Server Functions as the
737
+ // output needs more work, or a different approach entirely.
738
+ actionType !== 'use-cache') {
739
+ var _serverActionsManifest_runtime;
740
+ const serverActionsManifest = (0, _manifestssingleton.getServerActionsManifest)();
741
+ const runtime = process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node';
742
+ const actionInfo = (_serverActionsManifest_runtime = serverActionsManifest[runtime]) == null ? void 0 : _serverActionsManifest_runtime[actionId];
743
+ if (actionInfo) {
744
+ var _actionInfo_exportedName;
745
+ const isInlineAction = (_actionInfo_exportedName = actionInfo.exportedName) == null ? void 0 : _actionInfo_exportedName.startsWith(INLINE_ACTION_PREFIX);
746
+ const projectDir = ctx.renderOpts.dir || (process.env.NEXT_RUNTIME === 'edge' ? '' : process.cwd());
747
+ const location = (0, _segmentexplorerpath.normalizeFilePath)(projectDir, actionInfo.filename);
748
+ // Format function name for display
749
+ let functionName;
750
+ if (isInlineAction) {
751
+ functionName = '<inline action>';
752
+ } else if (actionInfo.exportedName === 'default') {
753
+ functionName = 'default';
754
+ } else {
755
+ functionName = actionInfo.exportedName || '<action>';
756
+ }
757
+ logInfo = {
758
+ functionName,
759
+ args: boundActionArguments,
760
+ location
761
+ };
762
+ }
763
+ }
764
+ const startTime = performance.now();
765
+ const { actionResult, skipPageRendering } = await executeActionAndPrepareForRender(actionHandler, boundActionArguments, workStore, requestStore, actionWasForwarded).finally(()=>{
766
+ addRevalidationHeader(res, {
767
+ workStore,
768
+ requestStore
769
+ });
770
+ if (logInfo) {
771
+ // Store server action log info to be logged after the request log
772
+ const duration = Math.round(performance.now() - startTime);
773
+ (0, _requestmeta.addRequestMeta)(req, 'devServerActionLog', {
774
+ functionName: logInfo.functionName,
775
+ args: logInfo.args,
776
+ location: logInfo.location,
777
+ duration
778
+ });
779
+ }
780
+ });
781
+ // For form actions, we need to continue rendering the page.
782
+ if (isFetchAction) {
783
+ // If we skip page rendering, we need to ensure pending revalidates
784
+ // are awaited before closing the response. Otherwise, this will be
785
+ // done after rendering the page.
786
+ const maybeRevalidatesPromise = skipPageRendering ? (0, _revalidationutils.executeRevalidates)(workStore) : false;
787
+ return {
788
+ type: 'done',
789
+ result: await generateFlight(req, ctx, requestStore, {
790
+ actionResult: Promise.resolve(actionResult),
791
+ skipPageRendering,
792
+ temporaryReferences,
793
+ waitUntil: maybeRevalidatesPromise === false ? undefined : maybeRevalidatesPromise
794
+ })
795
+ };
796
+ } else {
797
+ // TODO: this shouldn't be reachable, because all non-fetch codepaths return early.
798
+ // this will be handled in a follow-up refactor PR.
799
+ return null;
800
+ }
801
+ });
802
+ } catch (err) {
803
+ if ((0, _redirecterror.isRedirectError)(err)) {
804
+ const redirectUrl = (0, _redirect.getURLFromRedirectError)(err);
805
+ const redirectType = (0, _redirect.getRedirectTypeFromError)(err);
806
+ // if it's a fetch action, we'll set the status code for logging/debugging purposes
807
+ // but we won't set a Location header, as the redirect will be handled by the client router
808
+ res.statusCode = _redirectstatuscode.RedirectStatusCode.SeeOther;
809
+ metadata.statusCode = _redirectstatuscode.RedirectStatusCode.SeeOther;
810
+ if (isFetchAction) {
811
+ return {
812
+ type: 'done',
813
+ result: await createRedirectRenderResult(req, res, host, redirectUrl, redirectType, ctx.renderOpts.basePath, workStore, requestStore.url.pathname)
814
+ };
815
+ }
816
+ // For an MPA action, the redirect doesn't need a body, just a Location header.
817
+ res.setHeader('Location', redirectUrl);
818
+ return {
819
+ type: 'done',
820
+ result: _renderresult.default.EMPTY
821
+ };
822
+ } else if ((0, _httpaccessfallback.isHTTPAccessFallbackError)(err)) {
823
+ res.statusCode = (0, _httpaccessfallback.getAccessFallbackHTTPStatus)(err);
824
+ metadata.statusCode = res.statusCode;
825
+ if (isFetchAction) {
826
+ const promise = Promise.reject(err);
827
+ try {
828
+ // we need to await the promise to trigger the rejection early
829
+ // so that it's already handled by the time we call
830
+ // the RSC runtime. Otherwise, it will throw an unhandled
831
+ // promise rejection error in the renderer.
832
+ await promise;
833
+ } catch {
834
+ // swallow error, it's gonna be handled on the client
835
+ }
836
+ return {
837
+ type: 'done',
838
+ result: await generateFlight(req, ctx, requestStore, {
839
+ skipPageRendering: false,
840
+ actionResult: promise,
841
+ temporaryReferences
842
+ })
843
+ };
844
+ }
845
+ // For an MPA action, we need to render a HTML response. We'll handle that in app-render.
846
+ return {
847
+ type: 'not-found'
848
+ };
849
+ }
850
+ // An error that didn't come from `redirect()` or `notFound()`, likely thrown from user code
851
+ // (but it could also be a bug in our code!)
852
+ if (isFetchAction) {
853
+ // TODO: consider checking if the error is an `ApiError` and change status code
854
+ // so that we can respond with a 413 to requests that break the body size limit
855
+ // (but if we do that, we also need to make sure that whatever handles the non-fetch error path below does the same)
856
+ res.statusCode = 500;
857
+ metadata.statusCode = 500;
858
+ const promise = Promise.reject(err);
859
+ try {
860
+ // we need to await the promise to trigger the rejection early
861
+ // so that it's already handled by the time we call
862
+ // the RSC runtime. Otherwise, it will throw an unhandled
863
+ // promise rejection error in the renderer.
864
+ await promise;
865
+ } catch {
866
+ // swallow error, it's gonna be handled on the client
867
+ }
868
+ return {
869
+ type: 'done',
870
+ result: await generateFlight(req, ctx, requestStore, {
871
+ actionResult: promise,
872
+ // If the page was not revalidated, or if the action was forwarded
873
+ // from another worker, we can skip rendering the page.
874
+ skipPageRendering: workStore.pathWasRevalidated === undefined || workStore.pathWasRevalidated === _actionrevalidationkind.ActionDidNotRevalidate || actionWasForwarded,
875
+ temporaryReferences
876
+ })
877
+ };
878
+ }
879
+ // For an MPA action, we need to render a HTML response. We'll rethrow the error and let it be handled above.
880
+ throw err;
881
+ }
882
+ }
883
+ /**
884
+ * Limit on the number of arguments passed to a server action. This prevents
885
+ * stack overflow during `action.apply()` from malicious requests.
886
+ */ const SERVER_ACTION_ARGS_LIMIT = 1000;
887
+ async function executeActionAndPrepareForRender(action, args, workStore, requestStore, actionWasForwarded) {
888
+ requestStore.phase = 'action';
889
+ let skipPageRendering = actionWasForwarded;
890
+ if (args.length > SERVER_ACTION_ARGS_LIMIT) {
891
+ throw Object.defineProperty(new Error(`Server Action arguments list is too long (${args.length}). Maximum allowed is ${SERVER_ACTION_ARGS_LIMIT}.`), "__NEXT_ERROR_CODE", {
892
+ value: "E986",
893
+ enumerable: false,
894
+ configurable: true
895
+ });
896
+ }
897
+ try {
898
+ const actionResult = await _workunitasyncstorageexternal.workUnitAsyncStorage.run(requestStore, ()=>action.apply(null, args));
899
+ // If the page was not revalidated, or if the action was forwarded from
900
+ // another worker, we can skip rendering the page.
901
+ skipPageRendering ||= workStore.pathWasRevalidated === undefined || workStore.pathWasRevalidated === _actionrevalidationkind.ActionDidNotRevalidate;
902
+ return {
903
+ actionResult,
904
+ skipPageRendering
905
+ };
906
+ } finally{
907
+ if (!skipPageRendering) {
908
+ requestStore.phase = 'render';
909
+ // When we switch to the render phase, cookies() will return
910
+ // `workUnitStore.cookies` instead of
911
+ // `workUnitStore.userspaceMutableCookies`. We want the render to see any
912
+ // cookie writes that we performed during the action, so we need to update
913
+ // the immutable cookies to reflect the changes.
914
+ (0, _requeststore.synchronizeMutableCookies)(requestStore);
915
+ // The server action might have toggled draft mode, so we need to reflect
916
+ // that in the work store to be up-to-date for subsequent rendering.
917
+ workStore.isDraftMode = requestStore.draftMode.isEnabled;
918
+ // If the action called revalidateTag/revalidatePath, then that might
919
+ // affect data used by the subsequent render, so we need to make sure all
920
+ // revalidations are applied before that.
921
+ await (0, _revalidationutils.executeRevalidates)(workStore);
922
+ }
923
+ }
924
+ }
925
+ /**
926
+ * Attempts to find the module ID for the action from the module map. When this fails, it could be a deployment skew where
927
+ * the action came from a different deployment. It could also simply be an invalid POST request that is not a server action.
928
+ * In either case, we'll throw an error to be handled by the caller.
929
+ */ function getActionModIdOrError(actionId, serverModuleMap) {
930
+ var _serverModuleMap_actionId;
931
+ // if we're missing the action ID header, we can't do any further processing
932
+ if (!actionId) {
933
+ throw Object.defineProperty(new _invarianterror.InvariantError("Missing 'next-action' header."), "__NEXT_ERROR_CODE", {
934
+ value: "E664",
935
+ enumerable: false,
936
+ configurable: true
937
+ });
938
+ }
939
+ const actionModId = (_serverModuleMap_actionId = serverModuleMap[actionId]) == null ? void 0 : _serverModuleMap_actionId.id;
940
+ if (!actionModId) {
941
+ throw getActionNotFoundError(actionId);
942
+ }
943
+ return actionModId;
944
+ }
945
+ function getActionNotFoundError(actionId) {
946
+ return Object.defineProperty(new Error(`Failed to find Server Action${actionId ? ` "${actionId}"` : ''}. This request might be from an older or newer deployment.\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action`), "__NEXT_ERROR_CODE", {
947
+ value: "E974",
948
+ enumerable: false,
949
+ configurable: true
950
+ });
951
+ }
952
+ const $ACTION_ = '$ACTION_';
953
+ const $ACTION_REF_ = '$ACTION_REF_';
954
+ const $ACTION_ID_ = '$ACTION_ID_';
955
+ const ACTION_ID_EXPECTED_LENGTH = 42;
956
+ /**
957
+ * This function mirrors logic inside React's decodeAction and should be kept in sync with that.
958
+ * It pre-parses the FormData to ensure that any action IDs referred to are actual action IDs for
959
+ * this Next.js application.
960
+ */ function areAllActionIdsValid(mpaFormData, serverModuleMap) {
961
+ let hasAtLeastOneAction = false;
962
+ // Before we attempt to decode the payload for a possible MPA action, assert that all
963
+ // action IDs are valid IDs. If not we should disregard the payload
964
+ for (let key of mpaFormData.keys()){
965
+ if (!key.startsWith($ACTION_)) {
966
+ continue;
967
+ }
968
+ if (key.startsWith($ACTION_ID_)) {
969
+ // No Bound args case
970
+ if (isInvalidActionIdFieldName(key, serverModuleMap)) {
971
+ return false;
972
+ }
973
+ hasAtLeastOneAction = true;
974
+ } else if (key.startsWith($ACTION_REF_)) {
975
+ // Bound args case
976
+ const actionDescriptorField = $ACTION_ + key.slice($ACTION_REF_.length) + ':0';
977
+ const actionFields = mpaFormData.getAll(actionDescriptorField);
978
+ if (actionFields.length !== 1) {
979
+ return false;
980
+ }
981
+ const actionField = actionFields[0];
982
+ if (typeof actionField !== 'string') {
983
+ return false;
984
+ }
985
+ if (isInvalidStringActionDescriptor(actionField, serverModuleMap)) {
986
+ return false;
987
+ }
988
+ hasAtLeastOneAction = true;
989
+ }
990
+ }
991
+ return hasAtLeastOneAction;
992
+ }
993
+ const ACTION_DESCRIPTOR_ID_PREFIX = '{"id":"';
994
+ function isInvalidStringActionDescriptor(actionDescriptor, serverModuleMap) {
995
+ if (actionDescriptor.startsWith(ACTION_DESCRIPTOR_ID_PREFIX) === false) {
996
+ return true;
997
+ }
998
+ const from = ACTION_DESCRIPTOR_ID_PREFIX.length;
999
+ const to = from + ACTION_ID_EXPECTED_LENGTH;
1000
+ // We expect actionDescriptor to be '{"id":"<actionId>",...}'
1001
+ const actionId = actionDescriptor.slice(from, to);
1002
+ if (actionId.length !== ACTION_ID_EXPECTED_LENGTH || actionDescriptor[to] !== '"') {
1003
+ return true;
1004
+ }
1005
+ const entry = serverModuleMap[actionId];
1006
+ if (entry == null) {
1007
+ return true;
1008
+ }
1009
+ return false;
1010
+ }
1011
+ function isInvalidActionIdFieldName(actionIdFieldName, serverModuleMap) {
1012
+ // The field name must always start with $ACTION_ID_ but since it is
1013
+ // the id is extracted from the key of the field we have already validated
1014
+ // this before entering this function
1015
+ if (actionIdFieldName.length !== $ACTION_ID_.length + ACTION_ID_EXPECTED_LENGTH) {
1016
+ // this field name has too few or too many characters
1017
+ return true;
1018
+ }
1019
+ const actionId = actionIdFieldName.slice($ACTION_ID_.length);
1020
+ const entry = serverModuleMap[actionId];
1021
+ if (entry == null) {
1022
+ return true;
1023
+ }
1024
+ return false;
1025
+ }
1026
+
1027
+ //# sourceMappingURL=action-handler.js.map