pulse-dashboard 1.2.6 → 1.2.8

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 (278) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +10 -9
  3. package/.next/fallback-build-manifest.json +3 -2
  4. package/.next/images-manifest.json +2 -0
  5. package/.next/next-minimal-server.js.nft.json +1 -1
  6. package/.next/next-server.js.nft.json +1 -1
  7. package/.next/prerender-manifest.json +13 -13
  8. package/.next/required-server-files.json +209 -40
  9. package/.next/routes-manifest.json +1 -0
  10. package/.next/server/app/_global-error/page/build-manifest.json +7 -7
  11. package/.next/server/app/_global-error/page.js +8 -9
  12. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  13. package/.next/server/app/_global-error/page_client-reference-manifest.js +2 -1
  14. package/.next/server/app/_global-error.html +1 -2
  15. package/.next/server/app/_global-error.rsc +11 -9
  16. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  17. package/.next/server/app/_global-error.segments/_full.segment.rsc +11 -9
  18. package/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
  19. package/.next/server/app/_global-error.segments/_index.segment.rsc +4 -3
  20. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/_not-found/page/build-manifest.json +7 -7
  22. package/.next/server/app/_not-found/page.js +11 -12
  23. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  24. package/.next/server/app/_not-found/page_client-reference-manifest.js +2 -1
  25. package/.next/server/app/_not-found.html +2 -2
  26. package/.next/server/app/_not-found.rsc +19 -16
  27. package/.next/server/app/_not-found.segments/_full.segment.rsc +19 -16
  28. package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  29. package/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
  30. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  31. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +4 -3
  32. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  33. package/.next/server/app/api/analyze-test/route/build-manifest.json +1 -3
  34. package/.next/server/app/api/analyze-test/route.js +3 -3
  35. package/.next/server/app/api/analyze-test/route.js.nft.json +1 -1
  36. package/.next/server/app/api/analyze-test/route_client-reference-manifest.js +2 -1
  37. package/.next/server/app/api/assets/[...slug]/route/build-manifest.json +1 -3
  38. package/.next/server/app/api/assets/[...slug]/route.js +4 -4
  39. package/.next/server/app/api/assets/[...slug]/route.js.nft.json +1 -1
  40. package/.next/server/app/api/assets/[...slug]/route_client-reference-manifest.js +2 -1
  41. package/.next/server/app/api/current-run/route/build-manifest.json +1 -3
  42. package/.next/server/app/api/current-run/route.js +3 -3
  43. package/.next/server/app/api/current-run/route.js.nft.json +1 -1
  44. package/.next/server/app/api/current-run/route_client-reference-manifest.js +2 -1
  45. package/.next/server/app/api/historical-trends/route/build-manifest.json +1 -3
  46. package/.next/server/app/api/historical-trends/route.js +4 -3
  47. package/.next/server/app/api/historical-trends/route.js.nft.json +1 -1
  48. package/.next/server/app/api/historical-trends/route_client-reference-manifest.js +2 -1
  49. package/.next/server/app/api/report-config/route/build-manifest.json +1 -3
  50. package/.next/server/app/api/report-config/route.js +3 -3
  51. package/.next/server/app/api/report-config/route.js.nft.json +1 -1
  52. package/.next/server/app/api/report-config/route_client-reference-manifest.js +2 -1
  53. package/.next/server/app/api/reports/[filename]/route/build-manifest.json +1 -3
  54. package/.next/server/app/api/reports/[filename]/route.js +3 -3
  55. package/.next/server/app/api/reports/[filename]/route.js.nft.json +1 -1
  56. package/.next/server/app/api/reports/[filename]/route_client-reference-manifest.js +2 -1
  57. package/.next/server/app/api/run-command/route/build-manifest.json +1 -3
  58. package/.next/server/app/api/run-command/route.js +3 -3
  59. package/.next/server/app/api/run-command/route.js.nft.json +1 -1
  60. package/.next/server/app/api/run-command/route_client-reference-manifest.js +2 -1
  61. package/.next/server/app/index.html +2 -2
  62. package/.next/server/app/index.rsc +14 -12
  63. package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  64. package/.next/server/app/index.segments/_full.segment.rsc +14 -12
  65. package/.next/server/app/index.segments/_head.segment.rsc +4 -4
  66. package/.next/server/app/index.segments/_index.segment.rsc +5 -5
  67. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  68. package/.next/server/app/page/build-manifest.json +7 -7
  69. package/.next/server/app/page/react-loadable-manifest.json +1 -2
  70. package/.next/server/app/page/server-reference-manifest.json +1 -4
  71. package/.next/server/app/page.js +12 -14
  72. package/.next/server/app/page.js.nft.json +1 -1
  73. package/.next/server/app/page_client-reference-manifest.js +2 -1
  74. package/.next/server/app/test/[testId]/page/build-manifest.json +7 -7
  75. package/.next/server/app/test/[testId]/page/server-reference-manifest.json +1 -4
  76. package/.next/server/app/test/[testId]/page.js +12 -14
  77. package/.next/server/app/test/[testId]/page.js.nft.json +1 -1
  78. package/.next/server/app/test/[testId]/page_client-reference-manifest.js +2 -1
  79. package/.next/server/chunks/[externals]__0m-sipc._.js +3 -0
  80. package/.next/server/chunks/{[externals]__f52e4eb0._.js → [externals]__124ywe.._.js} +1 -1
  81. package/.next/server/chunks/[root-of-the-server]__0126wt3._.js +3 -0
  82. package/.next/server/chunks/[root-of-the-server]__016m3l7._.js +3 -0
  83. package/.next/server/chunks/[root-of-the-server]__0bgp.n9._.js +3 -0
  84. package/.next/server/chunks/[root-of-the-server]__0jh2b8b._.js +3 -0
  85. package/.next/server/chunks/[root-of-the-server]__0k26p~k._.js +3 -0
  86. package/.next/server/chunks/[root-of-the-server]__0nglzhr._.js +13 -0
  87. package/.next/server/chunks/[root-of-the-server]__0x8r-.9._.js +3 -0
  88. package/.next/server/chunks/[turbopack]_runtime.js +168 -60
  89. package/.next/server/chunks/{_next-internal_server_app_api_analyze-test_route_actions_e71f7d12.js → _next-internal_server_app_api_analyze-test_route_actions_0.saobd.js} +1 -1
  90. package/.next/server/chunks/{_next-internal_server_app_api_assets_[___slug]_route_actions_a10bfa98.js → _next-internal_server_app_api_assets_[___slug]_route_actions_0rqs88g.js} +1 -1
  91. package/.next/server/chunks/{_next-internal_server_app_api_current-run_route_actions_ed7eca66.js → _next-internal_server_app_api_current-run_route_actions_10w286-.js} +1 -1
  92. package/.next/server/chunks/{_next-internal_server_app_api_historical-trends_route_actions_ab165c16.js → _next-internal_server_app_api_historical-trends_route_actions_0tfs591.js} +1 -1
  93. package/.next/server/chunks/{_next-internal_server_app_api_report-config_route_actions_7f74a29f.js → _next-internal_server_app_api_report-config_route_actions_0lzyt8k.js} +1 -1
  94. package/.next/server/chunks/{_next-internal_server_app_api_reports_[filename]_route_actions_54bb3323.js → _next-internal_server_app_api_reports_[filename]_route_actions_0emat-g.js} +1 -1
  95. package/.next/server/chunks/{_next-internal_server_app_api_run-command_route_actions_b3861930.js → _next-internal_server_app_api_run-command_route_actions_0uxr5bx.js} +1 -1
  96. package/.next/server/chunks/node_modules_next_dist_06kebd7._.js +4 -0
  97. package/.next/server/chunks/ssr/[root-of-the-server]__0.zquoa._.js +3 -0
  98. package/.next/server/chunks/ssr/[root-of-the-server]__05ct2gl._.js +3 -0
  99. package/.next/server/chunks/ssr/[root-of-the-server]__0eqd2za._.js +33 -0
  100. package/.next/server/chunks/ssr/[root-of-the-server]__0jmj6g1._.js +4 -0
  101. package/.next/server/chunks/ssr/[root-of-the-server]__0mgphg.._.js +3 -0
  102. package/.next/server/chunks/ssr/[root-of-the-server]__0uyy96m._.js +4 -0
  103. package/.next/server/chunks/ssr/[root-of-the-server]__0v5vgt4._.js +3 -0
  104. package/.next/server/chunks/ssr/[root-of-the-server]__0we7bel._.js +3 -0
  105. package/.next/server/chunks/ssr/[root-of-the-server]__10xgshr._.js +33 -0
  106. package/.next/server/chunks/ssr/[turbopack]_runtime.js +168 -60
  107. package/.next/server/chunks/ssr/_0dvn4a6._.js +6 -0
  108. package/.next/server/chunks/ssr/_0jkkbka._.js +7 -0
  109. package/.next/server/chunks/ssr/_0nfs~1l._.js +5 -0
  110. package/.next/server/chunks/ssr/_0pa59oo._.js +3 -0
  111. package/.next/server/chunks/ssr/_11mmbg~._.js +5 -0
  112. package/.next/server/chunks/ssr/{_next-internal_server_app__global-error_page_actions_75761787.js → _next-internal_server_app__global-error_page_actions_0k77kol.js} +1 -1
  113. package/.next/server/chunks/ssr/{_next-internal_server_app__not-found_page_actions_554ec2bf.js → _next-internal_server_app__not-found_page_actions_0eq97pa.js} +1 -1
  114. package/.next/server/chunks/ssr/node_modules_09w7yel._.js +33 -0
  115. package/.next/server/chunks/ssr/node_modules_0aem7sr._.js +19 -0
  116. package/.next/server/chunks/ssr/node_modules_@swc_helpers_cjs__interop_require_default_cjs_11~q6fv._.js +3 -0
  117. package/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js +6 -0
  118. package/.next/server/chunks/ssr/{node_modules_next_dist_client_components_9774470f._.js → node_modules_next_dist_client_components_0inhx6q._.js} +2 -2
  119. package/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_forbidden_45780354.js → node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js} +2 -2
  120. package/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_global-error_ece394eb.js → node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js} +2 -2
  121. package/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_unauthorized_15817684.js → node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js} +2 -2
  122. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01ycdec.js +4 -0
  123. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bj8dkg.js +4 -0
  124. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0cvrgh7.js +4 -0
  125. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +4 -0
  126. package/.next/server/chunks/ssr/{src_ce5be59b._.js → src_0udngk~._.js} +3 -3
  127. package/.next/server/chunks/ssr/src_components_ui_toaster_tsx_0cainpy._.js +3 -0
  128. package/.next/server/middleware-build-manifest.js +12 -12
  129. package/.next/server/prefetch-hints.json +1 -0
  130. package/.next/server/server-reference-manifest.js +1 -1
  131. package/.next/server/server-reference-manifest.json +3 -9
  132. package/.next/static/RgESZIprcZznm98mxUv-O/_clientMiddlewareManifest.js +1 -0
  133. package/.next/static/chunks/00g8rbqi0h8lk.js +1 -0
  134. package/.next/static/chunks/01xlw8hd842-c.js +1 -0
  135. package/.next/static/chunks/04j4.hz_cv-pf.js +1 -0
  136. package/.next/static/chunks/07uz2g0_38qia.js +4 -0
  137. package/.next/static/chunks/0b8rufmwi4-6v.js +1 -0
  138. package/.next/static/chunks/0fwam_-pec8pg.js +2 -0
  139. package/.next/static/chunks/0gsquco4lyvb4.js +1 -0
  140. package/.next/static/chunks/0h4bq73pogmtb.js +1 -0
  141. package/.next/static/chunks/0imfvrlr~2q89.js +31 -0
  142. package/.next/static/chunks/0m5-x6u~hwh1m.js +1 -0
  143. package/.next/static/chunks/0mzwfspg4216r.js +1 -0
  144. package/.next/static/chunks/0p.r891xm97do.js +1 -0
  145. package/.next/static/chunks/0w0gkm45qpujx.js +5 -0
  146. package/.next/static/chunks/0~ariudu4in54.js +1 -0
  147. package/.next/static/chunks/13mqc.b~s2gjo.js +1 -0
  148. package/.next/static/chunks/14rqub-mhf1rm.css +1 -0
  149. package/.next/static/chunks/15y_~8vy363bg.js +3 -0
  150. package/.next/static/chunks/16navnbzwbp36.js +1 -0
  151. package/.next/static/chunks/17~ltcjkf11xe.js +3 -0
  152. package/.next/static/chunks/1860zsbcg5z1o.js +1 -0
  153. package/.next/static/chunks/turbopack-11rw6yhug.je0.js +1 -0
  154. package/LICENSE +21 -202
  155. package/README.md +22 -1
  156. package/bin/pulse-dashboard.js +49 -3
  157. package/dist/app/actions.d.ts +3 -1
  158. package/dist/app/actions.d.ts.map +1 -1
  159. package/dist/app/actions.js +51 -13
  160. package/dist/app/actions.js.map +1 -1
  161. package/dist/components/pulse-dashboard/DashboardOverviewCharts.d.ts.map +1 -1
  162. package/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx +530 -235
  163. package/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx.map +1 -1
  164. package/dist/components/pulse-dashboard/FailureCategorizationView.d.ts +1 -2
  165. package/dist/components/pulse-dashboard/FailureCategorizationView.d.ts.map +1 -1
  166. package/dist/components/pulse-dashboard/FailureCategorizationView.jsx +168 -51
  167. package/dist/components/pulse-dashboard/FailureCategorizationView.jsx.map +1 -1
  168. package/dist/components/pulse-dashboard/FlakyTestsWidget.d.ts.map +1 -1
  169. package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx +90 -75
  170. package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx.map +1 -1
  171. package/dist/components/pulse-dashboard/LiveTestResults.d.ts +1 -1
  172. package/dist/components/pulse-dashboard/LiveTestResults.d.ts.map +1 -1
  173. package/dist/components/pulse-dashboard/LiveTestResults.jsx +73 -36
  174. package/dist/components/pulse-dashboard/LiveTestResults.jsx.map +1 -1
  175. package/dist/components/pulse-dashboard/PulseCommandView.d.ts.map +1 -1
  176. package/dist/components/pulse-dashboard/PulseCommandView.jsx +14 -4
  177. package/dist/components/pulse-dashboard/PulseCommandView.jsx.map +1 -1
  178. package/dist/components/pulse-dashboard/PulseDashboard.d.ts.map +1 -1
  179. package/dist/components/pulse-dashboard/PulseDashboard.jsx +1 -2
  180. package/dist/components/pulse-dashboard/PulseDashboard.jsx.map +1 -1
  181. package/dist/components/pulse-dashboard/SettingsView.jsx +2 -2
  182. package/dist/components/pulse-dashboard/SettingsView.jsx.map +1 -1
  183. package/dist/components/pulse-dashboard/SummaryMetrics.d.ts.map +1 -1
  184. package/dist/components/pulse-dashboard/SummaryMetrics.jsx +75 -19
  185. package/dist/components/pulse-dashboard/SummaryMetrics.jsx.map +1 -1
  186. package/dist/components/pulse-dashboard/SystemInformationWidget.d.ts +3 -3
  187. package/dist/components/pulse-dashboard/SystemInformationWidget.d.ts.map +1 -1
  188. package/dist/components/pulse-dashboard/SystemInformationWidget.jsx +125 -41
  189. package/dist/components/pulse-dashboard/SystemInformationWidget.jsx.map +1 -1
  190. package/dist/components/pulse-dashboard/TestDetailsClientPage.d.ts.map +1 -1
  191. package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx +689 -536
  192. package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx.map +1 -1
  193. package/dist/components/pulse-dashboard/TestItem.d.ts.map +1 -1
  194. package/dist/components/pulse-dashboard/TestItem.jsx +18 -8
  195. package/dist/components/pulse-dashboard/TestItem.jsx.map +1 -1
  196. package/dist/components/pulse-dashboard/TestStepItemRecursive.d.ts.map +1 -1
  197. package/dist/components/pulse-dashboard/TestStepItemRecursive.jsx +3 -3
  198. package/dist/components/pulse-dashboard/TestStepItemRecursive.jsx.map +1 -1
  199. package/dist/components/pulse-dashboard/TrendAnalysis.d.ts.map +1 -1
  200. package/dist/components/pulse-dashboard/TrendAnalysis.jsx +53 -17
  201. package/dist/components/pulse-dashboard/TrendAnalysis.jsx.map +1 -1
  202. package/dist/components/ui/alert.jsx +1 -1
  203. package/dist/components/ui/alert.jsx.map +1 -1
  204. package/dist/components/ui/button.jsx +3 -3
  205. package/dist/components/ui/card.jsx +1 -1
  206. package/dist/components/ui/card.jsx.map +1 -1
  207. package/dist/components/ui/tabs.jsx +2 -2
  208. package/dist/components/ui/tabs.jsx.map +1 -1
  209. package/dist/lib/testUtils.d.ts +12 -0
  210. package/dist/lib/testUtils.d.ts.map +1 -0
  211. package/dist/lib/testUtils.js +37 -0
  212. package/dist/lib/testUtils.js.map +1 -0
  213. package/dist/styles.css +1 -1
  214. package/dist/types/playwright.d.ts +7 -3
  215. package/dist/types/playwright.d.ts.map +1 -1
  216. package/package.json +13 -8
  217. package/.next/server/chunks/[root-of-the-server]__06c6346e._.js +0 -3
  218. package/.next/server/chunks/[root-of-the-server]__42738744._.js +0 -3
  219. package/.next/server/chunks/[root-of-the-server]__7113a113._.js +0 -3
  220. package/.next/server/chunks/[root-of-the-server]__71e0e3b9._.js +0 -21
  221. package/.next/server/chunks/[root-of-the-server]__74bb0547._.js +0 -3
  222. package/.next/server/chunks/[root-of-the-server]__9f88b7b7._.js +0 -4
  223. package/.next/server/chunks/[root-of-the-server]__c159e29b._.js +0 -3
  224. package/.next/server/chunks/[root-of-the-server]__d7fdaf5c._.js +0 -3
  225. package/.next/server/chunks/ssr/[root-of-the-server]__15600e29._.js +0 -3
  226. package/.next/server/chunks/ssr/[root-of-the-server]__22ecdfea._.js +0 -3
  227. package/.next/server/chunks/ssr/[root-of-the-server]__4a382b8f._.js +0 -3
  228. package/.next/server/chunks/ssr/[root-of-the-server]__71dd9d42._.js +0 -4
  229. package/.next/server/chunks/ssr/[root-of-the-server]__77c90d39._.js +0 -3
  230. package/.next/server/chunks/ssr/[root-of-the-server]__84313e76._.js +0 -3
  231. package/.next/server/chunks/ssr/[root-of-the-server]__aed7e4d8._.js +0 -3
  232. package/.next/server/chunks/ssr/[root-of-the-server]__b3b1f5eb._.js +0 -4
  233. package/.next/server/chunks/ssr/[root-of-the-server]__b9356576._.js +0 -4
  234. package/.next/server/chunks/ssr/[root-of-the-server]__c507bbfe._.js +0 -3
  235. package/.next/server/chunks/ssr/[root-of-the-server]__c829c7d1._.js +0 -3
  236. package/.next/server/chunks/ssr/[root-of-the-server]__efd22fba._.js +0 -3
  237. package/.next/server/chunks/ssr/[root-of-the-server]__f682065b._.js +0 -3
  238. package/.next/server/chunks/ssr/_178fc551._.js +0 -5
  239. package/.next/server/chunks/ssr/_3635f42f._.js +0 -3
  240. package/.next/server/chunks/ssr/_3f2f13a0._.js +0 -5
  241. package/.next/server/chunks/ssr/_42495f68._.js +0 -7
  242. package/.next/server/chunks/ssr/_7bd96dfb._.js +0 -4
  243. package/.next/server/chunks/ssr/_97aa43fe._.js +0 -6
  244. package/.next/server/chunks/ssr/_c1309523._.js +0 -4
  245. package/.next/server/chunks/ssr/node_modules_256e9ddd._.js +0 -3
  246. package/.next/server/chunks/ssr/node_modules_entities_lib_maps_6c3ea140._.js +0 -3
  247. package/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +0 -4
  248. package/.next/server/chunks/ssr/node_modules_next_dist_174ae28d._.js +0 -10
  249. package/.next/server/chunks/ssr/node_modules_next_dist_4b9a0874._.js +0 -3
  250. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_65a7265e.js +0 -4
  251. package/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +0 -6
  252. package/.next/server/chunks/ssr/src_components_ui_toaster_tsx_475f3ca1._.js +0 -3
  253. package/.next/static/chunks/0f33d151720dd9be.js +0 -1
  254. package/.next/static/chunks/42ac08e824892d98.js +0 -3
  255. package/.next/static/chunks/4aba24f188aab88f.js +0 -1
  256. package/.next/static/chunks/5413d7a3986e863a.css +0 -1
  257. package/.next/static/chunks/5ccfb5a289153a0c.js +0 -1
  258. package/.next/static/chunks/5cedbe3d28acc407.js +0 -4
  259. package/.next/static/chunks/7ed4bd6bf5216809.js +0 -1
  260. package/.next/static/chunks/836027b6298d8236.js +0 -5
  261. package/.next/static/chunks/90e8775562b10304.js +0 -1
  262. package/.next/static/chunks/952cc6d18d6c0e81.js +0 -1
  263. package/.next/static/chunks/9ac02f87b0542bfe.js +0 -1
  264. package/.next/static/chunks/b451c069ec473146.js +0 -1
  265. package/.next/static/chunks/bb0500a106848313.js +0 -1
  266. package/.next/static/chunks/c9bfc6dc89d94445.js +0 -2
  267. package/.next/static/chunks/cb4802d54f2ae8f7.js +0 -3
  268. package/.next/static/chunks/cdad36853a3d0cf6.js +0 -1
  269. package/.next/static/chunks/d4b4a1ad90e2acdb.js +0 -1
  270. package/.next/static/chunks/e82964c236ab8171.js +0 -1
  271. package/.next/static/chunks/ec55f44e251b8481.js +0 -1
  272. package/.next/static/chunks/fc9b3392d13f74a4.js +0 -1
  273. package/.next/static/chunks/ff1a16fafef87110.js +0 -1
  274. package/.next/static/chunks/turbopack-4063ae190c9edad5.js +0 -4
  275. package/.next/static/h7udJfXH3pEIZIFFB4Jiu/_clientMiddlewareManifest.json +0 -1
  276. /package/.next/static/{h7udJfXH3pEIZIFFB4Jiu → RgESZIprcZznm98mxUv-O}/_buildManifest.js +0 -0
  277. /package/.next/static/{h7udJfXH3pEIZIFFB4Jiu → RgESZIprcZznm98mxUv-O}/_ssgManifest.js +0 -0
  278. /package/.next/static/chunks/{a6dad97d9634a72d.js → 03~yq9q893hmn.js} +0 -0
