@karan171996/metricflow 0.15.1 → 0.17.2
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/chunks/{[root-of-the-server]__05i36w1._.js → [root-of-the-server]__05i36w1t4lzaf._.js} +20 -18
- package/.next/build/chunks/{[root-of-the-server]__1kki86f._.js → [root-of-the-server]__1kki86fknkq7y._.js} +26 -41
- package/.next/build/chunks/{[turbopack-node]_transforms_postcss_ts_1gfkiq9._.js → [turbopack-node]_transforms_postcss_ts_1gfkiq9iz8yb8._.js} +2 -2
- package/.next/build/chunks/[turbopack]_runtime.js +146 -16
- package/.next/build/chunks/{node_modules__pnpm_1x2anb_._.js → node_modules__pnpm_1x2anb_hbin35._.js} +96 -94
- package/.next/build/chunks/{pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2v._.js → pool_entry-[turbopack-node]_transforms_postcss_ts_0tp-k2vy8nj6i._.js} +3 -3
- package/.next/build-manifest.json +109 -9
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +9 -9
- package/.next/required-server-files.js +20 -2
- package/.next/required-server-files.json +20 -2
- package/.next/server/app/_global-error/page/build-manifest.json +8 -6
- package/.next/server/app/_global-error/page.js +9 -8
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +17 -13
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +19 -15
- package/.next/server/app/_global-error.segments/_full.segment.rsc +17 -13
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -1
- package/.next/server/app/_not-found/page/build-manifest.json +8 -6
- package/.next/server/app/_not-found/page.js +15 -14
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +49 -41
- package/.next/server/app/_not-found.segments/_full.segment.rsc +49 -41
- package/.next/server/app/_not-found.segments/_index.segment.rsc +36 -32
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +24 -19
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/api/analyze/route.js +8 -7
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/connect/route.js +8 -7
- package/.next/server/app/api/connect/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js +6 -5
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/lighthouse/route.js +8 -6
- package/.next/server/app/api/lighthouse/route.js.nft.json +1 -1
- package/.next/server/app/api/metrics/route.js +11 -9
- package/.next/server/app/api/metrics/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +7 -6
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/ai/route.js +8 -6
- package/.next/server/app/api/setup/ai/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js +11 -9
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/api/timings/route.js +7 -5
- package/.next/server/app/api/timings/route.js.nft.json +1 -1
- package/.next/server/app/connect/page/build-manifest.json +8 -6
- package/.next/server/app/connect/page.js +16 -15
- package/.next/server/app/connect/page.js.nft.json +1 -1
- package/.next/server/app/connect/page_client-reference-manifest.js +1 -1
- package/.next/server/app/connect.html +2 -2
- package/.next/server/app/connect.rsc +50 -42
- package/.next/server/app/connect.segments/_full.segment.rsc +50 -42
- package/.next/server/app/connect.segments/_index.segment.rsc +36 -32
- package/.next/server/app/connect.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/connect.segments/connect/__PAGE__.segment.rsc +32 -25
- package/.next/server/app/icon.svg/route.js +6 -6
- package/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +51 -42
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +25 -18
- package/.next/server/app/index.segments/_full.segment.rsc +51 -42
- package/.next/server/app/index.segments/_index.segment.rsc +36 -32
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -2
- package/.next/server/app/page/build-manifest.json +8 -6
- package/.next/server/app/page.js +16 -15
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/[slug]/page/build-manifest.json +8 -6
- package/.next/server/app/performance/[slug]/page.js +20 -19
- package/.next/server/app/performance/[slug]/page.js.nft.json +1 -1
- package/.next/server/app/performance/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/page/build-manifest.json +8 -6
- package/.next/server/app/performance/page.js +18 -16
- package/.next/server/app/performance/page.js.nft.json +1 -1
- package/.next/server/app/performance/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance.html +2 -2
- package/.next/server/app/performance.rsc +57 -49
- package/.next/server/app/performance.segments/_full.segment.rsc +57 -49
- package/.next/server/app/performance.segments/_index.segment.rsc +36 -32
- package/.next/server/app/performance.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/performance.segments/performance/__PAGE__.segment.rsc +42 -35
- package/.next/server/app/settings/page/build-manifest.json +8 -6
- package/.next/server/app/settings/page.js +19 -17
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup/page/build-manifest.json +8 -6
- package/.next/server/app/setup/page.js +16 -15
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup.html +2 -2
- package/.next/server/app/setup.rsc +51 -43
- package/.next/server/app/setup.segments/_full.segment.rsc +51 -43
- package/.next/server/app/setup.segments/_index.segment.rsc +36 -32
- package/.next/server/app/setup.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +33 -26
- package/.next/server/app/tools/[tool]/page/build-manifest.json +8 -6
- package/.next/server/app/tools/[tool]/page.js +19 -16
- package/.next/server/app/tools/[tool]/page.js.nft.json +1 -1
- package/.next/server/app/tools/[tool]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[externals]__034cn-2lv9fc5._.js +3 -0
- package/.next/server/chunks/[externals]__0m-k585k1ynvq._.js +3 -0
- package/.next/server/chunks/[externals]__0m1eyv0382orw._.js +3 -0
- package/.next/server/chunks/{[externals]__1rfyr-i._.js → [externals]__1rfyr-i_6_4of._.js} +1 -1
- package/.next/server/chunks/[externals]__1z442xhqm4-q4._.js +3 -0
- package/.next/server/chunks/{[externals]_chrome-launcher_1k_yki1._.js → [externals]_chrome-launcher_1k_yki1d1gvqj._.js} +1 -1
- package/.next/server/chunks/{[externals]_lighthouse_1su6d37._.js → [externals]_lighthouse_1su6d37ybt6tk._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__021zfu6-7cc23._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__06wfj6ibmc2nc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__07-t7hocjiwp-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__07qwm-ol7lj-f._.js +3 -0
- package/.next/server/chunks/{[externals]__0k9wda_._.js → [root-of-the-server]__08dump-5r93r3._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__09fryu78vrxh2._.js +10 -0
- package/.next/server/chunks/[root-of-the-server]__0unt2gweawji4._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__1180bcvq825ef._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1lt0tsd3d01sd._.js +3 -0
- package/.next/server/chunks/[turbopack]_runtime.js +146 -16
- package/.next/server/chunks/_0gf6dylf3zjfv._.js +3 -0
- package/.next/server/chunks/_0osv2v2oxu5cl._.js +22 -0
- package/.next/server/chunks/_0rxn0u4e1o4b3._.js +3 -0
- package/.next/server/chunks/_0rzna9d4n439r._.js +3 -0
- package/.next/server/chunks/_0s9eekzfwdkl-._.js +3 -0
- package/.next/server/chunks/_0soa3p92n2fo7._.js +3 -0
- package/.next/server/chunks/_0y45n89gcozoo._.js +61 -0
- package/.next/server/chunks/_1-tdo5u11b168._.js +3 -0
- package/.next/server/chunks/_10k_8ykwywloj._.js +3 -0
- package/.next/server/chunks/_1_v0zb-qciv_j._.js +3 -0
- package/.next/server/chunks/_1luopd-0ilby5._.js +6 -0
- package/.next/server/chunks/_1z5i56hgk-jwq._.js +3 -0
- package/.next/server/chunks/{_next-internal_server_app_api_analyze_route_actions_0lx-23h.js → _next-internal_server_app_api_analyze_route_actions_0lx-23h7r4czj.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_connect_route_actions_1r5w03m.js → _next-internal_server_app_api_connect_route_actions_1r5w03mk355_9.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_health_route_actions_1ryftkb.js → _next-internal_server_app_api_health_route_actions_1ryftkbeskq31.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_lighthouse_route_actions_1_4ee8x.js → _next-internal_server_app_api_lighthouse_route_actions_1_4ee8xkkof6q.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_metrics_route_actions_0qn5q3s.js → _next-internal_server_app_api_metrics_route_actions_0qn5q3sml2oxr.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_settings_route_actions_1bpm9ac.js → _next-internal_server_app_api_settings_route_actions_1bpm9acuq1z18.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_setup_ai_route_actions_0-ay8t8.js → _next-internal_server_app_api_setup_ai_route_actions_0-ay8t8qf99q5.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_setup_route_actions_0txsuev.js → _next-internal_server_app_api_setup_route_actions_0txsuev7wlgqs.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_api_timings_route_actions_1tsq7j6.js → _next-internal_server_app_api_timings_route_actions_1tsq7j6wf3hxu.js} +1 -1
- package/.next/server/chunks/{_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js → _next-internal_server_app_icon_svg_route_actions_1r2h_ubdhjtcp.js} +1 -1
- package/.next/server/chunks/lib_analytics_index_ts_00-ju4e5xwlcg._.js +20 -0
- package/.next/server/chunks/lib_hosted-stub_proxy_ts_17ed5vy81u-ak._.js +3 -0
- package/.next/server/chunks/lib_lighthouseRun_ts_1mjhbdn7ve63z._.js +3 -0
- package/.next/server/chunks/node_modules__pnpm_0in3pkq9pbn4f._.js +8 -0
- package/.next/server/chunks/ssr/0hs5_cn_dist_index_1l1fs8y5rr27h.js +3 -0
- package/.next/server/chunks/ssr/{10ci_lucide-react_dist_esm_Icon_mjs_05sy43t._.js → 10ci_lucide-react_dist_esm_Icon_mjs_05sy43tai5etd._.js} +2 -2
- package/.next/server/chunks/ssr/10ci_lucide-react_dist_esm_icons_zap_mjs_1e_yn93pbl2or._.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_03us230sc4s0h._.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_1vwwe2eezpy_7._.js +32 -0
- package/.next/server/chunks/ssr/1mf__next_dist_20egvxrcd7_ds._.js +6 -0
- package/.next/server/chunks/ssr/1mf__next_dist_client_components_1x7wpramfovhf._.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_client_components_builtin_forbidden_1502kx65fl78d.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_client_components_builtin_global-error_0kfn1fe4yos5o.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_client_components_builtin_unauthorized_177yqp0_cu2ez.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_00afil-v8lomb.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_07vwo673qz7bv.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_0urvugn9l2jex.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1ex5k-ovn8oo7.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1frvip0wwhdua.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1k42o4ycmnm1d.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1ugswt9vavizo.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1uzrphmi_cdb_.js +3 -0
- package/.next/server/chunks/ssr/1mf__next_dist_esm_build_templates_app-page_1z3poc4gqjwz-.js +3 -0
- package/.next/server/chunks/ssr/{[externals]_chrome-launcher_1k_yki1._.js → [externals]_chrome-launcher_1k_yki1d1gvqj._.js} +1 -1
- package/.next/server/chunks/ssr/{[externals]_lighthouse_1su6d37._.js → [externals]_lighthouse_1su6d37ybt6tk._.js} +1 -1
- package/.next/server/chunks/ssr/[externals]_next_dist_server_app-render_1m3jdi0t8hc-e._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__045sn1hct_tin._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__06lsjfhk7q07d._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__06x7snv1kcukh._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__07t859l_zmk0y._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_-9rlragciyf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ge_a6b3kff2i._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0p5esqtz_gjsm._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0x-gl_3kv4dvu._.js +14 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0zj7u9hi7p069._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1j747xcnawxvq._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1pvl_-x1p353o._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1q0s-a72-963f._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1tt4fc9o1flme._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1tw35y2g9muco._.js +3 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +146 -16
- package/.next/server/chunks/ssr/_04dkb8_-u70c9._.js +3 -0
- package/.next/server/chunks/ssr/_05048jmmcpbt_._.js +25 -0
- package/.next/server/chunks/ssr/_05g2g4e1n40vo._.js +3 -0
- package/.next/server/chunks/ssr/_0lyj2fhh-71bs._.js +3 -0
- package/.next/server/chunks/ssr/_0oigw1lf_-al4._.js +3 -0
- package/.next/server/chunks/ssr/_0x410-rr056-t._.js +23 -0
- package/.next/server/chunks/ssr/_13m9nev1lpq46._.js +3 -0
- package/.next/server/chunks/ssr/_14i08_i-23tuv._.js +3 -0
- package/.next/server/chunks/ssr/_18i8t72qyqvj2._.js +3 -0
- package/.next/server/chunks/ssr/_19n6wbo1l46do._.js +3 -0
- package/.next/server/chunks/ssr/_1lcqytrznpg6z._.js +3 -0
- package/.next/server/chunks/ssr/_1ncvmplpjc121._.js +3 -0
- package/.next/server/chunks/ssr/_1qf8b2zwn1vs4._.js +3 -0
- package/.next/server/chunks/ssr/_1ykoks44xsk1-._.js +3 -0
- package/.next/server/chunks/ssr/_20ize_amjuoiv._.js +3 -0
- package/.next/server/chunks/ssr/{_next-internal_server_app__global-error_page_actions_0zi5s8-.js → _next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app__not-found_page_actions_0pt47yr.js → _next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_connect_page_actions_1g-s_3i.js → _next-internal_server_app_connect_page_actions_1g-s_3iey9c04.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_page_actions_0hhsz1j.js → _next-internal_server_app_page_actions_0hhsz1jew5ls7.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_performance_[slug]_page_actions_1pzv3w1.js → _next-internal_server_app_performance_[slug]_page_actions_1pzv3w11cuux3.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_performance_page_actions_0vi13cc.js → _next-internal_server_app_performance_page_actions_0vi13ccve174w.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_settings_page_actions_11x4dq5.js → _next-internal_server_app_settings_page_actions_11x4dq5dxd520.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_setup_page_actions_0u1sm0s.js → _next-internal_server_app_setup_page_actions_0u1sm0sllb5ji.js} +1 -1
- package/.next/server/chunks/ssr/{_next-internal_server_app_tools_[tool]_page_actions_0-u-_p-.js → _next-internal_server_app_tools_[tool]_page_actions_0-u-_p-s2s4kf.js} +1 -1
- package/.next/server/chunks/ssr/{app_performance_[slug]_loading_tsx_0d5z78a._.js → app_performance_[slug]_loading_tsx_0d5z78aya8__5._.js} +2 -2
- package/.next/server/chunks/ssr/{app_performance_loading_tsx_1bq2nq9._.js → app_performance_loading_tsx_1bq2nq9lqcbph._.js} +2 -2
- package/.next/server/chunks/ssr/app_settings_loading_tsx_0nv_78vvetpph._.js +3 -0
- package/.next/server/chunks/ssr/components_18w8egp7qpjjt._.js +3 -0
- package/.next/server/chunks/ssr/components_1riaczrknh270._.js +3 -0
- package/.next/server/chunks/ssr/components_Analytics_10du3pppo4ase._.js +3 -0
- package/.next/server/chunks/ssr/components_Connect_ConnectPage_tsx_0b0vsklxlkki5._.js +13 -0
- package/.next/server/chunks/ssr/components_EmptyState_tsx_14lsjecfunxtu._.js +3 -0
- package/.next/server/chunks/ssr/components_Setup_15a--oq28y7ah._.js +3 -0
- package/.next/server/chunks/ssr/components_Skeletons_index_tsx_0u35wgc1zx7_r._.js +3 -0
- package/.next/server/chunks/ssr/components_ToolInsights_1f6cy0p-ah6w8._.js +3 -0
- package/.next/server/chunks/ssr/components_ui_0fae3sxyejqkf._.js +3 -0
- package/.next/server/chunks/ssr/components_ui_0ow-v6i1pfvwb._.js +3 -0
- package/.next/server/chunks/ssr/components_ui_1eqtkk6j8c1wg._.js +3 -0
- package/.next/server/chunks/ssr/components_ui_card_tsx_1ijgg6979qdv1._.js +3 -0
- package/.next/server/chunks/ssr/lib_useNotificationPrefs_ts_1pc6xgs7erjti._.js +3 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_0qyyzor7935s5._.js +32 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_15uzg3c048r_s._.js +33 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_1qq__y4frffjg._.js +33 -0
- package/.next/server/functions-config-manifest.json +4 -0
- package/.next/server/middleware-build-manifest.js +109 -9
- package/.next/server/middleware.js +4 -4
- package/.next/server/middleware.js.nft.json +1 -1
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/preview-props.json +5 -0
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/{8LtMJdCno9wkpYotBJePk → 3alXH6OUWpk3y4gpD18yo}/_clientMiddlewareManifest.js +4 -0
- package/.next/{server/chunks/ssr/node_modules__pnpm_20_uz79._.js → static/chunks/02d29qi4_pbbu.js} +2 -4
- package/.next/static/chunks/05l-4yyvaol7z.js +1 -0
- package/.next/static/chunks/0qo0f4cebeqml.js +1 -0
- package/.next/static/chunks/1_5l4q55pqn4k.js +1 -0
- package/.next/static/chunks/{2gp4docstg2a8.js → 1h07paelwfasb.js} +1 -1
- package/.next/static/chunks/{3eqgnx_zoya2q.css → 1yu174qlyg0sr.css} +1 -1
- package/.next/static/chunks/1ze1mg9mb0rxm.js +1 -0
- package/.next/static/chunks/21aqw71jtdbyt.js +1 -0
- package/.next/static/chunks/2q28qc_voku-m.js +1 -0
- package/.next/static/chunks/2seflj_4e3fgy.js +22 -0
- package/.next/static/chunks/2wje_rdg6693f.js +1 -0
- package/.next/static/chunks/35qv7olver6_f.js +1 -0
- package/.next/static/chunks/35s3suo7qypsf.js +11 -0
- package/.next/static/chunks/396lmbjx9ezjw.js +1 -0
- package/.next/static/chunks/3dq6tq6lvwk0p.js +1 -0
- package/.next/static/chunks/3k6gx3lp7rf1u.js +1 -0
- package/.next/static/chunks/3y20fa9od78jj.js +1 -0
- package/.next/static/chunks/3y4u-f4g35u_2.js +1 -0
- package/.next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/bin/cli.mjs +2 -0
- package/package.json +10 -5
- package/.next/server/chunks/[externals]__0_9e0si._.js +0 -3
- package/.next/server/chunks/[externals]__1f7xi3d._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__05mqvyo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0_6kr31._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0az11z3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0dv0ig6._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0egyynf._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0fkj1-q._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0vbatar._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1231g--._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__12lkcy1._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1mj-h97._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1o9k4jf._.js +0 -10
- package/.next/server/chunks/[root-of-the-server]__1wcikrf._.js +0 -5
- package/.next/server/chunks/_08xo8nu._.js +0 -22
- package/.next/server/chunks/_0j7t8f9._.js +0 -3
- package/.next/server/chunks/_0w8wvdn._.js +0 -3
- package/.next/server/chunks/_0wct7-r._.js +0 -3
- package/.next/server/chunks/_1f80q3b._.js +0 -158
- package/.next/server/chunks/_1l9d64o._.js +0 -6
- package/.next/server/chunks/lib_analytics_index_ts_00-ju4e._.js +0 -20
- package/.next/server/chunks/node_modules__pnpm_1qoj6e0._.js +0 -8
- package/.next/server/chunks/ssr/0hs5_cn_dist_index_1l1fs8y.js +0 -3
- package/.next/server/chunks/ssr/0x0c_next_dist_03da18h._.js +0 -6
- package/.next/server/chunks/ssr/0x0c_next_dist_0lkq344._.js +0 -3
- package/.next/server/chunks/ssr/0x0c_next_dist_1icgwks._.js +0 -151
- package/.next/server/chunks/ssr/0x0c_next_dist_client_components_1z4ahr3._.js +0 -3
- package/.next/server/chunks/ssr/0x0c_next_dist_client_components_builtin_forbidden_0pm41ij.js +0 -3
- package/.next/server/chunks/ssr/0x0c_next_dist_client_components_builtin_global-error_1-wtk5-.js +0 -3
- package/.next/server/chunks/ssr/0x0c_next_dist_client_components_builtin_unauthorized_0v3_y-3.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__02c3m72._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0g1dtzd._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0hifh__._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0l4t71c._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0tikq3c._.js +0 -14
- package/.next/server/chunks/ssr/[root-of-the-server]__0tz50uc._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0xjblsu._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1-0b897._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__13w6d6f._.js +0 -33
- package/.next/server/chunks/ssr/[root-of-the-server]__146cm0r._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__14_2v5e._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1cl7b4r._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1mydt_n._.js +0 -33
- package/.next/server/chunks/ssr/_0aid3rp._.js +0 -25
- package/.next/server/chunks/ssr/_0cst0jv._.js +0 -3
- package/.next/server/chunks/ssr/_0vl4jhl._.js +0 -13
- package/.next/server/chunks/ssr/_0zly58v._.js +0 -3
- package/.next/server/chunks/ssr/_1-l5u-_._.js +0 -3
- package/.next/server/chunks/ssr/_12brazw._.js +0 -3
- package/.next/server/chunks/ssr/_13m9nev._.js +0 -3
- package/.next/server/chunks/ssr/_19n6wbo._.js +0 -3
- package/.next/server/chunks/ssr/_1cfwie5._.js +0 -3
- package/.next/server/chunks/ssr/_1d39141._.js +0 -3
- package/.next/server/chunks/ssr/_1h52qq9._.js +0 -3
- package/.next/server/chunks/ssr/_1lcqytr._.js +0 -6
- package/.next/server/chunks/ssr/_1n6kmjf._.js +0 -3
- package/.next/server/chunks/ssr/_1ni54_c._.js +0 -3
- package/.next/server/chunks/ssr/_1vv2tlg._.js +0 -3
- package/.next/server/chunks/ssr/app_loading_tsx_0a1flg9._.js +0 -3
- package/.next/server/chunks/ssr/app_settings_loading_tsx_0nv_78v._.js +0 -3
- package/.next/server/chunks/ssr/components_1_8btz1._.js +0 -3
- package/.next/server/chunks/ssr/node_modules__pnpm_1gezzqr._.js +0 -151
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.html +0 -2
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.meta +0 -1
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.rsc +0 -41
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.segments/_full.segment.rsc +0 -41
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.segments/_index.segment.rsc +0 -32
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -20
- package/.next/server/route-cache/APP_PAGE/41da0ef926a63354a29f601d8e8d0a5951196c45ebcd28b7d4708fb7f56f3bf1/$/_not-found.segments/_tree.segment.rsc +0 -2
- package/.next/static/chunks/04rlo5538j7rr.js +0 -4
- package/.next/static/chunks/09gd7q3y6k-9o.js +0 -1
- package/.next/static/chunks/0_gj-5u7ifqf4.js +0 -1
- package/.next/static/chunks/0hi47ko7gli7r.js +0 -1
- package/.next/static/chunks/0on9boy9udzsk.js +0 -22
- package/.next/static/chunks/0vpb-2i9p8zhe.js +0 -11
- package/.next/static/chunks/0xrcyj-flkrl1.js +0 -1
- package/.next/static/chunks/16dm0t9zkiz1_.js +0 -31
- package/.next/static/chunks/1qvxxmozdr7-c.js +0 -1
- package/.next/static/chunks/21q5shbghrpvd.js +0 -1
- package/.next/static/chunks/287u55qyslbe_.js +0 -1
- package/.next/static/chunks/2wutbn1zdrzvx.js +0 -1
- package/.next/static/chunks/3q6xawepb9y62.js +0 -1
- package/.next/static/chunks/3somw8tkd8pzf.js +0 -1
- package/.next/static/chunks/3twacs-22zdwk.js +0 -1
- package/.next/static/chunks/458nt4gshcy9x.js +0 -1
- package/.next/static/chunks/turbopack-3icatqv27j50p.js +0 -1
- /package/.next/static/{8LtMJdCno9wkpYotBJePk → 3alXH6OUWpk3y4gpD18yo}/_buildManifest.js +0 -0
- /package/.next/static/{8LtMJdCno9wkpYotBJePk → 3alXH6OUWpk3y4gpD18yo}/_ssgManifest.js +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[g&&(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},28185,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(53840),e=a.i(60663);let f={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};f.node;let g=(0,e.default)(f),h={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};h.node;let i=(0,e.default)(h);var j=a.i(65261),k=a.i(7157),l=a.i(88237),m=a.i(3130),n=a.i(54161),o=a.i(85608),p=a.i(93673),q=a.i(77790),r=a.i(43368);let s="pages-table-title",t=a=>"Warning"===a||"Critical"===a,u={Critical:{Icon:j.OctagonAlert,icon:"text-dash-danger",badge:"border-dash-danger/40 bg-dash-danger/10"},Warning:{Icon:k.TriangleAlert,icon:"text-dash-warning",badge:"border-dash-warning/40 bg-dash-warning/10"},Healthy:{Icon:g,icon:"text-dash-success",badge:"border-dash-success/40 bg-dash-success/10"}},v={Icon:i,icon:"text-dash-muted",badge:"border-dash-border-light"},w="rounded-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50",x=`font-medium text-dash-foreground underline underline-offset-4 hover:text-dash-muted-light ${w}`,y="hidden px-3 text-right tabular-nums lg:table-cell";function z({page:a}){let c=a.status??((0,r.hasData)(a)?"No performance data":"No data yet"),{Icon:d,icon:e,badge:f}=a.status?u[a.status]:v;return(0,b.jsxs)(n.Badge,{variant:"outline","data-status":c,className:`text-dash-foreground ${f}`,children:[(0,b.jsx)(d,{"aria-hidden":"true",className:e}),c]})}function A({label:a,caption:c}){return(0,b.jsxs)(l.TableHead,{scope:"col",className:`${y} h-12 text-dash-muted`,children:[a,c&&(0,b.jsx)("span",{className:"block text-body-sm",children:c})]})}function B({status:a,children:c}){let d="Critical"===a?j.OctagonAlert:k.TriangleAlert;return(0,b.jsxs)(l.TableCell,{"data-over-limit":t(a)||void 0,className:`${y} ${t(a)?"font-semibold text-dash-foreground":"text-dash-muted"}`,children:[t(a)&&(0,b.jsx)(d,{"aria-hidden":"true",className:`mr-1 inline size-3.5 align-[-2px] ${"Critical"===a?"text-dash-danger":"text-dash-warning"}`}),c,t(a)&&(0,b.jsx)("span",{className:"sr-only",children:" over limit"})]})}function C({rows:a,has:d,failed:e}){let f=a.length,h=a.filter(a=>t(a.status)).length,i=a.filter(a=>a.status).length,j=a.filter(a=>!(0,r.hasData)(a)).length,k=e.filter(p.isToolId).map(a=>p.TOOLS[a].label),l=null,m=0===j?"":1===j?"1 has no data yet.":`${j} have no data yet.`;if(h)l=1===f?"This page is over a limit.":1===h?`1 of ${f} pages is over a limit.`:`${h} of ${f} pages are over a limit. Worst first.`;else if(i){let a=1===f?"This page is within your limits.":i===f?`All ${f} pages are within your limits. Closest to a limit first.`:1===i?`1 of ${f} pages is within your limits.`:`${i} of ${f} pages are within your limits. Closest to a limit first.`;l=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g,{"aria-hidden":"true",className:"mr-1 inline size-3.5 align-[-2px] text-dash-success"}),a]})}else k.length?(l=`Could not load ${k.join(" and ")} data, so pages are not checked against your limits.`,m=""):d("loadTime")||(l=(0,b.jsxs)(b.Fragment,{children:["Ranked by Sentry errors in the last 24h. ",(0,b.jsx)(c.default,{href:"/setup",className:x,children:"Connect New Relic"})," to check load time and error rate against your limits."]}));return(i&&k.length&&(m=[m,`Could not load ${k.join(" and ")} data.`].filter(Boolean).join(" ")),l||m)?(0,b.jsxs)("p",{"data-slot":"table-summary",className:"text-body text-dash-muted",children:[l,l&&m&&" ",m]}):null}a.s(["HUB_TABLE_TITLE_ID",0,s,"HubTable",0,function({title:a,pages:e,has:f,thresholds:g,failed:h=[],limit:i}){let j=(0,d.useRouter)(),k=(0,r.rankPages)(e,g),n=k.some(a=>a.status);return(0,b.jsxs)(m.Card,{className:"bg-dash-card text-dash-foreground",children:[(0,b.jsxs)(m.CardHeader,{children:[(0,b.jsx)("h2",{id:s,tabIndex:-1,className:`title-enter w-fit text-h3 text-dash-foreground ${w}`,children:a}),(0,b.jsx)(C,{rows:k,has:f,failed:h})]}),(0,b.jsxs)(m.CardContent,{children:[(0,b.jsxs)(l.Table,{children:[(0,b.jsx)("caption",{className:"sr-only",children:"Pages ranked worst first"}),(0,b.jsx)(l.TableHeader,{children:(0,b.jsxs)(l.TableRow,{className:"border-dash-border hover:bg-transparent",children:[(0,b.jsx)(l.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Page"}),n&&(0,b.jsx)(l.TableHead,{scope:"col",className:"h-12 px-3 text-dash-muted",children:"Status"}),f("loadTime")&&(0,b.jsx)(A,{label:"Load time",caption:(0,r.limitLabel)("loadTime",g)}),f("errorRate")&&(0,b.jsx)(A,{label:"Error rate",caption:(0,r.limitLabel)("errorRate",g)}),f("apdex")&&(0,b.jsx)(A,{label:"Apdex",caption:(0,r.limitLabel)("apdex",g)}),f("errors")&&(0,b.jsx)(A,{label:"Sentry errors",caption:"last 24h, no limit"}),f("traffic")&&(0,b.jsx)(A,{label:(0,o.isSampled)(e)?"Page loads (sampled)":"Views (24h)"})]})}),(0,b.jsx)(l.TableBody,{children:k.slice(0,i).map(a=>{let d=(0,r.hasData)(a),e=(0,r.hasPerformance)(a),h=a.metrics,i=`/performance/${a.slug}`,k=function(a,b,c){if(!(0,r.hasData)(a))return"";if(t(a.status)){let b=(0,r.breachReasons)(a,c).join(", ");return b.charAt(0).toUpperCase()+b.slice(1)}let d=a.metrics,e=(0,r.hasPerformance)(a);return[e&&b("loadTime")&&void 0!==d.loadTime&&`Load ${(0,q.formatDuration)(d.loadTime)}`,e&&b("errorRate")&&void 0!==d.errorRate&&`Errors ${d.errorRate.toFixed(2)}%`,e&&b("apdex")&&void 0!==d.apdex&&`Apdex ${d.apdex.toFixed(2)}`,b("errors")&&d.errors&&`${d.errors.count} Sentry ${1===d.errors.count?"error":"errors"}`].filter(Boolean).join(" · ")}(a,f,g);return(0,b.jsxs)(l.TableRow,{"data-slug":a.slug,className:"h-14 cursor-pointer border-dash-border hover:bg-white/5 focus-within:bg-white/5 lg:h-12",onClick:a=>{a.target.closest("a")||j.push(i)},children:[(0,b.jsxs)("th",{scope:"row","data-slot":"table-cell",className:"w-full max-w-0 px-3 py-2 text-left align-middle font-normal",children:[(0,b.jsxs)(c.default,{href:i,title:a.name,className:`block truncate text-body font-medium text-dash-foreground ${w}`,children:[a.name,(0,b.jsx)("span",{className:"sr-only",children:", view page details"})]}),(0,b.jsx)("span",{title:a.url,className:"block truncate font-mono text-body-sm text-dash-muted",children:a.url}),k&&(0,b.jsx)("span",{"data-slot":"row-summary",className:"mt-0.5 block text-body-sm text-dash-muted lg:hidden",children:k})]}),n&&(0,b.jsx)(l.TableCell,{className:"px-3",children:(0,b.jsx)(z,{page:a})}),f("loadTime")&&(0,b.jsx)(B,{status:e?(0,r.metricStatus)("loadTime",h.loadTime,g):void 0,children:e&&void 0!==h.loadTime?(0,q.formatDuration)(h.loadTime):"—"}),f("errorRate")&&(0,b.jsx)(B,{status:e?(0,r.metricStatus)("errorRate",h.errorRate,g):void 0,children:e&&void 0!==h.errorRate?`${h.errorRate.toFixed(2)}%`:"—"}),f("apdex")&&(0,b.jsx)(B,{status:e?(0,r.metricStatus)("apdex",h.apdex,g):void 0,children:e&&void 0!==h.apdex?h.apdex.toFixed(2):"—"}),f("errors")&&(0,b.jsx)(B,{children:d&&h.errors?h.errors.count:"—"}),f("traffic")&&(0,b.jsx)(B,{children:d&&h.traffic?a.visitors:"—"})]},a.slug)})})]}),void 0!==i&&k.length>i&&(0,b.jsxs)(c.default,{href:"/performance",className:`mt-2 inline-flex min-h-11 items-center px-3 text-body md:min-h-8 ${x}`,children:["View all ",k.length," pages"]})]})]})},"StatusBadge",0,z],28185)},54161,a=>{"use strict";var b=a.i(3927),c=a.i(77896),d=a.i(42261),e=a.i(75540);let f=(0,d.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});a.s(["Badge",0,function({className:a,variant:d="default",render:g,...h}){return(0,c.useRender)({defaultTagName:"span",props:(0,b.mergeProps)({className:(0,e.cn)(f({variant:d}),a)},h),render:g,state:{slot:"badge",variant:d}})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(75540);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("h3",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},88237,a=>{"use strict";var b=a.i(47350),c=a.i(75540);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},9260,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],9260)},66958,a=>{"use strict";var b=a.i(60663);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.default)(c);a.s(["Clock",0,d],66958)},65261,7157,a=>{"use strict";var b=a.i(60663);let c={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};c.node;let d=(0,b.default)(c);a.s(["OctagonAlert",0,d],65261);var e=a.i(35342);a.s(["TriangleAlert",()=>e.default],7157)},35342,a=>{"use strict";var b=a.i(60663);let c={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};c.node;let d=(0,b.default)(c);a.s(["default",0,d])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_0cst0jv._.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module.exports=[11510,a=>{"use strict";var b=a.i(47350),c=a.i(75086),d=a.i(56561),e=a.i(3130),f=a.i(40695),g=a.i(5522);let h=(a,b,c)=>` ${a}: '${b}',${c?` // ${c}`:""}`,i=`// Records a MetricFlowEvent in New Relic. Does nothing before init, and nothing for Sentry.
|
|
2
|
-
import { send } from '@karan171996/metricflow/browser';
|
|
3
|
-
|
|
4
|
-
send('checkout_step', 2, { step: 'payment' });`,j="border-[#2d3748] bg-[#1a202c] shadow-md";function k({n:a,title:d,help:g,code:h}){let[i,l]=(0,c.useState)(null);return(0,b.jsxs)(e.Card,{className:j,children:[(0,b.jsxs)(e.CardHeader,{children:[(0,b.jsx)(e.CardTitle,{className:"text-base font-bold text-white",children:d}),(0,b.jsx)(e.CardDescription,{className:"text-sm text-gray-400",children:g})]}),(0,b.jsxs)(e.CardContent,{className:"flex flex-col gap-3",children:[(0,b.jsx)("pre",{tabIndex:0,"aria-label":`Code snippet ${a}`,className:"overflow-x-auto rounded-md border border-[#2d3748] bg-[#0f1419] p-3 text-xs text-gray-300",children:h}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)(f.Button,{variant:"outline","aria-label":`Copy snippet ${a}: ${d.replace(/^\d+\. /,"")}`,onClick:()=>{navigator.clipboard.writeText(h).then(()=>l("ok"),()=>l("fail")),setTimeout(()=>l(null),2500)},children:"Copy"}),(0,b.jsx)("span",{"aria-live":"polite",className:`text-sm ${"fail"===i?"text-[#f87171]":"text-[#3ee0a1]"}`,children:"ok"===i?"Copied":"fail"===i?"Copy failed, select the text and copy manually":""})]})]})]})}function l({label:a,state:c,detail:d}){let e="ok"===c?"text-[#3ee0a1]":"bad"===c?"text-[#f87171]":"text-gray-400";return(0,b.jsxs)("div",{className:"flex items-start gap-3 border-b border-[#2d3748] py-2 last:border-0",children:[(0,b.jsx)("span",{className:`font-mono text-sm ${e}`,"aria-hidden":!0,children:"ok"===c?"✓":"bad"===c?"✗":"…"}),(0,b.jsx)("span",{className:"sr-only",children:"ok"===c?"working":"bad"===c?"not working":"checking"}),(0,b.jsx)("span",{className:"text-sm text-gray-300 w-56 shrink-0",children:a}),(0,b.jsx)("span",{className:`min-w-0 text-sm ${e}`,children:d})]})}function m({label:a,s:c}){let d="Checking…",e="text-gray-400";if(c?.error)d=c.error,e="text-[#f87171]";else if(c){let a=null!==c.recent&&c.recent>0;d=a?`Receiving data${c.lastEventAt?` \xb7 last event ${new Date(c.lastEventAt).toLocaleTimeString()}`:""}`:c.lastEventAt?`None in the last 5 minutes \xb7 last event ${new Date(c.lastEventAt).toLocaleString()}`:"None yet",e=a?"text-[#3ee0a1]":"text-[#f59e0b]"}return(0,b.jsxs)("div",{className:"flex items-center justify-between gap-4 border-b border-[#2d3748] py-2 last:border-0",children:[(0,b.jsx)("span",{className:"text-sm text-gray-300 shrink-0",children:a}),(0,b.jsx)("span",{className:`min-w-0 break-words text-right text-sm ${e}`,children:d})]})}a.s(["ConnectPage",0,function(){let[a,n]=(0,c.useState)(null),[o,p]=(0,c.useState)(""),[q,r]=(0,c.useState)(null),[s,t]=(0,c.useState)(!1),[u,v]=(0,c.useState)(!1),w=(0,c.useCallback)(()=>{fetch("/api/connect").then(a=>a.json()).then(n).catch(()=>{})},[]);async function x(){t(!0),r(null);try{let a=await fetch("/api/setup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({NEWRELIC_INSERT_KEY:o})}),b=await a.json();b.saved?(p(""),v(!1),r({ok:!0,text:"Insert key saved."}),w()):r({ok:!1,text:b.error??b.results?.NEWRELIC_INSERT_KEY?.error??"Could not save the key."})}catch{r({ok:!1,text:"Could not reach the dashboard server."})}finally{t(!1)}}async function y(){t(!0),r(null);try{let a=await fetch("/api/connect",{method:"POST",headers:{"Content-Type":"application/json"}}),b=await a.json();r(b.sent?{ok:!0,text:"Test event sent. It can take up to a minute to show below."}:{ok:!1,text:b.error??"Failed."}),w()}catch{r({ok:!1,text:"Could not reach the dashboard server."})}finally{t(!1)}}if((0,c.useEffect)(()=>{w();let a=setInterval(()=>{document.hidden||w()},5e3);return()=>clearInterval(a)},[w]),a?.error)return(0,b.jsx)(e.Card,{className:j,children:(0,b.jsx)(e.CardContent,{className:"p-10 text-center","aria-live":"polite",children:(0,b.jsx)("p",{className:"text-sm text-[#f87171]",children:a.error})})});if(a&&!a.configured)return(0,b.jsx)(e.Card,{className:j,children:(0,b.jsxs)(e.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:"Set up your keys first"}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:"Add your New Relic or Sentry keys, then come back to connect your site."}),(0,b.jsx)(d.default,{href:"/setup",className:(0,f.buttonVariants)(),children:"Go to setup"})]})});let z=!a?.tools||a.tools.includes("new-relic"),A=!a?.tools||a.tools.includes("sentry"),B=(z?2:1)+1,C=!!(a?.tools?.includes("sentry")&&!a.dsn);return(0,b.jsxs)("div",{className:"flex flex-col gap-6 max-w-3xl",children:[z&&(0,b.jsxs)(e.Card,{className:j,children:[(0,b.jsxs)(e.CardHeader,{children:[(0,b.jsx)(e.CardTitle,{className:"text-base font-bold text-white",children:"Connection"}),(0,b.jsx)(e.CardDescription,{className:"text-sm text-gray-400",children:"Each link in the chain from your site to this dashboard. Fix the first ✗."})]}),(0,b.jsxs)(e.CardContent,{"aria-live":"polite",children:[(0,b.jsx)(l,{label:"Keys for reading",state:a?"ok":"wait",detail:a?.accountId?`Reading New Relic account ${a.accountId}`:"Checking…"}),(0,b.jsx)(l,{label:"Browser app in New Relic",state:a?.setup?a.setup.error?"bad":a.setup.appCount>0?"ok":"bad":"wait",detail:a?.setup?a.setup.error?a.setup.error:a.setup.appCount>0?`${a.setup.appName} \u00b7 application ID ${a.setup.applicationId}`:"None yet. Create one: New Relic > Add data > Browser monitoring. Until then your site has no application ID to send to.":"Checking…"}),(0,b.jsx)(l,{label:"Browser key",state:a?.setup?a.setup.browserKey?"ok":"bad":"wait",detail:a?.setup?a.setup.browserKey?`${a.setup.browserKey} \u00b7 already filled into snippet 1 below`:"Could not read it. Copy the key VALUE from New Relic > API keys (type Ingest - Browser), not the ID beside it.":"Checking…"}),(0,b.jsx)(l,{label:"Your site sending data",state:a?.browser?(a.browser.recent??0)>0?"ok":"bad":"wait",detail:a?.browser?(a.browser.recent??0)>0?"New Relic is receiving page views":"No page views yet. Load your site, then check for blocked requests to nr-data.net - ad and privacy blockers drop them silently.":"Checking…"})]})]}),(0,b.jsxs)(e.Card,{className:j,children:[(0,b.jsxs)(e.CardHeader,{children:[(0,b.jsx)(e.CardTitle,{className:"text-base font-bold text-white",children:"Events received (last 5 minutes)"}),(0,b.jsxs)(e.CardDescription,{className:"text-sm text-gray-400",children:[a?.accountId?(0,b.jsxs)(b.Fragment,{children:["Querying New Relic account ",(0,b.jsx)("span",{className:"font-mono text-gray-200",children:a.accountId}),". "]}):null,"Updates every few seconds. All rows empty? Check this is the account your site sends to."]})]}),(0,b.jsxs)(e.CardContent,{"aria-live":"polite",children:[z&&(0,b.jsx)(m,{label:"Browser agent (page views)",s:a?.browser}),z&&(0,b.jsx)(m,{label:"Custom events (send / test event)",s:a?.custom}),A&&(0,b.jsx)(m,{label:"Sentry errors",s:a?.sentry})]})]}),z&&(0,b.jsxs)(e.Card,{className:j,children:[(0,b.jsxs)(e.CardHeader,{children:[(0,b.jsx)(e.CardTitle,{className:"text-base font-bold text-white",children:"Two different New Relic keys"}),(0,b.jsxs)(e.CardDescription,{className:"text-sm text-gray-400",children:[(0,b.jsx)("strong",{className:"text-gray-200",children:"User API key"})," (set on Setup): lets this dashboard ",(0,b.jsx)("em",{children:"read"})," your data."," ",(0,b.jsx)("strong",{className:"text-gray-200",children:"Ingest - License key"})," (below): lets a script ",(0,b.jsx)("em",{children:"send"})," events. Only the Insert key is used by the test button. The Browser agent snippet uses a third key, the ",(0,b.jsx)("strong",{className:"text-gray-200",children:"Ingest - Browser"})," key. Dashboards for US New Relic accounts only."]})]}),(0,b.jsxs)(e.CardContent,{className:"flex flex-col gap-3",children:[a?.insertKeySet&&!u?(0,b.jsxs)("p",{className:"text-sm text-[#3ee0a1]",children:["✓ Insert key is set"," ",(0,b.jsx)("button",{type:"button",className:"ml-2 text-gray-300 underline",onClick:()=>v(!0),children:"Replace"})]}):(0,b.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,b.jsx)("label",{htmlFor:"insert-key",className:"text-sm font-medium text-gray-300",children:"Insert key · sends test events"}),(0,b.jsx)("p",{id:"insert-key-help",className:"text-xs text-gray-400",children:'Only needed for the test button and custom events. Different from the User key. Create it as type "Ingest - License".'}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(g.Input,{id:"insert-key","aria-describedby":"insert-key-help",type:"password",autoComplete:"off",spellCheck:!1,placeholder:"Ingest - License key",value:o,onChange:a=>p(a.target.value),className:"bg-[#0f1419] border-[#2d3748] text-gray-200 font-mono text-xs"}),(0,b.jsx)(f.Button,{onClick:x,disabled:s||!o.trim(),children:"Save"})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)(f.Button,{onClick:y,disabled:s||!a?.insertKeySet,children:"Send test event"}),!a?.insertKeySet&&(0,b.jsx)("span",{className:"text-sm text-gray-400",children:"Add an Insert key first"}),q&&(0,b.jsx)("span",{"aria-live":"polite",className:`text-sm ${q.ok?"text-[#3ee0a1]":"text-[#f87171]"}`,children:q.text})]})]})]}),z&&(0,b.jsx)(e.Card,{className:j,children:(0,b.jsxs)(e.CardContent,{className:"p-4 text-sm text-[#f87171] border-l-2 border-[#f87171]",children:[(0,b.jsx)("strong",{children:"Snippet 1 runs in the browser, so its key is public."})," Use the ",(0,b.jsx)("strong",{children:"Ingest - Browser"})," key (starts ",(0,b.jsx)("span",{className:"font-mono",children:"NRJS-"}),"), never your ",(0,b.jsx)("span",{className:"font-mono",children:"NRAK-"})," User key from Setup - that one would hand every visitor full read/write access to your account. The application ID is also not your account ID."]})}),C&&(0,b.jsx)(e.Card,{className:j,children:(0,b.jsxs)(e.CardContent,{className:"p-4 text-sm text-[#f87171] border-l-2 border-[#f87171]",children:[(0,b.jsx)("strong",{children:"Your saved Sentry DSN cannot go in a public page."})," It must start with ",(0,b.jsx)("span",{className:"font-mono",children:"https://"})," and contain no secret part. ",(0,b.jsx)(d.default,{href:"/setup#sentry",className:"underline",children:"Replace it on Setup"}),", then the snippet below fills it in."]})}),(0,b.jsx)(k,{n:1,title:"1. Add MetricFlow to your site",help:"One install and one call. It sends page views, load timing, Core Web Vitals and JavaScript errors to the tools you connected. You do not install a New Relic or Sentry package yourself.",code:function({tools:a,accountId:b,applicationId:c,browserKey:d,region:e,dsn:f}={}){let g=[];return(!a||a.includes("new-relic"))&&g.push([" 'new-relic': {",h("browserKey",d??"NRJS-xxxxxxxxxxxxxxxxxxx",d?void 0:"replace: New Relic > API keys > Ingest - Browser. Starts NRJS-, NOT your NRAK- User key"),h("applicationId",c??"123456789",c?void 0:"replace: New Relic > Add data > Browser monitoring. NOT your account ID"),h("accountId",b??"1234567",b?void 0:"replace: your New Relic account ID"),..."eu"===e?[h("region","eu")]:[]," },"].join("\n")),(!a||a.includes("sentry"))&&g.push([" sentry: {",h("dsn",f??"https://00000000000000000000000000000000@o0.ingest.sentry.io/0",f?void 0:"replace: Sentry > Project settings > Client Keys (DSN)")," },"].join("\n")),`// npm i @karan171996/metricflow
|
|
5
|
-
// Call init once, when your site starts. In Next.js put this in instrumentation-client.ts.
|
|
6
|
-
// If your site already runs its own Sentry, call init after it.
|
|
7
|
-
import { init } from '@karan171996/metricflow/browser';
|
|
8
|
-
|
|
9
|
-
init({
|
|
10
|
-
${g.join("\n")}
|
|
11
|
-
});`}({tools:a?.tools,accountId:a?.accountId,applicationId:a?.setup?.applicationId,browserKey:a?.setup?.browserKey,region:a?.region,dsn:a?.dsn})}),z&&(0,b.jsx)(k,{n:2,title:"2. Send your own numbers (optional)",help:"Record a custom event from anywhere in your site after init. New Relic only.",code:i}),(0,b.jsx)(e.Card,{className:j,children:(0,b.jsxs)(e.CardHeader,{children:[(0,b.jsxs)(e.CardTitle,{className:"text-base font-bold text-white",children:[B,". Verify"]}),(0,b.jsx)(e.CardDescription,{className:"text-sm text-gray-400",children:z?(0,b.jsx)(b.Fragment,{children:'Reload your site, then watch "Events received" above turn green. Use Send test event to check the custom-event path.'}):(0,b.jsx)(b.Fragment,{children:'Cause an error on your site, then watch "Sentry errors" above turn green.'})})]})})]})}],11510)},3130,a=>{"use strict";var b=a.i(47350),c=a.i(75540);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("h3",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},9260,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],9260)}];
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=_0vl4jhl._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[40602,a=>{"use strict";a.s(["ExportSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ExportSettings() from the server but ExportSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ExportSettings.tsx","ExportSettings")},61057,a=>{"use strict";var b=a.i(40602);a.n(b)},46280,a=>{"use strict";a.s(["NotificationPrefs",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call NotificationPrefs() from the server but NotificationPrefs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/NotificationPrefs.tsx","NotificationPrefs")},62807,a=>{"use strict";var b=a.i(46280);a.n(b)},44063,a=>{"use strict";a.s(["TeamMembers",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call TeamMembers() from the server but TeamMembers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/TeamMembers.tsx","TeamMembers")},40321,a=>{"use strict";var b=a.i(44063);a.n(b)},72017,a=>{"use strict";var b=a.i(91396);a.i(90103);var c=a.i(24084),d=a.i(97728);a.i(59682);var e=a.i(22381),f=a.i(96690),g=a.i(78720),h=a.i(29171),i=a.i(43917),j=a.i(66494);let k={name:"key",size:24,node:[["path",{d:"m2 21 9.6-9.6",key:"9l79m3"}],["path",{d:"m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19",key:"fw8biw"}],["circle",{cx:"15.5",cy:"7.5",r:"5.5",key:"4wxmhb"}]]};k.node;let l=(0,j.default)(k);function m(){return(0,b.jsxs)(h.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:[(0,b.jsxs)(h.CardHeader,{children:[(0,b.jsxs)(h.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(l,{className:"h-5 w-5 text-gray-400"}),"API Keys"]}),(0,b.jsx)(h.CardDescription,{className:"text-sm text-gray-400",children:"Your New Relic and Sentry keys are stored in .env.local on this machine and are never shown here."})]}),(0,b.jsx)(h.CardContent,{children:(0,b.jsx)(g.default,{href:"/setup",className:(0,i.buttonVariants)({variant:"outline"}),children:"Manage keys"})})]})}a.s(["ApiKeys",0,m],81327);var n=a.i(61057),o=a.i(86645),p=a.i(62807),q=a.i(79411),r=a.i(40321);a.s([],34144),a.i(34144),a.i(81327),a.s([],72841,!0),a.j(n,72841),a.j(o,72841),a.j(p,72841),a.j(q,72841),a.j(r,72841);var s=a.i(72841);let t=["general","thresholds","team"];async function u({searchParams:a}){let{tab:g}=await a,h="string"==typeof g&&t.includes(g)?g:"general";return(0,b.jsxs)(d.SidebarProvider,{children:[(0,b.jsx)(c.AppSidebar,{}),(0,b.jsxs)(d.SidebarInset,{className:"bg-dash-surface",children:[(0,b.jsx)(e.Header,{}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col p-6 md:p-8 max-w-[1200px] mx-auto w-full",children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h1",{className:"title-enter text-2xl font-bold text-white tracking-tight",children:"Settings"}),(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"Manage your account, team, and dashboard preferences."})]}),(0,b.jsxs)(f.Tabs,{defaultValue:h,className:"w-full",children:[(0,b.jsxs)(f.TabsList,{className:"bg-[#0f1419] border border-[#2d3748] mb-8 p-1 h-auto",children:[(0,b.jsx)(f.TabsTrigger,{value:"general",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"General & API"}),(0,b.jsx)(f.TabsTrigger,{value:"thresholds",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Performance Thresholds"}),(0,b.jsx)(f.TabsTrigger,{value:"team",className:"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400",children:"Notifications & Team"})]}),(0,b.jsxs)(f.TabsContent,{value:"general",className:"space-y-6 mt-0",children:[(0,b.jsx)(m,{}),(0,b.jsx)(s.ExportSettings,{}),(0,b.jsx)(s.ThreeDPrefs,{})]}),(0,b.jsx)(f.TabsContent,{value:"thresholds",className:"mt-0",children:(0,b.jsx)(s.ThresholdSettings,{})}),(0,b.jsx)(f.TabsContent,{value:"team",className:"space-y-6 mt-0",children:(0,b.jsx)(s.NotificationPrefs,{})})]})]})]})]})}a.s(["default",0,u],72017)},51425,function(a){a.n(a.i(72017))},89863,a=>{"use strict";a.s(["ThreeDPrefs",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ThreeDPrefs() from the server but ThreeDPrefs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ThreeDPrefs.tsx","ThreeDPrefs")},79411,a=>{"use strict";var b=a.i(89863);a.n(b)},90336,a=>{"use strict";a.s(["ThresholdSettings",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ThresholdSettings() from the server but ThresholdSettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Settings/ThresholdSettings.tsx","ThresholdSettings")},86645,a=>{"use strict";var b=a.i(90336);a.n(b)},43917,a=>{"use strict";let b,c;var d=a.i(91396),e=a.i(12340);let f=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,g=function(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d};var h=a.i(5e4);let i=(b="group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",c={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}},a=>{var d;if((null==c?void 0:c.variants)==null)return g(b,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:e,defaultVariants:h}=c,i=Object.keys(e).map(b=>{let c=null==a?void 0:a[b],d=null==h?void 0:h[b];if(null===c)return null;let g=f(c)||f(d);return e[b][g]}),j=a&&Object.entries(a).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return g(b,i,null==c||null==(d=c.compoundVariants)?void 0:d.reduce((a,b)=>{let{class:c,className:d,...e}=b;return Object.entries(e).every(a=>{let[b,c]=a;return Array.isArray(c)?c.includes({...h,...j}[b]):({...h,...j})[b]===c})?[...a,c,d]:a},[]),null==a?void 0:a.class,null==a?void 0:a.className)});a.s(["Button",0,function({className:a,variant:b="default",size:c="default",...f}){return(0,d.jsx)(e.Button,{"data-slot":"button",className:(0,h.cn)(i({variant:b,size:c,className:a})),...f})},"buttonVariants",0,i],43917)},45362,a=>{"use strict";a.s(["Tabs",()=>c,"TabsContent",()=>d,"TabsList",()=>e,"TabsTrigger",()=>f,"tabsListVariants",()=>g]);var b=a.i(18060);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Tabs() from the server but Tabs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","Tabs"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsContent() from the server but TabsContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsContent"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsList() from the server but TabsList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsList"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call TabsTrigger() from the server but TabsTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","TabsTrigger"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call tabsListVariants() from the server but tabsListVariants is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/ui/tabs.tsx","tabsListVariants")},96690,a=>{"use strict";var b=a.i(45362);a.n(b)},20696,a=>{"use strict";a.s(["Button",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/@base-ui+react@1.9.0_@types+react@19.3.0_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/button/Button.mjs","Button")},12340,a=>{"use strict";var b=a.i(20696);a.n(b)},25809,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},4566,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.54.0_@types+react@19.3.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/.pnpm/lucide-react@1.54.0_@types+react@19.3.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},29553,a=>{"use strict";var b=a.i(4566);a.n(b)},66494,a=>{"use strict";var b=a.i(56149),c=a.i(29553);a.s(["default",0,function(a,d=[],e=[]){let f,g="string"==typeof a?function(a,b,c=[]){if(null==b)throw Error("[lucide]: iconNode is required when icon name is used");return{name:a?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:b,...c.length>0?{aliases:c}:{}}}(a,d,e):a,h=(0,b.forwardRef)(({className:a,...d},e)=>(0,b.createElement)(c.default,{ref:e,icon:g,className:a,...d}));return g.name&&(h.displayName=(f=(a=>{let b="",c=!1;for(let d of a){if("-"===d||"_"===d||d<=" "){c=b.length>0;continue}0===b.length?b+=d.toLowerCase():b+=c?d.toUpperCase():d,c=!1}return b})(g.name)).charAt(0).toUpperCase()+f.slice(1)),h}],66494)},40950,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(18060);a.n(d("[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/app-dir/link.js"))},53824,a=>{"use strict";var b=a.i(40950);a.n(b)},78720,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(25809),g=a.r(91396),h=f._(a.r(53824));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_0zly58v._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[54161,a=>{"use strict";var b=a.i(3927),c=a.i(77896),d=a.i(42261),e=a.i(75540);let f=(0,d.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});a.s(["Badge",0,function({className:a,variant:d="default",render:g,...h}){return(0,c.useRender)({defaultTagName:"span",props:(0,b.mergeProps)({className:(0,e.cn)(f({variant:d}),a)},h),render:g,state:{slot:"badge",variant:d}})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(75540);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("h3",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},88237,a=>{"use strict";var b=a.i(47350),c=a.i(75540);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},70834,a=>{"use strict";var b=a.i(75086);let c={alert:!0},d="notification-prefs",e=new Set,f=null;function g(){if(f)return f;let a={...c};try{let b=JSON.parse(localStorage.getItem(d)??"{}");for(let c of Object.keys(a))"boolean"==typeof b[c]&&(a[c]=b[c])}catch{}return f=a}function h(a){a.key===d&&(f=null,e.forEach(a=>a()))}function i(a){return e.add(a),window.addEventListener("storage",h),()=>{e.delete(a),window.removeEventListener("storage",h)}}a.s(["setNotificationPrefs",0,function(a){f={...g(),...a};try{localStorage.setItem(d,JSON.stringify(f))}catch{}e.forEach(a=>a())},"useNotificationPrefs",0,function(){return(0,b.useSyncExternalStore)(i,g,()=>c)}])},9260,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],9260)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_1-l5u-_._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[56672,a=>{"use strict";var b=a.i(47350),c=a.i(3927),d=a.i(77896),e=a.i(75540),f=a.i(60663);let g={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};g.node;let h=(0,f.default)(g),i={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};function j({className:a,...c}){return(0,b.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,e.cn)(a),...c})}function k({className:a,...c}){return(0,b.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,e.cn)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",a),...c})}function l({className:a,...c}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,e.cn)("inline-flex items-center gap-1",a),...c})}function m({className:a,render:b,...f}){return(0,d.useRender)({defaultTagName:"a",props:(0,c.mergeProps)({className:(0,e.cn)("transition-colors hover:text-foreground",a)},f),render:b,state:{slot:"breadcrumb-link"}})}function n({className:a,...c}){return(0,b.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,e.cn)("font-normal text-foreground",a),...c})}function o({children:a,className:c,...d}){return(0,b.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,e.cn)("[&>svg]:size-3.5",c),...d,children:a??(0,b.jsx)(h,{})})}i.node,(0,f.default)(i),a.s(["PerformanceBreadcrumb",0,function({pageName:a="Homepage"}){return(0,b.jsx)(j,{className:"mb-6",children:(0,b.jsxs)(k,{children:[(0,b.jsx)(l,{children:(0,b.jsx)(m,{href:"/performance",className:"text-gray-400 hover:text-white",children:"Performance"})}),(0,b.jsx)(o,{}),(0,b.jsx)(l,{children:(0,b.jsx)(n,{className:"text-white font-medium",children:a})})]})})}],56672)},45890,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(53840),e=a.i(92994),f=a.i(28185),g=a.i(50463),h=a.i(12351),i=a.i(43368),j=a.i(66219),k=a.i(56672),l=a.i(5800),m=a.i(75339);let n="Keys work, but no page events have arrived.";a.s(["PerformanceDetail",0,function({slug:a}){let{state:o,retry:p}=(0,h.useMetrics)(),q=(0,j.useThresholds)();if("loading"===o.status)return(0,b.jsx)(g.Skeleton,{className:"h-64 w-full bg-[#2d3748]"});if("error"===o.status)return(0,b.jsx)(e.EmptyState,{title:"Could not load metrics",reason:o.message,onRetry:p});if(!o.configured)return(0,b.jsx)(e.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(0===o.pages.length)return(0,b.jsx)(e.EmptyState,{});let r=o.pages.find(b=>b.slug===a);r||(0,d.notFound)();let s=a=>(0,h.provides)(o,a),t=s("loadTime")&&s("errorRate")&&s("apdex")&&(0,i.hasPerformance)(r),u={...r,status:t?(0,i.deriveStatus)(r.metrics,q):void 0},v=(0,i.hasData)(u),w=u.status?(0,i.breachReasons)(u,q):[],x=v?u.status?w.length?`Over a limit: ${w.join(", ")}.`:"Within your limits.":"No performance data from New Relic for this page yet.":n;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(k.PerformanceBreadcrumb,{pageName:u.name}),(0,b.jsxs)("section",{"aria-labelledby":"page-status-title",className:"mb-6 flex flex-wrap items-center gap-x-4 gap-y-2",children:[(0,b.jsx)("h2",{id:"page-status-title",className:"sr-only",children:"Status"}),(0,b.jsx)(f.StatusBadge,{page:u}),(0,b.jsx)("p",{"data-slot":"status-sentence",className:"text-body text-dash-foreground",children:x}),(0,b.jsx)(c.default,{href:"/settings?tab=thresholds",className:"inline-flex min-h-11 items-center rounded-sm font-medium text-dash-foreground underline underline-offset-4 outline-none hover:text-dash-muted-light focus-visible:ring-3 focus-visible:ring-ring/50 md:min-h-8",children:"Edit limits"})]}),v?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(l.PerformanceKPIs,{page:u,has:s,thresholds:q}),u.metrics.errors&&(0,b.jsx)(m.RelatedErrorsList,{errors:u.metrics.errors.latest})]}):(0,b.jsx)(e.EmptyState,{reason:`${u.name} (${u.url}): ${n}`})]})}])},5800,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(84903),e=a.i(66958),f=a.i(23802),g=a.i(65261),h=a.i(7157),i=a.i(67436),j=a.i(77790),k=a.i(85608),l=a.i(43368);a.s(["PerformanceKPIs",0,function({page:a,has:m,thresholds:n}){let o=a.metrics,p=(0,l.hasPerformance)(a),q=(a,b)=>p&&void 0!==a?b(a):"—",r=[{needs:"loadTime",label:"Average Load Time",value:q(o.loadTime,j.formatDuration),icon:(0,b.jsx)(e.Clock,{className:"h-4 w-4 text-[#3ee0a1]"}),limit:"loadTime"},{needs:"errorRate",label:"Error Rate",value:q(o.errorRate,a=>`${a.toFixed(2)}%`),icon:(0,b.jsx)(d.Activity,{className:"h-4 w-4 text-[#ef4444]"}),limit:"errorRate"},{needs:"apdex",label:"Apdex",value:q(o.apdex,a=>a.toFixed(2)),icon:(0,b.jsx)(f.Gauge,{className:"h-4 w-4 text-[#3ee0a1]"}),limit:"apdex"},{needs:"traffic",label:(0,k.isSampled)([a])?"Page loads (sampled)":"Traffic Volume",value:p&&o.traffic?a.visitors:"—",icon:(0,b.jsx)(i.Zap,{className:"h-4 w-4 text-[#06b6d4]"})}];return(0,b.jsx)("div",{className:"grid gap-6 md:grid-cols-3 mb-8",children:r.filter(a=>m(a.needs)).map(a=>{let d=a.limit&&p?(0,l.metricStatus)(a.limit,o[a.limit],n):void 0,e="Warning"===d||"Critical"===d,f="Critical"===d?g.OctagonAlert:h.TriangleAlert;return(0,b.jsx)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(c.CardContent,{className:"p-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:a.icon})]}),(0,b.jsxs)("span",{"data-over-limit":e||void 0,className:"text-3xl font-semibold text-white tracking-tight",children:[e&&(0,b.jsx)(f,{"aria-hidden":"true",className:`mr-2 inline size-6 align-[-2px] ${"Critical"===d?"text-dash-danger":"text-dash-warning"}`}),a.value,e&&(0,b.jsx)("span",{className:"sr-only",children:" over limit"})]}),a.limit&&(0,b.jsx)("span",{className:"mt-1 block text-body-sm text-dash-muted",children:(0,l.limitLabel)(a.limit,n)})]})},a.label)})})}])},75339,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(60663);let e={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};e.node;let f=(0,d.default)(e);var g=a.i(66958);a.s(["RelatedErrorsList",0,function({errors:a}){return(0,b.jsxs)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md w-full lg:w-[400px]",children:[(0,b.jsx)(c.CardHeader,{children:(0,b.jsxs)(c.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,b.jsx)(f,{className:"h-5 w-5 text-[#ef4444]"}),"Related Errors"]})}),(0,b.jsx)(c.CardContent,{children:0===a.length?(0,b.jsx)("p",{className:"text-sm text-gray-400",children:"No errors reported for this page."}):(0,b.jsx)("div",{className:"flex flex-col gap-3",children:a.map(a=>(0,b.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#2d3748] bg-[#0f1419] p-4",children:[(0,b.jsx)("div",{className:"flex items-center justify-between",children:(0,b.jsxs)("span",{className:"text-xs font-mono text-gray-500",children:[a.count," events"]})}),(0,b.jsx)("p",{className:"text-sm font-medium text-gray-200 line-clamp-2",children:a.title}),(0,b.jsxs)("div",{className:"flex items-center gap-1 mt-1 text-xs text-gray-500",children:[(0,b.jsx)(g.Clock,{className:"h-3 w-3"}),(0,b.jsx)("span",{children:new Date(a.lastSeen).toLocaleString()})]})]},a.title))})})]})}],75339)},67436,a=>{"use strict";var b=a.i(60663);let c={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};c.node;let d=(0,b.default)(c);a.s(["Zap",0,d],67436)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_12brazw._.js.map
|