pulse-dashboard 1.2.7 → 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 (248) 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 +1 -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 +21 -9
  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 -4
  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 -1
  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]__858b6c42._.js → [externals]__0m-sipc._.js} +1 -1
  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_25e30e9d._.js → node_modules_next_dist_06kebd7._.js} +2 -2
  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]__b3b1f5eb._.js → [root-of-the-server]__0jmj6g1._.js} +2 -2
  101. package/.next/server/chunks/ssr/[root-of-the-server]__0mgphg.._.js +3 -0
  102. package/.next/server/chunks/ssr/{[root-of-the-server]__71dd9d42._.js → [root-of-the-server]__0uyy96m._.js} +2 -2
  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/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx +16 -16
  155. package/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx.map +1 -1
  156. package/dist/components/pulse-dashboard/FailureCategorizationView.jsx +5 -5
  157. package/dist/components/pulse-dashboard/FailureCategorizationView.jsx.map +1 -1
  158. package/dist/components/pulse-dashboard/FlakyTestsWidget.d.ts.map +1 -1
  159. package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx +44 -38
  160. package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx.map +1 -1
  161. package/dist/components/pulse-dashboard/LiveTestResults.d.ts.map +1 -1
  162. package/dist/components/pulse-dashboard/LiveTestResults.jsx +32 -24
  163. package/dist/components/pulse-dashboard/LiveTestResults.jsx.map +1 -1
  164. package/dist/components/pulse-dashboard/PulseCommandView.jsx +3 -3
  165. package/dist/components/pulse-dashboard/PulseCommandView.jsx.map +1 -1
  166. package/dist/components/pulse-dashboard/PulseDashboard.d.ts.map +1 -1
  167. package/dist/components/pulse-dashboard/PulseDashboard.jsx +1 -2
  168. package/dist/components/pulse-dashboard/PulseDashboard.jsx.map +1 -1
  169. package/dist/components/pulse-dashboard/SettingsView.jsx +2 -2
  170. package/dist/components/pulse-dashboard/SettingsView.jsx.map +1 -1
  171. package/dist/components/pulse-dashboard/SummaryMetrics.jsx +7 -7
  172. package/dist/components/pulse-dashboard/SummaryMetrics.jsx.map +1 -1
  173. package/dist/components/pulse-dashboard/SystemInformationWidget.jsx +1 -1
  174. package/dist/components/pulse-dashboard/SystemInformationWidget.jsx.map +1 -1
  175. package/dist/components/pulse-dashboard/TestDetailsClientPage.d.ts.map +1 -1
  176. package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx +105 -75
  177. package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx.map +1 -1
  178. package/dist/components/pulse-dashboard/TestItem.jsx +8 -8
  179. package/dist/components/pulse-dashboard/TestItem.jsx.map +1 -1
  180. package/dist/components/pulse-dashboard/TestStepItemRecursive.jsx +3 -3
  181. package/dist/components/pulse-dashboard/TrendAnalysis.jsx +11 -11
  182. package/dist/components/pulse-dashboard/TrendAnalysis.jsx.map +1 -1
  183. package/dist/components/ui/alert.jsx +1 -1
  184. package/dist/components/ui/alert.jsx.map +1 -1
  185. package/dist/components/ui/button.jsx +3 -3
  186. package/dist/components/ui/card.jsx +1 -1
  187. package/dist/components/ui/card.jsx.map +1 -1
  188. package/dist/components/ui/tabs.jsx +2 -2
  189. package/dist/components/ui/tabs.jsx.map +1 -1
  190. package/dist/styles.css +1 -1
  191. package/package.json +13 -8
  192. package/.next/server/chunks/[root-of-the-server]__06c6346e._.js +0 -3
  193. package/.next/server/chunks/[root-of-the-server]__42738744._.js +0 -3
  194. package/.next/server/chunks/[root-of-the-server]__7113a113._.js +0 -3
  195. package/.next/server/chunks/[root-of-the-server]__71e0e3b9._.js +0 -21
  196. package/.next/server/chunks/[root-of-the-server]__74bb0547._.js +0 -3
  197. package/.next/server/chunks/[root-of-the-server]__c159e29b._.js +0 -3
  198. package/.next/server/chunks/[root-of-the-server]__d7fdaf5c._.js +0 -3
  199. package/.next/server/chunks/ssr/[root-of-the-server]__15600e29._.js +0 -3
  200. package/.next/server/chunks/ssr/[root-of-the-server]__22ecdfea._.js +0 -3
  201. package/.next/server/chunks/ssr/[root-of-the-server]__4a382b8f._.js +0 -3
  202. package/.next/server/chunks/ssr/[root-of-the-server]__77c90d39._.js +0 -3
  203. package/.next/server/chunks/ssr/[root-of-the-server]__84313e76._.js +0 -3
  204. package/.next/server/chunks/ssr/[root-of-the-server]__aed7e4d8._.js +0 -3
  205. package/.next/server/chunks/ssr/[root-of-the-server]__b9356576._.js +0 -4
  206. package/.next/server/chunks/ssr/[root-of-the-server]__c507bbfe._.js +0 -3
  207. package/.next/server/chunks/ssr/[root-of-the-server]__c829c7d1._.js +0 -3
  208. package/.next/server/chunks/ssr/[root-of-the-server]__efd22fba._.js +0 -3
  209. package/.next/server/chunks/ssr/[root-of-the-server]__f682065b._.js +0 -3
  210. package/.next/server/chunks/ssr/_134010c8._.js +0 -3
  211. package/.next/server/chunks/ssr/_42495f68._.js +0 -7
  212. package/.next/server/chunks/ssr/_7bd96dfb._.js +0 -4
  213. package/.next/server/chunks/ssr/_8521b44e._.js +0 -5
  214. package/.next/server/chunks/ssr/_97aa43fe._.js +0 -6
  215. package/.next/server/chunks/ssr/_c1309523._.js +0 -4
  216. package/.next/server/chunks/ssr/_ed1fd268._.js +0 -5
  217. package/.next/server/chunks/ssr/node_modules_entities_lib_maps_6c3ea140._.js +0 -3
  218. package/.next/server/chunks/ssr/node_modules_f76a24fb._.js +0 -3
  219. package/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +0 -4
  220. package/.next/server/chunks/ssr/node_modules_next_dist_174ae28d._.js +0 -10
  221. package/.next/server/chunks/ssr/node_modules_next_dist_4b63a0e1._.js +0 -3
  222. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_65a7265e.js +0 -4
  223. package/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +0 -6
  224. package/.next/server/chunks/ssr/src_components_ui_toaster_tsx_475f3ca1._.js +0 -3
  225. package/.next/static/chunks/4acc398e96387f8f.js +0 -1
  226. package/.next/static/chunks/4e6c102ba15cb8f3.js +0 -1
  227. package/.next/static/chunks/52a0548698d96d34.js +0 -1
  228. package/.next/static/chunks/550f12513ad3d3f5.js +0 -1
  229. package/.next/static/chunks/57a4e405cd49f084.js +0 -1
  230. package/.next/static/chunks/61cc43b3d7ad2990.js +0 -1
  231. package/.next/static/chunks/6b48616ac349ee78.js +0 -1
  232. package/.next/static/chunks/7d11f12dde2f0803.js +0 -3
  233. package/.next/static/chunks/a6bf5da24e4e4780.js +0 -2
  234. package/.next/static/chunks/aee6c7720838f8a2.js +0 -1
  235. package/.next/static/chunks/b2baab7e78ca16b2.js +0 -1
  236. package/.next/static/chunks/bbc54cf19103bcba.js +0 -5
  237. package/.next/static/chunks/c059c9ec2d096e23.css +0 -1
  238. package/.next/static/chunks/c593fbb06045d009.js +0 -1
  239. package/.next/static/chunks/f091501564eb2ea3.js +0 -4
  240. package/.next/static/chunks/f0dbf61c632d4a51.js +0 -1
  241. package/.next/static/chunks/f4aa6f394526ed88.js +0 -3
  242. package/.next/static/chunks/fa82d7dec6790f39.js +0 -1
  243. package/.next/static/chunks/ff1a16fafef87110.js +0 -1
  244. package/.next/static/chunks/turbopack-80629672101bb6b8.js +0 -4
  245. package/.next/static/qMIxqotvwHfyIWhQnz8JW/_clientMiddlewareManifest.json +0 -1
  246. /package/.next/static/{qMIxqotvwHfyIWhQnz8JW → RgESZIprcZznm98mxUv-O}/_buildManifest.js +0 -0
  247. /package/.next/static/{qMIxqotvwHfyIWhQnz8JW → RgESZIprcZznm98mxUv-O}/_ssgManifest.js +0 -0
  248. /package/.next/static/chunks/{a6dad97d9634a72d.js → 03~yq9q893hmn.js} +0 -0
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79340,e=>{e.v({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'})},77391,e=>{e.v(JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}'))},8533,e=>{e.v({Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"})},95212,e=>{e.v({0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376})},1062,37727,e=>{"use strict";var r=e.i(71645);let t=0,a=new Map,o=e=>{if(a.has(e))return;let r=setTimeout(()=>{a.delete(e),n({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,r)},s=[],i={toasts:[]};function n(e){i=((e,r)=>{switch(r.type){case"ADD_TOAST":return{...e,toasts:[r.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===r.toast.id?{...e,...r.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=r;return t?o(t):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===r.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==r.toastId)}}})(i,e),s.forEach(e=>{e(i)})}function l({...e}){let r=(t=(t+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>n({type:"DISMISS_TOAST",toastId:r});return n({type:"ADD_TOAST",toast:{...e,id:r,open:!0,onOpenChange:e=>{e||a()}}}),{id:r,dismiss:a,update:e=>n({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function c(){let[e,t]=r.useState(i);return r.useEffect(()=>(s.push(t),()=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)}),[e]),{...e,toast:l,dismiss:e=>n({type:"DISMISS_TOAST",toastId:e})}}e.s(["useToast",()=>c],1062);let u=(0,e.i(75254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>u],37727)},77855,e=>{"use strict";var r=e.i(43476),t=e.i(1062),a=e.i(71645),o=e.i(74080),s=e.i(81140),i=e.i(20783),n=e.i(75830),l=e.i(30030),c=e.i(26330),u=e.i(74606),p=e.i(96626),d=e.i(48425),m=e.i(30207),f=e.i(69340),g=e.i(34620),h=e.i(59411),b="ToastProvider",[v,w,y]=(0,n.createCollection)("Toast"),[q,E]=(0,l.createContextScope)("Toast",[y]),[x,T]=q(b),D=e=>{let{__scopeToast:t,label:o="Notification",duration:s=5e3,swipeDirection:i="right",swipeThreshold:n=50,children:l}=e,[c,u]=a.useState(null),[p,d]=a.useState(0),m=a.useRef(!1),f=a.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${b}\`. Expected non-empty \`string\`.`),(0,r.jsx)(v.Provider,{scope:t,children:(0,r.jsx)(x,{scope:t,label:o,duration:s,swipeDirection:i,swipeThreshold:n,toastCount:p,viewport:c,onViewportChange:u,onToastAdd:a.useCallback(()=>d(e=>e+1),[]),onToastRemove:a.useCallback(()=>d(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:f,children:l})})};D.displayName=b;var S="ToastViewport",L=["F8"],R="toast.viewportPause",A="toast.viewportResume",k=a.forwardRef((e,t)=>{let{__scopeToast:o,hotkey:s=L,label:n="Notifications ({hotkey})",...l}=e,u=T(S,o),p=w(o),m=a.useRef(null),f=a.useRef(null),g=a.useRef(null),h=a.useRef(null),b=(0,i.useComposedRefs)(t,h,u.onViewportChange),y=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),q=u.toastCount>0;a.useEffect(()=>{let e=e=>{0!==s.length&&s.every(r=>e[r]||e.code===r)&&h.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),a.useEffect(()=>{let e=m.current,r=h.current;if(q&&e&&r){let t=()=>{if(!u.isClosePausedRef.current){let e=new CustomEvent(R);r.dispatchEvent(e),u.isClosePausedRef.current=!0}},a=()=>{if(u.isClosePausedRef.current){let e=new CustomEvent(A);r.dispatchEvent(e),u.isClosePausedRef.current=!1}},o=r=>{e.contains(r.relatedTarget)||a()},s=()=>{e.contains(document.activeElement)||a()};return e.addEventListener("focusin",t),e.addEventListener("focusout",o),e.addEventListener("pointermove",t),e.addEventListener("pointerleave",s),window.addEventListener("blur",t),window.addEventListener("focus",a),()=>{e.removeEventListener("focusin",t),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",t),e.removeEventListener("pointerleave",s),window.removeEventListener("blur",t),window.removeEventListener("focus",a)}}},[q,u.isClosePausedRef]);let E=a.useCallback(({tabbingDirection:e})=>{let r=p().map(r=>{let t=r.ref.current,a=[t,...function(e){let r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let r="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||r?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)r.push(t.currentNode);return r}(t)];return"forwards"===e?a:a.reverse()});return("forwards"===e?r.reverse():r).flat()},[p]);return a.useEffect(()=>{let e=h.current;if(e){let r=r=>{let t=r.altKey||r.ctrlKey||r.metaKey;if("Tab"===r.key&&!t){let t=document.activeElement,a=r.shiftKey;if(r.target===e&&a)return void f.current?.focus();let o=E({tabbingDirection:a?"backwards":"forwards"}),s=o.findIndex(e=>e===t);J(o.slice(s+1))?r.preventDefault():a?f.current?.focus():g.current?.focus()}};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)}},[p,E]),(0,r.jsxs)(c.Branch,{ref:m,role:"region","aria-label":n.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:q?void 0:"none"},children:[q&&(0,r.jsx)(C,{ref:f,onFocusFromOutsideViewport:()=>{J(E({tabbingDirection:"forwards"}))}}),(0,r.jsx)(v.Slot,{scope:o,children:(0,r.jsx)(d.Primitive.ol,{tabIndex:-1,...l,ref:b})}),q&&(0,r.jsx)(C,{ref:g,onFocusFromOutsideViewport:()=>{J(E({tabbingDirection:"backwards"}))}})]})});k.displayName=S;var N="ToastFocusProxy",C=a.forwardRef((e,t)=>{let{__scopeToast:a,onFocusFromOutsideViewport:o,...s}=e,i=T(N,a);return(0,r.jsx)(h.VisuallyHidden,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:e=>{let r=e.relatedTarget;i.viewport?.contains(r)||o()}})});C.displayName=N;var P="Toast",U=a.forwardRef((e,t)=>{let{forceMount:a,open:o,defaultOpen:i,onOpenChange:n,...l}=e,[c=!0,u]=(0,f.useControllableState)({prop:o,defaultProp:i,onChange:n});return(0,r.jsx)(p.Presence,{present:a||c,children:(0,r.jsx)(j,{open:c,...l,ref:t,onClose:()=>u(!1),onPause:(0,m.useCallbackRef)(e.onPause),onResume:(0,m.useCallbackRef)(e.onResume),onSwipeStart:(0,s.composeEventHandlers)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,s.composeEventHandlers)(e.onSwipeMove,e=>{let{x:r,y:t}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${r}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${t}px`)}),onSwipeCancel:(0,s.composeEventHandlers)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,s.composeEventHandlers)(e.onSwipeEnd,e=>{let{x:r,y:t}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${r}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${t}px`),u(!1)})})})});U.displayName=P;var[V,I]=q(P,{onClose(){}}),j=a.forwardRef((e,t)=>{let{__scopeToast:n,type:l="foreground",duration:u,open:p,onClose:f,onEscapeKeyDown:g,onPause:h,onResume:b,onSwipeStart:w,onSwipeMove:y,onSwipeCancel:q,onSwipeEnd:E,...x}=e,D=T(P,n),[S,L]=a.useState(null),k=(0,i.useComposedRefs)(t,e=>L(e)),N=a.useRef(null),C=a.useRef(null),U=u||D.duration,I=a.useRef(0),j=a.useRef(U),B=a.useRef(0),{onToastAdd:H,onToastRemove:G}=D,F=(0,m.useCallbackRef)(()=>{S?.contains(document.activeElement)&&D.viewport?.focus(),f()}),M=a.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(B.current),I.current=new Date().getTime(),B.current=window.setTimeout(F,e))},[F]);a.useEffect(()=>{let e=D.viewport;if(e){let r=()=>{M(j.current),b?.()},t=()=>{let e=new Date().getTime()-I.current;j.current=j.current-e,window.clearTimeout(B.current),h?.()};return e.addEventListener(R,t),e.addEventListener(A,r),()=>{e.removeEventListener(R,t),e.removeEventListener(A,r)}}},[D.viewport,U,h,b,M]),a.useEffect(()=>{p&&!D.isClosePausedRef.current&&M(U)},[p,U,D.isClosePausedRef,M]),a.useEffect(()=>(H(),()=>G()),[H,G]);let z=a.useMemo(()=>S?function e(r){let t=[];return Array.from(r.childNodes).forEach(r=>{var a;if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),(a=r).nodeType===a.ELEMENT_NODE){let a=r.ariaHidden||r.hidden||"none"===r.style.display,o=""===r.dataset.radixToastAnnounceExclude;if(!a)if(o){let e=r.dataset.radixToastAnnounceAlt;e&&t.push(e)}else t.push(...e(r))}}),t}(S):null,[S]);return D.viewport?(0,r.jsxs)(r.Fragment,{children:[z&&(0,r.jsx)(O,{__scopeToast:n,role:"status","aria-live":"foreground"===l?"assertive":"polite","aria-atomic":!0,children:z}),(0,r.jsx)(V,{scope:n,onClose:F,children:o.createPortal((0,r.jsx)(v.ItemSlot,{scope:n,children:(0,r.jsx)(c.Root,{asChild:!0,onEscapeKeyDown:(0,s.composeEventHandlers)(g,()=>{D.isFocusedToastEscapeKeyDownRef.current||F(),D.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,r.jsx)(d.Primitive.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":p?"open":"closed","data-swipe-direction":D.swipeDirection,...x,ref:k,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{"Escape"===e.key&&(g?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(D.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:(0,s.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(N.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,s.composeEventHandlers)(e.onPointerMove,e=>{if(!N.current)return;let r=e.clientX-N.current.x,t=e.clientY-N.current.y,a=!!C.current,o=["left","right"].includes(D.swipeDirection),s=["left","up"].includes(D.swipeDirection)?Math.min:Math.max,i=o?s(0,r):0,n=o?0:s(0,t),l="touch"===e.pointerType?10:2,c={x:i,y:n},u={originalEvent:e,delta:c};a?(C.current=c,_("toast.swipeMove",y,u,{discrete:!1})):Y(c,D.swipeDirection,l)?(C.current=c,_("toast.swipeStart",w,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(r)>l||Math.abs(t)>l)&&(N.current=null)}),onPointerUp:(0,s.composeEventHandlers)(e.onPointerUp,e=>{let r=C.current,t=e.target;if(t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),C.current=null,N.current=null,r){let t=e.currentTarget,a={originalEvent:e,delta:r};Y(r,D.swipeDirection,D.swipeThreshold)?_("toast.swipeEnd",E,a,{discrete:!0}):_("toast.swipeCancel",q,a,{discrete:!0}),t.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),D.viewport)})]}):null}),O=e=>{let{__scopeToast:t,children:o,...s}=e,i=T(P,t),[n,l]=a.useState(!1),[c,p]=a.useState(!1);return function(e=()=>{}){let r=(0,m.useCallbackRef)(e);(0,g.useLayoutEffect)(()=>{let e=0,t=0;return e=window.requestAnimationFrame(()=>t=window.requestAnimationFrame(r)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(t)}},[r])}(()=>l(!0)),a.useEffect(()=>{let e=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(e)},[]),c?null:(0,r.jsx)(u.Portal,{asChild:!0,children:(0,r.jsx)(h.VisuallyHidden,{...s,children:n&&(0,r.jsxs)(r.Fragment,{children:[i.label," ",o]})})})},B=a.forwardRef((e,t)=>{let{__scopeToast:a,...o}=e;return(0,r.jsx)(d.Primitive.div,{...o,ref:t})});B.displayName="ToastTitle";var H=a.forwardRef((e,t)=>{let{__scopeToast:a,...o}=e;return(0,r.jsx)(d.Primitive.div,{...o,ref:t})});H.displayName="ToastDescription";var G="ToastAction",F=a.forwardRef((e,t)=>{let{altText:a,...o}=e;return a.trim()?(0,r.jsx)(K,{altText:a,asChild:!0,children:(0,r.jsx)(z,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${G}\`. Expected non-empty \`string\`.`),null)});F.displayName=G;var M="ToastClose",z=a.forwardRef((e,t)=>{let{__scopeToast:a,...o}=e,i=I(M,a);return(0,r.jsx)(K,{asChild:!0,children:(0,r.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,s.composeEventHandlers)(e.onClick,i.onClose)})})});z.displayName=M;var K=a.forwardRef((e,t)=>{let{__scopeToast:a,altText:o,...s}=e;return(0,r.jsx)(d.Primitive.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...s,ref:t})});function _(e,r,t,{discrete:a}){let o=t.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:t});r&&o.addEventListener(e,r,{once:!0}),a?(0,d.dispatchDiscreteCustomEvent)(o,s):o.dispatchEvent(s)}var Y=(e,r,t=0)=>{let a=Math.abs(e.x),o=Math.abs(e.y),s=a>o;return"left"===r||"right"===r?s&&a>t:!s&&o>t};function J(e){let r=document.activeElement;return e.some(e=>e===r||(e.focus(),document.activeElement!==r))}var X=e.i(25913),Z=e.i(37727),Q=e.i(75157);let W=a.forwardRef(({className:e,...t},a)=>(0,r.jsx)(k,{ref:a,className:(0,Q.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));W.displayName=k.displayName;let $=(0,X.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),ee=a.forwardRef(({className:e,variant:t,...a},o)=>(0,r.jsx)(U,{ref:o,className:(0,Q.cn)($({variant:t}),e),...a}));ee.displayName=U.displayName,a.forwardRef(({className:e,...t},a)=>(0,r.jsx)(F,{ref:a,className:(0,Q.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t})).displayName=F.displayName;let er=a.forwardRef(({className:e,...t},a)=>(0,r.jsx)(z,{ref:a,className:(0,Q.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,r.jsx)(Z.X,{className:"h-4 w-4"})}));er.displayName=z.displayName;let et=a.forwardRef(({className:e,...t},a)=>(0,r.jsx)(B,{ref:a,className:(0,Q.cn)("text-sm font-semibold",e),...t}));et.displayName=B.displayName;let ea=a.forwardRef(({className:e,...t},a)=>(0,r.jsx)(H,{ref:a,className:(0,Q.cn)("text-sm opacity-90",e),...t}));function eo(){let{toasts:e}=(0,t.useToast)();return(0,r.jsxs)(D,{children:[e.map(function({id:e,title:t,description:a,action:o,...s}){return(0,r.jsxs)(ee,{...s,children:[(0,r.jsxs)("div",{className:"grid gap-1",children:[t&&(0,r.jsx)(et,{children:t}),a&&(0,r.jsx)(ea,{children:a})]}),o,(0,r.jsx)(er,{})]},e)}),(0,r.jsx)(W,{})]})}ea.displayName=H.displayName,e.s(["Toaster",()=>eo],77855)}]);
@@ -1,5 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let a=e.r(32061);function s({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},52157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let a=e.r(43476),s=e.r(74080),l=e.r(63599),n=e.r(9885),i=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let t=l.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;r.push(...e)}}if(0===r.length)return null;let o=(0,i.getDeploymentIdQueryOrEmptyString)();return(0,a.jsx)(a.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,n.encodeURIPath)(e)}${o}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,s.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let a=e.r(43476),s=e.r(71645),l=e.r(67585),n=e.r(52157);function i(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},r=(0,s.lazy)(()=>t.loader().then(i)),d=t.loading;function c(e){let i=d?(0,a.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?s.Suspense:s.Fragment,u=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"<typeof window?(0,a.jsx)(n.PreloadChunks,{moduleIds:t.modules}):null,(0,a.jsx)(r,{...e})]}):(0,a.jsx)(l.BailoutToCSR,{reason:"next/dynamic",children:(0,a.jsx)(r,{...e})});return(0,a.jsx)(c,{...o?{fallback:i}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let a=e.r(55682)._(e.r(69093));function s(e,t){let r={};"function"==typeof e&&(r.loader=e);let s={...r,...t};return(0,a.default)({...s,modules:s.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return o},searchParamsToUrlQuery:function(){return l},urlQueryToSearchParams:function(){return i}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});function l(e){let t={};for(let[r,a]of e.entries()){let e=t[r];void 0===e?t[r]=a:Array.isArray(e)?e.push(a):t[r]=[e,a]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,n(e));else t.set(r,n(a));return t}function o(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,a]of r.entries())e.append(t,a)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return i},formatWithValidation:function(){return d},urlObjectKeys:function(){return o}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let l=e.r(90809)._(e.r(98183)),n=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,a=e.protocol||"",s=e.pathname||"",i=e.hash||"",o=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:r&&(d=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(d+=":"+e.port)),o&&"object"==typeof o&&(o=String(l.urlQueryToSearchParams(o)));let c=e.search||o&&`?${o}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||n.test(a))&&!1!==d?(d="//"+(d||""),s&&"/"!==s[0]&&(s="/"+s)):d||(d=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),s=s.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${a}${d}${s}${c}${i}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return i(e)}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return j},NormalizeError:function(){return y},PageNotFoundError:function(){return b},SP:function(){return f},ST:function(){return x},WEB_VITALS:function(){return l},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return d},getURL:function(){return c},isAbsoluteUrl:function(){return o},isResSent:function(){return m},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return N}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let l=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>i.test(e);function d(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=d();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function m(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&m(r))return a;if(!a)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let f="u">typeof performance,x=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class y extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class j extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let a=e.r(18967),s=e.r(52817);function l(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return g},useLinkStatus:function(){return b}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let l=e.r(90809),n=e.r(43476),i=l._(e.r(71645)),o=e.r(95057),d=e.r(8372),c=e.r(18581),u=e.r(18967),m=e.r(5550);e.r(33525);let h=e.r(91949),p=e.r(73668),f=e.r(9396);function x(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function g(t){var r;let a,s,l,[o,g]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),b=(0,i.useRef)(null),{href:j,as:v,children:N,prefetch:w=null,passHref:k,replace:C,shallow:S,scroll:A,onClick:T,onMouseEnter:E,onTouchStart:P,legacyBehavior:D=!1,onNavigate:M,ref:R,unstable_dynamicOnHover:O,...L}=t;a=N,D&&("string"==typeof a||"number"==typeof a)&&(a=(0,n.jsx)("a",{children:a}));let F=i.default.useContext(d.AppRouterContext),I=!1!==w,$=!1!==w?null===(r=w)||"auto"===r?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:_,as:z}=i.default.useMemo(()=>{let e=x(j);return{href:e,as:v?x(v):e}},[j,v]);if(D){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=i.default.Children.only(a)}let B=D?s&&"object"==typeof s&&s.ref:R,H=i.default.useCallback(e=>(null!==F&&(b.current=(0,h.mountLinkInstance)(e,_,F,$,I,g)),()=>{b.current&&((0,h.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,_,F,$,g]),K={ref:(0,c.useMergedRef)(H,B),onClick(t){D||"function"!=typeof T||T(t),D&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!F||t.defaultPrevented||function(t,r,a,s,l,n,o){if("u">typeof window){let d,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){l&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);i.default.startTransition(()=>{u(a||r,l?"replace":"push",n??!0,s.current)})}}(t,_,z,b,C,A,M)},onMouseEnter(e){D||"function"!=typeof E||E(e),D&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),F&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){D||"function"!=typeof P||P(e),D&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),F&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,u.isAbsoluteUrl)(z)?K.href=z:D&&!k&&("a"!==s.type||"href"in s.props)||(K.href=(0,m.addBasePath)(z)),l=D?i.default.cloneElement(s,K):(0,n.jsx)("a",{...L,...K,children:a}),(0,n.jsx)(y.Provider,{value:o,children:l})}e.r(84508);let y=(0,i.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95923,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(57688),s=e.i(87596),l=e.i(15288),n=e.i(2747),i=e.i(29592),o=e.i(75254);let d=(0,o.default)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var c=e.i(73884);let u=(0,o.default)("SkipForward",[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]]);var m=e.i(3116),h=e.i(68054),p=e.i(11641);let f=(0,o.default)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),x=(0,o.default)("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]),g=(0,o.default)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),y=(0,o.default)("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]),b=(0,o.default)("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]),j=(0,o.default)("MemoryStick",[["path",{d:"M6 19v-3",key:"1nvgqn"}],["path",{d:"M10 19v-3",key:"iu8nkm"}],["path",{d:"M14 19v-3",key:"kcehxu"}],["path",{d:"M18 19v-3",key:"1vh91z"}],["path",{d:"M8 11V9",key:"63erz4"}],["path",{d:"M16 11V9",key:"fru6f3"}],["path",{d:"M12 11V9",key:"ha00sb"}],["path",{d:"M2 15h20",key:"16ne18"}],["path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z",key:"lhddv3"}]]),v=(0,o.default)("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]),N=(0,o.default)("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]),w=(0,o.default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]),k=(0,o.default)("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);var C=e.i(52571);let S=(0,o.default)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),A=(0,o.default)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);var T=e.i(48256),E=e.i(94908),P=e.i(13248);let D=(0,o.default)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]),M=(0,o.default)("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);var R=e.i(77572);let O=(e,r="")=>(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:Object.entries(e).map(([e,a])=>{var s;let l,n=(e=>{if("string"==typeof e||"number"==typeof e||"boolean"==typeof e)return String(e);if(Array.isArray(e))return e.length>0?e.join(", "):"Empty";if("object"==typeof e&&null!==e){let t=Object.entries(e);return 0===t.length?"Empty":t.length<=3?t.map(([e,t])=>{let r=e.replace(/([A-Z])/g," $1").trim();return`${r}: ${String(t)}`}).join(", "):`${t.length} items`}return"N/A"})(a),i="object"==typeof a&&null!==a?JSON.stringify(a,null,2):String(a);return(0,t.jsxs)("div",{className:"flex items-center space-x-2 p-2 rounded-lg hover:bg-muted/50 transition-all duration-200 group/item",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(l=(s=e).toLowerCase()).includes("os")||l.includes("operative system")?(0,t.jsx)(k,{className:"h-4 w-4 text-primary"}):l.includes("cpu")?(0,t.jsx)(b,{className:"h-4 w-4 text-primary"}):l.includes("mem")||l.includes("ram")?(0,t.jsx)(j,{className:"h-4 w-4 text-primary"}):l.includes("node")?(0,t.jsx)(v,{className:"h-4 w-4 text-primary"}):l.includes("playwright")?(0,t.jsx)(N,{className:"h-4 w-4 text-primary"}):l.includes("y playwright")?(0,t.jsx)(w,{className:"h-4 w-4 text-primary"}):l.includes("browser")?(0,t.jsx)(T.Globe,{className:"h-4 w-4 text-primary"}):l.includes("chromium")||l.includes("chrome")?(0,t.jsx)(P.Chrome,{className:"h-4 w-4 text-primary"}):l.includes("firefox")?(0,t.jsx)(T.Globe,{className:"h-4 w-4 text-primary"}):l.includes("webkit")||l.includes("safari")?(0,t.jsx)(E.Compass,{className:"h-4 w-4 text-primary"}):l.includes("provider")&&(s.toLowerCase().includes("ci")||s.toLowerCase().includes("cd"))?(0,t.jsx)(S,{className:"h-4 w-4 text-primary"}):l.includes("job")&&(s.toLowerCase().includes("ci")||s.toLowerCase().includes("cd"))?(0,t.jsx)(A,{className:"h-4 w-4 text-primary"}):l.includes("disk")||l.includes("storage")?(0,t.jsx)(D,{className:"h-4 w-4 text-primary"}):(0,t.jsx)(C.Info,{className:"h-4 w-4 text-primary"})}),(0,t.jsxs)("div",{className:"flex-grow min-w-0",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground truncate",children:e.replace(/([A-Z]+)/g," $1").replace(/([A-Z][a-z])/g," $1").replace(/^./,e=>e.toUpperCase())}),(0,t.jsx)("div",{className:"text-xs font-semibold text-foreground truncate",title:i,children:n})]})]},`${r}${e}`)})});function L({environmentInfo:e,loading:a}){let[s,o]=(0,r.useState)("0");if(a)return(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl mt-6",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-6 w-48 mb-1"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-3/4"})]}),(0,t.jsx)(l.CardContent,{className:"space-y-3",children:[void 0,void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-5 rounded-full"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/4"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/2"})]},r))})]});if(!e||(Array.isArray(e)?0===e.length:0===Object.keys(e).length))return(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl mt-6",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsxs)(l.CardTitle,{className:"text-lg font-semibold text-primary flex items-center",children:[(0,t.jsx)(y,{className:"h-5 w-5 mr-2"})," System Information"]}),(0,t.jsx)(l.CardDescription,{className:"text-xs",children:"Details about the test execution environment."})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)(i.Alert,{variant:"default",className:"border-muted-foreground/30",children:[(0,t.jsx)(C.Info,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"No Environment Data"}),(0,t.jsx)(i.AlertDescription,{children:"Environment information is not available in the current report."})]})})]});let d=Array.isArray(e);return(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl mt-6 hover:shadow-2xl transition-all duration-300 border-0 bg-gradient-to-br from-card via-card to-card/95 group",children:[(0,t.jsx)(l.CardHeader,{className:"pb-3",children:(0,t.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(l.CardTitle,{className:"text-base font-semibold text-foreground group-hover:text-primary transition-colors flex items-center",children:[(0,t.jsx)(y,{className:"h-4 w-4 mr-2"})," System Information",d&&(0,t.jsxs)("span",{className:"ml-2 text-xs font-normal text-muted-foreground flex items-center gap-1",children:[(0,t.jsx)(M,{className:"h-3 w-3"}),e.length," ",1===e.length?"Shard":"Shards"]})]}),(0,t.jsx)(l.CardDescription,{className:"text-xs mt-1",children:d?"Environment details from each test shard":"Test execution environment details"})]}),(0,t.jsx)("div",{className:"h-9 w-9 rounded-full bg-gradient-to-br from-primary/10 to-primary/5 flex items-center justify-center",children:d?(0,t.jsx)(M,{className:"h-4 w-4 text-primary"}):(0,t.jsx)(k,{className:"h-4 w-4 text-primary"})})]})}),(0,t.jsx)(l.CardContent,{className:"pt-0",children:d?(0,t.jsxs)(R.Tabs,{value:s,onValueChange:o,className:"w-full",children:[(0,t.jsx)(R.TabsList,{className:"w-fit max-w-full h-auto p-1 bg-muted/50 flex justify-start overflow-x-auto",children:e.map((e,r)=>(0,t.jsxs)(R.TabsTrigger,{value:String(r),className:"text-xs px-3 py-1.5 data-[state=active]:bg-primary/10 flex-shrink-0",children:["Shard ",r+1]},r))}),e.map((e,r)=>(0,t.jsx)(R.TabsContent,{value:String(r),className:"mt-4",children:O(e,`shard-${r}-`)},r))]}):O(e)})]})}var F=e.i(70703),I=e.i(95150);let $=(0,F.default)(()=>e.A(51558).then(e=>e.DashboardOverviewCharts),{loadableGenerated:{modules:[78472]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1 lg:grid-cols-2 mt-6",children:[...Array(6)].map((e,r)=>(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-3/4 rounded-md"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/2 mt-1 rounded-md"})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsx)(n.Skeleton,{className:"h-48 w-full rounded-lg"})})]},`loader-chart-${r}`))})});function _(e){if(0===e)return"0s";let t=Math.floor(e/1e3%60),r=Math.floor(e/6e4%60),a=Math.floor(e/36e5%24),s="";return a>0&&(s+=`${a}h `),r>0&&(s+=`${r}m `),(t>0||0===a&&0===r)&&(s+=`${t}s`),s.trim()||"0s"}function z({currentRun:e,loading:r,error:a,onMetricClick:s}){let o=e?.run,y=e?.run?.environment||e?.environment;if(a&&!o)return(0,t.jsxs)(i.Alert,{variant:"destructive",className:"col-span-full md:col-span-2 lg:col-span-5",children:[(0,t.jsx)(h.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Error Fetching Summary Metrics"}),(0,t.jsx)(i.AlertDescription,{children:a})]});if(r&&!o)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-5",children:[void 0,void 0,void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl",children:[(0,t.jsxs)(l.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-24"}),(0,t.jsx)(n.Skeleton,{className:"h-6 w-6"})]}),(0,t.jsxs)(l.CardContent,{children:[(0,t.jsx)(n.Skeleton,{className:"h-8 w-16"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-32 mt-1"})]})]},r))}),(0,t.jsx)(L,{environmentInfo:null,loading:!0,error:null}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1 lg:grid-cols-2 mt-6",children:[...Array(6)].map((e,r)=>(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-3/4 rounded-md"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/2 mt-1 rounded-md"})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsx)(n.Skeleton,{className:"h-48 w-full rounded-lg"})})]},`skeleton-chart-main-${r}`))})]});let b={total:e?.results?.length||0,passed:0,failed:0,skipped:0,flaky:0,totalRetries:0,retriedTests:0,sumDuration:0};e?.results?.forEach(e=>{let t=(0,I.getEffectiveTestStatus)(e);if("passed"===t?b.passed++:"failed"===t||"timedOut"===t?b.failed++:"skipped"===t?b.skipped++:"flaky"===t&&b.flaky++,e.retryHistory&&e.retryHistory.length>0){let t=e.retryHistory.filter(e=>"failed"===e.status||"timedOut"===e.status||"flaky"===e.status);t.length>0&&(b.totalRetries+=t.length,b.retriedTests++)}b.sumDuration+=e.duration||0});let j=b.total>0?b.sumDuration/b.total:0,v=o?[{title:"Total Tests",value:b.total.toString(),icon:(0,t.jsx)(p.ListFilter,{className:"h-5 w-5 text-muted-foreground"}),change:null,filterKey:"all"},{title:"Passed",value:b.passed.toString(),icon:(0,t.jsx)(d,{className:"h-5 w-5 text-[hsl(var(--chart-3))]"}),change:`${b.total>0?(b.passed/b.total*100).toFixed(1):"0.0"}% pass rate`,filterKey:"passed"},{title:"Flaky",value:b.flaky.toString(),icon:(0,t.jsx)(f,{className:"h-5 w-5 text-[hsl(var(--flaky))]"}),change:`${b.total>0?(b.flaky/b.total*100).toFixed(1):"0.0"}% flaky rate`,filterKey:"flaky"},{title:"Failed",value:b.failed.toString(),icon:(0,t.jsx)(c.XCircle,{className:"h-5 w-5 text-destructive"}),change:`${b.total>0?(b.failed/b.total*100).toFixed(1):"0.0"}% fail rate`,filterKey:"failed"},{title:"Skipped",value:b.skipped.toString(),icon:(0,t.jsx)(u,{className:"h-5 w-5 text-[hsl(var(--accent))]"}),change:`${b.total>0?(b.skipped/b.total*100).toFixed(1):"0.0"}% skip rate`,filterKey:"skipped"},{title:"Total Retries Count",value:b.totalRetries.toString(),icon:(0,t.jsx)(x,{className:"h-5 w-5 text-orange-500"}),change:`${b.retriedTests} tests retried`,filterKey:null},{title:"Avg. Test Time",value:_(j),icon:(0,t.jsx)(g,{className:"h-5 w-5 text-yellow-500"}),change:"Average per test",filterKey:null},{title:"Duration",value:_(o.duration),icon:(0,t.jsx)(m.Clock,{className:"h-5 w-5 text-primary"}),change:"Total execution time",filterKey:null}]:[],N=e=>{e&&s&&s(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-4 mb-8",children:[v.map(e=>(0,t.jsxs)(l.Card,{className:`relative overflow-hidden shadow-2xl hover:shadow-[0_20px_50px_rgba(8,_112,_184,_0.3)] transition-all duration-500 rounded-2xl border-0 bg-gradient-to-br from-card via-card to-card/80 backdrop-blur-sm group ${e.filterKey&&s?"cursor-pointer hover:scale-[1.02]":""}`,onClick:()=>N(e.filterKey),tabIndex:e.filterKey&&s?0:-1,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&e.filterKey&&s&&N(e.filterKey)},role:e.filterKey&&s?"button":void 0,"aria-label":e.filterKey&&s?`View ${e.filterKey} tests`:void 0,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsxs)(l.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2 relative z-10",children:[(0,t.jsx)(l.CardTitle,{className:"text-sm font-semibold text-muted-foreground/90 uppercase tracking-wide",children:e.title}),(0,t.jsx)("div",{className:"h-9 w-9 rounded-full bg-gradient-to-br from-primary/10 to-primary/5 flex items-center justify-center backdrop-blur-sm",children:e.icon})]}),(0,t.jsxs)(l.CardContent,{className:"relative z-10",children:[(0,t.jsx)("div",{className:"text-4xl font-extrabold bg-gradient-to-br from-foreground to-foreground/60 bg-clip-text text-transparent",children:e.value}),e.change&&(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground/70 pt-1.5",children:e.change})]})]},e.title)),r&&o&&[...Array(5-v.length)].map((e,r)=>(0,t.jsxs)(l.Card,{className:"shadow-lg rounded-xl",children:[(0,t.jsxs)(l.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-24"}),(0,t.jsx)(n.Skeleton,{className:"h-6 w-6"})]}),(0,t.jsxs)(l.CardContent,{children:[(0,t.jsx)(n.Skeleton,{className:"h-8 w-16"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-32 mt-1"})]})]},`loading-${r}`))]}),(0,t.jsx)(L,{environmentInfo:y,loading:r,error:a}),(0,t.jsx)($,{currentRun:e,loading:r,error:a})]})}var B=e.i(73443),H=e.i(87486),K=e.i(22016),V=e.i(95468),U=e.i(63209);let W=(0,o.default)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var q=e.i(63059),G=e.i(75157);function X({status:e}){switch(e){case"passed":return(0,t.jsx)(V.CheckCircle2,{className:"h-5 w-5 text-[hsl(var(--chart-3))]"});case"failed":return(0,t.jsx)(c.XCircle,{className:"h-5 w-5 text-destructive"});case"skipped":return(0,t.jsx)(U.AlertCircle,{className:"h-5 w-5 text-[hsl(var(--accent))]"});case"timedOut":return(0,t.jsx)(m.Clock,{className:"h-5 w-5 text-destructive"});case"flaky":return(0,t.jsx)(f,{className:"h-5 w-5 text-[hsl(var(--flaky))]"});case"pending":return(0,t.jsx)(m.Clock,{className:"h-5 w-5 text-primary animate-pulse"});default:return(0,t.jsx)(C.Info,{className:"h-5 w-5 text-muted-foreground"})}}function Z({test:e}){var s;let l=(0,r.useMemo)(()=>e.screenshots&&Array.isArray(e.screenshots)?e.screenshots.slice(0,4).map((e,t)=>({name:function(e,t="Attachment"){return e&&"string"==typeof e&&e.split(/[/\\]/).pop()||t}(e,`Screenshot ${t+1}`),path:e,contentType:"image/png","data-ai-hint":"test screenshot thumbnail"})):[],[e.screenshots]),n=(0,r.useMemo)(()=>{if(!e.annotations||!Array.isArray(e.annotations))return null;let t=e.annotations.find(e=>"pulse_severity"===e.type);return t?.description||null},[e.annotations]),i=e.errorMessage||l.length>0,o=function(e){if(!e)return"";let t=e.split(" > ");return t[t.length-1]||e}(e.name),d=e.retryHistory?e.retryHistory.filter(e=>"passed"!==e.status&&"skipped"!==e.status).length:0;return(0,t.jsxs)("div",{className:"border-b border-border last:border-b-0 py-3 hover:bg-muted/20 transition-colors duration-200 px-4 rounded-lg mb-2 shadow-md bg-card hover:shadow-lg",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-3 flex-1 min-w-0",children:[(0,t.jsx)(X,{status:e.status}),(0,t.jsx)(K.default,{href:`/test/${e.id}`,className:"font-medium text-foreground text-sm md:text-base hover:underline truncate",title:e.name,children:o})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2 ml-2 flex-shrink-0 flex-wrap gap-1",children:[e.tags&&e.tags.length>0&&e.tags.map((e,r)=>(0,t.jsx)(H.Badge,{variant:"outline",className:"text-xs px-2 py-0.5 rounded-md border",style:{backgroundColor:"#808080",color:"#fff"},children:e},`tag-${r}`)),d>0&&(0,t.jsxs)(H.Badge,{variant:"outline",className:"retry-badge text-xs px-2 py-0.5 rounded-md border",style:{backgroundColor:"#ff9800",color:"#fff",borderColor:"#f57c00"},children:["Retry Count: ",d]}),n&&(0,t.jsx)(H.Badge,{variant:"outline",className:"capitalize text-xs px-2 py-0.5 rounded-md border-0",style:function(e){switch(e.toLowerCase()){case"minor":return{backgroundColor:"#006064",color:"#fff"};case"low":return{backgroundColor:"#FFA07A",color:"#fff"};case"medium":return{backgroundColor:"#577A11",color:"#fff"};case"high":return{backgroundColor:"#B71C1C",color:"#fff"};case"critical":return{backgroundColor:"#64158A",color:"#fff"};default:return{backgroundColor:"hsl(var(--muted))",color:"hsl(var(--muted-foreground))"}}}(n),children:n}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground w-20 text-right",children:(s=e.duration)<1e3?`${s}ms`:`${(s/1e3).toFixed(2)}s`}),(0,t.jsx)(K.default,{href:`/test/${e.id}`,"aria-label":`View details for ${o}`,children:(0,t.jsx)(q.ChevronRight,{className:"h-5 w-5 text-muted-foreground hover:text-primary transition-colors"})})]})]}),i&&(0,t.jsx)(B.Accordion,{type:"single",collapsible:!0,className:"w-full mt-2",children:(0,t.jsxs)(B.AccordionItem,{value:"details",className:"border-none",children:[(0,t.jsx)(B.AccordionTrigger,{className:"text-xs py-1 px-1 hover:no-underline text-muted-foreground justify-start hover:bg-accent/10 rounded-md [&[data-state=open]>svg]:ml-2",children:"Quick Look"}),(0,t.jsxs)(B.AccordionContent,{className:"pt-2 pl-2 pr-2 pb-1 bg-muted/30 rounded-lg",children:[e.errorMessage&&(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("h4",{className:"font-semibold text-xs text-destructive mb-1",children:"Error:"}),(0,t.jsx)("pre",{className:"bg-destructive/10 text-xs p-2 rounded-md whitespace-pre-wrap break-all font-code max-h-20 overflow-y-auto",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,G.ansiToHtml)(e.errorMessage)}})})]}),l.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold text-xs text-primary mb-1",children:"Screenshots:"}),(0,t.jsx)("div",{className:"mt-1 grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-1",children:l.map((e,r)=>{let s=(0,G.getAssetPath)(e.path);return"#"===s?null:(0,t.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"relative aspect-video rounded-md overflow-hidden group border hover:border-primary shadow-sm",children:[(0,t.jsx)(a.default,{src:s,alt:e.name,fill:!0,style:{objectFit:"cover"},className:"group-hover:scale-105 transition-transform duration-300","data-ai-hint":e["data-ai-hint"]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/30 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:(0,t.jsx)(W,{className:"h-6 w-6 text-white"})})]},`img-thumb-${r}`)})})]}),!e.errorMessage&&0===l.length&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"No error or screenshots for quick look. Click to view full details."})]})]})})]})}var Y=e.i(64659);let Q=(0,o.default)("FilterX",[["path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055",key:"1fi1da"}],["path",{d:"m22 3-5 5",key:"12jva0"}],["path",{d:"m17 3 5 5",key:"k36vhe"}]]),J=(0,o.default)("Repeat1",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}],["path",{d:"M11 10h1v4",key:"70cz1p"}]]),ee=(0,o.default)("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);var et=e.i(94918),er=e.i(93479),ea=e.i(67489),es=e.i(48425),el=r.forwardRef((e,r)=>(0,t.jsx)(es.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));el.displayName="Label";var en=e.i(25913);let ei=(0,en.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),eo=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(el,{ref:a,className:(0,G.cn)(ei(),e),...r}));eo.displayName=el.displayName;var ed=e.i(19455),ec=e.i(37822),eu=e.i(20783),em=e.i(30030),eh=e.i(81140),ep=e.i(69340),ef=e.i(99682),ex=e.i(35804),eg=e.i(96626),ey="Checkbox",[eb,ej]=(0,em.createContextScope)(ey),[ev,eN]=eb(ey),ew=r.forwardRef((e,a)=>{let{__scopeCheckbox:s,name:l,checked:n,defaultChecked:i,required:o,disabled:d,value:c="on",onCheckedChange:u,form:m,...h}=e,[p,f]=r.useState(null),x=(0,eu.useComposedRefs)(a,e=>f(e)),g=r.useRef(!1),y=!p||m||!!p.closest("form"),[b=!1,j]=(0,ep.useControllableState)({prop:n,defaultProp:i,onChange:u}),v=r.useRef(b);return r.useEffect(()=>{let e=p?.form;if(e){let t=()=>j(v.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[p,j]),(0,t.jsxs)(ev,{scope:s,state:b,disabled:d,children:[(0,t.jsx)(es.Primitive.button,{type:"button",role:"checkbox","aria-checked":eA(b)?"mixed":b,"aria-required":o,"data-state":eT(b),"data-disabled":d?"":void 0,disabled:d,value:c,...h,ref:x,onKeyDown:(0,eh.composeEventHandlers)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,eh.composeEventHandlers)(e.onClick,e=>{j(e=>!!eA(e)||!e),y&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),y&&(0,t.jsx)(eS,{control:p,bubbles:!g.current,name:l,value:c,checked:b,required:o,disabled:d,form:m,style:{transform:"translateX(-100%)"},defaultChecked:!eA(i)&&i})]})});ew.displayName=ey;var ek="CheckboxIndicator",eC=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:s,...l}=e,n=eN(ek,a);return(0,t.jsx)(eg.Presence,{present:s||eA(n.state)||!0===n.state,children:(0,t.jsx)(es.Primitive.span,{"data-state":eT(n.state),"data-disabled":n.disabled?"":void 0,...l,ref:r,style:{pointerEvents:"none",...e.style}})})});eC.displayName=ek;var eS=e=>{let{control:a,checked:s,bubbles:l=!0,defaultChecked:n,...i}=e,o=r.useRef(null),d=(0,ef.usePrevious)(s),c=(0,ex.useSize)(a);r.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(d!==s&&t){let r=new Event("click",{bubbles:l});e.indeterminate=eA(s),t.call(e,!eA(s)&&s),e.dispatchEvent(r)}},[d,s,l]);let u=r.useRef(!eA(s)&&s);return(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n??u.current,...i,tabIndex:-1,ref:o,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function eA(e){return"indeterminate"===e}function eT(e){return eA(e)?"indeterminate":e?"checked":"unchecked"}var eE=e.i(43531);let eP=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(ew,{ref:a,className:(0,G.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...r,children:(0,t.jsx)(eC,{className:(0,G.cn)("flex items-center justify-center text-current"),children:(0,t.jsx)(eE.Check,{className:"h-4 w-4"})})}));eP.displayName=ew.displayName;var eD=e.i(59684),eM=e.i(1062);let eR=["all","passed","failed","skipped","flaky"],eO=["--suite-color-1-hsl","--suite-color-2-hsl","--suite-color-3-hsl","--suite-color-4-hsl","--suite-color-5-hsl"];function eL({report:e,loading:a,error:s,initialFilter:o}){let[d,p]=(0,r.useState)(o||"all"),[x,g]=(0,r.useState)(""),[y,b]=(0,r.useState)([]),[j,v]=(0,r.useState)([]),[N,w]=(0,r.useState)(!1),[k,S]=(0,r.useState)("all"),[A,T]=(0,r.useState)(["all"]),[E,P]=(0,r.useState)("all"),[D,M]=(0,r.useState)(["all"]),[R,O]=(0,r.useState)(!1),{toast:L}=(0,eM.useToast)();(0,r.useEffect)(()=>{o&&p(o)},[o]),(0,r.useEffect)(()=>{if(e?.results){let t=new Set,r=new Set,a=new Set;e.results.forEach(e=>{e.tags?.forEach(e=>t.add(e)),e.browser&&r.add(e.browser),e.suiteName?a.add(e.suiteName):a.add("Untitled Suite")}),v(Array.from(t).sort()),T(["all",...Array.from(r).sort()]),M(["all",...Array.from(a).sort()])}},[e]);let F=(0,r.useMemo)(()=>"all"!==d||""!==x||y.length>0||"all"!==k||"all"!==E||R,[d,x,y,k,E,R]),$=(0,r.useMemo)(()=>{if(!e?.results)return[];let t=e.results.filter(e=>{let t=(0,I.getEffectiveTestStatus)(e),r=!1;r="all"===d||("flaky"===d?"flaky"===t:"passed"===d?"passed"===t:"failed"===d?"failed"===t||"timedOut"===t:"skipped"===d?"skipped"===t:t===d);let a=(e.name||"").toLowerCase().includes(x.toLowerCase())||(e.suiteName||"").toLowerCase().includes(x.toLowerCase()),s=0===y.length||e.tags&&e.tags.some(e=>y.includes(e)),l="all"===k||e.browser===k,n=e.suiteName||"Untitled Suite",i="all"===E||n===E,o=e.retryHistory?e.retryHistory.filter(e=>"passed"!==e.status&&"skipped"!==e.status).length:0,c=!R||R&&o>0;return r&&a&&s&&l&&i&&c}),r=new Map;return t.forEach(e=>{let t=e.suiteName||"Untitled Suite";r.has(t)||r.set(t,{tests:[],stats:{total:0,passed:0,failed:0,skipped:0,pending:0,flaky:0}});let a=r.get(t);a.tests.push(e),a.stats.total++;let s=(0,I.getEffectiveTestStatus)(e);"flaky"===s?a.stats.flaky++:"passed"===s?a.stats.passed++:"failed"===s||"timedOut"===s?a.stats.failed++:"skipped"===s?a.stats.skipped++:"pending"===s&&a.stats.pending++}),Array.from(r.entries()).map(([e,t])=>({title:e,tests:t.tests,stats:t.stats})).sort((e,t)=>t.stats.failed-e.stats.failed||t.stats.total-e.stats.total||e.title.localeCompare(t.title))},[e,d,x,y,k,E,R]);return a?(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-6 w-48"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-64 mt-1"})]}),(0,t.jsxs)(l.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-6 p-6 border rounded-xl bg-muted/50 shadow-lg",children:[(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"})]}),[void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)("div",{className:"space-y-2 p-2 border rounded-lg shadow-md",children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-1/3"}),(0,t.jsx)(n.Skeleton,{className:"h-8 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-8 w-full"})]},r))]})]}):s?(0,t.jsxs)(i.Alert,{variant:"destructive",className:"mt-4 shadow-md",children:[(0,t.jsx)(h.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Error Fetching Test Results"}),(0,t.jsx)(i.AlertDescription,{children:s})]}):e&&e.results&&0!==e.results.length?(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsxs)(l.CardHeader,{className:"flex flex-row items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(l.CardTitle,{className:"text-2xl font-headline text-primary",children:"Test Results"}),(e.metadata?.generatedAt||e.run?.timestamp)&&(0,t.jsxs)(l.CardDescription,{children:["Last updated:"," ",new Date(e.metadata.generatedAt||e.run.timestamp).toLocaleString()]})]}),(0,t.jsxs)(ed.Button,{onClick:()=>{if(!e||!e.results||0===e.results.length)return void L({title:"Export Failed",description:"No data available to export.",variant:"destructive"});let t=["id","name","suiteName","status","duration","startTime","endTime","browser","retries","tags","stdout","stderr","workerId"],r=e=>{if(null==e)return"";let t=String(e);return(t.includes(",")||t.includes('"')||t.includes("\n"))&&(t=`"${t.replace(/"/g,'""')}"`),t},a=t.map(r).join(",")+"\n";e.results.forEach(e=>{let s=t.map(t=>{let a;switch(t){case"tags":a=e.tags?e.tags.join("; "):"";break;case"stdout":a=e.stdout?e.stdout.join("\\n"):"";break;case"stderr":a=e.errorMessage||"";break;case"workerId":a=void 0!==e.workerId&&null!==e.workerId?String(e.workerId):"";break;default:a=e[t]}return r(a)});a+=s.join(",")+"\n"});let s=new Blob([a],{type:"text/csv;charset=utf-8;"}),l=URL.createObjectURL(s),n=document.createElement("a");n.setAttribute("href",l);let i="data";if(e.run&&e.run.id&&"string"==typeof e.run.id&&""!==e.run.id.trim()){let t=e.run.id.trim().split("-");t.length>1&&"run"===t[0].toLowerCase()&&t[1]&&""!==t[1].trim()?i=t[1]:t.length>0&&""!==t[0].trim()&&(i=t[0])}else if(e.run&&e.run.timestamp)try{i=String(new Date(e.run.timestamp).getTime())}catch(e){}let o=`run-${i}.csv`;n.setAttribute("download",o),n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(l),L({title:"Export Successful",description:`${o} has been downloaded.`})},variant:"outline",size:"sm",className:"ml-auto rounded-md shadow-md",children:[(0,t.jsx)(et.FileSpreadsheet,{className:"mr-2 h-4 w-4"}),"Export as CSV"]})]}),(0,t.jsxs)(l.CardContent,{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"p-6 border rounded-xl bg-muted/50 shadow-lg space-y-4",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-x-6 gap-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(eo,{htmlFor:"status-filter",className:"text-sm font-medium text-muted-foreground",children:"Filter by Status"}),(0,t.jsxs)(ea.Select,{value:d,onValueChange:e=>p(e),children:[(0,t.jsx)(ea.SelectTrigger,{id:"status-filter",className:"w-full bg-background shadow-inner rounded-md",children:(0,t.jsx)(ea.SelectValue,{placeholder:"Select status"})}),(0,t.jsx)(ea.SelectContent,{className:"rounded-md",children:eR.map(e=>(0,t.jsx)(ea.SelectItem,{value:e,className:"capitalize",children:e.charAt(0).toUpperCase()+e.slice(1)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(eo,{htmlFor:"search-filter",className:"text-sm font-medium text-muted-foreground",children:"Search by Name/Suite"}),(0,t.jsx)(er.Input,{id:"search-filter",type:"text",placeholder:"Enter test or suite name...",value:x,onChange:e=>g(e.target.value),className:"w-full bg-background shadow-inner rounded-md"})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(eo,{className:"text-sm font-medium text-muted-foreground",children:"Filter by Tags"}),(0,t.jsxs)(ec.Popover,{open:N,onOpenChange:w,children:[(0,t.jsx)(ec.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(ed.Button,{variant:"outline",className:"w-full bg-background shadow-inner justify-between rounded-md",children:[y.length>0?`Tags (${y.length})`:"Select Tags",(0,t.jsx)(Y.ChevronDown,{className:"ml-2 h-4 w-4 opacity-50"})]})}),(0,t.jsxs)(ec.PopoverContent,{className:"w-[var(--radix-popover-trigger-width)] p-0 rounded-md",align:"start",children:[(0,t.jsx)("div",{className:"p-2 border-b",children:(0,t.jsx)("p",{className:"text-sm font-medium",children:"Filter by Tags"})}),(0,t.jsx)(eD.ScrollArea,{className:"h-48",children:(0,t.jsx)("div",{className:"p-2 space-y-1",children:j.length>0?j.map(e=>(0,t.jsxs)(eo,{htmlFor:`tag-${e}`,className:"flex items-center space-x-2 p-1.5 rounded-md hover:bg-accent/10 cursor-pointer",children:[(0,t.jsx)(eP,{id:`tag-${e}`,checked:y.includes(e),onCheckedChange:t=>{b(r=>!0===t?[...r,e]:r.filter(t=>t!==e))},className:"rounded-sm"}),(0,t.jsx)("span",{children:e})]},e)):(0,t.jsx)("p",{className:"text-xs text-muted-foreground p-2",children:"No tags available in this report."})})}),y.length>0&&(0,t.jsx)("div",{className:"p-2 border-t flex justify-end",children:(0,t.jsx)(ed.Button,{variant:"ghost",size:"sm",onClick:()=>b([]),children:"Clear selected"})})]})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(eo,{htmlFor:"browser-filter",className:"text-sm font-medium text-muted-foreground",children:"Filter by Browser"}),(0,t.jsxs)(ea.Select,{value:k,onValueChange:S,children:[(0,t.jsx)(ea.SelectTrigger,{id:"browser-filter",className:"w-full bg-background shadow-inner rounded-md",children:(0,t.jsx)(ea.SelectValue,{placeholder:"Select browser"})}),(0,t.jsx)(ea.SelectContent,{className:"rounded-md",children:A.map(e=>(0,t.jsx)(ea.SelectItem,{value:e,className:"capitalize",children:"all"===e?"All Browsers":e},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(eo,{htmlFor:"suite-filter",className:"text-sm font-medium text-muted-foreground",children:"Filter by Test Suite"}),(0,t.jsxs)(ea.Select,{value:E,onValueChange:P,children:[(0,t.jsx)(ea.SelectTrigger,{id:"suite-filter",className:"w-full bg-background shadow-inner rounded-md",children:(0,t.jsx)(ea.SelectValue,{placeholder:"Select test suite"})}),(0,t.jsx)(ea.SelectContent,{className:"rounded-md",children:D.map(e=>(0,t.jsx)(ea.SelectItem,{value:e,className:"capitalize truncate",children:"all"===e?"All Suites":e.length>40?e.substring(0,37)+"...":e},e))})]})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2 pt-5",children:[(0,t.jsx)(eP,{id:"retries-filter",checked:R,onCheckedChange:e=>O(!!e),className:"rounded-sm"}),(0,t.jsxs)(eo,{htmlFor:"retries-filter",className:"text-sm font-medium text-muted-foreground cursor-pointer flex items-center",children:[(0,t.jsx)(J,{className:"h-4 w-4 mr-1.5 text-muted-foreground"}),"Retries Only"]})]})]}),F&&(0,t.jsx)("div",{className:"mt-4 flex justify-end",children:(0,t.jsxs)(ed.Button,{variant:"ghost",onClick:()=>{p("all"),g(""),b([]),S("all"),P("all"),O(!1)},className:"text-sm rounded-md",children:[(0,t.jsx)(Q,{className:"mr-2 h-4 w-4"}),"Clear All Filters"]})})]}),y.length>0&&(0,t.jsxs)("div",{className:"mb-4 flex flex-wrap gap-2 items-center",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Active tags:"}),y.map(e=>(0,t.jsxs)(H.Badge,{variant:"secondary",className:"flex items-center rounded-full",children:[e,(0,t.jsx)("button",{type:"button","aria-label":`Remove ${e} filter`,onClick:()=>{b(t=>t.filter(t=>t!==e))},className:"ml-1.5 p-0.5 rounded-full hover:bg-muted-foreground/20 focus:outline-none focus:ring-1 focus:ring-ring",children:(0,t.jsx)(c.XCircle,{className:"h-3.5 w-3.5"})})]},e))]}),$.length>0?(0,t.jsx)(B.Accordion,{type:"multiple",className:"w-full space-y-3",children:$.map((e,r)=>(0,t.jsxs)(B.AccordionItem,{value:`suite-${e.title.replace(/\s+/g,"-")}-${r}`,className:"border rounded-xl shadow-lg bg-card hover:shadow-xl transition-shadow duration-300",children:[(0,t.jsx)(B.AccordionTrigger,{className:"p-4 hover:no-underline text-left w-full group",children:(0,t.jsx)("div",{className:"flex justify-between items-center w-full",children:(0,t.jsxs)("div",{className:"flex-grow min-w-0",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold group-hover:opacity-80 transition-opacity",title:e.title,style:{color:`hsl(var(${eO[r%eO.length]}))`},children:e.title}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-3 gap-y-1.5 mt-2",children:[(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs border-muted-foreground/50",children:[(0,t.jsx)(ee,{className:"mr-1.5 h-3 w-3 text-muted-foreground"}),"Total: ",e.stats.total]}),(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--chart-3))",borderColor:"hsl(var(--chart-3) / 0.5)"},children:[(0,t.jsx)(V.CheckCircle2,{className:"mr-1.5 h-3 w-3"}),"Passed: ",e.stats.passed]}),e.stats.flaky>0&&(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--flaky))",borderColor:"hsl(var(--flaky) / 0.5)"},children:[(0,t.jsx)(f,{className:"mr-1.5 h-3 w-3 text-[hsl(var(--flaky))]"}),(0,t.jsxs)("span",{className:"text-[hsl(var(--flaky))]",children:["Flaky: ",e.stats.flaky]})]}),(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--destructive))",borderColor:"hsl(var(--destructive) / 0.5)"},children:[(0,t.jsx)(c.XCircle,{className:"mr-1.5 h-3 w-3"}),"Failed: ",e.stats.failed]}),(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--accent))",borderColor:"hsl(var(--accent) / 0.5)"},children:[(0,t.jsx)(u,{className:"mr-1.5 h-3 w-3"}),"Skipped: ",e.stats.skipped]}),e.stats.pending>0&&(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--primary))",borderColor:"hsl(var(--primary) / 0.5)"},children:[(0,t.jsx)(m.Clock,{className:"mr-1.5 h-3 w-3"}),"Pending: ",e.stats.pending]})]})]})})}),(0,t.jsx)(B.AccordionContent,{className:"p-4 pt-0",children:e.tests.length>0?(0,t.jsx)(eD.ScrollArea,{className:"h-[600px] pr-4",children:(0,t.jsx)("div",{className:"space-y-1 mt-2",children:e.tests.map(e=>(0,t.jsx)(Z,{test:e},e.id))})}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:"No tests in this suite match the current filters."})})]},`suite-${e.title.replace(/\s+/g,"-")}-${r}`))}):(0,t.jsxs)("div",{className:"text-center py-8",children:[(0,t.jsx)("p",{className:"text-muted-foreground text-lg",children:"No test results match your current filters."}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Try adjusting the status, search term, or tag filters."})]})]})]}):(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsx)(l.CardHeader,{className:"flex flex-row items-center justify-between",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(l.CardTitle,{className:"text-2xl font-headline text-primary",children:"Test Results"}),(e?.metadata?.generatedAt||e?.run?.timestamp)&&(0,t.jsxs)(l.CardDescription,{children:["Last updated:"," ",new Date(e.metadata?.generatedAt||e.run?.timestamp||Date.now()).toLocaleString()]})]})}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)(i.Alert,{className:"shadow-sm rounded-lg",children:[(0,t.jsx)(C.Info,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"No Test Data"}),(0,t.jsx)(i.AlertDescription,{children:"No test results available. Ensure 'playwright-pulse-report.json' exists in 'pulse-report/' and is correctly formatted, or that the data source is providing results."})]})})]})}var eF=e.i(29228),eI=e.i(55706),e$=e.i(85183),e_=e.i(93230),ez=e.i(72526),eB=e.i(34239),eH=e.i(59559),eK=e.i(44098),eV=e.i(9694),eU=e.i(75225),eW=e.i(83966),eq=e.i(7670),eG=e.i(73050),eX=e.i(71223),eZ=e.i(86966),eY=e.i(29873),eQ=e.i(78948),eJ=e.i(98892),e0=e.i(72733),e1=e.i(38279),e2=e.i(97865),e4=e.i(69212),e3=e.i(62728),e5=e.i(94395),e6=e.i(98770),e8=e.i(81977),e7=["layout","type","stroke","connectNulls","isRange","ref"],e9=["key"];function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tt(e,t){if(null==e)return{};var r,a,s=function(e,t){if(null==e)return{};var r={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function tr(){return(tr=Object.assign.bind()).apply(this,arguments)}function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function ts(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ta(Object(r),!0).forEach(function(t){td(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ta(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function tl(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,tc(a.key),a)}}function tn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tn=function(){return!!e})()}function ti(e){return(ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function to(e,t){return(to=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function td(e,t,r){return(t=tc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){var t=function(e,t){if("object"!=te(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=te(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==te(t)?t:t+""}var tu=function(e){var t,a;function s(){var e,t,r;if(!(this instanceof s))throw TypeError("Cannot call a class as a function");for(var a=arguments.length,l=Array(a),n=0;n<a;n++)l[n]=arguments[n];return t=s,r=[].concat(l),t=ti(t),td(e=function(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tn()?Reflect.construct(t,r||[],ti(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!0}),td(e,"id",(0,e5.uniqueId)("recharts-area-")),td(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),(0,eX.default)(t)&&t()}),td(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),(0,eX.default)(t)&&t()}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&to(s,e),t=[{key:"renderDots",value:function(e,t,a){var l=this.props.isAnimationActive,n=this.state.isAnimationFinished;if(l&&!n)return null;var i=this.props,o=i.dot,d=i.points,c=i.dataKey,u=(0,e8.filterProps)(this.props,!1),m=(0,e8.filterProps)(o,!0),h=d.map(function(e,t){var r=ts(ts(ts({key:"dot-".concat(t),r:3},u),m),{},{index:t,cx:e.x,cy:e.y,dataKey:c,value:e.value,payload:e.payload,points:d});return s.renderDotItem(o,r)}),p={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(a,")"):null};return r.default.createElement(e2.Layer,tr({className:"recharts-area-dots"},p),h)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,a=t.baseLine,s=t.points,l=t.strokeWidth,n=s[0].x,i=s[s.length-1].x,o=e*Math.abs(n-i),d=(0,eZ.default)(s.map(function(e){return e.y||0}));return((0,e5.isNumber)(a)&&"number"==typeof a?d=Math.max(a,d):a&&Array.isArray(a)&&a.length&&(d=Math.max((0,eZ.default)(a.map(function(e){return e.y||0})),d)),(0,e5.isNumber)(d))?r.default.createElement("rect",{x:n<i?n:n-o,y:0,width:o,height:Math.floor(d+(l?parseInt("".concat(l),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,a=t.baseLine,s=t.points,l=t.strokeWidth,n=s[0].y,i=s[s.length-1].y,o=e*Math.abs(n-i),d=(0,eZ.default)(s.map(function(e){return e.x||0}));return((0,e5.isNumber)(a)&&"number"==typeof a?d=Math.max(a,d):a&&Array.isArray(a)&&a.length&&(d=Math.max((0,eZ.default)(a.map(function(e){return e.x||0})),d)),(0,e5.isNumber)(d))?r.default.createElement("rect",{x:0,y:n<i?n:n-o,width:d+(l?parseInt("".concat(l),10):1),height:Math.floor(o)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,a,s){var l=this.props,n=l.layout,i=l.type,o=l.stroke,d=l.connectNulls,c=l.isRange,u=(l.ref,tt(l,e7));return r.default.createElement(e2.Layer,{clipPath:a?"url(#clipPath-".concat(s,")"):null},r.default.createElement(e0.Curve,tr({},(0,e8.filterProps)(u,!0),{points:e,connectNulls:d,type:i,baseLine:t,layout:n,stroke:"none",className:"recharts-area-area"})),"none"!==o&&r.default.createElement(e0.Curve,tr({},(0,e8.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:n,type:i,connectNulls:d,fill:"none",points:e})),"none"!==o&&c&&r.default.createElement(e0.Curve,tr({},(0,e8.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:n,type:i,connectNulls:d,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var a=this,s=this.props,l=s.points,n=s.baseLine,i=s.isAnimationActive,o=s.animationBegin,d=s.animationDuration,c=s.animationEasing,u=s.animationId,m=this.state,h=m.prevPoints,p=m.prevBaseLine;return r.default.createElement(eG.default,{begin:o,duration:d,isActive:i,easing:c,from:{t:0},to:{t:1},key:"area-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(s){var i=s.t;if(h){var o,d=h.length/l.length,c=l.map(function(e,t){var r=Math.floor(t*d);if(h[r]){var a=h[r],s=(0,e5.interpolateNumber)(a.x,e.x),l=(0,e5.interpolateNumber)(a.y,e.y);return ts(ts({},e),{},{x:s(i),y:l(i)})}return e});return o=(0,e5.isNumber)(n)&&"number"==typeof n?(0,e5.interpolateNumber)(p,n)(i):(0,eY.default)(n)||(0,eQ.default)(n)?(0,e5.interpolateNumber)(p,0)(i):n.map(function(e,t){var r=Math.floor(t*d);if(p[r]){var a=p[r],s=(0,e5.interpolateNumber)(a.x,e.x),l=(0,e5.interpolateNumber)(a.y,e.y);return ts(ts({},e),{},{x:s(i),y:l(i)})}return e}),a.renderAreaStatically(c,o,e,t)}return r.default.createElement(e2.Layer,null,r.default.createElement("defs",null,r.default.createElement("clipPath",{id:"animationClipPath-".concat(t)},a.renderClipRect(i))),r.default.createElement(e2.Layer,{clipPath:"url(#animationClipPath-".concat(t,")")},a.renderAreaStatically(l,n,e,t)))})}},{key:"renderArea",value:function(e,t){var r=this.props,a=r.points,s=r.baseLine,l=r.isAnimationActive,n=this.state,i=n.prevPoints,o=n.prevBaseLine,d=n.totalLength;return l&&a&&a.length&&(!i&&d>0||!(0,eJ.default)(i,a)||!(0,eJ.default)(o,s))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(a,s,e,t)}},{key:"render",value:function(){var e,t=this.props,a=t.hide,s=t.dot,l=t.points,n=t.className,i=t.top,o=t.left,d=t.xAxis,c=t.yAxis,u=t.width,m=t.height,h=t.isAnimationActive,p=t.id;if(a||!l||!l.length)return null;var f=this.state.isAnimationFinished,x=1===l.length,g=(0,eq.default)("recharts-area",n),y=d&&d.allowDataOverflow,b=c&&c.allowDataOverflow,j=y||b,v=(0,eY.default)(p)?this.id:p,N=null!=(e=(0,e8.filterProps)(s,!1))?e:{r:3,strokeWidth:2},w=N.r,k=N.strokeWidth,C=((0,e8.hasClipDot)(s)?s:{}).clipDot,S=void 0===C||C,A=2*(void 0===w?3:w)+(void 0===k?2:k);return r.default.createElement(e2.Layer,{className:g},y||b?r.default.createElement("defs",null,r.default.createElement("clipPath",{id:"clipPath-".concat(v)},r.default.createElement("rect",{x:y?o:o-u/2,y:b?i:i-m/2,width:y?u:2*u,height:b?m:2*m})),!S&&r.default.createElement("clipPath",{id:"clipPath-dots-".concat(v)},r.default.createElement("rect",{x:o-A/2,y:i-A/2,width:u+A,height:m+A}))):null,x?null:this.renderArea(j,v),(s||x)&&this.renderDots(j,S,v),(!h||f)&&e4.LabelList.renderCallByParent(this.props,l))}}],a=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&tl(s.prototype,t),a&&tl(s,a),Object.defineProperty(s,"prototype",{writable:!1}),s}(r.PureComponent);td(tu,"displayName","Area"),td(tu,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!e3.Global.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),td(tu,"getBaseValue",function(e,t,r,a){var s=e.layout,l=e.baseValue,n=t.props.baseValue,i=null!=n?n:l;if((0,e5.isNumber)(i)&&"number"==typeof i)return i;var o="horizontal"===s?a:r,d=o.scale.domain();if("number"===o.type){var c=Math.max(d[0],d[1]),u=Math.min(d[0],d[1]);return"dataMin"===i?u:"dataMax"===i||c<0?c:Math.max(Math.min(d[0],d[1]),0)}return"dataMin"===i?d[0]:"dataMax"===i?d[1]:d[0]}),td(tu,"getComposedData",function(e){var t,r=e.props,a=e.item,s=e.xAxis,l=e.yAxis,n=e.xAxisTicks,i=e.yAxisTicks,o=e.bandSize,d=e.dataKey,c=e.stackedData,u=e.dataStartIndex,m=e.displayedData,h=e.offset,p=r.layout,f=c&&c.length,x=tu.getBaseValue(r,a,s,l),g="horizontal"===p,y=!1,b=m.map(function(e,t){f?r=c[u+t]:Array.isArray(r=(0,e6.getValueByDataKey)(e,d))?y=!0:r=[x,r];var r,a=null==r[1]||f&&null==(0,e6.getValueByDataKey)(e,d);return g?{x:(0,e6.getCateCoordinateOfLine)({axis:s,ticks:n,bandSize:o,entry:e,index:t}),y:a?null:l.scale(r[1]),value:r,payload:e}:{x:a?null:s.scale(r[1]),y:(0,e6.getCateCoordinateOfLine)({axis:l,ticks:i,bandSize:o,entry:e,index:t}),value:r,payload:e}});return t=f||y?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?l.scale(t):null}:{x:null!=t?s.scale(t):null,y:e.y}}):g?l.scale(x):s.scale(x),ts({points:b,baseLine:t,layout:p,isRange:y},h)}),td(tu,"renderDotItem",function(e,t){var a;if(r.default.isValidElement(e))a=r.default.cloneElement(e,t);else if((0,eX.default)(e))a=e(t);else{var s=(0,eq.default)("recharts-area-dot","boolean"!=typeof e?e.className:""),l=t.key,n=tt(t,e9);a=r.default.createElement(e1.Dot,tr({},n,{key:l,className:s}))}return a});var tm=e.i(44171),th=(0,eW.generateCategoricalChart)({chartName:"AreaChart",GraphicalChild:tu,axisComponents:[{axisType:"xAxis",AxisComp:e$.XAxis},{axisType:"yAxis",AxisComp:e_.YAxis}],formatAxisMap:tm.formatAxisMap});let tp=(0,o.default)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);var tf=e.i(61911);let tx=({active:e,payload:r,label:a})=>e&&r&&r.length?(0,t.jsxs)("div",{className:"custom-recharts-tooltip",children:[(0,t.jsx)("p",{className:"label",children:`Date: ${a}`}),r.map((e,r)=>(0,t.jsx)("p",{style:{color:e.color},className:"text-xs",children:`${e.name}: ${e.value?.toLocaleString()}${e.unit||""}`},`item-${r}`))]}):null,tg=({active:e,payload:r})=>{if(e&&r&&r.length){let e=r[0].payload,a=new Date(e.dateRaw).toLocaleString();return(0,t.jsxs)("div",{className:"bg-[#0a0a0aeb] p-3 rounded-md shadow-2xl border border-white/10 text-white min-w-[180px] backdrop-blur-sm",children:[(0,t.jsxs)("p",{className:"font-bold text-sm mb-0.5",children:["Run ",new Date(e.dateRaw).getTime()]}),(0,t.jsxs)("p",{className:"text-[11px] text-gray-400 mb-2",children:["Date: ",a]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-[13px] mb-1",children:[(0,t.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-[#ff9800]"}),(0,t.jsxs)("span",{children:["Duration: ",(0,t.jsxs)("span",{className:"font-bold",children:[e.durationSeconds,"s"]})]})]}),(0,t.jsxs)("p",{className:"text-[13px] mt-2 pt-2 border-t border-white/10 text-gray-300",children:["Tests: ",e.totalTests]})]})}return null},ty=r.memo(({trends:e,loading:a,error:s,currentResults:o})=>{let d=r.useRef(null),c=r.useRef(null),u=r.useRef(null),m=r.useRef(null),p=r.useRef(null),f=r.useMemo(()=>e&&0!==e.length?e.map((e,t)=>({...e,date:new Date(e.date).toLocaleDateString("en-CA",{month:"short",day:"numeric"}),durationSeconds:parseFloat((e.duration/1e3).toFixed(2)),workerCount:e.workerCount,flaky:e.flaky||0,runLabel:`Run ${t+1}`,dateRaw:e.date})):[],[e]),x=r.useMemo(()=>{if(console.log("[Describe Duration Chart] currentResults:",o?.length,"items"),!o||0===o.length)return console.log("[Describe Duration Chart] No current results"),[];let e=new Map,t=!1;if(o.forEach(r=>{if(r.describe){let a=r.describe;if(!a||"n/a"===a.trim().toLowerCase()||""===a.trim())return;t=!0;let s=r.spec_file||"Unknown File",l=`${s}::${a}`;e.has(l)||e.set(l,{duration:0,file:s,describe:a}),e.get(l).duration+=r.duration}}),!t)return console.log("[Describe Duration Chart] No valid describe blocks found"),[];let r=Array.from(e.values()).map(e=>({describe:e.describe,duration:e.duration,durationSeconds:parseFloat((e.duration/1e3).toFixed(2)),file:e.file}));return console.log("[Describe Duration Chart] Processed data:",r.length,"describe blocks"),r},[o]),g=r.useMemo(()=>{if(!o||0===o.length)return{series:[],categories:[]};let e=["Critical","High","Medium","Low","Minor"],t=[0,0,0,0,0],r=[0,0,0,0,0],a=[0,0,0,0,0],s=[0,0,0,0,0];return o.forEach(l=>{let n=l.severity||"Medium",i=String(l.status).toLowerCase(),o=e.indexOf(n);-1===o&&(o=2),"passed"===i?t[o]++:"flaky"===i?s[o]++:"failed"===i||"timedout"===i||"interrupted"===i?r[o]++:a[o]++}),{series:[{name:"Passed",data:t},{name:"Failed",data:r},{name:"Flaky",data:s},{name:"Skipped",data:a}],categories:e}},[o]);if(a)return(0,t.jsxs)(l.Card,{className:"shadow-xl rounded-xl backdrop-blur-md bg-card/80 border-border/50",children:[(0,t.jsx)(l.CardHeader,{children:(0,t.jsxs)(l.CardTitle,{className:"flex items-center text-2xl font-headline text-primary",children:[(0,t.jsx)(tp,{className:"h-7 w-7 mr-2"}),"Historical Trend Analysis"]})}),(0,t.jsx)(l.CardContent,{className:"space-y-8 p-6",children:[void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)("div",{className:"bg-muted/30 p-4 rounded-lg shadow-inner",children:[(0,t.jsx)(n.Skeleton,{className:"h-6 w-1/3 mb-4 rounded-md bg-muted/50"}),(0,t.jsx)(n.Skeleton,{className:"h-64 w-full rounded-md bg-muted/50"})]},r))})]});if(s)return(0,t.jsxs)(i.Alert,{variant:"destructive",className:"mt-4 shadow-md rounded-lg",children:[(0,t.jsx)(h.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Error Fetching Historical Trends"}),(0,t.jsx)(i.AlertDescription,{children:s})]});if(!e||0===e.length)return(0,t.jsxs)(l.Card,{className:"shadow-xl rounded-xl backdrop-blur-md bg-card/80 border-border/50",children:[(0,t.jsx)(l.CardHeader,{children:(0,t.jsxs)(l.CardTitle,{className:"flex items-center text-2xl font-headline text-primary",children:[(0,t.jsx)(tp,{className:"h-7 w-7 mr-2"}),"Historical Trend Analysis"]})}),(0,t.jsx)(l.CardContent,{className:"p-6",children:(0,t.jsxs)(i.Alert,{className:"rounded-lg border-primary/30 bg-primary/5 text-primary",children:[(0,t.jsx)(C.Info,{className:"h-5 w-5 text-primary/80"}),(0,t.jsx)(i.AlertTitle,{className:"font-semibold",children:"No Historical Data"}),(0,t.jsx)(i.AlertDescription,{children:"No historical trend data available. Ensure 'trend-*.json' files exist in 'pulse-report/history/' and are correctly formatted."})]})})]});let y=f.some(e=>"number"==typeof e.workerCount&&e.workerCount>0);return(0,t.jsxs)(l.Card,{className:"shadow-xl rounded-xl backdrop-blur-md bg-card/80 border-border/50",children:[(0,t.jsx)(l.CardHeader,{children:(0,t.jsxs)(l.CardTitle,{className:"text-2xl font-headline text-primary flex items-center",children:[(0,t.jsx)(tp,{className:"h-7 w-7 mr-2"}),"Historical Trend Analysis"]})}),(0,t.jsxs)(l.CardContent,{className:"space-y-10 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsx)("h4",{className:"text-xl font-semibold text-foreground",children:"Test Outcomes Over Time"})}),(0,t.jsx)("div",{ref:d,className:"w-full h-[350px] bg-muted/30 p-4 rounded-lg shadow-inner",children:(0,t.jsx)(eK.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eF.LineChart,{data:f,margin:{top:5,right:20,left:0,bottom:5},children:[(0,t.jsx)(ez.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(e$.XAxis,{dataKey:"date",stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12}}),(0,t.jsx)(e_.YAxis,{stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12}}),(0,t.jsx)(eB.Tooltip,{content:(0,t.jsx)(tx,{}),cursor:{fill:"hsl(var(--muted))",fillOpacity:.2}}),(0,t.jsx)(eH.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"totalTests",name:"Total Tests",stroke:"hsl(var(--chart-2))",strokeWidth:2,dot:{r:3},activeDot:{r:6}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"passed",name:"Passed",stroke:"hsl(var(--chart-3))",strokeWidth:2,dot:{r:3},activeDot:{r:6}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"failed",name:"Failed",stroke:"hsl(var(--chart-4))",strokeWidth:2,dot:{r:3},activeDot:{r:6}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"flaky",name:"Flaky",stroke:"hsl(var(--flaky))",strokeWidth:2,dot:{r:3},activeDot:{r:6}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"skipped",name:"Skipped",stroke:"hsl(var(--chart-5))",strokeWidth:2,dot:{r:3},activeDot:{r:6}})]})})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsx)("h4",{className:"text-xl font-semibold text-foreground",children:"Test Duration Over Time"})}),(0,t.jsx)("div",{ref:c,className:"w-full h-[350px] bg-muted/30 p-4 rounded-lg shadow-inner",children:(0,t.jsx)(eK.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(th,{data:f,margin:{top:5,right:20,left:0,bottom:5},children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"colorDuration",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"5%",stopColor:"#ff9800",stopOpacity:.4}),(0,t.jsx)("stop",{offset:"95%",stopColor:"#ff9800",stopOpacity:0})]})}),(0,t.jsx)(ez.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(e$.XAxis,{dataKey:"runLabel",stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12}}),(0,t.jsx)(e_.YAxis,{stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12},unit:"s",name:"Seconds"}),(0,t.jsx)(eB.Tooltip,{content:(0,t.jsx)(tg,{}),cursor:{stroke:"#ff9800",strokeWidth:1}}),(0,t.jsx)(eH.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(tu,{type:"monotone",dataKey:"durationSeconds",name:"Duration (s)",stroke:"#ff9800",fillOpacity:1,fill:"url(#colorDuration)",strokeWidth:2.5,dot:{r:4,fill:"#ff9800",stroke:"#fff",strokeWidth:2},activeDot:{r:6,fill:"#ff9800",stroke:"#fff",strokeWidth:2}})]})})})]}),x.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsx)("h4",{className:"text-xl font-semibold text-foreground",children:"Test Describe Duration"})}),(0,t.jsx)("div",{ref:u,className:"w-full h-[400px] bg-muted/30 p-4 rounded-lg shadow-inner",children:(0,t.jsx)(eK.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eV.BarChart,{data:x,margin:{top:5,right:20,left:0,bottom:5},children:[(0,t.jsx)(ez.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(e$.XAxis,{dataKey:"describe",hide:!0,tick:!1,axisLine:!1}),(0,t.jsx)(e_.YAxis,{stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12},label:{value:"Total Duration (s)",angle:-90,position:"insideLeft",style:{textAnchor:"middle"}}}),(0,t.jsx)(eB.Tooltip,{content:({active:e,payload:r})=>{if(e&&r&&r.length){let e=r[0].payload;return(0,t.jsxs)("div",{className:"custom-recharts-tooltip",children:[(0,t.jsx)("p",{className:"label font-semibold",children:`Describe: ${e.describe}`}),(0,t.jsx)("p",{className:"text-xs",style:{opacity:.8},children:`File: ${e.file}`}),(0,t.jsx)("p",{className:"text-xs",style:{color:r[0].color},children:`Duration: ${e.durationSeconds}s`})]})}return null},cursor:{fill:"hsl(var(--muted))",fillOpacity:.2}}),(0,t.jsx)(eH.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eU.Bar,{dataKey:"durationSeconds",name:"Duration (s)",fill:"hsl(var(--accent))",radius:[4,4,0,0]})]})})})]}),g.series.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsx)("h4",{className:"text-xl font-semibold text-foreground",children:"Severity Distribution"})}),(0,t.jsx)("div",{ref:m,className:"w-full h-[400px] bg-muted/30 p-4 rounded-lg shadow-inner",children:(0,t.jsx)(eK.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eV.BarChart,{data:g.categories.map((e,t)=>{let r={severity:e};return g.series.forEach(e=>{r[e.name]=e.data[t]}),r}),margin:{top:5,right:20,left:0,bottom:5},children:[(0,t.jsx)(ez.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(e$.XAxis,{dataKey:"severity",stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12}}),(0,t.jsx)(e_.YAxis,{stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12},label:{value:"Test Count",angle:-90,position:"insideLeft",style:{textAnchor:"middle"}}}),(0,t.jsx)(eB.Tooltip,{content:({active:e,payload:r})=>{if(e&&r&&r.length){let e=r.filter(e=>e.value&&Number(e.value)>0);return 0===e.length?null:(0,t.jsxs)("div",{className:"custom-recharts-tooltip",children:[(0,t.jsx)("p",{className:"label font-semibold",children:`Severity: ${r[0].payload.severity}`}),e.map((e,r)=>(0,t.jsx)("p",{className:"text-xs",style:{color:e.color},children:`${e.name}: ${e.value}`},`item-${r}`)),(0,t.jsx)("p",{className:"text-xs font-semibold mt-1",children:`Total: ${e.reduce((e,t)=>e+(t.value||0),0)}`})]})}return null},cursor:{fill:"hsl(var(--muted))",fillOpacity:.2}}),(0,t.jsx)(eH.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eU.Bar,{dataKey:"Passed",stackId:"a",fill:"hsl(var(--chart-3))",radius:[0,0,0,0]}),(0,t.jsx)(eU.Bar,{dataKey:"Failed",stackId:"a",fill:"hsl(var(--chart-4))",radius:[0,0,0,0]}),(0,t.jsx)(eU.Bar,{dataKey:"Flaky",stackId:"a",fill:"hsl(var(--flaky))",radius:[0,0,0,0]}),(0,t.jsx)(eU.Bar,{dataKey:"Skipped",stackId:"a",fill:"hsl(var(--chart-5))",radius:[4,4,0,0]})]})})})]}),y&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsxs)("h4",{className:"text-xl font-semibold text-foreground flex items-center",children:[(0,t.jsx)(tf.Users,{className:"h-5 w-5 mr-2 text-primary"})," Active Worker Count Over Time"]})}),(0,t.jsx)("div",{ref:p,className:"w-full h-[350px] bg-muted/30 p-4 rounded-lg shadow-inner",children:(0,t.jsx)(eK.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eF.LineChart,{data:f.filter(e=>"number"==typeof e.workerCount),margin:{top:5,right:20,left:0,bottom:5},children:[(0,t.jsx)(ez.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(e$.XAxis,{dataKey:"date",stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12}}),(0,t.jsx)(e_.YAxis,{stroke:"hsl(var(--muted-foreground))",tick:{fontSize:12},allowDecimals:!1,domain:["dataMin","dataMax"]}),(0,t.jsx)(eB.Tooltip,{content:(0,t.jsx)(tx,{}),cursor:{fill:"hsl(var(--muted))",fillOpacity:.2}}),(0,t.jsx)(eH.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eI.Line,{type:"monotone",dataKey:"workerCount",name:"Active Workers",stroke:"hsl(var(--chart-info))",strokeWidth:2,dot:{r:3},activeDot:{r:6},connectNulls:!1})]})})}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-2",children:"Note: This chart shows the number of unique worker IDs detected in each historical run. Runs without worker information will not be plotted."})]})]})]})});ty.displayName="TrendAnalysis";var tb=e.i(95187);let tj=(0,tb.createServerReference)("00684d6e8aaaf4728ef1938c67ebe6ba3dd030be4f",tb.callServer,void 0,tb.findSourceMapURL,"getFlakyTestsAnalysis"),tv=(0,o.default)("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]),tN=(0,o.default)("ChartBarBig",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"7",y:"13",width:"9",height:"4",rx:"1",key:"1iip1u"}],["rect",{x:"7",y:"5",width:"12",height:"4",rx:"1",key:"1anskk"}]]);function tw({status:e}){let r={},a=(0,t.jsx)(m.Clock,{className:"h-3 w-3 mr-1"}),s=e;switch(e){case"passed":r={backgroundColor:"hsl(var(--chart-3) / 0.1)",color:"hsl(var(--chart-3))",borderColor:"hsl(var(--chart-3) / 0.3)"},a=(0,t.jsx)(d,{className:"h-3 w-3 mr-1",style:{color:"hsl(var(--chart-3))"}}),s="passed";break;case"failed":case"timedOut":r={backgroundColor:"hsl(var(--destructive) / 0.1)",color:"hsl(var(--destructive))",borderColor:"hsl(var(--destructive) / 0.3)"},a=(0,t.jsx)(c.XCircle,{className:"h-3 w-3 mr-1",style:{color:"hsl(var(--destructive))"}}),s="failed"===e?"failed":"timedOut";break;case"skipped":r={backgroundColor:"hsl(var(--accent) / 0.1)",color:"hsl(var(--accent))",borderColor:"hsl(var(--accent) / 0.3)"},a=(0,t.jsx)(u,{className:"h-3 w-3 mr-1",style:{color:"hsl(var(--accent))"}}),s="skipped";break;case"pending":r={backgroundColor:"hsl(var(--primary) / 0.1)",color:"hsl(var(--primary))",borderColor:"hsl(var(--primary) / 0.3)"},a=(0,t.jsx)(m.Clock,{className:"h-3 w-3 mr-1",style:{color:"hsl(var(--primary))"}}),s="pending";break;default:r={backgroundColor:"hsl(var(--muted) / 0.5)",color:"hsl(var(--muted-foreground))",borderColor:"hsl(var(--border))"}}return(0,t.jsxs)(H.Badge,{variant:"outline",className:"capitalize text-xs px-2 py-0.5 whitespace-nowrap border",style:r,children:[a,s]})}function tk(){let[e,a]=(0,r.useState)(null),[s,o]=(0,r.useState)(!0),[u,m]=(0,r.useState)(null);if((0,r.useEffect)(()=>{!async function(){o(!0),m(null);let e=await tj();e.success&&e.currentFlakyTests&&e.historicalFlakyTests?a({currentFlakyTests:e.currentFlakyTests,historicalFlakyTests:e.historicalFlakyTests}):m(e.error||"Failed to fetch flaky test analysis."),o(!1)}()},[]),s)return(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-7 w-48 mb-1"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-3/4"})]}),(0,t.jsx)(l.CardContent,{className:"space-y-4",children:[void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)("div",{className:"p-4 border rounded-lg space-y-2",children:[(0,t.jsx)(n.Skeleton,{className:"h-5 w-2/3"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/2"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-1/3"})]},r))})]});if(u)return(0,t.jsxs)(i.Alert,{variant:"destructive",children:[(0,t.jsx)(h.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Flaky Test Analysis Error"}),(0,t.jsx)(i.AlertDescription,{children:u})]});let p=(e,r)=>0===e.length?(0,t.jsxs)(i.Alert,{className:"mt-4",children:[(0,t.jsx)(d,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"No Flaky Tests"}),(0,t.jsx)(i.AlertDescription,{children:r})]}):(0,t.jsx)(B.Accordion,{type:"multiple",className:"w-full space-y-3 mt-4",children:e.map((e,r)=>(0,t.jsxs)(B.AccordionItem,{value:`flaky-${e.id}-${r}`,className:"border rounded-lg bg-card hover:bg-muted/20 transition-colors",children:[(0,t.jsx)(B.AccordionTrigger,{className:"p-4 text-left hover:no-underline",children:(0,t.jsxs)("div",{className:"flex flex-col w-full",children:[(0,t.jsx)(K.default,{href:`/test/${e.id}`,className:"hover:underline text-base font-semibold text-primary",onClick:e=>e.stopPropagation(),children:(e=>{if(!e)return"Unknown Test";let t=e.split(" > ");return t[t.length-1]||e})(e.name)}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mt-0.5",children:["Suite: ",e.suiteName]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2 text-xs mt-2 items-center",children:[(0,t.jsxs)(H.Badge,{variant:"outline",style:{borderColor:"hsl(var(--chart-3))",color:"hsl(var(--chart-3))"},children:[(0,t.jsx)(d,{className:"h-3 w-3 mr-1.5"})," ",e.passedCount," Passed"]}),(0,t.jsxs)(H.Badge,{variant:"outline",style:{borderColor:"hsl(var(--destructive))",color:"hsl(var(--destructive))"},children:[(0,t.jsx)(c.XCircle,{className:"h-3 w-3 mr-1.5"})," ",e.failedCount," Failed"]}),(0,t.jsxs)(H.Badge,{variant:"secondary",children:[(0,t.jsx)(tN,{className:"h-3 w-3 mr-1.5"})," ",e.totalRuns," Total Runs"]}),(0,t.jsxs)(H.Badge,{variant:"outline",className:"text-xs",children:[(0,t.jsx)(tv,{className:"h-3 w-3 mr-1.5"}),"Seen: ",new Date(e.firstSeen).toLocaleDateString()," - ",new Date(e.lastSeen).toLocaleDateString()]})]})]})}),(0,t.jsxs)(B.AccordionContent,{className:"p-4 pt-0",children:[(0,t.jsxs)("h4",{className:"text-sm font-semibold mb-2 text-foreground",children:["Run History (",e.occurrences.length,"):"]}),(0,t.jsx)("div",{className:"max-h-60 overflow-y-auto space-y-1.5 pr-2",children:e.occurrences.map((e,r)=>(0,t.jsxs)("div",{className:"flex justify-between items-center text-xs p-1.5 bg-muted/30 rounded-md",children:[(0,t.jsx)("span",{children:new Date(e.runTimestamp).toLocaleString()}),(0,t.jsx)(tw,{status:e.status})]},r))})]})]},e.id+r))});return(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsxs)(l.CardTitle,{className:"text-2xl font-headline text-primary flex items-center",children:[(0,t.jsx)(x,{className:"h-7 w-7 mr-2"}),"Flaky Test Analysis"]}),(0,t.jsx)(l.CardDescription,{children:"Analysis of tests that have shown inconsistent pass/fail behavior across current and historical runs."})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)(R.Tabs,{defaultValue:"current",className:"w-full",children:[(0,t.jsxs)(R.TabsList,{className:"grid w-full grid-cols-2 bg-muted/50",children:[(0,t.jsxs)(R.TabsTrigger,{value:"current",className:"font-semibold",children:["Current Run (",e?.currentFlakyTests.length||0,")"]}),(0,t.jsxs)(R.TabsTrigger,{value:"historical",className:"font-semibold",children:["Historical Run (",e?.historicalFlakyTests.length||0,")"]})]}),(0,t.jsx)(R.TabsContent,{value:"current",children:p(e?.currentFlakyTests||[],"No tests were identified as flaky in the current run.")}),(0,t.jsx)(R.TabsContent,{value:"historical",children:p(e?.historicalFlakyTests||[],"No tests were identified as flaky based on historical pattern analysis.")})]})})]})}var tC="Switch",[tS,tA]=(0,em.createContextScope)(tC),[tT,tE]=tS(tC),tP=r.forwardRef((e,a)=>{let{__scopeSwitch:s,name:l,checked:n,defaultChecked:i,required:o,disabled:d,value:c="on",onCheckedChange:u,form:m,...h}=e,[p,f]=r.useState(null),x=(0,eu.useComposedRefs)(a,e=>f(e)),g=r.useRef(!1),y=!p||m||!!p.closest("form"),[b=!1,j]=(0,ep.useControllableState)({prop:n,defaultProp:i,onChange:u});return(0,t.jsxs)(tT,{scope:s,checked:b,disabled:d,children:[(0,t.jsx)(es.Primitive.button,{type:"button",role:"switch","aria-checked":b,"aria-required":o,"data-state":tO(b),"data-disabled":d?"":void 0,disabled:d,value:c,...h,ref:x,onClick:(0,eh.composeEventHandlers)(e.onClick,e=>{j(e=>!e),y&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),y&&(0,t.jsx)(tR,{control:p,bubbles:!g.current,name:l,value:c,checked:b,required:o,disabled:d,form:m,style:{transform:"translateX(-100%)"}})]})});tP.displayName=tC;var tD="SwitchThumb",tM=r.forwardRef((e,r)=>{let{__scopeSwitch:a,...s}=e,l=tE(tD,a);return(0,t.jsx)(es.Primitive.span,{"data-state":tO(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:r})});tM.displayName=tD;var tR=e=>{let{control:a,checked:s,bubbles:l=!0,...n}=e,i=r.useRef(null),o=(0,ef.usePrevious)(s),d=(0,ex.useSize)(a);return r.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(o!==s&&t){let r=new Event("click",{bubbles:l});t.call(e,s),e.dispatchEvent(r)}},[o,s,l]),(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:s,...n,tabIndex:-1,ref:i,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function tO(e){return e?"checked":"unchecked"}let tL=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(tP,{className:(0,G.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...r,ref:a,children:(0,t.jsx)(tM,{className:(0,G.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));function tF(){let[e,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e,t=localStorage.getItem("pulse-theme");a(e=t?"dark"===t:document.documentElement.classList.contains("dark")),e&&!document.documentElement.classList.contains("dark")?document.documentElement.classList.add("dark"):!e&&document.documentElement.classList.contains("dark")&&document.documentElement.classList.remove("dark")},[]),(0,t.jsxs)(l.Card,{className:"shadow-xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(l.CardTitle,{className:"text-2xl font-headline text-primary",children:"Settings"}),(0,t.jsx)(l.CardDescription,{children:"Customize the appearance of the dashboard."})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-card/70 shadow-sm",children:[(0,t.jsx)(eo,{htmlFor:"theme-toggle",className:"text-base font-medium text-foreground",children:"Theme"}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:e?"Dark Mode":"Light Mode"}),(0,t.jsx)(tL,{id:"theme-toggle",checked:e,onCheckedChange:e=>{a(e),e?(document.documentElement.classList.add("dark"),localStorage.setItem("pulse-theme","dark")):(document.documentElement.classList.remove("dark"),localStorage.setItem("pulse-theme","light"))},"aria-label":"Toggle theme"})]})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-4 text-center text-base font-medium text-foreground",children:"Your theme preference is saved in your browser."}),(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg bg-card/70 shadow-sm",children:[(0,t.jsx)("span",{children:"Learn more from Documentation Website: "}),(0,t.jsx)("a",{className:"text-l font-headline text-primary underline hover:text-primary-dark transition-colors",href:"https://arghajit47.github.io/playwright-pulse-dashboard/",target:"_blank",rel:"noopener noreferrer",children:"Pulse Dashboard"})]})]})})]})}tL.displayName=tP.displayName;let tI=(0,o.default)("ListX",[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"m19 10-4 4",key:"1tz659"}],["path",{d:"m15 10 4 4",key:"1n7nei"}]]),t$=(0,o.default)("SearchSlash",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),t_=[{name:"Timeout Errors",keywords:["timeout","exceeded"],description:"Tests that failed due to exceeding a specified time limit for an operation."},{name:"Locator/Selector Errors",keywords:["locator","selector","getByRole","getByText","getByLabel","getByPlaceholder","element not found","no element found"],description:"Failures related to finding or interacting with UI elements on the page."},{name:"Assertion Errors",keywords:["expect(","expected","assertion failed"],description:"Tests where a specific condition or value did not meet the expected criteria."},{name:"Strict Mode Violations",keywords:["strict mode violation"],description:"Failures caused by Playwright's strict mode, often when a locator resolves to multiple elements."},{name:"Navigation Errors",keywords:["navigation failed","page.goto","frame.goto"],description:"Errors that occurred during page navigation actions."}],tz="Other Errors";function tB(e){if(!e)return"Unknown Test";let t=e.split(" > ");return t[t.length-1]||e}function tH(){let{currentRun:e,loadingCurrent:a,errorCurrent:o}=(0,s.useTestData)(),c=(0,r.useMemo)(()=>{if(!e?.results)return{categories:[],totalFailed:0};let t=e.results.filter(e=>"failed"===e.status||"timedOut"===e.status),r=new Map;t.forEach(e=>{r.has(e.name)||r.set(e.name,e)});let a=Array.from(r.values()),s=new Map;a.forEach(e=>{let t=(e.errorMessage||"Unknown error").replace(/\u001b\[[0-9;]*[mGKH]/g,"").toLowerCase(),r=!1;for(let a of t_)if(a.keywords.some(e=>t.includes(e.toLowerCase()))){s.has(a.name)||s.set(a.name,{tests:[],exampleErrorMessages:[]}),s.get(a.name).tests.push(e),s.get(a.name).exampleErrorMessages.length<3&&s.get(a.name).exampleErrorMessages.push(e.errorMessage),r=!0;break}!r&&(s.has(tz)||s.set(tz,{tests:[],exampleErrorMessages:[]}),s.get(tz).tests.push(e),s.get(tz).exampleErrorMessages.length<3&&s.get(tz).exampleErrorMessages.push(e.errorMessage))});let l=[];return s.forEach((e,t)=>{l.push({categoryName:t,count:e.tests.length,tests:e.tests,exampleErrorMessages:e.exampleErrorMessages})}),l.sort((e,t)=>t.count-e.count),{categories:l,totalFailed:a.length}},[e]);if(a)return(0,t.jsx)("div",{className:"space-y-6",children:[void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)(l.Card,{className:"shadow-lg",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(n.Skeleton,{className:"h-7 w-1/2 mb-2"}),(0,t.jsx)(n.Skeleton,{className:"h-4 w-3/4"})]}),(0,t.jsxs)(l.CardContent,{children:[(0,t.jsx)(n.Skeleton,{className:"h-10 w-full"}),(0,t.jsx)(n.Skeleton,{className:"h-10 w-full mt-2"})]})]},r))});if(o)return(0,t.jsxs)(i.Alert,{variant:"destructive",className:"shadow-md",children:[(0,t.jsx)(h.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Error Fetching Data"}),(0,t.jsx)(i.AlertDescription,{children:o})]});if(!e||!e.results)return(0,t.jsxs)(i.Alert,{className:"shadow-md",children:[(0,t.jsx)(C.Info,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"No Data Available"}),(0,t.jsx)(i.AlertDescription,{children:"The current run report ('playwright-pulse-report.json') could not be loaded or is empty."})]});let u=c.totalFailed;return 0===u?(0,t.jsxs)(i.Alert,{variant:"default",className:"shadow-md border-green-500 bg-green-50 dark:bg-green-900/30",children:[(0,t.jsx)(d,{className:"h-5 w-5 text-green-600"}),(0,t.jsx)(i.AlertTitle,{className:"text-green-700 dark:text-green-400",children:"No Failures Found!"}),(0,t.jsx)(i.AlertDescription,{className:"text-green-600 dark:text-green-300",children:"Excellent! There are no failed or timed out tests in the current run report."})]}):0===c.categories.length&&u>0?(0,t.jsxs)(i.Alert,{className:"shadow-md",children:[(0,t.jsx)(t$,{className:"h-4 w-4"}),(0,t.jsx)(i.AlertTitle,{children:"Failures Present, But Not Categorized"}),(0,t.jsxs)(i.AlertDescription,{children:["There are ",u,' failures in the current report, but they did not match any predefined categories. They might be listed under "Other Errors" if that category appears.']})]}):(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-8",children:[(0,t.jsx)(l.Card,{className:"shadow-lg hover:shadow-2xl transition-all duration-300 rounded-xl border-0 bg-gradient-to-br from-destructive/10 via-card to-card/95",children:(0,t.jsx)(l.CardContent,{className:"p-6",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"Total Failures"}),(0,t.jsx)("p",{className:"text-3xl font-bold text-destructive mt-2",children:u})]}),(0,t.jsx)(tI,{className:"h-12 w-12 text-destructive opacity-20"})]})})}),(0,t.jsx)(l.Card,{className:"shadow-lg hover:shadow-2xl transition-all duration-300 rounded-xl border-0 bg-gradient-to-br from-primary/10 via-card to-card/95",children:(0,t.jsx)(l.CardContent,{className:"p-6",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"Categories"}),(0,t.jsx)("p",{className:"text-3xl font-bold text-primary mt-2",children:c.categories.length})]}),(0,t.jsx)(h.Terminal,{className:"h-12 w-12 text-primary opacity-20"})]})})}),(0,t.jsx)(l.Card,{className:"shadow-lg hover:shadow-2xl transition-all duration-300 rounded-xl border-0 bg-gradient-to-br from-accent/10 via-card to-card/95",children:(0,t.jsx)(l.CardContent,{className:"p-6",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:"Most Common"}),(0,t.jsx)("p",{className:"text-lg font-bold text-foreground mt-2 truncate",children:c.categories[0]?.categoryName||"N/A"}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[c.categories[0]?.count||0," tests"]})]}),(0,t.jsx)(C.Info,{className:"h-12 w-12 text-accent opacity-20"})]})})})]}),c.categories.map((e,r)=>{let a=t_.find(t=>t.name===e.categoryName),s=e.exampleErrorMessages[0],n=s?(0,G.ansiToHtml)(s.substring(0,150)):"",i=s&&s.length>150;return(0,t.jsxs)(l.Card,{className:"shadow-lg hover:shadow-2xl transition-all duration-300 rounded-xl border-0 bg-gradient-to-br from-card via-card to-card/95 group",children:[(0,t.jsxs)(l.CardHeader,{className:"border-b border-border/50 bg-muted/20",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-12 w-12 rounded-full bg-gradient-to-br from-destructive/20 to-destructive/10 flex items-center justify-center",children:(0,t.jsx)(tI,{className:"h-6 w-6 text-destructive"})}),(0,t.jsxs)("div",{children:[(0,t.jsxs)(l.CardTitle,{className:"text-xl font-semibold text-foreground group-hover:text-primary transition-colors flex items-center gap-2",children:[e.categoryName,(0,t.jsx)(H.Badge,{variant:"destructive",className:"text-xs font-semibold",children:e.count})]}),a?.description&&(0,t.jsx)(l.CardDescription,{className:"text-xs mt-1",children:a.description})]})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Category #",r+1]}),(0,t.jsxs)("p",{className:"text-sm font-semibold text-foreground",children:[(e.count/u*100).toFixed(1),"%"]})]})]}),e.categoryName===tz&&s&&(0,t.jsxs)("div",{className:"mt-3 p-3 rounded-lg bg-muted/50 border border-border/30",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground mb-1",children:"Example error snippet:"}),(0,t.jsxs)("p",{className:"text-xs text-foreground font-mono",children:[(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:n}}),i?"...":""]})]})]}),(0,t.jsx)(l.CardContent,{className:"pt-4",children:e.tests.length>0?(0,t.jsx)(B.Accordion,{type:"multiple",className:"w-full space-y-3",children:e.tests.map((r,a)=>(0,t.jsxs)(B.AccordionItem,{value:`${e.categoryName}-${r.id}-${a}`,className:"border border-border/50 rounded-lg bg-card hover:bg-muted/30 transition-all duration-200 hover:shadow-md overflow-hidden",children:[(0,t.jsx)(B.AccordionTrigger,{className:"px-4 py-3 text-left hover:no-underline group/trigger",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"h-2 w-2 rounded-full bg-destructive flex-shrink-0"}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"font-medium text-sm text-foreground group-hover/trigger:text-primary transition-colors truncate",title:tB(r.name),children:tB(r.name)}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",title:r.suiteName,children:["Suite: ",r.suiteName||"N/A"]})]})]})}),(0,t.jsx)(B.AccordionContent,{className:"px-4 pb-4 pt-2 bg-muted/10",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)(K.default,{href:`/test/${r.id}`,className:"inline-flex items-center gap-1 text-xs text-primary hover:underline font-medium",children:[(0,t.jsx)(q.ChevronRight,{className:"h-3 w-3"}),"View full test details"]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsx)(h.Terminal,{className:"h-3 w-3 text-destructive"}),(0,t.jsx)("h5",{className:"text-xs font-semibold text-foreground",children:"Error Message:"})]}),(0,t.jsx)(eD.ScrollArea,{className:"max-h-40 w-full rounded-lg border border-border/30",children:(0,t.jsx)("pre",{className:"text-xs whitespace-pre-wrap break-words font-mono bg-muted/50 p-3",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,G.ansiToHtml)(r.errorMessage||"No error message captured.")}})})})]})]})})]},`${e.categoryName}-${r.id}-${a}`))}):(0,t.jsxs)("div",{className:"text-center py-8",children:[(0,t.jsx)(t$,{className:"h-12 w-12 text-muted-foreground mx-auto mb-3 opacity-50"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No tests found in this category."})]})})]},e.categoryName)}),0===c.categories.length&&(0,t.jsxs)(i.Alert,{className:"shadow-lg rounded-xl border-0 bg-gradient-to-br from-muted/50 to-card",children:[(0,t.jsx)(t$,{className:"h-5 w-5"}),(0,t.jsx)(i.AlertTitle,{className:"text-lg",children:"No Failures Categorized"}),(0,t.jsx)(i.AlertDescription,{children:"Could not categorize any failures based on the current rules."})]})]})}let tK=(0,o.default)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);var tV=e.i(78583);let tU=(0,o.default)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]),tW=(0,o.default)("Paperclip",[["path",{d:"M13.234 20.252 21 12.3",key:"1cbrk9"}],["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486",key:"1pkts6"}]]);function tq(){let[e,a]=(0,r.useState)(null),[s,n]=(0,r.useState)({}),o=[{id:"attachment",name:"Generate Attachment Based Report",command:"npx generate-pulse-report",icon:tW,description:"Generates a comprehensive report with attachments including screenshots, videos, and traces.",outputFile:"playwright-pulse-report.html"},{id:"embedded",name:"Generate Embedded Single File Report",command:"npx generate-report",icon:tV.FileText,description:"Creates a self-contained HTML report with all assets embedded inline.",outputFile:"playwright-pulse-static-report.html"},{id:"email",name:"Generate Email Report",command:"npx generate-email-report",icon:tU,description:"Produces an email-optimized report format suitable for direct email distribution.",outputFile:"pulse-email-summary.html"}],d=async e=>{a(e.id),n(t=>({...t,[e.id]:null}));try{let t=await fetch("/api/run-command",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({command:e.command})}),r=await t.json();t.ok&&r.success?n(t=>({...t,[e.id]:{success:!0,message:"Command executed successfully!"}})):n(t=>({...t,[e.id]:{success:!1,message:r.error||"Command execution failed"}}))}catch(t){n(t=>({...t,[e.id]:{success:!1,message:"Failed to execute command. Please try running it manually in your terminal."}}))}finally{a(null)}};return(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)(i.Alert,{children:[(0,t.jsx)(tV.FileText,{className:"h-4 w-4"}),(0,t.jsxs)(i.AlertDescription,{children:["These commands require ",(0,t.jsx)("strong",{children:"playwright-pulse-report"})," to be installed in your project. Run commands to generate different report formats from your test results."]})]}),(0,t.jsxs)(i.Alert,{children:[(0,t.jsx)(C.Info,{className:"h-4 w-4"}),(0,t.jsxs)(i.AlertDescription,{children:[(0,t.jsx)("strong",{children:"Note:"})," These report generation commands are only valid if the report directory is ",(0,t.jsx)("strong",{children:"'pulse-report'"}),", default report folder. Otherwise kindly use the CLI commands, for custom report directory."]})]}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1 lg:grid-cols-1",children:o.map(r=>{let a=r.icon,n=s[r.id];return(0,t.jsxs)(l.Card,{className:"hover:shadow-lg transition-shadow",children:[(0,t.jsx)(l.CardHeader,{children:(0,t.jsx)("div",{className:"flex items-start justify-between",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"p-2 rounded-lg bg-primary/10",children:(0,t.jsx)(a,{className:"h-6 w-6 text-primary"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.CardTitle,{className:"text-lg",children:r.name}),(0,t.jsx)(l.CardDescription,{className:"mt-1",children:r.description})]})]})})}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"bg-muted p-3 rounded-md font-mono text-sm",children:(0,t.jsx)("code",{children:r.command})}),n&&(0,t.jsx)(i.Alert,{variant:n.success?"default":"destructive",children:(0,t.jsx)(i.AlertDescription,{children:n.message})}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsxs)(ed.Button,{onClick:()=>d(r),disabled:e===r.id,className:"flex-1",variant:"default",children:[(0,t.jsx)(tK,{className:"h-4 w-4 mr-2"}),e===r.id?"Running...":"Re-run"]}),(0,t.jsxs)(ed.Button,{onClick:()=>{let e,t;return e=window.location.origin,t=`${e}/api/reports/${r.outputFile}`,void window.open(t,"_blank","noopener,noreferrer")},variant:"outline",className:"flex-1",children:[(0,t.jsx)(W,{className:"h-4 w-4 mr-2"}),"View"]})]})]})})]},r.id)})})]})}var tG=e.i(91918);let tX=(0,o.default)("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);var tZ="horizontal",tY=["horizontal","vertical"],tQ=r.forwardRef((e,r)=>{var a;let{decorative:s,orientation:l=tZ,...n}=e,i=(a=l,tY.includes(a))?l:tZ;return(0,t.jsx)(es.Primitive.div,{"data-orientation":i,...s?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"},...n,ref:r})});tQ.displayName="Separator";let tJ=r.forwardRef(({className:e,orientation:r="horizontal",decorative:a=!0,...s},l)=>(0,t.jsx)(tQ,{ref:l,decorative:a,orientation:r,className:(0,G.cn)("shrink-0 bg-border","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",e),...s}));tJ.displayName=tQ.displayName;var t0=e.i(10772),t1=e.i(26330),t2=e.i(65491),t4=e.i(74606),t3=e.i(3536),t5=e.i(85369),t6=e.i(86312),t8="Dialog",[t7,t9]=(0,em.createContextScope)(t8),[re,rt]=t7(t8),rr=e=>{let{__scopeDialog:a,children:s,open:l,defaultOpen:n,onOpenChange:i,modal:o=!0}=e,d=r.useRef(null),c=r.useRef(null),[u=!1,m]=(0,ep.useControllableState)({prop:l,defaultProp:n,onChange:i});return(0,t.jsx)(re,{scope:a,triggerRef:d,contentRef:c,contentId:(0,t0.useId)(),titleId:(0,t0.useId)(),descriptionId:(0,t0.useId)(),open:u,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),modal:o,children:s})};rr.displayName=t8;var ra="DialogTrigger";r.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,l=rt(ra,a),n=(0,eu.useComposedRefs)(r,l.triggerRef);return(0,t.jsx)(es.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":rN(l.open),...s,ref:n,onClick:(0,eh.composeEventHandlers)(e.onClick,l.onOpenToggle)})}).displayName=ra;var rs="DialogPortal",[rl,rn]=t7(rs,{forceMount:void 0}),ri=e=>{let{__scopeDialog:a,forceMount:s,children:l,container:n}=e,i=rt(rs,a);return(0,t.jsx)(rl,{scope:a,forceMount:s,children:r.Children.map(l,e=>(0,t.jsx)(eg.Presence,{present:s||i.open,children:(0,t.jsx)(t4.Portal,{asChild:!0,container:n,children:e})}))})};ri.displayName=rs;var ro="DialogOverlay",rd=r.forwardRef((e,r)=>{let a=rn(ro,e.__scopeDialog),{forceMount:s=a.forceMount,...l}=e,n=rt(ro,e.__scopeDialog);return n.modal?(0,t.jsx)(eg.Presence,{present:s||n.open,children:(0,t.jsx)(rc,{...l,ref:r})}):null});rd.displayName=ro;var rc=r.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,l=rt(ro,a);return(0,t.jsx)(t5.RemoveScroll,{as:tG.Slot,allowPinchZoom:!0,shards:[l.contentRef],children:(0,t.jsx)(es.Primitive.div,{"data-state":rN(l.open),...s,ref:r,style:{pointerEvents:"auto",...s.style}})})}),ru="DialogContent",rm=r.forwardRef((e,r)=>{let a=rn(ru,e.__scopeDialog),{forceMount:s=a.forceMount,...l}=e,n=rt(ru,e.__scopeDialog);return(0,t.jsx)(eg.Presence,{present:s||n.open,children:n.modal?(0,t.jsx)(rh,{...l,ref:r}):(0,t.jsx)(rp,{...l,ref:r})})});rm.displayName=ru;var rh=r.forwardRef((e,a)=>{let s=rt(ru,e.__scopeDialog),l=r.useRef(null),n=(0,eu.useComposedRefs)(a,s.contentRef,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,t6.hideOthers)(e)},[]),(0,t.jsx)(rf,{...e,ref:n,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,eh.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.triggerRef.current?.focus()}),onPointerDownOutside:(0,eh.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,eh.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),rp=r.forwardRef((e,a)=>{let s=rt(ru,e.__scopeDialog),l=r.useRef(!1),n=r.useRef(!1);return(0,t.jsx)(rf,{...e,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||s.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(n.current=!0));let r=t.target;s.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&n.current&&t.preventDefault()}})}),rf=r.forwardRef((e,a)=>{let{__scopeDialog:s,trapFocus:l,onOpenAutoFocus:n,onCloseAutoFocus:i,...o}=e,d=rt(ru,s),c=r.useRef(null),u=(0,eu.useComposedRefs)(a,c);return(0,t3.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(t2.FocusScope,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:n,onUnmountAutoFocus:i,children:(0,t.jsx)(t1.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":rN(d.open),...o,ref:u,onDismiss:()=>d.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(rS,{titleId:d.titleId}),(0,t.jsx)(rA,{contentRef:c,descriptionId:d.descriptionId})]})]})}),rx="DialogTitle",rg=r.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,l=rt(rx,a);return(0,t.jsx)(es.Primitive.h2,{id:l.titleId,...s,ref:r})});rg.displayName=rx;var ry="DialogDescription",rb=r.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,l=rt(ry,a);return(0,t.jsx)(es.Primitive.p,{id:l.descriptionId,...s,ref:r})});rb.displayName=ry;var rj="DialogClose",rv=r.forwardRef((e,r)=>{let{__scopeDialog:a,...s}=e,l=rt(rj,a);return(0,t.jsx)(es.Primitive.button,{type:"button",...s,ref:r,onClick:(0,eh.composeEventHandlers)(e.onClick,()=>l.onOpenChange(!1))})});function rN(e){return e?"open":"closed"}rv.displayName=rj;var rw="DialogTitleWarning",[rk,rC]=(0,em.createContext)(rw,{contentName:ru,titleName:rx,docsSlug:"dialog"}),rS=({titleId:e})=>{let t=rC(rw),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
-
3
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
-
5
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},rA=({contentRef:e,descriptionId:t})=>{let a=rC("DialogDescriptionWarning"),s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${a.contentName}}.`;return r.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},rT=e.i(37727);let rE=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(rd,{className:(0,G.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r,ref:a}));rE.displayName=rd.displayName;let rP=(0,en.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),rD=r.forwardRef(({side:e="right",className:r,children:a,...s},l)=>(0,t.jsxs)(ri,{children:[(0,t.jsx)(rE,{}),(0,t.jsxs)(rm,{ref:l,className:(0,G.cn)(rP({side:e}),r),...s,children:[a,(0,t.jsxs)(rv,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,t.jsx)(rT.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));rD.displayName=rm.displayName,r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(rg,{ref:a,className:(0,G.cn)("text-lg font-semibold text-foreground",e),...r})).displayName=rg.displayName,r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(rb,{ref:a,className:(0,G.cn)("text-sm text-muted-foreground",e),...r})).displayName=rb.displayName;var rM=e.i(46798);let rR=r.createContext(null);function rO(){let e=r.useContext(rR);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}let rL=r.forwardRef(({defaultOpen:e=!0,open:a,onOpenChange:s,className:l,style:n,children:i,...o},d)=>{let c=function(){let[e,t]=r.useState(void 0);return r.useEffect(()=>{let e=window.matchMedia("(max-width: 767px)"),r=()=>{t(window.innerWidth<768)};return e.addEventListener("change",r),t(window.innerWidth<768),()=>e.removeEventListener("change",r)},[]),!!e}(),[u,m]=r.useState(!1),[h,p]=r.useState(e),f=a??h,x=r.useCallback(e=>{let t="function"==typeof e?e(f):e;s?s(t):p(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[s,f]),g=r.useCallback(()=>c?m(e=>!e):x(e=>!e),[c,x,m]);r.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);let y=f?"expanded":"collapsed",b=r.useMemo(()=>({state:y,open:f,setOpen:x,isMobile:c,openMobile:u,setOpenMobile:m,toggleSidebar:g}),[y,f,x,c,u,m,g]);return(0,t.jsx)(rR.Provider,{value:b,children:(0,t.jsx)(rM.TooltipProvider,{delayDuration:0,children:(0,t.jsx)("div",{style:{"--sidebar-width":"320px","--sidebar-width-icon":"3.5rem",...n},className:(0,G.cn)("group/sidebar-wrapper flex min-h-svh w-full",l),ref:d,...o,children:i})})})});rL.displayName="SidebarProvider";let rF=r.forwardRef(({side:e="left",collapsible:r="icon",className:a,children:s,...l},n)=>{let{isMobile:i,state:o,openMobile:d,setOpenMobile:c}=rO();return i?(0,t.jsxs)(rr,{open:d,onOpenChange:c,children:[(0,t.jsx)(rE,{className:"bg-black/60 backdrop-blur-sm"}),(0,t.jsx)(rD,{"data-sidebar":"sidebar","data-mobile":"true",className:(0,G.cn)("w-[var(--sidebar-width)] p-0 text-[--color-text-primary] border-r-0","bg-[--glass-bg] backdrop-blur-[20px] saturate-180 border-r border-[--glass-border]"),style:{"--sidebar-width":"320px"},side:e,children:(0,t.jsx)("div",{className:"flex h-full w-full flex-col",children:s})})]}):(0,t.jsx)("aside",{ref:n,"data-sidebar":"sidebar","data-state":o,"data-collapsible":r,"data-side":e,className:(0,G.cn)("group hidden h-svh h-[100dvh] flex-shrink-0 flex-col md:flex sticky top-0","bg-[--glass-bg] backdrop-blur-[20px] saturate-180","border-[--glass-border]","left"===e?"border-r":"border-l","transition-all duration-300 ease-in-out","collapsed"===o?"w-[var(--sidebar-width-icon)]":"w-[var(--sidebar-width)]",a),...l,children:(0,t.jsx)("div",{className:"flex h-full w-full flex-col",children:s})})});rF.displayName="Sidebar";let rI=r.forwardRef(({className:e,onClick:r,...a},s)=>{let{toggleSidebar:l}=rO();return(0,t.jsxs)(ed.Button,{ref:s,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:(0,G.cn)("h-7 w-7 md:hidden",e),onClick:e=>{r?.(e),l()},...a,children:[(0,t.jsx)(tX,{}),(0,t.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});rI.displayName="SidebarTrigger";let r$=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("main",{ref:a,className:(0,G.cn)("relative flex min-h-svh flex-1 flex-col bg-background",e),...r}));r$.displayName="SidebarInset";let r_=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,"data-sidebar":"header",className:(0,G.cn)("flex flex-col gap-4 p-6",e),...r}));r_.displayName="SidebarHeader";let rz=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,"data-sidebar":"content",className:(0,G.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto p-6","group-data-[collapsible=icon][data-state=collapsed]:p-2 group-data-[collapsible=icon][data-state=collapsed]:overflow-hidden",e),...r}));rz.displayName="SidebarContent";let rB=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("ul",{ref:a,"data-sidebar":"menu",className:(0,G.cn)("flex w-full min-w-0 flex-col gap-1",e),...r}));rB.displayName="SidebarMenu";let rH=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("li",{ref:a,"data-sidebar":"menu-item",className:(0,G.cn)("group/menu-item relative",e),...r}));rH.displayName="SidebarMenuItem";let rK=(0,en.cva)("peer/menu-button relative flex w-full items-center gap-4 overflow-hidden rounded-xl p-4 text-left text-[0.95rem] font-medium outline-none transition-all duration-300 ease-in-out disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"text-[--color-text-secondary] hover:text-[--color-primary] hover:bg-[--color-hover] hover:translate-x-1 hover:shadow-md data-[active=true]:bg-primary/10 data-[active=true]:text-primary data-[active=true]:font-semibold data-[active=true]:shadow-lg"}},defaultVariants:{variant:"default"}}),rV=r.forwardRef(({asChild:e=!1,isActive:r=!1,variant:a="default",tooltip:s,className:l,children:n,...i},o)=>{let d=e?tG.Slot:"button",{isMobile:c,state:u}=rO(),m=(0,t.jsxs)(d,{ref:o,"data-sidebar":"menu-button","data-active":r,className:(0,G.cn)(rK({variant:a}),"group-data-[collapsible=icon][data-state=collapsed]:size-12 group-data-[collapsible=icon][data-state=collapsed]:justify-center group-data-[collapsible=icon][data-state=collapsed]:p-0","group-data-[collapsible=icon][data-state=collapsed]:[&>span:last-child]:hidden",l),...i,children:[(0,t.jsx)("div",{className:(0,G.cn)("absolute top-0 left-[-100%] w-full h-full bg-gradient-to-r from-primary/10 to-transparent opacity-50 transition-all duration-400 ease-in-out","peer-hover/menu-button:left-0 peer-data-[active=true]/menu-button:left-0")}),n]});return s?("string"==typeof s&&(s={children:s}),(0,t.jsxs)(rM.Tooltip,{children:[(0,t.jsx)(rM.TooltipTrigger,{asChild:!0,children:m}),(0,t.jsx)(rM.TooltipContent,{side:"right",align:"center",className:(0,G.cn)("collapsed"!==u||c?"hidden":"block"),...s,children:s.children})]})):m});rV.displayName="SidebarMenuButton";let rU=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,"data-sidebar":"footer",className:(0,G.cn)("flex flex-col gap-2 p-6 mt-auto",e),...r}));rU.displayName="SidebarFooter";let rW=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(tJ,{ref:a,"data-sidebar":"separator",className:(0,G.cn)("mx-2 w-auto bg-[--color-border]","group-data-[state=collapsed]:mx-auto group-data-[state=collapsed]:my-2 group-data-[state=collapsed]:h-auto group-data-[state=collapsed]:w-8/12",e),...r}));rW.displayName="SidebarSeparator",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,"data-sidebar":"group",className:(0,G.cn)("relative flex w-full min-w-0 flex-col",e),...r})).displayName="SidebarGroup",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(er.Input,{ref:a,"data-sidebar":"input",className:(0,G.cn)("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-[--color-primary]",e),...r})).displayName="SidebarInput";let rq=(0,o.default)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),rG=(0,o.default)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),rX=(0,o.default)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);function rZ(){let e,{currentRun:l,historicalTrends:n,loadingCurrent:i,loadingHistorical:o,errorCurrent:d,errorHistorical:c}=(0,s.useTestData)(),[u,m]=(0,r.useState)("dashboard"),[p,f]=(0,r.useState)(void 0),[g,y]=(0,r.useState)("#7737BF");(0,r.useEffect)(()=>{"live-results"!==u&&p&&f(void 0)},[u,p]);let b=[{id:"dashboard",label:"Dashboard",icon:rq,description:"Real-time Playwright Test Execution Monitoring & Analysis Overview",labelColorVar:"--sidebar-tab-dashboard-color-hsl"},{id:"live-results",label:"Test Results",icon:ee,description:"Detailed view of the latest test run results with filters.",labelColorVar:"--sidebar-tab-results-color-hsl"},{id:"trend-analysis",label:"Trend Analysis",icon:tp,description:"Historical data visualization for test performance.",labelColorVar:"--sidebar-tab-trends-color-hsl"},{id:"flaky-tests",label:"Flaky Tests",icon:x,description:"Analysis of historically flaky tests.",labelColorVar:"--sidebar-tab-flaky-color-hsl"},{id:"failure-categorization",label:"Failure Categorization",icon:tI,description:"Categorize and view common failure types.",labelColorVar:"--sidebar-tab-failures-color-hsl"},{id:"pulse-command",label:"Pulse Command",icon:h.Terminal,description:"Generate various report formats using playwright-pulse-report commands.",labelColorVar:"--sidebar-tab-command-color-hsl"},{id:"settings",label:"Settings",icon:rG,description:"Configure dashboard appearance and preferences.",labelColorVar:"--sidebar-tab-settings-color-hsl"}],j=b.find(e=>"settings"===e.id),v=b.filter(e=>"settings"!==e.id),N=b.find(e=>e.id===u);switch(u){case"dashboard":default:e=(0,t.jsx)(z,{currentRun:l,loading:i,error:d,onMetricClick:e=>{f(e),m("live-results")}});break;case"live-results":e=(0,t.jsx)(eL,{report:l,loading:i,error:d,initialFilter:p});break;case"trend-analysis":e=(0,t.jsx)(ty,{trends:n,loading:o,error:c,currentResults:l?.results});break;case"flaky-tests":e=(0,t.jsx)(tk,{});break;case"failure-categorization":e=(0,t.jsx)(tH,{});break;case"pulse-command":e=(0,t.jsx)(tq,{});break;case"settings":e=(0,t.jsx)(tF,{})}return(0,t.jsxs)(rL,{defaultOpen:!0,children:[(0,t.jsxs)(rF,{collapsible:"icon",className:"border-r border-sidebar-border shadow-lg",children:[(0,t.jsxs)(r_,{className:"p-4 group-data-[collapsible=icon]:p-2 flex items-center justify-between group-data-[collapsible=icon]:justify-center border-b border-sidebar-border",children:[(0,t.jsxs)(K.default,{href:"/",className:"flex items-center",onClick:()=>m("dashboard"),children:[(0,t.jsx)(a.default,{src:"https://ocpaxmghzmfbuhxzxzae.supabase.co/storage/v1/object/public/images/pulse-report/playwright_pulse_icon.png",alt:"Pulse Dashboard Logo",width:120,height:30,style:{objectFit:"fill"},className:"transition-all duration-200","data-ai-hint":"pulse logo"}),(0,t.jsx)("span",{style:{marginLeft:"10px",color:"#489ef9",fontWeight:900},children:"PULSE DASHBOARD"})]}),(0,t.jsx)(rI,{className:"md:hidden"})]}),(0,t.jsx)(rz,{children:(0,t.jsx)(rB,{children:v.map(e=>(0,t.jsx)(rH,{children:(0,t.jsxs)(rV,{onClick:()=>{m(e.id)},isActive:u===e.id,tooltip:{children:e.label,side:"right",align:"center"},children:[(0,t.jsx)(e.icon,{className:"h-5 w-5"}),(0,t.jsx)("span",{style:u===e.id?void 0:e.labelColorVar?{color:`hsl(var(${e.labelColorVar}))`}:void 0,children:e.label})]})},e.id))})}),(0,t.jsxs)(rU,{className:"p-2 mt-auto border-t border-sidebar-border",children:[j&&(0,t.jsx)(rB,{className:"group-data-[collapsible=icon]:py-2",children:(0,t.jsx)(rH,{children:(0,t.jsxs)(rV,{onClick:()=>{m(j.id)},isActive:u===j.id,tooltip:{children:j.label,side:"right",align:"center"},children:[(0,t.jsx)(j.icon,{className:"h-5 w-5"}),(0,t.jsx)("span",{className:"group-data-[collapsible=icon]:hidden",style:u===j.id?void 0:j.labelColorVar?{color:`hsl(var(${j.labelColorVar}))`}:void 0,children:j.label})]})})}),(0,t.jsxs)("div",{className:"pt-2 group-data-[collapsible=icon]:hidden",children:[(0,t.jsx)(rW,{className:"my-1 group-data-[collapsible=icon]:hidden"}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1.5 text-xs p-2",children:[(0,t.jsx)(rX,{className:"h-3.5 w-3.5 text-sidebar-foreground/70"}),(0,t.jsx)("span",{className:"font-medium text-sidebar-foreground",children:"Pulse"}),(0,t.jsx)("span",{className:"text-muted-foreground/80",children:"v1.1.0"})]})]})]})]}),(0,t.jsx)(r$,{children:(0,t.jsxs)("div",{className:"container mx-auto p-6 md:p-8 space-y-6 min-h-screen flex flex-col rounded-xl shadow-lg bg-background",children:[(0,t.jsxs)("header",{className:"mb-0",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold font-headline text-primary tracking-tight",children:N?.label||"Pulse Dashboard"}),(0,t.jsx)("p",{className:"text-md text-muted-foreground mt-1",children:N?.description||"Real-time Playwright Test Execution Monitoring & Analysis Overview"}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Latest Run Date:"," ",i?(0,t.jsx)("span",{className:"text-muted-foreground",children:"Loading..."}):l?.run?.timestamp?(0,t.jsx)("span",{className:"text-muted-foreground font-medium",children:new Date(l.run.timestamp).toLocaleString()}):d?(0,t.jsx)("span",{className:"text-destructive font-medium",children:"Error loading data"}):(0,t.jsx)("span",{className:"text-muted-foreground font-medium",children:"Not available"})]})]}),(0,t.jsx)("main",{className:"flex-grow mt-6",children:e}),(0,t.jsxs)("footer",{style:{padding:"0.5rem",boxShadow:"0 -2px 10px rgba(0, 0, 0, 0.05)",textAlign:"center",fontFamily:"'Segoe UI', system-ui, sans-serif",marginTop:"auto"},className:"text-foreground",children:[(0,t.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.5rem",fontSize:"0.9rem",fontWeight:600,letterSpacing:"0.5px"},children:[(0,t.jsx)("span",{children:"Created by"}),(0,t.jsx)("a",{href:"https://github.com/Arghajit47",target:"_blank",rel:"noopener noreferrer",style:{color:g,fontWeight:700,fontStyle:"italic",textDecoration:"none",transition:"all 0.2s ease"},onMouseOver:()=>y("#BF5C37"),onMouseOut:()=>y("#7737BF"),children:"Arghajit Singha"})]}),(0,t.jsx)("div",{style:{marginTop:"0.5rem",fontSize:"0.75rem"},className:"text-muted-foreground",children:"Crafted with precision"})]})]})})]})}e.s(["PulseDashboard",()=>rZ],95923)}]);