@@ -0,0 +1,33 @@
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},71306,(a,b,c)=>{b.exports=a.r(18622)},79847,a=>{a.n(a.i(3343))},9185,a=>{a.n(a.i(29432))},72842,a=>{a.n(a.i(75164))},54897,a=>{a.n(a.i(30106))},56157,a=>{a.n(a.i(18970))},94331,a=>{a.n(a.i(60644))},15988,a=>{a.n(a.i(56952))},25766,a=>{a.n(a.i(77341))},29725,a=>{a.n(a.i(94290))},5785,a=>{a.n(a.i(90588))},74793,a=>{a.n(a.i(33169))},85826,a=>{a.n(a.i(37111))},21565,a=>{a.n(a.i(41763))},65911,a=>{a.n(a.i(8950))},25128,a=>{a.n(a.i(91562))},40781,a=>{a.n(a.i(49670))},69411,a=>{a.n(a.i(75700))},63081,a=>{a.n(a.i(276))},62837,a=>{a.n(a.i(40795))},34607,a=>{a.n(a.i(11614))},96338,a=>{a.n(a.i(21751))},50642,a=>{a.n(a.i(12213))},32242,a=>{a.n(a.i(22693))},88530,a=>{a.n(a.i(10531))},8583,a=>{a.n(a.i(1082))},38534,a=>{a.n(a.i(98175))},70408,a=>{a.n(a.i(9095))},22922,a=>{a.n(a.i(96772))},78294,a=>{a.n(a.i(71717))},16625,a=>{a.n(a.i(85034))},88648,a=>{a.n(a.i(68113))},51914,a=>{a.n(a.i(66482))},25466,a=>{a.n(a.i(91505))},71029,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},98860,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={WarningIcon:function(){return i},errorStyles:function(){return g},errorThemeCss:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});a.r(71029);let f=a.r(7997);a.r(717);let g={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},h=`
2
+ :root {
3
+ --next-error-bg: #fff;
4
+ --next-error-text: #171717;
5
+ --next-error-title: #171717;
6
+ --next-error-message: #171717;
7
+ --next-error-digest: #666666;
8
+ --next-error-btn-text: #fff;
9
+ --next-error-btn-bg: #171717;
10
+ --next-error-btn-border: none;
11
+ --next-error-btn-secondary-text: #171717;
12
+ --next-error-btn-secondary-bg: transparent;
13
+ --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
14
+ }
15
+ @media (prefers-color-scheme: dark) {
16
+ :root {
17
+ --next-error-bg: #0a0a0a;
18
+ --next-error-text: #ededed;
19
+ --next-error-title: #ededed;
20
+ --next-error-message: #ededed;
21
+ --next-error-digest: #a0a0a0;
22
+ --next-error-btn-text: #0a0a0a;
23
+ --next-error-btn-bg: #ededed;
24
+ --next-error-btn-border: none;
25
+ --next-error-btn-secondary-text: #ededed;
26
+ --next-error-btn-secondary-bg: transparent;
27
+ --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
28
+ }
29
+ }
30
+ body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
31
+ `.replace(/\n\s*/g,"");function i(){return(0,f.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:g.icon,children:(0,f.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},25556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}}),a.r(71029);let d=a.r(7997);a.r(717);let e=a.r(98860),f=function(){return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("title",{children:"500: This page couldn’t load"}),(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:e.errorThemeCss}})]}),(0,d.jsx)("body",{children:(0,d.jsx)("div",{style:e.errorStyles.container,children:(0,d.jsxs)("div",{style:e.errorStyles.card,children:[(0,d.jsx)(e.WarningIcon,{}),(0,d.jsx)("h1",{style:e.errorStyles.title,children:"This page couldn’t load"}),(0,d.jsx)("p",{style:e.errorStyles.message,children:"A server error occurred. Reload to try again."}),(0,d.jsx)("form",{style:e.errorStyles.form,children:(0,d.jsx)("button",{type:"submit",style:e.errorStyles.button,children:"Reload"})})]})})})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},79835,a=>{a.n(a.i(25556))}];
32
+
33
+ //# sourceMappingURL=%5Broot-of-the-server%5D__10xgshr._.js.map
@@ -1,12 +1,52 @@
1
1
  const RUNTIME_PUBLIC_PATH = "server/chunks/ssr/[turbopack]_runtime.js";
