dev3000 0.0.60 → 0.0.62

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 (201) hide show
  1. package/README.md +4 -0
  2. package/dist/cdp-monitor.d.ts +2 -1
  3. package/dist/cdp-monitor.d.ts.map +1 -1
  4. package/dist/cdp-monitor.js +34 -17
  5. package/dist/cdp-monitor.js.map +1 -1
  6. package/dist/cli.js +105 -13
  7. package/dist/cli.js.map +1 -1
  8. package/dist/dev-environment.d.ts +3 -0
  9. package/dist/dev-environment.d.ts.map +1 -1
  10. package/dist/dev-environment.js +93 -34
  11. package/dist/dev-environment.js.map +1 -1
  12. package/dist/services/parsers/error-detectors/base.d.ts +24 -0
  13. package/dist/services/parsers/error-detectors/base.d.ts.map +1 -0
  14. package/dist/services/parsers/error-detectors/base.js +44 -0
  15. package/dist/services/parsers/error-detectors/base.js.map +1 -0
  16. package/dist/services/parsers/error-detectors/index.d.ts +6 -0
  17. package/dist/services/parsers/error-detectors/index.d.ts.map +1 -0
  18. package/dist/services/parsers/error-detectors/index.js +6 -0
  19. package/dist/services/parsers/error-detectors/index.js.map +1 -0
  20. package/dist/services/parsers/error-detectors/nextjs.d.ts +9 -0
  21. package/dist/services/parsers/error-detectors/nextjs.d.ts.map +1 -0
  22. package/dist/services/parsers/error-detectors/nextjs.js +52 -0
  23. package/dist/services/parsers/error-detectors/nextjs.js.map +1 -0
  24. package/dist/services/parsers/index.d.ts +8 -0
  25. package/dist/services/parsers/index.d.ts.map +1 -0
  26. package/dist/services/parsers/index.js +10 -0
  27. package/dist/services/parsers/index.js.map +1 -0
  28. package/dist/services/parsers/log-parsers/base.d.ts +26 -0
  29. package/dist/services/parsers/log-parsers/base.d.ts.map +1 -0
  30. package/dist/services/parsers/log-parsers/base.js +6 -0
  31. package/dist/services/parsers/log-parsers/base.js.map +1 -0
  32. package/dist/services/parsers/log-parsers/index.d.ts +6 -0
  33. package/dist/services/parsers/log-parsers/index.d.ts.map +1 -0
  34. package/dist/services/parsers/log-parsers/index.js +5 -0
  35. package/dist/services/parsers/log-parsers/index.js.map +1 -0
  36. package/dist/services/parsers/log-parsers/standard.d.ts +9 -0
  37. package/dist/services/parsers/log-parsers/standard.d.ts.map +1 -0
  38. package/dist/services/parsers/log-parsers/standard.js +17 -0
  39. package/dist/services/parsers/log-parsers/standard.js.map +1 -0
  40. package/dist/services/parsers/output-processor.d.ts +39 -0
  41. package/dist/services/parsers/output-processor.d.ts.map +1 -0
  42. package/dist/services/parsers/output-processor.js +54 -0
  43. package/dist/services/parsers/output-processor.js.map +1 -0
  44. package/mcp-server/.next/BUILD_ID +1 -1
  45. package/mcp-server/.next/app-build-manifest.json +56 -15
  46. package/mcp-server/.next/build/chunks/[root-of-the-server]__974941ed._.js +2 -10
  47. package/mcp-server/.next/build/chunks/[root-of-the-server]__974941ed._.js.map +4 -4
  48. package/mcp-server/.next/build/chunks/[root-of-the-server]__c7ae8543._.js +2 -10
  49. package/mcp-server/.next/build/chunks/[root-of-the-server]__c7ae8543._.js.map +4 -4
  50. package/mcp-server/.next/build/chunks/node_modules__pnpm_806d01c0._.js +10 -35
  51. package/mcp-server/.next/build/chunks/node_modules__pnpm_806d01c0._.js.map +9 -9
  52. package/mcp-server/.next/build-manifest.json +9 -12
  53. package/mcp-server/.next/cache/.previewinfo +1 -1
  54. package/mcp-server/.next/cache/.rscinfo +1 -1
  55. package/mcp-server/.next/cache/.tsbuildinfo +1 -1
  56. package/mcp-server/.next/fallback-build-manifest.json +2 -2
  57. package/mcp-server/.next/prerender-manifest.json +106 -4
  58. package/mcp-server/.next/routes-manifest.json +82 -1
  59. package/mcp-server/.next/server/app/_global-error.html +2 -2
  60. package/mcp-server/.next/server/app/_global-error.rsc +1 -1
  61. package/mcp-server/.next/server/app/_not-found/page/app-build-manifest.json +1 -1
  62. package/mcp-server/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  63. package/mcp-server/.next/server/app/_not-found.html +1 -1
  64. package/mcp-server/.next/server/app/_not-found.rsc +2 -2
  65. package/mcp-server/.next/server/app/api/tools/route/app-build-manifest.json +6 -9
  66. package/mcp-server/.next/server/app/api/tools/route/build-manifest.json +7 -10
  67. package/mcp-server/.next/server/app/api/tools/route.js +5 -4
  68. package/mcp-server/.next/server/app/index.html +1 -1
  69. package/mcp-server/.next/server/app/index.rsc +3 -3
  70. package/mcp-server/.next/server/app/logs/page/app-build-manifest.json +1 -1
  71. package/mcp-server/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  72. package/mcp-server/.next/server/app/page/app-build-manifest.json +10 -15
  73. package/mcp-server/.next/server/app/page/build-manifest.json +7 -10
  74. package/mcp-server/.next/server/app/page.js +9 -7
  75. package/mcp-server/.next/server/app/page_client-reference-manifest.js +1 -1
  76. package/mcp-server/.next/server/app/replay/page/app-build-manifest.json +1 -1
  77. package/mcp-server/.next/server/app/replay/page_client-reference-manifest.js +1 -1
  78. package/mcp-server/.next/server/app/replay.html +1 -1
  79. package/mcp-server/.next/server/app/replay.rsc +2 -2
  80. package/mcp-server/.next/server/app-paths-manifest.json +15 -1
  81. package/mcp-server/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js.map +1 -1
  82. package/mcp-server/.next/server/chunks/[root-of-the-server]__82298dd3._.js.map +1 -1
  83. package/mcp-server/.next/server/chunks/_next-internal_server_app_api_tools_route_actions_4a0d5a18.js +1 -5
  84. package/mcp-server/.next/server/chunks/_next-internal_server_app_api_tools_route_actions_4a0d5a18.js.map +1 -6
  85. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_forbidden_7b57efa5.js +1 -30
  86. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_forbidden_7b57efa5.js.map +1 -6
  87. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_global-error_118601bd.js +1 -22
  88. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_global-error_118601bd.js.map +1 -8
  89. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_unauthorized_6614f15c.js +1 -30
  90. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_builtin_unauthorized_6614f15c.js.map +1 -6
  91. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_f453b63e._.js +1 -148
  92. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_client_components_f453b63e._.js.map +1 -8
  93. package/mcp-server/.next/server/chunks/ssr/_dc26a647._.js +1 -1
  94. package/mcp-server/.next/server/chunks/ssr/_dc26a647._.js.map +1 -1
  95. package/mcp-server/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js +1 -5
  96. package/mcp-server/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js.map +1 -6
  97. package/mcp-server/.next/server/middleware-build-manifest.js +7 -10
  98. package/mcp-server/.next/server/pages/404.html +1 -1
  99. package/mcp-server/.next/server/pages/500.html +2 -2
  100. package/mcp-server/.next/server/pages-manifest.json +4 -1
  101. package/mcp-server/.next/server/server-reference-manifest.js +1 -1
  102. package/mcp-server/.next/server/server-reference-manifest.json +1 -1
  103. package/mcp-server/.next/standalone/.next/BUILD_ID +1 -1
  104. package/mcp-server/.next/standalone/.next/app-build-manifest.json +5 -5
  105. package/mcp-server/.next/standalone/.next/build-manifest.json +2 -2
  106. package/mcp-server/.next/standalone/.next/prerender-manifest.json +16 -16
  107. package/mcp-server/.next/standalone/.next/server/app/_global-error.html +2 -2
  108. package/mcp-server/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  109. package/mcp-server/.next/standalone/.next/server/app/_not-found/page/app-build-manifest.json +1 -1
  110. package/mcp-server/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  111. package/mcp-server/.next/standalone/.next/server/app/_not-found.html +1 -1
  112. package/mcp-server/.next/standalone/.next/server/app/_not-found.rsc +2 -2
  113. package/mcp-server/.next/standalone/.next/server/app/index.html +1 -1
  114. package/mcp-server/.next/standalone/.next/server/app/index.rsc +3 -3
  115. package/mcp-server/.next/standalone/.next/server/app/logs/page/app-build-manifest.json +1 -1
  116. package/mcp-server/.next/standalone/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  117. package/mcp-server/.next/standalone/.next/server/app/page/app-build-manifest.json +2 -2
  118. package/mcp-server/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  119. package/mcp-server/.next/standalone/.next/server/app/replay/page/app-build-manifest.json +1 -1
  120. package/mcp-server/.next/standalone/.next/server/app/replay/page_client-reference-manifest.js +1 -1
  121. package/mcp-server/.next/standalone/.next/server/app/replay.html +1 -1
  122. package/mcp-server/.next/standalone/.next/server/app/replay.rsc +2 -2
  123. package/mcp-server/.next/standalone/.next/server/chunks/ssr/_dc26a647._.js +1 -1
  124. package/mcp-server/.next/standalone/.next/server/pages/404.html +1 -1
  125. package/mcp-server/.next/standalone/.next/server/pages/500.html +2 -2
  126. package/mcp-server/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  127. package/mcp-server/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  128. package/mcp-server/.next/standalone/app/api/mcp/[transport]/route.ts +93 -91
  129. package/mcp-server/.next/static/chunks/{5dfb96bedc33a0a5.css → 6634762c4edabf25.css} +1 -1
  130. package/mcp-server/.next/static/chunks/aac71a4d8cd0d1d1.js +1 -0
  131. package/mcp-server/.next/trace +1 -3
  132. package/package.json +1 -1
  133. package/mcp-server/.next/server/chunks/0916f_next_c68840f1._.js +0 -14728
  134. package/mcp-server/.next/server/chunks/0916f_next_c68840f1._.js.map +0 -118
  135. package/mcp-server/.next/server/chunks/[root-of-the-server]__3dccd82a._.js +0 -248
  136. package/mcp-server/.next/server/chunks/[root-of-the-server]__3dccd82a._.js.map +0 -6
  137. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_76a62e93._.js +0 -5831
  138. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_76a62e93._.js.map +0 -89
  139. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_d231ced7._.js +0 -15764
  140. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_d231ced7._.js.map +0 -145
  141. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_dbf009ef._.js +0 -9174
  142. package/mcp-server/.next/server/chunks/ssr/0916f_next_dist_dbf009ef._.js.map +0 -51
  143. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__1aaf5479._.js +0 -38
  144. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__1aaf5479._.js.map +0 -5
  145. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__7f148858._.js +0 -62
  146. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__7f148858._.js.map +0 -5
  147. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__95719760._.js +0 -54
  148. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__95719760._.js.map +0 -8
  149. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__b1782a10._.js +0 -813
  150. package/mcp-server/.next/server/chunks/ssr/[root-of-the-server]__b1782a10._.js.map +0 -6
  151. package/mcp-server/.next/server/chunks/ssr/[turbopack]_browser_dev_hmr-client_hmr-client_ts_818f0fdf._.js +0 -467
  152. package/mcp-server/.next/server/chunks/ssr/[turbopack]_browser_dev_hmr-client_hmr-client_ts_818f0fdf._.js.map +0 -6
  153. package/mcp-server/.next/server/chunks/ssr/[turbopack]_browser_dev_hmr-client_hmr-client_ts_89c5f8e8._.js +0 -12
  154. package/mcp-server/.next/server/chunks/ssr/[turbopack]_browser_dev_hmr-client_hmr-client_ts_89c5f8e8._.js.map +0 -5
  155. package/mcp-server/.next/server/chunks/ssr/_9c0d7aa1._.js +0 -100
  156. package/mcp-server/.next/server/chunks/ssr/_9c0d7aa1._.js.map +0 -7
  157. package/mcp-server/.next/server/chunks/ssr/node_modules__pnpm_cc7262c5._.js +0 -13866
  158. package/mcp-server/.next/server/chunks/ssr/node_modules__pnpm_cc7262c5._.js.map +0 -152
  159. package/mcp-server/.next/server/chunks/ssr/node_modules__pnpm_da0d0a14._.js +0 -13866
  160. package/mcp-server/.next/server/chunks/ssr/node_modules__pnpm_da0d0a14._.js.map +0 -152
  161. package/mcp-server/.next/static/chunks/0916f_next_dist_2e70ccdb._.js +0 -4068
  162. package/mcp-server/.next/static/chunks/0916f_next_dist_2e70ccdb._.js.map +0 -64
  163. package/mcp-server/.next/static/chunks/0916f_next_dist_b3493ca8._.js +0 -2780
  164. package/mcp-server/.next/static/chunks/0916f_next_dist_b3493ca8._.js.map +0 -27
  165. package/mcp-server/.next/static/chunks/0916f_next_dist_build_polyfills_polyfill-nomodule.js +0 -1
  166. package/mcp-server/.next/static/chunks/0916f_next_dist_client_components_builtin_global-error_80971850.js +0 -7
  167. package/mcp-server/.next/static/chunks/0916f_next_dist_client_d3483330._.js +0 -10175
  168. package/mcp-server/.next/static/chunks/0916f_next_dist_client_d3483330._.js.map +0 -103
  169. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_8cc8c301._.js +0 -5009
  170. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_8cc8c301._.js.map +0 -21
  171. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_next-devtools_index_94228adb.js +0 -30477
  172. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_next-devtools_index_94228adb.js.map +0 -6
  173. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_react-dom_c74e1e00._.js +0 -14617
  174. package/mcp-server/.next/static/chunks/0916f_next_dist_compiled_react-dom_c74e1e00._.js.map +0 -9
  175. package/mcp-server/.next/static/chunks/1c2c4101e46d1c5e.js +0 -1
  176. package/mcp-server/.next/static/chunks/69652_@swc_helpers_cjs_77b72907._.js +0 -85
  177. package/mcp-server/.next/static/chunks/69652_@swc_helpers_cjs_77b72907._.js.map +0 -10
  178. package/mcp-server/.next/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_29af464a._.js +0 -7
  179. package/mcp-server/.next/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js +0 -476
  180. package/mcp-server/.next/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_c8c997ce._.js.map +0 -6
  181. package/mcp-server/.next/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_d335a95d._.js +0 -13
  182. package/mcp-server/.next/static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_d335a95d._.js.map +0 -5
  183. package/mcp-server/.next/static/chunks/_9429dbc3._.js +0 -2117
  184. package/mcp-server/.next/static/chunks/_9429dbc3._.js.map +0 -16
  185. package/mcp-server/.next/static/chunks/_a0ff3932._.js +0 -13
  186. package/mcp-server/.next/static/chunks/_efaa0516._.js.map +0 -10
  187. package/mcp-server/.next/static/chunks/app_244179ef._.css +0 -4548
  188. package/mcp-server/.next/static/chunks/app_244179ef._.css.map +0 -7
  189. package/mcp-server/.next/static/chunks/app_compiled_css_bad6b30c._.single.css +0 -2117
  190. package/mcp-server/.next/static/chunks/app_compiled_css_bad6b30c._.single.css.map +0 -6
  191. package/mcp-server/.next/static/chunks/app_globals_css_bad6b30c._.single.css +0 -2432
  192. package/mcp-server/.next/static/chunks/app_globals_css_bad6b30c._.single.css.map +0 -6
  193. package/mcp-server/.next/static/chunks/app_layout_tsx_80971850._.js +0 -7
  194. package/mcp-server/.next/static/chunks/app_page_tsx_6ea10ef3._.js +0 -7
  195. package/mcp-server/.next/static/chunks/turbopack-_efaa0516._.js +0 -1836
  196. package/mcp-server/.next/static/development/_ssgManifest.js +0 -1
  197. package/mcp-server/.next/static/vcdr8uFblpN3gCi_831po/_buildManifest.js +0 -11
  198. package/mcp-server/.next/static/vcdr8uFblpN3gCi_831po/_clientMiddlewareManifest.json +0 -1
  199. /package/mcp-server/.next/static/{development → fgx2Ltd5vbloYUQlVKX60}/_buildManifest.js +0 -0
  200. /package/mcp-server/.next/static/{development → fgx2Ltd5vbloYUQlVKX60}/_clientMiddlewareManifest.json +0 -0
  201. /package/mcp-server/.next/static/{vcdr8uFblpN3gCi_831po → fgx2Ltd5vbloYUQlVKX60}/_ssgManifest.js +0 -0
