pulse-dashboard 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +10 -9
- package/.next/fallback-build-manifest.json +3 -2
- package/.next/images-manifest.json +2 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +13 -13
- package/.next/required-server-files.json +209 -40
- package/.next/routes-manifest.json +1 -0
- package/.next/server/app/_global-error/page/build-manifest.json +7 -7
- package/.next/server/app/_global-error/page.js +8 -9
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +2 -1
- package/.next/server/app/_global-error.html +1 -2
- package/.next/server/app/_global-error.rsc +11 -9
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_full.segment.rsc +11 -9
- package/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_index.segment.rsc +4 -3
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/build-manifest.json +7 -7
- package/.next/server/app/_not-found/page.js +11 -12
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +2 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +19 -16
- package/.next/server/app/_not-found.segments/_full.segment.rsc +19 -16
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +4 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/analyze-test/route/build-manifest.json +1 -3
- package/.next/server/app/api/analyze-test/route.js +3 -3
- package/.next/server/app/api/analyze-test/route.js.nft.json +1 -1
- package/.next/server/app/api/analyze-test/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/assets/[...slug]/route/build-manifest.json +1 -3
- package/.next/server/app/api/assets/[...slug]/route.js +4 -4
- package/.next/server/app/api/assets/[...slug]/route.js.nft.json +1 -1
- package/.next/server/app/api/assets/[...slug]/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/current-run/route/build-manifest.json +1 -3
- package/.next/server/app/api/current-run/route.js +3 -3
- package/.next/server/app/api/current-run/route.js.nft.json +1 -1
- package/.next/server/app/api/current-run/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/historical-trends/route/build-manifest.json +1 -3
- package/.next/server/app/api/historical-trends/route.js +4 -3
- package/.next/server/app/api/historical-trends/route.js.nft.json +1 -1
- package/.next/server/app/api/historical-trends/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/report-config/route/build-manifest.json +1 -3
- package/.next/server/app/api/report-config/route.js +3 -3
- package/.next/server/app/api/report-config/route.js.nft.json +1 -1
- package/.next/server/app/api/report-config/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/reports/[filename]/route/build-manifest.json +1 -3
- package/.next/server/app/api/reports/[filename]/route.js +3 -3
- package/.next/server/app/api/reports/[filename]/route.js.nft.json +1 -1
- package/.next/server/app/api/reports/[filename]/route_client-reference-manifest.js +2 -1
- package/.next/server/app/api/run-command/route/build-manifest.json +1 -3
- package/.next/server/app/api/run-command/route.js +3 -3
- package/.next/server/app/api/run-command/route.js.nft.json +1 -1
- package/.next/server/app/api/run-command/route_client-reference-manifest.js +2 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +14 -12
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +14 -12
- package/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/server/app/index.segments/_index.segment.rsc +5 -5
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page/build-manifest.json +7 -7
- package/.next/server/app/page/react-loadable-manifest.json +1 -2
- package/.next/server/app/page/server-reference-manifest.json +1 -4
- package/.next/server/app/page.js +12 -14
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +2 -1
- package/.next/server/app/test/[testId]/page/build-manifest.json +7 -7
- package/.next/server/app/test/[testId]/page/server-reference-manifest.json +1 -4
- package/.next/server/app/test/[testId]/page.js +12 -14
- package/.next/server/app/test/[testId]/page.js.nft.json +1 -1
- package/.next/server/app/test/[testId]/page_client-reference-manifest.js +2 -1
- package/.next/server/chunks/[externals]__0m-sipc._.js +3 -0
- package/.next/server/chunks/{[externals]__f52e4eb0._.js → [externals]__124ywe.._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0126wt3._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__016m3l7._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0bgp.n9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0jh2b8b._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0k26p~k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nglzhr._.js +13 -0
- package/.next/server/chunks/[root-of-the-server]__0x8r-.9._.js +3 -0
- package/.next/server/chunks/[turbopack]_runtime.js +168 -60
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/.next/server/chunks/node_modules_next_dist_06kebd7._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0.zquoa._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__05ct2gl._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0eqd2za._.js +33 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0jmj6g1._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0mgphg.._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uyy96m._.js +4 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0v5vgt4._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0we7bel._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10xgshr._.js +33 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +168 -60
- package/.next/server/chunks/ssr/_0dvn4a6._.js +6 -0
- package/.next/server/chunks/ssr/_0jkkbka._.js +7 -0
- package/.next/server/chunks/ssr/_0nfs~1l._.js +5 -0
- package/.next/server/chunks/ssr/_0pa59oo._.js +3 -0
- package/.next/server/chunks/ssr/_11mmbg~._.js +5 -0
- 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
- 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
- package/.next/server/chunks/ssr/node_modules_09w7yel._.js +33 -0
- package/.next/server/chunks/ssr/node_modules_0aem7sr._.js +19 -0
- package/.next/server/chunks/ssr/node_modules_@swc_helpers_cjs__interop_require_default_cjs_11~q6fv._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js +6 -0
- package/.next/server/chunks/ssr/{node_modules_next_dist_client_components_9774470f._.js → node_modules_next_dist_client_components_0inhx6q._.js} +2 -2
- 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
- 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
- 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
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01ycdec.js +4 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bj8dkg.js +4 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0cvrgh7.js +4 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +4 -0
- package/.next/server/chunks/ssr/{src_ce5be59b._.js → src_0udngk~._.js} +3 -3
- package/.next/server/chunks/ssr/src_components_ui_toaster_tsx_0cainpy._.js +3 -0
- package/.next/server/middleware-build-manifest.js +12 -12
- package/.next/server/prefetch-hints.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +3 -9
- package/.next/static/RgESZIprcZznm98mxUv-O/_clientMiddlewareManifest.js +1 -0
- package/.next/static/chunks/00g8rbqi0h8lk.js +1 -0
- package/.next/static/chunks/01xlw8hd842-c.js +1 -0
- package/.next/static/chunks/04j4.hz_cv-pf.js +1 -0
- package/.next/static/chunks/07uz2g0_38qia.js +4 -0
- package/.next/static/chunks/0b8rufmwi4-6v.js +1 -0
- package/.next/static/chunks/0fwam_-pec8pg.js +2 -0
- package/.next/static/chunks/0gsquco4lyvb4.js +1 -0
- package/.next/static/chunks/0h4bq73pogmtb.js +1 -0
- package/.next/static/chunks/0imfvrlr~2q89.js +31 -0
- package/.next/static/chunks/0m5-x6u~hwh1m.js +1 -0
- package/.next/static/chunks/0mzwfspg4216r.js +1 -0
- package/.next/static/chunks/0p.r891xm97do.js +1 -0
- package/.next/static/chunks/0w0gkm45qpujx.js +5 -0
- package/.next/static/chunks/0~ariudu4in54.js +1 -0
- package/.next/static/chunks/13mqc.b~s2gjo.js +1 -0
- package/.next/static/chunks/14rqub-mhf1rm.css +1 -0
- package/.next/static/chunks/15y_~8vy363bg.js +3 -0
- package/.next/static/chunks/16navnbzwbp36.js +1 -0
- package/.next/static/chunks/17~ltcjkf11xe.js +3 -0
- package/.next/static/chunks/1860zsbcg5z1o.js +1 -0
- package/.next/static/chunks/turbopack-11rw6yhug.je0.js +1 -0
- package/LICENSE +21 -202
- package/README.md +22 -1
- package/bin/pulse-dashboard.js +49 -3
- package/dist/app/actions.d.ts +3 -1
- package/dist/app/actions.d.ts.map +1 -1
- package/dist/app/actions.js +51 -13
- package/dist/app/actions.js.map +1 -1
- package/dist/components/pulse-dashboard/DashboardOverviewCharts.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx +530 -235
- package/dist/components/pulse-dashboard/DashboardOverviewCharts.jsx.map +1 -1
- package/dist/components/pulse-dashboard/FailureCategorizationView.d.ts +1 -2
- package/dist/components/pulse-dashboard/FailureCategorizationView.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/FailureCategorizationView.jsx +168 -51
- package/dist/components/pulse-dashboard/FailureCategorizationView.jsx.map +1 -1
- package/dist/components/pulse-dashboard/FlakyTestsWidget.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx +90 -75
- package/dist/components/pulse-dashboard/FlakyTestsWidget.jsx.map +1 -1
- package/dist/components/pulse-dashboard/LiveTestResults.d.ts +1 -1
- package/dist/components/pulse-dashboard/LiveTestResults.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/LiveTestResults.jsx +73 -36
- package/dist/components/pulse-dashboard/LiveTestResults.jsx.map +1 -1
- package/dist/components/pulse-dashboard/PulseCommandView.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/PulseCommandView.jsx +14 -4
- package/dist/components/pulse-dashboard/PulseCommandView.jsx.map +1 -1
- package/dist/components/pulse-dashboard/PulseDashboard.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/PulseDashboard.jsx +1 -2
- package/dist/components/pulse-dashboard/PulseDashboard.jsx.map +1 -1
- package/dist/components/pulse-dashboard/SettingsView.jsx +2 -2
- package/dist/components/pulse-dashboard/SettingsView.jsx.map +1 -1
- package/dist/components/pulse-dashboard/SummaryMetrics.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/SummaryMetrics.jsx +75 -19
- package/dist/components/pulse-dashboard/SummaryMetrics.jsx.map +1 -1
- package/dist/components/pulse-dashboard/SystemInformationWidget.d.ts +3 -3
- package/dist/components/pulse-dashboard/SystemInformationWidget.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/SystemInformationWidget.jsx +125 -41
- package/dist/components/pulse-dashboard/SystemInformationWidget.jsx.map +1 -1
- package/dist/components/pulse-dashboard/TestDetailsClientPage.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx +689 -536
- package/dist/components/pulse-dashboard/TestDetailsClientPage.jsx.map +1 -1
- package/dist/components/pulse-dashboard/TestItem.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/TestItem.jsx +18 -8
- package/dist/components/pulse-dashboard/TestItem.jsx.map +1 -1
- package/dist/components/pulse-dashboard/TestStepItemRecursive.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/TestStepItemRecursive.jsx +3 -3
- package/dist/components/pulse-dashboard/TestStepItemRecursive.jsx.map +1 -1
- package/dist/components/pulse-dashboard/TrendAnalysis.d.ts.map +1 -1
- package/dist/components/pulse-dashboard/TrendAnalysis.jsx +53 -17
- package/dist/components/pulse-dashboard/TrendAnalysis.jsx.map +1 -1
- package/dist/components/ui/alert.jsx +1 -1
- package/dist/components/ui/alert.jsx.map +1 -1
- package/dist/components/ui/button.jsx +3 -3
- package/dist/components/ui/card.jsx +1 -1
- package/dist/components/ui/card.jsx.map +1 -1
- package/dist/components/ui/tabs.jsx +2 -2
- package/dist/components/ui/tabs.jsx.map +1 -1
- package/dist/lib/testUtils.d.ts +12 -0
- package/dist/lib/testUtils.d.ts.map +1 -0
- package/dist/lib/testUtils.js +37 -0
- package/dist/lib/testUtils.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/types/playwright.d.ts +7 -3
- package/dist/types/playwright.d.ts.map +1 -1
- package/package.json +13 -8
- package/.next/server/chunks/[root-of-the-server]__06c6346e._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__42738744._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__7113a113._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__71e0e3b9._.js +0 -21
- package/.next/server/chunks/[root-of-the-server]__74bb0547._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__9f88b7b7._.js +0 -4
- package/.next/server/chunks/[root-of-the-server]__c159e29b._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__d7fdaf5c._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__15600e29._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__22ecdfea._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__4a382b8f._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__71dd9d42._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__77c90d39._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__84313e76._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__aed7e4d8._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__b3b1f5eb._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__b9356576._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__c507bbfe._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__c829c7d1._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__efd22fba._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__f682065b._.js +0 -3
- package/.next/server/chunks/ssr/_178fc551._.js +0 -5
- package/.next/server/chunks/ssr/_3635f42f._.js +0 -3
- package/.next/server/chunks/ssr/_3f2f13a0._.js +0 -5
- package/.next/server/chunks/ssr/_42495f68._.js +0 -7
- package/.next/server/chunks/ssr/_7bd96dfb._.js +0 -4
- package/.next/server/chunks/ssr/_97aa43fe._.js +0 -6
- package/.next/server/chunks/ssr/_c1309523._.js +0 -4
- package/.next/server/chunks/ssr/node_modules_256e9ddd._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_entities_lib_maps_6c3ea140._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_174ae28d._.js +0 -10
- package/.next/server/chunks/ssr/node_modules_next_dist_4b9a0874._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_65a7265e.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +0 -6
- package/.next/server/chunks/ssr/src_components_ui_toaster_tsx_475f3ca1._.js +0 -3
- package/.next/static/chunks/0f33d151720dd9be.js +0 -1
- package/.next/static/chunks/42ac08e824892d98.js +0 -3
- package/.next/static/chunks/4aba24f188aab88f.js +0 -1
- package/.next/static/chunks/5413d7a3986e863a.css +0 -1
- package/.next/static/chunks/5ccfb5a289153a0c.js +0 -1
- package/.next/static/chunks/5cedbe3d28acc407.js +0 -4
- package/.next/static/chunks/7ed4bd6bf5216809.js +0 -1
- package/.next/static/chunks/836027b6298d8236.js +0 -5
- package/.next/static/chunks/90e8775562b10304.js +0 -1
- package/.next/static/chunks/952cc6d18d6c0e81.js +0 -1
- package/.next/static/chunks/9ac02f87b0542bfe.js +0 -1
- package/.next/static/chunks/b451c069ec473146.js +0 -1
- package/.next/static/chunks/bb0500a106848313.js +0 -1
- package/.next/static/chunks/c9bfc6dc89d94445.js +0 -2
- package/.next/static/chunks/cb4802d54f2ae8f7.js +0 -3
- package/.next/static/chunks/cdad36853a3d0cf6.js +0 -1
- package/.next/static/chunks/d4b4a1ad90e2acdb.js +0 -1
- package/.next/static/chunks/e82964c236ab8171.js +0 -1
- package/.next/static/chunks/ec55f44e251b8481.js +0 -1
- package/.next/static/chunks/fc9b3392d13f74a4.js +0 -1
- package/.next/static/chunks/ff1a16fafef87110.js +0 -1
- package/.next/static/chunks/turbopack-4063ae190c9edad5.js +0 -4
- package/.next/static/h7udJfXH3pEIZIFFB4Jiu/_clientMiddlewareManifest.json +0 -1
- /package/.next/static/{h7udJfXH3pEIZIFFB4Jiu → RgESZIprcZznm98mxUv-O}/_buildManifest.js +0 -0
- /package/.next/static/{h7udJfXH3pEIZIFFB4Jiu → RgESZIprcZznm98mxUv-O}/_ssgManifest.js +0 -0
- /package/.next/static/chunks/{a6dad97d9634a72d.js → 03~yq9q893hmn.js} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35451,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var a=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?a=n.concat(a):c=-1,a.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=a.length;t;){for(n=a,a=[];++c<t;)n&&n[c].run();c=-1,t=a.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];a.push(new p(e,t)),1!==a.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},u=!0;try{n[e](r,r.exports,i),u=!1}finally{u&&delete o[e]}return r.exports}i.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=i(229)},47167,(e,t,r)=>{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(35451)},45689,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},43476,(e,t,r)=>{"use strict";t.exports=e.r(45689)},50740,(e,t,r)=>{"use strict";var n=e.i(47167),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),g=Symbol.for("react.view_transition"),_=Symbol.iterator,b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function x(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||b}function S(){}function O(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=x.prototype;var j=O.prototype=new S;j.constructor=O,v(j,x.prototype),j.isPureReactComponent=!0;var E=Array.isArray;function T(){}var w={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function P(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var M=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function H(e,t,r){if(null==e)return e;var n=[],u=0;return!function e(t,r,n,u,s){var a,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case i:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,u,s)}}if(d)return s=s(t),d=""===u?"."+C(t,0):u,E(s)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(A(s)&&(a=s,l=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(M,"$&/")+"/")+d,s=P(a.type,l,a.props)),r.push(s)),1;d=0;var p=""===u?".":u+":";if(E(t))for(var h=0;h<t.length;h++)f=p+C(u=t[h],h),d+=e(u,r,n,f,s);else if("function"==typeof(h=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=_&&c[_]||c["@@iterator"])?c:null))for(t=h.call(t),h=0;!(u=t.next()).done;)f=p+C(u=u.value,h++),d+=e(u,r,n,f,s);else if("object"===f){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(T,T):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,u,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,u++)}),n}function k(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function U(e){var t=w.T,r={};r.types=null!==t?t.types:null,w.T=r;try{var n=e(),o=w.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(T,N)}catch(e){N(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),w.T=t}}function L(e){var t=w.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else U(L.bind(null,e))}r.Activity=h,r.Children={map:H,forEach:function(e,t,r){H(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return H(e,function(){t++}),t},toArray:function(e){return H(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=x,r.Fragment=u,r.Profiler=a,r.PureComponent=O,r.StrictMode=s,r.Suspense=d,r.ViewTransition=g,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},r.addTransitionType=L,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=v({},e.props),o=e.key;if(null!=t)for(i in void 0!==t.key&&(o=""+t.key),t)R.call(t,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&("ref"!==i||void 0!==t.ref)&&(n[i]=t[i]);var i=arguments.length-2;if(1===i)n.children=r;else if(1<i){for(var u=Array(i),s=0;s<i;s++)u[s]=arguments[s+2];n.children=u}return P(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},r.createElement=function(e,t,r){var n,o={},i=null;if(null!=t)for(n in void 0!==t.key&&(i=""+t.key),t)R.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),a=0;a<u;a++)s[a]=arguments[a+2];o.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return P(e,i,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:f,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:k}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=U,r.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},r.use=function(e){return w.H.use(e)},r.useActionState=function(e,t,r){return w.H.useActionState(e,t,r)},r.useCallback=function(e,t){return w.H.useCallback(e,t)},r.useContext=function(e){return w.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return w.H.useEffect(e,t)},r.useEffectEvent=function(e){return w.H.useEffectEvent(e)},r.useId=function(){return w.H.useId()},r.useImperativeHandle=function(e,t,r){return w.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return w.H.useMemo(e,t)},r.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return w.H.useReducer(e,t,r)},r.useRef=function(e){return w.H.useRef(e)},r.useState=function(e){return w.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return w.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return w.H.useTransition()},r.version="19.3.0-canary-3f0b9e61-20260317"},71645,(e,t,r)=>{"use strict";t.exports=e.r(50740)},18800,(e,t,r)=>{"use strict";var n=e.r(71645);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal"),a=Symbol.for("react.optimistic_key"),l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:n===a?a:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},r.flushSync=function(e){var t=l.T,r=u.p;try{if(l.T=null,u.p=2,e)return e()}finally{l.T=t,u.p=r,u.d.f()}},r.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,u.d.C(e,t))},r.prefetchDNS=function(e){"string"==typeof e&&u.d.D(e)},r.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=c(r,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,i="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?u.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:o,fetchPriority:i}):"script"===r&&u.d.X(e,{crossOrigin:n,integrity:o,fetchPriority:i,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},r.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=c(t.as,t.crossOrigin);u.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&u.d.M(e)},r.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=c(r,t.crossOrigin);u.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},r.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=c(t.as,t.crossOrigin);u.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else u.d.m(e)},r.requestFormReset=function(e){u.d.r(e)},r.unstable_batchedUpdates=function(e,t){return e(t)},r.useFormState=function(e,t,r){return l.H.useFormState(e,t,r)},r.useFormStatus=function(){return l.H.useHostTransitionStatus()},r.version="19.3.0-canary-3f0b9e61-20260317"},74080,(e,t,r)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(18800)},55682,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},90317,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class u{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return s?new s:new u}function l(e){return s?s.bind(e):u.bind(e)}function c(){return s?s.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(42344)},12354,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n="u"<typeof window?e.r(63599).workAsyncStorage:void 0;function o({error:e}){if(n){let t=n.getStore();if(t?.isStaticGeneration)throw e&&console.error(e),e}}("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)},90373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return i}});let n=e.r(71645),o=e.r(61994);function i(){return!function(){if("u"<typeof window){let{workUnitAsyncStorage:t}=e.r(62141),r=t.getStore();if(!r)return!1;switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"validation-client":let n=r.fallbackRouteParams;return!!n&&n.size>0}}return!1}()?(0,n.useContext)(o.PathnameContext):null}("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)},78377,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return u},useNavFailureHandler:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(71645);let i=e.r(51191);function u(e){return!!(e&&"u">typeof window)&&!!window.next.__pendingUrl&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==(0,i.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function s(){}("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)},72383,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),u=e.r(43476),s=i._(e.r(71645)),a=e.r(90373),l=e.r(65713);e.r(78377);let c=e.r(12354),f=e.r(82604),d=e.r(8372),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class y extends s.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.unstable_retry=()=>{(0,s.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,l.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error&&!p?((0,c.handleISRError)({error:this.state.error}),(0,u.jsxs)(u.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,u.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset,unstable_retry:this.unstable_retry})]})):this.props.children}}function h({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let o=(0,a.useUntrackedPathname)();return e?(0,u.jsx)(y,{pathname:o,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,u.jsx)(u.Fragment,{children:n})}("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)},58442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),u=e.r(43476),s=i._(e.r(71645)),a=e.r(76562),l=e.r(24063),c=e.r(68391);function f({redirect:e,reset:t,redirectType:r}){let n=(0,a.useRouter)();return(0,s.useEffect)(()=>{s.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends s.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,l.getURLFromRedirectError)(e),r=(0,l.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,u.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,a.useRouter)();return(0,u.jsx)(d,{router:t,children:e})}("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)},70725,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=e.r(13258);function o(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("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)},1244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("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)},97367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return s},OutletBoundary:function(){return l},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(54839),u={[i.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[i.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[i.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[i.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},s=u[i.METADATA_BOUNDARY_NAME.slice(0)],a=u[i.VIEWPORT_BOUNDARY_NAME.slice(0)],l=u[i.OUTLET_BOUNDARY_NAME.slice(0)],c=u[i.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},42732,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext({})},18576,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={WarningIcon:function(){return a},errorStyles:function(){return u},errorThemeCss:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(55682);let i=e.r(43476);e.r(71645);let u={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=`
|
|
2
|
+
:root {
|
|
3
|
+
--next-error-bg: #fff;
|
|
4
|
+
--next-error-text: #171717;
|
|
5
|
+
--next-error-title: #171717;
|
|
6
|
+
--next-error-message: #171717;
|
|
7
|
+
--next-error-digest: #666666;
|
|
8
|
+
--next-error-btn-text: #fff;
|
|
9
|
+
--next-error-btn-bg: #171717;
|
|
10
|
+
--next-error-btn-border: none;
|
|
11
|
+
--next-error-btn-secondary-text: #171717;
|
|
12
|
+
--next-error-btn-secondary-bg: transparent;
|
|
13
|
+
--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);
|
|
14
|
+
}
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
:root {
|
|
17
|
+
--next-error-bg: #0a0a0a;
|
|
18
|
+
--next-error-text: #ededed;
|
|
19
|
+
--next-error-title: #ededed;
|
|
20
|
+
--next-error-message: #ededed;
|
|
21
|
+
--next-error-digest: #a0a0a0;
|
|
22
|
+
--next-error-btn-text: #0a0a0a;
|
|
23
|
+
--next-error-btn-bg: #ededed;
|
|
24
|
+
--next-error-btn-border: none;
|
|
25
|
+
--next-error-btn-secondary-text: #ededed;
|
|
26
|
+
--next-error-btn-secondary-bg: transparent;
|
|
27
|
+
--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }
|
|
31
|
+
`.replace(/\n\s*/g,"");function a(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:u.icon,children:(0,i.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof 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)},68027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}}),e.r(55682);let n=e.r(43476);e.r(71645);let o=e.r(12354),i=e.r(18576),u=function({error:e}){let t=e?.digest,r=!!t;return(0,o.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:i.errorStyles.container,children:(0,n.jsxs)("div",{style:i.errorStyles.card,children:[(0,n.jsx)(i.WarningIcon,{}),(0,n.jsx)("h1",{style:i.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:i.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:i.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("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)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43369,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var u={getAssetToken:function(){return i},getAssetTokenQuery:function(){return s},getDeploymentId:function(){return a},getDeploymentIdQuery:function(){return l}};for(var o in u)Object.defineProperty(n,o,{enumerable:!0,get:u[o]});function a(){return r}function l(e=!1){let t=r;return t?`${e?"&":"?"}dpl=${t}`:""}function i(){return!1}function s(e=!1){return""}"u">typeof window?(r=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId):r=void 0},12718,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},32061,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={BailoutToCSRError:function(){return a},isBailoutToCSRError:function(){return l}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o="BAILOUT_TO_CLIENT_SIDE_RENDERING";class a extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=o}}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===o}},64893,(e,t,n)=>{"use strict";var r=e.r(74080),u={stream:!0},o=Object.prototype.hasOwnProperty;function a(t){var n=e.r(t);return"function"!=typeof n.then||"fulfilled"===n.status?null:(n.then(function(e){n.status="fulfilled",n.value=e},function(e){n.status="rejected",n.reason=e}),n)}var l=new WeakSet,i=new WeakSet;function s(){}function c(t){for(var n=t[1],r=[],u=0;u<n.length;u++){var o=e.L(n[u]);if(i.has(o)||r.push(o),!l.has(o)){var c=i.add.bind(i,o);o.then(c,s),l.add(o)}}return 4===t.length?0===r.length?a(t[0]):Promise.all(r).then(function(){return a(t[0])}):0<r.length?Promise.all(r):null}function f(t){var n=e.r(t[0]);if(4===t.length&&"function"==typeof n.then)if("fulfilled"===n.status)n=n.value;else throw n.reason;return"*"===t[2]?n:""===t[2]?n.__esModule?n.default:n:o.call(n,t[2])?n[t[2]]:void 0}var d=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p=Symbol.for("react.transitional.element"),v=Symbol.for("react.lazy"),h=Symbol.iterator,_=Symbol.asyncIterator,y=Array.isArray,b=Object.getPrototypeOf,g=Object.prototype,E=new WeakMap;function m(e,t,n){E.has(e)||E.set(e,{id:t,originalBind:e.bind,bound:n})}function R(e,t,n){this.status=e,this.value=t,this.reason=n}function O(e){switch(e.status){case"resolved_model":I(e);break;case"resolved_module":M(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"halted":throw e;default:throw e.reason}}function w(){return new R("pending",null,null)}function S(e,t,n,r){for(var u=0;u<t.length;u++){var o=t[u];"function"==typeof o?o(n):L(e,o,n,r)}}function T(e,t,n){for(var r=0;r<t.length;r++){var u=t[r];"function"==typeof u?u(n):H(e,u.handler,n)}}function j(e,t){var n=t.handler.chunk;if(null===n)return null;if(n===e)return t.handler;if(null!==(t=n.value))for(n=0;n<t.length;n++){var r=t[n];if("function"!=typeof r&&null!==(r=j(e,r)))return r}return null}function A(e,t,n,r){switch(t.status){case"fulfilled":S(e,n,t.value,t);break;case"blocked":for(var u=0;u<n.length;u++){var o=n[u];if("function"!=typeof o){var a=j(t,o);if(null!==a)switch(L(e,o,a.value,t),n.splice(u,1),u--,null!==r&&-1!==(o=r.indexOf(o))&&r.splice(o,1),t.status){case"fulfilled":S(e,n,t.value,t);return;case"rejected":null!==r&&T(e,r,t.reason);return}}}case"pending":if(t.value)for(e=0;e<n.length;e++)t.value.push(n[e]);else t.value=n;if(t.reason){if(r)for(n=0;n<r.length;n++)t.reason.push(r[n])}else t.reason=r;break;case"rejected":r&&T(e,r,t.reason)}}function P(e,t,n){if("pending"!==t.status&&"blocked"!==t.status)t.reason.error(n);else{var r=t.reason;t.status="rejected",t.reason=n,null!==r&&T(e,r,n)}}function k(e,t,n){return new R("resolved_model",(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}",e)}function N(e,t,n,r){C(e,t,(r?'{"done":true,"value":':'{"done":false,"value":')+n+"}")}function C(e,t,n){if("pending"!==t.status)t.reason.enqueueModel(n);else{var r=t.value,u=t.reason;t.status="resolved_model",t.value=n,t.reason=e,null!==r&&(I(t),A(e,t,r,u))}}function D(e,t,n){if("pending"===t.status||"blocked"===t.status){var r=t.value,u=t.reason;t.status="resolved_module",t.value=n,t.reason=null,null!==r&&(M(t),A(e,t,r,u))}}R.prototype=Object.create(Promise.prototype),R.prototype.then=function(e,t){switch(this.status){case"resolved_model":I(this);break;case"resolved_module":M(this)}switch(this.status){case"fulfilled":"function"==typeof e&&e(this.value);break;case"pending":case"blocked":"function"==typeof e&&(null===this.value&&(this.value=[]),this.value.push(e)),"function"==typeof t&&(null===this.reason&&(this.reason=[]),this.reason.push(t));break;case"halted":break;default:"function"==typeof t&&t(this.reason)}};var x=null;function I(e){var t=x;x=null;var n=e.value,r=e.reason;e.status="blocked",e.value=null,e.reason=null;try{var u=el(r,n),o=e.value;if(null!==o)for(e.value=null,e.reason=null,n=0;n<o.length;n++){var a=o[n];"function"==typeof a?a(u):L(r,a,u,e)}if(null!==x){if(x.errored)throw x.reason;if(0<x.deps){x.value=u,x.chunk=e;return}}e.status="fulfilled",e.value=u,e.reason=null}catch(t){e.status="rejected",e.reason=t}finally{x=t}}function M(e){try{var t=f(e.value);e.status="fulfilled",e.value=t,e.reason=null}catch(t){e.status="rejected",e.reason=t}}function $(e,t){e._closed=!0,e._closedReason=t,e._chunks.forEach(function(n){"pending"===n.status?P(e,n,t):"fulfilled"===n.status&&null!==n.reason&&n.reason.error(t)})}function F(e){return{$$typeof:v,_payload:e,_init:O}}function U(e,t){var n=e._chunks,r=n.get(t);return r||(e._closed?e._allowPartialStream?((e=r=w()).status="halted",e.value=null,e.reason=null):r=new R("rejected",null,e._closedReason):r=w(),n.set(t,r)),r}function L(e,t,n){var r=t.handler,u=t.parentObject,a=t.key,l=t.map,i=t.path;try{for(var s=1;s<i.length;s++){for(;"object"==typeof n&&null!==n&&n.$$typeof===v;){var c=n._payload;if(c===r.chunk)n=r.value;else{switch(c.status){case"resolved_model":I(c);break;case"resolved_module":M(c)}switch(c.status){case"fulfilled":n=c.value;continue;case"blocked":var f=j(c,t);if(null!==f){n=f.value;continue}case"pending":i.splice(0,s-1),null===c.value?c.value=[t]:c.value.push(t),null===c.reason?c.reason=[t]:c.reason.push(t);return;case"halted":return;default:H(e,t.handler,c.reason);return}}}var d=i[s];if("object"==typeof n&&null!==n&&o.call(n,d))n=n[d];else throw Error("Invalid reference.")}for(;"object"==typeof n&&null!==n&&n.$$typeof===v;){var h=n._payload;if(h===r.chunk)n=r.value;else{switch(h.status){case"resolved_model":I(h);break;case"resolved_module":M(h)}if("fulfilled"===h.status){n=h.value;continue}break}}var _=l(e,n,u,a);if("__proto__"!==a&&(u[a]=_),""===a&&null===r.value&&(r.value=_),u[0]===p&&"object"==typeof r.value&&null!==r.value&&r.value.$$typeof===p){var y=r.value;"3"===a&&(y.props=_)}}catch(n){H(e,t.handler,n);return}r.deps--,0===r.deps&&null!==(t=r.chunk)&&"blocked"===t.status&&(n=t.value,t.status="fulfilled",t.value=r.value,t.reason=r.reason,null!==n&&S(e,n,r.value,t))}function H(e,t,n){t.errored||(t.errored=!0,t.value=null,t.reason=n,null!==(t=t.chunk)&&"blocked"===t.status&&P(e,t,n))}function X(e,t,n,r,u,o){return x?(r=x,r.deps++):r=x={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},t={handler:r,parentObject:t,key:n,map:u,path:o},null===e.value?e.value=[t]:e.value.push(t),null===e.reason?e.reason=[t]:e.reason.push(t),null}function B(e,t,n,r){if(!e._serverReferenceConfig)return function(e,t){function n(){var e=Array.prototype.slice.call(arguments);return u?"fulfilled"===u.status?t(r,u.value.concat(e)):Promise.resolve(u).then(function(n){return t(r,n.concat(e))}):t(r,e)}var r=e.id,u=e.bound;return m(n,r,u),n}(t,e._callServer);var u=function(e,t){var n="",r=e[t];if(r)n=r.name;else{var u=t.lastIndexOf("#");if(-1!==u&&(n=t.slice(u+1),r=e[t.slice(0,u)]),!r)throw Error('Could not find the module "'+t+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return r.async?[r.id,r.chunks,n,1]:[r.id,r.chunks,n]}(e._serverReferenceConfig,t.id),o=c(u);if(o)t.bound&&(o=Promise.all([o,t.bound]));else{if(!t.bound)return m(o=f(u),t.id,t.bound),o;o=Promise.resolve(t.bound)}if(x){var a=x;a.deps++}else a=x={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return o.then(function(){var o=f(u);if(t.bound){var l=t.bound.value.slice(0);l.unshift(null),o=o.bind.apply(o,l)}m(o,t.id,t.bound),"__proto__"!==r&&(n[r]=o),""===r&&null===a.value&&(a.value=o),n[0]===p&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===p&&(l=a.value,"3"===r)&&(l.props=o),a.deps--,0===a.deps&&null!==(o=a.chunk)&&"blocked"===o.status&&(l=o.value,o.status="fulfilled",o.value=a.value,o.reason=null,null!==l&&S(e,l,a.value,o))},function(t){if(!a.errored){a.errored=!0,a.value=null,a.reason=t;var n=a.chunk;null!==n&&"blocked"===n.status&&P(e,n,t)}}),null}function W(e,t,n,r,u){var o=parseInt((t=t.split(":"))[0],16);switch((o=U(e,o)).status){case"resolved_model":I(o);break;case"resolved_module":M(o)}switch(o.status){case"fulfilled":o=o.value;for(var a=1;a<t.length;a++){for(;"object"==typeof o&&null!==o&&o.$$typeof===v;){switch((o=o._payload).status){case"resolved_model":I(o);break;case"resolved_module":M(o)}switch(o.status){case"fulfilled":o=o.value;break;case"blocked":case"pending":return X(o,n,r,e,u,t.slice(a-1));case"halted":return x?(e=x,e.deps++):x={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return x?(x.errored=!0,x.value=null,x.reason=o.reason):x={parent:null,chunk:null,value:null,reason:o.reason,deps:0,errored:!0},null}}o=o[t[a]]}for(;"object"==typeof o&&null!==o&&o.$$typeof===v;){switch((t=o._payload).status){case"resolved_model":I(t);break;case"resolved_module":M(t)}if("fulfilled"===t.status){o=t.value;continue}break}return u(e,o,n,r);case"pending":case"blocked":return X(o,n,r,e,u,t);case"halted":return x?(e=x,e.deps++):x={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return x?(x.errored=!0,x.value=null,x.reason=o.reason):x={parent:null,chunk:null,value:null,reason:o.reason,deps:0,errored:!0},null}}function q(e,t){return new Map(t)}function G(e,t){return new Set(t)}function V(e,t){return new Blob(t.slice(1),{type:t[0]})}function K(e,t){e=new FormData;for(var n=0;n<t.length;n++)e.append(t[n][0],t[n][1]);return e}function J(e,t){return t[Symbol.iterator]()}function Q(e,t){return t}function Y(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function z(e,t,n,r,u,o,a,l){var i=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=n,this._callServer=void 0!==r?r:Y,this._encodeFormAction=u,this._nonce=o,this._chunks=i,this._stringDecoder=new TextDecoder,this._closed=!1,this._closedReason=null,this._allowPartialStream=l,this._tempRefs=a}function Z(e,t,n){var r=(e=e._chunks).get(t);r&&"pending"!==r.status?r.reason.enqueueValue(n):(n=new R("fulfilled",n,null),e.set(t,n))}function ee(e,t,n,r){var u=e._chunks,o=u.get(t);o?"pending"===o.status&&(t=o.value,o.status="fulfilled",o.value=n,o.reason=r,null!==t&&S(e,t,o.value,o)):(e=new R("fulfilled",n,r),u.set(t,e))}function et(e,t,n){var r=null,u=!1;n=new ReadableStream({type:n,start:function(e){r=e}});var o=null;ee(e,t,n,{enqueueValue:function(e){null===o?r.enqueue(e):o.then(function(){r.enqueue(e)})},enqueueModel:function(t){if(null===o){var n=new R("resolved_model",t,e);I(n),"fulfilled"===n.status?r.enqueue(n.value):(n.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=n)}else{n=o;var u=w();u.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=u,n.then(function(){o===u&&(o=null),C(e,u,t)})}},close:function(){if(!u)if(u=!0,null===o)r.close();else{var e=o;o=null,e.then(function(){return r.close()})}},error:function(e){if(!u)if(u=!0,null===o)r.error(e);else{var t=o;o=null,t.then(function(){return r.error(e)})}}})}function en(){return this}function er(e,t,n){var r=[],u=!1,o=0,a={};a[_]=function(){var e,t=0;return(e={next:e=function(e){if(void 0!==e)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(t===r.length){if(u)return new R("fulfilled",{done:!0,value:void 0},null);r[t]=w()}return r[t++]}})[_]=en,e},ee(e,t,n?a[_]():a,{enqueueValue:function(t){if(o===r.length)r[o]=new R("fulfilled",{done:!1,value:t},null);else{var n=r[o],u=n.value,a=n.reason;n.status="fulfilled",n.value={done:!1,value:t},n.reason=null,null!==u&&A(e,n,u,a)}o++},enqueueModel:function(t){o===r.length?r[o]=k(e,t,!1):N(e,r[o],t,!1),o++},close:function(t){if(!u)for(u=!0,o===r.length?r[o]=k(e,t,!0):N(e,r[o],t,!0),o++;o<r.length;)N(e,r[o++],'"$undefined"',!0)},error:function(t){if(!u)for(u=!0,o===r.length&&(r[o]=w());o<r.length;)P(e,r[o++],t)}})}function eu(){var e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return e.stack="Error: "+e.message,e}function eo(e,t){for(var n=e.length,r=t.length,u=0;u<n;u++)r+=e[u].byteLength;r=new Uint8Array(r);for(var o=u=0;o<n;o++){var a=e[o];r.set(a,u),u+=a.byteLength}return r.set(t,u),r}function ea(e,t,n,r,u,o){Z(e,t,u=new u((n=0===n.length&&0==r.byteOffset%o?r:eo(n,r)).buffer,n.byteOffset,n.byteLength/o))}function el(e,t){return function e(t,n,r,u){if("string"==typeof n)return"$"===n[0]?function(e,t,n,r){if("$"===r[0]){if("$"===r)return null!==x&&"0"===n&&(x={parent:x,chunk:null,value:null,reason:null,deps:0,errored:!1}),p;switch(r[1]){case"$":return r.slice(1);case"L":return F(e=U(e,t=parseInt(r.slice(2),16)));case"@":return U(e,t=parseInt(r.slice(2),16));case"S":return Symbol.for(r.slice(2));case"h":return W(e,r=r.slice(2),t,n,B);case"T":if(t="$"+r.slice(2),null==(e=e._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return e.get(t);case"Q":return W(e,r=r.slice(2),t,n,q);case"W":return W(e,r=r.slice(2),t,n,G);case"B":return W(e,r=r.slice(2),t,n,V);case"K":return W(e,r=r.slice(2),t,n,K);case"Z":return eu();case"i":return W(e,r=r.slice(2),t,n,J);case"I":return 1/0;case"-":return"$-0"===r?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(r.slice(2)));case"n":return BigInt(r.slice(2));default:return W(e,r=r.slice(1),t,n,Q)}}return r}(t,r,u,n):n;if("object"!=typeof n||null===n)return n;if(y(n)){for(var o=0;o<n.length;o++)n[o]=e(t,n[o],n,""+o);return n[0]===p?(n[0]===p?(t={$$typeof:p,type:n[1],key:n[2],ref:null,props:n[3]},null!==x&&(x=(n=x).parent,n.errored?t=F(t=new R("rejected",null,n.reason)):0<n.deps&&(o=new R("blocked",null,null),n.value=t,n.chunk=o,t=F(o)))):t=n,t):n}for(o in n)"__proto__"===o?delete n[o]:void 0!==(r=e(t,n[o],n,o))?n[o]=r:delete n[o];return n}(e,t=JSON.parse(t),{"":t},"")}function ei(e){e._allowPartialStream?(e._closed=!0,e._chunks.forEach(function(e){"pending"===e.status?(e.status="halted",e.value=null,e.reason=null):"fulfilled"===e.status&&null!==e.reason&&e.reason.close('"$undefined"')})):$(e,Error("Connection closed."))}function es(e){return new z(null,null,null,e&&e.callServer?e.callServer:void 0,void 0,void 0,e&&e.temporaryReferences?e.temporaryReferences:void 0,!!e&&!!e.unstable_allowPartialStream&&e.unstable_allowPartialStream)}function ec(e,t,n){function r(t){$(e,t)}var o={_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]},a=t.getReader();a.read().then(function t(l){var i=l.value;if(l.done)return n();var s=0,f=o._rowState;l=o._rowID;for(var p=o._rowTag,v=o._rowLength,h=o._buffer,_=i.length;s<_;){var y=-1;switch(f){case 0:58===(y=i[s++])?f=1:l=l<<4|(96<y?y-87:y-48);continue;case 1:84===(f=i[s])||65===f||79===f||111===f||98===f||85===f||83===f||115===f||76===f||108===f||71===f||103===f||77===f||109===f||86===f?(p=f,f=2,s++):64<f&&91>f||35===f||114===f||120===f?(p=f,f=3,s++):(p=0,f=3);continue;case 2:44===(y=i[s++])?f=4:v=v<<4|(96<y?y-87:y-48);continue;case 3:y=i.indexOf(10,s);break;case 4:(y=s+v)>i.length&&(y=-1)}var b=i.byteOffset+s;if(-1<y)v=new Uint8Array(i.buffer,b,y-s),98===p?Z(e,l,y===_?v:v.slice()):function(e,t,n,r,o,a){switch(r){case 65:Z(e,n,eo(o,a).buffer);return;case 79:ea(e,n,o,a,Int8Array,1);return;case 111:Z(e,n,0===o.length?a:eo(o,a));return;case 85:ea(e,n,o,a,Uint8ClampedArray,1);return;case 83:ea(e,n,o,a,Int16Array,2);return;case 115:ea(e,n,o,a,Uint16Array,2);return;case 76:ea(e,n,o,a,Int32Array,4);return;case 108:ea(e,n,o,a,Uint32Array,4);return;case 71:ea(e,n,o,a,Float32Array,4);return;case 103:ea(e,n,o,a,Float64Array,8);return;case 77:ea(e,n,o,a,BigInt64Array,8);return;case 109:ea(e,n,o,a,BigUint64Array,8);return;case 86:ea(e,n,o,a,DataView,1);return}t=e._stringDecoder;for(var l="",i=0;i<o.length;i++)l+=t.decode(o[i],u);switch(o=l+=t.decode(a),r){case 73:var s=e,f=n,p=o,v=s._chunks,h=v.get(f);p=el(s,p);var _=function(e,t){if(e){var n=e[t[0]];if(e=n&&n[t[2]])n=e.name;else{if(!(e=n&&n["*"]))throw Error('Could not find the module "'+t[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');n=t[2]}return 4===t.length?[e.id,e.chunks,n,1]:[e.id,e.chunks,n]}return t}(s._bundlerConfig,p);if(p=c(_)){if(h){var y=h;y.status="blocked"}else y=new R("blocked",null,null),v.set(f,y);p.then(function(){return D(s,y,_)},function(e){return P(s,y,e)})}else h?D(s,h,_):(h=new R("resolved_module",_,null),v.set(f,h));break;case 72:switch(n=o[0],e=el(e,o=o.slice(1)),o=d.d,n){case"D":o.D(e);break;case"C":"string"==typeof e?o.C(e):o.C(e[0],e[1]);break;case"L":n=e[0],r=e[1],3===e.length?o.L(n,r,e[2]):o.L(n,r);break;case"m":"string"==typeof e?o.m(e):o.m(e[0],e[1]);break;case"X":"string"==typeof e?o.X(e):o.X(e[0],e[1]);break;case"S":"string"==typeof e?o.S(e):o.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?o.M(e):o.M(e[0],e[1])}break;case 69:a=(r=e._chunks).get(n),o=JSON.parse(o),(t=eu()).digest=o.digest,a?P(e,a,t):(e=new R("rejected",null,t),r.set(n,e));break;case 84:(r=(e=e._chunks).get(n))&&"pending"!==r.status?r.reason.enqueueValue(o):(o=new R("fulfilled",o,null),e.set(n,o));break;case 78:case 68:case 74:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:et(e,n,void 0);break;case 114:et(e,n,"bytes");break;case 88:er(e,n,!1);break;case 120:er(e,n,!0);break;case 67:(n=e._chunks.get(n))&&"fulfilled"===n.status&&n.reason.close(""===o?'"$undefined"':o);break;default:(a=(r=e._chunks).get(n))?C(e,a,o):(e=new R("resolved_model",o,e),r.set(n,e))}}(e,o,l,p,h,v),s=y,3===f&&s++,v=l=p=f=0,h.length=0;else{i=new Uint8Array(i.buffer,b,i.byteLength-s),98===p?(v-=i.byteLength,Z(e,l,i)):(h.push(i),v-=i.byteLength);break}}return o._rowState=f,o._rowID=l,o._rowTag=p,o._rowLength=v,a.read().then(t).catch(r)}).catch(r)}n.createFromFetch=function(e,t){var n=es(t);return e.then(function(e){ec(n,e.body,ei.bind(null,n))},function(e){$(n,e)}),U(n,0)},n.createFromReadableStream=function(e,t){return ec(t=es(t),e,ei.bind(null,t)),U(t,0)},n.createServerReference=function(e,t){function n(){var n=Array.prototype.slice.call(arguments);return t(e,n)}return m(n,e,null),n},n.createTemporaryReferenceSet=function(){return new Map},n.encodeReply=function(e,t){return new Promise(function(n,r){var u=function(e,t,n,r){function u(e,t){t=new Blob([new Uint8Array(t.buffer,t.byteOffset,t.byteLength)]);var n=l++;return null===s&&(s=new FormData),s.append(""+n,t),"$"+e+n.toString(16)}function o(e,d){if(null===d)return null;if("object"==typeof d){switch(d.$$typeof){case p:if(void 0!==t&&-1===e.indexOf(":")){var m,R,O,w,S,T=c.get(this);if(void 0!==T)return t.set(T+":"+e,d),"$T"}if(void 0!==t&&f===d)return f=null,"$T";throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");case v:T=d._payload;var j=d._init;null===s&&(s=new FormData),i++;try{var A=j(T),P=l++,k=a(A,P);return s.append(""+P,k),"$"+P.toString(16)}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then){i++;var N=l++;return T=function(){try{var e=a(d,N),t=s;t.append(""+N,e),i--,0===i&&n(t)}catch(e){r(e)}},e.then(T,T),"$"+N.toString(16)}return r(e),null}finally{i--}}if(T=c.get(d),"function"==typeof d.then){if(void 0!==T)if(f!==d)return T;else f=null;null===s&&(s=new FormData),i++;var C=l++;return e="$@"+C.toString(16),c.set(d,e),d.then(function(e){try{var t=c.get(e),u=void 0!==t?JSON.stringify(t):a(e,C);(e=s).append(""+C,u),i--,0===i&&n(e)}catch(e){r(e)}},r),e}if(void 0!==T)if(f!==d)return T;else f=null;else -1===e.indexOf(":")&&void 0!==(T=c.get(this))&&(e=T+":"+e,c.set(d,e),void 0!==t&&t.set(e,d));if(y(d))return d;if(d instanceof FormData){null===s&&(s=new FormData);var D=s,x=""+(e=l++)+"_";return d.forEach(function(e,t){D.append(x+t,e)}),"$K"+e.toString(16)}if(d instanceof Map)return e=l++,T=a(Array.from(d),e),null===s&&(s=new FormData),s.append(""+e,T),"$Q"+e.toString(16);if(d instanceof Set)return e=l++,T=a(Array.from(d),e),null===s&&(s=new FormData),s.append(""+e,T),"$W"+e.toString(16);if(d instanceof ArrayBuffer)return e=new Blob([d]),T=l++,null===s&&(s=new FormData),s.append(""+T,e),"$A"+T.toString(16);if(d instanceof Int8Array)return u("O",d);if(d instanceof Uint8Array)return u("o",d);if(d instanceof Uint8ClampedArray)return u("U",d);if(d instanceof Int16Array)return u("S",d);if(d instanceof Uint16Array)return u("s",d);if(d instanceof Int32Array)return u("L",d);if(d instanceof Uint32Array)return u("l",d);if(d instanceof Float32Array)return u("G",d);if(d instanceof Float64Array)return u("g",d);if(d instanceof BigInt64Array)return u("M",d);if(d instanceof BigUint64Array)return u("m",d);if(d instanceof DataView)return u("V",d);if("function"==typeof Blob&&d instanceof Blob)return null===s&&(s=new FormData),e=l++,s.append(""+e,d),"$B"+e.toString(16);if(e=null===(m=d)||"object"!=typeof m?null:"function"==typeof(m=h&&m[h]||m["@@iterator"])?m:null)return(T=e.call(d))===d?(e=l++,T=a(Array.from(T),e),null===s&&(s=new FormData),s.append(""+e,T),"$i"+e.toString(16)):Array.from(T);if("function"==typeof ReadableStream&&d instanceof ReadableStream)return function(e){try{var t,u,a,c,f,d,p,v=e.getReader({mode:"byob"})}catch(c){return t=e.getReader(),null===s&&(s=new FormData),u=s,i++,a=l++,t.read().then(function e(l){if(l.done)u.append(""+a,"C"),0==--i&&n(u);else try{var s=JSON.stringify(l.value,o);u.append(""+a,s),t.read().then(e,r)}catch(e){r(e)}},r),"$R"+a.toString(16)}return c=v,null===s&&(s=new FormData),f=s,i++,d=l++,p=[],c.read(new Uint8Array(1024)).then(function e(t){t.done?(t=l++,f.append(""+t,new Blob(p)),f.append(""+d,'"$o'+t.toString(16)+'"'),f.append(""+d,"C"),0==--i&&n(f)):(p.push(t.value),c.read(new Uint8Array(1024)).then(e,r))},r),"$r"+d.toString(16)}(d);if("function"==typeof(e=d[_]))return R=d,O=e.call(d),null===s&&(s=new FormData),w=s,i++,S=l++,R=R===O,O.next().then(function e(t){if(t.done){if(void 0===t.value)w.append(""+S,"C");else try{var u=JSON.stringify(t.value,o);w.append(""+S,"C"+u)}catch(e){r(e);return}0==--i&&n(w)}else try{var a=JSON.stringify(t.value,o);w.append(""+S,a),O.next().then(e,r)}catch(e){r(e)}},r),"$"+(R?"x":"X")+S.toString(16);if((e=b(d))!==g&&(null===e||null!==b(e))){if(void 0===t)throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.");return"$T"}return d}if("string"==typeof d)return"Z"===d[d.length-1]&&this[e]instanceof Date?"$D"+d:e="$"===d[0]?"$"+d:d;if("boolean"==typeof d)return d;if("number"==typeof d)return Number.isFinite(d)?0===d&&-1/0==1/d?"$-0":d:1/0===d?"$Infinity":-1/0===d?"$-Infinity":"$NaN";if(void 0===d)return"$undefined";if("function"==typeof d){if(void 0!==(T=E.get(d)))return void 0!==(e=c.get(d))||(e=JSON.stringify({id:T.id,bound:T.bound},o),null===s&&(s=new FormData),T=l++,s.set(""+T,e),e="$h"+T.toString(16),c.set(d,e)),e;if(void 0!==t&&-1===e.indexOf(":")&&void 0!==(T=c.get(this)))return t.set(T+":"+e,d),"$T";throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof d){if(void 0!==t&&-1===e.indexOf(":")&&void 0!==(T=c.get(this)))return t.set(T+":"+e,d),"$T";throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.")}if("bigint"==typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported as an argument to a Server Function.")}function a(e,n){return"object"==typeof e&&null!==e&&(n="$"+n.toString(16),c.set(e,n),void 0!==t&&t.set(n,e)),f=e,JSON.stringify(e,o)}var l=1,i=0,s=null,c=new WeakMap,f=e,d=a(e,0);return null===s?n(d):(s.set("0",d),0===i&&n(s)),function(){0<i&&(i=0,null===s?n(d):n(s))}}(e,t&&t.temporaryReferences?t.temporaryReferences:void 0,n,r);if(t&&t.signal){var o=t.signal;if(o.aborted)u(o.reason);else{var a=function(){u(o.reason),o.removeEventListener("abort",a)};o.addEventListener("abort",a)}}})},n.registerServerReference=function(e,t){return m(e,t,null),e}},21413,(e,t,n)=>{"use strict";t.exports=e.r(64893)},35326,(e,t,n)=>{"use strict";t.exports=e.r(21413)},76963,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RedirectStatusCode",{enumerable:!0,get:function(){return u}});var r,u=((r={})[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",r);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},68391,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={REDIRECT_ERROR_CODE:function(){return a},isRedirectError:function(){return l}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o=e.r(76963),a="NEXT_REDIRECT";function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[n,r]=t,u=t.slice(2,-2).join(";"),l=Number(t.at(-2));return n===a&&("replace"===r||"push"===r)&&"string"==typeof u&&!isNaN(l)&&l in o.RedirectStatusCode}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},90809,(e,t,n)=>{"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}n._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var u={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(u,a,l):u[a]=e[a]}return u.default=e,n&&n.set(e,u),u}},21768,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={ACTION_HEADER:function(){return a},FLIGHT_HEADERS:function(){return _},NEXT_ACTION_NOT_FOUND_HEADER:function(){return O},NEXT_ACTION_REVALIDATED_HEADER:function(){return T},NEXT_DID_POSTPONE_HEADER:function(){return g},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return c},NEXT_HTML_REQUEST_ID_HEADER:function(){return S},NEXT_INSTANT_PREFETCH_HEADER:function(){return v},NEXT_INSTANT_TEST_COOKIE:function(){return h},NEXT_IS_PRERENDER_HEADER:function(){return R},NEXT_REQUEST_ID_HEADER:function(){return w},NEXT_REWRITTEN_PATH_HEADER:function(){return E},NEXT_REWRITTEN_QUERY_HEADER:function(){return m},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return s},NEXT_ROUTER_STALE_TIME_HEADER:function(){return b},NEXT_ROUTER_STATE_TREE_HEADER:function(){return l},NEXT_RSC_UNION_QUERY:function(){return y},NEXT_URL:function(){return d},RSC_CONTENT_TYPE_HEADER:function(){return p},RSC_HEADER:function(){return o}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o="rsc",a="next-action",l="next-router-state-tree",i="next-router-prefetch",s="next-router-segment-prefetch",c="next-hmr-refresh",f="__next_hmr_refresh_hash__",d="next-url",p="text/x-component",v="next-instant-navigation-testing-prefetch",h="next-instant-navigation-testing",_=[o,l,i,c,s],y="_rsc",b="x-nextjs-stale-time",g="x-nextjs-postponed",E="x-nextjs-rewritten-path",m="x-nextjs-rewritten-query",R="x-nextjs-prerender",O="x-nextjs-action-not-found",w="x-nextjs-request-id",S="x-nextjs-html-request-id",T="x-action-revalidated";("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},39470,(e,t,n)=>{"use strict";function r(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return{resolve:e,reject:t,promise:n}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createPromiseWithResolvers",{enumerable:!0,get:function(){return r}})},8372,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={AppRouterContext:function(){return a},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return l},MissingSlotContext:function(){return c},TemplateContext:function(){return s}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o=e.r(55682)._(e.r(71645)),a=o.default.createContext(null),l=o.default.createContext(null),i=o.default.createContext(null),s=o.default.createContext(null),c=o.default.createContext(new Set)},88540,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r,u,o={ACTION_HMR_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return i},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return s},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchKind:function(){return p},ScrollBehavior:function(){return v}};for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]});let l="refresh",i="navigate",s="restore",c="server-patch",f="hmr-refresh",d="server-action";var p=((r={}).AUTO="auto",r.FULL="full",r),v=((u={})[u.Default=0]="Default",u[u.NoScroll=1]="NoScroll",u);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},64245,(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isThenable",{enumerable:!0,get:function(){return r}})},41538,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={dispatchAppRouterAction:function(){return s},dispatchGestureState:function(){return f},refreshOnInstantNavigationUnlock:function(){return i},useActionQueue:function(){return d}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o=e.r(90809)._(e.r(71645)),a=e.r(64245);e.r(88540);let l=null;function i(){}function s(e){if(null===l)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});l(e)}let c=null;function f(e){if(null===c)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});c(e)}function d(e){let[t,n]=o.default.useState(e.state),[r,u]=(0,o.useOptimistic)(t);"u">typeof window&&(c=u),"u">typeof window&&(l=t=>e.dispatch(t,n));let i=(0,o.useMemo)(()=>r,[r]);return(0,a.isThenable)(i)?(0,o.use)(i):i}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},32120,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"callServer",{enumerable:!0,get:function(){return a}});let r=e.r(71645),u=e.r(88540),o=e.r(41538);async function a(e,t){return new Promise((n,a)=>{(0,r.startTransition)(()=>{(0,o.dispatchAppRouterAction)({type:u.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:n,reject:a})})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},92245,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findSourceMapURL",{enumerable:!0,get:function(){return r}});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},13258,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={DEFAULT_SEGMENT_KEY:function(){return f},NOT_FOUND_SEGMENT_KEY:function(){return d},PAGE_SEGMENT_KEY:function(){return c},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return s},getSegmentValue:function(){return o},getSelectedLayoutSegmentPath:function(){return function e(t,n,r=!0,u=[]){let a;if(r)a=t[1][n];else{let e=t[1];a=e.children??Object.values(e)[0]}if(!a)return u;let l=o(a[0]);return!l||l.startsWith(c)?u:(u.push(l),e(a,n,!1,u))}},isGroupSegment:function(){return a},isParallelRouteSegment:function(){return l}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});function o(e){return Array.isArray(e)?e[1]:e}function a(e){return"("===e[0]&&e.endsWith(")")}function l(e){return e.startsWith("@")&&"@children"!==e}function i(e,t){if(e.includes(c)){let e=JSON.stringify(t);return"{}"!==e?c+"?"+e:c}return e}function s(e,t){if(!e||0===e.length)return null;let n="children"===t?e[0]:e[e.length-1];return n===f?null:n}let c="__PAGE__",f="__DEFAULT__",d="/_not-found"},92838,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UnrecognizedActionError:function(){return o},unstable_isUnrecognizedActionError:function(){return a}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});class o extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function a(e){return!!(e&&"object"==typeof e&&e instanceof o)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},34457,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).createAsyncLocalStorage)()},62266,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorageInstance}});let r=e.r(34457)},24063,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},permanentRedirect:function(){return c},redirect:function(){return s}};for(var u in r)Object.defineProperty(n,u,{enumerable:!0,get:r[u]});let o=e.r(76963),a=e.r(68391),l="u"<typeof window?e.r(62266).actionAsyncStorage:void 0;function i(e,t,n=o.RedirectStatusCode.TemporaryRedirect){let r=Object.defineProperty(Error(a.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r.digest=`${a.REDIRECT_ERROR_CODE};${t};${e};${n};`,r}function s(e,t){throw i(e,t??=l?.getStore()?.isAction?"push":"replace",o.RedirectStatusCode.TemporaryRedirect)}function c(e,t="replace"){throw i(e,t,o.RedirectStatusCode.PermanentRedirect)}function f(e){return(0,a.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function p(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,s)=>{t.exports=e.r(76562)},12042,e=>{"use strict";var t=e.i(43476),s=e.i(18566),a=e.i(87596),r=e.i(95150),l=e.i(15288),n=e.i(19455),i=e.i(67489),d=e.i(77572),o=e.i(2747),c=e.i(29592),x=e.i(59684),u=e.i(75254);let m=(0,u.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),h=(0,u.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var p=e.i(95468),g=e.i(73884),f=e.i(63209),b=e.i(3116);let v=(0,u.default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);var j=e.i(78583);let y=(0,u.default)("chart-line",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);var N=e.i(52571);let w=(0,u.default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),k=(0,u.default)("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]),T=(0,u.default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);var _=e.i(68054);let C=(0,u.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);var A=e.i(94918);let S=(0,u.default)("file-code",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]]),M=(0,u.default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]),z=(0,u.default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]),L=(0,u.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),D=(0,u.default)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]);var F=e.i(57688),H=e.i(87486),$=e.i(71645),B=e.i(73443);let R=(0,u.default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);var I=e.i(75157);function P({status:e}){switch("string"==typeof e?e.toLowerCase():""){case"passed":return(0,t.jsx)(p.CheckCircle2,{className:"h-4 w-4 text-green-500 flex-shrink-0"});case"failed":return(0,t.jsx)(g.XCircle,{className:"h-4 w-4 text-destructive flex-shrink-0"});case"skipped":return(0,t.jsx)(f.AlertCircle,{className:"h-4 w-4 text-accent flex-shrink-0"});case"timedout":return(0,t.jsx)(b.Clock,{className:"h-4 w-4 text-destructive flex-shrink-0"});case"pending":return(0,t.jsx)(b.Clock,{className:"h-4 w-4 text-primary animate-pulse flex-shrink-0"});default:return(0,t.jsx)(N.Info,{className:"h-4 w-4 text-muted-foreground flex-shrink-0"})}}function E({step:e,level:s=0}){var a;let r=e.steps&&e.steps.length>0,l=(0,t.jsxs)("div",{className:`flex flex-col space-y-2 ${s>0?"pl-4 border-l border-muted ml-2":""}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between space-x-2",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2 min-w-0",children:[(0,t.jsx)(P,{status:e.status}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground truncate",title:e.title,children:e.title}),e.isHook&&(0,t.jsx)(H.Badge,{variant:"outline",className:"text-xs px-1.5 py-0.5",children:e.hookType||"hook"})]}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground flex-shrink-0",children:(a=e.duration)<1e3?`${a}ms`:`${(a/1e3).toFixed(2)}s`})]}),e.codeLocation&&(0,t.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground space-x-1 pl-6",children:[(0,t.jsx)(R,{className:"h-3 w-3"}),(0,t.jsx)("span",{children:e.codeLocation})]}),e.errorMessage&&(0,t.jsxs)("div",{className:"pl-6 mt-1",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-destructive mb-0.5",children:"Error:"}),(0,t.jsx)("pre",{className:"bg-destructive/10 text-xs p-2 rounded-xl whitespace-pre-wrap break-all font-code",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,I.ansiToHtml)(e.errorMessage)}})})]})]});return r?(0,t.jsx)(B.Accordion,{type:"single",collapsible:!0,className:"w-full py-1",children:(0,t.jsxs)(B.AccordionItem,{value:`step-${e.id}`,className:"border-none",children:[(0,t.jsx)(B.AccordionTrigger,{className:"p-1 hover:no-underline hover:bg-muted/50 rounded-xl text-left [&[data-state=open]>svg]:rotate-90",children:l}),(0,t.jsx)(B.AccordionContent,{className:"pt-0 pb-0",children:(0,t.jsx)("div",{className:"mt-1",children:e.steps.map(e=>(0,t.jsx)(E,{step:e,level:s+1},e.id))})})]})}):(0,t.jsx)("div",{className:"py-2 px-1 hover:bg-muted/50 rounded-xl",children:l})}var V=e.i(95187);let O=(0,V.createServerReference)("00c486baa1611458e5a49e3f6a5b624cc5a450103d",V.callServer,void 0,V.findSourceMapURL,"getRawHistoricalReports");var G=e.i(44098),W=e.i(29228),q=e.i(55706),K=e.i(85183),U=e.i(93230),J=e.i(72526),X=e.i(34239),Y=e.i(59559);let Q=e=>{let{cx:s,cy:a,payload:r}=e;if(!s||!a||!r)return null;let l="hsl(var(--muted-foreground))";return"passed"===r.status?l="hsl(var(--chart-3))":"flaky"===r.status?l="hsl(var(--flaky))":"failed"===r.status||"timedOut"===r.status?l="hsl(var(--destructive))":"skipped"===r.status&&(l="hsl(var(--accent))"),(0,t.jsx)("circle",{cx:s,cy:a,r:5,fill:l,stroke:"hsl(var(--card))",strokeWidth:1})},Z=({active:e,payload:s,label:a})=>{if(e&&s&&s.length){let e=s[0].payload;return(0,t.jsxs)("div",{className:"bg-card p-3 border border-border rounded-xl shadow-lg",children:[(0,t.jsx)("p",{className:"label text-sm font-semibold text-foreground",children:`Date: ${new Date(e.date).toLocaleString()}`}),(0,t.jsx)("p",{className:"text-xs text-foreground",children:`Duration: ${et(e.duration)}`}),(0,t.jsx)("p",{className:"text-xs capitalize font-medium",style:{color:"passed"===e.status?"hsl(var(--chart-3))":"flaky"===e.status?"hsl(var(--flaky))":"failed"===e.status||"timedOut"===e.status?"hsl(var(--destructive))":"hsl(var(--accent))"},children:`Status: ${e.status}`})]})}return null};function ee({status:e}){switch(e){case"passed":return(0,t.jsx)(p.CheckCircle2,{className:"h-6 w-6 text-[hsl(var(--chart-3))]"});case"failed":return(0,t.jsx)(g.XCircle,{className:"h-6 w-6 text-destructive"});case"skipped":return(0,t.jsx)(f.AlertCircle,{className:"h-6 w-6 text-[hsl(var(--accent))]"});case"timedOut":return(0,t.jsx)(b.Clock,{className:"h-6 w-6 text-destructive"});case"pending":return(0,t.jsx)(b.Clock,{className:"h-6 w-6 text-primary animate-pulse"});default:return(0,t.jsx)(N.Info,{className:"h-6 w-6 text-muted-foreground"})}}function et(e){if(e<1e3)return`${e}ms`;let t=parseFloat((e/1e3).toFixed(2));if(t<60)return`${t}s`;let s=Math.floor(t/60),a=parseFloat((t%60).toFixed(2));return`${s}m ${a}s`}function es({contentType:e}){let s=e.toLowerCase();return s.includes("html")?(0,t.jsx)(S,{className:"h-6 w-6 text-blue-500"}):s.includes("pdf")?(0,t.jsx)(j.FileText,{className:"h-6 w-6 text-red-500"}):s.includes("json")?(0,t.jsx)(C,{className:"h-6 w-6 text-yellow-500"}):s.includes("csv")||s.startsWith("text/plain")?(0,t.jsx)(A.FileSpreadsheet,{className:"h-6 w-6 text-green-500"}):s.startsWith("text/")?(0,t.jsx)(j.FileText,{className:"h-6 w-6 text-gray-500"}):(0,t.jsx)(M,{className:"h-6 w-6 text-gray-400"})}function ea(e,t="Attachment"){return e&&"string"==typeof e&&e.split(/[/\\]/).pop()||t}function er({test:e}){return(0,t.jsxs)("div",{className:"mt-4 p-1 md:p-4 border rounded-2xl bg-card shadow-inner",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-3 px-3 md:px-0",children:"Test Execution Steps"}),e.errorMessage&&(0,t.jsxs)("div",{className:"mb-4 p-3 md:p-0",children:[(0,t.jsx)("h4",{className:"font-semibold text-md text-destructive mb-1",children:"Overall Test Error:"}),(0,t.jsx)("pre",{className:"bg-destructive/10 text-sm p-4 rounded-2xl whitespace-pre-wrap break-all font-code overflow-x-auto",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,I.ansiToHtml)(e.errorMessage)}})})]}),e.annotations&&e.annotations.length>0&&(0,t.jsx)("div",{className:"mb-4 p-3 md:p-0",children:(0,t.jsxs)("div",{style:{margin:"12px 0",padding:"12px",backgroundColor:"rgba(139, 92, 246, 0.1)",border:"1px solid rgba(139, 92, 246, 0.3)",borderLeft:"4px solid #8b5cf6",borderRadius:"4px"},children:[(0,t.jsx)("h4",{style:{marginTop:0,marginBottom:"10px",color:"#8b5cf6",fontSize:"1.1em"},children:"📌 Annotations"}),e.annotations.map((s,a)=>(0,t.jsxs)("div",{style:{marginBottom:a===e.annotations.length-1?"0":"10px"},children:[(0,t.jsx)("strong",{style:{color:"#8b5cf6"},children:"Type:"})," ",(0,t.jsx)("span",{style:{backgroundColor:"rgba(139, 92, 246, 0.2)",padding:"2px 8px",borderRadius:"4px",fontSize:"0.9em"},children:s.type}),s.description&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("strong",{style:{color:"#8b5cf6"},children:"Description:"})," ",s.description]}),s.location&&(0,t.jsxs)("div",{style:{fontSize:"0.85em",color:"#6b7280",marginTop:"4px"},children:["Location: ",s.location.file,":",s.location.line,":",s.location.column]})]},a))]})}),e.steps&&e.steps.length>0?(0,t.jsx)(x.ScrollArea,{className:"h-[600px] w-full",children:(0,t.jsx)("div",{className:"pr-4",children:e.steps.map((e,s)=>(0,t.jsx)(E,{step:e},e.id||s))})}):(0,t.jsx)("p",{className:"text-muted-foreground p-3 md:p-0",children:"No detailed execution steps available for this test."})]})}function el({test:e}){return(0,t.jsxs)("div",{className:"mt-4 p-4 border rounded-2xl bg-card space-y-6 shadow-inner",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-foreground mb-3 flex items-center",children:[(0,t.jsx)(_.Terminal,{className:"h-5 w-5 mr-2 text-primary"}),"Console Logs / Standard Output"]}),(0,t.jsx)(x.ScrollArea,{className:"h-48 w-full rounded-2xl border p-3 bg-muted/30 shadow-sm",children:(0,t.jsx)("pre",{className:"text-sm whitespace-pre-wrap break-words font-code",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,I.ansiToHtml)(e.stdout&&Array.isArray(e.stdout)&&e.stdout.length>0?e.stdout.join("\n"):"No standard output logs captured for this test.")}})})})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-foreground mb-3 flex items-center",children:[(0,t.jsx)(f.AlertCircle,{className:"h-5 w-5 mr-2 text-destructive"}),"Error Messages / Standard Error"]}),(0,t.jsx)(x.ScrollArea,{className:"h-48 w-full rounded-2xl border bg-destructive/5 shadow-sm",children:(0,t.jsx)("pre",{className:"text-sm p-3 whitespace-pre-wrap break-all font-code",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,I.ansiToHtml)(e.errorMessage||"No errors captured for this test.")}})})})]}),e.snippet&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-foreground mb-3 flex items-center",children:[(0,t.jsx)(S,{className:"h-5 w-5 mr-2 text-primary"}),"Test Case Snippet"]}),(0,t.jsx)(x.ScrollArea,{className:"h-48 w-full rounded-2xl border p-3 bg-muted/30 shadow-sm",children:(0,t.jsx)("pre",{className:"text-sm whitespace-pre-wrap break-words font-code",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,I.ansiToHtml)(e.snippet)}})})})]})]})}function en({test:e}){let s=(0,$.useMemo)(()=>e&&Array.isArray(e.screenshots)?e.screenshots.map((e,t)=>({name:ea(e,`Screenshot ${t+1}`),path:e,contentType:"image/png","data-ai-hint":`screenshot ${t+1}`})):[],[e]),a=(0,$.useMemo)(()=>e&&Array.isArray(e.videoPath)?e.videoPath.map((e,t)=>({name:ea(e,`Video ${t+1}`),path:e,contentType:"video/mp4","data-ai-hint":`video ${t+1}`})):[],[e]),r=(0,$.useMemo)(()=>e&&"string"==typeof e.tracePath&&e.tracePath?{name:ea(e.tracePath,"trace.zip"),path:e.tracePath,contentType:"application/zip"}:null,[e]),l=(0,$.useMemo)(()=>e&&Array.isArray(e.attachments)?e.attachments.map((e,t)=>({name:e.name||ea(e.path,`Attachment ${t+1}`),path:e.path,contentType:e.contentType||"application/octet-stream","data-ai-hint":e["data-ai-hint"]})):[],[e]),i=(0,$.useMemo)(()=>l.filter(e=>e.contentType.toLowerCase().includes("html")),[l]),o=(0,$.useMemo)(()=>l.filter(e=>e.contentType.toLowerCase().includes("pdf")),[l]),u=(0,$.useMemo)(()=>l.filter(e=>e.contentType.toLowerCase().includes("json")),[l]),m=(0,$.useMemo)(()=>l.filter(e=>e.contentType.toLowerCase().startsWith("text/")||e.contentType.toLowerCase().includes("csv")),[l]),h=(0,$.useMemo)(()=>l.filter(e=>!i.includes(e)&&!o.includes(e)&&!u.includes(e)&&!m.includes(e)),[l,i,o,u,m]);return(0,t.jsx)("div",{className:"mt-4 p-1 md:p-4 border rounded-2xl bg-card shadow-inner",children:(0,t.jsxs)(d.Tabs,{defaultValue:"sub-screenshots",className:"w-full",children:[(0,t.jsx)(x.ScrollArea,{className:"w-full whitespace-nowrap rounded-2xl",children:(0,t.jsxs)(d.TabsList,{className:"inline-grid w-max grid-flow-col mb-4 rounded-2xl",children:[(0,t.jsxs)(d.TabsTrigger,{value:"sub-screenshots",disabled:0===s.length,children:[(0,t.jsx)(v,{className:"h-4 w-4 mr-2"}),"Screenshots (",s.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-video",disabled:0===a.length,children:[(0,t.jsx)(k,{className:"h-4 w-4 mr-2"}),"Videos (",a.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-trace",disabled:!r,children:[(0,t.jsx)(T,{className:"h-4 w-4 mr-2"}),"Trace ",r?"(1)":"(0)"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-html",disabled:0===i.length,children:[(0,t.jsx)(S,{className:"h-4 w-4 mr-2"}),"HTML (",i.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-pdf",disabled:0===o.length,children:[(0,t.jsx)(j.FileText,{className:"h-4 w-4 mr-2"}),"PDF (",o.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-json",disabled:0===u.length,children:[(0,t.jsx)(C,{className:"h-4 w-4 mr-2"}),"JSON (",u.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-text",disabled:0===m.length,children:[(0,t.jsx)(j.FileText,{className:"h-4 w-4 mr-2"}),"Text/CSV (",m.length,")"]}),(0,t.jsxs)(d.TabsTrigger,{value:"sub-other",disabled:0===h.length,children:[(0,t.jsx)(M,{className:"h-4 w-4 mr-2"}),"Others (",h.length,")"]})]})}),(0,t.jsxs)(d.TabsContent,{value:"sub-screenshots",className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-4",children:"Screenshots"}),s.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:s.map((e,s)=>{let a=(0,I.getAssetPath)(e.path);return"#"===a?null:(0,t.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"relative aspect-video rounded-2xl overflow-hidden group border hover:border-primary transition-all shadow-md hover:shadow-lg",children:[(0,t.jsx)(F.default,{src:a,alt:e.name||`Screenshot ${s+1}`,fill:!0,style:{objectFit:"cover"},className:"group-hover:scale-105 transition-transform duration-300","data-ai-hint":e["data-ai-hint"]||"test screenshot"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center p-2",children:(0,t.jsx)("p",{className:"text-white text-xs text-center break-all",children:e.name||`Screenshot ${s+1}`})})]},`img-preview-${s}`)})}):(0,t.jsx)("p",{className:"text-muted-foreground",children:"No screenshots available for this test."})]}),(0,t.jsxs)(d.TabsContent,{value:"sub-video",className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-4",children:"Video Recording(s)"}),(0,t.jsx)("div",{className:"space-y-4",children:a.length>0?a.map((e,s)=>(0,t.jsxs)("div",{className:"p-4 border rounded-2xl bg-muted/30 shadow-sm flex items-center justify-between",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground truncate",title:e.name,children:e.name}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(n.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,t.jsx)("a",{href:(0,I.getAssetPath)(e.path),target:"_blank",rel:"noopener noreferrer",children:"View"})}),(0,t.jsx)(n.Button,{asChild:!0,variant:"outline",size:"sm",children:(0,t.jsxs)("a",{href:(0,I.getAssetPath)(e.path),download:e.name,children:[(0,t.jsx)(w,{className:"h-4 w-4 mr-2"}),"Download"]})})]})]},`video-${s}`)):(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(N.Info,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"No Videos Available"}),(0,t.jsx)(c.AlertDescription,{children:"There is no video recording associated with this test run."})]})})]}),(0,t.jsxs)(d.TabsContent,{value:"sub-trace",className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-4",children:"Trace File"}),r?(0,t.jsxs)("div",{className:"p-4 border rounded-2xl bg-muted/30 space-y-3 shadow-sm",children:[(0,t.jsxs)("a",{href:(0,I.getAssetPath)(r.path),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-primary hover:underline text-base",download:r.name,children:[(0,t.jsx)(w,{className:"h-5 w-5 mr-2"})," Download Trace File (",r.name,")"]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Path: ",r.path]}),(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(N.Info,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"Using Trace Files"}),(0,t.jsxs)(c.AlertDescription,{children:["Trace files (.zip) can be viewed using the Playwright CLI:"," ",(0,t.jsx)("code",{className:"bg-muted px-1 py-0.5 rounded-xl",children:"npx playwright show-trace /path/to/your/trace.zip"}),". Or by uploading them to"," ",(0,t.jsx)("a",{href:"https://trace.playwright.dev/",target:"_blank",rel:"noopener noreferrer",className:"underline",children:"trace.playwright.dev"}),"."]})]})]}):(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(N.Info,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"No Trace File Available"}),(0,t.jsx)(c.AlertDescription,{children:"There is no Playwright trace file associated with this test run."})]})]}),[{value:"sub-html",title:"HTML Files",attachments:i},{value:"sub-pdf",title:"PDF Documents",attachments:o},{value:"sub-json",title:"JSON Files",attachments:u},{value:"sub-text",title:"Text & CSV Files",attachments:m},{value:"sub-other",title:"Other Files",attachments:h}].map(e=>(0,t.jsxs)(d.TabsContent,{value:e.value,className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-4",children:e.title}),(0,t.jsx)("div",{className:"space-y-3",children:e.attachments.length>0?e.attachments.map((e,s)=>(0,t.jsxs)("div",{className:"p-3 border rounded-2xl bg-muted/30 shadow-sm flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 truncate",children:[(0,t.jsx)(es,{contentType:e.contentType}),(0,t.jsxs)("div",{className:"truncate",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground truncate",title:e.name,children:e.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.contentType})]})]}),(0,t.jsxs)("div",{className:"flex items-center flex-shrink-0 gap-2",children:[(0,t.jsx)(n.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,t.jsx)("a",{href:(0,I.getAssetPath)(e.path),target:"_blank",rel:"noopener noreferrer",children:"View"})}),(0,t.jsx)(n.Button,{asChild:!0,variant:"outline",size:"sm",children:(0,t.jsxs)("a",{href:(0,I.getAssetPath)(e.path),download:e.name,children:[(0,t.jsx)(w,{className:"h-4 w-4 mr-2"}),"Download"]})})]})]},s)):(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(N.Info,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"No Files Available"}),(0,t.jsx)(c.AlertDescription,{children:"No attachments of this type were found for this test."})]})})]},e.value))]})})}function ei({test:e}){let[s,a]=(0,$.useState)(null),[r,i]=(0,$.useState)(!1),[d,o]=(0,$.useState)(null),x=async()=>{if(e){i(!0),a(null),o(null);try{let t=await fetch("/api/analyze-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({testName:e.name,failureLogsAndErrors:e.errorMessage||"",codeSnippet:e.snippet||""})});if(!t.ok){let e=await t.json().catch(()=>({message:"Failed to parse error response"}));throw Error(e.message||`API request failed with status ${t.status}`)}let s=await t.json();a(s)}catch(e){console.error("Error generating AI suggestion:",e),o(e instanceof Error?e.message:"An unknown error occurred.")}finally{i(!1)}}};return(0,t.jsx)("div",{className:"mt-4 p-4 border rounded-2xl bg-card shadow-inner",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center text-center p-2 md:p-6",children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-foreground mb-3 flex items-center",children:[(0,t.jsx)(z,{className:"h-5 w-5 mr-2 text-primary"}),"AI-Powered Failure Analysis"]}),!(r||s||d)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-6 max-w-md",children:"Get suggestions from AI to help diagnose the root cause of this test failure and find potential solutions."}),(0,t.jsxs)(n.Button,{onClick:x,disabled:r,children:[(0,t.jsx)(z,{className:"h-4 w-4 mr-2"}),"Generate Suggestion"]})]}),r&&(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-10",children:[(0,t.jsx)(z,{className:"h-8 w-8 text-primary animate-pulse mb-4"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"Generating suggestion... Please wait."})]}),d&&(0,t.jsxs)("div",{className:"w-full text-left",children:[(0,t.jsxs)(c.Alert,{variant:"destructive",children:[(0,t.jsx)(c.AlertTitle,{children:"Error Generating Suggestion"}),(0,t.jsx)(c.AlertDescription,{children:d})]}),(0,t.jsxs)(n.Button,{onClick:x,variant:"outline",size:"sm",className:"mt-4",children:[(0,t.jsx)(z,{className:"h-4 w-4 mr-2"}),"Try Again"]})]}),s&&(0,t.jsxs)("div",{className:"text-left w-full mt-6 space-y-6",children:[(0,t.jsxs)(c.Alert,{variant:"default",className:"border-primary/30 bg-primary/5",children:[(0,t.jsx)(L,{className:"h-5 w-5 text-primary"}),(0,t.jsx)(c.AlertTitle,{className:"text-primary font-semibold",children:"Root Cause Analysis"}),(0,t.jsx)(c.AlertDescription,{className:"text-primary/90",children:s.rootCause||"No root cause analysis provided."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold text-foreground mb-2",children:"Affected Tests:"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:s.affectedTests?.map(e=>(0,t.jsx)(H.Badge,{variant:"secondary",children:e},e))||(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"N/A"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("h4",{className:"font-semibold text-foreground mb-3 flex items-center",children:[(0,t.jsx)(D,{className:"h-4 w-4 mr-2"}),"Suggested Fixes"]}),(0,t.jsxs)("div",{className:"space-y-4",children:[s.suggestedFixes?.map((e,s)=>(0,t.jsxs)(l.Card,{className:"bg-card/50 shadow-md",children:[(0,t.jsx)(l.CardHeader,{children:(0,t.jsxs)(l.CardTitle,{className:"text-base",children:["Suggestion #",s+1]})}),(0,t.jsxs)(l.CardContent,{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-3",children:e.description}),e.codeSnippet&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("h5",{className:"text-xs font-semibold text-foreground mb-1 flex items-center",children:[(0,t.jsx)(S,{className:"h-3 w-3 mr-1.5"}),"Code Snippet:"]}),(0,t.jsx)("pre",{className:"bg-muted text-sm p-3 rounded-xl whitespace-pre-wrap font-code overflow-x-auto",children:(0,t.jsx)("code",{children:e.codeSnippet})})]})]})]},s)),(!s.suggestedFixes||0===s.suggestedFixes.length)&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No specific fixes were suggested."})]})]}),(0,t.jsxs)(n.Button,{onClick:x,variant:"outline",size:"sm",className:"mt-4",children:[(0,t.jsx)(z,{className:"h-4 w-4 mr-2"}),"Regenerate Suggestion"]})]})]})})}e.s(["TestDetailsClientPage",0,function({testId:e}){let x,u=(0,s.useRouter)(),{currentRun:p,loadingCurrent:g,errorCurrent:b}=(0,a.useTestData)(),[v,w]=(0,$.useState)(null),[k,T]=(0,$.useState)([]),[_,C]=(0,$.useState)([]),[A,S]=(0,$.useState)(!1),[M,L]=(0,$.useState)(null),D=(0,$.useRef)(null),[F,B]=(0,$.useState)(!1),[R,P]=(0,$.useState)("current"),E=(0,$.useMemo)(()=>p?.results?.find(t=>t.id===e)||null,[p,e]);(0,$.useEffect)(()=>{w(E),B(!1),C([]),L(null)},[E,e]);let V=(0,$.useCallback)(async()=>{if(e&&!F&&E?.suiteName&&p?.run?.timestamp){S(!0),L(null);try{let t=(await O()).filter(e=>e.run.timestamp!==p.run.timestamp);T(t);let s=[];t.forEach(t=>{let a=t.results.find(t=>t.id===e&&t.suiteName===E.suiteName);if(a){let e=(0,r.getEffectiveTestStatus)(a);s.push({date:t.run.timestamp,duration:a.duration,status:e})}}),E&&p?.run?.timestamp&&s.push({date:p.run.timestamp,duration:E.duration,status:(0,r.getEffectiveTestStatus)(E)}),s.sort((e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime()),C(s),B(!0)}catch(e){console.error("Error fetching test history:",e),L(e instanceof Error?e.message:"Failed to load test history")}finally{S(!1)}}},[e,F,E,p]);(0,$.useEffect)(()=>{if("current"===R)w(E);else{let t=k.find(e=>e.run.timestamp===R);t?.results&&E&&w(t.results.find(t=>t.id===e&&t.suiteName===E.suiteName)||null)}},[R,E,k,e]);let es=e=>{switch(e){case"passed":return"bg-green-500";case"flaky":return"bg-sky-500";case"failed":case"timedOut":return"bg-red-500";case"skipped":return"bg-yellow-500";default:return"bg-gray-400"}},ea=v?.status==="failed"||v?.status==="timedOut",ed=v?.retryHistory?v.retryHistory.filter(e=>"passed"!==e.status&&"skipped"!==e.status).length:0;if(g&&!v)return(0,t.jsxs)("div",{className:"container mx-auto py-8 space-y-6",children:[(0,t.jsx)(o.Skeleton,{className:"h-10 w-48 mb-4 rounded-xl"}),(0,t.jsxs)(l.Card,{className:"shadow-xl rounded-2xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(o.Skeleton,{className:"h-8 w-3/4 mb-2 rounded-xl"}),(0,t.jsx)(o.Skeleton,{className:"h-4 w-1/2 rounded-xl"})]}),(0,t.jsxs)(l.CardContent,{className:"space-y-4",children:[(0,t.jsx)(o.Skeleton,{className:"h-10 w-1/3 mb-4 rounded-xl"}),(0,t.jsx)(o.Skeleton,{className:"h-40 w-full rounded-xl"})]})]})]});if(b&&!v)return(0,t.jsxs)("div",{className:"container mx-auto px-4 py-8",children:[(0,t.jsxs)(c.Alert,{variant:"destructive",className:"rounded-2xl",children:[(0,t.jsx)(c.AlertTitle,{children:"Error loading test data"}),(0,t.jsx)(c.AlertDescription,{children:b})]}),(0,t.jsxs)(n.Button,{onClick:()=>u.push("/"),variant:"outline",className:"mt-4 rounded-2xl",children:[(0,t.jsx)(h,{className:"mr-2 h-4 w-4"})," Back"]})]});if(!v)return(0,t.jsxs)("div",{className:"container mx-auto px-4 py-8 text-center",children:[(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(c.AlertTitle,{children:"Test Not Found"}),(0,t.jsxs)(c.AlertDescription,{children:["The test with ID '",e,"' could not be found in the current report."]})]}),(0,t.jsxs)(n.Button,{onClick:()=>u.push("/"),className:"mt-6 inline-flex items-center justify-center rounded-xl border bg-transparent px-4 py-2 text-sm font-medium text-muted-foreground shadow-sm transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:shadow-lg hover:bg-primary hover:text-primary-foreground hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",children:[(0,t.jsx)(h,{className:"mr-2 h-4 w-4"})," Back to Dashboard"]})]});let eo=function(e){if(!e)return"";let t=e.split(" > ");return t[t.length-1]||e}(v.name);return(0,t.jsxs)("div",{className:"container mx-auto px-4 py-8 space-y-6",children:[(0,t.jsxs)(n.Button,{onClick:()=>u.push("/"),className:"mt-6 inline-flex items-center justify-center rounded-xl border bg-transparent px-4 py-2 text-sm font-medium text-muted-foreground shadow-sm transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:shadow-lg hover:bg-primary hover:text-primary-foreground hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",children:[(0,t.jsx)(h,{className:"mr-2 h-4 w-4"})," Back to Dashboard"]}),(0,t.jsxs)(l.Card,{className:"shadow-xl rounded-2xl",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(l.CardTitle,{className:"text-2xl font-headline text-primary flex items-center",title:v.name,children:[(0,t.jsx)(ee,{status:v.status}),(0,t.jsx)("span",{className:"ml-3",children:eo})]}),v.suiteName&&(0,t.jsxs)(l.CardDescription,{className:"mt-1 text-md",children:["From suite: ",v.suiteName]}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Run Date:"," ","current"===R?g?(0,t.jsx)("span",{className:"text-muted-foreground",children:"Loading..."}):p?.run?.timestamp?(0,t.jsx)("span",{className:"font-medium",children:new Date(p.run.timestamp).toLocaleString()}):b&&!p?.run?.timestamp?(0,t.jsx)("span",{className:"text-destructive font-medium",children:"Error loading date"}):(0,t.jsx)("span",{className:"font-medium",children:"Not available"}):(0,t.jsx)("span",{className:"font-medium",children:new Date(R).toLocaleString()})]}),(0,t.jsxs)("div",{className:"mt-1 text-xs text-muted-foreground",children:[(0,t.jsxs)("p",{children:["ID: ",v.id]}),v.browser&&(0,t.jsxs)("p",{children:["Browser: ",v.browser]})]})]}),(0,t.jsxs)("div",{className:"text-right flex-shrink-0",children:[(x=(0,r.getEffectiveTestStatus)(v),(0,t.jsx)(H.Badge,{variant:"outline",className:"capitalize text-sm px-3 py-1 rounded-full border",style:function(e){switch(e){case"passed":return{backgroundColor:"hsl(var(--chart-3))",color:"hsl(var(--primary-foreground))"};case"failed":case"timedOut":return{backgroundColor:"hsl(var(--destructive))",color:"hsl(var(--destructive-foreground))"};case"skipped":return{backgroundColor:"hsl(var(--accent))",color:"hsl(var(--accent-foreground))"};case"pending":return{backgroundColor:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))"};case"flaky":return{backgroundColor:"hsl(var(--flaky))",color:"hsl(var(--flaky-foreground))"};default:return{backgroundColor:"hsl(var(--muted))",color:"hsl(var(--muted-foreground))"}}}(x),children:x})),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground mt-1",children:["Duration: ",et(v.duration)]}),ed>0&&(0,t.jsxs)(H.Badge,{variant:"secondary",className:"mt-1",children:["Retry Count: ",ed]}),ed>0&&"passed"===v.status&&(0,t.jsx)(H.Badge,{variant:"outline",className:"ml-2 mt-1 border-sky-500 text-sky-600 bg-sky-500/10",children:"Flaky"}),v.annotations?.map((e,s)=>"severity"===e.type||"priority"===e.type?(0,t.jsx)(H.Badge,{variant:"outline",className:"ml-2 mt-1 border-blue-500 text-blue-600 bg-blue-500/10 capitalize",children:e.description||e.type},s):null),v.tags&&v.tags.length>0&&(0,t.jsx)("div",{className:"mt-1 space-x-1",children:v.tags.map(e=>(0,t.jsx)(H.Badge,{variant:"secondary",className:"text-xs rounded-full",children:e},e))})]})]}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsxs)(i.Select,{value:R,onValueChange:P,onOpenChange:e=>{e&&!F&&V()},children:[(0,t.jsx)(i.SelectTrigger,{className:"w-full md:w-[350px] h-12 rounded-xl bg-card/50 border-2 border-transparent hover:border-primary/30 focus:ring-2 focus:ring-primary/50 focus:ring-offset-2 focus:ring-offset-background transition-colors duration-200 group",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(m,{className:"h-5 w-5 text-muted-foreground transition-colors group-hover:text-primary"}),(0,t.jsx)(i.SelectValue,{placeholder:"Switch to a past run"})]})}),(0,t.jsxs)(i.SelectContent,{sideOffset:8,className:"bg-card/80 backdrop-blur-lg border border-border/50 rounded-xl shadow-2xl data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",children:[(0,t.jsx)(i.SelectItem,{value:"current",className:"rounded-2xl",children:"Current Run"}),A&&(0,t.jsx)(i.SelectItem,{value:"loading",disabled:!0,className:"rounded-2xl",children:"Loading history..."}),_.filter(e=>e.date!==p?.run?.timestamp).map(e=>(0,t.jsx)(i.SelectItem,{value:e.date,className:"rounded-2xl",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:(0,I.cn)("h-2 w-2 rounded-full",es(e.status)),title:`Status: ${e.status}`}),(0,t.jsxs)("span",{className:"text-sm",children:[new Date(e.date).toLocaleString()," -"," ",(0,t.jsx)("span",{className:"font-medium capitalize",children:e.status})]})]})},e.date))]})]})})]}),(0,t.jsx)(l.CardContent,{children:(0,t.jsxs)(d.Tabs,{defaultValue:"steps",className:"w-full",onValueChange:e=>{"history"!==e||F||V()},children:[(0,t.jsxs)(d.TabsList,{className:(0,I.cn)("w-full h-auto mb-6 p-1.5 bg-muted/40 backdrop-blur-sm rounded-2xl border border-border/40 shadow-[inset_0_1px_2px_rgba(0,0,0,0.05),0_2px_5px_rgba(0,0,0,0.05)] grid gap-2",ea?"grid-cols-2 md:grid-cols-5":"grid-cols-2 md:grid-cols-4"),children:[(0,t.jsx)(d.TabsTrigger,{value:"steps",className:"group relative flex items-center justify-center gap-1.5 sm:gap-2.5 rounded-xl px-2 sm:px-4 py-2 sm:py-2.5 text-xs sm:text-sm whitespace-normal text-center h-auto font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex flex-col xl:flex-row items-center justify-center gap-1 xl:gap-2.5",children:["Execution Steps (",v.steps?.length||0,")"]})}),(0,t.jsx)(d.TabsTrigger,{value:"attachments",className:"group relative flex items-center justify-center gap-1.5 sm:gap-2.5 rounded-xl px-2 sm:px-4 py-2 sm:py-2.5 text-xs sm:text-sm whitespace-normal text-center h-auto font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsx)("span",{className:"relative z-10 flex flex-col xl:flex-row items-center justify-center gap-1 xl:gap-2.5",children:"Attachments"})}),(0,t.jsx)(d.TabsTrigger,{value:"logs",className:"group relative flex items-center justify-center gap-1.5 sm:gap-2.5 rounded-xl px-2 sm:px-4 py-2 sm:py-2.5 text-xs sm:text-sm whitespace-normal text-center h-auto font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex flex-col xl:flex-row items-center justify-center gap-1 xl:gap-2.5",children:[(0,t.jsx)(j.FileText,{className:"h-4 w-4 xl:mr-2"}),"Logs"]})}),(0,t.jsx)(d.TabsTrigger,{value:"history",className:"group relative flex items-center justify-center gap-1.5 sm:gap-2.5 rounded-xl px-2 sm:px-4 py-2 sm:py-2.5 text-xs sm:text-sm whitespace-normal text-center h-auto font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsx)("span",{className:"relative z-10 flex flex-col xl:flex-row items-center justify-center gap-1 xl:gap-2.5",children:"Test Run History"})}),ea&&(0,t.jsx)(d.TabsTrigger,{value:"ai-suggestions",className:"group relative flex items-center justify-center gap-1.5 sm:gap-2.5 rounded-xl px-2 sm:px-4 py-2 sm:py-2.5 text-xs sm:text-sm whitespace-normal text-center h-auto font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex flex-col xl:flex-row items-center justify-center gap-1 xl:gap-2.5 text-primary group-data-[state=active]:text-primary group-hover:text-primary transition-colors",children:[(0,t.jsx)(z,{className:"h-4 w-4 xl:mr-2"}),"AI Suggestions"]})})]}),(0,t.jsx)(d.TabsContent,{value:"steps",children:ed>0?(0,t.jsxs)(d.Tabs,{defaultValue:"base-run",className:"w-full",children:[(0,t.jsxs)(d.TabsList,{className:"mb-6 h-auto inline-flex p-1.5 bg-muted/40 backdrop-blur-sm rounded-2xl border border-border/40 shadow-[inset_0_1px_2px_rgba(0,0,0,0.05),0_2px_5px_rgba(0,0,0,0.05)] flex-wrap max-w-full gap-2",children:[(0,t.jsx)(d.TabsTrigger,{value:"base-run",className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Base Run",(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(v.status))})]})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsTrigger,{value:`retry-${s}`,className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Retry ",s+1,(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(e.status))})]})},s))]}),(0,t.jsx)(d.TabsContent,{value:"base-run",children:(0,t.jsx)(er,{test:v})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsContent,{value:`retry-${s}`,children:(0,t.jsx)(er,{test:e})},s))]}):(0,t.jsx)(er,{test:v})}),(0,t.jsx)(d.TabsContent,{value:"attachments",children:ed>0?(0,t.jsxs)(d.Tabs,{defaultValue:"base-run",className:"w-full",children:[(0,t.jsxs)(d.TabsList,{className:"mb-6 h-auto inline-flex p-1.5 bg-muted/40 backdrop-blur-sm rounded-2xl border border-border/40 shadow-[inset_0_1px_2px_rgba(0,0,0,0.05),0_2px_5px_rgba(0,0,0,0.05)] flex-wrap max-w-full gap-2",children:[(0,t.jsx)(d.TabsTrigger,{value:"base-run",className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Base Run",(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(v.status))})]})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsTrigger,{value:`retry-${s}`,className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Retry ",s+1,(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(e.status))})]})},s))]}),(0,t.jsx)(d.TabsContent,{value:"base-run",children:(0,t.jsx)(en,{test:v})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsContent,{value:`retry-${s}`,children:(0,t.jsx)(en,{test:e})},s))]}):(0,t.jsx)(en,{test:v})}),(0,t.jsx)(d.TabsContent,{value:"logs",children:ed>0?(0,t.jsxs)(d.Tabs,{defaultValue:"base-run",className:"w-full",children:[(0,t.jsxs)(d.TabsList,{className:"mb-6 h-auto inline-flex p-1.5 bg-muted/40 backdrop-blur-sm rounded-2xl border border-border/40 shadow-[inset_0_1px_2px_rgba(0,0,0,0.05),0_2px_5px_rgba(0,0,0,0.05)] flex-wrap max-w-full gap-2",children:[(0,t.jsx)(d.TabsTrigger,{value:"base-run",className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Base Run",(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(v.status))})]})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsTrigger,{value:`retry-${s}`,className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Retry ",s+1,(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(e.status))})]})},s))]}),(0,t.jsx)(d.TabsContent,{value:"base-run",children:(0,t.jsx)(el,{test:v})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsContent,{value:`retry-${s}`,children:(0,t.jsx)(el,{test:e})},s))]}):(0,t.jsx)(el,{test:v})}),(0,t.jsxs)(d.TabsContent,{value:"history",className:"mt-4 p-4 border rounded-2xl bg-card shadow-inner",children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-3",children:(0,t.jsxs)("h3",{className:"text-lg font-semibold text-foreground flex items-center",children:[(0,t.jsx)(y,{className:"h-5 w-5 mr-2 text-primary"}),"Individual Test Run History"]})}),A&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(o.Skeleton,{className:"h-6 w-3/4 rounded-xl"}),(0,t.jsx)(o.Skeleton,{className:"h-64 w-full rounded-2xl"})]}),M&&!A&&(0,t.jsxs)(c.Alert,{variant:"destructive",className:"rounded-2xl",children:[(0,t.jsx)(f.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"Error Loading Test History"}),(0,t.jsx)(c.AlertDescription,{children:M})]}),!A&&!M&&F&&0===_.length&&(0,t.jsxs)(c.Alert,{className:"rounded-2xl",children:[(0,t.jsx)(N.Info,{className:"h-4 w-4"}),(0,t.jsx)(c.AlertTitle,{children:"No Historical Data"}),(0,t.jsxs)(c.AlertDescription,{children:["No historical run data found for this specific test (ID:"," ",e,") in this suite."]})]}),!A&&!M&&_.length>0&&(0,t.jsx)("div",{ref:D,className:"w-full h-[300px] bg-card p-4 rounded-2xl shadow-inner",children:(0,t.jsx)(G.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(W.LineChart,{data:[..._].reverse(),margin:{top:5,right:20,left:-20,bottom:5},children:[(0,t.jsx)(J.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(K.XAxis,{dataKey:"date",tickFormatter:e=>new Date(e).toLocaleDateString("en-CA",{month:"short",day:"numeric"}),stroke:"hsl(var(--muted-foreground))",tick:{fontSize:10},angle:-30,textAnchor:"end",height:40}),(0,t.jsx)(U.YAxis,{tickFormatter:e=>et(e),stroke:"hsl(var(--muted-foreground))",tick:{fontSize:10},width:80}),(0,t.jsx)(X.Tooltip,{content:(0,t.jsx)(Z,{})}),(0,t.jsx)(Y.Legend,{wrapperStyle:{fontSize:"12px"}}),(0,t.jsx)(q.Line,{type:"monotone",dataKey:"duration",name:"Duration",stroke:"hsl(var(--primary))",strokeWidth:2,dot:(0,t.jsx)(Q,{}),activeDot:{r:7}})]})})})]}),ea&&(0,t.jsx)(d.TabsContent,{value:"ai-suggestions",children:ed>0?(0,t.jsxs)(d.Tabs,{defaultValue:"base-run",className:"w-full",children:[(0,t.jsxs)(d.TabsList,{className:"mb-6 h-auto inline-flex p-1.5 bg-muted/40 backdrop-blur-sm rounded-2xl border border-border/40 shadow-[inset_0_1px_2px_rgba(0,0,0,0.05),0_2px_5px_rgba(0,0,0,0.05)] flex-wrap max-w-full gap-2",children:[(0,t.jsx)(d.TabsTrigger,{value:"base-run",className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Base Run",(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(v.status))})]})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsTrigger,{value:`retry-${s}`,className:"group relative flex items-center gap-2.5 rounded-xl px-4 py-2.5 text-sm font-semibold text-muted-foreground transition-all duration-300 hover:text-foreground hover:bg-muted/60 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[0_2px_12px_-4px_rgba(0,0,0,0.15)] data-[state=active]:border data-[state=active]:border-border/40 border border-transparent overflow-hidden",children:(0,t.jsxs)("span",{className:"relative z-10 flex items-center gap-2.5",children:["Retry ",s+1,(0,t.jsx)("span",{className:(0,I.cn)("h-2.5 w-2.5 rounded-full ring-[3px] ring-background/60 shadow-sm transition-transform group-hover:scale-110 group-data-[state=active]:scale-125",es(e.status))})]})},s))]}),(0,t.jsx)(d.TabsContent,{value:"base-run",children:(0,t.jsx)(ei,{test:v})}),v.retryHistory?.map((e,s)=>(0,t.jsx)(d.TabsContent,{value:`retry-${s}`,children:(0,t.jsx)(ei,{test:e})},s))]}):(0,t.jsx)(ei,{test:v})})]})})]})]})}],12042)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19530,(e,t,r)=>{var n=e.r(41015),a=e.r(80957),o=e.r(66305);t.exports=function(e,t){return e&&e.length?n(e,o(t,2),a):void 0}},49673,(e,t,r)=>{var n=e.r(41015),a=e.r(66305),o=e.r(98128);t.exports=function(e,t){return e&&e.length?n(e,a(t,2),o):void 0}},7600,e=>{"use strict";var t=e.i(43476),r=e.i(95150),n=e.i(15288),a=e.i(2747),o=e.i(29592),s=e.i(83966),i=e.i(71645),l=e.i(71223),c=e.i(7670),d=e.i(97865),u=e.i(38279),p=e.i(81977),f=["points","className","baseLinePoints","connectNulls"];function m(){return(m=Object.assign.bind()).apply(this,arguments)}function h(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return x(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return x(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var g=function(e){return e&&e.x===+e.x&&e.y===+e.y},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach(function(e){g(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),g(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t},y=function(e,t){var r=v(e);t&&(r=[r.reduce(function(e,t){return[].concat(h(e),h(t))},[])]);var n=r.map(function(e){return e.reduce(function(e,t,r){return"".concat(e).concat(0===r?"M":"L").concat(t.x,",").concat(t.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},b=function(e,t,r){var n=y(e,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(y(t.reverse(),r).slice(1))},j=function(e){var t=e.points,r=e.className,n=e.baseLinePoints,a=e.connectNulls,o=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,f);if(!t||!t.length)return null;var s=(0,c.default)("recharts-polygon",r);if(n&&n.length){var l=o.stroke&&"none"!==o.stroke,d=b(t,n,a);return i.default.createElement("g",{className:s},i.default.createElement("path",m({},(0,p.filterProps)(o,!0),{fill:"Z"===d.slice(-1)?o.fill:"none",stroke:"none",d:d})),l?i.default.createElement("path",m({},(0,p.filterProps)(o,!0),{fill:"none",d:y(t,a)})):null,l?i.default.createElement("path",m({},(0,p.filterProps)(o,!0),{fill:"none",d:y(n,a)})):null)}var u=y(t,a);return i.default.createElement("path",m({},(0,p.filterProps)(o,!0),{fill:"Z"===u.slice(-1)?o.fill:"none",className:s,d:u}))},w=e.i(9516),k=e.i(73393),N=e.i(68970);function C(e){return(C="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 S(){return(S=Object.assign.bind()).apply(this,arguments)}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){D(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,I(n.key),n)}}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R=function(){return!!e})()}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t,r){return(t=I(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e){var t=function(e,t){if("object"!=C(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=C(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==C(t)?t:t+""}var M=Math.PI/180,L=function(e){var t,r;function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=T(e),function(e,t){if(t&&("object"===C(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,R()?Reflect.construct(e,t||[],T(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&E(n,e),t=[{key:"getTickLineCoord",value:function(e){var t=this.props,r=t.cx,n=t.cy,a=t.radius,o=t.orientation,s=t.tickSize,i=(0,N.polarToCartesian)(r,n,a,e.coordinate),l=(0,N.polarToCartesian)(r,n,a+("inner"===o?-1:1)*(s||8),e.coordinate);return{x1:i.x,y1:i.y,x2:l.x,y2:l.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,r=Math.cos(-e.coordinate*M);return r>1e-5?"outer"===t?"start":"end":r<-1e-5?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.radius,a=e.axisLine,o=e.axisLineType,s=O(O({},(0,p.filterProps)(this.props,!1)),{},{fill:"none"},(0,p.filterProps)(a,!1));if("circle"===o)return i.default.createElement(u.Dot,S({className:"recharts-polar-angle-axis-line"},s,{cx:t,cy:r,r:n}));var l=this.props.ticks.map(function(e){return(0,N.polarToCartesian)(t,r,n,e.coordinate)});return i.default.createElement(j,S({className:"recharts-polar-angle-axis-line"},s,{points:l}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,r=t.ticks,a=t.tick,o=t.tickLine,s=t.tickFormatter,l=t.stroke,u=(0,p.filterProps)(this.props,!1),f=(0,p.filterProps)(a,!1),m=O(O({},u),{},{fill:"none"},(0,p.filterProps)(o,!1)),h=r.map(function(t,r){var p=e.getTickLineCoord(t),h=O(O(O({textAnchor:e.getTickTextAnchor(t)},u),{},{stroke:"none",fill:l},f),{},{index:r,payload:t,x:p.x2,y:p.y2});return i.default.createElement(d.Layer,S({className:(0,c.default)("recharts-polar-angle-axis-tick",(0,N.getTickClassName)(a)),key:"tick-".concat(t.coordinate)},(0,k.adaptEventsOfChild)(e.props,t,r)),o&&i.default.createElement("line",S({className:"recharts-polar-angle-axis-tick-line"},m,p)),a&&n.renderTickItem(a,h,s?s(t.value,r):t.value))});return i.default.createElement(d.Layer,{className:"recharts-polar-angle-axis-ticks"},h)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.radius,n=e.axisLine;return!(r<=0)&&t&&t.length?i.default.createElement(d.Layer,{className:(0,c.default)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(e,t,r){return i.default.isValidElement(e)?i.default.cloneElement(e,t):(0,l.default)(e)?e(t):i.default.createElement(w.Text,S({},t,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],t&&P(n.prototype,t),r&&P(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);D(L,"displayName","PolarAngleAxis"),D(L,"axisType","angleAxis"),D(L,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var _=e.i(19530),F=e.i(49673),K=e.i(494),B=["cx","cy","angle","ticks","axisLine"],z=["ticks","tick","angle","tickFormatter","stroke"];function H(e){return(H="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 V(){return(V=Object.assign.bind()).apply(this,arguments)}function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function U(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function W(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,J(n.key),n)}}function X(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(X=function(){return!!e})()}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e,t){return(Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t,r){return(t=J(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J(e){var t=function(e,t){if("object"!=H(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=H(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==H(t)?t:t+""}var Q=function(e){var t,r;function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=q(e),function(e,t){if(t&&("object"===H(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,X()?Reflect.construct(e,t||[],q(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Y(n,e),t=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,r=this.props,n=r.angle,a=r.cx,o=r.cy;return(0,N.polarToCartesian)(a,o,t,n)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.angle,a=e.ticks,o=(0,_.default)(a,function(e){return e.coordinate||0});return{cx:t,cy:r,startAngle:n,endAngle:n,innerRadius:(0,F.default)(a,function(e){return e.coordinate||0}).coordinate||0,outerRadius:o.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.angle,a=e.ticks,o=e.axisLine,s=U(e,B),l=a.reduce(function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]},[1/0,-1/0]),c=(0,N.polarToCartesian)(t,r,l[0],n),d=(0,N.polarToCartesian)(t,r,l[1],n),u=$($($({},(0,p.filterProps)(s,!1)),{},{fill:"none"},(0,p.filterProps)(o,!1)),{},{x1:c.x,y1:c.y,x2:d.x,y2:d.y});return i.default.createElement("line",V({className:"recharts-polar-radius-axis-line"},u))}},{key:"renderTicks",value:function(){var e=this,t=this.props,r=t.ticks,a=t.tick,o=t.angle,s=t.tickFormatter,l=t.stroke,u=U(t,z),f=this.getTickTextAnchor(),m=(0,p.filterProps)(u,!1),h=(0,p.filterProps)(a,!1),x=r.map(function(t,r){var u=e.getTickValueCoord(t),p=$($($($({textAnchor:f,transform:"rotate(".concat(90-o,", ").concat(u.x,", ").concat(u.y,")")},m),{},{stroke:"none",fill:l},h),{},{index:r},u),{},{payload:t});return i.default.createElement(d.Layer,V({className:(0,c.default)("recharts-polar-radius-axis-tick",(0,N.getTickClassName)(a)),key:"tick-".concat(t.coordinate)},(0,k.adaptEventsOfChild)(e.props,t,r)),n.renderTickItem(a,p,s?s(t.value,r):t.value))});return i.default.createElement(d.Layer,{className:"recharts-polar-radius-axis-ticks"},x)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.axisLine,n=e.tick;return t&&t.length?i.default.createElement(d.Layer,{className:(0,c.default)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),K.Label.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(e,t,r){return i.default.isValidElement(e)?i.default.cloneElement(e,t):(0,l.default)(e)?e(t):i.default.createElement(w.Text,V({},t,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],t&&W(n.prototype,t),r&&W(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);Z(Q,"displayName","PolarRadiusAxis"),Z(Q,"axisType","radiusAxis"),Z(Q,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var ee=e.i(73050),et=e.i(82820),er=e.i(98892),en=e.i(29873),ea=e.i(72733),eo=e.i(69212),es=e.i(22787),ei=e.i(62728),el=e.i(94395),ec=e.i(98770),ed=e.i(29071),eu=e.i(18519);function ep(e){return(ep="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 ef(){return(ef=Object.assign.bind()).apply(this,arguments)}function em(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?em(Object(r),!0).forEach(function(t){eb(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):em(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ex(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ej(n.key),n)}}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eg=function(){return!!e})()}function ev(e){return(ev=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ey(e,t){return(ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eb(e,t,r){return(t=ej(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ej(e){var t=function(e,t){if("object"!=ep(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ep(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ep(t)?t:t+""}var ew=function(e){var t,r;function n(e){var t,r,a;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,a=[e],r=ev(r),eb(t=function(e,t){if(t&&("object"===ep(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,eg()?Reflect.construct(r,a||[],ev(this).constructor):r.apply(this,a)),"pieRef",null),eb(t,"sectorRefs",[]),eb(t,"id",(0,el.uniqueId)("recharts-pie-")),eb(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),(0,l.default)(e)&&e()}),eb(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),(0,l.default)(e)&&e()}),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&ey(n,e),t=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,r=t.label,a=t.labelLine,o=t.dataKey,s=t.valueKey,l=(0,p.filterProps)(this.props,!1),c=(0,p.filterProps)(r,!1),u=(0,p.filterProps)(a,!1),f=r&&r.offsetRadius||20,m=e.map(function(e,t){var p=(e.startAngle+e.endAngle)/2,m=(0,N.polarToCartesian)(e.cx,e.cy,e.outerRadius+f,p),h=eh(eh(eh(eh({},l),e),{},{stroke:"none"},c),{},{index:t,textAnchor:n.getTextAnchor(m.x,e.cx)},m),x=eh(eh(eh(eh({},l),e),{},{fill:"none",stroke:e.fill},u),{},{index:t,points:[(0,N.polarToCartesian)(e.cx,e.cy,e.outerRadius,p),m]}),g=o;return(0,en.default)(o)&&(0,en.default)(s)?g="value":(0,en.default)(o)&&(g=s),i.default.createElement(d.Layer,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(t)},a&&n.renderLabelLineItem(a,x,"line"),n.renderLabelItem(r,h,(0,ec.getValueByDataKey)(e,g)))});return i.default.createElement(d.Layer,{className:"recharts-pie-labels"},m)}},{key:"renderSectorsStatically",value:function(e){var t=this,r=this.props,n=r.activeShape,a=r.blendStroke,o=r.inactiveShape;return e.map(function(r,s){if((null==r?void 0:r.startAngle)===0&&(null==r?void 0:r.endAngle)===0&&1!==e.length)return null;var l=t.isActiveIndex(s),c=o&&t.hasActiveIndex()?o:null,u=eh(eh({},r),{},{stroke:a?r.fill:r.stroke,tabIndex:-1});return i.default.createElement(d.Layer,ef({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},(0,k.adaptEventsOfChild)(t.props,r,s),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(s)}),i.default.createElement(eu.Shape,ef({option:l?n:c,isActive:l,shapeType:"sector"},u)))})}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,r=t.sectors,n=t.isAnimationActive,a=t.animationBegin,o=t.animationDuration,s=t.animationEasing,l=t.animationId,c=this.state,u=c.prevSectors,p=c.prevIsAnimationActive;return i.default.createElement(ee.default,{begin:a,duration:o,isActive:n,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(l,"-").concat(p),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(t){var n=t.t,a=[],o=(r&&r[0]).startAngle;return r.forEach(function(e,t){var r=u&&u[t],s=t>0?(0,et.default)(e,"paddingAngle",0):0;if(r){var i=(0,el.interpolateNumber)(r.endAngle-r.startAngle,e.endAngle-e.startAngle),l=eh(eh({},e),{},{startAngle:o+s,endAngle:o+i(n)+s});a.push(l),o=l.endAngle}else{var c=e.endAngle,d=e.startAngle,p=(0,el.interpolateNumber)(0,c-d)(n),f=eh(eh({},e),{},{startAngle:o+s,endAngle:o+p+s});a.push(f),o=f.endAngle}}),i.default.createElement(d.Layer,null,e.renderSectorsStatically(a))})}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var r=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"ArrowRight":var n=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,r=e.isAnimationActive,n=this.state.prevSectors;return r&&t&&t.length&&(!n||!(0,er.default)(n,t))?this.renderSectorsWithAnimation():this.renderSectorsStatically(t)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,r=t.hide,n=t.sectors,a=t.className,o=t.label,s=t.cx,l=t.cy,u=t.innerRadius,p=t.outerRadius,f=t.isAnimationActive,m=this.state.isAnimationFinished;if(r||!n||!n.length||!(0,el.isNumber)(s)||!(0,el.isNumber)(l)||!(0,el.isNumber)(u)||!(0,el.isNumber)(p))return null;var h=(0,c.default)("recharts-pie",a);return i.default.createElement(d.Layer,{tabIndex:this.props.rootTabIndex,className:h,ref:function(t){e.pieRef=t}},this.renderSectors(),o&&this.renderLabels(n),K.Label.renderCallByParent(this.props,null,!1),(!f||m)&&eo.LabelList.renderCallByParent(this.props,n,!1))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,r){if(i.default.isValidElement(e))return i.default.cloneElement(e,t);if((0,l.default)(e))return e(t);var n=(0,c.default)("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return i.default.createElement(ea.Curve,ef({},t,{key:r,type:"linear",className:n}))}},{key:"renderLabelItem",value:function(e,t,r){if(i.default.isValidElement(e))return i.default.cloneElement(e,t);var n=r;if((0,l.default)(e)&&(n=e(t),i.default.isValidElement(n)))return n;var a=(0,c.default)("recharts-pie-label-text","boolean"==typeof e||(0,l.default)(e)?"":e.className);return i.default.createElement(w.Text,ef({},t,{alignmentBaseline:"middle",className:a}),n)}}],t&&ex(n.prototype,t),r&&ex(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);eb(ew,"displayName","Pie"),eb(ew,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!ei.Global.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),eb(ew,"parseDeltaAngle",function(e,t){return(0,el.mathSign)(t-e)*Math.min(Math.abs(t-e),360)}),eb(ew,"getRealPieData",function(e){var t=e.data,r=e.children,n=(0,p.filterProps)(e,!1),a=(0,p.findAllByType)(r,es.Cell);return t&&t.length?t.map(function(e,t){return eh(eh(eh({payload:e},n),e),a&&a[t]&&a[t].props)}):a&&a.length?a.map(function(e){return eh(eh({},n),e.props)}):[]}),eb(ew,"parseCoordinateOfPie",function(e,t){var r=t.top,n=t.left,a=t.width,o=t.height,s=(0,N.getMaxRadius)(a,o);return{cx:n+(0,el.getPercentValue)(e.cx,a,a/2),cy:r+(0,el.getPercentValue)(e.cy,o,o/2),innerRadius:(0,el.getPercentValue)(e.innerRadius,s,0),outerRadius:(0,el.getPercentValue)(e.outerRadius,s,.8*s),maxRadius:e.maxRadius||Math.sqrt(a*a+o*o)/2}}),eb(ew,"getComposedData",function(e){var t,r,n=e.item,a=e.offset,o=void 0!==n.type.defaultProps?eh(eh({},n.type.defaultProps),n.props):n.props,s=ew.getRealPieData(o);if(!s||!s.length)return null;var i=o.cornerRadius,l=o.startAngle,c=o.endAngle,d=o.paddingAngle,u=o.dataKey,p=o.nameKey,f=o.valueKey,m=o.tooltipType,h=Math.abs(o.minAngle),x=ew.parseCoordinateOfPie(o,a),g=ew.parseDeltaAngle(l,c),v=Math.abs(g),y=u;(0,en.default)(u)&&(0,en.default)(f)?((0,ed.warn)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),y="value"):(0,en.default)(u)&&((0,ed.warn)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),y=f);var b=s.filter(function(e){return 0!==(0,ec.getValueByDataKey)(e,y,0)}).length,j=v-b*h-(v>=360?b:b-1)*d,w=s.reduce(function(e,t){var r=(0,ec.getValueByDataKey)(t,y,0);return e+((0,el.isNumber)(r)?r:0)},0);return w>0&&(t=s.map(function(e,t){var n,a=(0,ec.getValueByDataKey)(e,y,0),o=(0,ec.getValueByDataKey)(e,p,t),s=((0,el.isNumber)(a)?a:0)/w,c=(n=t?r.endAngle+(0,el.mathSign)(g)*d*(0!==a):l)+(0,el.mathSign)(g)*((0!==a?h:0)+s*j),u=(n+c)/2,f=(x.innerRadius+x.outerRadius)/2,v=[{name:o,value:a,payload:e,dataKey:y,type:m}],b=(0,N.polarToCartesian)(x.cx,x.cy,f,u);return r=eh(eh(eh({percent:s,cornerRadius:i,name:o,tooltipPayload:v,midAngle:u,middleRadius:f,tooltipPosition:b},e),x),{},{value:(0,ec.getValueByDataKey)(e,y),startAngle:n,endAngle:c,payload:e,paddingAngle:(0,el.mathSign)(g)*d})})),eh(eh({},x),{},{sectors:t,data:s})});var ek=(0,s.generateCategoricalChart)({chartName:"PieChart",GraphicalChild:ew,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:L},{axisType:"radiusAxis",AxisComp:Q}],formatAxisMap:N.formatAxisMap,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),eN=e.i(9694),eC=e.i(75225),eS=e.i(85183),eA=e.i(93230),eO=e.i(72526),eP=e.i(34239),eR=e.i(59559),eT=e.i(44098),eE=e.i(39425),eD=e.i(68054),eI=e.i(52571),eM=e.i(68566),eL=e.i(48256),e_=e.i(94908),eF=e.i(61911),eK=e.i(11641),eB=e.i(75254);let ez=(0,eB.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),eH=(0,eB.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var eV=e.i(75157),eG=e.i(93479),e$=e.i(67489),eU=e.i(19455),eW=e.i(81140),eX=e.i(20783),eq=e.i(30030),eY=e.i(69340),eZ=e.i(48425),eJ=e.i(75830),eQ=e.i(86318),e0=e.i(26330),e1=e.i(3536),e2=e.i(65491),e5=e.i(10772),e3=e.i(53660),e4=e.i(74606),e8=e.i(96626),e6=e.i(42727),e9=e.i(91918),e7=e.i(30207),te=e.i(86312),tt=e.i(85369),tr=["Enter"," "],tn=["ArrowUp","PageDown","End"],ta=["ArrowDown","PageUp","Home",...tn],to={ltr:[...tr,"ArrowRight"],rtl:[...tr,"ArrowLeft"]},ts={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ti="Menu",[tl,tc,td]=(0,eJ.createCollection)(ti),[tu,tp]=(0,eq.createContextScope)(ti,[td,e3.createPopperScope,e6.createRovingFocusGroupScope]),tf=(0,e3.createPopperScope)(),tm=(0,e6.createRovingFocusGroupScope)(),[th,tx]=tu(ti),[tg,tv]=tu(ti),ty=e=>{let{__scopeMenu:r,open:n=!1,children:a,dir:o,onOpenChange:s,modal:l=!0}=e,c=tf(r),[d,u]=i.useState(null),p=i.useRef(!1),f=(0,e7.useCallbackRef)(s),m=(0,eQ.useDirection)(o);return i.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,t.jsx)(e3.Root,{...c,children:(0,t.jsx)(th,{scope:r,open:n,onOpenChange:f,content:d,onContentChange:u,children:(0,t.jsx)(tg,{scope:r,onClose:i.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:m,modal:l,children:a})})})};ty.displayName=ti;var tb=i.forwardRef((e,r)=>{let{__scopeMenu:n,...a}=e,o=tf(n);return(0,t.jsx)(e3.Anchor,{...o,...a,ref:r})});tb.displayName="MenuAnchor";var tj="MenuPortal",[tw,tk]=tu(tj,{forceMount:void 0}),tN=e=>{let{__scopeMenu:r,forceMount:n,children:a,container:o}=e,s=tx(tj,r);return(0,t.jsx)(tw,{scope:r,forceMount:n,children:(0,t.jsx)(e8.Presence,{present:n||s.open,children:(0,t.jsx)(e4.Portal,{asChild:!0,container:o,children:a})})})};tN.displayName=tj;var tC="MenuContent",[tS,tA]=tu(tC),tO=i.forwardRef((e,r)=>{let n=tk(tC,e.__scopeMenu),{forceMount:a=n.forceMount,...o}=e,s=tx(tC,e.__scopeMenu),i=tv(tC,e.__scopeMenu);return(0,t.jsx)(tl.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(e8.Presence,{present:a||s.open,children:(0,t.jsx)(tl.Slot,{scope:e.__scopeMenu,children:i.modal?(0,t.jsx)(tP,{...o,ref:r}):(0,t.jsx)(tR,{...o,ref:r})})})})}),tP=i.forwardRef((e,r)=>{let n=tx(tC,e.__scopeMenu),a=i.useRef(null),o=(0,eX.useComposedRefs)(r,a);return i.useEffect(()=>{let e=a.current;if(e)return(0,te.hideOthers)(e)},[]),(0,t.jsx)(tT,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,eW.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),tR=i.forwardRef((e,r)=>{let n=tx(tC,e.__scopeMenu);return(0,t.jsx)(tT,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),tT=i.forwardRef((e,r)=>{let{__scopeMenu:n,loop:a=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:m,onDismiss:h,disableOutsideScroll:x,...g}=e,v=tx(tC,n),y=tv(tC,n),b=tf(n),j=tm(n),w=tc(n),[k,N]=i.useState(null),C=i.useRef(null),S=(0,eX.useComposedRefs)(r,C,v.onContentChange),A=i.useRef(0),O=i.useRef(""),P=i.useRef(0),R=i.useRef(null),T=i.useRef("right"),E=i.useRef(0),D=x?tt.RemoveScroll:i.Fragment,I=x?{as:e9.Slot,allowPinchZoom:!0}:void 0;i.useEffect(()=>()=>window.clearTimeout(A.current),[]),(0,e1.useFocusGuards)();let M=i.useCallback(e=>{var t,r;return T.current===R.current?.side&&(t=e,!!(r=R.current?.area)&&function(e,t){let{x:r,y:n}=e,a=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let s=t[e].x,i=t[e].y,l=t[o].x,c=t[o].y;i>n!=c>n&&r<(l-s)*(n-i)/(c-i)+s&&(a=!a)}return a}({x:t.clientX,y:t.clientY},r))},[]);return(0,t.jsx)(tS,{scope:n,searchRef:O,onItemEnter:i.useCallback(e=>{M(e)&&e.preventDefault()},[M]),onItemLeave:i.useCallback(e=>{M(e)||(C.current?.focus(),N(null))},[M]),onTriggerLeave:i.useCallback(e=>{M(e)&&e.preventDefault()},[M]),pointerGraceTimerRef:P,onPointerGraceIntentChange:i.useCallback(e=>{R.current=e},[]),children:(0,t.jsx)(D,{...I,children:(0,t.jsx)(e2.FocusScope,{asChild:!0,trapped:o,onMountAutoFocus:(0,eW.composeEventHandlers)(s,e=>{e.preventDefault(),C.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,t.jsx)(e0.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:m,onDismiss:h,children:(0,t.jsx)(e6.Root,{asChild:!0,...j,dir:y.dir,orientation:"vertical",loop:a,currentTabStopId:k,onCurrentTabStopIdChange:N,onEntryFocus:(0,eW.composeEventHandlers)(d,e=>{y.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(e3.Content,{role:"menu","aria-orientation":"vertical","data-state":t5(v.open),"data-radix-menu-content":"",dir:y.dir,...b,...g,ref:S,style:{outline:"none",...g.style},onKeyDown:(0,eW.composeEventHandlers)(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(t){var a;let t,o,s,i,l,c;"Tab"===e.key&&e.preventDefault(),!r&&n&&(a=e.key,t=O.current+a,o=w().filter(e=>!e.disabled),s=document.activeElement,i=o.find(e=>e.ref.current===s)?.textValue,l=function(e,t,r){var n;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1,s=(n=Math.max(o,0),e.map((t,r)=>e[(n+r)%e.length]));1===a.length&&(s=s.filter(e=>e!==r));let i=s.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return i!==r?i:void 0}(o.map(e=>e.textValue),t,i),c=o.find(e=>e.textValue===l)?.ref.current,function e(t){O.current=t,window.clearTimeout(A.current),""!==t&&(A.current=window.setTimeout(()=>e(""),1e3))}(t),c&&setTimeout(()=>c.focus()))}let o=C.current;if(e.target!==o||!ta.includes(e.key))return;e.preventDefault();let s=w().filter(e=>!e.disabled).map(e=>e.ref.current);tn.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,eW.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(A.current),O.current="")}),onPointerMove:(0,eW.composeEventHandlers)(e.onPointerMove,t8(e=>{let t=e.target,r=E.current!==e.clientX;e.currentTarget.contains(t)&&r&&(T.current=e.clientX>E.current?"right":"left",E.current=e.clientX)}))})})})})})})});tO.displayName=tC;var tE=i.forwardRef((e,r)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(eZ.Primitive.div,{role:"group",...a,ref:r})});tE.displayName="MenuGroup";var tD=i.forwardRef((e,r)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(eZ.Primitive.div,{...a,ref:r})});tD.displayName="MenuLabel";var tI="MenuItem",tM="menu.itemSelect",tL=i.forwardRef((e,r)=>{let{disabled:n=!1,onSelect:a,...o}=e,s=i.useRef(null),l=tv(tI,e.__scopeMenu),c=tA(tI,e.__scopeMenu),d=(0,eX.useComposedRefs)(r,s),u=i.useRef(!1);return(0,t.jsx)(t_,{...o,ref:d,disabled:n,onClick:(0,eW.composeEventHandlers)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(tM,{bubbles:!0,cancelable:!0});e.addEventListener(tM,e=>a?.(e),{once:!0}),(0,eZ.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?u.current=!1:l.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),u.current=!0},onPointerUp:(0,eW.composeEventHandlers)(e.onPointerUp,e=>{u.current||e.currentTarget?.click()}),onKeyDown:(0,eW.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==c.searchRef.current;n||t&&" "===e.key||tr.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});tL.displayName=tI;var t_=i.forwardRef((e,r)=>{let{__scopeMenu:n,disabled:a=!1,textValue:o,...s}=e,l=tA(tI,n),c=tm(n),d=i.useRef(null),u=(0,eX.useComposedRefs)(r,d),[p,f]=i.useState(!1),[m,h]=i.useState("");return i.useEffect(()=>{let e=d.current;e&&h((e.textContent??"").trim())},[s.children]),(0,t.jsx)(tl.ItemSlot,{scope:n,disabled:a,textValue:o??m,children:(0,t.jsx)(e6.Item,{asChild:!0,...c,focusable:!a,children:(0,t.jsx)(eZ.Primitive.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...s,ref:u,onPointerMove:(0,eW.composeEventHandlers)(e.onPointerMove,t8(e=>{a?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,eW.composeEventHandlers)(e.onPointerLeave,t8(e=>l.onItemLeave(e))),onFocus:(0,eW.composeEventHandlers)(e.onFocus,()=>f(!0)),onBlur:(0,eW.composeEventHandlers)(e.onBlur,()=>f(!1))})})})}),tF=i.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:a,...o}=e;return(0,t.jsx)(tU,{scope:e.__scopeMenu,checked:n,children:(0,t.jsx)(tL,{role:"menuitemcheckbox","aria-checked":t3(n)?"mixed":n,...o,ref:r,"data-state":t4(n),onSelect:(0,eW.composeEventHandlers)(o.onSelect,()=>a?.(!!t3(n)||!n),{checkForDefaultPrevented:!1})})})});tF.displayName="MenuCheckboxItem";var tK="MenuRadioGroup",[tB,tz]=tu(tK,{value:void 0,onValueChange:()=>{}}),tH=i.forwardRef((e,r)=>{let{value:n,onValueChange:a,...o}=e,s=(0,e7.useCallbackRef)(a);return(0,t.jsx)(tB,{scope:e.__scopeMenu,value:n,onValueChange:s,children:(0,t.jsx)(tE,{...o,ref:r})})});tH.displayName=tK;var tV="MenuRadioItem",tG=i.forwardRef((e,r)=>{let{value:n,...a}=e,o=tz(tV,e.__scopeMenu),s=n===o.value;return(0,t.jsx)(tU,{scope:e.__scopeMenu,checked:s,children:(0,t.jsx)(tL,{role:"menuitemradio","aria-checked":s,...a,ref:r,"data-state":t4(s),onSelect:(0,eW.composeEventHandlers)(a.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});tG.displayName=tV;var t$="MenuItemIndicator",[tU,tW]=tu(t$,{checked:!1}),tX=i.forwardRef((e,r)=>{let{__scopeMenu:n,forceMount:a,...o}=e,s=tW(t$,n);return(0,t.jsx)(e8.Presence,{present:a||t3(s.checked)||!0===s.checked,children:(0,t.jsx)(eZ.Primitive.span,{...o,ref:r,"data-state":t4(s.checked)})})});tX.displayName=t$;var tq=i.forwardRef((e,r)=>{let{__scopeMenu:n,...a}=e;return(0,t.jsx)(eZ.Primitive.div,{role:"separator","aria-orientation":"horizontal",...a,ref:r})});tq.displayName="MenuSeparator";var tY=i.forwardRef((e,r)=>{let{__scopeMenu:n,...a}=e,o=tf(n);return(0,t.jsx)(e3.Arrow,{...o,...a,ref:r})});tY.displayName="MenuArrow";var[tZ,tJ]=tu("MenuSub"),tQ="MenuSubTrigger",t0=i.forwardRef((e,r)=>{let n=tx(tQ,e.__scopeMenu),a=tv(tQ,e.__scopeMenu),o=tJ(tQ,e.__scopeMenu),s=tA(tQ,e.__scopeMenu),l=i.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,u={__scopeMenu:e.__scopeMenu},p=i.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return i.useEffect(()=>p,[p]),i.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,t.jsx)(tb,{asChild:!0,...u,children:(0,t.jsx)(t_,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":t5(n.open),...e,ref:(0,eX.composeRefs)(r,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,eW.composeEventHandlers)(e.onPointerMove,t8(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||l.current||(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,eW.composeEventHandlers)(e.onPointerLeave,t8(e=>{p();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,a="right"===r,o=t[a?"left":"right"],i=t[a?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:o,y:t.top},{x:i,y:t.top},{x:i,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,eW.composeEventHandlers)(e.onKeyDown,t=>{let r=""!==s.searchRef.current;e.disabled||r&&" "===t.key||to[a.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});t0.displayName=tQ;var t1="MenuSubContent",t2=i.forwardRef((e,r)=>{let n=tk(tC,e.__scopeMenu),{forceMount:a=n.forceMount,...o}=e,s=tx(tC,e.__scopeMenu),l=tv(tC,e.__scopeMenu),c=tJ(t1,e.__scopeMenu),d=i.useRef(null),u=(0,eX.useComposedRefs)(r,d);return(0,t.jsx)(tl.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(e8.Presence,{present:a||s.open,children:(0,t.jsx)(tl.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(tT,{id:c.contentId,"aria-labelledby":c.triggerId,...o,ref:u,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,eW.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,eW.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,eW.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=ts[l.dir].includes(e.key);t&&r&&(s.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})});function t5(e){return e?"open":"closed"}function t3(e){return"indeterminate"===e}function t4(e){return t3(e)?"indeterminate":e?"checked":"unchecked"}function t8(e){return t=>"mouse"===t.pointerType?e(t):void 0}t2.displayName=t1;var t6="DropdownMenu",[t9,t7]=(0,eq.createContextScope)(t6,[tp]),re=tp(),[rt,rr]=t9(t6),rn=e=>{let{__scopeDropdownMenu:r,children:n,dir:a,open:o,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=re(r),u=i.useRef(null),[p=!1,f]=(0,eY.useControllableState)({prop:o,defaultProp:s,onChange:l});return(0,t.jsx)(rt,{scope:r,triggerId:(0,e5.useId)(),triggerRef:u,contentId:(0,e5.useId)(),open:p,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(e=>!e),[f]),modal:c,children:(0,t.jsx)(ty,{...d,open:p,onOpenChange:f,dir:a,modal:c,children:n})})};rn.displayName=t6;var ra="DropdownMenuTrigger",ro=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,disabled:a=!1,...o}=e,s=rr(ra,n),i=re(n);return(0,t.jsx)(tb,{asChild:!0,...i,children:(0,t.jsx)(eZ.Primitive.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...o,ref:(0,eX.composeRefs)(r,s.triggerRef),onPointerDown:(0,eW.composeEventHandlers)(e.onPointerDown,e=>{!a&&0===e.button&&!1===e.ctrlKey&&(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,eW.composeEventHandlers)(e.onKeyDown,e=>{!a&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});ro.displayName=ra;var rs=e=>{let{__scopeDropdownMenu:r,...n}=e,a=re(r);return(0,t.jsx)(tN,{...a,...n})};rs.displayName="DropdownMenuPortal";var ri="DropdownMenuContent",rl=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=rr(ri,n),s=re(n),l=i.useRef(!1);return(0,t.jsx)(tO,{id:o.contentId,"aria-labelledby":o.triggerId,...s,...a,ref:r,onCloseAutoFocus:(0,eW.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||o.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,eW.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!o.modal||n)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rl.displayName=ri,i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tE,{...o,...a,ref:r})}).displayName="DropdownMenuGroup";var rc=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tD,{...o,...a,ref:r})});rc.displayName="DropdownMenuLabel";var rd=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tL,{...o,...a,ref:r})});rd.displayName="DropdownMenuItem";var ru=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tF,{...o,...a,ref:r})});ru.displayName="DropdownMenuCheckboxItem",i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tH,{...o,...a,ref:r})}).displayName="DropdownMenuRadioGroup";var rp=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tG,{...o,...a,ref:r})});rp.displayName="DropdownMenuRadioItem";var rf=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tX,{...o,...a,ref:r})});rf.displayName="DropdownMenuItemIndicator";var rm=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tq,{...o,...a,ref:r})});rm.displayName="DropdownMenuSeparator",i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(tY,{...o,...a,ref:r})}).displayName="DropdownMenuArrow";var rh=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(t0,{...o,...a,ref:r})});rh.displayName="DropdownMenuSubTrigger";var rx=i.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,o=re(n);return(0,t.jsx)(t2,{...o,...a,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rx.displayName="DropdownMenuSubContent";var rg=e.i(43531),rv=e.i(63059);let ry=(0,eB.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);i.forwardRef(({className:e,inset:r,children:n,...a},o)=>(0,t.jsxs)(rh,{ref:o,className:(0,eV.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",e),...a,children:[n,(0,t.jsx)(rv.ChevronRight,{className:"ml-auto"})]})).displayName=rh.displayName,i.forwardRef(({className:e,...r},n)=>(0,t.jsx)(rx,{ref:n,className:(0,eV.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})).displayName=rx.displayName;let rb=i.forwardRef(({className:e,sideOffset:r=4,...n},a)=>(0,t.jsx)(rs,{children:(0,t.jsx)(rl,{ref:a,sideOffset:r,className:(0,eV.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));rb.displayName=rl.displayName,i.forwardRef(({className:e,inset:r,...n},a)=>(0,t.jsx)(rd,{ref:a,className:(0,eV.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",e),...n})).displayName=rd.displayName;let rj=i.forwardRef(({className:e,children:r,checked:n,...a},o)=>(0,t.jsxs)(ru,{ref:o,className:(0,eV.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...a,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(rf,{children:(0,t.jsx)(rg.Check,{className:"h-4 w-4"})})}),r]}));rj.displayName=ru.displayName,i.forwardRef(({className:e,children:r,...n},a)=>(0,t.jsxs)(rp,{ref:a,className:(0,eV.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(rf,{children:(0,t.jsx)(ry,{className:"h-2 w-2 fill-current"})})}),r]})).displayName=rp.displayName;let rw=i.forwardRef(({className:e,inset:r,...n},a)=>(0,t.jsx)(rc,{ref:a,className:(0,eV.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",e),...n}));rw.displayName=rc.displayName;let rk=i.forwardRef(({className:e,...r},n)=>(0,t.jsx)(rm,{ref:n,className:(0,eV.cn)("-mx-1 my-1 h-px bg-muted",e),...r}));rk.displayName=rm.displayName;var rN=e.i(46798),rC=e.i(59684),rS=e.i(37822);let rA=({children:e,placeholderHeight:r="300px"})=>{let[n,o]=(0,i.useState)(!1),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=new IntersectionObserver(([t])=>{t.isIntersecting&&(o(!0),e.disconnect())},{rootMargin:"0px 0px 200px 0px"}),t=s.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[]),(0,t.jsx)("div",{ref:s,style:{minHeight:n?void 0:r},children:n?e:(0,t.jsx)(a.Skeleton,{className:"w-full rounded-2xl",style:{height:r}})})},rO={passed:"hsl(var(--chart-3))",failed:"hsl(var(--destructive))",skipped:"hsl(var(--accent))",flaky:"hsl(var(--flaky))",timedOut:"hsl(var(--destructive))",pending:"hsl(var(--muted-foreground))",default1:"hsl(var(--chart-1))",default2:"hsl(var(--chart-2))",default3:"hsl(var(--chart-4))",default4:"hsl(var(--chart-5))",default5:"hsl(var(--chart-3))"};function rP(e){if(0===e)return"0s";let t=parseFloat((e/1e3).toFixed(1));return`${t}s`}function rR(e){if(!e)return"";let t=e.split(" > ");return t[t.length-1]||e}let rT=({active:e,payload:r,label:n})=>{if(e&&r&&r.length){let e,a=r[0].payload,o=a&&void 0!==a.total&&r.length>0,s=a&&void 0!==a.percentage&&a.name;return"undefined"===(e=s&&a?.name?a.name:a?.fullTestName?rR(a.fullTestName):String(n))&&r[0]?.name!==void 0&&(e=String(r[0].name)),"undefined"===e&&(e="Details"),(0,t.jsxs)("div",{className:"bg-card p-3 border border-border rounded-xl shadow-lg",children:[(0,t.jsx)("p",{className:"label text-sm font-semibold text-foreground truncate max-w-xs",title:e,children:e}),r.map((e,r)=>(0,t.jsxs)("p",{style:{color:e.color||e.payload?.fill},className:"text-xs",children:[`${e.name||"Value"}: ${e.value?.toLocaleString()}${e.unit||""}`,s&&a&&e.name===a.name&&` (${a.percentage}%)`]},`item-${r}`)),o&&a&&(0,t.jsxs)("p",{className:"text-xs font-bold mt-1 text-foreground",children:["Total: ",a.total.toLocaleString()]})]})}return null},rE=({browserName:e,className:r})=>{let n=function(e){if(!e)return"Unknown";let t=e.toLowerCase();return(t.includes("chrome")||t.includes("chromium"))&&(t.includes("mobile")||t.includes("android"))?"Chrome Mobile":t.includes("safari")&&t.includes("mobile")?"Mobile Safari":t.includes("chrome")||t.includes("chromium")?"Chrome":t.includes("firefox")?"Firefox":t.includes("msedge")||t.includes("edge")?"Edge":t.includes("safari")||t.includes("webkit")?"Safari":"Unknown"}(e);return"Chrome"===n||"Chrome Mobile"===n?(0,t.jsx)(eM.Chrome,{className:(0,eV.cn)("h-4 w-4",r)}):"Safari"===n||"Mobile Safari"===n?(0,t.jsx)(e_.Compass,{className:(0,eV.cn)("h-4 w-4",r)}):(0,t.jsx)(eL.Globe,{className:(0,eV.cn)("h-4 w-4",r)})},rD=e=>{let r=Math.PI/180,{cx:n,cy:a,midAngle:o,innerRadius:s=0,outerRadius:i=0,startAngle:l=0,endAngle:c=0,fill:d,payload:u,percent:p,value:f=0}=e,m=Math.sin(-r*(o??0)),h=Math.cos(-r*(o??0)),x=(n??0)+(i+10)*h,g=(a??0)+(i+10)*m,v=(n??0)+(i+30)*h,y=(a??0)+(i+30)*m,b=v+(h>=0?1:-1)*22,j=h>=0?"start":"end",w=u?.name==="Passed"?rO.passed:"hsl(var(--foreground))";return(0,t.jsxs)("g",{children:[(0,t.jsx)("text",{x:n,y:a,dy:8,textAnchor:"middle",fill:w,className:"text-lg font-bold",children:u?.name}),(0,t.jsx)(eE.Sector,{cx:n,cy:a,innerRadius:s,outerRadius:i,startAngle:l,endAngle:c,fill:d}),(0,t.jsx)(eE.Sector,{cx:n,cy:a,startAngle:l,endAngle:c,innerRadius:i+6,outerRadius:i+10,fill:d}),(0,t.jsx)("path",{d:`M${x},${g}L${v},${y}L${b},${y}`,stroke:d,fill:"none"}),(0,t.jsx)("circle",{cx:b,cy:y,r:2,fill:d,stroke:"none"}),(0,t.jsx)("text",{x:b+(h>=0?1:-1)*12,y:y,textAnchor:j,fill:"hsl(var(--foreground))",className:"text-xs",children:`${f}`}),(0,t.jsx)("text",{x:b+(h>=0?1:-1)*12,y:y,dy:18,textAnchor:j,fill:"hsl(var(--muted-foreground))",className:"text-xs",children:`(Rate ${((p??0)*100).toFixed(2)}%)`})]})};e.s(["DashboardOverviewCharts",0,function({currentRun:e,loading:s,error:l}){let[c,d]=(0,i.useState)(""),[u,p]=(0,i.useState)("all"),[f,m]=(0,i.useState)([]),h=(0,i.useMemo)(()=>e?.results?Array.from(new Set(e.results.map(e=>e.suiteName).filter(e=>e))).sort():[],[e?.results]),x=(0,i.useMemo)(()=>e?.results?Array.from(new Set(e.results.map(e=>e.workerId).filter(e=>null!=e&&""!==e&&"-1"!==String(e)).map(e=>String(e)))).sort((e,t)=>e.localeCompare(t,void 0,{numeric:!0})):[],[e?.results]);(0,i.useEffect)(()=>{x.length>0&&m(x)},[x]);let g=(0,i.useMemo)(()=>e?.results?e.results.filter(e=>{let t=null!=e.workerId?String(e.workerId):"";return(!(f.length>0)||!!f.includes(t))&&("all"===u||e.suiteName===u)&&(!c||!!e.name.toLowerCase().includes(c.toLowerCase()))&&"-1"!==t&&""!==t&&e.startTime&&"number"==typeof e.duration}):[],[e?.results,c,u,f]),v=(0,i.useMemo)(()=>e?.results?Object.entries(g.reduce((e,t)=>{let r=null!=t.workerId?String(t.workerId):"unknown";return e[r]||(e[r]=[]),e[r].push(t),e},{})).map(([e,t])=>({workerId:e,tests:t.sort((e,t)=>new Date(e.startTime).getTime()-new Date(t.startTime).getTime()),totalDuration:t.reduce((e,t)=>e+t.duration,0)})).sort((e,t)=>e.workerId.localeCompare(t.workerId,void 0,{numeric:!0})):[],[e?.results,c,u,f]),[y,b]=(0,i.useState)(0),j=(0,i.useCallback)((e,t)=>{b(t)},[]),w=(0,i.useCallback)(()=>{b(0)},[]),k=(0,i.useMemo)(()=>""!==c||"all"!==u||f.length!==x.length,[c,u,f,x]),N=(0,i.useCallback)(()=>{d(""),p("all"),m(x)},[x]);if(s)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-8 mb-6",children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Test Execution Analytics"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Detailed visualization of test distribution, performance metrics, and worker utilization"})]}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3 mt-6",children:[void 0,void 0,void 0,void 0,void 0].map((e,r)=>(0,t.jsxs)(n.Card,{className:"shadow-md rounded-xl",children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(a.Skeleton,{className:"h-5 w-3/4 rounded-xl"}),(0,t.jsx)(a.Skeleton,{className:"h-4 w-1/2 mt-1 rounded-xl"})]}),(0,t.jsx)(n.CardContent,{children:(0,t.jsx)(a.Skeleton,{className:"h-48 w-full rounded-2xl"})})]},r))})]});if(l)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-8 mb-6",children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Test Execution Analytics"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Detailed visualization of test distribution, performance metrics, and worker utilization"})]}),(0,t.jsxs)(o.Alert,{variant:"destructive",className:"mt-6 rounded-2xl shadow-lg",children:[(0,t.jsx)(eD.Terminal,{className:"h-4 w-4"}),(0,t.jsx)(o.AlertTitle,{children:"Error Loading Chart Data"}),(0,t.jsx)(o.AlertDescription,{children:l})]})]});if(!e||!e.run||!e.results)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-8 mb-6",children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Test Execution Analytics"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Detailed visualization of test distribution, performance metrics, and worker utilization"})]}),(0,t.jsxs)(o.Alert,{className:"mt-6 rounded-2xl shadow-lg",children:[(0,t.jsx)(eI.Info,{className:"h-4 w-4"}),(0,t.jsx)(o.AlertTitle,{children:"No Data for Charts"}),(0,t.jsx)(o.AlertDescription,{children:"Current run data is not available to display charts."})]})]});let{passed:C,failed:S,skipped:A,timedOut:O=0,pending:P=0}=e.run,R={passed:0,failed:0,skipped:0,flaky:0,pending:0};e.results.forEach(e=>{let t=(0,r.getEffectiveTestStatus)(e);"passed"===t?R.passed++:"failed"===t||"timedOut"===t?R.failed++:"skipped"===t?R.skipped++:"flaky"===t?R.flaky++:"pending"===t&&R.pending++});let T=R.passed+R.failed+R.skipped+R.flaky+R.pending,E=[{name:"Passed",value:R.passed,fill:rO.passed},{name:"Failed",value:R.failed,fill:rO.failed},{name:"Skipped",value:R.skipped,fill:rO.skipped},{name:"Flaky",value:R.flaky,fill:rO.flaky},...R.pending>0?[{name:"Pending",value:R.pending,fill:rO.pending}]:[]].filter(e=>e.value>0).map(e=>({...e,name:e.name,value:e.value,fill:e.fill,percentage:T>0?(e.value/T*100).toFixed(1):"0.0"})),D=Object.values(e.results.reduce((e,t)=>{let n=t.browser||"Unknown";e[n]||(e[n]={name:n,passed:0,failed:0,skipped:0,flaky:0,pending:0,total:0});let a=(0,r.getEffectiveTestStatus)(t);return"passed"===a?e[n].passed++:"failed"===a||"timedOut"===a?e[n].failed++:"skipped"===a?e[n].skipped++:"flaky"===a?e[n].flaky++:"pending"===a&&e[n].pending++,e[n].total++,e},{})).sort((e,t)=>t.total-e.total),I=Object.values(e.results.reduce((e,t)=>{let n=t.suiteName||"Unknown Suite";e[n]||(e[n]={name:n,passed:0,failed:0,skipped:0,flaky:0,pending:0,total:0});let a=(0,r.getEffectiveTestStatus)(t);return"passed"===a?e[n].passed++:"failed"===a||"timedOut"===a?e[n].failed++:"skipped"===a?e[n].skipped++:"flaky"===a?e[n].flaky++:"pending"===a&&e[n].pending++,e[n].total++,e},{})).sort((e,t)=>t.total-e.total),M=[...e.results].sort((e,t)=>t.duration-e.duration).slice(0,10).map(e=>({name:rR(e.name),duration:e.duration,durationFormatted:rP(e.duration),fullTestName:e.name,status:(0,r.getEffectiveTestStatus)(e)})),L=D.some(e=>e.pending>0),_=I.some(e=>e.pending>0),F=(0,i.useMemo)(()=>g.reduce((e,t)=>{e.totalTests++;let r=t.retryHistory?t.retryHistory.filter(e=>"passed"!==e.status&&"skipped"!==e.status).length:0;return r>0&&(e.testsWithRetries++,e.totalRetries+=r,r>e.maxRetries?(e.maxRetries=r,e.maxRetryTests=[t.name]):r===e.maxRetries&&e.maxRetries>0&&e.maxRetryTests.push(t.name)),e},{totalTests:0,testsWithRetries:0,totalRetries:0,maxRetries:0,maxRetryTests:[]}),[g]),K=D.map(t=>({name:t.name,value:t.total,fill:rO[`default${D.indexOf(t)%5+1}`],percentage:(t.total/e.results.length*100).toFixed(1)}));return console.log("Browser Distribution Data:",K),(0,t.jsxs)("div",{className:"mt-6 space-y-6 p-6 lg:p-8 bg-muted/20 backdrop-blur-md border border-border/40 rounded-[2.5rem] shadow-inner",children:[(0,t.jsxs)("div",{className:"mt-8 mb-6",children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Test Execution Analytics"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Detailed visualization of test distribution, performance metrics, and worker utilization"})]}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1",children:(0,t.jsxs)(n.Card,{className:"shadow-lg hover:shadow-2xl transition-shadow duration-300 rounded-xl border-0 bg-gradient-to-br from-card via-card to-card/95 group",children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-lg font-semibold text-foreground group-hover:text-primary transition-colors",children:"Retry Count"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Test retry statistics"})]}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,t.jsxs)("div",{className:"text-center p-4 bg-muted/50 rounded-2xl",children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-foreground",children:F.testsWithRetries}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-2 font-medium",children:"Tests with Retries"}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mt-1",children:[F.totalTests>0?(F.testsWithRetries/F.totalTests*100).toFixed(1):"0.0","% of total"]})]}),(0,t.jsxs)("div",{className:"text-center p-4 bg-muted/50 rounded-2xl",children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-foreground",children:F.totalRetries}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-2 font-medium",children:"Total Retries"})]}),(0,t.jsxs)("div",{className:"text-center p-4 bg-muted/50 rounded-2xl",children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-foreground",children:F.maxRetries}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-2 font-medium",children:"Max Retries"}),F.maxRetryTests.length>0&&(0,t.jsxs)(rS.Popover,{children:[(0,t.jsx)(rS.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)("button",{className:"text-xs text-muted-foreground mt-2 truncate cursor-pointer border-b border-dotted border-muted-foreground/50 inline-block max-w-[180px] hover:text-foreground transition-colors focus:outline-none",children:["Tests with Max Retries (",F.maxRetryTests.length,")"]})}),(0,t.jsxs)(rS.PopoverContent,{className:"w-[300px] p-0 overflow-hidden border-border shadow-xl",children:[(0,t.jsx)("div",{className:"bg-muted/50 px-3 py-2 border-b border-border",children:(0,t.jsxs)("h4",{className:"font-semibold text-xs text-foreground",children:["Tests with Max Retries (",F.maxRetries,")"]})}),(0,t.jsx)(rC.ScrollArea,{className:"max-h-[200px] overflow-y-auto p-2",children:(0,t.jsx)("ul",{className:"space-y-1",children:F.maxRetryTests.map((e,r)=>(0,t.jsx)("li",{className:"text-xs text-muted-foreground break-words leading-tight bg-card/50 p-1.5 rounded-xl border border-transparent hover:border-border transition-colors text-left",children:e.replace(">","•")},r))})})]})]})]})]})})]})}),(0,t.jsxs)("div",{className:"grid gap-6 md:grid-cols-1 lg:grid-cols-3",children:[(0,t.jsxs)(n.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 lg:col-span-2",children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-lg font-semibold text-foreground group-hover:text-primary transition-colors",children:"Test Status Distribution"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Overall test execution outcomes."})]}),(0,t.jsx)(n.CardContent,{className:"flex justify-center items-center min-h-[280px]",children:(0,t.jsx)("div",{className:"w-full h-[280px]",children:E.length>0?(0,t.jsx)(eT.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(ek,{margin:{top:0,right:0,bottom:0,left:0},onMouseLeave:w,children:[(0,t.jsx)(ew,{activeIndex:y,activeShape:rD,data:E,cx:"50%",cy:"50%",innerRadius:60,outerRadius:90,dataKey:"value",nameKey:"name",onMouseEnter:j,paddingAngle:2,stroke:"hsl(var(--card))",children:E.map((e,r)=>(0,t.jsx)(es.Cell,{fill:e.fill},`cell-${r}`))}),(0,t.jsx)(eP.Tooltip,{content:(0,t.jsx)(rT,{})}),(0,t.jsx)(eR.Legend,{iconSize:10,layout:"horizontal",verticalAlign:"bottom",align:"center",wrapperStyle:{fontSize:"12px",paddingTop:"10px"}})]})}):(0,t.jsx)("div",{className:"text-center text-muted-foreground",children:"No test distribution data."})})})]}),(0,t.jsxs)(n.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.jsx)(n.CardHeader,{className:"pb-3",children:(0,t.jsxs)(n.CardTitle,{className:"text-base font-semibold text-foreground group-hover:text-primary transition-colors flex items-center gap-2",children:[(0,t.jsx)(eL.Globe,{className:"h-4 w-4"}),"Browser Distribution",K.length>0&&(0,t.jsxs)("span",{className:"text-xs font-normal text-muted-foreground",children:["(",K.length," total)"]})]})}),(0,t.jsx)(n.CardContent,{className:"pt-0",children:(0,t.jsxs)("div",{className:"space-y-2 max-h-[280px] overflow-y-auto pr-1",children:[K.length>0?K.slice(0,5).map((e,r)=>(0,t.jsxs)("div",{className:"flex items-center justify-between p-2.5 rounded-2xl hover:bg-muted/50 transition-all duration-200 group/item",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[(0,t.jsx)(rE,{browserName:e.name,className:"flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:e.name})]}),(0,t.jsxs)("span",{className:"text-sm font-semibold text-foreground whitespace-nowrap ml-2",children:[e.percentage,"% (",e.value,")"]})]},e.name)):(0,t.jsx)("div",{className:"text-center text-muted-foreground py-8 text-sm",children:"No browser data."}),K.length>5&&(0,t.jsxs)("div",{className:"flex items-center justify-center pt-2 mt-2 border-t border-border opacity-60 italic text-xs text-muted-foreground",children:["+",K.length-5," more browsers"]})]})})]})]}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1",children:(0,t.jsxs)(n.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)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-lg font-semibold text-foreground group-hover:text-primary transition-colors",children:"Tests by Browser"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Breakdown of test outcomes per browser."})]}),(0,t.jsxs)(n.CardContent,{children:[(0,t.jsx)("div",{className:"w-full h-[250px]",children:D.length>0?(0,t.jsx)(eT.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eN.BarChart,{data:D,layout:"vertical",margin:{top:5,right:30,left:20,bottom:5},children:[(0,t.jsx)(eO.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(eS.XAxis,{type:"number",stroke:"hsl(var(--muted-foreground))",fontSize:10}),(0,t.jsx)(eA.YAxis,{dataKey:"name",type:"category",hide:!0}),(0,t.jsx)(eP.Tooltip,{content:(0,t.jsx)(rT,{}),cursor:{fill:"hsl(var(--muted))",fillOpacity:.3}}),(0,t.jsx)(eR.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eC.Bar,{dataKey:"passed",name:"Passed",stackId:"a",fill:rO.passed,barSize:20}),(0,t.jsx)(eC.Bar,{dataKey:"failed",name:"Failed",stackId:"a",fill:rO.failed,barSize:20}),(0,t.jsx)(eC.Bar,{dataKey:"skipped",name:"Skipped",stackId:"a",fill:rO.skipped,barSize:20}),(0,t.jsx)(eC.Bar,{dataKey:"flaky",name:"Flaky",stackId:"a",fill:rO.flaky,barSize:20}),L&&(0,t.jsx)(eC.Bar,{dataKey:"pending",name:"Pending",stackId:"a",fill:rO.pending,barSize:20})]})}):(0,t.jsx)("div",{className:"text-center text-muted-foreground h-[250px] flex items-center justify-center",children:"No browser data."})}),(0,t.jsx)("div",{className:"flex flex-wrap gap-x-4 gap-y-2 mt-3 text-xs text-muted-foreground",children:D.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-1",title:e.name,children:[(0,t.jsx)(rE,{browserName:e.name,className:"mr-1"}),(0,t.jsx)("span",{className:"truncate max-w-[150px]",children:e.name})]},e.name))})]}),(0,t.jsxs)(o.Alert,{children:[(0,t.jsx)(eI.Info,{className:"h-4 w-4"}),(0,t.jsxs)(o.AlertDescription,{children:[(0,t.jsx)("strong",{children:"Note:"})," Icons are representative. Full browser name (including version) is shown in tooltip."]})]})]})}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-1",children:(0,t.jsxs)(n.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 lg:col-span-2",children:[(0,t.jsxs)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-lg font-semibold text-foreground group-hover:text-primary transition-colors",children:"Top 10 Slowest Tests"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Top 10 longest running tests in this run. Full names in tooltip."})]}),(0,t.jsx)(n.CardContent,{children:(0,t.jsx)("div",{className:"w-full h-[250px]",children:M.length>0?(0,t.jsx)(eT.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eN.BarChart,{data:M,margin:{top:5,right:5,left:5,bottom:30},children:[(0,t.jsx)(eO.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(eS.XAxis,{dataKey:"name",tickLine:!1,tickFormatter:()=>"",stroke:"hsl(var(--muted-foreground))"}),(0,t.jsx)(eA.YAxis,{stroke:"hsl(var(--muted-foreground))",fontSize:10,tickFormatter:e=>rP(e),domain:[0,e=>e>0?Math.round(1.2*e):100]}),(0,t.jsx)(eP.Tooltip,{content:({active:e,payload:r,label:n})=>{if(e&&r&&r.length){let e=r[0].payload;return(0,t.jsxs)("div",{className:"bg-card p-3 border border-border rounded-xl shadow-lg",children:[(0,t.jsx)("p",{className:"label text-sm font-semibold text-foreground truncate max-w-xs",title:e.fullTestName,children:rR(e.fullTestName)}),(0,t.jsxs)("p",{className:"text-xs",style:{color:"passed"===e.status?rO.passed:"failed"===e.status||"timedOut"===e.status?rO.failed:"flaky"===e.status?rO.flaky:rO.skipped},children:["Duration:"," ",rP(e.duration)," (Status:"," ",e.status,")"]})]})}return null},cursor:{fill:"hsl(var(--muted))",fillOpacity:.3}}),(0,t.jsxs)(eC.Bar,{dataKey:"duration",name:"Duration",barSize:20,children:[M.map((e,r)=>(0,t.jsx)(es.Cell,{fill:"passed"===e.status?rO.passed:"failed"===e.status||"timedOut"===e.status?rO.failed:"flaky"===e.status?rO.flaky:rO.skipped},`cell-${r}`)),(0,t.jsx)(eo.LabelList,{dataKey:"durationFormatted",position:"top",style:{fontSize:"10px",fill:"hsl(var(--foreground))"}})]})]})}):(0,t.jsx)("p",{className:"text-muted-foreground h-[250px] flex items-center justify-center",children:"No test data to display for slowest tests."})})})]})}),(0,t.jsxs)(n.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)(n.CardHeader,{children:[(0,t.jsx)(n.CardTitle,{className:"text-base font-semibold text-foreground group-hover:text-primary transition-colors",children:"Test Results by Suite"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Breakdown of test outcomes per suite."})]}),(0,t.jsx)(n.CardContent,{className:"max-h-[400px] overflow-y-auto",children:(0,t.jsx)("div",{className:"w-full",style:{height:Math.max(250,45*I.length+60)},children:I.length>0?(0,t.jsx)(eT.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(eN.BarChart,{data:I,layout:"vertical",margin:{top:5,right:30,left:20,bottom:5},children:[(0,t.jsx)(eO.CartesianGrid,{strokeDasharray:"3 3",stroke:"hsl(var(--border))"}),(0,t.jsx)(eS.XAxis,{type:"number",stroke:"hsl(var(--muted-foreground))",fontSize:10}),(0,t.jsx)(eA.YAxis,{dataKey:"name",type:"category",stroke:"hsl(var(--muted-foreground))",fontSize:10,width:150,tickFormatter:e=>e.length>20?e.substring(0,17)+"...":e,interval:0}),(0,t.jsx)(eP.Tooltip,{content:(0,t.jsx)(rT,{}),cursor:{fill:"hsl(var(--muted))",fillOpacity:.3}}),(0,t.jsx)(eR.Legend,{wrapperStyle:{fontSize:"12px",paddingTop:"10px"}}),(0,t.jsx)(eC.Bar,{dataKey:"passed",name:"Passed",stackId:"suiteStack",fill:rO.passed,barSize:15}),(0,t.jsx)(eC.Bar,{dataKey:"failed",name:"Failed",stackId:"suiteStack",fill:rO.failed,barSize:15}),(0,t.jsx)(eC.Bar,{dataKey:"skipped",name:"Skipped",stackId:"suiteStack",fill:rO.skipped,barSize:15}),(0,t.jsx)(eC.Bar,{dataKey:"flaky",name:"Flaky",stackId:"suiteStack",fill:rO.flaky,barSize:15}),_&&(0,t.jsx)(eC.Bar,{dataKey:"pending",name:"Pending",stackId:"suiteStack",fill:rO.pending,barSize:15})]})}):(0,t.jsx)("div",{className:"text-center text-muted-foreground h-[250px] flex items-center justify-center",children:"No suite data."})})})]}),(0,t.jsxs)(n.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.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(n.CardTitle,{className:"text-lg font-semibold text-foreground group-hover:text-primary transition-colors",children:"Worker Utilization"}),(0,t.jsx)(n.CardDescription,{className:"text-xs",children:"Filter and inspect tests chronologically for each worker. Slice size represents test duration."})]}),(0,t.jsx)("div",{className:"h-10 w-10 rounded-full bg-gradient-to-br from-primary/10 to-primary/5 flex items-center justify-center",children:(0,t.jsx)(eF.Users,{className:"h-5 w-5 text-primary"})})]})}),(0,t.jsxs)(n.CardContent,{children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4 mb-6 p-6 border border-border/50 rounded-xl bg-muted/40 shadow-inner backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"relative w-full sm:max-w-xs",children:[(0,t.jsx)(eH,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),(0,t.jsx)(eG.Input,{placeholder:"Filter by test name...",value:c,onChange:e=>d(e.target.value),className:"pl-8 w-full"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[(0,t.jsxs)(e$.Select,{value:u,onValueChange:p,children:[(0,t.jsx)(e$.SelectTrigger,{className:"w-full sm:w-[180px]",children:(0,t.jsx)(e$.SelectValue,{placeholder:"Filter by suite"})}),(0,t.jsxs)(e$.SelectContent,{children:[(0,t.jsx)(e$.SelectItem,{value:"all",children:"All Suites"}),h.map(e=>(0,t.jsx)(e$.SelectItem,{value:e,children:e},e))]})]}),(0,t.jsxs)(rn,{children:[(0,t.jsx)(ro,{asChild:!0,children:(0,t.jsxs)(eU.Button,{variant:"outline",className:"w-full sm:w-[180px] justify-between",children:[(0,t.jsxs)("span",{children:["Workers (",f.length,"/",x.length,")"]}),(0,t.jsx)(eK.ListFilter,{className:"h-4 w-4"})]})}),(0,t.jsxs)(rb,{className:"w-56",align:"end",children:[(0,t.jsx)(rw,{children:"Visible Workers"}),(0,t.jsx)(rk,{}),x.length>0?x.map(e=>(0,t.jsxs)(rj,{checked:f.includes(e),onCheckedChange:t=>{m(r=>t?[...r,e]:r.filter(t=>t!==e))},children:["Worker ",e]},e)):(0,t.jsx)(rw,{className:"font-normal text-muted-foreground",children:"No workers found"})]})]}),k&&(0,t.jsx)(rN.TooltipProvider,{children:(0,t.jsxs)(rN.Tooltip,{children:[(0,t.jsx)(rN.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)(eU.Button,{variant:"ghost",size:"icon",onClick:N,children:[(0,t.jsx)(ez,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Reset Filters"})]})}),(0,t.jsx)(rN.TooltipContent,{children:(0,t.jsx)("p",{children:"Reset Filters"})})]})})]})]}),v.length>0?(0,t.jsx)("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:v.map(({workerId:e,tests:r,totalDuration:n})=>(0,t.jsx)(rA,{children:(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsxs)("h4",{className:"font-semibold text-center mb-2",children:["Worker ",e]}),(0,t.jsxs)("div",{className:"w-full h-[250px] relative",children:[(0,t.jsx)(eT.ResponsiveContainer,{width:"100%",height:"100%",children:(0,t.jsxs)(ek,{children:[(0,t.jsx)(ew,{data:r,dataKey:"duration",nameKey:"name",cx:"50%",cy:"50%",innerRadius:60,outerRadius:80,paddingAngle:2,stroke:"hsl(var(--card))",children:r.map((e,r)=>(0,t.jsx)(es.Cell,{fill:rO[e.status]||rO.default1},`cell-${r}`))}),(0,t.jsx)(eP.Tooltip,{content:({active:e,payload:r})=>{if(e&&r&&r.length){let e=r[0].payload;return(0,t.jsxs)("div",{className:"bg-background p-3 border border-border rounded-xl shadow-lg max-w-sm",children:[(0,t.jsx)("p",{className:"label text-sm font-semibold text-foreground truncate",title:e.name,children:rR(e.name)}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mt-1",children:["Suite: ",e.suiteName||"N/A"]}),(0,t.jsxs)("p",{className:"text-xs",style:{color:r[0].color||rO.default1},children:["Status: ",e.status]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Duration:"," ",rP(e.duration)]})]})}return null}}),(0,t.jsx)(eR.Legend,{iconSize:10,layout:"horizontal",verticalAlign:"bottom",align:"center",wrapperStyle:{fontSize:"12px",paddingTop:"10px"},payload:[{value:"Passed",type:"square",id:"ID01",color:rO.passed},{value:"Failed",type:"square",id:"ID02",color:rO.failed},{value:"Skipped",type:"square",id:"ID03",color:rO.skipped},{value:"Flaky",type:"square",id:"ID04",color:rO.flaky}]})]})}),(0,t.jsxs)("div",{className:"absolute top-1/2 left-1/2 z-10 -translate-x-1/2 -translate-y-1/2 text-center pointer-events-none",style:{marginTop:"-20px"},children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground",children:"Total"}),(0,t.jsx)("div",{className:"text-lg font-bold text-foreground",children:rP(n)})]})]})]})},e))}):(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center h-[200px] text-center p-4 rounded-2xl bg-muted/60",children:[(0,t.jsx)(eI.Info,{className:"h-8 w-8 text-muted-foreground mb-3"}),(0,t.jsx)("p",{className:"font-semibold text-foreground",children:"No Matching Data"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm mt-1",children:"Adjust your filters or verify the run data."})]})]})]})]})}],7600)},78472,e=>{e.n(e.i(7600))}]);
|