2
2
  const RELATIVE_ROOT_PATH = "..";
3
3
  const ASSET_PREFIX = "/_next/";
4
+ const WORKER_FORWARDED_GLOBALS = ["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];
5
+ // Apply forwarded globals from workerData if running in a worker thread
6
+ if (typeof require !== 'undefined') {
7
+ try {
8
+ const { workerData } = require('worker_threads');
9
+ if (workerData?.__turbopack_globals__) {
10
+ Object.assign(globalThis, workerData.__turbopack_globals__);
11
+ // Remove internal data so it's not visible to user code
12
+ delete workerData.__turbopack_globals__;
13
+ }
14
+ } catch (_) {
15
+ // Not in a worker thread context, ignore
16
+ }
17
+ }
4
18
  /**
5
19
  * This file contains runtime types and functions that are shared between all
6
20
  * TurboPack ECMAScript runtimes.
7
21
  *
8
22
  * It will be prepended to the runtime code of each runtime.
9
23
  */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-types.d.ts" />
24
+ /**
25
+ * Describes why a module was instantiated.
26
+ * Shared between browser and Node.js runtimes.
27
+ */ var SourceType = /*#__PURE__*/ function(SourceType) {
28
+ /**
29
+ * The module was instantiated because it was included in an evaluated chunk's
30
+ * runtime.
31
+ * SourceData is a ChunkPath.
32
+ */ SourceType[SourceType["Runtime"] = 0] = "Runtime";
33
+ /**
34
+ * The module was instantiated because a parent module imported it.
35
+ * SourceData is a ModuleId.
36
+ */ SourceType[SourceType["Parent"] = 1] = "Parent";
37
+ /**
38
+ * The module was instantiated because it was included in a chunk's hot module
39
+ * update.
40
+ * SourceData is an array of ModuleIds or undefined.
41
+ */ SourceType[SourceType["Update"] = 2] = "Update";
42
+ return SourceType;
43
+ }(SourceType || {});
44
+ /**
45
+ * Flag indicating which module object type to create when a module is merged. Set to `true`
46
+ * by each runtime that uses ModuleWithDirection (browser dev-base.ts, nodejs dev-base.ts,
47
+ * nodejs build-base.ts). Browser production (build-base.ts) leaves it as `false` since it
48
+ * uses plain Module objects.
49
+ */ let createModuleWithDirectionFlag = false;
10
50
  const REEXPORTED_OBJECTS = new WeakMap();
11
51
  /**
12
52
  * Constructs the `__turbopack_context__` object for a module.
@@ -30,9 +70,12 @@ function defineProp(obj, name, options) {
30
70
  function getOverwrittenModule(moduleCache, id) {
31
71
  let module = moduleCache[id];
32
72
  if (!module) {
33
- // This is invoked when a module is merged into another module, thus it wasn't invoked via
34
- // instantiateModule and the cache entry wasn't created yet.
35
- module = createModuleObject(id);
73
+ if (createModuleWithDirectionFlag) {
74
+ // set in development modes for hmr support
75
+ module = createModuleWithDirection(id);
76
+ } else {
77
+ module = createModuleObject(id);
78
+ }
36
79
  moduleCache[id] = module;
37
80
  }
38
81
  return module;
@@ -47,6 +90,16 @@ function getOverwrittenModule(moduleCache, id) {
47
90
  namespaceObject: undefined
48
91
  };
49
92
  }
93
+ function createModuleWithDirection(id) {
94
+ return {
95
+ exports: {},
96
+ error: undefined,
97
+ id,
98
+ namespaceObject: undefined,
99
+ parents: [],
100
+ children: []
101
+ };
102
+ }
50
103
  const BindingTag_Value = 0;
51
104
  /**
52
105
  * Adds the getters to the exports object.
@@ -331,7 +384,6 @@ function createPromise() {
331
384
  function installCompressedModuleFactories(chunkModules, offset, moduleFactories, newModuleId) {
332
385
  let i = offset;
333
386
  while(i < chunkModules.length){
334
- let moduleId = chunkModules[i];
335
387
  let end = i + 1;
336
388
  // Find our factory function
337
389
  while(end < chunkModules.length && typeof chunkModules[end] !== 'function'){
@@ -340,15 +392,33 @@ function installCompressedModuleFactories(chunkModules, offset, moduleFactories,
340
392
  if (end === chunkModules.length) {
341
393
  throw new Error('malformed chunk format, expected a factory function');
342
394
  }
343
- // Each chunk item has a 'primary id' and optional additional ids. If the primary id is already
344
- // present we know all the additional ids are also present, so we don't need to check.
345
- if (!moduleFactories.has(moduleId)) {
346
- const moduleFactoryFn = chunkModules[end];
347
- applyModuleFactoryName(moduleFactoryFn);
348
- newModuleId?.(moduleId);
349
- for(; i < end; i++){
350
- moduleId = chunkModules[i];
351
- moduleFactories.set(moduleId, moduleFactoryFn);
395
+ // Install the factory for each module ID that doesn't already have one.
396
+ // When some IDs in this group already have a factory, reuse that existing
397
+ // group factory for the missing IDs to keep all IDs in the group consistent.
398
+ // Otherwise, install the factory from this chunk.
399
+ const moduleFactoryFn = chunkModules[end];
400
+ let existingGroupFactory = undefined;
401
+ for(let j = i; j < end; j++){
402
+ const id = chunkModules[j];
403
+ const existingFactory = moduleFactories.get(id);
404
+ if (existingFactory) {
405
+ existingGroupFactory = existingFactory;
406
+ break;
407
+ }
408
+ }
409
+ const factoryToInstall = existingGroupFactory ?? moduleFactoryFn;
410
+ let didInstallFactory = false;
411
+ for(let j = i; j < end; j++){
412
+ const id = chunkModules[j];
413
+ if (!moduleFactories.has(id)) {
414
+ if (!didInstallFactory) {
415
+ if (factoryToInstall === moduleFactoryFn) {
416
+ applyModuleFactoryName(moduleFactoryFn);
417
+ }
418
+ didInstallFactory = true;
419
+ }
420
+ moduleFactories.set(id, factoryToInstall);
421
+ newModuleId?.(id);
352
422
  }
353
423
  }
354
424
  i = end + 1; // end is pointing at the last factory advance to the next id or the end of the array.
@@ -488,6 +558,25 @@ contextPrototype.U = relativeURL;
488
558
  */ function invariant(never, computeMessage) {
489
559
  throw new Error(`Invariant: ${computeMessage(never)}`);
490
560
  }
561
+ /**
562
+ * Constructs an error message for when a module factory is not available.
563
+ */ function factoryNotAvailableMessage(moduleId, sourceType, sourceData) {
564
+ let instantiationReason;
565
+ switch(sourceType){
566
+ case 0:
567
+ instantiationReason = `as a runtime entry of chunk ${sourceData}`;
568
+ break;
569
+ case 1:
570
+ instantiationReason = `because it was required from module ${sourceData}`;
571
+ break;
572
+ case 2:
573
+ instantiationReason = 'because of an HMR update';
574
+ break;
575
+ default:
576
+ invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`);
577
+ }
578
+ return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`;
579
+ }
491
580
  /**
492
581
  * A stub function to make `require` available but non-functional in ESM.
493
582
  */ function requireStub(_moduleId) {
@@ -502,7 +591,7 @@ function applyModuleFactoryName(factory) {
502
591
  value: 'module evaluation'
503
592
  });
504
593
  }
505
- /// <reference path="../shared/runtime-utils.ts" />
594
+ /// <reference path="../shared/runtime/runtime-utils.ts" />
506
595
  /// A 'base' utilities to support runtime can have externals.
507
596
  /// Currently this is for node.js / edge runtime both.
508
597
  /// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.
@@ -564,7 +653,7 @@ const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);
564
653
  return ABSOLUTE_ROOT;