@@ -1,4068 +0,0 @@
1
- (globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
2
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3
- "use strict";
4
-
5
- var _global_process, _global_process1;
6
- module.exports = ((_global_process = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process.env) && typeof ((_global_process1 = /*TURBOPACK member replacement*/ __turbopack_context__.g.process) == null ? void 0 : _global_process1.env) === 'object' ? /*TURBOPACK member replacement*/ __turbopack_context__.g.process : __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/process/browser.js [app-client] (ecmascript)"); //# sourceMappingURL=process.js.map
7
- }),
8
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/polyfill-module.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
9
-
10
- "trimStart" in String.prototype || (String.prototype.trimStart = String.prototype.trimLeft), "trimEnd" in String.prototype || (String.prototype.trimEnd = String.prototype.trimRight), "description" in Symbol.prototype || Object.defineProperty(Symbol.prototype, "description", {
11
- configurable: !0,
12
- get: function() {
13
- var t = /\((.*)\)/.exec(this.toString());
14
- return t ? t[1] : void 0;
15
- }
16
- }), Array.prototype.flat || (Array.prototype.flat = function(t, r) {
17
- return r = this.concat.apply([], this), t > 1 && r.some(Array.isArray) ? r.flat(t - 1) : r;
18
- }, Array.prototype.flatMap = function(t, r) {
19
- return this.map(t, r).flat();
20
- }), Promise.prototype.finally || (Promise.prototype.finally = function(t) {
21
- if ("function" != typeof t) return this.then(t, t);
22
- var r = this.constructor || Promise;
23
- return this.then(function(n) {
24
- return r.resolve(t()).then(function() {
25
- return n;
26
- });
27
- }, function(n) {
28
- return r.resolve(t()).then(function() {
29
- throw n;
30
- });
31
- });
32
- }), Object.fromEntries || (Object.fromEntries = function(t) {
33
- return Array.from(t).reduce(function(t, r) {
34
- return t[r[0]] = r[1], t;
35
- }, {});
36
- }), Array.prototype.at || (Array.prototype.at = function(t) {
37
- var r = Math.trunc(t) || 0;
38
- if (r < 0 && (r += this.length), !(r < 0 || r >= this.length)) return this[r];
39
- }), Object.hasOwn || (Object.hasOwn = function(t, r) {
40
- if (null == t) throw new TypeError("Cannot convert undefined or null to object");
41
- return Object.prototype.hasOwnProperty.call(Object(t), r);
42
- }), "canParse" in URL || (URL.canParse = function(t, r) {
43
- try {
44
- return !!new URL(t, r);
45
- } catch (t) {
46
- return !1;
47
- }
48
- });
49
- }),
50
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
51
- "use strict";
52
-
53
- Object.defineProperty(exports, "__esModule", {
54
- value: true
55
- });
56
- Object.defineProperty(exports, "InvariantError", {
57
- enumerable: true,
58
- get: function() {
59
- return InvariantError;
60
- }
61
- });
62
- class InvariantError extends Error {
63
- constructor(message, options){
64
- super("Invariant: " + (message.endsWith('.') ? message : message + '.') + " This is a bug in Next.js.", options);
65
- this.name = 'InvariantError';
66
- }
67
- } //# sourceMappingURL=invariant-error.js.map
68
- }),
69
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/is-plain-object.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
70
- "use strict";
71
-
72
- Object.defineProperty(exports, "__esModule", {
73
- value: true
74
- });
75
- 0 && (module.exports = {
76
- getObjectClassLabel: null,
77
- isPlainObject: null
78
- });
79
- function _export(target, all) {
80
- for(var name in all)Object.defineProperty(target, name, {
81
- enumerable: true,
82
- get: all[name]
83
- });
84
- }
85
- _export(exports, {
86
- getObjectClassLabel: function() {
87
- return getObjectClassLabel;
88
- },
89
- isPlainObject: function() {
90
- return isPlainObject;
91
- }
92
- });
93
- function getObjectClassLabel(value) {
94
- return Object.prototype.toString.call(value);
95
- }
96
- function isPlainObject(value) {
97
- if (getObjectClassLabel(value) !== '[object Object]') {
98
- return false;
99
- }
100
- const prototype = Object.getPrototypeOf(value);
101
- /**
102
- * this used to be previously:
103
- *
104
- * `return prototype === null || prototype === Object.prototype`
105
- *
106
- * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.
107
- *
108
- * It was changed to the current implementation since it's resilient to serialization.
109
- */ return prototype === null || prototype.hasOwnProperty('isPrototypeOf');
110
- } //# sourceMappingURL=is-plain-object.js.map
111
- }),
112
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
113
- "use strict";
114
-
115
- // This has to be a shared module which is shared between client component error boundary and dynamic component
116
- Object.defineProperty(exports, "__esModule", {
117
- value: true
118
- });
119
- 0 && (module.exports = {
120
- BailoutToCSRError: null,
121
- isBailoutToCSRError: null
122
- });
123
- function _export(target, all) {
124
- for(var name in all)Object.defineProperty(target, name, {
125
- enumerable: true,
126
- get: all[name]
127
- });
128
- }
129
- _export(exports, {
130
- BailoutToCSRError: function() {
131
- return BailoutToCSRError;
132
- },
133
- isBailoutToCSRError: function() {
134
- return isBailoutToCSRError;
135
- }
136
- });
137
- const BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING';
138
- class BailoutToCSRError extends Error {
139
- constructor(reason){
140
- super("Bail out to client-side rendering: " + reason), this.reason = reason, this.digest = BAILOUT_TO_CSR;
141
- }
142
- }
143
- function isBailoutToCSRError(err) {
144
- if (typeof err !== 'object' || err === null || !('digest' in err)) {
145
- return false;
146
- }
147
- return err.digest === BAILOUT_TO_CSR;
148
- } //# sourceMappingURL=bailout-to-csr.js.map
149
- }),
150
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/error-source.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
151
- "use strict";
152
-
153
- Object.defineProperty(exports, "__esModule", {
154
- value: true
155
- });
156
- 0 && (module.exports = {
157
- decorateServerError: null,
158
- getErrorSource: null
159
- });
160
- function _export(target, all) {
161
- for(var name in all)Object.defineProperty(target, name, {
162
- enumerable: true,
163
- get: all[name]
164
- });
165
- }
166
- _export(exports, {
167
- decorateServerError: function() {
168
- return decorateServerError;
169
- },
170
- getErrorSource: function() {
171
- return getErrorSource;
172
- }
173
- });
174
- const symbolError = Symbol.for('NextjsError');
175
- function getErrorSource(error) {
176
- return error[symbolError] || null;
177
- }
178
- function decorateServerError(error, type) {
179
- Object.defineProperty(error, symbolError, {
180
- writable: false,
181
- enumerable: false,
182
- configurable: false,
183
- value: type
184
- });
185
- } //# sourceMappingURL=error-source.js.map
186
- }),
187
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
188
- "use strict";
189
-
190
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
191
- "use strict";
192
- Object.defineProperty(exports, "__esModule", {
193
- value: true
194
- });
195
- Object.defineProperty(exports, "HeadManagerContext", {
196
- enumerable: true,
197
- get: function() {
198
- return HeadManagerContext;
199
- }
200
- });
201
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
202
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
203
- const HeadManagerContext = _react.default.createContext({});
204
- if ("TURBOPACK compile-time truthy", 1) {
205
- HeadManagerContext.displayName = 'HeadManagerContext';
206
- } //# sourceMappingURL=head-manager-context.shared-runtime.js.map
207
- }),
208
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
209
- "use strict";
210
-
211
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
212
- 'use client';
213
- "use strict";
214
- Object.defineProperty(exports, "__esModule", {
215
- value: true
216
- });
217
- 0 && (module.exports = {
218
- PathParamsContext: null,
219
- PathnameContext: null,
220
- SearchParamsContext: null
221
- });
222
- function _export(target, all) {
223
- for(var name in all)Object.defineProperty(target, name, {
224
- enumerable: true,
225
- get: all[name]
226
- });
227
- }
228
- _export(exports, {
229
- PathParamsContext: function() {
230
- return PathParamsContext;
231
- },
232
- PathnameContext: function() {
233
- return PathnameContext;
234
- },
235
- SearchParamsContext: function() {
236
- return SearchParamsContext;
237
- }
238
- });
239
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
240
- const SearchParamsContext = (0, _react.createContext)(null);
241
- const PathnameContext = (0, _react.createContext)(null);
242
- const PathParamsContext = (0, _react.createContext)(null);
243
- if ("TURBOPACK compile-time truthy", 1) {
244
- SearchParamsContext.displayName = 'SearchParamsContext';
245
- PathnameContext.displayName = 'PathnameContext';
246
- PathParamsContext.displayName = 'PathParamsContext';
247
- } //# sourceMappingURL=hooks-client-context.shared-runtime.js.map
248
- }),
249
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/html-bots.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
250
- "use strict";
251
-
252
- // This regex contains the bots that we need to do a blocking render for and can't safely stream the response
253
- // due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.
254
- // Note: The pattern [\w-]+-Google captures all Google crawlers with "-Google" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)
255
- // as well as crawlers starting with "Google-" (e.g., Google-PageRenderer, Google-InspectionTool)
256
- Object.defineProperty(exports, "__esModule", {
257
- value: true
258
- });
259
- Object.defineProperty(exports, "HTML_LIMITED_BOT_UA_RE", {
260
- enumerable: true,
261
- get: function() {
262
- return HTML_LIMITED_BOT_UA_RE;
263
- }
264
- });
265
- const HTML_LIMITED_BOT_UA_RE = /[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i; //# sourceMappingURL=html-bots.js.map
266
- }),
267
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/is-bot.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
268
- "use strict";
269
-
270
- Object.defineProperty(exports, "__esModule", {
271
- value: true
272
- });
273
- 0 && (module.exports = {
274
- HTML_LIMITED_BOT_UA_RE: null,
275
- HTML_LIMITED_BOT_UA_RE_STRING: null,
276
- getBotType: null,
277
- isBot: null
278
- });
279
- function _export(target, all) {
280
- for(var name in all)Object.defineProperty(target, name, {
281
- enumerable: true,
282
- get: all[name]
283
- });
284
- }
285
- _export(exports, {
286
- HTML_LIMITED_BOT_UA_RE: function() {
287
- return _htmlbots.HTML_LIMITED_BOT_UA_RE;
288
- },
289
- HTML_LIMITED_BOT_UA_RE_STRING: function() {
290
- return HTML_LIMITED_BOT_UA_RE_STRING;
291
- },
292
- getBotType: function() {
293
- return getBotType;
294
- },
295
- isBot: function() {
296
- return isBot;
297
- }
298
- });
299
- const _htmlbots = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/html-bots.js [app-client] (ecmascript)");
300
- // Bot crawler that will spin up a headless browser and execute JS.
301
- // Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.
302
- // x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers
303
- // This regex specifically matches "Googlebot" but NOT "Mediapartners-Google", "AdsBot-Google", etc.
304
- const HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i;
305
- const HTML_LIMITED_BOT_UA_RE_STRING = _htmlbots.HTML_LIMITED_BOT_UA_RE.source;
306
- function isDomBotUA(userAgent) {
307
- return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent);
308
- }
309
- function isHtmlLimitedBotUA(userAgent) {
310
- return _htmlbots.HTML_LIMITED_BOT_UA_RE.test(userAgent);
311
- }
312
- function isBot(userAgent) {
313
- return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent);
314
- }
315
- function getBotType(userAgent) {
316
- if (isDomBotUA(userAgent)) {
317
- return 'dom';
318
- }
319
- if (isHtmlLimitedBotUA(userAgent)) {
320
- return 'html';
321
- }
322
- return undefined;
323
- } //# sourceMappingURL=is-bot.js.map
324
- }),
325
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/is-thenable.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
326
- "use strict";
327
-
328
- /**
329
- * Check to see if a value is Thenable.
330
- *
331
- * @param promise the maybe-thenable value
332
- * @returns true if the value is thenable
333
- */ Object.defineProperty(exports, "__esModule", {
334
- value: true
335
- });
336
- Object.defineProperty(exports, "isThenable", {
337
- enumerable: true,
338
- get: function() {
339
- return isThenable;
340
- }
341
- });
342
- function isThenable(promise) {
343
- return promise !== null && typeof promise === 'object' && 'then' in promise && typeof promise.then === 'function';
344
- } //# sourceMappingURL=is-thenable.js.map
345
- }),
346
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
347
- "use strict";
348
-
349
- Object.defineProperty(exports, "__esModule", {
350
- value: true
351
- });
352
- 0 && (module.exports = {
353
- DEFAULT_SEGMENT_KEY: null,
354
- PAGE_SEGMENT_KEY: null,
355
- addSearchParamsIfPageSegment: null,
356
- isGroupSegment: null,
357
- isParallelRouteSegment: null
358
- });
359
- function _export(target, all) {
360
- for(var name in all)Object.defineProperty(target, name, {
361
- enumerable: true,
362
- get: all[name]
363
- });
364
- }
365
- _export(exports, {
366
- DEFAULT_SEGMENT_KEY: function() {
367
- return DEFAULT_SEGMENT_KEY;
368
- },
369
- PAGE_SEGMENT_KEY: function() {
370
- return PAGE_SEGMENT_KEY;
371
- },
372
- addSearchParamsIfPageSegment: function() {
373
- return addSearchParamsIfPageSegment;
374
- },
375
- isGroupSegment: function() {
376
- return isGroupSegment;
377
- },
378
- isParallelRouteSegment: function() {
379
- return isParallelRouteSegment;
380
- }
381
- });
382
- function isGroupSegment(segment) {
383
- // Use array[0] for performant purpose
384
- return segment[0] === '(' && segment.endsWith(')');
385
- }
386
- function isParallelRouteSegment(segment) {
387
- return segment.startsWith('@') && segment !== '@children';
388
- }
389
- function addSearchParamsIfPageSegment(segment, searchParams) {
390
- const isPageSegment = segment.includes(PAGE_SEGMENT_KEY);
391
- if (isPageSegment) {
392
- const stringifiedQuery = JSON.stringify(searchParams);
393
- return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY;
394
- }
395
- return segment;
396
- }
397
- const PAGE_SEGMENT_KEY = '__PAGE__';
398
- const DEFAULT_SEGMENT_KEY = '__DEFAULT__'; //# sourceMappingURL=segment.js.map
399
- }),
400
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/hash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
401
- "use strict";
402
-
403
- // http://www.cse.yorku.ca/~oz/hash.html
404
- // More specifically, 32-bit hash via djbxor
405
- // (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)
406
- // This is due to number type differences between rust for turbopack to js number types,
407
- // where rust does not have easy way to repreesnt js's 53-bit float number type for the matching
408
- // overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation
409
- // as can gaurantee determinstic output from 32bit hash.
410
- Object.defineProperty(exports, "__esModule", {
411
- value: true
412
- });
413
- 0 && (module.exports = {
414
- djb2Hash: null,
415
- hexHash: null
416
- });
417
- function _export(target, all) {
418
- for(var name in all)Object.defineProperty(target, name, {
419
- enumerable: true,
420
- get: all[name]
421
- });
422
- }
423
- _export(exports, {
424
- djb2Hash: function() {
425
- return djb2Hash;
426
- },
427
- hexHash: function() {
428
- return hexHash;
429
- }
430
- });
431
- function djb2Hash(str) {
432
- let hash = 5381;
433
- for(let i = 0; i < str.length; i++){
434
- const char = str.charCodeAt(i);
435
- hash = (hash << 5) + hash + char & 0xffffffff;
436
- }
437
- return hash >>> 0;
438
- }
439
- function hexHash(str) {
440
- return djb2Hash(str).toString(36).slice(0, 5);
441
- } //# sourceMappingURL=hash.js.map
442
- }),
443
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
444
- "use strict";
445
-
446
- Object.defineProperty(exports, "__esModule", {
447
- value: true
448
- });
449
- Object.defineProperty(exports, "computeCacheBustingSearchParam", {
450
- enumerable: true,
451
- get: function() {
452
- return computeCacheBustingSearchParam;
453
- }
454
- });
455
- const _hash = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/hash.js [app-client] (ecmascript)");
456
- function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {
457
- if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) {
458
- return '';
459
- }
460
- return (0, _hash.hexHash)([
461
- prefetchHeader || '0',
462
- segmentPrefetchHeader || '0',
463
- stateTreeHeader || '0',
464
- nextUrlHeader || '0'
465
- ].join(','));
466
- } //# sourceMappingURL=cache-busting-search-param.js.map
467
- }),
468
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
469
- "use strict";
470
-
471
- Object.defineProperty(exports, "__esModule", {
472
- value: true
473
- });
474
- 0 && (module.exports = {
475
- ROOT_SEGMENT_CACHE_KEY: null,
476
- ROOT_SEGMENT_REQUEST_KEY: null,
477
- appendSegmentCacheKeyPart: null,
478
- appendSegmentRequestKeyPart: null,
479
- convertSegmentPathToStaticExportFilename: null,
480
- createSegmentCacheKeyPart: null,
481
- createSegmentRequestKeyPart: null
482
- });
483
- function _export(target, all) {
484
- for(var name in all)Object.defineProperty(target, name, {
485
- enumerable: true,
486
- get: all[name]
487
- });
488
- }
489
- _export(exports, {
490
- ROOT_SEGMENT_CACHE_KEY: function() {
491
- return ROOT_SEGMENT_CACHE_KEY;
492
- },
493
- ROOT_SEGMENT_REQUEST_KEY: function() {
494
- return ROOT_SEGMENT_REQUEST_KEY;
495
- },
496
- appendSegmentCacheKeyPart: function() {
497
- return appendSegmentCacheKeyPart;
498
- },
499
- appendSegmentRequestKeyPart: function() {
500
- return appendSegmentRequestKeyPart;
501
- },
502
- convertSegmentPathToStaticExportFilename: function() {
503
- return convertSegmentPathToStaticExportFilename;
504
- },
505
- createSegmentCacheKeyPart: function() {
506
- return createSegmentCacheKeyPart;
507
- },
508
- createSegmentRequestKeyPart: function() {
509
- return createSegmentRequestKeyPart;
510
- }
511
- });
512
- const _segment = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)");
513
- const ROOT_SEGMENT_REQUEST_KEY = '';
514
- const ROOT_SEGMENT_CACHE_KEY = '';
515
- function createSegmentRequestKeyPart(segment) {
516
- if (typeof segment === 'string') {
517
- if (segment.startsWith(_segment.PAGE_SEGMENT_KEY)) {
518
- // The Flight Router State type sometimes includes the search params in
519
- // the page segment. However, the Segment Cache tracks this as a separate
520
- // key. So, we strip the search params here, and then add them back when
521
- // the cache entry is turned back into a FlightRouterState. This is an
522
- // unfortunate consequence of the FlightRouteState being used both as a
523
- // transport type and as a cache key; we'll address this once more of the
524
- // Segment Cache implementation has settled.
525
- // TODO: We should hoist the search params out of the FlightRouterState
526
- // type entirely, This is our plan for dynamic route params, too.
527
- return _segment.PAGE_SEGMENT_KEY;
528
- }
529
- const safeName = // But params typically don't include the leading slash. We should use
530
- // a different encoding to avoid this special case.
531
- segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment);
532
- // Since this is not a dynamic segment, it's fully encoded. It does not
533
- // need to be "hydrated" with a param value.
534
- return safeName;
535
- }
536
- const name = segment[0];
537
- const paramType = segment[2];
538
- const safeName = encodeToFilesystemAndURLSafeString(name);
539
- const encodedName = '$' + paramType + '$' + safeName;
540
- return encodedName;
541
- }
542
- function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) {
543
- // Aside from being filesystem safe, segment keys are also designed so that
544
- // each segment and parallel route creates its own subdirectory. Roughly in
545
- // the same shape as the source app directory. This is mostly just for easier
546
- // debugging (you can open up the build folder and navigate the output); if
547
- // we wanted to do we could just use a flat structure.
548
- // Omit the parallel route key for children, since this is the most
549
- // common case. Saves some bytes (and it's what the app directory does).
550
- const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : "@" + encodeToFilesystemAndURLSafeString(parallelRouteKey) + "/" + childRequestKeyPart;
551
- return parentRequestKey + '/' + slotKey;
552
- }
553
- function createSegmentCacheKeyPart(requestKeyPart, segment) {
554
- if (typeof segment === 'string') {
555
- return requestKeyPart;
556
- }
557
- const paramValue = segment[1];
558
- const safeValue = encodeToFilesystemAndURLSafeString(paramValue);
559
- return requestKeyPart + '$' + safeValue;
560
- }
561
- function appendSegmentCacheKeyPart(parentSegmentKey, parallelRouteKey, childCacheKeyPart) {
562
- const slotKey = parallelRouteKey === 'children' ? childCacheKeyPart : "@" + encodeToFilesystemAndURLSafeString(parallelRouteKey) + "/" + childCacheKeyPart;
563
- return parentSegmentKey + '/' + slotKey;
564
- }
565
- // Define a regex pattern to match the most common characters found in a route
566
- // param. It excludes anything that might not be cross-platform filesystem
567
- // compatible, like |. It does not need to be precise because the fallback is to
568
- // just base64url-encode the whole parameter, which is fine; we just don't do it
569
- // by default for compactness, and for easier debugging.
570
- const simpleParamValueRegex = /^[a-zA-Z0-9\-_@]+$/;
571
- function encodeToFilesystemAndURLSafeString(value) {
572
- if (simpleParamValueRegex.test(value)) {
573
- return value;
574
- }
575
- // If there are any unsafe characters, base64url-encode the entire value.
576
- // We also add a ! prefix so it doesn't collide with the simple case.
577
- const base64url = btoa(value).replace(/\+/g, '-') // Replace '+' with '-'
578
- .replace(/\//g, '_') // Replace '/' with '_'
579
- .replace(/=+$/, '') // Remove trailing '='
580
- ;
581
- return '!' + base64url;
582
- }
583
- function convertSegmentPathToStaticExportFilename(segmentPath) {
584
- return "__next" + segmentPath.replace(/\//g, '.') + ".txt";
585
- } //# sourceMappingURL=segment-value-encoding.js.map
586
- }),
587
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
588
- "use strict";
589
-
590
- /**
591
- * For a given page path, this function ensures that there is a leading slash.
592
- * If there is not a leading slash, one is added, otherwise it is noop.
593
- */ Object.defineProperty(exports, "__esModule", {
594
- value: true
595
- });
596
- Object.defineProperty(exports, "ensureLeadingSlash", {
597
- enumerable: true,
598
- get: function() {
599
- return ensureLeadingSlash;
600
- }
601
- });
602
- function ensureLeadingSlash(path) {
603
- return path.startsWith('/') ? path : "/" + path;
604
- } //# sourceMappingURL=ensure-leading-slash.js.map
605
- }),
606
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/app-paths.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
607
- "use strict";
608
-
609
- Object.defineProperty(exports, "__esModule", {
610
- value: true
611
- });
612
- 0 && (module.exports = {
613
- normalizeAppPath: null,
614
- normalizeRscURL: null
615
- });
616
- function _export(target, all) {
617
- for(var name in all)Object.defineProperty(target, name, {
618
- enumerable: true,
619
- get: all[name]
620
- });
621
- }
622
- _export(exports, {
623
- normalizeAppPath: function() {
624
- return normalizeAppPath;
625
- },
626
- normalizeRscURL: function() {
627
- return normalizeRscURL;
628
- }
629
- });
630
- const _ensureleadingslash = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js [app-client] (ecmascript)");
631
- const _segment = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/segment.js [app-client] (ecmascript)");
632
- function normalizeAppPath(route) {
633
- return (0, _ensureleadingslash.ensureLeadingSlash)(route.split('/').reduce((pathname, segment, index, segments)=>{
634
- // Empty segments are ignored.
635
- if (!segment) {
636
- return pathname;
637
- }
638
- // Groups are ignored.
639
- if ((0, _segment.isGroupSegment)(segment)) {
640
- return pathname;
641
- }
642
- // Parallel segments are ignored.
643
- if (segment[0] === '@') {
644
- return pathname;
645
- }
646
- // The last segment (if it's a leaf) should be ignored.
647
- if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {
648
- return pathname;
649
- }
650
- return pathname + "/" + segment;
651
- }, ''));
652
- }
653
- function normalizeRscURL(url) {
654
- return url.replace(/\.rsc($|\?)/, '$1');
655
- } //# sourceMappingURL=app-paths.js.map
656
- }),
657
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/interception-routes.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
658
- "use strict";
659
-
660
- Object.defineProperty(exports, "__esModule", {
661
- value: true
662
- });
663
- 0 && (module.exports = {
664
- INTERCEPTION_ROUTE_MARKERS: null,
665
- extractInterceptionRouteInformation: null,
666
- isInterceptionRouteAppPath: null
667
- });
668
- function _export(target, all) {
669
- for(var name in all)Object.defineProperty(target, name, {
670
- enumerable: true,
671
- get: all[name]
672
- });
673
- }
674
- _export(exports, {
675
- INTERCEPTION_ROUTE_MARKERS: function() {
676
- return INTERCEPTION_ROUTE_MARKERS;
677
- },
678
- extractInterceptionRouteInformation: function() {
679
- return extractInterceptionRouteInformation;
680
- },
681
- isInterceptionRouteAppPath: function() {
682
- return isInterceptionRouteAppPath;
683
- }
684
- });
685
- const _apppaths = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/app-paths.js [app-client] (ecmascript)");
686
- const INTERCEPTION_ROUTE_MARKERS = [
687
- '(..)(..)',
688
- '(.)',
689
- '(..)',
690
- '(...)'
691
- ];
692
- function isInterceptionRouteAppPath(path) {
693
- // TODO-APP: add more serious validation
694
- return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;
695
- }
696
- function extractInterceptionRouteInformation(path) {
697
- let interceptingRoute, marker, interceptedRoute;
698
- for (const segment of path.split('/')){
699
- marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));
700
- if (marker) {
701
- ;
702
- [interceptingRoute, interceptedRoute] = path.split(marker, 2);
703
- break;
704
- }
705
- }
706
- if (!interceptingRoute || !marker || !interceptedRoute) {
707
- throw Object.defineProperty(new Error("Invalid interception route: " + path + ". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"), "__NEXT_ERROR_CODE", {
708
- value: "E269",
709
- enumerable: false,
710
- configurable: true
711
- });
712
- }
713
- interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed
714
- ;
715
- switch(marker){
716
- case '(.)':
717
- // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route
718
- if (interceptingRoute === '/') {
719
- interceptedRoute = "/" + interceptedRoute;
720
- } else {
721
- interceptedRoute = interceptingRoute + '/' + interceptedRoute;
722
- }
723
- break;
724
- case '(..)':
725
- // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route
726
- if (interceptingRoute === '/') {
727
- throw Object.defineProperty(new Error("Invalid interception route: " + path + ". Cannot use (..) marker at the root level, use (.) instead."), "__NEXT_ERROR_CODE", {
728
- value: "E207",
729
- enumerable: false,
730
- configurable: true
731
- });
732
- }
733
- interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/');
734
- break;
735
- case '(...)':
736
- // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route
737
- interceptedRoute = '/' + interceptedRoute;
738
- break;
739
- case '(..)(..)':
740
- // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route
741
- const splitInterceptingRoute = interceptingRoute.split('/');
742
- if (splitInterceptingRoute.length <= 2) {
743
- throw Object.defineProperty(new Error("Invalid interception route: " + path + ". Cannot use (..)(..) marker at the root level or one level up."), "__NEXT_ERROR_CODE", {
744
- value: "E486",
745
- enumerable: false,
746
- configurable: true
747
- });
748
- }
749
- interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/');
750
- break;
751
- default:
752
- throw Object.defineProperty(new Error('Invariant: unexpected marker'), "__NEXT_ERROR_CODE", {
753
- value: "E112",
754
- enumerable: false,
755
- configurable: true
756
- });
757
- }
758
- return {
759
- interceptingRoute,
760
- interceptedRoute
761
- };
762
- } //# sourceMappingURL=interception-routes.js.map
763
- }),
764
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
765
- "use strict";
766
-
767
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
768
- 'use client';
769
- "use strict";
770
- Object.defineProperty(exports, "__esModule", {
771
- value: true
772
- });
773
- 0 && (module.exports = {
774
- AppRouterContext: null,
775
- GlobalLayoutRouterContext: null,
776
- LayoutRouterContext: null,
777
- MissingSlotContext: null,
778
- TemplateContext: null
779
- });
780
- function _export(target, all) {
781
- for(var name in all)Object.defineProperty(target, name, {
782
- enumerable: true,
783
- get: all[name]
784
- });
785
- }
786
- _export(exports, {
787
- AppRouterContext: function() {
788
- return AppRouterContext;
789
- },
790
- GlobalLayoutRouterContext: function() {
791
- return GlobalLayoutRouterContext;
792
- },
793
- LayoutRouterContext: function() {
794
- return LayoutRouterContext;
795
- },
796
- MissingSlotContext: function() {
797
- return MissingSlotContext;
798
- },
799
- TemplateContext: function() {
800
- return TemplateContext;
801
- }
802
- });
803
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
804
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
805
- const AppRouterContext = _react.default.createContext(null);
806
- const LayoutRouterContext = _react.default.createContext(null);
807
- const GlobalLayoutRouterContext = _react.default.createContext(null);
808
- const TemplateContext = _react.default.createContext(null);
809
- if ("TURBOPACK compile-time truthy", 1) {
810
- AppRouterContext.displayName = 'AppRouterContext';
811
- LayoutRouterContext.displayName = 'LayoutRouterContext';
812
- GlobalLayoutRouterContext.displayName = 'GlobalLayoutRouterContext';
813
- TemplateContext.displayName = 'TemplateContext';
814
- }
815
- const MissingSlotContext = _react.default.createContext(new Set()); //# sourceMappingURL=app-router-context.shared-runtime.js.map
816
- }),
817
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
818
- "use strict";
819
-
820
- /**
821
- * Given a path this function will find the pathname, query and hash and return
822
- * them. This is useful to parse full paths on the client side.
823
- * @param path A path to parse e.g. /foo/bar?id=1#hash
824
- */ Object.defineProperty(exports, "__esModule", {
825
- value: true
826
- });
827
- Object.defineProperty(exports, "parsePath", {
828
- enumerable: true,
829
- get: function() {
830
- return parsePath;
831
- }
832
- });
833
- function parsePath(path) {
834
- const hashIndex = path.indexOf('#');
835
- const queryIndex = path.indexOf('?');
836
- const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);
837
- if (hasQuery || hashIndex > -1) {
838
- return {
839
- pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),
840
- query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : '',
841
- hash: hashIndex > -1 ? path.slice(hashIndex) : ''
842
- };
843
- }
844
- return {
845
- pathname: path,
846
- query: '',
847
- hash: ''
848
- };
849
- } //# sourceMappingURL=parse-path.js.map
850
- }),
851
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
852
- "use strict";
853
-
854
- Object.defineProperty(exports, "__esModule", {
855
- value: true
856
- });
857
- Object.defineProperty(exports, "addPathPrefix", {
858
- enumerable: true,
859
- get: function() {
860
- return addPathPrefix;
861
- }
862
- });
863
- const _parsepath = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)");
864
- function addPathPrefix(path, prefix) {
865
- if (!path.startsWith('/') || !prefix) {
866
- return path;
867
- }
868
- const { pathname, query, hash } = (0, _parsepath.parsePath)(path);
869
- return "" + prefix + pathname + query + hash;
870
- } //# sourceMappingURL=add-path-prefix.js.map
871
- }),
872
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
873
- "use strict";
874
-
875
- /**
876
- * Removes the trailing slash for a given route or page path. Preserves the
877
- * root page. Examples:
878
- * - `/foo/bar/` -> `/foo/bar`
879
- * - `/foo/bar` -> `/foo/bar`
880
- * - `/` -> `/`
881
- */ Object.defineProperty(exports, "__esModule", {
882
- value: true
883
- });
884
- Object.defineProperty(exports, "removeTrailingSlash", {
885
- enumerable: true,
886
- get: function() {
887
- return removeTrailingSlash;
888
- }
889
- });
890
- function removeTrailingSlash(route) {
891
- return route.replace(/\/$/, '') || '/';
892
- } //# sourceMappingURL=remove-trailing-slash.js.map
893
- }),
894
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
895
- "use strict";
896
-
897
- Object.defineProperty(exports, "__esModule", {
898
- value: true
899
- });
900
- 0 && (module.exports = {
901
- ServerInsertedHTMLContext: null,
902
- useServerInsertedHTML: null
903
- });
904
- function _export(target, all) {
905
- for(var name in all)Object.defineProperty(target, name, {
906
- enumerable: true,
907
- get: all[name]
908
- });
909
- }
910
- _export(exports, {
911
- ServerInsertedHTMLContext: function() {
912
- return ServerInsertedHTMLContext;
913
- },
914
- useServerInsertedHTML: function() {
915
- return useServerInsertedHTML;
916
- }
917
- });
918
- const _interop_require_wildcard = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs [app-client] (ecmascript)");
919
- const _react = /*#__PURE__*/ _interop_require_wildcard._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
920
- const ServerInsertedHTMLContext = /*#__PURE__*/ _react.default.createContext(null);
921
- function useServerInsertedHTML(callback) {
922
- const addInsertedServerHTMLCallback = (0, _react.useContext)(ServerInsertedHTMLContext);
923
- // Should have no effects on client where there's no flush effects provider
924
- if (addInsertedServerHTMLCallback) {
925
- addInsertedServerHTMLCallback(callback);
926
- }
927
- } //# sourceMappingURL=server-inserted-html.shared-runtime.js.map
928
- }),
929
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
930
- "use strict";
931
-
932
- Object.defineProperty(exports, "__esModule", {
933
- value: true
934
- });
935
- Object.defineProperty(exports, "pathHasPrefix", {
936
- enumerable: true,
937
- get: function() {
938
- return pathHasPrefix;
939
- }
940
- });
941
- const _parsepath = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/router/utils/parse-path.js [app-client] (ecmascript)");
942
- function pathHasPrefix(path, prefix) {
943
- if (typeof path !== 'string') {
944
- return false;
945
- }
946
- const { pathname } = (0, _parsepath.parsePath)(path);
947
- return pathname === prefix || pathname.startsWith(prefix + '/');
948
- } //# sourceMappingURL=path-has-prefix.js.map
949
- }),
950
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/utils/warn-once.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
951
- "use strict";
952
-
953
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
954
- "use strict";
955
- Object.defineProperty(exports, "__esModule", {
956
- value: true
957
- });
958
- Object.defineProperty(exports, "warnOnce", {
959
- enumerable: true,
960
- get: function() {
961
- return warnOnce;
962
- }
963
- });
964
- let warnOnce = (_)=>{};
965
- if ("TURBOPACK compile-time truthy", 1) {
966
- const warnings = new Set();
967
- warnOnce = (msg)=>{
968
- if (!warnings.has(msg)) {
969
- console.warn(msg);
970
- }
971
- warnings.add(msg);
972
- };
973
- } //# sourceMappingURL=warn-once.js.map
974
- }),
975
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/format-webpack-messages.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
976
- "use strict";
977
-
978
- /**
979
- MIT License
980
-
981
- Copyright (c) 2015-present, Facebook, Inc.
982
-
983
- Permission is hereby granted, free of charge, to any person obtaining a copy
984
- of this software and associated documentation files (the "Software"), to deal
985
- in the Software without restriction, including without limitation the rights
986
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
987
- copies of the Software, and to permit persons to whom the Software is
988
- furnished to do so, subject to the following conditions:
989
-
990
- The above copyright notice and this permission notice shall be included in all
991
- copies or substantial portions of the Software.
992
-
993
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
994
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
995
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
996
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
997
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
998
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
999
- SOFTWARE.
1000
- */ Object.defineProperty(exports, "__esModule", {
1001
- value: true
1002
- });
1003
- Object.defineProperty(exports, "default", {
1004
- enumerable: true,
1005
- get: function() {
1006
- return formatWebpackMessages;
1007
- }
1008
- });
1009
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
1010
- const _stripansi = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/strip-ansi/index.js [app-client] (ecmascript)"));
1011
- // This file is based on https://github.com/facebook/create-react-app/blob/7b1a32be6ec9f99a6c9a3c66813f3ac09c4736b9/packages/react-dev-utils/formatWebpackMessages.js
1012
- // It's been edited to remove chalk and CRA-specific logic
1013
- const friendlySyntaxErrorLabel = 'Syntax error:';
1014
- const WEBPACK_BREAKING_CHANGE_POLYFILLS = '\n\nBREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.';
1015
- function isLikelyASyntaxError(message) {
1016
- return (0, _stripansi.default)(message).includes(friendlySyntaxErrorLabel);
1017
- }
1018
- let hadMissingSassError = false;
1019
- // Cleans up webpack error messages.
1020
- function formatMessage(message, verbose, importTraceNote) {
1021
- // TODO: Replace this once webpack 5 is stable
1022
- if (typeof message === 'object' && message.message) {
1023
- const filteredModuleTrace = message.moduleTrace && message.moduleTrace.filter((trace)=>!/next-(middleware|client-pages|route|edge-function)-loader\.js/.test(trace.originName));
1024
- let body = message.message;
1025
- const breakingChangeIndex = body.indexOf(WEBPACK_BREAKING_CHANGE_POLYFILLS);
1026
- if (breakingChangeIndex >= 0) {
1027
- body = body.slice(0, breakingChangeIndex);
1028
- }
1029
- message = (message.moduleName ? (0, _stripansi.default)(message.moduleName) + '\n' : '') + (message.file ? (0, _stripansi.default)(message.file) + '\n' : '') + body + (message.details && verbose ? '\n' + message.details : '') + (filteredModuleTrace && filteredModuleTrace.length ? (importTraceNote || '\n\nImport trace for requested module:') + filteredModuleTrace.map((trace)=>"\n" + trace.moduleName).join('') : '') + (message.stack && verbose ? '\n' + message.stack : '');
1030
- }
1031
- let lines = message.split('\n');
1032
- // Strip Webpack-added headers off errors/warnings
1033
- // https://github.com/webpack/webpack/blob/master/lib/ModuleError.js
1034
- lines = lines.filter((line)=>!/Module [A-z ]+\(from/.test(line));
1035
- // Transform parsing error into syntax error
1036
- // TODO: move this to our ESLint formatter?
1037
- lines = lines.map((line)=>{
1038
- const parsingError = /Line (\d+):(?:(\d+):)?\s*Parsing error: (.+)$/.exec(line);
1039
- if (!parsingError) {
1040
- return line;
1041
- }
1042
- const [, errorLine, errorColumn, errorMessage] = parsingError;
1043
- return friendlySyntaxErrorLabel + " " + errorMessage + " (" + errorLine + ":" + errorColumn + ")";
1044
- });
1045
- message = lines.join('\n');
1046
- // Smoosh syntax errors (commonly found in CSS)
1047
- message = message.replace(/SyntaxError\s+\((\d+):(\d+)\)\s*(.+?)\n/g, "" + friendlySyntaxErrorLabel + " $3 ($1:$2)\n");
1048
- // Clean up export errors
1049
- message = message.replace(/^.*export '(.+?)' was not found in '(.+?)'.*$/gm, "Attempted import error: '$1' is not exported from '$2'.");
1050
- message = message.replace(/^.*export 'default' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm, "Attempted import error: '$2' does not contain a default export (imported as '$1').");
1051
- message = message.replace(/^.*export '(.+?)' \(imported as '(.+?)'\) was not found in '(.+?)'.*$/gm, "Attempted import error: '$1' is not exported from '$3' (imported as '$2').");
1052
- lines = message.split('\n');
1053
- // Remove leading newline
1054
- if (lines.length > 2 && lines[1].trim() === '') {
1055
- lines.splice(1, 1);
1056
- }
1057
- // Cleans up verbose "module not found" messages for files and packages.
1058
- if (lines[1] && lines[1].startsWith('Module not found: ')) {
1059
- lines = [
1060
- lines[0],
1061
- lines[1].replace('Error: ', '').replace('Module not found: Cannot find file:', 'Cannot find file:'),
1062
- ...lines.slice(2)
1063
- ];
1064
- }
1065
- // Add helpful message for users trying to use Sass for the first time
1066
- if (lines[1] && lines[1].match(/Cannot find module.+sass/)) {
1067
- // ./file.module.scss (<<loader info>>) => ./file.module.scss
1068
- const firstLine = lines[0].split('!');
1069
- lines[0] = firstLine[firstLine.length - 1];
1070
- lines[1] = "To use Next.js' built-in Sass support, you first need to install `sass`.\n";
1071
- lines[1] += 'Run `npm i sass` or `yarn add sass` inside your workspace.\n';
1072
- lines[1] += '\nLearn more: https://nextjs.org/docs/messages/install-sass';
1073
- // dispose of unhelpful stack trace
1074
- lines = lines.slice(0, 2);
1075
- hadMissingSassError = true;
1076
- } else if (hadMissingSassError && message.match(/(sass-loader|resolve-url-loader: CSS error)/)) {
1077
- // dispose of unhelpful stack trace following missing sass module
1078
- lines = [];
1079
- }
1080
- if (!verbose) {
1081
- message = lines.join('\n');
1082
- // Internal stacks are generally useless so we strip them... with the
1083
- // exception of stacks containing `webpack:` because they're normally
1084
- // from user code generated by Webpack. For more information see
1085
- // https://github.com/facebook/create-react-app/pull/1050
1086
- message = message.replace(/^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm, '') // at ... ...:x:y
1087
- ;
1088
- message = message.replace(/^\s*at\s<anonymous>(\n|$)/gm, '') // at <anonymous>
1089
- ;
1090
- message = message.replace(/File was processed with these loaders:\n(.+[\\/](next[\\/]dist[\\/].+|@next[\\/]react-refresh-utils[\\/]loader)\.js\n)*You may need an additional loader to handle the result of these loaders.\n/g, '');
1091
- lines = message.split('\n');
1092
- }
1093
- // Remove duplicated newlines
1094
- lines = lines.filter((line, index, arr)=>index === 0 || line.trim() !== '' || line.trim() !== arr[index - 1].trim());
1095
- // Reassemble the message
1096
- message = lines.join('\n');
1097
- return message.trim();
1098
- }
1099
- function formatWebpackMessages(json, verbose) {
1100
- const formattedErrors = json.errors.map((message)=>{
1101
- const isUnknownNextFontError = message.message.includes('An error occurred in `next/font`.');
1102
- return formatMessage(message, isUnknownNextFontError || verbose);
1103
- });
1104
- const formattedWarnings = json.warnings.map((message)=>{
1105
- return formatMessage(message, verbose);
1106
- });
1107
- // Reorder errors to put the most relevant ones first.
1108
- let reactServerComponentsError = -1;
1109
- for(let i = 0; i < formattedErrors.length; i++){
1110
- const error = formattedErrors[i];
1111
- if (error.includes('ReactServerComponentsError')) {
1112
- reactServerComponentsError = i;
1113
- break;
1114
- }
1115
- }
1116
- // Move the reactServerComponentsError to the top if it exists
1117
- if (reactServerComponentsError !== -1) {
1118
- const error = formattedErrors.splice(reactServerComponentsError, 1);
1119
- formattedErrors.unshift(error[0]);
1120
- }
1121
- const result = {
1122
- ...json,
1123
- errors: formattedErrors,
1124
- warnings: formattedWarnings
1125
- };
1126
- if (!verbose && result.errors.some(isLikelyASyntaxError)) {
1127
- // If there are any syntax errors, show just them.
1128
- result.errors = result.errors.filter(isLikelyASyntaxError);
1129
- result.warnings = [];
1130
- }
1131
- return result;
1132
- } //# sourceMappingURL=format-webpack-messages.js.map
1133
- }),
1134
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/errors/constants.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1135
- "use strict";
1136
-
1137
- Object.defineProperty(exports, "__esModule", {
1138
- value: true
1139
- });
1140
- Object.defineProperty(exports, "MISSING_ROOT_TAGS_ERROR", {
1141
- enumerable: true,
1142
- get: function() {
1143
- return MISSING_ROOT_TAGS_ERROR;
1144
- }
1145
- });
1146
- const MISSING_ROOT_TAGS_ERROR = 'NEXT_MISSING_ROOT_TAGS';
1147
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1148
- Object.defineProperty(exports.default, '__esModule', {
1149
- value: true
1150
- });
1151
- Object.assign(exports.default, exports);
1152
- module.exports = exports.default;
1153
- } //# sourceMappingURL=constants.js.map
1154
- }),
1155
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/normalized-asset-prefix.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1156
- "use strict";
1157
-
1158
- Object.defineProperty(exports, "__esModule", {
1159
- value: true
1160
- });
1161
- Object.defineProperty(exports, "normalizedAssetPrefix", {
1162
- enumerable: true,
1163
- get: function() {
1164
- return normalizedAssetPrefix;
1165
- }
1166
- });
1167
- function normalizedAssetPrefix(assetPrefix) {
1168
- // remove all leading slashes and trailing slashes
1169
- const escapedAssetPrefix = (assetPrefix == null ? void 0 : assetPrefix.replace(/^\/+|\/+$/g, '')) || false;
1170
- // if an assetPrefix was '/', we return empty string
1171
- // because it could be an unnecessary trailing slash
1172
- if (!escapedAssetPrefix) {
1173
- return '';
1174
- }
1175
- if (URL.canParse(escapedAssetPrefix)) {
1176
- const url = new URL(escapedAssetPrefix).toString();
1177
- return url.endsWith('/') ? url.slice(0, -1) : url;
1178
- }
1179
- // assuming assetPrefix here is a pathname-style,
1180
- // restore the leading slash
1181
- return "/" + escapedAssetPrefix;
1182
- } //# sourceMappingURL=normalized-asset-prefix.js.map
1183
- }),
1184
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/server-reference-info.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1185
- "use strict";
1186
-
1187
- Object.defineProperty(exports, "__esModule", {
1188
- value: true
1189
- });
1190
- 0 && (module.exports = {
1191
- extractInfoFromServerReferenceId: null,
1192
- omitUnusedArgs: null
1193
- });
1194
- function _export(target, all) {
1195
- for(var name in all)Object.defineProperty(target, name, {
1196
- enumerable: true,
1197
- get: all[name]
1198
- });
1199
- }
1200
- _export(exports, {
1201
- extractInfoFromServerReferenceId: function() {
1202
- return extractInfoFromServerReferenceId;
1203
- },
1204
- omitUnusedArgs: function() {
1205
- return omitUnusedArgs;
1206
- }
1207
- });
1208
- function extractInfoFromServerReferenceId(id) {
1209
- const infoByte = parseInt(id.slice(0, 2), 16);
1210
- const typeBit = infoByte >> 7 & 0x1;
1211
- const argMask = infoByte >> 1 & 0x3f;
1212
- const restArgs = infoByte & 0x1;
1213
- const usedArgs = Array(6);
1214
- for(let index = 0; index < 6; index++){
1215
- const bitPosition = 5 - index;
1216
- const bit = argMask >> bitPosition & 0x1;
1217
- usedArgs[index] = bit === 1;
1218
- }
1219
- return {
1220
- type: typeBit === 1 ? 'use-cache' : 'server-action',
1221
- usedArgs: usedArgs,
1222
- hasRestArgs: restArgs === 1
1223
- };
1224
- }
1225
- function omitUnusedArgs(args, info) {
1226
- const filteredArgs = new Array(args.length);
1227
- for(let index = 0; index < args.length; index++){
1228
- if (index < 6 && info.usedArgs[index] || // This assumes that the server reference info byte has the restArgs bit
1229
- // set to 1 if there are more than 6 args.
1230
- index >= 6 && info.hasRestArgs) {
1231
- filteredArgs[index] = args[index];
1232
- }
1233
- }
1234
- return filteredArgs;
1235
- } //# sourceMappingURL=server-reference-info.js.map
1236
- }),
1237
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1238
- "use strict";
1239
-
1240
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
1241
- "use strict";
1242
- Object.defineProperty(exports, "__esModule", {
1243
- value: true
1244
- });
1245
- 0 && (module.exports = {
1246
- default: null,
1247
- getProperError: null
1248
- });
1249
- function _export(target, all) {
1250
- for(var name in all)Object.defineProperty(target, name, {
1251
- enumerable: true,
1252
- get: all[name]
1253
- });
1254
- }
1255
- _export(exports, {
1256
- /**
1257
- * Checks whether the given value is a NextError.
1258
- * This can be used to print a more detailed error message with properties like `code` & `digest`.
1259
- */ default: function() {
1260
- return isError;
1261
- },
1262
- getProperError: function() {
1263
- return getProperError;
1264
- }
1265
- });
1266
- const _isplainobject = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/is-plain-object.js [app-client] (ecmascript)");
1267
- function isError(err) {
1268
- return typeof err === 'object' && err !== null && 'name' in err && 'message' in err;
1269
- }
1270
- function safeStringify(obj) {
1271
- const seen = new WeakSet();
1272
- return JSON.stringify(obj, (_key, value)=>{
1273
- // If value is an object and already seen, replace with "[Circular]"
1274
- if (typeof value === 'object' && value !== null) {
1275
- if (seen.has(value)) {
1276
- return '[Circular]';
1277
- }
1278
- seen.add(value);
1279
- }
1280
- return value;
1281
- });
1282
- }
1283
- function getProperError(err) {
1284
- if (isError(err)) {
1285
- return err;
1286
- }
1287
- if ("TURBOPACK compile-time truthy", 1) {
1288
- // provide better error for case where `throw undefined`
1289
- // is called in development
1290
- if (typeof err === 'undefined') {
1291
- return Object.defineProperty(new Error('An undefined error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", {
1292
- value: "E98",
1293
- enumerable: false,
1294
- configurable: true
1295
- });
1296
- }
1297
- if (err === null) {
1298
- return Object.defineProperty(new Error('A null error was thrown, ' + 'see here for more info: https://nextjs.org/docs/messages/threw-undefined'), "__NEXT_ERROR_CODE", {
1299
- value: "E336",
1300
- enumerable: false,
1301
- configurable: true
1302
- });
1303
- }
1304
- }
1305
- return Object.defineProperty(new Error((0, _isplainobject.isPlainObject)(err) ? safeStringify(err) : err + ''), "__NEXT_ERROR_CODE", {
1306
- value: "E394",
1307
- enumerable: false,
1308
- configurable: true
1309
- });
1310
- } //# sourceMappingURL=is-error.js.map
1311
- }),
1312
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/require-instrumentation-client.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1313
- "use strict";
1314
-
1315
- /**
1316
- * This module imports the client instrumentation hook from the project root.
1317
- *
1318
- * The `private-next-instrumentation-client` module is automatically aliased to
1319
- * the `instrumentation-client.ts` file in the project root by webpack or turbopack.
1320
- */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
1321
- "use strict";
1322
- if ("TURBOPACK compile-time truthy", 1) {
1323
- const measureName = 'Client Instrumentation Hook';
1324
- const startTime = performance.now();
1325
- // eslint-disable-next-line @next/internal/typechecked-require -- Not a module.
1326
- module.exports = {};
1327
- const endTime = performance.now();
1328
- const duration = endTime - startTime;
1329
- // Using 16ms threshold as it represents one frame (1000ms/60fps)
1330
- // This helps identify if the instrumentation hook initialization
1331
- // could potentially cause frame drops during development.
1332
- const THRESHOLD = 16;
1333
- if (duration > THRESHOLD) {
1334
- console.log("[".concat(measureName, "] Slow execution detected: ").concat(duration.toFixed(0), "ms (Note: Code download overhead is not included in this measurement)"));
1335
- }
1336
- } else //TURBOPACK unreachable
1337
- ;
1338
- //# sourceMappingURL=require-instrumentation-client.js.map
1339
- }),
1340
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1341
- "use strict";
1342
-
1343
- Object.defineProperty(exports, "__esModule", {
1344
- value: true
1345
- });
1346
- 0 && (module.exports = {
1347
- METADATA_BOUNDARY_NAME: null,
1348
- OUTLET_BOUNDARY_NAME: null,
1349
- ROOT_LAYOUT_BOUNDARY_NAME: null,
1350
- VIEWPORT_BOUNDARY_NAME: null
1351
- });
1352
- function _export(target, all) {
1353
- for(var name in all)Object.defineProperty(target, name, {
1354
- enumerable: true,
1355
- get: all[name]
1356
- });
1357
- }
1358
- _export(exports, {
1359
- METADATA_BOUNDARY_NAME: function() {
1360
- return METADATA_BOUNDARY_NAME;
1361
- },
1362
- OUTLET_BOUNDARY_NAME: function() {
1363
- return OUTLET_BOUNDARY_NAME;
1364
- },
1365
- ROOT_LAYOUT_BOUNDARY_NAME: function() {
1366
- return ROOT_LAYOUT_BOUNDARY_NAME;
1367
- },
1368
- VIEWPORT_BOUNDARY_NAME: function() {
1369
- return VIEWPORT_BOUNDARY_NAME;
1370
- }
1371
- });
1372
- const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__';
1373
- const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__';
1374
- const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__';
1375
- const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'; //# sourceMappingURL=boundary-constants.js.map
1376
- }),
1377
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/scheduler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1378
- "use strict";
1379
-
1380
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
1381
- "use strict";
1382
- Object.defineProperty(exports, "__esModule", {
1383
- value: true
1384
- });
1385
- 0 && (module.exports = {
1386
- atLeastOneTask: null,
1387
- scheduleImmediate: null,
1388
- scheduleOnNextTick: null,
1389
- waitAtLeastOneReactRenderTask: null
1390
- });
1391
- function _export(target, all) {
1392
- for(var name in all)Object.defineProperty(target, name, {
1393
- enumerable: true,
1394
- get: all[name]
1395
- });
1396
- }
1397
- _export(exports, {
1398
- atLeastOneTask: function() {
1399
- return atLeastOneTask;
1400
- },
1401
- scheduleImmediate: function() {
1402
- return scheduleImmediate;
1403
- },
1404
- scheduleOnNextTick: function() {
1405
- return scheduleOnNextTick;
1406
- },
1407
- waitAtLeastOneReactRenderTask: function() {
1408
- return waitAtLeastOneReactRenderTask;
1409
- }
1410
- });
1411
- const scheduleOnNextTick = (cb)=>{
1412
- // We use Promise.resolve().then() here so that the operation is scheduled at
1413
- // the end of the promise job queue, we then add it to the next process tick
1414
- // to ensure it's evaluated afterwards.
1415
- //
1416
- // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255
1417
- //
1418
- Promise.resolve().then(()=>{
1419
- if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
1420
- ;
1421
- else {
1422
- __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["default"].nextTick(cb);
1423
- }
1424
- });
1425
- };
1426
- const scheduleImmediate = (cb)=>{
1427
- if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
1428
- ;
1429
- else {
1430
- setImmediate(cb);
1431
- }
1432
- };
1433
- function atLeastOneTask() {
1434
- return new Promise((resolve)=>scheduleImmediate(resolve));
1435
- }
1436
- function waitAtLeastOneReactRenderTask() {
1437
- if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
1438
- ;
1439
- else {
1440
- return new Promise((r)=>setImmediate(r));
1441
- }
1442
- } //# sourceMappingURL=scheduler.js.map
1443
- }),
1444
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/framework/boundary-components.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1445
- "use strict";
1446
-
1447
- Object.defineProperty(exports, "__esModule", {
1448
- value: true
1449
- });
1450
- 0 && (module.exports = {
1451
- MetadataBoundary: null,
1452
- OutletBoundary: null,
1453
- RootLayoutBoundary: null,
1454
- ViewportBoundary: null
1455
- });
1456
- function _export(target, all) {
1457
- for(var name in all)Object.defineProperty(target, name, {
1458
- enumerable: true,
1459
- get: all[name]
1460
- });
1461
- }
1462
- _export(exports, {
1463
- MetadataBoundary: function() {
1464
- return MetadataBoundary;
1465
- },
1466
- OutletBoundary: function() {
1467
- return OutletBoundary;
1468
- },
1469
- RootLayoutBoundary: function() {
1470
- return RootLayoutBoundary;
1471
- },
1472
- ViewportBoundary: function() {
1473
- return ViewportBoundary;
1474
- }
1475
- });
1476
- const _boundaryconstants = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)");
1477
- // We use a namespace object to allow us to recover the name of the function
1478
- // at runtime even when production bundling/minification is used.
1479
- const NameSpace = {
1480
- [_boundaryconstants.METADATA_BOUNDARY_NAME]: function(param) {
1481
- let { children } = param;
1482
- return children;
1483
- },
1484
- [_boundaryconstants.VIEWPORT_BOUNDARY_NAME]: function(param) {
1485
- let { children } = param;
1486
- return children;
1487
- },
1488
- [_boundaryconstants.OUTLET_BOUNDARY_NAME]: function(param) {
1489
- let { children } = param;
1490
- return children;
1491
- },
1492
- [_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME]: function(param) {
1493
- let { children } = param;
1494
- return children;
1495
- }
1496
- };
1497
- const MetadataBoundary = // so it retains the name inferred from the namespace object
1498
- NameSpace[_boundaryconstants.METADATA_BOUNDARY_NAME.slice(0)];
1499
- const ViewportBoundary = // so it retains the name inferred from the namespace object
1500
- NameSpace[_boundaryconstants.VIEWPORT_BOUNDARY_NAME.slice(0)];
1501
- const OutletBoundary = // so it retains the name inferred from the namespace object
1502
- NameSpace[_boundaryconstants.OUTLET_BOUNDARY_NAME.slice(0)];
1503
- const RootLayoutBoundary = // so it retains the name inferred from the namespace object
1504
- NameSpace[_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]; //# sourceMappingURL=boundary-components.js.map
1505
- }),
1506
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1507
- "use strict";
1508
-
1509
- Object.defineProperty(exports, "__esModule", {
1510
- value: true
1511
- });
1512
- 0 && (module.exports = {
1513
- coerceError: null,
1514
- decorateDevError: null,
1515
- getOwnerStack: null,
1516
- setOwnerStack: null,
1517
- setOwnerStackIfAvailable: null
1518
- });
1519
- function _export(target, all) {
1520
- for(var name in all)Object.defineProperty(target, name, {
1521
- enumerable: true,
1522
- get: all[name]
1523
- });
1524
- }
1525
- _export(exports, {
1526
- coerceError: function() {
1527
- return coerceError;
1528
- },
1529
- decorateDevError: function() {
1530
- return decorateDevError;
1531
- },
1532
- getOwnerStack: function() {
1533
- return getOwnerStack;
1534
- },
1535
- setOwnerStack: function() {
1536
- return setOwnerStack;
1537
- },
1538
- setOwnerStackIfAvailable: function() {
1539
- return setOwnerStackIfAvailable;
1540
- }
1541
- });
1542
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
1543
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
1544
- const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)"));
1545
- const ownerStacks = new WeakMap();
1546
- function getOwnerStack(error) {
1547
- return ownerStacks.get(error);
1548
- }
1549
- function setOwnerStack(error, stack) {
1550
- ownerStacks.set(error, stack);
1551
- }
1552
- function coerceError(value) {
1553
- return (0, _iserror.default)(value) ? value : Object.defineProperty(new Error('' + value), "__NEXT_ERROR_CODE", {
1554
- value: "E394",
1555
- enumerable: false,
1556
- configurable: true
1557
- });
1558
- }
1559
- function setOwnerStackIfAvailable(error) {
1560
- // React 18 and prod does not have `captureOwnerStack`
1561
- if ('captureOwnerStack' in _react.default) {
1562
- setOwnerStack(error, _react.default.captureOwnerStack());
1563
- }
1564
- }
1565
- function decorateDevError(thrownValue) {
1566
- const error = coerceError(thrownValue);
1567
- setOwnerStackIfAvailable(error);
1568
- return error;
1569
- }
1570
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1571
- Object.defineProperty(exports.default, '__esModule', {
1572
- value: true
1573
- });
1574
- Object.assign(exports.default, exports);
1575
- module.exports = exports.default;
1576
- } //# sourceMappingURL=stitched-error.js.map
1577
- }),
1578
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/shared/console-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1579
- "use strict";
1580
-
1581
- // To distinguish from React error.digest, we use a different symbol here to determine if the error is from console.error or unhandled promise rejection.
1582
- Object.defineProperty(exports, "__esModule", {
1583
- value: true
1584
- });
1585
- 0 && (module.exports = {
1586
- createConsoleError: null,
1587
- isConsoleError: null
1588
- });
1589
- function _export(target, all) {
1590
- for(var name in all)Object.defineProperty(target, name, {
1591
- enumerable: true,
1592
- get: all[name]
1593
- });
1594
- }
1595
- _export(exports, {
1596
- createConsoleError: function() {
1597
- return createConsoleError;
1598
- },
1599
- isConsoleError: function() {
1600
- return isConsoleError;
1601
- }
1602
- });
1603
- const digestSym = Symbol.for('next.console.error.digest');
1604
- function createConsoleError(message, environmentName) {
1605
- const error = typeof message === 'string' ? Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
1606
- value: "E394",
1607
- enumerable: false,
1608
- configurable: true
1609
- }) : message;
1610
- error[digestSym] = 'NEXT_CONSOLE_ERROR';
1611
- if (environmentName && !error.environmentName) {
1612
- error.environmentName = environmentName;
1613
- }
1614
- return error;
1615
- }
1616
- const isConsoleError = (error)=>{
1617
- return error && error[digestSym] === 'NEXT_CONSOLE_ERROR';
1618
- };
1619
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1620
- Object.defineProperty(exports.default, '__esModule', {
1621
- value: true
1622
- });
1623
- Object.assign(exports.default, exports);
1624
- module.exports = exports.default;
1625
- } //# sourceMappingURL=console-error.js.map
1626
- }),
1627
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1628
- "use strict";
1629
-
1630
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
1631
- "use strict";
1632
- Object.defineProperty(exports, "__esModule", {
1633
- value: true
1634
- });
1635
- 0 && (module.exports = {
1636
- getIsTerminalLoggingEnabled: null,
1637
- getTerminalLoggingConfig: null
1638
- });
1639
- function _export(target, all) {
1640
- for(var name in all)Object.defineProperty(target, name, {
1641
- enumerable: true,
1642
- get: all[name]
1643
- });
1644
- }
1645
- _export(exports, {
1646
- getIsTerminalLoggingEnabled: function() {
1647
- return getIsTerminalLoggingEnabled;
1648
- },
1649
- getTerminalLoggingConfig: function() {
1650
- return getTerminalLoggingConfig;
1651
- }
1652
- });
1653
- function getTerminalLoggingConfig() {
1654
- try {
1655
- return JSON.parse(("TURBOPACK compile-time value", "false") || 'false');
1656
- } catch (e) {
1657
- return false;
1658
- }
1659
- }
1660
- function getIsTerminalLoggingEnabled() {
1661
- const config = getTerminalLoggingConfig();
1662
- return Boolean(config);
1663
- }
1664
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1665
- Object.defineProperty(exports.default, '__esModule', {
1666
- value: true
1667
- });
1668
- Object.assign(exports.default, exports);
1669
- module.exports = exports.default;
1670
- } //# sourceMappingURL=terminal-logging-config.js.map
1671
- }),
1672
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1673
- "use strict";
1674
-
1675
- Object.defineProperty(exports, "__esModule", {
1676
- value: true
1677
- });
1678
- 0 && (module.exports = {
1679
- UNDEFINED_MARKER: null,
1680
- patchConsoleMethod: null
1681
- });
1682
- function _export(target, all) {
1683
- for(var name in all)Object.defineProperty(target, name, {
1684
- enumerable: true,
1685
- get: all[name]
1686
- });
1687
- }
1688
- _export(exports, {
1689
- UNDEFINED_MARKER: function() {
1690
- return UNDEFINED_MARKER;
1691
- },
1692
- patchConsoleMethod: function() {
1693
- return patchConsoleMethod;
1694
- }
1695
- });
1696
- const UNDEFINED_MARKER = '__next_tagged_undefined';
1697
- function patchConsoleMethod(methodName, wrapper) {
1698
- const descriptor = Object.getOwnPropertyDescriptor(console, methodName);
1699
- if (descriptor && (descriptor.configurable || descriptor.writable) && typeof descriptor.value === 'function') {
1700
- const originalMethod = descriptor.value;
1701
- const originalName = Object.getOwnPropertyDescriptor(originalMethod, 'name');
1702
- const wrapperMethod = function() {
1703
- for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
1704
- args[_key] = arguments[_key];
1705
- }
1706
- wrapper(methodName, ...args);
1707
- originalMethod.apply(this, args);
1708
- };
1709
- if (originalName) {
1710
- Object.defineProperty(wrapperMethod, 'name', originalName);
1711
- }
1712
- Object.defineProperty(console, methodName, {
1713
- value: wrapperMethod
1714
- });
1715
- return ()=>{
1716
- Object.defineProperty(console, methodName, {
1717
- value: originalMethod,
1718
- writable: descriptor.writable,
1719
- configurable: descriptor.configurable
1720
- });
1721
- };
1722
- }
1723
- return ()=>{};
1724
- }
1725
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
1726
- Object.defineProperty(exports.default, '__esModule', {
1727
- value: true
1728
- });
1729
- Object.assign(exports.default, exports);
1730
- module.exports = exports.default;
1731
- } //# sourceMappingURL=forward-logs-shared.js.map
1732
- }),
1733
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
1734
- "use strict";
1735
-
1736
- Object.defineProperty(exports, "__esModule", {
1737
- value: true
1738
- });
1739
- 0 && (module.exports = {
1740
- PROMISE_MARKER: null,
1741
- UNAVAILABLE_MARKER: null,
1742
- forwardErrorLog: null,
1743
- forwardUnhandledError: null,
1744
- initializeDebugLogForwarding: null,
1745
- isTerminalLoggingEnabled: null,
1746
- logQueue: null,
1747
- logStringify: null,
1748
- logUnhandledRejection: null,
1749
- preLogSerializationClone: null
1750
- });
1751
- function _export(target, all) {
1752
- for(var name in all)Object.defineProperty(target, name, {
1753
- enumerable: true,
1754
- get: all[name]
1755
- });
1756
- }
1757
- _export(exports, {
1758
- PROMISE_MARKER: function() {
1759
- return PROMISE_MARKER;
1760
- },
1761
- UNAVAILABLE_MARKER: function() {
1762
- return UNAVAILABLE_MARKER;
1763
- },
1764
- forwardErrorLog: function() {
1765
- return forwardErrorLog;
1766
- },
1767
- forwardUnhandledError: function() {
1768
- return forwardUnhandledError;
1769
- },
1770
- initializeDebugLogForwarding: function() {
1771
- return initializeDebugLogForwarding;
1772
- },
1773
- isTerminalLoggingEnabled: function() {
1774
- return isTerminalLoggingEnabled;
1775
- },
1776
- logQueue: function() {
1777
- return logQueue;
1778
- },
1779
- logStringify: function() {
1780
- return logStringify;
1781
- },
1782
- logUnhandledRejection: function() {
1783
- return logUnhandledRejection;
1784
- },
1785
- preLogSerializationClone: function() {
1786
- return preLogSerializationClone;
1787
- }
1788
- });
1789
- const _safestablestringify = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/safe-stable-stringify/index.js [app-client] (ecmascript)");
1790
- const _stitchederror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)");
1791
- const _errorsource = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/error-source.js [app-client] (ecmascript)");
1792
- const _terminalloggingconfig = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/terminal-logging-config.js [app-client] (ecmascript)");
1793
- const _forwardlogsshared = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/shared/forward-logs-shared.js [app-client] (ecmascript)");
1794
- const terminalLoggingConfig = (0, _terminalloggingconfig.getTerminalLoggingConfig)();
1795
- const PROMISE_MARKER = 'Promise {}';
1796
- const UNAVAILABLE_MARKER = '[Unable to view]';
1797
- const maximumDepth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.depthLimit ? terminalLoggingConfig.depthLimit : 5;
1798
- const maximumBreadth = typeof terminalLoggingConfig === 'object' && terminalLoggingConfig.edgeLimit ? terminalLoggingConfig.edgeLimit : 100;
1799
- const stringify = (0, _safestablestringify.configure)({
1800
- maximumDepth,
1801
- maximumBreadth
1802
- });
1803
- const isTerminalLoggingEnabled = (0, _terminalloggingconfig.getIsTerminalLoggingEnabled)();
1804
- const methods = [
1805
- 'log',
1806
- 'info',
1807
- 'warn',
1808
- 'debug',
1809
- 'table',
1810
- 'assert',
1811
- 'dir',
1812
- 'dirxml',
1813
- 'group',
1814
- 'groupCollapsed',
1815
- 'groupEnd',
1816
- 'trace'
1817
- ];
1818
- function preLogSerializationClone(value, seen) {
1819
- if (seen === void 0) seen = new WeakMap();
1820
- if (value === undefined) return _forwardlogsshared.UNDEFINED_MARKER;
1821
- if (value === null || typeof value !== 'object') return value;
1822
- if (seen.has(value)) return seen.get(value);
1823
- try {
1824
- Object.keys(value);
1825
- } catch (e) {
1826
- return UNAVAILABLE_MARKER;
1827
- }
1828
- try {
1829
- if (typeof value.then === 'function') return PROMISE_MARKER;
1830
- } catch (e) {
1831
- return UNAVAILABLE_MARKER;
1832
- }
1833
- if (Array.isArray(value)) {
1834
- const out = [];
1835
- seen.set(value, out);
1836
- for (const item of value){
1837
- try {
1838
- out.push(preLogSerializationClone(item, seen));
1839
- } catch (e) {
1840
- out.push(UNAVAILABLE_MARKER);
1841
- }
1842
- }
1843
- return out;
1844
- }
1845
- const proto = Object.getPrototypeOf(value);
1846
- if (proto === Object.prototype || proto === null) {
1847
- const out = {};
1848
- seen.set(value, out);
1849
- for (const key of Object.keys(value)){
1850
- try {
1851
- out[key] = preLogSerializationClone(value[key], seen);
1852
- } catch (e) {
1853
- out[key] = UNAVAILABLE_MARKER;
1854
- }
1855
- }
1856
- return out;
1857
- }
1858
- return Object.prototype.toString.call(value);
1859
- }
1860
- const logStringify = (data)=>{
1861
- try {
1862
- const result = stringify(data);
1863
- return result != null ? result : '"' + UNAVAILABLE_MARKER + '"';
1864
- } catch (e) {
1865
- return '"' + UNAVAILABLE_MARKER + '"';
1866
- }
1867
- };
1868
- const afterThisFrame = (cb)=>{
1869
- let timeout;
1870
- const rafId = requestAnimationFrame(()=>{
1871
- timeout = setTimeout(()=>{
1872
- cb();
1873
- });
1874
- });
1875
- return ()=>{
1876
- cancelAnimationFrame(rafId);
1877
- clearTimeout(timeout);
1878
- };
1879
- };
1880
- let isPatched = false;
1881
- const serializeEntries = (entries)=>entries.map((clientEntry)=>{
1882
- switch(clientEntry.kind){
1883
- case 'any-logged-error':
1884
- case 'console':
1885
- {
1886
- return {
1887
- ...clientEntry,
1888
- args: clientEntry.args.map(stringifyUserArg)
1889
- };
1890
- }
1891
- case 'formatted-error':
1892
- {
1893
- return clientEntry;
1894
- }
1895
- default:
1896
- {
1897
- return null;
1898
- }
1899
- }
1900
- });
1901
- const logQueue = {
1902
- entries: [],
1903
- flushScheduled: false,
1904
- cancelFlush: null,
1905
- socket: null,
1906
- sourceType: undefined,
1907
- router: null,
1908
- scheduleLogSend: (entry)=>{
1909
- logQueue.entries.push(entry);
1910
- if (logQueue.flushScheduled) {
1911
- return;
1912
- }
1913
- // safe to deref and use in setTimeout closure since we cancel on new socket
1914
- const socket = logQueue.socket;
1915
- if (!socket) {
1916
- return;
1917
- }
1918
- // we probably dont need this
1919
- logQueue.flushScheduled = true;
1920
- // non blocking log flush, runs at most once per frame
1921
- logQueue.cancelFlush = afterThisFrame(()=>{
1922
- logQueue.flushScheduled = false;
1923
- // just incase
1924
- try {
1925
- const payload = JSON.stringify({
1926
- event: 'browser-logs',
1927
- entries: serializeEntries(logQueue.entries),
1928
- router: logQueue.router,
1929
- // needed for source mapping, we just assign the sourceType from the last error for the whole batch
1930
- sourceType: logQueue.sourceType
1931
- });
1932
- socket.send(payload);
1933
- logQueue.entries = [];
1934
- logQueue.sourceType = undefined;
1935
- } catch (e) {
1936
- // error (make sure u don't infinite loop)
1937
- /* noop */ }
1938
- });
1939
- },
1940
- onSocketReady: (socket)=>{
1941
- if (socket.readyState !== WebSocket.OPEN) {
1942
- // invariant
1943
- return;
1944
- }
1945
- // incase an existing timeout was going to run with a stale socket
1946
- logQueue.cancelFlush == null ? void 0 : logQueue.cancelFlush.call(logQueue);
1947
- logQueue.socket = socket;
1948
- try {
1949
- const payload = JSON.stringify({
1950
- event: 'browser-logs',
1951
- entries: serializeEntries(logQueue.entries),
1952
- router: logQueue.router,
1953
- sourceType: logQueue.sourceType
1954
- });
1955
- socket.send(payload);
1956
- logQueue.entries = [];
1957
- logQueue.sourceType = undefined;
1958
- } catch (e) {
1959
- /** noop just incase */ }
1960
- }
1961
- };
1962
- const stringifyUserArg = (arg)=>{
1963
- if (arg.kind !== 'arg') {
1964
- return arg;
1965
- }
1966
- return {
1967
- ...arg,
1968
- data: logStringify(arg.data)
1969
- };
1970
- };
1971
- const createErrorArg = (error)=>{
1972
- const stack = stackWithOwners(error);
1973
- return {
1974
- kind: 'formatted-error-arg',
1975
- prefix: error.message ? error.name + ": " + error.message : "" + error.name,
1976
- stack
1977
- };
1978
- };
1979
- const createLogEntry = (level, args)=>{
1980
- // do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers
1981
- // error capture stack trace maybe
1982
- const stack = stackWithOwners(new Error());
1983
- const stackLines = stack == null ? void 0 : stack.split('\n');
1984
- const cleanStack = stackLines == null ? void 0 : stackLines.slice(3).join('\n') // this is probably ignored anyways
1985
- ;
1986
- const entry = {
1987
- kind: 'console',
1988
- consoleMethodStack: cleanStack != null ? cleanStack : null,
1989
- method: level,
1990
- args: args.map((arg)=>{
1991
- if (arg instanceof Error) {
1992
- return createErrorArg(arg);
1993
- }
1994
- return {
1995
- kind: 'arg',
1996
- data: preLogSerializationClone(arg)
1997
- };
1998
- })
1999
- };
2000
- logQueue.scheduleLogSend(entry);
2001
- };
2002
- const forwardErrorLog = (args)=>{
2003
- const errorObjects = args.filter((arg)=>arg instanceof Error);
2004
- const first = errorObjects.at(0);
2005
- if (first) {
2006
- const source = (0, _errorsource.getErrorSource)(first);
2007
- if (source) {
2008
- logQueue.sourceType = source;
2009
- }
2010
- }
2011
- /**
2012
- * browser shows stack regardless of type of data passed to console.error, so we should do the same
2013
- *
2014
- * do not abstract this, it implicitly relies on which functions call it. forcing the inlined implementation makes you think about callers
2015
- */ const stack = stackWithOwners(new Error());
2016
- const stackLines = stack == null ? void 0 : stack.split('\n');
2017
- const cleanStack = stackLines == null ? void 0 : stackLines.slice(3).join('\n');
2018
- const entry = {
2019
- kind: 'any-logged-error',
2020
- method: 'error',
2021
- consoleErrorStack: cleanStack != null ? cleanStack : '',
2022
- args: args.map((arg)=>{
2023
- if (arg instanceof Error) {
2024
- return createErrorArg(arg);
2025
- }
2026
- return {
2027
- kind: 'arg',
2028
- data: preLogSerializationClone(arg)
2029
- };
2030
- })
2031
- };
2032
- logQueue.scheduleLogSend(entry);
2033
- };
2034
- const createUncaughtErrorEntry = (errorName, errorMessage, fullStack)=>{
2035
- const entry = {
2036
- kind: 'formatted-error',
2037
- prefix: "Uncaught " + errorName + ": " + errorMessage,
2038
- stack: fullStack,
2039
- method: 'error'
2040
- };
2041
- logQueue.scheduleLogSend(entry);
2042
- };
2043
- const stackWithOwners = (error)=>{
2044
- let ownerStack = '';
2045
- (0, _stitchederror.setOwnerStackIfAvailable)(error);
2046
- ownerStack = (0, _stitchederror.getOwnerStack)(error) || '';
2047
- const stack = (error.stack || '') + ownerStack;
2048
- return stack;
2049
- };
2050
- function logUnhandledRejection(reason) {
2051
- if (reason instanceof Error) {
2052
- createUnhandledRejectionErrorEntry(reason, stackWithOwners(reason));
2053
- return;
2054
- }
2055
- createUnhandledRejectionNonErrorEntry(reason);
2056
- }
2057
- const createUnhandledRejectionErrorEntry = (error, fullStack)=>{
2058
- const source = (0, _errorsource.getErrorSource)(error);
2059
- if (source) {
2060
- logQueue.sourceType = source;
2061
- }
2062
- const entry = {
2063
- kind: 'formatted-error',
2064
- prefix: "⨯ unhandledRejection: " + error.name + ": " + error.message,
2065
- stack: fullStack,
2066
- method: 'error'
2067
- };
2068
- logQueue.scheduleLogSend(entry);
2069
- };
2070
- const createUnhandledRejectionNonErrorEntry = (reason)=>{
2071
- const entry = {
2072
- kind: 'any-logged-error',
2073
- // we can't access the stack since the event is dispatched async and creating an inline error would be meaningless
2074
- consoleErrorStack: '',
2075
- method: 'error',
2076
- args: [
2077
- {
2078
- kind: 'arg',
2079
- data: "⨯ unhandledRejection:",
2080
- isRejectionMessage: true
2081
- },
2082
- {
2083
- kind: 'arg',
2084
- data: preLogSerializationClone(reason)
2085
- }
2086
- ]
2087
- };
2088
- logQueue.scheduleLogSend(entry);
2089
- };
2090
- const isHMR = (args)=>{
2091
- const firstArg = args[0];
2092
- if (typeof firstArg !== 'string') {
2093
- return false;
2094
- }
2095
- if (firstArg.startsWith('[Fast Refresh]')) {
2096
- return true;
2097
- }
2098
- if (firstArg.startsWith('[HMR]')) {
2099
- return true;
2100
- }
2101
- return false;
2102
- };
2103
- const isIgnoredLog = (args)=>{
2104
- if (args.length < 3) {
2105
- return false;
2106
- }
2107
- const [format, styles, label] = args;
2108
- if (typeof format !== 'string' || typeof styles !== 'string' || typeof label !== 'string') {
2109
- return false;
2110
- }
2111
- // kinda hacky, we should define a common format for these strings so we can safely ignore
2112
- return format.startsWith('%c%s%c') && styles.includes('background:');
2113
- };
2114
- function forwardUnhandledError(error) {
2115
- createUncaughtErrorEntry(error.name, error.message, stackWithOwners(error));
2116
- }
2117
- const initializeDebugLogForwarding = (router)=>{
2118
- // probably don't need this
2119
- if (isPatched) {
2120
- return;
2121
- }
2122
- // TODO(rob): why does this break rendering on server, important to know incase the same bug appears in browser
2123
- if (typeof window === 'undefined') {
2124
- return;
2125
- }
2126
- // better to be safe than sorry
2127
- try {
2128
- methods.forEach((method)=>(0, _forwardlogsshared.patchConsoleMethod)(method, function(_) {
2129
- for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
2130
- args[_key - 1] = arguments[_key];
2131
- }
2132
- if (isHMR(args)) {
2133
- return;
2134
- }
2135
- if (isIgnoredLog(args)) {
2136
- return;
2137
- }
2138
- createLogEntry(method, args);
2139
- }));
2140
- } catch (e) {}
2141
- logQueue.router = router;
2142
- isPatched = true;
2143
- };
2144
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2145
- Object.defineProperty(exports.default, '__esModule', {
2146
- value: true
2147
- });
2148
- Object.assign(exports.default, exports);
2149
- module.exports = exports.default;
2150
- } //# sourceMappingURL=forward-logs.js.map
2151
- }),
2152
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2153
- "use strict";
2154
-
2155
- Object.defineProperty(exports, "__esModule", {
2156
- value: true
2157
- });
2158
- 0 && (module.exports = {
2159
- handleClientError: null,
2160
- handleConsoleError: null,
2161
- handleGlobalErrors: null,
2162
- useErrorHandler: null
2163
- });
2164
- function _export(target, all) {
2165
- for(var name in all)Object.defineProperty(target, name, {
2166
- enumerable: true,
2167
- get: all[name]
2168
- });
2169
- }
2170
- _export(exports, {
2171
- handleClientError: function() {
2172
- return handleClientError;
2173
- },
2174
- handleConsoleError: function() {
2175
- return handleConsoleError;
2176
- },
2177
- handleGlobalErrors: function() {
2178
- return handleGlobalErrors;
2179
- },
2180
- useErrorHandler: function() {
2181
- return useErrorHandler;
2182
- }
2183
- });
2184
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
2185
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
2186
- const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)");
2187
- const _console = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/lib/console.js [app-client] (ecmascript)");
2188
- const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)"));
2189
- const _consoleerror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/shared/console-error.js [app-client] (ecmascript)");
2190
- const _stitchederror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)");
2191
- const _forwardlogs = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)");
2192
- const queueMicroTask = globalThis.queueMicrotask || ((cb)=>Promise.resolve().then(cb));
2193
- const errorQueue = [];
2194
- const errorHandlers = [];
2195
- const rejectionQueue = [];
2196
- const rejectionHandlers = [];
2197
- function handleConsoleError(originError, consoleErrorArgs) {
2198
- let error;
2199
- const { environmentName } = (0, _console.parseConsoleArgs)(consoleErrorArgs);
2200
- if ((0, _iserror.default)(originError)) {
2201
- error = (0, _consoleerror.createConsoleError)(originError, environmentName);
2202
- } else {
2203
- error = (0, _consoleerror.createConsoleError)((0, _console.formatConsoleArgs)(consoleErrorArgs), environmentName);
2204
- }
2205
- (0, _stitchederror.setOwnerStackIfAvailable)(error);
2206
- errorQueue.push(error);
2207
- for (const handler of errorHandlers){
2208
- // Delayed the error being passed to React Dev Overlay,
2209
- // avoid the state being synchronously updated in the component.
2210
- queueMicroTask(()=>{
2211
- handler(error);
2212
- });
2213
- }
2214
- }
2215
- function handleClientError(error) {
2216
- errorQueue.push(error);
2217
- for (const handler of errorHandlers){
2218
- // Delayed the error being passed to React Dev Overlay,
2219
- // avoid the state being synchronously updated in the component.
2220
- queueMicroTask(()=>{
2221
- handler(error);
2222
- });
2223
- }
2224
- }
2225
- function useErrorHandler(handleOnUnhandledError, handleOnUnhandledRejection) {
2226
- (0, _react.useEffect)(()=>{
2227
- // Handle queued errors.
2228
- errorQueue.forEach(handleOnUnhandledError);
2229
- rejectionQueue.forEach(handleOnUnhandledRejection);
2230
- // Listen to new errors.
2231
- errorHandlers.push(handleOnUnhandledError);
2232
- rejectionHandlers.push(handleOnUnhandledRejection);
2233
- return ()=>{
2234
- // Remove listeners.
2235
- errorHandlers.splice(errorHandlers.indexOf(handleOnUnhandledError), 1);
2236
- rejectionHandlers.splice(rejectionHandlers.indexOf(handleOnUnhandledRejection), 1);
2237
- // Reset error queues.
2238
- errorQueue.splice(0, errorQueue.length);
2239
- rejectionQueue.splice(0, rejectionQueue.length);
2240
- };
2241
- }, [
2242
- handleOnUnhandledError,
2243
- handleOnUnhandledRejection
2244
- ]);
2245
- }
2246
- function onUnhandledError(event) {
2247
- const thrownValue = event.error;
2248
- if ((0, _isnextroutererror.isNextRouterError)(thrownValue)) {
2249
- event.preventDefault();
2250
- return false;
2251
- }
2252
- // When there's an error property present, we log the error to error overlay.
2253
- // Otherwise we don't do anything as it's not logging in the console either.
2254
- if (thrownValue) {
2255
- const error = (0, _stitchederror.coerceError)(thrownValue);
2256
- (0, _stitchederror.setOwnerStackIfAvailable)(error);
2257
- handleClientError(error);
2258
- if (_forwardlogs.isTerminalLoggingEnabled) {
2259
- (0, _forwardlogs.forwardUnhandledError)(error);
2260
- }
2261
- }
2262
- }
2263
- function onUnhandledRejection(ev) {
2264
- const reason = ev == null ? void 0 : ev.reason;
2265
- if ((0, _isnextroutererror.isNextRouterError)(reason)) {
2266
- ev.preventDefault();
2267
- return;
2268
- }
2269
- const error = (0, _stitchederror.coerceError)(reason);
2270
- (0, _stitchederror.setOwnerStackIfAvailable)(error);
2271
- rejectionQueue.push(error);
2272
- for (const handler of rejectionHandlers){
2273
- handler(error);
2274
- }
2275
- if (_forwardlogs.isTerminalLoggingEnabled) {
2276
- (0, _forwardlogs.logUnhandledRejection)(reason);
2277
- }
2278
- }
2279
- function handleGlobalErrors() {
2280
- if (typeof window !== 'undefined') {
2281
- try {
2282
- // Increase the number of stack frames on the client
2283
- Error.stackTraceLimit = 50;
2284
- } catch (e) {}
2285
- window.addEventListener('error', onUnhandledError);
2286
- window.addEventListener('unhandledrejection', onUnhandledRejection);
2287
- }
2288
- }
2289
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2290
- Object.defineProperty(exports.default, '__esModule', {
2291
- value: true
2292
- });
2293
- Object.assign(exports.default, exports);
2294
- module.exports = exports.default;
2295
- } //# sourceMappingURL=use-error-handler.js.map
2296
- }),
2297
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2298
- "use strict";
2299
-
2300
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
2301
- "use strict";
2302
- Object.defineProperty(exports, "__esModule", {
2303
- value: true
2304
- });
2305
- 0 && (module.exports = {
2306
- originConsoleError: null,
2307
- patchConsoleError: null
2308
- });
2309
- function _export(target, all) {
2310
- for(var name in all)Object.defineProperty(target, name, {
2311
- enumerable: true,
2312
- get: all[name]
2313
- });
2314
- }
2315
- _export(exports, {
2316
- originConsoleError: function() {
2317
- return originConsoleError;
2318
- },
2319
- patchConsoleError: function() {
2320
- return patchConsoleError;
2321
- }
2322
- });
2323
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
2324
- const _iserror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/is-error.js [app-client] (ecmascript)"));
2325
- const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)");
2326
- const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)");
2327
- const _console = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/lib/console.js [app-client] (ecmascript)");
2328
- const _forwardlogs = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)");
2329
- const originConsoleError = globalThis.console.error;
2330
- function patchConsoleError() {
2331
- // Ensure it's only patched once
2332
- if (typeof window === 'undefined') {
2333
- return;
2334
- }
2335
- window.console.error = function error() {
2336
- for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
2337
- args[_key] = arguments[_key];
2338
- }
2339
- let maybeError;
2340
- if ("TURBOPACK compile-time truthy", 1) {
2341
- const { error: replayedError } = (0, _console.parseConsoleArgs)(args);
2342
- if (replayedError) {
2343
- maybeError = replayedError;
2344
- } else if ((0, _iserror.default)(args[0])) {
2345
- maybeError = args[0];
2346
- } else {
2347
- // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78
2348
- maybeError = args[1];
2349
- }
2350
- } else //TURBOPACK unreachable
2351
- ;
2352
- if (!(0, _isnextroutererror.isNextRouterError)(maybeError)) {
2353
- if ("TURBOPACK compile-time truthy", 1) {
2354
- (0, _useerrorhandler.handleConsoleError)(// but if we pass the error directly, `handleClientError` will ignore it
2355
- maybeError, args);
2356
- }
2357
- if (_forwardlogs.isTerminalLoggingEnabled) {
2358
- (0, _forwardlogs.forwardErrorLog)(args);
2359
- }
2360
- originConsoleError.apply(window.console, args);
2361
- }
2362
- };
2363
- }
2364
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2365
- Object.defineProperty(exports.default, '__esModule', {
2366
- value: true
2367
- });
2368
- Object.assign(exports.default, exports);
2369
- module.exports = exports.default;
2370
- } //# sourceMappingURL=intercept-console-error.js.map
2371
- }),
2372
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-setup.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2373
- "use strict";
2374
-
2375
- Object.defineProperty(exports, "__esModule", {
2376
- value: true
2377
- });
2378
- const _interceptconsoleerror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)");
2379
- const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)");
2380
- const _forwardlogs = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js [app-client] (ecmascript)");
2381
- (0, _useerrorhandler.handleGlobalErrors)();
2382
- (0, _interceptconsoleerror.patchConsoleError)();
2383
- if (_forwardlogs.isTerminalLoggingEnabled) {
2384
- (0, _forwardlogs.initializeDebugLogForwarding)('app');
2385
- }
2386
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2387
- Object.defineProperty(exports.default, '__esModule', {
2388
- value: true
2389
- });
2390
- Object.assign(exports.default, exports);
2391
- module.exports = exports.default;
2392
- } //# sourceMappingURL=app-dev-overlay-setup.js.map
2393
- }),
2394
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/index.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2395
- "use strict";
2396
-
2397
- Object.defineProperty(exports, "__esModule", {
2398
- value: true
2399
- });
2400
- 0 && (module.exports = {
2401
- decorateDevError: null,
2402
- handleClientError: null,
2403
- originConsoleError: null
2404
- });
2405
- function _export(target, all) {
2406
- for(var name in all)Object.defineProperty(target, name, {
2407
- enumerable: true,
2408
- get: all[name]
2409
- });
2410
- }
2411
- _export(exports, {
2412
- decorateDevError: function() {
2413
- return _stitchederror.decorateDevError;
2414
- },
2415
- handleClientError: function() {
2416
- return _useerrorhandler.handleClientError;
2417
- },
2418
- originConsoleError: function() {
2419
- return _interceptconsoleerror.originConsoleError;
2420
- }
2421
- });
2422
- const _interceptconsoleerror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/intercept-console-error.js [app-client] (ecmascript)");
2423
- const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)");
2424
- const _stitchederror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js [app-client] (ecmascript)");
2425
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2426
- Object.defineProperty(exports.default, '__esModule', {
2427
- value: true
2428
- });
2429
- Object.assign(exports.default, exports);
2430
- module.exports = exports.default;
2431
- } //# sourceMappingURL=index.js.map
2432
- }),
2433
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2434
- "use strict";
2435
-
2436
- Object.defineProperty(exports, "__esModule", {
2437
- value: true
2438
- });
2439
- 0 && (module.exports = {
2440
- SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE: null,
2441
- SegmentBoundaryTriggerNode: null,
2442
- SegmentStateProvider: null,
2443
- SegmentViewNode: null,
2444
- SegmentViewStateNode: null,
2445
- useSegmentState: null
2446
- });
2447
- function _export(target, all) {
2448
- for(var name in all)Object.defineProperty(target, name, {
2449
- enumerable: true,
2450
- get: all[name]
2451
- });
2452
- }
2453
- _export(exports, {
2454
- SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE: function() {
2455
- return SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE;
2456
- },
2457
- SegmentBoundaryTriggerNode: function() {
2458
- return SegmentBoundaryTriggerNode;
2459
- },
2460
- SegmentStateProvider: function() {
2461
- return SegmentStateProvider;
2462
- },
2463
- SegmentViewNode: function() {
2464
- return SegmentViewNode;
2465
- },
2466
- SegmentViewStateNode: function() {
2467
- return SegmentViewStateNode;
2468
- },
2469
- useSegmentState: function() {
2470
- return useSegmentState;
2471
- }
2472
- });
2473
- const _jsxruntime = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)");
2474
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
2475
- const _nextdevtools = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/next-devtools/index.js [app-client] (ecmascript)");
2476
- const _notfound = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/not-found.js [app-client] (ecmascript)");
2477
- const SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE = 'NEXT_DEVTOOLS_SIMULATED_ERROR';
2478
- function SegmentTrieNode(param) {
2479
- let { type, pagePath } = param;
2480
- const { boundaryType, setBoundaryType } = useSegmentState();
2481
- const nodeState = (0, _react.useMemo)(()=>{
2482
- return {
2483
- type,
2484
- pagePath,
2485
- boundaryType,
2486
- setBoundaryType
2487
- };
2488
- }, [
2489
- type,
2490
- pagePath,
2491
- boundaryType,
2492
- setBoundaryType
2493
- ]);
2494
- // Use `useLayoutEffect` to ensure the state is updated during suspense.
2495
- // `useEffect` won't work as the state is preserved during suspense.
2496
- (0, _react.useLayoutEffect)(()=>{
2497
- _nextdevtools.dispatcher.segmentExplorerNodeAdd(nodeState);
2498
- return ()=>{
2499
- _nextdevtools.dispatcher.segmentExplorerNodeRemove(nodeState);
2500
- };
2501
- }, [
2502
- nodeState
2503
- ]);
2504
- return null;
2505
- }
2506
- function NotFoundSegmentNode() {
2507
- (0, _notfound.notFound)();
2508
- }
2509
- function ErrorSegmentNode() {
2510
- throw Object.defineProperty(new Error(SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE), "__NEXT_ERROR_CODE", {
2511
- value: "E394",
2512
- enumerable: false,
2513
- configurable: true
2514
- });
2515
- }
2516
- const forever = new Promise(()=>{});
2517
- function LoadingSegmentNode() {
2518
- (0, _react.use)(forever);
2519
- return null;
2520
- }
2521
- function SegmentViewStateNode(param) {
2522
- let { page } = param;
2523
- (0, _react.useLayoutEffect)(()=>{
2524
- _nextdevtools.dispatcher.segmentExplorerUpdateRouteState(page);
2525
- return ()=>{
2526
- _nextdevtools.dispatcher.segmentExplorerUpdateRouteState('');
2527
- };
2528
- }, [
2529
- page
2530
- ]);
2531
- return null;
2532
- }
2533
- function SegmentBoundaryTriggerNode() {
2534
- const { boundaryType } = useSegmentState();
2535
- let segmentNode = null;
2536
- if (boundaryType === 'loading') {
2537
- segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(LoadingSegmentNode, {});
2538
- } else if (boundaryType === 'not-found') {
2539
- segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(NotFoundSegmentNode, {});
2540
- } else if (boundaryType === 'error') {
2541
- segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(ErrorSegmentNode, {});
2542
- }
2543
- return segmentNode;
2544
- }
2545
- function SegmentViewNode(param) {
2546
- let { type, pagePath, children } = param;
2547
- const segmentNode = /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentTrieNode, {
2548
- type: type,
2549
- pagePath: pagePath
2550
- }, type);
2551
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
2552
- children: [
2553
- segmentNode,
2554
- children
2555
- ]
2556
- });
2557
- }
2558
- const SegmentStateContext = /*#__PURE__*/ (0, _react.createContext)({
2559
- boundaryType: null,
2560
- setBoundaryType: ()=>{}
2561
- });
2562
- function SegmentStateProvider(param) {
2563
- let { children } = param;
2564
- const [boundaryType, setBoundaryType] = (0, _react.useState)(null);
2565
- const [errorBoundaryKey, setErrorBoundaryKey] = (0, _react.useState)(0);
2566
- const reloadBoundary = (0, _react.useCallback)(()=>setErrorBoundaryKey((prev)=>prev + 1), []);
2567
- const setBoundaryTypeAndReload = (0, _react.useCallback)((type)=>{
2568
- if (type === null) {
2569
- reloadBoundary();
2570
- }
2571
- setBoundaryType(type);
2572
- }, [
2573
- reloadBoundary
2574
- ]);
2575
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(SegmentStateContext.Provider, {
2576
- value: {
2577
- boundaryType,
2578
- setBoundaryType: setBoundaryTypeAndReload
2579
- },
2580
- children: children
2581
- }, errorBoundaryKey);
2582
- }
2583
- function useSegmentState() {
2584
- return (0, _react.useContext)(SegmentStateContext);
2585
- }
2586
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2587
- Object.defineProperty(exports.default, '__esModule', {
2588
- value: true
2589
- });
2590
- Object.assign(exports.default, exports);
2591
- module.exports = exports.default;
2592
- } //# sourceMappingURL=segment-explorer-node.js.map
2593
- }),
2594
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2595
- "use strict";
2596
-
2597
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
2598
- "use strict";
2599
- Object.defineProperty(exports, "__esModule", {
2600
- value: true
2601
- });
2602
- Object.defineProperty(exports, "AppDevOverlayErrorBoundary", {
2603
- enumerable: true,
2604
- get: function() {
2605
- return AppDevOverlayErrorBoundary;
2606
- }
2607
- });
2608
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
2609
- const _jsxruntime = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)");
2610
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
2611
- const _nextdevtools = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/next-devtools/index.js [app-client] (ecmascript)");
2612
- const _runtimeerrorhandler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/dev/runtime-error-handler.js [app-client] (ecmascript)");
2613
- const _errorboundary = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/error-boundary.js [app-client] (ecmascript)");
2614
- const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)"));
2615
- const _segmentexplorernode = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js [app-client] (ecmascript)");
2616
- function ErroredHtml(param) {
2617
- let { globalError: [GlobalError, globalErrorStyles], error } = param;
2618
- if (!error) {
2619
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)("html", {
2620
- children: [
2621
- /*#__PURE__*/ (0, _jsxruntime.jsx)("head", {}),
2622
- /*#__PURE__*/ (0, _jsxruntime.jsx)("body", {})
2623
- ]
2624
- });
2625
- }
2626
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_errorboundary.ErrorBoundary, {
2627
- errorComponent: _globalerror.default,
2628
- children: [
2629
- globalErrorStyles,
2630
- /*#__PURE__*/ (0, _jsxruntime.jsx)(GlobalError, {
2631
- error: error
2632
- })
2633
- ]
2634
- });
2635
- }
2636
- class AppDevOverlayErrorBoundary extends _react.PureComponent {
2637
- static getDerivedStateFromError(error) {
2638
- _runtimeerrorhandler.RuntimeErrorHandler.hadRuntimeError = true;
2639
- return {
2640
- reactError: error
2641
- };
2642
- }
2643
- componentDidCatch(err) {
2644
- if (("TURBOPACK compile-time value", "development") === 'development' && err.message === _segmentexplorernode.SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE) {
2645
- return;
2646
- }
2647
- _nextdevtools.dispatcher.openErrorOverlay();
2648
- }
2649
- render() {
2650
- const { children, globalError } = this.props;
2651
- const { reactError } = this.state;
2652
- const fallback = /*#__PURE__*/ (0, _jsxruntime.jsx)(ErroredHtml, {
2653
- globalError: globalError,
2654
- error: reactError
2655
- });
2656
- return reactError !== null ? fallback : children;
2657
- }
2658
- constructor(...args){
2659
- super(...args), this.state = {
2660
- reactError: null
2661
- };
2662
- }
2663
- }
2664
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2665
- Object.defineProperty(exports.default, '__esModule', {
2666
- value: true
2667
- });
2668
- Object.assign(exports.default, exports);
2669
- module.exports = exports.default;
2670
- } //# sourceMappingURL=app-dev-overlay-error-boundary.js.map
2671
- }),
2672
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/use-app-dev-rendering-indicator.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2673
- "use strict";
2674
-
2675
- Object.defineProperty(exports, "__esModule", {
2676
- value: true
2677
- });
2678
- Object.defineProperty(exports, "useAppDevRenderingIndicator", {
2679
- enumerable: true,
2680
- get: function() {
2681
- return useAppDevRenderingIndicator;
2682
- }
2683
- });
2684
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
2685
- const _nextdevtools = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/next-devtools/index.js [app-client] (ecmascript)");
2686
- const useAppDevRenderingIndicator = ()=>{
2687
- const [isPending, startTransition] = (0, _react.useTransition)();
2688
- (0, _react.useEffect)(()=>{
2689
- if (isPending) {
2690
- _nextdevtools.dispatcher.renderingIndicatorShow();
2691
- } else {
2692
- _nextdevtools.dispatcher.renderingIndicatorHide();
2693
- }
2694
- }, [
2695
- isPending
2696
- ]);
2697
- return startTransition;
2698
- };
2699
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2700
- Object.defineProperty(exports.default, '__esModule', {
2701
- value: true
2702
- });
2703
- Object.assign(exports.default, exports);
2704
- module.exports = exports.default;
2705
- } //# sourceMappingURL=use-app-dev-rendering-indicator.js.map
2706
- }),
2707
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/replay-ssr-only-errors.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2708
- "use strict";
2709
-
2710
- var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
2711
- "use strict";
2712
- Object.defineProperty(exports, "__esModule", {
2713
- value: true
2714
- });
2715
- Object.defineProperty(exports, "ReplaySsrOnlyErrors", {
2716
- enumerable: true,
2717
- get: function() {
2718
- return ReplaySsrOnlyErrors;
2719
- }
2720
- });
2721
- const _react = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)");
2722
- const _useerrorhandler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/errors/use-error-handler.js [app-client] (ecmascript)");
2723
- const _isnextroutererror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/is-next-router-error.js [app-client] (ecmascript)");
2724
- const _constants = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/errors/constants.js [app-client] (ecmascript)");
2725
- function readSsrError() {
2726
- if (typeof document === 'undefined') {
2727
- return null;
2728
- }
2729
- const ssrErrorTemplateTag = document.querySelector('template[data-next-error-message]');
2730
- if (ssrErrorTemplateTag) {
2731
- const message = ssrErrorTemplateTag.getAttribute('data-next-error-message');
2732
- const stack = ssrErrorTemplateTag.getAttribute('data-next-error-stack');
2733
- const digest = ssrErrorTemplateTag.getAttribute('data-next-error-digest');
2734
- const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
2735
- value: "E394",
2736
- enumerable: false,
2737
- configurable: true
2738
- });
2739
- if (digest) {
2740
- ;
2741
- error.digest = digest;
2742
- }
2743
- // Skip Next.js SSR'd internal errors that which will be handled by the error boundaries.
2744
- if ((0, _isnextroutererror.isNextRouterError)(error)) {
2745
- return null;
2746
- }
2747
- error.stack = stack || '';
2748
- return error;
2749
- }
2750
- return null;
2751
- }
2752
- function ReplaySsrOnlyErrors(param) {
2753
- let { onBlockingError } = param;
2754
- if ("TURBOPACK compile-time truthy", 1) {
2755
- // Need to read during render. The attributes will be gone after commit.
2756
- const ssrError = readSsrError();
2757
- // eslint-disable-next-line react-hooks/rules-of-hooks
2758
- (0, _react.useEffect)(()=>{
2759
- if (ssrError !== null) {
2760
- // TODO(veil): Include original Owner Stack (NDX-905)
2761
- // TODO(veil): Mark as recoverable error
2762
- // TODO(veil): console.error
2763
- (0, _useerrorhandler.handleClientError)(ssrError);
2764
- // If it's missing root tags, we can't recover, make it blocking.
2765
- if (ssrError.digest === _constants.MISSING_ROOT_TAGS_ERROR) {
2766
- onBlockingError();
2767
- }
2768
- }
2769
- }, [
2770
- ssrError,
2771
- onBlockingError
2772
- ]);
2773
- }
2774
- return null;
2775
- }
2776
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2777
- Object.defineProperty(exports.default, '__esModule', {
2778
- value: true
2779
- });
2780
- Object.assign(exports.default, exports);
2781
- module.exports = exports.default;
2782
- } //# sourceMappingURL=replay-ssr-only-errors.js.map
2783
- }),
2784
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/client-entry.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2785
- "use strict";
2786
-
2787
- Object.defineProperty(exports, "__esModule", {
2788
- value: true
2789
- });
2790
- Object.defineProperty(exports, "RootLevelDevOverlayElement", {
2791
- enumerable: true,
2792
- get: function() {
2793
- return RootLevelDevOverlayElement;
2794
- }
2795
- });
2796
- const _interop_require_default = __turbopack_context__.r("[project]/node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs [app-client] (ecmascript)");
2797
- const _jsxruntime = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/jsx-runtime.js [app-client] (ecmascript)");
2798
- const _react = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
2799
- const _globalerror = /*#__PURE__*/ _interop_require_default._(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/builtin/global-error.js [app-client] (ecmascript)"));
2800
- const _appdevoverlayerrorboundary = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js [app-client] (ecmascript)");
2801
- function RootLevelDevOverlayElement(param) {
2802
- let { children } = param;
2803
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_appdevoverlayerrorboundary.AppDevOverlayErrorBoundary, {
2804
- globalError: [
2805
- _globalerror.default,
2806
- null
2807
- ],
2808
- children: children
2809
- });
2810
- }
2811
- if ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {
2812
- Object.defineProperty(exports.default, '__esModule', {
2813
- value: true
2814
- });
2815
- Object.assign(exports.default, exports);
2816
- module.exports = exports.default;
2817
- } //# sourceMappingURL=client-entry.js.map
2818
- }),
2819
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2820
- "use strict";
2821
-
2822
- Object.defineProperty(exports, "__esModule", {
2823
- value: true
2824
- });
2825
- 0 && (module.exports = {
2826
- bindSnapshot: null,
2827
- createAsyncLocalStorage: null,
2828
- createSnapshot: null
2829
- });
2830
- function _export(target, all) {
2831
- for(var name in all)Object.defineProperty(target, name, {
2832
- enumerable: true,
2833
- get: all[name]
2834
- });
2835
- }
2836
- _export(exports, {
2837
- bindSnapshot: function() {
2838
- return bindSnapshot;
2839
- },
2840
- createAsyncLocalStorage: function() {
2841
- return createAsyncLocalStorage;
2842
- },
2843
- createSnapshot: function() {
2844
- return createSnapshot;
2845
- }
2846
- });
2847
- const sharedAsyncLocalStorageNotAvailableError = Object.defineProperty(new Error('Invariant: AsyncLocalStorage accessed in runtime where it is not available'), "__NEXT_ERROR_CODE", {
2848
- value: "E504",
2849
- enumerable: false,
2850
- configurable: true
2851
- });
2852
- class FakeAsyncLocalStorage {
2853
- disable() {
2854
- throw sharedAsyncLocalStorageNotAvailableError;
2855
- }
2856
- getStore() {
2857
- // This fake implementation of AsyncLocalStorage always returns `undefined`.
2858
- return undefined;
2859
- }
2860
- run() {
2861
- throw sharedAsyncLocalStorageNotAvailableError;
2862
- }
2863
- exit() {
2864
- throw sharedAsyncLocalStorageNotAvailableError;
2865
- }
2866
- enterWith() {
2867
- throw sharedAsyncLocalStorageNotAvailableError;
2868
- }
2869
- static bind(fn) {
2870
- return fn;
2871
- }
2872
- }
2873
- const maybeGlobalAsyncLocalStorage = typeof globalThis !== 'undefined' && globalThis.AsyncLocalStorage;
2874
- function createAsyncLocalStorage() {
2875
- if (maybeGlobalAsyncLocalStorage) {
2876
- return new maybeGlobalAsyncLocalStorage();
2877
- }
2878
- return new FakeAsyncLocalStorage();
2879
- }
2880
- function bindSnapshot(fn) {
2881
- if (maybeGlobalAsyncLocalStorage) {
2882
- return maybeGlobalAsyncLocalStorage.bind(fn);
2883
- }
2884
- return FakeAsyncLocalStorage.bind(fn);
2885
- }
2886
- function createSnapshot() {
2887
- if (maybeGlobalAsyncLocalStorage) {
2888
- return maybeGlobalAsyncLocalStorage.snapshot();
2889
- }
2890
- return function(fn) {
2891
- for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
2892
- args[_key - 1] = arguments[_key];
2893
- }
2894
- return fn(...args);
2895
- };
2896
- } //# sourceMappingURL=async-local-storage.js.map
2897
- }),
2898
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2899
- "use strict";
2900
-
2901
- Object.defineProperty(exports, "__esModule", {
2902
- value: true
2903
- });
2904
- Object.defineProperty(exports, "workUnitAsyncStorageInstance", {
2905
- enumerable: true,
2906
- get: function() {
2907
- return workUnitAsyncStorageInstance;
2908
- }
2909
- });
2910
- const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)");
2911
- const workUnitAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=work-unit-async-storage-instance.js.map
2912
- }),
2913
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
2914
- "use strict";
2915
-
2916
- Object.defineProperty(exports, "__esModule", {
2917
- value: true
2918
- });
2919
- 0 && (module.exports = {
2920
- getCacheSignal: null,
2921
- getDraftModeProviderForCacheScope: null,
2922
- getHmrRefreshHash: null,
2923
- getPrerenderResumeDataCache: null,
2924
- getRenderResumeDataCache: null,
2925
- getRuntimeStagePromise: null,
2926
- getServerComponentsHmrCache: null,
2927
- isHmrRefresh: null,
2928
- throwForMissingRequestStore: null,
2929
- throwInvariantForMissingStore: null,
2930
- workUnitAsyncStorage: null
2931
- });
2932
- function _export(target, all) {
2933
- for(var name in all)Object.defineProperty(target, name, {
2934
- enumerable: true,
2935
- get: all[name]
2936
- });
2937
- }
2938
- _export(exports, {
2939
- getCacheSignal: function() {
2940
- return getCacheSignal;
2941
- },
2942
- getDraftModeProviderForCacheScope: function() {
2943
- return getDraftModeProviderForCacheScope;
2944
- },
2945
- getHmrRefreshHash: function() {
2946
- return getHmrRefreshHash;
2947
- },
2948
- getPrerenderResumeDataCache: function() {
2949
- return getPrerenderResumeDataCache;
2950
- },
2951
- getRenderResumeDataCache: function() {
2952
- return getRenderResumeDataCache;
2953
- },
2954
- getRuntimeStagePromise: function() {
2955
- return getRuntimeStagePromise;
2956
- },
2957
- getServerComponentsHmrCache: function() {
2958
- return getServerComponentsHmrCache;
2959
- },
2960
- isHmrRefresh: function() {
2961
- return isHmrRefresh;
2962
- },
2963
- throwForMissingRequestStore: function() {
2964
- return throwForMissingRequestStore;
2965
- },
2966
- throwInvariantForMissingStore: function() {
2967
- return throwInvariantForMissingStore;
2968
- },
2969
- workUnitAsyncStorage: function() {
2970
- return _workunitasyncstorageinstance.workUnitAsyncStorageInstance;
2971
- }
2972
- });
2973
- const _workunitasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js [app-client] (ecmascript)");
2974
- const _approuterheaders = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/app-router-headers.js [app-client] (ecmascript)");
2975
- const _invarianterror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)");
2976
- function throwForMissingRequestStore(callingExpression) {
2977
- throw Object.defineProperty(new Error("`".concat(callingExpression, "` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")), "__NEXT_ERROR_CODE", {
2978
- value: "E251",
2979
- enumerable: false,
2980
- configurable: true
2981
- });
2982
- }
2983
- function throwInvariantForMissingStore() {
2984
- throw Object.defineProperty(new _invarianterror.InvariantError('Expected workUnitAsyncStorage to have a store.'), "__NEXT_ERROR_CODE", {
2985
- value: "E696",
2986
- enumerable: false,
2987
- configurable: true
2988
- });
2989
- }
2990
- function getPrerenderResumeDataCache(workUnitStore) {
2991
- switch(workUnitStore.type){
2992
- case 'prerender':
2993
- case 'prerender-runtime':
2994
- case 'prerender-ppr':
2995
- return workUnitStore.prerenderResumeDataCache;
2996
- case 'prerender-client':
2997
- // TODO eliminate fetch caching in client scope and stop exposing this data
2998
- // cache during SSR.
2999
- return workUnitStore.prerenderResumeDataCache;
3000
- case 'prerender-legacy':
3001
- case 'request':
3002
- case 'cache':
3003
- case 'private-cache':
3004
- case 'unstable-cache':
3005
- return null;
3006
- default:
3007
- return workUnitStore;
3008
- }
3009
- }
3010
- function getRenderResumeDataCache(workUnitStore) {
3011
- switch(workUnitStore.type){
3012
- case 'request':
3013
- return workUnitStore.renderResumeDataCache;
3014
- case 'prerender':
3015
- case 'prerender-runtime':
3016
- case 'prerender-client':
3017
- if (workUnitStore.renderResumeDataCache) {
3018
- // If we are in a prerender, we might have a render resume data cache
3019
- // that is used to read from prefilled caches.
3020
- return workUnitStore.renderResumeDataCache;
3021
- }
3022
- // fallthrough
3023
- case 'prerender-ppr':
3024
- // Otherwise we return the mutable resume data cache here as an immutable
3025
- // version of the cache as it can also be used for reading.
3026
- return workUnitStore.prerenderResumeDataCache;
3027
- case 'cache':
3028
- case 'private-cache':
3029
- case 'unstable-cache':
3030
- case 'prerender-legacy':
3031
- return null;
3032
- default:
3033
- return workUnitStore;
3034
- }
3035
- }
3036
- function getHmrRefreshHash(workStore, workUnitStore) {
3037
- if (workStore.dev) {
3038
- switch(workUnitStore.type){
3039
- case 'cache':
3040
- case 'private-cache':
3041
- case 'prerender':
3042
- case 'prerender-runtime':
3043
- return workUnitStore.hmrRefreshHash;
3044
- case 'request':
3045
- var _workUnitStore_cookies_get;
3046
- return (_workUnitStore_cookies_get = workUnitStore.cookies.get(_approuterheaders.NEXT_HMR_REFRESH_HASH_COOKIE)) == null ? void 0 : _workUnitStore_cookies_get.value;
3047
- case 'prerender-client':
3048
- case 'prerender-ppr':
3049
- case 'prerender-legacy':
3050
- case 'unstable-cache':
3051
- break;
3052
- default:
3053
- workUnitStore;
3054
- }
3055
- }
3056
- return undefined;
3057
- }
3058
- function isHmrRefresh(workStore, workUnitStore) {
3059
- if (workStore.dev) {
3060
- switch(workUnitStore.type){
3061
- case 'cache':
3062
- case 'private-cache':
3063
- case 'request':
3064
- var _workUnitStore_isHmrRefresh;
3065
- return (_workUnitStore_isHmrRefresh = workUnitStore.isHmrRefresh) !== null && _workUnitStore_isHmrRefresh !== void 0 ? _workUnitStore_isHmrRefresh : false;
3066
- case 'prerender':
3067
- case 'prerender-client':
3068
- case 'prerender-runtime':
3069
- case 'prerender-ppr':
3070
- case 'prerender-legacy':
3071
- case 'unstable-cache':
3072
- break;
3073
- default:
3074
- workUnitStore;
3075
- }
3076
- }
3077
- return false;
3078
- }
3079
- function getServerComponentsHmrCache(workStore, workUnitStore) {
3080
- if (workStore.dev) {
3081
- switch(workUnitStore.type){
3082
- case 'cache':
3083
- case 'private-cache':
3084
- case 'request':
3085
- return workUnitStore.serverComponentsHmrCache;
3086
- case 'prerender':
3087
- case 'prerender-client':
3088
- case 'prerender-runtime':
3089
- case 'prerender-ppr':
3090
- case 'prerender-legacy':
3091
- case 'unstable-cache':
3092
- break;
3093
- default:
3094
- workUnitStore;
3095
- }
3096
- }
3097
- return undefined;
3098
- }
3099
- function getDraftModeProviderForCacheScope(workStore, workUnitStore) {
3100
- if (workStore.isDraftMode) {
3101
- switch(workUnitStore.type){
3102
- case 'cache':
3103
- case 'private-cache':
3104
- case 'unstable-cache':
3105
- case 'prerender-runtime':
3106
- case 'request':
3107
- return workUnitStore.draftMode;
3108
- case 'prerender':
3109
- case 'prerender-client':
3110
- case 'prerender-ppr':
3111
- case 'prerender-legacy':
3112
- break;
3113
- default:
3114
- workUnitStore;
3115
- }
3116
- }
3117
- return undefined;
3118
- }
3119
- function getCacheSignal(workUnitStore) {
3120
- switch(workUnitStore.type){
3121
- case 'prerender':
3122
- case 'prerender-client':
3123
- case 'prerender-runtime':
3124
- return workUnitStore.cacheSignal;
3125
- case 'prerender-ppr':
3126
- case 'prerender-legacy':
3127
- case 'request':
3128
- case 'cache':
3129
- case 'private-cache':
3130
- case 'unstable-cache':
3131
- return null;
3132
- default:
3133
- return workUnitStore;
3134
- }
3135
- }
3136
- function getRuntimeStagePromise(workUnitStore) {
3137
- switch(workUnitStore.type){
3138
- case 'prerender-runtime':
3139
- case 'private-cache':
3140
- return workUnitStore.runtimeStagePromise;
3141
- case 'prerender':
3142
- case 'prerender-client':
3143
- case 'prerender-ppr':
3144
- case 'prerender-legacy':
3145
- case 'request':
3146
- case 'cache':
3147
- case 'unstable-cache':
3148
- return null;
3149
- default:
3150
- return workUnitStore;
3151
- }
3152
- } //# sourceMappingURL=work-unit-async-storage.external.js.map
3153
- }),
3154
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3155
- "use strict";
3156
-
3157
- Object.defineProperty(exports, "__esModule", {
3158
- value: true
3159
- });
3160
- Object.defineProperty(exports, "workAsyncStorageInstance", {
3161
- enumerable: true,
3162
- get: function() {
3163
- return workAsyncStorageInstance;
3164
- }
3165
- });
3166
- const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)");
3167
- const workAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=work-async-storage-instance.js.map
3168
- }),
3169
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3170
- "use strict";
3171
-
3172
- Object.defineProperty(exports, "__esModule", {
3173
- value: true
3174
- });
3175
- Object.defineProperty(exports, "workAsyncStorage", {
3176
- enumerable: true,
3177
- get: function() {
3178
- return _workasyncstorageinstance.workAsyncStorageInstance;
3179
- }
3180
- });
3181
- const _workasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=work-async-storage.external.js.map
3182
- }),
3183
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/action-async-storage-instance.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3184
- "use strict";
3185
-
3186
- Object.defineProperty(exports, "__esModule", {
3187
- value: true
3188
- });
3189
- Object.defineProperty(exports, "actionAsyncStorageInstance", {
3190
- enumerable: true,
3191
- get: function() {
3192
- return actionAsyncStorageInstance;
3193
- }
3194
- });
3195
- const _asynclocalstorage = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/async-local-storage.js [app-client] (ecmascript)");
3196
- const actionAsyncStorageInstance = (0, _asynclocalstorage.createAsyncLocalStorage)(); //# sourceMappingURL=action-async-storage-instance.js.map
3197
- }),
3198
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/action-async-storage.external.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3199
- "use strict";
3200
-
3201
- Object.defineProperty(exports, "__esModule", {
3202
- value: true
3203
- });
3204
- Object.defineProperty(exports, "actionAsyncStorage", {
3205
- enumerable: true,
3206
- get: function() {
3207
- return _actionasyncstorageinstance.actionAsyncStorageInstance;
3208
- }
3209
- });
3210
- const _actionasyncstorageinstance = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/action-async-storage-instance.js [app-client] (ecmascript)"); //# sourceMappingURL=action-async-storage.external.js.map
3211
- }),
3212
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3213
- "use strict";
3214
-
3215
- Object.defineProperty(exports, "__esModule", {
3216
- value: true
3217
- });
3218
- 0 && (module.exports = {
3219
- isHangingPromiseRejectionError: null,
3220
- makeDevtoolsIOAwarePromise: null,
3221
- makeHangingPromise: null
3222
- });
3223
- function _export(target, all) {
3224
- for(var name in all)Object.defineProperty(target, name, {
3225
- enumerable: true,
3226
- get: all[name]
3227
- });
3228
- }
3229
- _export(exports, {
3230
- isHangingPromiseRejectionError: function() {
3231
- return isHangingPromiseRejectionError;
3232
- },
3233
- makeDevtoolsIOAwarePromise: function() {
3234
- return makeDevtoolsIOAwarePromise;
3235
- },
3236
- makeHangingPromise: function() {
3237
- return makeHangingPromise;
3238
- }
3239
- });
3240
- function isHangingPromiseRejectionError(err) {
3241
- if (typeof err !== 'object' || err === null || !('digest' in err)) {
3242
- return false;
3243
- }
3244
- return err.digest === HANGING_PROMISE_REJECTION;
3245
- }
3246
- const HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION';
3247
- class HangingPromiseRejectionError extends Error {
3248
- constructor(route, expression){
3249
- super("During prerendering, ".concat(expression, " rejects when the prerender is complete. Typically these errors are handled by React but if you move ").concat(expression, ' to a different context by using `setTimeout`, `after`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "').concat(route, '".')), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION;
3250
- }
3251
- }
3252
- const abortListenersBySignal = new WeakMap();
3253
- function makeHangingPromise(signal, route, expression) {
3254
- if (signal.aborted) {
3255
- return Promise.reject(new HangingPromiseRejectionError(route, expression));
3256
- } else {
3257
- const hangingPromise = new Promise((_, reject)=>{
3258
- const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression));
3259
- let currentListeners = abortListenersBySignal.get(signal);
3260
- if (currentListeners) {
3261
- currentListeners.push(boundRejection);
3262
- } else {
3263
- const listeners = [
3264
- boundRejection
3265
- ];
3266
- abortListenersBySignal.set(signal, listeners);
3267
- signal.addEventListener('abort', ()=>{
3268
- for(let i = 0; i < listeners.length; i++){
3269
- listeners[i]();
3270
- }
3271
- }, {
3272
- once: true
3273
- });
3274
- }
3275
- });
3276
- // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so
3277
- // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct
3278
- // your own promise out of it you'll need to ensure you handle the error when it rejects.
3279
- hangingPromise.catch(ignoreReject);
3280
- return hangingPromise;
3281
- }
3282
- }
3283
- function ignoreReject() {}
3284
- function makeDevtoolsIOAwarePromise(underlying) {
3285
- // in React DevTools if we resolve in a setTimeout we will observe
3286
- // the promise resolution as something that can suspend a boundary or root.
3287
- return new Promise((resolve)=>{
3288
- // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.
3289
- setTimeout(()=>{
3290
- resolve(underlying);
3291
- }, 0);
3292
- });
3293
- } //# sourceMappingURL=dynamic-rendering-utils.js.map
3294
- }),
3295
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/lib/router-utils/is-postpone.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3296
- "use strict";
3297
-
3298
- Object.defineProperty(exports, "__esModule", {
3299
- value: true
3300
- });
3301
- Object.defineProperty(exports, "isPostpone", {
3302
- enumerable: true,
3303
- get: function() {
3304
- return isPostpone;
3305
- }
3306
- });
3307
- const REACT_POSTPONE_TYPE = Symbol.for('react.postpone');
3308
- function isPostpone(error) {
3309
- return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;
3310
- } //# sourceMappingURL=is-postpone.js.map
3311
- }),
3312
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/dynamic-rendering.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
3313
- "use strict";
3314
-
3315
- /**
3316
- * The functions provided by this module are used to communicate certain properties
3317
- * about the currently running code so that Next.js can make decisions on how to handle
3318
- * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.
3319
- *
3320
- * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.
3321
- * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts
3322
- * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of
3323
- * Dynamic indications.
3324
- *
3325
- * The first is simply an intention to be dynamic. unstable_noStore is an example of this where
3326
- * the currently executing code simply declares that the current scope is dynamic but if you use it
3327
- * inside unstable_cache it can still be cached. This type of indication can be removed if we ever
3328
- * make the default dynamic to begin with because the only way you would ever be static is inside
3329
- * a cache scope which this indication does not affect.
3330
- *
3331
- * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic
3332
- * because it means that it is inappropriate to cache this at all. using a dynamic data source inside
3333
- * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should
3334
- * read that data outside the cache and pass it in as an argument to the cached function.
3335
- */ var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$5$2e$1$2d$canary$2e$30_babel$2d$plugin$2d$react$2d$compiler$40$19$2e$1$2e$0$2d$rc$2e$3_react$2d$dom$40$19$2e$2$2e$0$2d$canary$2d$d_5eea965284f26eb4e30482e6426df099$2f$node_modules$2f$next$2f$dist$2f$build$2f$polyfills$2f$process$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = /*#__PURE__*/ __turbopack_context__.i("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/build/polyfills/process.js [app-client] (ecmascript)");
3336
- "use strict";
3337
- Object.defineProperty(exports, "__esModule", {
3338
- value: true
3339
- });
3340
- 0 && (module.exports = {
3341
- Postpone: null,
3342
- PreludeState: null,
3343
- abortAndThrowOnSynchronousRequestDataAccess: null,
3344
- abortOnSynchronousPlatformIOAccess: null,
3345
- accessedDynamicData: null,
3346
- annotateDynamicAccess: null,
3347
- consumeDynamicAccess: null,
3348
- createDynamicTrackingState: null,
3349
- createDynamicValidationState: null,
3350
- createHangingInputAbortSignal: null,
3351
- createRenderInBrowserAbortSignal: null,
3352
- delayUntilRuntimeStage: null,
3353
- formatDynamicAPIAccesses: null,
3354
- getFirstDynamicReason: null,
3355
- isDynamicPostpone: null,
3356
- isPrerenderInterruptedError: null,
3357
- logDisallowedDynamicError: null,
3358
- markCurrentScopeAsDynamic: null,
3359
- postponeWithTracking: null,
3360
- throwIfDisallowedDynamic: null,
3361
- throwToInterruptStaticGeneration: null,
3362
- trackAllowedDynamicAccess: null,
3363
- trackDynamicDataInDynamicRender: null,
3364
- trackSynchronousPlatformIOAccessInDev: null,
3365
- trackSynchronousRequestDataAccessInDev: null,
3366
- useDynamicRouteParams: null,
3367
- useDynamicSearchParams: null
3368
- });
3369
- function _export(target, all) {
3370
- for(var name in all)Object.defineProperty(target, name, {
3371
- enumerable: true,
3372
- get: all[name]
3373
- });
3374
- }
3375
- _export(exports, {
3376
- Postpone: function() {
3377
- return Postpone;
3378
- },
3379
- PreludeState: function() {
3380
- return PreludeState;
3381
- },
3382
- abortAndThrowOnSynchronousRequestDataAccess: function() {
3383
- return abortAndThrowOnSynchronousRequestDataAccess;
3384
- },
3385
- abortOnSynchronousPlatformIOAccess: function() {
3386
- return abortOnSynchronousPlatformIOAccess;
3387
- },
3388
- accessedDynamicData: function() {
3389
- return accessedDynamicData;
3390
- },
3391
- annotateDynamicAccess: function() {
3392
- return annotateDynamicAccess;
3393
- },
3394
- consumeDynamicAccess: function() {
3395
- return consumeDynamicAccess;
3396
- },
3397
- createDynamicTrackingState: function() {
3398
- return createDynamicTrackingState;
3399
- },
3400
- createDynamicValidationState: function() {
3401
- return createDynamicValidationState;
3402
- },
3403
- createHangingInputAbortSignal: function() {
3404
- return createHangingInputAbortSignal;
3405
- },
3406
- createRenderInBrowserAbortSignal: function() {
3407
- return createRenderInBrowserAbortSignal;
3408
- },
3409
- delayUntilRuntimeStage: function() {
3410
- return delayUntilRuntimeStage;
3411
- },
3412
- formatDynamicAPIAccesses: function() {
3413
- return formatDynamicAPIAccesses;
3414
- },
3415
- getFirstDynamicReason: function() {
3416
- return getFirstDynamicReason;
3417
- },
3418
- isDynamicPostpone: function() {
3419
- return isDynamicPostpone;
3420
- },
3421
- isPrerenderInterruptedError: function() {
3422
- return isPrerenderInterruptedError;
3423
- },
3424
- logDisallowedDynamicError: function() {
3425
- return logDisallowedDynamicError;
3426
- },
3427
- markCurrentScopeAsDynamic: function() {
3428
- return markCurrentScopeAsDynamic;
3429
- },
3430
- postponeWithTracking: function() {
3431
- return postponeWithTracking;
3432
- },
3433
- throwIfDisallowedDynamic: function() {
3434
- return throwIfDisallowedDynamic;
3435
- },
3436
- throwToInterruptStaticGeneration: function() {
3437
- return throwToInterruptStaticGeneration;
3438
- },
3439
- trackAllowedDynamicAccess: function() {
3440
- return trackAllowedDynamicAccess;
3441
- },
3442
- trackDynamicDataInDynamicRender: function() {
3443
- return trackDynamicDataInDynamicRender;
3444
- },
3445
- trackSynchronousPlatformIOAccessInDev: function() {
3446
- return trackSynchronousPlatformIOAccessInDev;
3447
- },
3448
- trackSynchronousRequestDataAccessInDev: function() {
3449
- return trackSynchronousRequestDataAccessInDev;
3450
- },
3451
- useDynamicRouteParams: function() {
3452
- return useDynamicRouteParams;
3453
- },
3454
- useDynamicSearchParams: function() {
3455
- return useDynamicSearchParams;
3456
- }
3457
- });
3458
- const _react = /*#__PURE__*/ _interop_require_default(__turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/compiled/react/index.js [app-client] (ecmascript)"));
3459
- const _hooksservercontext = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/hooks-server-context.js [app-client] (ecmascript)");
3460
- const _staticgenerationbailout = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/client/components/static-generation-bailout.js [app-client] (ecmascript)");
3461
- const _workunitasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js [app-client] (ecmascript)");
3462
- const _workasyncstorageexternal = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/app-render/work-async-storage.external.js [app-client] (ecmascript)");
3463
- const _dynamicrenderingutils = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/dynamic-rendering-utils.js [app-client] (ecmascript)");
3464
- const _boundaryconstants = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/framework/boundary-constants.js [app-client] (ecmascript)");
3465
- const _scheduler = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/lib/scheduler.js [app-client] (ecmascript)");
3466
- const _bailouttocsr = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js [app-client] (ecmascript)");
3467
- const _invarianterror = __turbopack_context__.r("[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/shared/lib/invariant-error.js [app-client] (ecmascript)");
3468
- function _interop_require_default(obj) {
3469
- return obj && obj.__esModule ? obj : {
3470
- default: obj
3471
- };
3472
- }
3473
- const hasPostpone = typeof _react.default.unstable_postpone === 'function';
3474
- function createDynamicTrackingState(isDebugDynamicAccesses) {
3475
- return {
3476
- isDebugDynamicAccesses,
3477
- dynamicAccesses: [],
3478
- syncDynamicErrorWithStack: null
3479
- };
3480
- }
3481
- function createDynamicValidationState() {
3482
- return {
3483
- hasSuspenseAboveBody: false,
3484
- hasDynamicMetadata: false,
3485
- hasDynamicViewport: false,
3486
- hasAllowedDynamic: false,
3487
- dynamicErrors: []
3488
- };
3489
- }
3490
- function getFirstDynamicReason(trackingState) {
3491
- var _trackingState_dynamicAccesses_;
3492
- return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression;
3493
- }
3494
- function markCurrentScopeAsDynamic(store, workUnitStore, expression) {
3495
- if (workUnitStore) {
3496
- switch(workUnitStore.type){
3497
- case 'cache':
3498
- case 'unstable-cache':
3499
- // Inside cache scopes, marking a scope as dynamic has no effect,
3500
- // because the outer cache scope creates a cache boundary. This is
3501
- // subtly different from reading a dynamic data source, which is
3502
- // forbidden inside a cache scope.
3503
- return;
3504
- case 'private-cache':
3505
- // A private cache scope is already dynamic by definition.
3506
- return;
3507
- case 'prerender-legacy':
3508
- case 'prerender-ppr':
3509
- case 'request':
3510
- break;
3511
- default:
3512
- workUnitStore;
3513
- }
3514
- }
3515
- // If we're forcing dynamic rendering or we're forcing static rendering, we
3516
- // don't need to do anything here because the entire page is already dynamic
3517
- // or it's static and it should not throw or postpone here.
3518
- if (store.forceDynamic || store.forceStatic) return;
3519
- if (store.dynamicShouldError) {
3520
- throw Object.defineProperty(new _staticgenerationbailout.StaticGenBailoutError("Route ".concat(store.route, ' with `dynamic = "error"` couldn\'t be rendered statically because it used `').concat(expression, "`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering")), "__NEXT_ERROR_CODE", {
3521
- value: "E553",
3522
- enumerable: false,
3523
- configurable: true
3524
- });
3525
- }
3526
- if (workUnitStore) {
3527
- switch(workUnitStore.type){
3528
- case 'prerender-ppr':
3529
- return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking);
3530
- case 'prerender-legacy':
3531
- workUnitStore.revalidate = 0;
3532
- // We aren't prerendering, but we are generating a static page. We need
3533
- // to bail out of static generation.
3534
- const err = Object.defineProperty(new _hooksservercontext.DynamicServerError("Route ".concat(store.route, " couldn't be rendered statically because it used ").concat(expression, ". See more info here: https://nextjs.org/docs/messages/dynamic-server-error")), "__NEXT_ERROR_CODE", {
3535
- value: "E550",
3536
- enumerable: false,
3537
- configurable: true
3538
- });
3539
- store.dynamicUsageDescription = expression;
3540
- store.dynamicUsageStack = err.stack;
3541
- throw err;
3542
- case 'request':
3543
- if ("TURBOPACK compile-time truthy", 1) {
3544
- workUnitStore.usedDynamic = true;
3545
- }
3546
- break;
3547
- default:
3548
- workUnitStore;
3549
- }
3550
- }
3551
- }
3552
- function throwToInterruptStaticGeneration(expression, store, prerenderStore) {
3553
- // We aren't prerendering but we are generating a static page. We need to bail out of static generation
3554
- const err = Object.defineProperty(new _hooksservercontext.DynamicServerError("Route ".concat(store.route, " couldn't be rendered statically because it used `").concat(expression, "`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error")), "__NEXT_ERROR_CODE", {
3555
- value: "E558",
3556
- enumerable: false,
3557
- configurable: true
3558
- });
3559
- prerenderStore.revalidate = 0;
3560
- store.dynamicUsageDescription = expression;
3561
- store.dynamicUsageStack = err.stack;
3562
- throw err;
3563
- }
3564
- function trackDynamicDataInDynamicRender(workUnitStore) {
3565
- switch(workUnitStore.type){
3566
- case 'cache':
3567
- case 'unstable-cache':
3568
- // Inside cache scopes, marking a scope as dynamic has no effect,
3569
- // because the outer cache scope creates a cache boundary. This is
3570
- // subtly different from reading a dynamic data source, which is
3571
- // forbidden inside a cache scope.
3572
- return;
3573
- case 'private-cache':
3574
- // A private cache scope is already dynamic by definition.
3575
- return;
3576
- case 'prerender':
3577
- case 'prerender-runtime':
3578
- case 'prerender-legacy':
3579
- case 'prerender-ppr':
3580
- case 'prerender-client':
3581
- break;
3582
- case 'request':
3583
- if ("TURBOPACK compile-time truthy", 1) {
3584
- workUnitStore.usedDynamic = true;
3585
- }
3586
- break;
3587
- default:
3588
- workUnitStore;
3589
- }
3590
- }
3591
- function abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) {
3592
- const reason = "Route ".concat(route, " needs to bail out of prerendering at this point because it used ").concat(expression, ".");
3593
- const error = createPrerenderInterruptedError(reason);
3594
- prerenderStore.controller.abort(error);
3595
- const dynamicTracking = prerenderStore.dynamicTracking;
3596
- if (dynamicTracking) {
3597
- dynamicTracking.dynamicAccesses.push({
3598
- // When we aren't debugging, we don't need to create another error for the
3599
- // stack trace.
3600
- stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,
3601
- expression
3602
- });
3603
- }
3604
- }
3605
- function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) {
3606
- const dynamicTracking = prerenderStore.dynamicTracking;
3607
- abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);
3608
- // It is important that we set this tracking value after aborting. Aborts are executed
3609
- // synchronously except for the case where you abort during render itself. By setting this
3610
- // value late we can use it to determine if any of the aborted tasks are the task that
3611
- // called the sync IO expression in the first place.
3612
- if (dynamicTracking) {
3613
- if (dynamicTracking.syncDynamicErrorWithStack === null) {
3614
- dynamicTracking.syncDynamicErrorWithStack = errorWithStack;
3615
- }
3616
- }
3617
- }
3618
- function trackSynchronousPlatformIOAccessInDev(requestStore) {
3619
- // We don't actually have a controller to abort but we do the semantic equivalent by
3620
- // advancing the request store out of prerender mode
3621
- requestStore.prerenderPhase = false;
3622
- }
3623
- function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {
3624
- const prerenderSignal = prerenderStore.controller.signal;
3625
- if (prerenderSignal.aborted === false) {
3626
- // TODO it would be better to move this aborted check into the callsite so we can avoid making
3627
- // the error object when it isn't relevant to the aborting of the prerender however
3628
- // since we need the throw semantics regardless of whether we abort it is easier to land
3629
- // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer
3630
- // to ideal implementation
3631
- abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);
3632
- // It is important that we set this tracking value after aborting. Aborts are executed
3633
- // synchronously except for the case where you abort during render itself. By setting this
3634
- // value late we can use it to determine if any of the aborted tasks are the task that
3635
- // called the sync IO expression in the first place.
3636
- const dynamicTracking = prerenderStore.dynamicTracking;
3637
- if (dynamicTracking) {
3638
- if (dynamicTracking.syncDynamicErrorWithStack === null) {
3639
- dynamicTracking.syncDynamicErrorWithStack = errorWithStack;
3640
- }
3641
- }
3642
- }
3643
- throw createPrerenderInterruptedError("Route ".concat(route, " needs to bail out of prerendering at this point because it used ").concat(expression, "."));
3644
- }
3645
- const trackSynchronousRequestDataAccessInDev = trackSynchronousPlatformIOAccessInDev;
3646
- function Postpone(param) {
3647
- let { reason, route } = param;
3648
- const prerenderStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
3649
- const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null;
3650
- postponeWithTracking(route, reason, dynamicTracking);
3651
- }
3652
- function postponeWithTracking(route, expression, dynamicTracking) {
3653
- assertPostpone();
3654
- if (dynamicTracking) {
3655
- dynamicTracking.dynamicAccesses.push({
3656
- // When we aren't debugging, we don't need to create another error for the
3657
- // stack trace.
3658
- stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,
3659
- expression
3660
- });
3661
- }
3662
- _react.default.unstable_postpone(createPostponeReason(route, expression));
3663
- }
3664
- function createPostponeReason(route, expression) {
3665
- return "Route ".concat(route, " needs to bail out of prerendering at this point because it used ").concat(expression, ". ") + "React throws this special object to indicate where. It should not be caught by " + "your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error";
3666
- }
3667
- function isDynamicPostpone(err) {
3668
- if (typeof err === 'object' && err !== null && typeof err.message === 'string') {
3669
- return isDynamicPostponeReason(err.message);
3670
- }
3671
- return false;
3672
- }
3673
- function isDynamicPostponeReason(reason) {
3674
- return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error');
3675
- }
3676
- if (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {
3677
- throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), "__NEXT_ERROR_CODE", {
3678
- value: "E296",
3679
- enumerable: false,
3680
- configurable: true
3681
- });
3682
- }
3683
- const NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED';
3684
- function createPrerenderInterruptedError(message) {
3685
- const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
3686
- value: "E394",
3687
- enumerable: false,
3688
- configurable: true
3689
- });
3690
- error.digest = NEXT_PRERENDER_INTERRUPTED;
3691
- return error;
3692
- }
3693
- function isPrerenderInterruptedError(error) {
3694
- return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error;
3695
- }
3696
- function accessedDynamicData(dynamicAccesses) {
3697
- return dynamicAccesses.length > 0;
3698
- }
3699
- function consumeDynamicAccess(serverDynamic, clientDynamic) {
3700
- // We mutate because we only call this once we are no longer writing
3701
- // to the dynamicTrackingState and it's more efficient than creating a new
3702
- // array.
3703
- serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses);
3704
- return serverDynamic.dynamicAccesses;
3705
- }
3706
- function formatDynamicAPIAccesses(dynamicAccesses) {
3707
- return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map((param)=>{
3708
- let { expression, stack } = param;
3709
- stack = stack.split('\n') // Remove the "Error: " prefix from the first line of the stack trace as
3710
- // well as the first 4 lines of the stack trace which is the distance
3711
- // from the user code and the `new Error().stack` call.
3712
- .slice(4).filter((line)=>{
3713
- // Exclude Next.js internals from the stack trace.
3714
- if (line.includes('node_modules/next/')) {
3715
- return false;
3716
- }
3717
- // Exclude anonymous functions from the stack trace.
3718
- if (line.includes(' (<anonymous>)')) {
3719
- return false;
3720
- }
3721
- // Exclude Node.js internals from the stack trace.
3722
- if (line.includes(' (node:')) {
3723
- return false;
3724
- }
3725
- return true;
3726
- }).join('\n');
3727
- return "Dynamic API Usage Debug - ".concat(expression, ":\n").concat(stack);
3728
- });
3729
- }
3730
- function assertPostpone() {
3731
- if (!hasPostpone) {
3732
- throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"), "__NEXT_ERROR_CODE", {
3733
- value: "E224",
3734
- enumerable: false,
3735
- configurable: true
3736
- });
3737
- }
3738
- }
3739
- function createRenderInBrowserAbortSignal() {
3740
- const controller = new AbortController();
3741
- controller.abort(Object.defineProperty(new _bailouttocsr.BailoutToCSRError('Render in Browser'), "__NEXT_ERROR_CODE", {
3742
- value: "E721",
3743
- enumerable: false,
3744
- configurable: true
3745
- }));
3746
- return controller.signal;
3747
- }
3748
- function createHangingInputAbortSignal(workUnitStore) {
3749
- switch(workUnitStore.type){
3750
- case 'prerender':
3751
- case 'prerender-runtime':
3752
- const controller = new AbortController();
3753
- if (workUnitStore.cacheSignal) {
3754
- // If we have a cacheSignal it means we're in a prospective render. If
3755
- // the input we're waiting on is coming from another cache, we do want
3756
- // to wait for it so that we can resolve this cache entry too.
3757
- workUnitStore.cacheSignal.inputReady().then(()=>{
3758
- controller.abort();
3759
- });
3760
- } else {
3761
- // Otherwise we're in the final render and we should already have all
3762
- // our caches filled.
3763
- // If the prerender uses stages, we have wait until the runtime stage,
3764
- // at which point all runtime inputs will be resolved.
3765
- // (otherwise, a runtime prerender might consider `cookies()` hanging
3766
- // even though they'd resolve in the next task.)
3767
- //
3768
- // We might still be waiting on some microtasks so we
3769
- // wait one tick before giving up. When we give up, we still want to
3770
- // render the content of this cache as deeply as we can so that we can
3771
- // suspend as deeply as possible in the tree or not at all if we don't
3772
- // end up waiting for the input.
3773
- const runtimeStagePromise = (0, _workunitasyncstorageexternal.getRuntimeStagePromise)(workUnitStore);
3774
- if (runtimeStagePromise) {
3775
- runtimeStagePromise.then(()=>(0, _scheduler.scheduleOnNextTick)(()=>controller.abort()));
3776
- } else {
3777
- (0, _scheduler.scheduleOnNextTick)(()=>controller.abort());
3778
- }
3779
- }
3780
- return controller.signal;
3781
- case 'prerender-client':
3782
- case 'prerender-ppr':
3783
- case 'prerender-legacy':
3784
- case 'request':
3785
- case 'cache':
3786
- case 'private-cache':
3787
- case 'unstable-cache':
3788
- return undefined;
3789
- default:
3790
- workUnitStore;
3791
- }
3792
- }
3793
- function annotateDynamicAccess(expression, prerenderStore) {
3794
- const dynamicTracking = prerenderStore.dynamicTracking;
3795
- if (dynamicTracking) {
3796
- dynamicTracking.dynamicAccesses.push({
3797
- stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,
3798
- expression
3799
- });
3800
- }
3801
- }
3802
- function useDynamicRouteParams(expression) {
3803
- const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
3804
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
3805
- if (workStore && workUnitStore) {
3806
- switch(workUnitStore.type){
3807
- case 'prerender-client':
3808
- case 'prerender':
3809
- {
3810
- const fallbackParams = workUnitStore.fallbackRouteParams;
3811
- if (fallbackParams && fallbackParams.size > 0) {
3812
- // We are in a prerender with cacheComponents semantics. We are going to
3813
- // hang here and never resolve. This will cause the currently
3814
- // rendering component to effectively be a dynamic hole.
3815
- _react.default.use((0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, expression));
3816
- }
3817
- break;
3818
- }
3819
- case 'prerender-ppr':
3820
- {
3821
- const fallbackParams = workUnitStore.fallbackRouteParams;
3822
- if (fallbackParams && fallbackParams.size > 0) {
3823
- return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking);
3824
- }
3825
- break;
3826
- }
3827
- case 'prerender-runtime':
3828
- throw Object.defineProperty(new _invarianterror.InvariantError("`".concat(expression, "` was called during a runtime prerender. Next.js should be preventing ").concat(expression, " from being included in server components statically, but did not in this case.")), "__NEXT_ERROR_CODE", {
3829
- value: "E771",
3830
- enumerable: false,
3831
- configurable: true
3832
- });
3833
- case 'cache':
3834
- case 'private-cache':
3835
- throw Object.defineProperty(new _invarianterror.InvariantError("`".concat(expression, "` was called inside a cache scope. Next.js should be preventing ").concat(expression, " from being included in server components statically, but did not in this case.")), "__NEXT_ERROR_CODE", {
3836
- value: "E745",
3837
- enumerable: false,
3838
- configurable: true
3839
- });
3840
- case 'prerender-legacy':
3841
- case 'request':
3842
- case 'unstable-cache':
3843
- break;
3844
- default:
3845
- workUnitStore;
3846
- }
3847
- }
3848
- }
3849
- function useDynamicSearchParams(expression) {
3850
- const workStore = _workasyncstorageexternal.workAsyncStorage.getStore();
3851
- const workUnitStore = _workunitasyncstorageexternal.workUnitAsyncStorage.getStore();
3852
- if (!workStore) {
3853
- // We assume pages router context and just return
3854
- return;
3855
- }
3856
- if (!workUnitStore) {
3857
- (0, _workunitasyncstorageexternal.throwForMissingRequestStore)(expression);
3858
- }
3859
- switch(workUnitStore.type){
3860
- case 'prerender-client':
3861
- {
3862
- _react.default.use((0, _dynamicrenderingutils.makeHangingPromise)(workUnitStore.renderSignal, workStore.route, expression));
3863
- break;
3864
- }
3865
- case 'prerender-legacy':
3866
- case 'prerender-ppr':
3867
- {
3868
- if (workStore.forceStatic) {
3869
- return;
3870
- }
3871
- throw Object.defineProperty(new _bailouttocsr.BailoutToCSRError(expression), "__NEXT_ERROR_CODE", {
3872
- value: "E394",
3873
- enumerable: false,
3874
- configurable: true
3875
- });
3876
- }
3877
- case 'prerender':
3878
- case 'prerender-runtime':
3879
- throw Object.defineProperty(new _invarianterror.InvariantError("`".concat(expression, "` was called from a Server Component. Next.js should be preventing ").concat(expression, " from being included in server components statically, but did not in this case.")), "__NEXT_ERROR_CODE", {
3880
- value: "E795",
3881
- enumerable: false,
3882
- configurable: true
3883
- });
3884
- case 'cache':
3885
- case 'unstable-cache':
3886
- case 'private-cache':
3887
- throw Object.defineProperty(new _invarianterror.InvariantError("`".concat(expression, "` was called inside a cache scope. Next.js should be preventing ").concat(expression, " from being included in server components statically, but did not in this case.")), "__NEXT_ERROR_CODE", {
3888
- value: "E745",
3889
- enumerable: false,
3890
- configurable: true
3891
- });
3892
- case 'request':
3893
- return;
3894
- default:
3895
- workUnitStore;
3896
- }
3897
- }
3898
- const hasSuspenseRegex = /\n\s+at Suspense \(<anonymous>\)/;
3899
- // Common implicit body tags that React will treat as body when placed directly in html
3900
- const bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6';
3901
- // Detects when RootLayoutBoundary (our framework marker component) appears
3902
- // after Suspense in the component stack, indicating the root layout is wrapped
3903
- // within a Suspense boundary. Ensures no body/html/implicit-body components are in between.
3904
- //
3905
- // Example matches:
3906
- // at Suspense (<anonymous>)
3907
- // at __next_root_layout_boundary__ (<anonymous>)
3908
- //
3909
- // Or with other components in between (but not body/html/implicit-body):
3910
- // at Suspense (<anonymous>)
3911
- // at SomeComponent (<anonymous>)
3912
- // at __next_root_layout_boundary__ (<anonymous>)
3913
- const hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp("\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:".concat(bodyAndImplicitTags, ") \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ").concat(_boundaryconstants.ROOT_LAYOUT_BOUNDARY_NAME, " \\([^\\n]*\\)"));
3914
- const hasMetadataRegex = new RegExp("\\n\\s+at ".concat(_boundaryconstants.METADATA_BOUNDARY_NAME, "[\\n\\s]"));
3915
- const hasViewportRegex = new RegExp("\\n\\s+at ".concat(_boundaryconstants.VIEWPORT_BOUNDARY_NAME, "[\\n\\s]"));
3916
- const hasOutletRegex = new RegExp("\\n\\s+at ".concat(_boundaryconstants.OUTLET_BOUNDARY_NAME, "[\\n\\s]"));
3917
- function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) {
3918
- if (hasOutletRegex.test(componentStack)) {
3919
- // We don't need to track that this is dynamic. It is only so when something else is also dynamic.
3920
- return;
3921
- } else if (hasMetadataRegex.test(componentStack)) {
3922
- dynamicValidation.hasDynamicMetadata = true;
3923
- return;
3924
- } else if (hasViewportRegex.test(componentStack)) {
3925
- dynamicValidation.hasDynamicViewport = true;
3926
- return;
3927
- } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {
3928
- // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.
3929
- // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense
3930
- // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.
3931
- dynamicValidation.hasAllowedDynamic = true;
3932
- dynamicValidation.hasSuspenseAboveBody = true;
3933
- return;
3934
- } else if (hasSuspenseRegex.test(componentStack)) {
3935
- // this error had a Suspense boundary above it so we don't need to report it as a source
3936
- // of disallowed
3937
- dynamicValidation.hasAllowedDynamic = true;
3938
- return;
3939
- } else if (clientDynamic.syncDynamicErrorWithStack) {
3940
- // This task was the task that called the sync error.
3941
- dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);
3942
- return;
3943
- } else {
3944
- const message = 'Route "'.concat(workStore.route, '": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense');
3945
- const error = createErrorWithComponentOrOwnerStack(message, componentStack);
3946
- dynamicValidation.dynamicErrors.push(error);
3947
- return;
3948
- }
3949
- }
3950
- /**
3951
- * In dev mode, we prefer using the owner stack, otherwise the provided
3952
- * component stack is used.
3953
- */ function createErrorWithComponentOrOwnerStack(message, componentStack) {
3954
- const ownerStack = ("TURBOPACK compile-time value", "development") !== 'production' && _react.default.captureOwnerStack ? _react.default.captureOwnerStack() : null;
3955
- const error = Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
3956
- value: "E394",
3957
- enumerable: false,
3958
- configurable: true
3959
- });
3960
- error.stack = error.name + ': ' + message + (ownerStack !== null && ownerStack !== void 0 ? ownerStack : componentStack);
3961
- return error;
3962
- }
3963
- var PreludeState = /*#__PURE__*/ function(PreludeState) {
3964
- PreludeState[PreludeState["Full"] = 0] = "Full";
3965
- PreludeState[PreludeState["Empty"] = 1] = "Empty";
3966
- PreludeState[PreludeState["Errored"] = 2] = "Errored";
3967
- return PreludeState;
3968
- }({});
3969
- function logDisallowedDynamicError(workStore, error) {
3970
- console.error(error);
3971
- if (!workStore.dev) {
3972
- if (workStore.hasReadableErrorStacks) {
3973
- console.error('To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running `next dev`, then open "'.concat(workStore.route, '" in your browser to investigate the error.'));
3974
- } else {
3975
- console.error('To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running `next dev`, then open "'.concat(workStore.route, '" in your browser to investigate the error.\n - Rerun the production build with `next build --debug-prerender` to generate better stack traces.'));
3976
- }
3977
- }
3978
- }
3979
- function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) {
3980
- if (serverDynamic.syncDynamicErrorWithStack) {
3981
- logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack);
3982
- throw new _staticgenerationbailout.StaticGenBailoutError();
3983
- }
3984
- if (prelude !== 0) {
3985
- if (dynamicValidation.hasSuspenseAboveBody) {
3986
- // This route has opted into allowing fully dynamic rendering
3987
- // by including a Suspense boundary above the body. In this case
3988
- // a lack of a shell is not considered disallowed so we simply return
3989
- return;
3990
- }
3991
- // We didn't have any sync bailouts but there may be user code which
3992
- // blocked the root. We would have captured these during the prerender
3993
- // and can log them here and then terminate the build/validating render
3994
- const dynamicErrors = dynamicValidation.dynamicErrors;
3995
- if (dynamicErrors.length > 0) {
3996
- for(let i = 0; i < dynamicErrors.length; i++){
3997
- logDisallowedDynamicError(workStore, dynamicErrors[i]);
3998
- }
3999
- throw new _staticgenerationbailout.StaticGenBailoutError();
4000
- }
4001
- // If we got this far then the only other thing that could be blocking
4002
- // the root is dynamic Viewport. If this is dynamic then
4003
- // you need to opt into that by adding a Suspense boundary above the body
4004
- // to indicate your are ok with fully dynamic rendering.
4005
- if (dynamicValidation.hasDynamicViewport) {
4006
- console.error('Route "'.concat(workStore.route, '" has a `generateViewport` that depends on Request data (`cookies()`, etc...) or uncached external data (`fetch(...)`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport'));
4007
- throw new _staticgenerationbailout.StaticGenBailoutError();
4008
- }
4009
- if (prelude === 1) {
4010
- // If we ever get this far then we messed up the tracking of invalid dynamic.
4011
- // We still adhere to the constraint that you must produce a shell but invite the
4012
- // user to report this as a bug in Next.js.
4013
- console.error('Route "'.concat(workStore.route, '" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.'));
4014
- throw new _staticgenerationbailout.StaticGenBailoutError();
4015
- }
4016
- } else {
4017
- if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) {
4018
- console.error('Route "'.concat(workStore.route, '" has a `generateMetadata` that depends on Request data (`cookies()`, etc...) or uncached external data (`fetch(...)`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata'));
4019
- throw new _staticgenerationbailout.StaticGenBailoutError();
4020
- }
4021
- }
4022
- }
4023
- function delayUntilRuntimeStage(prerenderStore, result) {
4024
- if (prerenderStore.runtimeStagePromise) {
4025
- return prerenderStore.runtimeStagePromise.then(()=>result);
4026
- }
4027
- return result;
4028
- } //# sourceMappingURL=dynamic-rendering.js.map
4029
- }),
4030
- "[project]/node_modules/.pnpm/next@15.5.1-canary.30_babel-plugin-react-compiler@19.1.0-rc.3_react-dom@19.2.0-canary-d_5eea965284f26eb4e30482e6426df099/node_modules/next/dist/server/dev/hot-reloader-types.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
4031
- "use strict";
4032
-
4033
- Object.defineProperty(exports, "__esModule", {
4034
- value: true
4035
- });
4036
- Object.defineProperty(exports, "HMR_MESSAGE_SENT_TO_BROWSER", {
4037
- enumerable: true,
4038
- get: function() {
4039
- return HMR_MESSAGE_SENT_TO_BROWSER;
4040
- }
4041
- });
4042
- var HMR_MESSAGE_SENT_TO_BROWSER = /*#__PURE__*/ function(HMR_MESSAGE_SENT_TO_BROWSER) {
4043
- // JSON messages:
4044
- HMR_MESSAGE_SENT_TO_BROWSER["ADDED_PAGE"] = "addedPage";
4045
- HMR_MESSAGE_SENT_TO_BROWSER["REMOVED_PAGE"] = "removedPage";
4046
- HMR_MESSAGE_SENT_TO_BROWSER["RELOAD_PAGE"] = "reloadPage";
4047
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_COMPONENT_CHANGES"] = "serverComponentChanges";
4048
- HMR_MESSAGE_SENT_TO_BROWSER["MIDDLEWARE_CHANGES"] = "middlewareChanges";
4049
- HMR_MESSAGE_SENT_TO_BROWSER["CLIENT_CHANGES"] = "clientChanges";
4050
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ONLY_CHANGES"] = "serverOnlyChanges";
4051
- HMR_MESSAGE_SENT_TO_BROWSER["SYNC"] = "sync";
4052
- HMR_MESSAGE_SENT_TO_BROWSER["BUILT"] = "built";
4053
- HMR_MESSAGE_SENT_TO_BROWSER["BUILDING"] = "building";
4054
- HMR_MESSAGE_SENT_TO_BROWSER["DEV_PAGES_MANIFEST_UPDATE"] = "devPagesManifestUpdate";
4055
- HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_MESSAGE"] = "turbopack-message";
4056
- HMR_MESSAGE_SENT_TO_BROWSER["SERVER_ERROR"] = "serverError";
4057
- HMR_MESSAGE_SENT_TO_BROWSER["TURBOPACK_CONNECTED"] = "turbopack-connected";
4058
- HMR_MESSAGE_SENT_TO_BROWSER["ISR_MANIFEST"] = "isrManifest";
4059
- HMR_MESSAGE_SENT_TO_BROWSER["DEV_INDICATOR"] = "devIndicator";
4060
- HMR_MESSAGE_SENT_TO_BROWSER["DEVTOOLS_CONFIG"] = "devtoolsConfig";
4061
- // Binary messages:
4062
- HMR_MESSAGE_SENT_TO_BROWSER[HMR_MESSAGE_SENT_TO_BROWSER["REACT_DEBUG_CHUNK"] = 0] = "REACT_DEBUG_CHUNK";
4063
- return HMR_MESSAGE_SENT_TO_BROWSER;
4064
- }({}); //# sourceMappingURL=hot-reloader-types.js.map
4065
- }),
4066
- ]);
4067
-
4068
- //# sourceMappingURL=0916f_next_dist_2e70ccdb._.js.map