565
654
  }
566
655
  Context.prototype.P = resolveAbsolutePath;
567
- /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime-utils.ts" />
656
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime/runtime-utils.ts" />
568
657
  function readWebAssemblyAsResponse(path) {
569
658
  const { createReadStream } = require('fs');
570
659
  const { Readable } = require('stream');
@@ -585,29 +674,18 @@ async function instantiateWebAssemblyFromPath(path, importsObj) {
585
674
  const { instance } = await WebAssembly.instantiateStreaming(response, importsObj);
586
675
  return instance.exports;
587
676
  }
588
- /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime-utils.ts" />
589
- /// <reference path="../shared-node/base-externals-utils.ts" />
590
- /// <reference path="../shared-node/node-externals-utils.ts" />
591
- /// <reference path="../shared-node/node-wasm-utils.ts" />
592
- var SourceType = /*#__PURE__*/ function(SourceType) {
593
- /**
594
- * The module was instantiated because it was included in an evaluated chunk's
595
- * runtime.
596
- * SourceData is a ChunkPath.
597
- */ SourceType[SourceType["Runtime"] = 0] = "Runtime";
598
- /**
599
- * The module was instantiated because a parent module imported it.
600
- * SourceData is a ModuleId.
601
- */ SourceType[SourceType["Parent"] = 1] = "Parent";
602
- return SourceType;
603
- }(SourceType || {});
604
- process.env.TURBOPACK = '1';
605
- const nodeContextPrototype = Context.prototype;
677
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../../shared/runtime/runtime-utils.ts" />
678
+ /// <reference path="../../shared-node/base-externals-utils.ts" />
679
+ /// <reference path="../../shared-node/node-externals-utils.ts" />
680
+ /// <reference path="../../shared-node/node-wasm-utils.ts" />
681
+ /// <reference path="./nodejs-globals.d.ts" />
682
+ /**
683
+ * Base Node.js runtime shared between production and development.
684
+ * Contains chunk loading, module caching, and other non-HMR functionality.
685
+ */ process.env.TURBOPACK = '1';
606
686
  const url = require('url');
607
687
  const moduleFactories = new Map();
608
- nodeContextPrototype.M = moduleFactories;
609
688
  const moduleCache = Object.create(null);
610
- nodeContextPrototype.c = moduleCache;
611
689
  /**
612
690
  * Returns an absolute path to the given module's id.
613
691
  */ function resolvePathFromModule(moduleId) {
@@ -620,7 +698,11 @@ nodeContextPrototype.c = moduleCache;
620
698
  const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix);
621
699
  return url.pathToFileURL(resolved).href;
622
700
  }
623
- nodeContextPrototype.R = resolvePathFromModule;
701
+ /**
702
+ * Exports a URL value. No suffix is added in Node.js runtime.
703
+ */ function exportUrl(urlValue, id) {
704
+ exportValue.call(this, urlValue, id);
705
+ }
624
706
  function loadRuntimeChunk(sourcePath, chunkData) {
625
707
  if (typeof chunkData === 'string') {
626
708
  loadRuntimeChunkPath(sourcePath, chunkData);
@@ -634,6 +716,7 @@ const loadedChunk = Promise.resolve(undefined);
634
716
  const chunkCache = new Map();
635
717
  function clearChunkCache() {
636
718
  chunkCache.clear();
719
+ loadedChunks.clear();
637
720
  }
638
721
  function loadRuntimeChunkPath(sourcePath, chunkPath) {
639
722
  if (!isJs(chunkPath)) {
@@ -708,30 +791,60 @@ function loadWebAssemblyModule(chunkPath, _edgeModule) {
708
791
  return compileWebAssemblyFromPath(resolved);
709
792
  }
710
793
  contextPrototype.u = loadWebAssemblyModule;
711
- function getWorkerBlobURL(_chunks) {
712
- throw new Error('Worker blobs are not implemented yet for Node.js');
794
+ /**
795
+ * Creates a Node.js worker thread by instantiating the given WorkerConstructor
796
+ * with the appropriate path and options, including forwarded globals.
797
+ *
798
+ * @param WorkerConstructor The Worker constructor from worker_threads
799
+ * @param workerPath Path to the worker entry chunk
800
+ * @param workerOptions options to pass to the Worker constructor (optional)
801
+ */ function createWorker(WorkerConstructor, workerPath, workerOptions) {
802
+ // Build the forwarded globals object
803
+ const forwardedGlobals = {};
804
+ for (const name of WORKER_FORWARDED_GLOBALS){
805
+ forwardedGlobals[name] = globalThis[name];
806
+ }
807
+ // Merge workerData with forwarded globals
808
+ const existingWorkerData = workerOptions?.workerData || {};
809
+ const options = {
810
+ ...workerOptions,
811
+ workerData: {
812
+ ...typeof existingWorkerData === 'object' ? existingWorkerData : {},
813
+ __turbopack_globals__: forwardedGlobals
814
+ }
815
+ };
816
+ return new WorkerConstructor(workerPath, options);
713
817
  }
714
- nodeContextPrototype.b = getWorkerBlobURL;
818
+ const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/;
819
+ /**
820
+ * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
821
+ */ function isJs(chunkUrlOrPath) {
822
+ return regexJsUrl.test(chunkUrlOrPath);
823
+ }
824
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-base.ts" />
825
+ /**
826
+ * Production Node.js runtime.
827
+ * Uses ModuleWithDirection and simple module instantiation without HMR support.
828
+ */ // moduleCache and moduleFactories are declared in runtime-base.ts
829
+ // this is read in runtime-utils.ts so it creates a module with direction for hmr
830
+ createModuleWithDirectionFlag = true;
831
+ const nodeContextPrototype = Context.prototype;
832
+ nodeContextPrototype.q = exportUrl;
833
+ nodeContextPrototype.M = moduleFactories;
834
+ // Cast moduleCache to ModuleWithDirection for production mode
835
+ nodeContextPrototype.c = moduleCache;
836
+ nodeContextPrototype.R = resolvePathFromModule;
837
+ nodeContextPrototype.b = createWorker;
838
+ nodeContextPrototype.C = clearChunkCache;
715
839
  function instantiateModule(id, sourceType, sourceData) {
716
840
  const moduleFactory = moduleFactories.get(id);
717
841
  if (typeof moduleFactory !== 'function') {
718
842
  // This can happen if modules incorrectly handle HMR disposes/updates,
719
843
  // e.g. when they keep a `setTimeout` around which still executes old code
720
844
  // and contains e.g. a `require("something")` call.
721
- let instantiationReason;
722
- switch(sourceType){
723
- case 0:
724
- instantiationReason = `as a runtime entry of chunk ${sourceData}`;
725
- break;
726
- case 1:
727
- instantiationReason = `because it was required from module ${sourceData}`;
728
- break;
729
- default:
730
- invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`);
731
- }
732
- throw new Error(`Module ${id} was instantiated ${instantiationReason}, but the module factory is not available.`);
845
+ throw new Error(factoryNotAvailableMessage(id, sourceType, sourceData));
733
846
  }
734
- const module1 = createModuleObject(id);
847
+ const module1 = createModuleWithDirection(id);
735
848
  const exports = module1.exports;
736
849
  moduleCache[id] = module1;
737
850
  const context = new Context(module1, exports);
@@ -742,6 +855,7 @@ function instantiateModule(id, sourceType, sourceData) {
742
855
  module1.error = error;
743
856
  throw error;
744
857
  }
858
+ ;
745
859
  module1.loaded = true;
746
860
  if (module1.namespaceObject && module1.exports !== module1.namespaceObject) {
747
861
  // in case of a circular dependency: cjs1 -> esm2 -> cjs1
@@ -760,12 +874,12 @@ function getOrInstantiateModuleFromParent(id, sourceModule) {
760
874
  }
761
875
  return module1;
762
876
  }
763
- return instantiateModule(id, 1, sourceModule.id);
877
+ return instantiateModule(id, SourceType.Parent, sourceModule.id);
764
878
  }
765
879
  /**
766
880
  * Instantiates a runtime module.
767
881
  */ function instantiateRuntimeModule(chunkPath, moduleId) {
768
- return instantiateModule(moduleId, 0, chunkPath);
882
+ return instantiateModule(moduleId, SourceType.Runtime, chunkPath);
769
883
  }
770
884
  /**
771
885
  * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.
@@ -780,12 +894,6 @@ function getOrInstantiateRuntimeModule(chunkPath, moduleId) {
780
894
  }
781
895
  return instantiateRuntimeModule(chunkPath, moduleId);
782
896
  }
783
- const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/;
784
- /**
785
- * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
786
- */ function isJs(chunkUrlOrPath) {
787
- return regexJsUrl.test(chunkUrlOrPath);
788
- }
789
897
  module.exports = (sourcePath)=>({
790
898
  m: (id)=>getOrInstantiateRuntimeModule(sourcePath, id),
791
899
  c: (chunkData)=>loadRuntimeChunk(sourcePath, chunkData)