sparkrun-ui 1.1.3 → 1.2.1
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/README.md +1 -1
- package/dist/.next/BUILD_ID +1 -1
- package/dist/.next/build-manifest.json +5 -5
- package/dist/.next/prerender-manifest.json +3 -3
- package/dist/.next/server/app/_global-error/page/build-manifest.json +2 -2
- package/dist/.next/server/app/_global-error.html +1 -1
- package/dist/.next/server/app/_global-error.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found/page/build-manifest.json +2 -2
- package/dist/.next/server/app/_not-found/page.js +1 -1
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +16 -16
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
- package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +12 -11
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/benchmarks/[id]/page/build-manifest.json +2 -2
- package/dist/.next/server/app/benchmarks/[id]/page.js +2 -4
- package/dist/.next/server/app/benchmarks/[id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/[id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/benchmarks/new/page/build-manifest.json +2 -2
- package/dist/.next/server/app/benchmarks/new/page.js +1 -1
- package/dist/.next/server/app/benchmarks/new/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/new/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/benchmarks/page/build-manifest.json +2 -2
- package/dist/.next/server/app/benchmarks/page.js +4 -5
- package/dist/.next/server/app/benchmarks/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/chat/page/build-manifest.json +2 -2
- package/dist/.next/server/app/chat/page.js +1 -1
- package/dist/.next/server/app/chat/page.js.nft.json +1 -1
- package/dist/.next/server/app/chat/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/dashboard/page/build-manifest.json +2 -2
- package/dist/.next/server/app/dashboard/page.js +1 -1
- package/dist/.next/server/app/dashboard/page.js.nft.json +1 -1
- package/dist/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/index.html +1 -1
- package/dist/.next/server/app/index.rsc +17 -17
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/index.segments/_full.segment.rsc +17 -17
- package/dist/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/dist/.next/server/app/index.segments/_index.segment.rsc +12 -11
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/launch/page/build-manifest.json +2 -2
- package/dist/.next/server/app/launch/page.js +1 -1
- package/dist/.next/server/app/launch/page.js.nft.json +1 -1
- package/dist/.next/server/app/launch/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/logs/[clusterId]/page/build-manifest.json +2 -2
- package/dist/.next/server/app/logs/[clusterId]/page.js +4 -4
- package/dist/.next/server/app/logs/[clusterId]/page.js.nft.json +1 -1
- package/dist/.next/server/app/logs/[clusterId]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/monitor/page/build-manifest.json +2 -2
- package/dist/.next/server/app/monitor/page.js +1 -1
- package/dist/.next/server/app/monitor/page.js.nft.json +1 -1
- package/dist/.next/server/app/monitor/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/page/build-manifest.json +2 -2
- package/dist/.next/server/app/page.js +3 -3
- package/dist/.next/server/app/page.js.nft.json +1 -1
- package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/recipes/page/build-manifest.json +2 -2
- package/dist/.next/server/app/recipes/page.js +1 -1
- package/dist/.next/server/app/recipes/page.js.nft.json +1 -1
- package/dist/.next/server/app/recipes/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/chunks/01vs_next_0_skwjf._.js +1 -1
- package/dist/.next/server/chunks/[root-of-the-server]__0dyh02u._.js +1 -1
- package/dist/.next/server/chunks/node_modules__pnpm_0jzojku._.js +12 -12
- package/dist/.next/server/chunks/ssr/01vs_next_dist_esm_build_templates_app-page_0yt92_~.js +1 -1
- package/dist/.next/server/chunks/ssr/0zzz_@base-ui_react_esm_0.xnvnl._.js +3 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0r229c.._.js → [root-of-the-server]__0cw7vld._.js} +2 -2
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0eu6jgo._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e~b.g0._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0fs2q5n._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0y7ehiy._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0-myf3w._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0-ny4z6._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0-wjfxk._.js +3 -3
- package/dist/.next/server/chunks/ssr/_00my5cc._.js +1 -1
- package/dist/.next/server/chunks/ssr/_097ibiz._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0c~qlc6._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0fog1hx._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0g52jnc._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0gbw~w_._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0gfn7bd._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0im8_g2._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0m5y5l7._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0mckw1o._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0mrh_82._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0ofxfmv._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0qnb0w~._.js +3 -0
- package/dist/.next/server/chunks/ssr/{01vs_next_dist_0hn~axa._.js → _0s6tywl._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0~r.h8q._.js +3 -0
- package/dist/.next/server/chunks/ssr/_13pxz3~._.js +3 -0
- package/dist/.next/server/chunks/ssr/{_13bxdgf._.js → app_components_023yw5_._.js} +2 -2
- package/dist/.next/server/chunks/ssr/app_components_04zapmy._.js +3 -0
- package/dist/.next/server/chunks/ssr/app_components_0ddcccy._.js +3 -0
- package/dist/.next/server/chunks/ssr/app_components_dashboard_DashboardLive_tsx_10_yvzp._.js +1 -1
- package/dist/.next/server/chunks/ssr/lib_rpc_client_ts_0wan41.._.js +11 -0
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_00szepr._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_0xw.smj._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_10f-j2v._.js +3 -0
- package/dist/.next/server/middleware-build-manifest.js +5 -5
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.js +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/chunks/0-s876x.4qfai.js +3 -0
- package/dist/.next/static/chunks/078xo-vszok0f.js +1 -0
- package/dist/.next/static/chunks/08jto5wb~m8md.js +1 -0
- package/dist/.next/static/chunks/0exacxt~2tdmo.js +9 -0
- package/dist/.next/static/chunks/0ga9gen3kj0po.js +1 -0
- package/dist/.next/static/chunks/0gbgygn4a-gur.js +1 -0
- package/dist/.next/static/chunks/{042zcq.ivk.2-.js → 0iyr0hxu_5vs~.js} +1 -1
- package/dist/.next/static/chunks/0j95jkol3vrh-.js +1 -0
- package/dist/.next/static/chunks/0jx66pgwou.f6.js +1 -0
- package/dist/.next/static/chunks/{0888.-0n4420e.js → 0l89jfuoadbtz.js} +1 -1
- package/dist/.next/static/chunks/0lznb28bxa_.d.js +1 -0
- package/dist/.next/static/chunks/{0n3-kh874-tfi.js → 0mh4seohjbpl8.js} +1 -1
- package/dist/.next/static/chunks/{01_yfq-8lqzmt.js → 0pk0-zgrg~3oa.js} +1 -1
- package/dist/.next/static/chunks/{0oed4uv5d6zmw.js → 0qe6l~yn7eopb.js} +1 -1
- package/dist/.next/static/chunks/0qrgmze5y2_e~.js +1 -0
- package/dist/.next/static/chunks/0r7-_bo8-i_sp.js +1 -0
- package/dist/.next/static/chunks/{0o0far65u959f.js → 0rymelq75evwt.js} +1 -1
- package/dist/.next/static/chunks/0uu736m.dsm7w.css +3 -0
- package/dist/.next/static/chunks/0ym0rbcln2-yk.js +1 -0
- package/dist/.next/static/chunks/119_~7l1km1r9.js +1 -0
- package/dist/.next/static/chunks/14.vvaoxj9dec.js +1 -0
- package/dist/.next/static/chunks/16.c4q2lj5zlu.js +1 -0
- package/dist/.next/static/chunks/{099u.s_dit6xq.js → 1885jtxx61av~.js} +1 -1
- package/dist/.next/static/chunks/{turbopack-0_s3qnnkzer_~.js → turbopack-15ltfbt8m1wgq.js} +1 -1
- package/dist/package.json +2 -1
- package/package.json +2 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__03qy0wk._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0mgpd3z._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0ohytlb._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0yw~i1n._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__118x8sq._.js +0 -3
- package/dist/.next/server/chunks/ssr/_04vm1q8._.js +0 -3
- package/dist/.next/server/chunks/ssr/_05yc_-h._.js +0 -3
- package/dist/.next/server/chunks/ssr/_06stc30._.js +0 -3
- package/dist/.next/server/chunks/ssr/_090s43z._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0_bx_cp._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0bonl46._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0bsb5yc._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0e5gkc4._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0f.jwi.._.js +0 -11
- package/dist/.next/server/chunks/ssr/_0g_f5t-._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0j.5_81._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0jf7~mg._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0khf6ok._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0kjvh19._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0r26w2-._.js +0 -3
- package/dist/.next/server/chunks/ssr/lib_cn_ts_0.kw7xv._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_0_rgro2._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_0btsxto._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules__pnpm_0cub7vq._.js +0 -3
- package/dist/.next/static/chunks/01f1zms1lqrcy.js +0 -3
- package/dist/.next/static/chunks/07z94w.um2udf.js +0 -1
- package/dist/.next/static/chunks/09gpk-.a~0mq9.js +0 -1
- package/dist/.next/static/chunks/0d~_2-hs97pb7.js +0 -1
- package/dist/.next/static/chunks/0i69zf2t~3kk4.js +0 -1
- package/dist/.next/static/chunks/0k1wfm6d8.rv0.js +0 -1
- package/dist/.next/static/chunks/0kru5ynyap4.c.js +0 -1
- package/dist/.next/static/chunks/0kvzvlk316~8k.js +0 -9
- package/dist/.next/static/chunks/0l4~8wvcg4igy.js +0 -1
- package/dist/.next/static/chunks/0txak0~fepoq-.js +0 -1
- package/dist/.next/static/chunks/0weg-qdbxzr31.css +0 -3
- package/dist/.next/static/chunks/0yu9g~rhafg6x.js +0 -1
- package/dist/.next/static/chunks/0~w8i~kqjj7e4.js +0 -1
- package/dist/.next/static/chunks/124fs9yx_zber.js +0 -1
- package/dist/.next/static/chunks/1288h2i-vya_m.js +0 -1
- package/dist/.next/static/chunks/14n0juh5a1k9l.js +0 -1
- package/dist/.next/static/chunks/17pbogcj5kwn1.js +0 -1
- /package/dist/.next/static/{rSk-bU9cqehWeCtTAoPQb → mZWSK_2ftjJ1WxNyQ7l0q}/_buildManifest.js +0 -0
- /package/dist/.next/static/{rSk-bU9cqehWeCtTAoPQb → mZWSK_2ftjJ1WxNyQ7l0q}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{rSk-bU9cqehWeCtTAoPQb → mZWSK_2ftjJ1WxNyQ7l0q}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="/logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/0weg-qdbxzr31.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03q757hpt3301.js"/><script src="/_next/static/chunks/0o0far65u959f.js" async=""></script><script src="/_next/static/chunks/032k-n9i486nr.js" async=""></script><script src="/_next/static/chunks/12mz0_._155bq.js" async=""></script><script src="/_next/static/chunks/173qvra~fczs6.js" async=""></script><script src="/_next/static/chunks/turbopack-0_s3qnnkzer_~.js" async=""></script><script src="/_next/static/chunks/05j~t092g6cly.js" async=""></script><script src="/_next/static/chunks/01f1zms1lqrcy.js" async=""></script><script src="/_next/static/chunks/0k1wfm6d8.rv0.js" async=""></script><script src="/_next/static/chunks/0n95o8ynx0q8b.js" async=""></script><script src="/_next/static/chunks/0kvzvlk316~8k.js" async=""></script><title>404: This page could not be found.</title><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#0ea5e9" media="(prefers-color-scheme: light)"/><meta name="theme-color" content="#0b1220" media="(prefers-color-scheme: dark)"/><title>sparkrun</title><meta name="description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta name="application-name" content="sparkrun"/><meta property="og:title" content="sparkrun"/><meta property="og:description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta property="og:image" content="http://localhost:5678/logo.svg"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="sparkrun"/><meta name="twitter:description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta name="twitter:image" content="http://localhost:5678/logo.svg"/><link rel="icon" href="/icon.svg?icon.113mx9lzchuti.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="min-h-full"><div hidden=""><!--$--><!--/$--></div><div id="root-isolation" class="flex min-h-screen flex-col"><canvas class="pointer-events-none fixed inset-0 -z-10" aria-hidden="true"></canvas><header class="sticky top-0 z-10 border-b border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80"><div class="mx-auto flex h-14 max-w-7xl items-center justify-between px-6"><div class="flex items-center gap-4"><a class="flex items-center gap-2 text-sm font-semibold text-zinc-900 dark:text-zinc-100" href="/"><img alt="" width="20" height="20" decoding="async" data-nimg="1" style="color:transparent" src="/logo.svg"/>sparkrun</a></div><nav class="flex items-center gap-1"><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/dashboard"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-activity" aria-hidden="true"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path></svg>Dashboard</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/recipes"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-text" aria-hidden="true"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"></path><path d="M8 11h8"></path><path d="M8 7h6"></path></svg>Recipes</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/launch"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-rocket" aria-hidden="true"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"></path><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"></path><path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"></path><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"></path></svg>Launch</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/benchmarks"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gauge" aria-hidden="true"><path d="m12 14 4-4"></path><path d="M3.34 19a10 10 0 1 1 17.32 0"></path></svg>Benchmarks</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/monitor"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chart-line" aria-hidden="true"><path d="M3 3v16a2 2 0 0 0 2 2h16"></path><path d="m19 9-5 5-4-4-3 3"></path></svg>Monitor</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/chat"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path></svg>Chat</a></nav></div></header><main class="mx-auto w-full max-w-7xl flex-1 px-6 py-8"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><footer class="mt-12 border-t border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80"><div class="mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row"><div class="flex items-center gap-2 text-zinc-500 dark:text-zinc-400"><img alt="" loading="lazy" width="16" height="16" decoding="async" data-nimg="1" style="color:transparent" src="/logo.svg"/><span><span class="font-medium text-zinc-700 dark:text-zinc-300">sparkrun-ui</span> · web UI for<!-- --> <a target="_blank" rel="noreferrer" class="underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400" href="https://github.com/mcampa/sparkrun">sparkrun</a></span></div><a target="_blank" rel="noreferrer" class="inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" aria-label="View source on GitHub" href="https://github.com/mcampa/sparkrun-ui"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"></path></svg><span>GitHub</span></a></div></footer></div><script src="/_next/static/chunks/03q757hpt3301.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[84538,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"ToastProvider\"]\n3:I[1842,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"AnimatedBackground\"]\n4:I[55367,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"\"]\n5:I[83540,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"Image\"]\n6:I[92250,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"HeaderStats\"]\n7:I[54858,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"Nav\"]\n8:I[12224,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"default\"]\n9:I[67689,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"default\"]\n10:I[77663,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0weg-qdbxzr31.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0weg-qdbxzr31.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/05j~t092g6cly.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/01f1zms1lqrcy.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/0kvzvlk316~8k.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-full\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"root-isolation\",\"className\":\"flex min-h-screen flex-col\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"header\",null,{\"className\":\"sticky top-0 z-10 border-b border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80\",\"children\":[\"$\",\"div\",null,{\"className\":\"mx-auto flex h-14 max-w-7xl items-center justify-between px-6\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-4\",\"children\":[[\"$\",\"$L4\",null,{\"href\":\"/\",\"className\":\"flex items-center gap-2 text-sm font-semibold text-zinc-900 dark:text-zinc-100\",\"children\":[[\"$\",\"$L5\",null,{\"src\":\"/logo.svg\",\"alt\":\"\",\"width\":20,\"height\":20,\"priority\":true}],\"sparkrun\"]}],[\"$\",\"$L6\",null,{}]]}],[\"$\",\"$L7\",null,{}]]}]}],[\"$\",\"main\",null,{\"className\":\"mx-auto w-full max-w-7xl flex-1 px-6 py-8\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"footer\",null,{\"className\":\"mt-12 border-t border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80\",\"children\":[\"$\",\"div\",null,{\"className\":\"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 text-zinc-500 dark:text-zinc-400\",\"children\":[[\"$\",\"$L5\",null,{\"src\":\"/logo.svg\",\"alt\":\"\",\"width\":16,\"height\":16}],[\"$\",\"span\",null,{\"children\":[[\"$\",\"span\",null,{\"className\":\"font-medium text-zinc-700 dark:text-zinc-300\",\"children\":\"sparkrun-ui\"}],\" · web UI for\",\" \",[\"$\",\"$L4\",null,{\"href\":\"https://github.com/mcampa/sparkrun\",\"target\":\"_blank\",\"rel\":\"noreferrer\",\"className\":\"underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400\",\"children\":\"sparkrun\"}]]}]]}],[\"$\",\"$L4\",null,{\"href\":\"https://github.com/mcampa/sparkrun-ui\",\"target\":\"_blank\",\"rel\":\"noreferrer\",\"className\":\"inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100\",\"aria-label\":\"View source on GitHub\",\"children\":[\"$La\",\"$Lb\"]}]]}]}]]}]}]}]}]]}],{\"children\":[\"$Lc\",{\"children\":[\"$Ld\",{},null,false,null]},null,false,\"$@e\"]},null,false,null],\"$Lf\",false]],\"m\":\"$undefined\",\"G\":[\"$10\",[\"$L11\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"rSk-bU9cqehWeCtTAoPQb\"}\n"])</script><script>self.__next_f.push([1,"12:I[76779,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"OutletBoundary\"]\n13:\"$Sreact.suspense\"\n16:I[76779,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"ViewportBoundary\"]\n18:I[76779,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"MetadataBoundary\"]\na:[\"$\",\"svg\",null,{\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 24 24\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\",\"focusable\":\"false\",\"children\":[\"$\",\"path\",null,{\"d\":\"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z\"}]}]\nb:[\"$\",\"span\",null,{\"children\":\"GitHub\"}]\nc:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"d:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L12\",null,{\"children\":[\"$\",\"$13\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@14\"}]}]]}]\n"])</script><script>self.__next_f.push([1,"15:[]\ne:\"$W15\"\nf:[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L16\",null,{\"children\":\"$L17\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L18\",null,{\"children\":[\"$\",\"$13\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L19\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n11:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0weg-qdbxzr31.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"17:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0ea5e9\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"content\":\"#0b1220\",\"media\":\"(prefers-color-scheme: dark)\"}]]\n"])</script><script>self.__next_f.push([1,"1a:I[6726,[\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/01f1zms1lqrcy.js\",\"/_next/static/chunks/0k1wfm6d8.rv0.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0kvzvlk316~8k.js\"],\"IconMark\"]\n14:null\n19:[[\"$\",\"title\",\"0\",{\"children\":\"sparkrun\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:title\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:image\",\"content\":\"http://localhost:5678/logo.svg\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"7\",{\"name\":\"twitter:title\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"8\",{\"name\":\"twitter:description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"9\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:5678/logo.svg\"}],[\"$\",\"link\",\"10\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.113mx9lzchuti.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L1a\",\"11\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="/logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/0uu736m.dsm7w.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03q757hpt3301.js"/><script src="/_next/static/chunks/0rymelq75evwt.js" async=""></script><script src="/_next/static/chunks/032k-n9i486nr.js" async=""></script><script src="/_next/static/chunks/12mz0_._155bq.js" async=""></script><script src="/_next/static/chunks/173qvra~fczs6.js" async=""></script><script src="/_next/static/chunks/turbopack-15ltfbt8m1wgq.js" async=""></script><script src="/_next/static/chunks/0exacxt~2tdmo.js" async=""></script><script src="/_next/static/chunks/05j~t092g6cly.js" async=""></script><script src="/_next/static/chunks/0-s876x.4qfai.js" async=""></script><script src="/_next/static/chunks/14.vvaoxj9dec.js" async=""></script><script src="/_next/static/chunks/0gbgygn4a-gur.js" async=""></script><script src="/_next/static/chunks/0n95o8ynx0q8b.js" async=""></script><script src="/_next/static/chunks/0jx66pgwou.f6.js" async=""></script><title>404: This page could not be found.</title><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><meta name="theme-color" content="#0ea5e9" media="(prefers-color-scheme: light)"/><meta name="theme-color" content="#0b1220" media="(prefers-color-scheme: dark)"/><title>sparkrun</title><meta name="description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta name="application-name" content="sparkrun"/><meta property="og:title" content="sparkrun"/><meta property="og:description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta property="og:image" content="http://localhost:5678/logo.svg"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="sparkrun"/><meta name="twitter:description" content="Web UI for sparkrun — launch and monitor inference workloads on DGX Spark"/><meta name="twitter:image" content="http://localhost:5678/logo.svg"/><link rel="icon" href="/icon.svg?icon.113mx9lzchuti.svg" sizes="any" type="image/svg+xml"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="min-h-full"><div hidden=""><!--$--><!--/$--></div><div id="root-isolation" class="flex min-h-screen flex-col"><canvas class="pointer-events-none fixed inset-0 -z-10" aria-hidden="true"></canvas><header class="sticky top-0 z-10 border-b border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80"><div class="mx-auto flex h-14 max-w-7xl items-center justify-between px-6"><div class="flex items-center gap-4"><a class="flex items-center gap-2 text-sm font-semibold text-zinc-900 dark:text-zinc-100" href="/"><img alt="" width="20" height="20" decoding="async" data-nimg="1" style="color:transparent" src="/logo.svg"/>sparkrun</a></div><nav class="hidden items-center gap-1 md:flex"><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/dashboard"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-activity" aria-hidden="true"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"></path></svg>Dashboard</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/recipes"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-text" aria-hidden="true"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"></path><path d="M8 11h8"></path><path d="M8 7h6"></path></svg>Recipes</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/launch"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-rocket" aria-hidden="true"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"></path><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"></path><path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"></path><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"></path></svg>Launch</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/benchmarks"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gauge" aria-hidden="true"><path d="m12 14 4-4"></path><path d="M3.34 19a10 10 0 1 1 17.32 0"></path></svg>Benchmarks</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/monitor"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chart-line" aria-hidden="true"><path d="M3 3v16a2 2 0 0 0 2 2h16"></path><path d="m19 9-5 5-4-4-3 3"></path></svg>Monitor</a><a class="inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" href="/chat"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-square" aria-hidden="true"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"></path></svg>Chat</a></nav><button class="rounded-md p-2 text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 md:hidden dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" aria-label="Open menu"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu" aria-hidden="true"><path d="M4 5h16"></path><path d="M4 12h16"></path><path d="M4 19h16"></path></svg></button></div></header><main class="mx-auto w-full max-w-7xl flex-1 px-6 py-8"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><footer class="mt-12 border-t border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80"><div class="mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row"><div class="flex items-center gap-2 text-zinc-500 dark:text-zinc-400"><img alt="" loading="lazy" width="16" height="16" decoding="async" data-nimg="1" style="color:transparent" src="/logo.svg"/><span><span class="font-medium text-zinc-700 dark:text-zinc-300">sparkrun-ui</span> · web UI for<!-- --> <a target="_blank" rel="noreferrer" class="underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400" href="https://github.com/mcampa/sparkrun">sparkrun</a></span></div><a target="_blank" rel="noreferrer" class="inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100" aria-label="View source on GitHub" href="https://github.com/mcampa/sparkrun-ui"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"></path></svg><span>GitHub</span></a></div></footer></div><script src="/_next/static/chunks/03q757hpt3301.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[84538,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"ToastProvider\"]\n3:I[1842,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"AnimatedBackground\"]\n4:I[55367,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"\"]\n5:I[83540,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"Image\"]\n6:I[92250,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"HeaderStats\"]\n7:I[54858,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"Nav\"]\n8:I[12224,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"default\"]\n9:I[67689,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"default\"]\n10:I[77663,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0uu736m.dsm7w.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uu736m.dsm7w.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0exacxt~2tdmo.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/05j~t092g6cly.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0-s876x.4qfai.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/14.vvaoxj9dec.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/0gbgygn4a-gur.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/_next/static/chunks/0jx66pgwou.f6.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-full\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"root-isolation\",\"className\":\"flex min-h-screen flex-col\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"header\",null,{\"className\":\"sticky top-0 z-10 border-b border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80\",\"children\":[\"$\",\"div\",null,{\"className\":\"mx-auto flex h-14 max-w-7xl items-center justify-between px-6\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-4\",\"children\":[[\"$\",\"$L4\",null,{\"href\":\"/\",\"className\":\"flex items-center gap-2 text-sm font-semibold text-zinc-900 dark:text-zinc-100\",\"children\":[[\"$\",\"$L5\",null,{\"src\":\"/logo.svg\",\"alt\":\"\",\"width\":20,\"height\":20,\"priority\":true}],\"sparkrun\"]}],[\"$\",\"$L6\",null,{}]]}],[\"$\",\"$L7\",null,{}]]}]}],[\"$\",\"main\",null,{\"className\":\"mx-auto w-full max-w-7xl flex-1 px-6 py-8\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"footer\",null,{\"className\":\"mt-12 border-t border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80\",\"children\":[\"$\",\"div\",null,{\"className\":\"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center gap-2 text-zinc-500 dark:text-zinc-400\",\"children\":[[\"$\",\"$L5\",null,{\"src\":\"/logo.svg\",\"alt\":\"\",\"width\":16,\"height\":16}],[\"$\",\"span\",null,{\"children\":[[\"$\",\"span\",null,{\"className\":\"font-medium text-zinc-700 dark:text-zinc-300\",\"children\":\"sparkrun-ui\"}],\" · web UI for\",\" \",[\"$\",\"$L4\",null,{\"href\":\"https://github.com/mcampa/sparkrun\",\"target\":\"_blank\",\"rel\":\"noreferrer\",\"className\":\"underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400\",\"children\":\"sparkrun\"}]]}]]}],[\"$\",\"$L4\",null,{\"href\":\"https://github.com/mcampa/sparkrun-ui\",\"target\":\"_blank\",\"rel\":\"noreferrer\",\"className\":\"inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100\",\"aria-label\":\"View source on GitHub\",\"children\":[\"$La\",\"$Lb\"]}]]}]}]]}]}]}]}]]}],{\"children\":[\"$Lc\",{\"children\":[\"$Ld\",{},null,false,null]},null,false,\"$@e\"]},null,false,null],\"$Lf\",false]],\"m\":\"$undefined\",\"G\":[\"$10\",[\"$L11\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"mZWSK_2ftjJ1WxNyQ7l0q\"}\n"])</script><script>self.__next_f.push([1,"12:I[76779,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"OutletBoundary\"]\n13:\"$Sreact.suspense\"\n16:I[76779,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"ViewportBoundary\"]\n18:I[76779,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"MetadataBoundary\"]\na:[\"$\",\"svg\",null,{\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 24 24\",\"fill\":\"currentColor\",\"aria-hidden\":\"true\",\"focusable\":\"false\",\"children\":[\"$\",\"path\",null,{\"d\":\"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z\"}]}]\nb:[\"$\",\"span\",null,{\"children\":\"GitHub\"}]\nc:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"d:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:children:2:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L12\",null,{\"children\":[\"$\",\"$13\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@14\"}]}]]}]\n"])</script><script>self.__next_f.push([1,"15:[]\ne:\"$W15\"\nf:[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L16\",null,{\"children\":\"$L17\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L18\",null,{\"children\":[\"$\",\"$13\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L19\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n11:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0uu736m.dsm7w.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"17:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0ea5e9\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"content\":\"#0b1220\",\"media\":\"(prefers-color-scheme: dark)\"}]]\n"])</script><script>self.__next_f.push([1,"1a:I[6726,[\"/_next/static/chunks/0exacxt~2tdmo.js\",\"/_next/static/chunks/05j~t092g6cly.js\",\"/_next/static/chunks/0-s876x.4qfai.js\",\"/_next/static/chunks/14.vvaoxj9dec.js\",\"/_next/static/chunks/0gbgygn4a-gur.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\",\"/_next/static/chunks/0jx66pgwou.f6.js\"],\"IconMark\"]\n14:null\n19:[[\"$\",\"title\",\"0\",{\"children\":\"sparkrun\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:title\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:image\",\"content\":\"http://localhost:5678/logo.svg\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"7\",{\"name\":\"twitter:title\",\"content\":\"sparkrun\"}],[\"$\",\"meta\",\"8\",{\"name\":\"twitter:description\",\"content\":\"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark\"}],[\"$\",\"meta\",\"9\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:5678/logo.svg\"}],[\"$\",\"link\",\"10\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.113mx9lzchuti.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L1a\",\"11\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03q757hpt3301.js"/><script src="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03q757hpt3301.js"/><script src="/_next/static/chunks/0rymelq75evwt.js" async=""></script><script src="/_next/static/chunks/032k-n9i486nr.js" async=""></script><script src="/_next/static/chunks/12mz0_._155bq.js" async=""></script><script src="/_next/static/chunks/173qvra~fczs6.js" async=""></script><script src="/_next/static/chunks/turbopack-15ltfbt8m1wgq.js" async=""></script><script src="/_next/static/chunks/06k6o5~7u5tj3.js" async=""></script><script src="/_next/static/chunks/0n95o8ynx0q8b.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><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)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/03q757hpt3301.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[12224,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"default\"]\n3:I[67689,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"default\"]\n4:I[76779,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[76779,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"ViewportBoundary\"]\na:I[76779,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"MetadataBoundary\"]\nc:I[77663,[\"/_next/static/chunks/06k6o5~7u5tj3.js\",\"/_next/static/chunks/0n95o8ynx0q8b.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"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)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"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)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"mZWSK_2ftjJ1WxNyQ7l0q\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"GKxkdiUxLKMCtaQIzb3toUwj8ee2LFspIYhyMObGZgw=\"\n}"
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21630,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},69131,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return _},MissingStaticPage:function(){return x},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return j}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>l.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},72489,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},12612,(e,t,r)=>{t.exports=e.r(63435)},80436,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(44066)._(e.r(21630)),o=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(a.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},86032,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(73576);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=a(e,n)),t&&(i.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(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)},52958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(69131),i=e.r(42783);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},50232,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},55367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return v}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(44066),o=e.r(76350),l=a._(e.r(73576)),s=e.r(80436),u=e.r(76968),c=e.r(86032),d=e.r(69131),f=e.r(36948);e.r(72489);let p=e.r(66215),h=e.r(82393),m=e.r(52958),g=e.r(96478);function y(t){var r,n;let i,a,y,[v,x]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,l.useRef)(null),{href:j,as:P,children:w,prefetch:O=null,passHref:E,replace:S,shallow:C,scroll:z,onClick:k,onMouseEnter:M,onTouchStart:R,legacyBehavior:N=!1,onNavigate:T,transitionTypes:A,ref:I,unstable_dynamicOnHover:$,...D}=t;i=w,N&&("string"==typeof i||"number"==typeof i)&&(i=(0,o.jsx)("a",{children:i}));let L=l.default.useContext(u.AppRouterContext),U=!1!==O,F=!1!==O?null===(n=O)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=P||j)?r:(0,s.formatUrl)(r);if(N){if(i?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(i)}let q=N?a&&"object"==typeof a&&a.ref:I,W=l.default.useCallback(e=>(null!==L&&(_.current=(0,h.mountLinkInstance)(e,B,L,F,U,x)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[U,B,L,F,x]),G={ref:(0,c.useMergedRef)(W,q),onClick(t){N||"function"!=typeof k||k(t),N&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!L||t.defaultPrevented||function(t,r,n,i,a,o,s){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(25435);l.default.startTransition(()=>{d(r,i?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,s)})}}(t,B,_,S,z,T,A)},onMouseEnter(e){N||"function"!=typeof M||M(e),N&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),L&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){N||"function"!=typeof R||R(e),N&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),L&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(B)?G.href=B:N&&!E&&("a"!==a.type||"href"in a.props)||(G.href=(0,f.addBasePath)(B)),y=N?l.default.cloneElement(a,G):(0,o.jsx)("a",{...D,...G,children:i}),(0,o.jsx)(b.Provider,{value:v,children:y})}e.r(50232);let b=(0,l.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(b);("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)},64477,e=>{"use strict";let t=(0,e.i(6927).default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);e.s(["Rocket",0,t],64477)},74799,98638,e=>{"use strict";var t=e.i(6927);let r=(0,t.default)("thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);e.s(["Thermometer",0,r],74799);let n=(0,t.default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",0,n],98638)},75261,4403,e=>{"use strict";var t=e.i(6927);let r=(0,t.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,r],75261);let n=(0,t.default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["MessageSquare",0,n],4403)},61080,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let n=e.r(73576),i="u"<typeof window,a=i?()=>{}:n.useLayoutEffect,o=i?()=>{}:n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),l()),a(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),a(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},52991,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(81258),o=e.r(44066),l=e.r(76350),s=o._(e.r(73576)),u=a._(e.r(61080)),c=e.r(37090);function d(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(72489);let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,n,i;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,i={},e=>{let a=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?a=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?a=!1:n.add(r);else{let t=e.props[r],n=i[r]||new Set;("name"!==r||!o)&&n.has(t)?a=!1:(n.add(t),i[r]=n)}}}return a})).reverse().map((e,t)=>{let r=e.key||t;return s.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,s.useContext)(c.HeadManagerContext);return(0,l.jsx)(u.default,{reduceComponentsToState:h,headManager: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)},37848,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}){let l=r?40*r:e,s=i?40*i:t,u=l&&s?`viewBox='0 0 ${l} ${s}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},1183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},4879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(72489);let n=e.r(42736),i=e.r(37848),a=e.r(1183),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:f,className:p,quality:h,width:m,height:g,fill:y=!1,style:b,overrideSrc:v,onLoad:x,onLoadingComplete:_,placeholder:j="empty",blurDataURL:P,fetchPriority:w,decoding:O="async",layout:E,objectFit:S,objectPosition:C,lazyBoundary:z,lazyRoot:k,...M},R){var N;let T,A,I,{imgConf:$,showAltText:D,blurComplete:L,defaultLoader:U}=R,F=$||a.imageConfigDefault;if("allSizes"in F)T=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);T={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===U)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=M.loader||U;delete M.loader,delete M.srcSet;let q="__next_img_default"in B;if(q){if("custom"===T.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(E){"fill"===E&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[E];r&&!t&&(t=r)}let W="",G=s(m),H=s(g);if((N=e)&&"object"==typeof N&&(l(N)||void 0!==N.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(A=t.blurWidth,I=t.blurHeight,P=P||t.blurDataURL,W=t.src,!y)if(G||H){if(G&&!H){let e=G/t.width;H=Math.round(t.height*e)}else if(!G&&H){let e=H/t.height;G=Math.round(t.width*e)}}else G=t.width,H=t.height}let X=!c&&!d&&("lazy"===f||void 0===f);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,X=!1),T.unoptimized&&(r=!0),q&&!T.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let K=s(h),V=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:C}:{},D?{}:{color:"transparent"},b),Q=L||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:A,blurHeight:I,blurDataURL:P||"",objectFit:V.objectFit})}")`:`url("${j}")`,Z=o.includes(V.objectFit)?"fill"===V.objectFit?"100% 100%":"cover":V.objectFit,J=Q?{backgroundSize:Z,backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},Y=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:o,loader:l}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:s,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,o),c=s.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:s.map((r,n)=>`${l({config:e,src:t,quality:a,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:l({config:e,src:t,quality:a,width:s[c]})}}({config:T,src:e,unoptimized:r,width:G,quality:K,sizes:t,loader:B}),ee=X?"lazy":f;return{props:{...M,loading:ee,fetchPriority:w,width:G,height:H,decoding:O,className:p,style:{...V,...J},sizes:Y.sizes,srcSet:Y.srcSet,src:v||Y.src},meta:{unoptimized:r,preload:d||c,placeholder:j,fill:y}}}},4044,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=e.r(81258)._(e.r(73576)),i=e.r(1183),a=n.default.createContext(i.imageConfigDefault)},34233,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(81258)._(e.r(73576)).default.createContext(null)},2692,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},80934,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let n=e.r(2692),i=e.r(42736);function a({config:e,src:t,width:r,quality:o}){let l=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){l=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let s=(0,n.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${s}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}a.__next_img_default=!0;let o=a},83540,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return x}});let n=e.r(81258),i=e.r(44066),a=e.r(76350),o=i._(e.r(73576)),l=n._(e.r(55284)),s=n._(e.r(52991)),u=e.r(4879),c=e.r(1183),d=e.r(4044);e.r(72489);let f=e.r(34233),p=n._(e.r(80934)),h=e.r(86032),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,n,i,a,o){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,o.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:l,className:s,style:u,fetchPriority:c,placeholder:d,loading:f,unoptimized:p,fill:m,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:x,setShowAltText:_,sizesInput:j,onLoad:P,onError:w,...O},E)=>{let S=(0,o.useCallback)(e=>{e&&(w&&(e.src=e.src),e.complete&&g(e,d,b,v,x,p,j))},[e,d,b,v,x,w,p,j]),C=(0,h.useMergedRef)(E,S);return(0,a.jsx)("img",{...O,...y(c),loading:f,width:i,height:n,decoding:l,"data-nimg":m?"fill":"1",className:s,style:u,sizes:r,srcSet:t,src:e,ref:C,onLoad:e=>{g(e.currentTarget,d,b,v,x,p,j)},onError:e=>{_(!0),"empty"!==d&&x(!0),w&&w(e)}})});function v({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,r),null):(0,a.jsx)(s.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:l,onLoadingComplete:s}=e,h=(0,o.useRef)(l);(0,o.useEffect)(()=>{h.current=l},[l]);let g=(0,o.useRef)(s);(0,o.useEffect)(()=>{g.current=s},[s]);let[y,x]=(0,o.useState)(!1),[_,j]=(0,o.useState)(!1),{props:P,meta:w}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:y,showAltText:_});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{...P,unoptimized:w.unoptimized,placeholder:w.placeholder,fill:w.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:j,sizesInput:e.sizes,ref:t}),w.preload?(0,a.jsx)(v,{isAppRouter:!r,imgAttributes:P}):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)},54858,e=>{"use strict";var t=e.i(76350),r=e.i(73576),n=e.i(55367),i=e.i(12612),a=e.i(37999),o=e.i(6927);let l=(0,o.default)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]),s=(0,o.default)("book-text",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]]);var u=e.i(75261);let c=(0,o.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"}]]),d=(0,o.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var f=e.i(4403),p=e.i(64477),h=e.i(75442),m=e.i(33209);let g=[{href:"/dashboard",label:"Dashboard",icon:l},{href:"/recipes",label:"Recipes",icon:s},{href:"/launch",label:"Launch",icon:p.Rocket},{href:"/benchmarks",label:"Benchmarks",icon:u.Gauge},{href:"/monitor",label:"Monitor",icon:c},{href:"/chat",label:"Chat",icon:f.MessageSquare}];function y({href:e,label:r,icon:a,onClick:o}){let l=(0,i.usePathname)(),s=l===e||l.startsWith(`${e}/`);return(0,t.jsxs)(n.default,{href:e,onClick:o,className:(0,m.cn)("inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",s?"bg-zinc-200 text-zinc-900 dark:bg-zinc-800 dark:text-zinc-100":"text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100"),children:[(0,t.jsx)(a,{size:16,strokeWidth:2}),r]})}e.s(["Nav",0,function(){let[e,n]=(0,r.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{className:"hidden items-center gap-1 md:flex",children:g.map(e=>(0,t.jsx)(y,{...e},e.href))}),(0,t.jsx)("button",{onClick:()=>n(!0),className:"rounded-md p-2 text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 md:hidden dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100","aria-label":"Open menu",children:(0,t.jsx)(d,{size:20})}),(0,t.jsx)(a.Dialog.Root,{open:e,onOpenChange:n,children:(0,t.jsxs)(a.Dialog.Portal,{children:[(0,t.jsx)(a.Dialog.Backdrop,{className:"fixed inset-0 z-50 bg-black/40 backdrop-blur-[2px] transition-opacity duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),(0,t.jsxs)(a.Dialog.Popup,{className:"fixed inset-y-0 right-0 z-50 w-64 border-l border-zinc-200 bg-white shadow-xl transition-transform duration-200 data-[ending-style]:translate-x-full data-[starting-style]:translate-x-full dark:border-zinc-800 dark:bg-zinc-900",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-zinc-200 px-4 py-3 dark:border-zinc-800",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-zinc-900 dark:text-zinc-100",children:"Menu"}),(0,t.jsx)(a.Dialog.Close,{className:"rounded p-1 text-zinc-500 hover:bg-zinc-100 hover:text-zinc-900 dark:hover:bg-zinc-800 dark:hover:text-zinc-100",children:(0,t.jsx)(h.X,{size:16})})]}),(0,t.jsx)("nav",{className:"flex flex-col gap-1 p-3",children:g.map(e=>(0,t.jsx)(y,{...e,onClick:()=>n(!1)},e.href))})]})]})})]})}],54858)},92250,e=>{"use strict";var t=e.i(76350),r=e.i(73576),n=e.i(74799),i=e.i(98638),a=e.i(21432);function o(e){if(!e)return 0;let t=parseFloat(e);return Number.isFinite(t)?t:0}let l={gpuPct:0,gpuTempC:0,connected:!1};e.s(["HeaderStats",0,function(){let[e,s]=(0,r.useState)(l);return((0,r.useEffect)(()=>{let e=new AbortController,t=!1;return(async()=>{try{for await(let r of(await a.rpc.monitor.stream({intervalSec:3},{signal:e.signal}))){if(t)break;let e=Object.values(r.hosts),n=0,i=0;for(let t of e)n+=o(t.gpu_util_pct),i+=o(t.gpu_temp_c);let a=e.length||1;s({gpuPct:n/a,gpuTempC:i/a,connected:!0})}}catch{t||s(e=>({...e,connected:!1}))}})(),()=>{t=!0,e.abort()}},[]),e.connected||0!==e.gpuPct)?(0,t.jsxs)("div",{className:"flex items-center gap-3 text-xs text-zinc-500 dark:text-zinc-400",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",title:"GPU utilization",children:[(0,t.jsx)(i.Zap,{size:12,className:e.gpuPct>0?"text-purple-500":"text-zinc-400"}),e.gpuPct.toFixed(0),"%"]}),e.gpuTempC>0&&(0,t.jsxs)("span",{className:"flex items-center gap-1",title:"GPU temperature",children:[(0,t.jsx)(n.Thermometer,{size:12,className:"text-red-500"}),e.gpuTempC.toFixed(0),"°C"]})]}):null}])},1842,e=>{"use strict";var t=e.i(76350),r=e.i(73576);e.s(["AnimatedBackground",0,function(){let e=(0,r.useRef)(null),n=(0,r.useRef)(0);return(0,r.useEffect)(()=>{let t=e.current;if(!t)return;let r=t.getContext("2d");if(!r)return;let i=0,a=0;function o(){i=t.width=window.innerWidth,a=t.height=window.innerHeight}return o(),window.addEventListener("resize",o),n.current=requestAnimationFrame(function e(){r.clearRect(0,0,i,a);let t=3e-4*performance.now(),o=window.matchMedia("(prefers-color-scheme: dark)").matches,l=o?.08:.06,s=o?80:200,u=o?60:180,c=o?100:220,d=o?30:230,f=o?50:200,p=o?60:190,h=r.createImageData(i,a),m=h.data;for(let e=0;e<a;e+=4)for(let r=0;r<i;r+=4){let n=r/i,o=e/a,h=(Math.sin(8*n+1.3*t)*Math.cos(6*o+.7*t)+Math.sin(5*n-.9*t+2)*Math.cos(7*o+1.1*t)+.5*Math.sin(10*n+4*o+.5*t)+2.5)/5,g=h*l,y=Math.round(s+(d-s)*h),b=Math.round(u+(f-u)*h),v=Math.round(c+(p-c)*h);for(let t=0;t<4&&e+t<a;t++)for(let n=0;n<4&&r+n<i;n++){let a=((e+t)*i+(r+n))*4;m[a]=y,m[a+1]=b,m[a+2]=v,m[a+3]=Math.round(255*g)}}r.putImageData(h,0,0),n.current=requestAnimationFrame(e)}),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(n.current)}},[]),(0,t.jsx)("canvas",{ref:e,className:"pointer-events-none fixed inset-0 -z-10","aria-hidden":!0})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2265,e=>{"use strict";var t=e.i(76350),r=e.i(33209);e.s(["Card",0,function({className:e,...i}){return(0,t.jsx)("div",{className:(0,r.cn)("rounded-lg border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-900",e),...i})},"CardBody",0,function({className:e,...i}){return(0,t.jsx)("div",{className:(0,r.cn)("px-5 py-4",e),...i})},"CardDescription",0,function({className:e,...i}){return(0,t.jsx)("p",{className:(0,r.cn)("text-sm text-zinc-500 dark:text-zinc-400",e),...i})},"CardFooter",0,function({className:e,...i}){return(0,t.jsx)("div",{className:(0,r.cn)("flex items-center justify-end gap-2 border-t border-zinc-200 px-5 py-3 dark:border-zinc-800",e),...i})},"CardHeader",0,function({className:e,...i}){return(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col gap-1 border-b border-zinc-200 px-5 py-4 dark:border-zinc-800",e),...i})},"CardTitle",0,function({className:e,...i}){return(0,t.jsx)("h3",{className:(0,r.cn)("text-base font-semibold text-zinc-900 dark:text-zinc-100",e),...i})}])},69393,e=>{"use strict";var t=e.i(76350),r=e.i(33209);let i={neutral:"bg-zinc-100 text-zinc-700 dark:bg-zinc-800 dark:text-zinc-300",sky:"bg-sky-100 text-sky-700 dark:bg-sky-950 dark:text-sky-300",green:"bg-emerald-100 text-emerald-700 dark:bg-emerald-950 dark:text-emerald-300",amber:"bg-amber-100 text-amber-700 dark:bg-amber-950 dark:text-amber-300",red:"bg-red-100 text-red-700 dark:bg-red-950 dark:text-red-300",purple:"bg-purple-100 text-purple-700 dark:bg-purple-950 dark:text-purple-300"};e.s(["Badge",0,function({tone:e="neutral",className:a,...n}){return(0,t.jsx)("span",{className:(0,r.cn)("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium",i[e],a),...n})}])},83079,e=>{"use strict";var t=e.i(76350),r=e.i(73576),i=e.i(33209);let a={primary:"bg-sky-600 text-white hover:bg-sky-500 active:bg-sky-700 dark:bg-sky-500 dark:hover:bg-sky-400",secondary:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 active:bg-zinc-300 dark:bg-zinc-800 dark:text-zinc-100 dark:hover:bg-zinc-700 dark:active:bg-zinc-600 border border-zinc-200 dark:border-zinc-700",ghost:"text-zinc-700 hover:bg-zinc-100 active:bg-zinc-200 dark:text-zinc-300 dark:hover:bg-zinc-800 dark:active:bg-zinc-700",danger:"bg-red-600 text-white hover:bg-red-500 active:bg-red-700 dark:bg-red-500 dark:hover:bg-red-400",success:"bg-emerald-600 text-white hover:bg-emerald-500 active:bg-emerald-700 dark:bg-emerald-500 dark:hover:bg-emerald-400"},n={sm:"h-8 px-3 text-sm",md:"h-9 px-4 text-sm",lg:"h-10 px-5 text-base"},s=r.forwardRef(function({variant:e="secondary",size:r="md",className:s,...d},l){return(0,t.jsx)("button",{ref:l,className:(0,i.cn)("inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-zinc-50 dark:focus-visible:ring-offset-zinc-950 focus-visible:ring-sky-500 disabled:opacity-50 disabled:cursor-not-allowed",a[e],n[r],s),...d})});e.s(["Button",0,s])},25979,e=>{"use strict";var t=e.i(73576);e.s(["useControlled",0,function({controlled:e,default:r,name:i,state:a="value"}){let{current:n}=t.useRef(void 0!==e),[s,d]=t.useState(r),l=t.useCallback(e=>{n||d(e)},[]);return[n?e:s,l]}])},18506,83656,e=>{"use strict";e.i(90954);var t,r=e.i(27402),i=e.i(73576),a=e.i(90319);let n=((t={}).disabled="data-disabled",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),s={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},d={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},l={disabled:!1,...d};e.s(["DEFAULT_FIELD_ROOT_STATE",0,l,"DEFAULT_FIELD_STATE_ATTRIBUTES",0,d,"DEFAULT_VALIDITY_STATE",0,s,"fieldValidityMapping",0,{valid:e=>null===e?null:e?{[n.valid]:""}:{[n.invalid]:""}}],83656);let c={invalid:void 0,name:void 0,validityData:{state:s,errors:[],error:"",value:"",initialValue:null},setValidityData:a.NOOP,disabled:void 0,touched:d.touched,setTouched:a.NOOP,dirty:d.dirty,setDirty:a.NOOP,filled:d.filled,setFilled:a.NOOP,focused:d.focused,setFocused:a.NOOP,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:l,markedDirtyRef:{current:!1},registerFieldControl:a.NOOP,validation:{getValidationProps:(e=a.EMPTY_OBJECT)=>e,getInputValidationProps:(e=a.EMPTY_OBJECT)=>e,inputRef:{current:null},commit:async()=>{}}},o=i.createContext(c);e.s(["FieldRootContext",0,o,"useFieldRootContext",0,function(e=!0){let t=i.useContext(o);if(t.setValidityData===a.NOOP&&!e)throw Error((0,r.default)(28));return t}],18506)},31883,e=>{"use strict";var t=e.i(73576),r=e.i(59183),i=e.i(18506);e.s(["useRegisterFieldControl",0,function(e,a,n,s,d=!0){let{registerFieldControl:l}=(0,i.useFieldRootContext)(),c=t.useRef(null);c.current||(c.current=Symbol()),(0,r.useIsoLayoutEffect)(()=>{let t=c.current;if(t&&d)return l(t,{controlRef:e,getValue:s,id:a,value:n}),()=>{l(t,void 0)}},[e,d,s,a,l,n])}])},95705,e=>{"use strict";var t=e.i(73576),r=e.i(90319);let i=t.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:r.NOOP,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["useFormContext",0,function(){return t.useContext(i)}])},44890,e=>{"use strict";var t=e.i(73576),r=e.i(90319);let i=t.createContext({controlId:void 0,registerControlId:r.NOOP,labelId:void 0,setLabelId:r.NOOP,messageIds:[],setMessageIds:r.NOOP,getDescriptionProps:e=>e});e.s(["LabelableContext",0,i,"useLabelableContext",0,function(){return t.useContext(i)}])},14092,e=>{"use strict";var t=e.i(73576),r=e.i(59183),i=e.i(22978),a=e.i(58605),n=e.i(92615),s=e.i(90319),d=e.i(16556),l=e.i(44890);e.s(["useLabelableId",0,function(e={}){let{id:c,implicit:o=!1,controlRef:u}=e,{controlId:x,registerControlId:f}=(0,l.useLabelableContext)(),h=(0,d.useBaseUiId)(c),b=o?x:void 0,m=(0,a.useRefWithInit)(()=>Symbol("labelable-control")),p=t.useRef(!1),v=t.useRef(null!=c),g=(0,i.useStableCallback)(()=>{p.current&&f!==s.NOOP&&(p.current=!1,f(m.current,void 0))});return(0,r.useIsoLayoutEffect)(()=>{let e;if(f!==s.NOOP){if(o){let t=u?.current;e=(0,n.isElement)(t)&&null!=t.closest("label")?c??null:b??h}else if(null!=c)v.current=!0,e=c;else{if(!v.current)return void g();e=h}if(void 0===e)return void g();p.current=!0,f(m.current,e)}},[c,u,b,f,o,h,m,g]),t.useEffect(()=>g,[g]),x??h}])},65869,e=>{"use strict";var t,r=e.i(76350);e.s([],14105),e.i(14105),e.i(90954);var i=e.i(73576),a=e.i(25979),n=e.i(24224),s=e.i(59183),d=e.i(12335),l=e.i(90319),c=e.i(85182),o=e.i(82911),u=e.i(53289),x=e.i(16556),f=e.i(69042),h=e.i(27402);let b=i.createContext(void 0);var m=e.i(83656);let p=((t={}).checked="data-checked",t.unchecked="data-unchecked",t.disabled="data-disabled",t.readonly="data-readonly",t.required="data-required",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),v={...m.fieldValidityMapping,checked:e=>e?{[p.checked]:""}:{[p.unchecked]:""}};var g=e.i(18506),k=e.i(31883),y=e.i(95705),j=e.i(44890),z=e.i(14092),N=e.i(82541),C=e.i(23846),E=e.i(84368);let O=i.forwardRef(function(e,t){let{checked:h,className:m,defaultChecked:p,"aria-labelledby":O,form:w,id:R,inputRef:T,name:I,nativeButton:P=!1,onCheckedChange:S,readOnly:L=!1,required:B=!1,disabled:F=!1,render:M,uncheckedValue:D,value:A,style:V,...U}=e,{clearErrors:_}=(0,y.useFormContext)(),{state:K,setTouched:H,setDirty:Y,validityData:q,setFilled:J,setFocused:W,shouldValidateOnChange:$,validationMode:G,disabled:Q,name:X,validation:Z}=(0,g.useFieldRootContext)(),{labelId:ee}=(0,j.useLabelableContext)(),et=Q||F,er=X??I,ei=i.useRef(null),ea=(0,n.useMergedRefs)(ei,T,Z.inputRef),en=i.useRef(null),es=(0,x.useBaseUiId)(),ed=(0,z.useLabelableId)({id:R,implicit:!1,controlRef:en}),el=P?void 0:ed,[ec,eo]=(0,a.useControlled)({controlled:h,default:!!p,name:"Switch",state:"checked"});(0,k.useRegisterFieldControl)(en,es,ec),(0,s.useIsoLayoutEffect)(()=>{ei.current&&J(ei.current.checked)},[ei,J]),(0,E.useValueChanged)(ec,()=>{_(er),Y(ec!==q.initialValue),J(ec),$()?Z.commit(ec):Z.commit(ec,!0)});let{getButtonProps:eu,buttonRef:ex}=(0,f.useButton)({disabled:et,native:P}),ef=function(e,t,r,a=!0,n){let[d,l]=i.useState(),c=(0,x.useBaseUiId)(n?`${n}-label`:void 0),o=e??t??d;return(0,s.useIsoLayoutEffect)(()=>{let i=e||t||!a?void 0:function(e,t){let r=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let r=e.id;if(r){let t=e.nextElementSibling;if(t&&t.htmlFor===r)return t}let i=e.labels;return i&&i[0]}(e);if(r)return!r.id&&t&&(r.id=t),r.id||void 0}(r.current,c);d!==i&&l(i)}),o}(O,ee,ei,!P,el),eh=(0,u.mergeProps)({checked:ec,disabled:et,form:w,id:el,name:er,required:B,style:er?d.visuallyHiddenInput:d.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:ea,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(L)return void e.preventDefault();let t=e.currentTarget.checked,r=(0,N.createChangeEventDetails)(C.REASONS.none,e.nativeEvent);S?.(t,r),r.isCanceled||eo(t)},onFocus(){en.current?.focus()}},Z.getInputValidationProps,void 0!==A?{value:A}:l.EMPTY_OBJECT),eb=i.useMemo(()=>({...K,checked:ec,disabled:et,readOnly:L,required:B}),[K,ec,et,L,B]),em=(0,o.useRenderElement)("span",e,{state:eb,ref:[t,en,ex],props:[{id:P?ed:es,role:"switch","aria-checked":ec,"aria-readonly":L||void 0,"aria-required":B||void 0,"aria-labelledby":ef,onFocus(){et||W(!0)},onBlur(){let e=ei.current;e&&!et&&(H(!0),W(!1),"onBlur"===G&&Z.commit(e.checked))},onClick(e){if(L||et)return;e.preventDefault();let t=ei.current;t&&t.dispatchEvent(new((0,c.ownerWindow)(t)).PointerEvent("click",{bubbles:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey}))}},Z.getValidationProps,U,eu],stateAttributesMapping:v});return(0,r.jsxs)(b.Provider,{value:eb,children:[em,!ec&&er&&void 0!==D&&(0,r.jsx)("input",{type:"hidden",form:w,name:er,value:D}),(0,r.jsx)("input",{...eh,suppressHydrationWarning:!0})]})}),w=i.forwardRef(function(e,t){let{render:r,className:a,style:n,...s}=e,d=function(){let e=i.useContext(b);if(void 0===e)throw Error((0,h.default)(63));return e}();return(0,o.useRenderElement)("span",e,{state:d,ref:t,stateAttributesMapping:v,props:s})});e.s(["Root",0,O,"Thumb",0,w],7498);var R=e.i(7498),R=R,T=e.i(33209);e.s(["Switch",0,function({checked:e,onCheckedChange:t,disabled:i,className:a}){return(0,r.jsx)(R.Root,{checked:e,onCheckedChange:t,disabled:i,className:(0,T.cn)("inline-flex h-5 w-9 cursor-pointer items-center rounded-full p-0.5 transition-colors","bg-zinc-300 data-[checked]:bg-sky-600 dark:bg-zinc-700 dark:data-[checked]:bg-sky-500","disabled:opacity-50",a),children:(0,r.jsx)(R.Thumb,{className:"h-4 w-4 rounded-full bg-white shadow transition-transform data-[checked]:translate-x-4"})})}],65869)},30644,e=>{"use strict";var t=e.i(76350),r=e.i(73576);let i=()=>()=>{},a=()=>!0,n=()=>!1;e.s(["LocalTime",0,function({iso:e}){let s=(0,r.useSyncExternalStore)(i,a,n);return e?(0,t.jsx)(t.Fragment,{children:s?function(e){try{return new Date(e).toLocaleString()}catch{return e}}(e):e}):(0,t.jsx)(t.Fragment,{children:"—"})}])},70224,e=>{"use strict";var t=e.i(76350),r=e.i(73576),i=e.i(55367);let a=(0,e.i(6927).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);var n=e.i(2265),s=e.i(69393),d=e.i(83079),l=e.i(65869),c=e.i(30644);let o={completed:"green",running:"sky",partial:"amber",failed:"red",unknown:"neutral"};e.s(["BenchmarksList",0,function({benchmarks:e}){let[u,x]=(0,r.useState)(!1),f=(0,r.useMemo)(()=>e.filter(e=>"failed"===e.status).length,[e]),h=(0,r.useMemo)(()=>u?e:e.filter(e=>"failed"!==e.status),[e,u]);return(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Benchmarks"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[f>0&&(0,t.jsxs)("label",{className:"flex cursor-pointer items-center gap-2 rounded-md px-2 py-1 text-xs text-zinc-600 select-none hover:bg-zinc-100 dark:text-zinc-400 dark:hover:bg-zinc-800",children:[(0,t.jsx)(l.Switch,{checked:u,onCheckedChange:x}),"Include failed",(0,t.jsxs)("span",{className:"text-zinc-400",children:["(",f,")"]})]}),(0,t.jsx)(i.default,{href:"/benchmarks/new",children:(0,t.jsxs)(d.Button,{variant:"primary",children:[(0,t.jsx)(a,{size:14}),"New benchmark"]})})]})]}),0===h.length?(0,t.jsx)(n.Card,{children:(0,t.jsx)(n.CardBody,{className:"text-sm text-zinc-500 dark:text-zinc-400",children:0===e.length?"No benchmarks have been run yet.":"No benchmarks to show. Toggle “Include failed” to see failed runs."})}):(0,t.jsx)(n.Card,{children:(0,t.jsx)(n.CardBody,{className:"p-0",children:(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{className:"border-b border-zinc-200 bg-zinc-50 text-left text-xs font-medium tracking-wider text-zinc-500 uppercase dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-400",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"px-4 py-2",children:"ID"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Recipe"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Framework"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Status"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Schedule"}),(0,t.jsx)("th",{className:"px-4 py-2",children:"Updated"}),(0,t.jsx)("th",{className:"px-4 py-2"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-zinc-200 dark:divide-zinc-800",children:h.map(e=>(0,t.jsxs)("tr",{className:"hover:bg-zinc-50 dark:hover:bg-zinc-950",children:[(0,t.jsx)("td",{className:"px-4 py-2 font-mono text-xs",children:(0,t.jsx)(i.default,{href:`/benchmarks/${e.id}`,className:"text-sky-600 hover:underline dark:text-sky-400",children:e.id})}),(0,t.jsx)("td",{className:"px-4 py-2 font-mono text-xs",children:e.recipe??"—"}),(0,t.jsx)("td",{className:"px-4 py-2 text-xs",children:e.framework??"—"}),(0,t.jsx)("td",{className:"px-4 py-2",children:(0,t.jsx)(s.Badge,{tone:o[e.status],children:e.status})}),(0,t.jsxs)("td",{className:"px-4 py-2 text-xs",children:[e.completedCount,"/",e.scheduleCount,e.failedCount>0&&(0,t.jsxs)("span",{className:"ml-1 text-red-600 dark:text-red-400",children:["(",e.failedCount," failed)"]})]}),(0,t.jsx)("td",{className:"px-4 py-2 text-xs text-zinc-500 dark:text-zinc-400",children:(0,t.jsx)(c.LocalTime,{iso:e.updatedAt})}),(0,t.jsx)("td",{className:"px-4 py-2 text-right",children:(0,t.jsx)(i.default,{href:`/benchmarks/${e.id}`,children:(0,t.jsx)(d.Button,{size:"sm",children:"Open"})})})]},e.id))})]})})})]})}],70224)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84339,e=>{"use strict";let t=(0,e.i(6927).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],84339)},55107,e=>{"use strict";let t=(0,e.i(6927).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],55107)},2265,e=>{"use strict";var t=e.i(76350),i=e.i(33209);e.s(["Card",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("rounded-lg border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-900",e),...r})},"CardBody",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("px-5 py-4",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("p",{className:(0,i.cn)("text-sm text-zinc-500 dark:text-zinc-400",e),...r})},"CardFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex items-center justify-end gap-2 border-t border-zinc-200 px-5 py-3 dark:border-zinc-800",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col gap-1 border-b border-zinc-200 px-5 py-4 dark:border-zinc-800",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("h3",{className:(0,i.cn)("text-base font-semibold text-zinc-900 dark:text-zinc-100",e),...r})}])},83079,e=>{"use strict";var t=e.i(76350),i=e.i(73576),r=e.i(33209);let a={primary:"bg-sky-600 text-white hover:bg-sky-500 active:bg-sky-700 dark:bg-sky-500 dark:hover:bg-sky-400",secondary:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 active:bg-zinc-300 dark:bg-zinc-800 dark:text-zinc-100 dark:hover:bg-zinc-700 dark:active:bg-zinc-600 border border-zinc-200 dark:border-zinc-700",ghost:"text-zinc-700 hover:bg-zinc-100 active:bg-zinc-200 dark:text-zinc-300 dark:hover:bg-zinc-800 dark:active:bg-zinc-700",danger:"bg-red-600 text-white hover:bg-red-500 active:bg-red-700 dark:bg-red-500 dark:hover:bg-red-400",success:"bg-emerald-600 text-white hover:bg-emerald-500 active:bg-emerald-700 dark:bg-emerald-500 dark:hover:bg-emerald-400"},n={sm:"h-8 px-3 text-sm",md:"h-9 px-4 text-sm",lg:"h-10 px-5 text-base"},l=i.forwardRef(function({variant:e="secondary",size:i="md",className:l,...u},s){return(0,t.jsx)("button",{ref:s,className:(0,r.cn)("inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-zinc-50 dark:focus-visible:ring-offset-zinc-950 focus-visible:ring-sky-500 disabled:opacity-50 disabled:cursor-not-allowed",a[e],n[i],l),...u})});e.s(["Button",0,l])},18506,83656,e=>{"use strict";e.i(90954);var t,i=e.i(27402),r=e.i(73576),a=e.i(90319);let n=((t={}).disabled="data-disabled",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),l={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},u={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},s={disabled:!1,...u};e.s(["DEFAULT_FIELD_ROOT_STATE",0,s,"DEFAULT_FIELD_STATE_ATTRIBUTES",0,u,"DEFAULT_VALIDITY_STATE",0,l,"fieldValidityMapping",0,{valid:e=>null===e?null:e?{[n.valid]:""}:{[n.invalid]:""}}],83656);let o={invalid:void 0,name:void 0,validityData:{state:l,errors:[],error:"",value:"",initialValue:null},setValidityData:a.NOOP,disabled:void 0,touched:u.touched,setTouched:a.NOOP,dirty:u.dirty,setDirty:a.NOOP,filled:u.filled,setFilled:a.NOOP,focused:u.focused,setFocused:a.NOOP,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:s,markedDirtyRef:{current:!1},registerFieldControl:a.NOOP,validation:{getValidationProps:(e=a.EMPTY_OBJECT)=>e,getInputValidationProps:(e=a.EMPTY_OBJECT)=>e,inputRef:{current:null},commit:async()=>{}}},d=r.createContext(o);e.s(["FieldRootContext",0,d,"useFieldRootContext",0,function(e=!0){let t=r.useContext(d);if(t.setValidityData===a.NOOP&&!e)throw Error((0,i.default)(28));return t}],18506)},95705,e=>{"use strict";var t=e.i(73576),i=e.i(90319);let r=t.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:i.NOOP,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["useFormContext",0,function(){return t.useContext(r)}])},44890,e=>{"use strict";var t=e.i(73576),i=e.i(90319);let r=t.createContext({controlId:void 0,registerControlId:i.NOOP,labelId:void 0,setLabelId:i.NOOP,messageIds:[],setMessageIds:i.NOOP,getDescriptionProps:e=>e});e.s(["LabelableContext",0,r,"useLabelableContext",0,function(){return t.useContext(r)}])},25979,e=>{"use strict";var t=e.i(73576);e.s(["useControlled",0,function({controlled:e,default:i,name:r,state:a="value"}){let{current:n}=t.useRef(void 0!==e),[l,u]=t.useState(i),s=t.useCallback(e=>{n||u(e)},[]);return[n?e:l,s]}])},31883,e=>{"use strict";var t=e.i(73576),i=e.i(59183),r=e.i(18506);e.s(["useRegisterFieldControl",0,function(e,a,n,l,u=!0){let{registerFieldControl:s}=(0,r.useFieldRootContext)(),o=t.useRef(null);o.current||(o.current=Symbol()),(0,i.useIsoLayoutEffect)(()=>{let t=o.current;if(t&&u)return s(t,{controlRef:e,getValue:l,id:a,value:n}),()=>{s(t,void 0)}},[e,u,l,a,s,n])}])},14092,e=>{"use strict";var t=e.i(73576),i=e.i(59183),r=e.i(22978),a=e.i(58605),n=e.i(92615),l=e.i(90319),u=e.i(16556),s=e.i(44890);e.s(["useLabelableId",0,function(e={}){let{id:o,implicit:d=!1,controlRef:c}=e,{controlId:f,registerControlId:v}=(0,s.useLabelableContext)(),b=(0,u.useBaseUiId)(o),m=d?f:void 0,g=(0,a.useRefWithInit)(()=>Symbol("labelable-control")),p=t.useRef(!1),x=t.useRef(null!=o),h=(0,r.useStableCallback)(()=>{p.current&&v!==l.NOOP&&(p.current=!1,v(g.current,void 0))});return(0,i.useIsoLayoutEffect)(()=>{let e;if(v!==l.NOOP){if(d){let t=c?.current;e=(0,n.isElement)(t)&&null!=t.closest("label")?o??null:m??b}else if(null!=o)x.current=!0,e=o;else{if(!x.current)return void h();e=b}if(void 0===e)return void h();p.current=!0,v(g.current,e)}},[o,c,m,v,d,b,g,h]),t.useEffect(()=>h,[h]),f??b}])},65869,e=>{"use strict";var t,i=e.i(76350);e.s([],14105),e.i(14105),e.i(90954);var r=e.i(73576),a=e.i(25979),n=e.i(24224),l=e.i(59183),u=e.i(12335),s=e.i(90319),o=e.i(85182),d=e.i(82911),c=e.i(53289),f=e.i(16556),v=e.i(69042),b=e.i(27402);let m=r.createContext(void 0);var g=e.i(83656);let p=((t={}).checked="data-checked",t.unchecked="data-unchecked",t.disabled="data-disabled",t.readonly="data-readonly",t.required="data-required",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),x={...g.fieldValidityMapping,checked:e=>e?{[p.checked]:""}:{[p.unchecked]:""}};var h=e.i(18506),y=e.i(31883),C=e.i(95705),k=e.i(44890),R=e.i(14092),E=e.i(82541),I=e.i(23846),T=e.i(84368);let M=r.forwardRef(function(e,t){let{checked:b,className:g,defaultChecked:p,"aria-labelledby":M,form:S,id:L,inputRef:w,name:z,nativeButton:O=!1,onCheckedChange:V,readOnly:F=!1,required:A=!1,disabled:P=!1,render:j,uncheckedValue:N,value:D,style:B,..._}=e,{clearErrors:U}=(0,C.useFormContext)(),{state:K,setTouched:Y,setDirty:J,validityData:H,setFilled:q,setFocused:W,shouldValidateOnChange:$,validationMode:G,disabled:Q,name:X,validation:Z}=(0,h.useFieldRootContext)(),{labelId:ee}=(0,k.useLabelableContext)(),et=Q||P,ei=X??z,er=r.useRef(null),ea=(0,n.useMergedRefs)(er,w,Z.inputRef),en=r.useRef(null),el=(0,f.useBaseUiId)(),eu=(0,R.useLabelableId)({id:L,implicit:!1,controlRef:en}),es=O?void 0:eu,[eo,ed]=(0,a.useControlled)({controlled:b,default:!!p,name:"Switch",state:"checked"});(0,y.useRegisterFieldControl)(en,el,eo),(0,l.useIsoLayoutEffect)(()=>{er.current&&q(er.current.checked)},[er,q]),(0,T.useValueChanged)(eo,()=>{U(ei),J(eo!==H.initialValue),q(eo),$()?Z.commit(eo):Z.commit(eo,!0)});let{getButtonProps:ec,buttonRef:ef}=(0,v.useButton)({disabled:et,native:O}),ev=function(e,t,i,a=!0,n){let[u,s]=r.useState(),o=(0,f.useBaseUiId)(n?`${n}-label`:void 0),d=e??t??u;return(0,l.useIsoLayoutEffect)(()=>{let r=e||t||!a?void 0:function(e,t){let i=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let i=e.id;if(i){let t=e.nextElementSibling;if(t&&t.htmlFor===i)return t}let r=e.labels;return r&&r[0]}(e);if(i)return!i.id&&t&&(i.id=t),i.id||void 0}(i.current,o);u!==r&&s(r)}),d}(M,ee,er,!O,es),eb=(0,c.mergeProps)({checked:eo,disabled:et,form:S,id:es,name:ei,required:A,style:ei?u.visuallyHiddenInput:u.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:ea,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(F)return void e.preventDefault();let t=e.currentTarget.checked,i=(0,E.createChangeEventDetails)(I.REASONS.none,e.nativeEvent);V?.(t,i),i.isCanceled||ed(t)},onFocus(){en.current?.focus()}},Z.getInputValidationProps,void 0!==D?{value:D}:s.EMPTY_OBJECT),em=r.useMemo(()=>({...K,checked:eo,disabled:et,readOnly:F,required:A}),[K,eo,et,F,A]),eg=(0,d.useRenderElement)("span",e,{state:em,ref:[t,en,ef],props:[{id:O?eu:el,role:"switch","aria-checked":eo,"aria-readonly":F||void 0,"aria-required":A||void 0,"aria-labelledby":ev,onFocus(){et||W(!0)},onBlur(){let e=er.current;e&&!et&&(Y(!0),W(!1),"onBlur"===G&&Z.commit(e.checked))},onClick(e){if(F||et)return;e.preventDefault();let t=er.current;t&&t.dispatchEvent(new((0,o.ownerWindow)(t)).PointerEvent("click",{bubbles:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey}))}},Z.getValidationProps,_,ec],stateAttributesMapping:x});return(0,i.jsxs)(m.Provider,{value:em,children:[eg,!eo&&ei&&void 0!==N&&(0,i.jsx)("input",{type:"hidden",form:S,name:ei,value:N}),(0,i.jsx)("input",{...eb,suppressHydrationWarning:!0})]})}),S=r.forwardRef(function(e,t){let{render:i,className:a,style:n,...l}=e,u=function(){let e=r.useContext(m);if(void 0===e)throw Error((0,b.default)(63));return e}();return(0,d.useRenderElement)("span",e,{state:u,ref:t,stateAttributesMapping:x,props:l})});e.s(["Root",0,M,"Thumb",0,S],7498);var L=e.i(7498),L=L,w=e.i(33209);e.s(["Switch",0,function({checked:e,onCheckedChange:t,disabled:r,className:a}){return(0,i.jsx)(L.Root,{checked:e,onCheckedChange:t,disabled:r,className:(0,w.cn)("inline-flex h-5 w-9 cursor-pointer items-center rounded-full p-0.5 transition-colors","bg-zinc-300 data-[checked]:bg-sky-600 dark:bg-zinc-700 dark:data-[checked]:bg-sky-500","disabled:opacity-50",a),children:(0,i.jsx)(L.Thumb,{className:"h-4 w-4 rounded-full bg-white shadow transition-transform data-[checked]:translate-x-4"})})}],65869)},27405,e=>{"use strict";var t=e.i(76350);e.s([],84191),e.i(84191),e.i(90954);var i=e.i(73576),r=e.i(22978),a=e.i(18506),n=e.i(83656),l=e.i(27402);let u=i.createContext({legendId:void 0,setLegendId:()=>{},disabled:void 0});var s=e.i(95705),o=e.i(58605),d=e.i(53289),c=e.i(16556),f=e.i(44890);let v=function(e){let a=(0,c.useBaseUiId)(),n=void 0===e.controlId?a:e.controlId,[l,u]=i.useState(n),[s,v]=i.useState(e.labelId),[b,m]=i.useState([]),g=(0,o.useRefWithInit)(()=>new Map),{messageIds:p}=(0,f.useLabelableContext)(),x=(0,r.useStableCallback)((e,t)=>{let i=g.current;void 0===t?i.delete(e):(i.set(e,t),u(e=>{let t;if(0!==i.size){for(let r of i.values()){if(void 0!==e&&r===e)return e;void 0===t&&(t=r)}return t}}))}),h=i.useCallback(e=>(0,d.mergeProps)({"aria-describedby":p.concat(b).join(" ")||void 0},e),[p,b]),y=i.useMemo(()=>({controlId:l,registerControlId:x,labelId:s,setLabelId:v,messageIds:b,setMessageIds:m,getDescriptionProps:h}),[l,x,s,v,b,m,h]);return(0,t.jsx)(f.LabelableContext.Provider,{value:y,children:e.children})};var b=e.i(82911),m=e.i(90319),g=e.i(46732);function p(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}let x=Object.keys(n.DEFAULT_VALIDITY_STATE);var h=e.i(59183);let y=i.forwardRef(function(e,o){let{errors:c,validationMode:v,submitAttemptedRef:y}=(0,s.useFormContext)(),{render:C,className:k,validate:R,validationDebounceTime:E=0,validationMode:I=v,name:T,disabled:M=!1,invalid:S,dirty:L,touched:w,actionsRef:z,style:O,...V}=e,{disabled:F}=function(e=!1){let t=i.useContext(u);if(!t&&!e)throw Error((0,l.default)(86));return t}(),A=(0,r.useStableCallback)(R||(()=>null)),P=F||M,[j,N]=i.useState(!1),[D,B]=i.useState(!1),[_,U]=i.useState(!1),[K,Y]=i.useState(!1),J=L??D,H=w??j,q=i.useRef(!1),W=i.useRef(void 0),$=i.useCallback(()=>W.current,[]),G=i.useCallback(e=>{W.current=e},[]),Q=(0,r.useStableCallback)(e=>{void 0===L&&(e&&(q.current=!0),B(e))}),X=(0,r.useStableCallback)(e=>{void 0===w&&N(e)}),Z=(0,r.useStableCallback)(()=>"onChange"===I||"onSubmit"===I&&y.current),ee=!!T&&Object.hasOwn(c,T)&&void 0!==c[T],et=!0===S||ee,[ei,er]=i.useState({state:n.DEFAULT_VALIDITY_STATE,error:"",errors:[],value:null,initialValue:null}),ea=!et&&ei.state.valid,en=i.useMemo(()=>({disabled:P,touched:H,dirty:J,valid:ea,filled:_,focused:K}),[P,H,J,ea,_,K]),el=function(e){let{formRef:t,clearErrors:a}=(0,s.useFormContext)(),{setValidityData:l,validate:u,validityData:o,validationDebounceTime:c,invalid:v,markedDirtyRef:b,state:h,name:y,shouldValidateOnChange:C,getRegisteredFieldId:k}=e,{controlId:R,getDescriptionProps:E}=(0,f.useLabelableContext)(),I=(0,g.useTimeout)(),T=i.useRef(null),M=(0,r.useStableCallback)(async(e,i=!1)=>{let r,a=T.current;if(!a)return;function s(e,i=v){let r=k()??R;if(null==r)return;let a=t.current.fields.get(r);if(!a)return;let n=p(e,i);t.current.fields.set(r,{...a,validityData:n})}if(i){if(!1!==h.valid)return;let t=a.validity;if(!t.valueMissing){let t={value:e,state:{...n.DEFAULT_VALIDITY_STATE,valid:!0},error:"",errors:[],initialValue:o.initialValue};a.setCustomValidity(""),s(t,!1),l(t);return}let i=x.reduce((e,i)=>(e[i]=t[i],e),{});if(!i.valid&&!function(e){if(!e||e.valid||!e.valueMissing)return!1;let t=!1;for(let i of x)"valid"!==i&&("valueMissing"===i&&(t=e[i]),e[i]&&(t=!1));return t}(i))return}I.clear();let d=null,c=[],f=function(e){let t=x.reduce((t,i)=>(t[i]=e.validity[i],t),{}),i=!1;for(let e of x)if("valid"!==e){if("valueMissing"===e&&t[e])i=!0;else if(t[e])return t}return i&&!b.current&&(t.valid=!0,t.valueMissing=!1),t}(a),m=C();if(a.validationMessage&&!m)r=a.validationMessage,c=[a.validationMessage];else{let i=u(e,Array.from(t.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}));null!==(d="object"==typeof i&&null!==i&&"then"in i?await i:i)?(f.valid=!1,f.customError=!0,Array.isArray(d)?(c=d,a.setCustomValidity(d.join("\n"))):d&&(c=[d],a.setCustomValidity(d))):m&&(a.setCustomValidity(""),f.customError=!1,a.validationMessage?(r=a.validationMessage,c=[a.validationMessage]):a.validity.valid&&!f.valid&&(f.valid=!0))}let g={value:e,state:f,error:r??(Array.isArray(d)?d[0]:d??""),errors:c,initialValue:o.initialValue};s(g),l(g)}),S=i.useCallback((e={})=>(0,d.mergeProps)(E,!1===h.valid?{"aria-invalid":!0}:m.EMPTY_OBJECT,e),[E,h.valid]),L=i.useCallback((e={})=>(0,d.mergeProps)({onChange(e){if(e.nativeEvent.defaultPrevented)return;if(a(y),!C())return void M(e.currentTarget.value,!0);let t=e.currentTarget;""===t.value?M(t.value):(I.clear(),c?I.start(c,()=>{M(t.value)}):M(t.value))}},S(e)),[S,a,y,I,M,c,C]);return i.useMemo(()=>({getValidationProps:S,getInputValidationProps:L,inputRef:T,commit:M}),[S,L,M])}({setValidityData:er,validate:A,validityData:ei,validationDebounceTime:E,invalid:et,markedDirtyRef:q,state:en,name:T,shouldValidateOnChange:Z,getRegisteredFieldId:$}),eu=ei.value,es=i.useCallback(()=>{q.current=!0,el.commit(eu)},[el,eu]),eo=function(e){let{commit:t,invalid:a,markedDirtyRef:n,name:l,setRegisteredFieldId:u,setValidityData:o,validityData:d}=e,{formRef:c}=(0,s.useFormContext)(),f=i.useRef(null),v=i.useRef(null),b=i.useRef(null),m=(0,r.useStableCallback)(()=>{let e=v.current;if(e)return e.getValue?e.getValue():e.value}),g=(0,r.useStableCallback)(()=>{let e=v.current;if(!e)return;let i=e.value;void 0===i&&(i=m()),n.current=!0,t(i)});function x(e=v.current?.id){e&&c.current.fields.delete(e)}return(0,h.useIsoLayoutEffect)(()=>{let e=v.current;e&&e.id&&c.current.fields.set(e.id,{getValue:m,name:l,controlRef:e.controlRef??b,validityData:p(d,a),validate:g})},[c,m,a,l,g,d]),(0,h.useIsoLayoutEffect)(()=>{let e=c.current.fields;return()=>{let t=v.current?.id;t&&e.delete(t)}},[c]),(0,r.useStableCallback)((e,t)=>{let i;if(!t){f.current===e&&(f.current=null,x(),v.current=null,u(void 0));return}let r=v.current?.id;f.current=e,v.current=t,u(t.id),r&&r!==t.id&&x(r),function(){let e=v.current;if(!e)return;let t=e.value;void 0===t&&(t=m()),null===d.initialValue&&null!==t&&o(e=>({...e,initialValue:t}))}(),(i=v.current)&&i.id&&c.current.fields.set(i.id,{getValue:m,name:l,controlRef:i.controlRef??b,validityData:p(d,a),validate:g})})}({commit:el.commit,invalid:et,markedDirtyRef:q,name:T,setRegisteredFieldId:G,setValidityData:er,validityData:ei});i.useImperativeHandle(z,()=>({validate:es}),[es]);let ed=i.useMemo(()=>({invalid:et,name:T,validityData:ei,setValidityData:er,disabled:P,touched:H,setTouched:X,dirty:J,setDirty:Q,filled:_,setFilled:U,focused:K,setFocused:Y,validate:A,validationMode:I,validationDebounceTime:E,shouldValidateOnChange:Z,state:en,markedDirtyRef:q,registerFieldControl:eo,validation:el}),[et,T,ei,P,H,X,J,Q,_,U,K,Y,A,I,E,Z,en,eo,el]),ec=(0,b.useRenderElement)("div",e,{ref:o,state:en,props:V,stateAttributesMapping:n.fieldValidityMapping});return(0,t.jsx)(a.FieldRootContext.Provider,{value:ed,children:ec})}),C=i.forwardRef(function(e,i){return(0,t.jsx)(v,{children:(0,t.jsx)(y,{...e,ref:i})})});var k=e.i(83835);let R=i.forwardRef(function(e,t){let{render:r,className:l,style:u,id:s,nativeLabel:o=!0,...d}=e,c=(0,a.useFieldRootContext)(!1),{labelId:v}=(0,f.useLabelableContext)(),m=i.useRef(null),g=(0,k.useLabel)({id:v??s,native:o});return(0,b.useRenderElement)("label",e,{ref:[t,m],state:c.state,props:[g,d],stateAttributesMapping:n.fieldValidityMapping})});var E=e.i(51343),I=e.i(99153),T=e.i(51689);let M={...n.fieldValidityMapping,...I.transitionStatusMapping},S=i.forwardRef(function(e,r){let{render:n,id:l,className:u,match:o,style:d,...v}=e,m=(0,c.useBaseUiId)(l),{validityData:g,state:p,name:x}=(0,a.useFieldRootContext)(!1),{setMessageIds:y}=(0,f.useLabelableContext)(),{errors:C}=(0,s.useFormContext)(),k=x?C[x]:null,R="string"==typeof o,I=!1;I=!0===o||(R?!!g.state[o]:!!k||!1===g.state.valid);let{mounted:S,transitionStatus:L,setMounted:w}=(0,T.useTransitionStatus)(I);(0,h.useIsoLayoutEffect)(()=>{if(I&&m)return y(e=>e.concat(m)),()=>{y(e=>e.filter(e=>e!==m))}},[I,m,y]);let z=i.useRef(null),[O,V]=i.useState(null),[F,A]=i.useState(null),P=g.errors.length>1?(0,t.jsx)("ul",{children:g.errors.map(e=>(0,t.jsx)("li",{children:e},e))}):g.error,j=R?P:k||P,N=g.error;null!=k?N=Array.isArray(k)?JSON.stringify(k):k:g.errors.length>1&&(N=JSON.stringify(g.errors)),I&&N!==F&&(A(N),V(j)),(0,E.useOpenChangeComplete)({open:I,ref:z,onComplete(){I||w(!1)}});let D={...p,transitionStatus:L},B=(0,b.useRenderElement)("div",e,{ref:[r,z],state:D,props:[{id:m,children:I?j:O},v],stateAttributesMapping:M,enabled:S});return S?B:null}),L=i.forwardRef(function(e,t){let{render:i,id:r,className:l,style:u,...s}=e,o=(0,c.useBaseUiId)(r),d=(0,a.useFieldRootContext)(!1),{setMessageIds:v}=(0,f.useLabelableContext)();return(0,h.useIsoLayoutEffect)(()=>{if(o)return v(e=>e.concat(o)),()=>{v(e=>e.filter(e=>e!==o))}},[o,v]),(0,b.useRenderElement)("p",e,{ref:t,state:d.state,props:[{id:o},s],stateAttributesMapping:n.fieldValidityMapping})});var w=e.i(25979),z=e.i(6342),O=e.i(31883),V=e.i(14092),F=e.i(82541),A=e.i(23846),P=e.i(81403);let j=i.forwardRef(function(e,t){let{render:l,className:u,id:s,name:o,value:d,disabled:c=!1,onValueChange:v,defaultValue:m,autoFocus:g=!1,style:p,...x}=e,{state:y,name:C,disabled:k,setTouched:R,setDirty:E,validityData:I,setFocused:T,setFilled:M,validationMode:S,validation:L}=(0,a.useFieldRootContext)(),j=k||c,N={...y,disabled:j},{labelId:D}=(0,f.useLabelableContext)(),B=(0,V.useLabelableId)({id:s});(0,h.useIsoLayoutEffect)(()=>{let e=null!=d;L.inputRef.current?.value||e&&""!==d?M(!0):e&&""===d&&M(!1)},[L.inputRef,M,d]);let _=i.useRef(null);(0,h.useIsoLayoutEffect)(()=>{g&&_.current===(0,P.activeElement)((0,z.ownerDocument)(_.current))&&T(!0)},[g,T]);let[U]=(0,w.useControlled)({controlled:d,default:m,name:"FieldControl",state:"value"}),K=void 0!==d,Y=K?U:void 0,J=(0,r.useStableCallback)(()=>L.inputRef.current?.value);return(0,O.useRegisterFieldControl)(L.inputRef,B,Y,J),(0,b.useRenderElement)("input",e,{ref:[t,_],state:N,props:[{id:B,disabled:j,name:C??o,ref:L.inputRef,"aria-labelledby":D,autoFocus:g,...K?{value:Y}:{defaultValue:m},onChange(e){let t=e.currentTarget.value;v?.(t,(0,F.createChangeEventDetails)(A.REASONS.none,e.nativeEvent)),E(t!==I.initialValue),M(""!==t)},onFocus(){T(!0)},onBlur(e){R(!0),T(!1),"onBlur"===S&&L.commit(e.currentTarget.value)},onKeyDown(e){"INPUT"===e.currentTarget.tagName&&"Enter"===e.key&&(R(!0),L.commit(e.currentTarget.value))}},L.getInputValidationProps(),x],stateAttributesMapping:n.fieldValidityMapping})}),N=i.createContext({disabled:!1}),D=i.createContext(void 0),B=i.forwardRef(function(e,r){let{render:u,className:s,style:o,disabled:d=!1,...c}=e,{state:f,disabled:m}=(0,a.useFieldRootContext)(!1),g=m||d,p=function(e=!0){let t=i.useContext(D);if(void 0===t&&!e)throw Error((0,l.default)(3));return t}(),x=p?.allValues!==void 0?p?.parent.id:void 0,h=i.useMemo(()=>({disabled:g}),[g]),y=(0,b.useRenderElement)("div",e,{ref:r,state:f,props:c,stateAttributesMapping:n.fieldValidityMapping});return(0,t.jsx)(v,{controlId:x,children:(0,t.jsx)(N.Provider,{value:h,children:y})})});e.s(["Control",0,j,"Description",0,L,"Error",0,S,"Item",0,B,"Label",0,R,"Root",0,C,"Validity",0,function(e){let{children:r}=e,{validityData:n,invalid:l}=(0,a.useFieldRootContext)(!1),u=i.useMemo(()=>p(n,l),[n,l]),s=!1===u.state.valid,{transitionStatus:o}=(0,T.useTransitionStatus)(s),d=i.useMemo(()=>({...u,validity:u.state,transitionStatus:o}),[u,o]);return(0,t.jsx)(i.Fragment,{children:r(d)})}],64049);var _=e.i(64049),_=_,U=e.i(33209);let K="h-9 w-full rounded-md border border-zinc-300 bg-white px-3 text-sm text-zinc-900 shadow-sm placeholder:text-zinc-400 focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-500/30 dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-100 dark:placeholder:text-zinc-500",Y=i.forwardRef(function({className:e,...i},r){return(0,t.jsx)("input",{ref:r,className:(0,U.cn)(K,e),...i})});e.s(["Field",0,function({label:e,help:i,error:r,className:a,children:n}){return(0,t.jsxs)(_.Root,{className:(0,U.cn)("flex flex-col gap-1",a),children:[e&&(0,t.jsx)(_.Label,{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:e}),n,i&&!r&&(0,t.jsx)(_.Description,{className:"text-xs text-zinc-500 dark:text-zinc-500",children:i}),r&&(0,t.jsx)("p",{className:"text-xs text-red-600 dark:text-red-400",children:r})]})},"Input",0,Y,"inputCls",0,K],27405)}]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21432,e=>{"use strict";function t(e){return Array.isArray(e)?e:null==e?[]:[e]}let n="orpc";class r extends Error{constructor(...e){super(...e),this.name="AbortError"}}function a(){return globalThis["__@orpc/shared@1.14.4/otel/config__"]}function s(e,t={},n){let r=a()?.tracer;return r?.startSpan(e,t,n)}function i(e,t,n={}){if(!e)return;let r=function(e){if(e instanceof Error){let t={message:e.message,name:e.name,stack:e.stack};return"code"in e&&("string"==typeof e.code||"number"==typeof e.code)&&(t.code=e.code),t}return{message:String(e)}}(t);e.recordException(r),n.signal?.aborted&&n.signal.reason===t||e.setStatus({code:2,message:r.message})}async function o({name:e,context:t,...n},r){let s=a()?.tracer;if(!s)return r();let c=async e=>{try{return await r(e)}catch(t){throw i(e,t,n),t}finally{e.end()}};return t?s.startActiveSpan(e,n,t,c):s.startActiveSpan(e,n,c)}async function c(e,t){let n=a();if(!e||!n)return t();let r=n.trace.setSpan(n.context.active(),e);return n.context.with(r,t)}function u(e){return!!e&&"object"==typeof e&&"next"in e&&"function"==typeof e.next&&Symbol.asyncIterator in e&&"function"==typeof e[Symbol.asyncIterator]}let l=Symbol.for("asyncDispose"),d=Symbol.asyncDispose??l;class f{#e=!1;#t=!1;#n;#r;constructor(e,t){this.#n=t,this.#r=function(e){let t=Promise.resolve();return(...n)=>t=t.catch(()=>{}).then(()=>e(...n))}(async()=>{if(this.#e)return{done:!0,value:void 0};try{let t=await e();return t.done&&(this.#e=!0),t}catch(e){throw this.#e=!0,e}finally{this.#e&&!this.#t&&(this.#t=!0,await this.#n("next"))}})}next(){return this.#r()}async return(e){return this.#e=!0,this.#t||(this.#t=!0,await this.#n("return")),{done:!0,value:e}}async throw(e){throw this.#e=!0,this.#t||(this.#t=!0,await this.#n("throw")),e}async [d](){this.#e=!0,this.#t||(this.#t=!0,await this.#n("dispose"))}[Symbol.asyncIterator](){return this}}function h({name:e,...t},n){let r;return new f(async()=>{r??=s(e);try{let e=await c(r,()=>n.next());return r?.addEvent(e.done?"completed":"yielded"),e}catch(e){throw i(r,e,t),e}},async e=>{try{"next"!==e&&await c(r,()=>n.return?.())}catch(e){throw i(r,e,t),e}finally{r?.end()}})}function p(e,t,n){let r=(t,a)=>{let s=e[a];return s?s({...t,next:(e=t)=>r(e,a+1)}):n(t)};return r(t,0)}function m(e){if(e)return JSON.parse(e)}function y(e){return JSON.stringify(e)}function g(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||!t||!t.constructor}function v(e){return!!e&&("object"==typeof e||"function"==typeof e)}function w(e,...t){return"function"==typeof e?e(...t):e}let E=/^\s*function\s*\(\)\s*\{\s*\[native code\]\s*\}\s*$/,b={BAD_REQUEST:{status:400,message:"Bad Request"},UNAUTHORIZED:{status:401,message:"Unauthorized"},FORBIDDEN:{status:403,message:"Forbidden"},NOT_FOUND:{status:404,message:"Not Found"},METHOD_NOT_SUPPORTED:{status:405,message:"Method Not Supported"},NOT_ACCEPTABLE:{status:406,message:"Not Acceptable"},TIMEOUT:{status:408,message:"Request Timeout"},CONFLICT:{status:409,message:"Conflict"},PRECONDITION_FAILED:{status:412,message:"Precondition Failed"},PAYLOAD_TOO_LARGE:{status:413,message:"Payload Too Large"},UNSUPPORTED_MEDIA_TYPE:{status:415,message:"Unsupported Media Type"},UNPROCESSABLE_CONTENT:{status:422,message:"Unprocessable Content"},TOO_MANY_REQUESTS:{status:429,message:"Too Many Requests"},CLIENT_CLOSED_REQUEST:{status:499,message:"Client Closed Request"},INTERNAL_SERVER_ERROR:{status:500,message:"Internal Server Error"},NOT_IMPLEMENTED:{status:501,message:"Not Implemented"},BAD_GATEWAY:{status:502,message:"Bad Gateway"},SERVICE_UNAVAILABLE:{status:503,message:"Service Unavailable"},GATEWAY_TIMEOUT:{status:504,message:"Gateway Timeout"}},S=Symbol.for("__@orpc/client@1.14.4/error/ORPC_ERROR_CONSTRUCTORS__");globalThis[S]??=new WeakSet;let x=globalThis[S];class R extends Error{defined;code;status;data;constructor(e,...t){const n=function(e){return e[0]??{}}(t);if(void 0!==n.status&&!O(n.status))throw Error("[ORPCError] Invalid error status code.");super(function(e,t){return t||b[e]?.message||e}(e,n.message),n),this.code=e,this.status=function(e,t){return t??b[e]?.status??500}(e,n.status),this.defined=n.defined??!1,this.data=n.data}toJSON(){return{defined:this.defined,code:this.code,status:this.status,message:this.message,data:this.data}}static[Symbol.hasInstance](e){if(x.has(this)){let t=v(e)?Object.getPrototypeOf(e)?.constructor:null;if(t&&x.has(t))return!0}return super[Symbol.hasInstance](e)}}function O(e){return e<200||e>=400}function T(e){if(!g(e))return!1;let t=["defined","code","status","message","data"];return!Object.keys(e).some(e=>!t.includes(e))&&"defined"in e&&"boolean"==typeof e.defined&&"code"in e&&"string"==typeof e.code&&"status"in e&&"number"==typeof e.status&&O(e.status)&&"message"in e&&"string"==typeof e.message}function I(e,t={}){return new R(e.code,{...t,...e})}x.add(R);class _ extends TypeError{}class A extends TypeError{}class N extends Error{data;constructor(e){super(e?.message??"An error event was received",e),this.data=e?.data}}class C{constructor(e={}){this.options=e}incomplete="";feed(e){this.incomplete+=e;let t=this.incomplete.lastIndexOf("\n\n");if(-1===t)return;let n=this.incomplete.slice(0,t).split(/\n\n/);for(let e of(this.incomplete=this.incomplete.slice(t+2),n)){let t=function(e){let t=e.replace(/\n+$/,"").split(/\n/),n={data:void 0,event:void 0,id:void 0,retry:void 0,comments:[]};for(let e of t){let t=e.indexOf(":"),r=-1===t?e:e.slice(0,t),a=-1===t?"":e.slice(t+1).replace(/^\s/,"");if(0===t)n.comments.push(a);else if("data"===r)n.data??="",n.data+=`${a}
|
|
2
|
+
`;else if("event"===r)n.event=a;else if("id"===r)n.id=a;else if("retry"===r){let e=Number.parseInt(a);Number.isInteger(e)&&e>=0&&e.toString()===a&&(n.retry=e)}}return n.data=n.data?.replace(/\n$/,""),n}(`${e}
|
|
3
|
+
|
|
4
|
+
`);this.options.onEvent&&this.options.onEvent(t)}}end(){if(this.incomplete)throw new A("Event Iterator ended before complete")}}class z extends TransformStream{constructor(){let e;super({start(t){e=new C({onEvent:e=>{t.enqueue(e)}})},transform(t){e.feed(t)},flush(){e.end()}})}}function U(e){if(e.includes("\n"))throw new _("Event's id must not contain a newline character")}function D(e){if(!Number.isInteger(e)||e<0)throw new _("Event's retry must be a integer and >= 0")}function P(e){if(e.includes("\n"))throw new _("Event's comment must not contain a newline character")}function j(e){let t="";if(t+=function(e){let t="";for(let n of e??[])P(n),t+=`: ${n}
|
|
5
|
+
`;return t}(e.comments),void 0!==e.event){if(e.event.includes("\n"))throw new _("Event's event must not contain a newline character");t+=`event: ${e.event}
|
|
6
|
+
`}return void 0!==e.retry&&(D(e.retry),t+=`retry: ${e.retry}
|
|
7
|
+
`),void 0!==e.id&&(U(e.id),t+=`id: ${e.id}
|
|
8
|
+
`),t+=function(e){let t=e?.split(/\n/)??[],n="";for(let e of t)n+=`data: ${e}
|
|
9
|
+
`;return n}(e.data),t+="\n"}let L=Symbol("ORPC_EVENT_SOURCE_META");function M(e,t){if(void 0===t.id&&void 0===t.retry&&!t.comments?.length)return e;if(void 0!==t.id&&U(t.id),void 0!==t.retry&&D(t.retry),void 0!==t.comments)for(let e of t.comments)P(e);return new Proxy(e,{get:(e,n,r)=>n===L?t:Reflect.get(e,n,r)})}function $(e){return v(e)?Reflect.get(e,L):void 0}function k(e,t={}){return e.forEach((e,n)=>{Array.isArray(t[n])?t[n].push(e):void 0!==t[n]?t[n]=[t[n],e]:t[n]=e}),t}function F(e,t){let n=async e=>{let n=await t.error(e);if(n!==e){let t=$(e);t&&v(n)&&(n=M(n,t))}return n};return new f(async()=>{let{done:r,value:a}=await (async()=>{try{return await e.next()}catch(e){throw await n(e)}})(),s=await t.value(a,r);if(s!==a){let e=$(a);e&&v(s)&&(s=M(s,e))}return{done:r,value:s}},async()=>{try{await e.return?.()}catch(e){throw await n(e)}})}class q{plugins;constructor(e=[]){this.plugins=[...e].sort((e,t)=>(e.order??0)-(t.order??0))}init(e){for(let t of this.plugins)t.init?.(e)}}class B{constructor(e,n,r={}){this.codec=e,this.sender=n,new q(r.plugins).init(r),this.interceptors=t(r.interceptors),this.clientInterceptors=t(r.clientInterceptors)}interceptors;clientInterceptors;call(e,t,r){return o({name:`${n}.${e.join("/")}`,signal:r.signal},s=>(s?.setAttribute("rpc.system",n),s?.setAttribute("rpc.method",e.join(".")),u(t)&&(t=h({name:"consume_event_iterator_input",signal:r.signal},t)),p(this.interceptors,{...r,path:e,input:t},async({path:e,input:t,...n})=>{let r,i=a(),c=i?.trace.getActiveSpan()??s;c&&i&&(r=i?.trace.setSpan(i.context.active(),c));let l=await o({name:"encode_request",context:r},()=>this.codec.encode(e,t,n)),d=await p(this.clientInterceptors,{...n,input:t,path:e,request:l},({input:e,path:t,request:n,...a})=>o({name:"send_request",signal:a.signal,context:r},()=>this.sender.call(n,a,t,e))),f=await o({name:"decode_response",context:r},()=>this.codec.decode(d,n,e,t));return u(f)?h({name:"consume_event_iterator_output",signal:n.signal},f):f})))}}class V{customSerializers;constructor(e={}){if(this.customSerializers=e.customJsonSerializers??[],this.customSerializers.length!==new Set(this.customSerializers.map(e=>e.type)).size)throw Error("Custom serializer type must be unique.")}serialize(e,t=[],n=[],r=[],a=[]){for(let s of this.customSerializers)if(s.condition(e)){let i=this.serialize(s.serialize(e),t,n,r,a);return n.push([s.type,...t]),i}if(e instanceof Blob)return r.push(t),a.push(e),[e,n,r,a];if("bigint"==typeof e)return n.push([0,...t]),[e.toString(),n,r,a];if(e instanceof Date)return(n.push([1,...t]),Number.isNaN(e.getTime()))?[null,n,r,a]:[e.toISOString(),n,r,a];if(Number.isNaN(e))return n.push([2,...t]),[null,n,r,a];if(e instanceof URL)return n.push([4,...t]),[e.toString(),n,r,a];if(e instanceof RegExp)return n.push([5,...t]),[e.toString(),n,r,a];if(e instanceof Set){let s=this.serialize(Array.from(e),t,n,r,a);return n.push([6,...t]),s}if(e instanceof Map){let s=this.serialize(Array.from(e.entries()),t,n,r,a);return n.push([7,...t]),s}if(Array.isArray(e))return[e.map((e,s)=>void 0===e?(n.push([3,...t,s]),null):this.serialize(e,[...t,s],n,r,a)[0]),n,r,a];if(g(e)){let s={};for(let i in e)("toJSON"!==i||"function"!=typeof e[i])&&(s[i]=this.serialize(e[i],[...t,i],n,r,a)[0]);return[s,n,r,a]}return[e,n,r,a]}deserialize(e,t,n,r){let a={data:e};for(let e of(n&&r&&n.forEach((e,t)=>{let n=a,s="data";e.forEach(e=>{if(!Object.hasOwn(n=n[s],s=e))throw Error(`Security error: accessing non-existent path during deserialization. Path segment: ${s}`)}),n[s]=r(t)}),t)){let t=e[0],n=a,r="data";for(let t=1;t<e.length;t++)if(!Object.hasOwn(n=n[r],r=e[t]))throw Error(`Security error: accessing non-existent path during deserialization. Path segment: ${r}`);for(let e of this.customSerializers)if(e.type===t){n[r]=e.deserialize(n[r]);break}switch(t){case 0:n[r]=BigInt(n[r]);break;case 1:n[r]=new Date(n[r]??"Invalid Date");break;case 2:n[r]=NaN;break;case 3:n[r]=void 0;break;case 4:n[r]=new URL(n[r]);break;case 5:{let[,e,t]=n[r].match(/^\/(.*)\/([a-z]*)$/);n[r]=new RegExp(e,t);break}case 6:n[r]=new Set(n[r]);break;case 7:n[r]=new Map(n[r])}}return a.data}}class W{constructor(e,t){this.serializer=e,this.baseUrl=t.url,this.maxUrlLength=t.maxUrlLength??2083,this.fallbackMethod=t.fallbackMethod??"POST",this.expectedMethod=t.method??this.fallbackMethod,this.headers=t.headers??{}}baseUrl;maxUrlLength;fallbackMethod;expectedMethod;headers;async encode(e,n,r){var a;let s="function"==typeof(a=await w(this.headers,r,e,n)).forEach?k(a):a;void 0!==r.lastEventId&&(s=function(e,n){let r={...e};for(let e in n)Array.isArray(n[e])?r[e]=[...t(r[e]),...n[e]]:void 0!==n[e]&&(Array.isArray(r[e])?r[e]=[...r[e],n[e]]:void 0!==r[e]?r[e]=[r[e],n[e]]:r[e]=n[e]);return r}(s,{"last-event-id":r.lastEventId}));let i=await w(this.expectedMethod,r,e,n),o=new URL(await w(this.baseUrl,r,e,n));o.pathname=`${o.pathname.replace(/\/$/,"")}/${e.map(encodeURIComponent).join("/")}`;let c=this.serializer.serialize(n);if("GET"===i&&!(c instanceof FormData)&&!u(c)){let t=await w(this.maxUrlLength,r,e,n),a=new URL(o);if(a.searchParams.append("data",y(c)),a.toString().length<=t)return{body:void 0,method:i,headers:s,url:a,signal:r.signal}}return{url:o,method:"GET"===i?this.fallbackMethod:i,headers:s,body:c,signal:r.signal}}async decode(e){let t=!O(e.status),n=await (async()=>{let t=!1;try{let n=await e.body();return t=!0,this.serializer.deserialize(n)}catch(e){if(!t)throw Error("Cannot parse response body, please check the response body and content-type.",{cause:e});throw Error("Invalid RPC response format.",{cause:e})}})();if(!t){var r;if(T(n))throw I(n);throw new R((r=e.status,Object.entries(b).find(([,e])=>e.status===r)?.[0]??"MALFORMED_ORPC_ERROR_RESPONSE"),{status:e.status,data:{...e,body:n}})}return n}}class G{constructor(e){this.jsonSerializer=e}serialize(e){return u(e)?F(e,{value:async e=>this.#a(e,!1),error:async e=>new N({data:this.#a((e instanceof R?e:new R("INTERNAL_SERVER_ERROR",{message:"Internal server error",cause:e})).toJSON(),!1),cause:e})}):this.#a(e,!0)}#a(e,t){let[n,r,a,s]=this.jsonSerializer.serialize(e),i=0===r.length?void 0:r;if(!t||0===s.length)return{json:n,meta:i};let o=new FormData;return o.set("data",y({json:n,meta:i,maps:a})),s.forEach((e,t)=>{o.set(t.toString(),e)}),o}deserialize(e){return u(e)?F(e,{value:async e=>this.#s(e),error:async e=>{if(!(e instanceof N))return e;let t=this.#s(e.data);return T(t)?I(t,{cause:e}):new N({data:t,cause:e})}}):this.#s(e)}#s(e){if(void 0===e)return;if(!(e instanceof FormData))return this.jsonSerializer.deserialize(e.json,e.meta??[]);let t=JSON.parse(e.get("data"));return this.jsonSerializer.deserialize(t.json,t.meta??[],t.maps,t=>e.get(t.toString()))}}class J extends B{constructor(e,t){super(new W(new G(new V(t)),t),e,t)}}class K extends q{initRuntimeAdapter(e){for(let t of this.plugins)t.initRuntimeAdapter?.(e)}}class Y{fetch;toFetchRequestOptions;adapterInterceptors;constructor(e){new K(e.plugins).initRuntimeAdapter(e),this.fetch=e.fetch??globalThis.fetch.bind(globalThis),this.toFetchRequestOptions=e,this.adapterInterceptors=t(e.adapterInterceptors)}async call(e,t,n,a){let l=function(e,t={}){let n=function(e,t=new Headers){for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,e);else void 0!==r&&t.append(n,r);return t}(e.headers),r=function(e,t,n={}){if(e instanceof ReadableStream)return e;let r=t.get("content-disposition");if(t.delete("content-type"),t.delete("content-disposition"),void 0!==e)return e instanceof Blob?(t.set("content-type",e.type),t.set("content-length",e.size.toString()),t.set("content-disposition",r??function(e,t="inline"){let n=e.replace(/[^\x20-\x7E]/g,"_").replace(/"/g,'\\"'),r=encodeURIComponent(e).replace(/['()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`).replace(/%(7C|60|5E)/g,(e,t)=>String.fromCharCode(Number.parseInt(t,16)));return`${t}; filename="${n}"; filename*=utf-8''${r}`}(e instanceof File?e.name:"blob")),e):e instanceof FormData||e instanceof URLSearchParams?e:u(e)?(t.set("content-type","text/event-stream"),function(e,t={}){let n,r,a=t.eventIteratorKeepAliveEnabled??!0,o=t.eventIteratorKeepAliveInterval??5e3,u=t.eventIteratorKeepAliveComment??"",l=t.eventIteratorInitialCommentEnabled??!0,d=t.eventIteratorInitialComment??"",f=!1;return new ReadableStream({start(e){r=s("stream_event_iterator"),l&&e.enqueue(j({comments:[d]}))},async pull(t){try{a&&(n=setInterval(()=>{t.enqueue(j({comments:[u]})),r?.addEvent("keepalive")},o));let s=await c(r,()=>e.next());if(clearInterval(n),f)return;let i=$(s.value);if(!s.done||void 0!==s.value||void 0!==i){let e=s.done?"done":"message";t.enqueue(j({...i,event:e,data:y(s.value)})),r?.addEvent(e)}s.done&&(t.close(),r?.end())}catch(e){if(clearInterval(n),f)return;e instanceof N?(t.enqueue(j({...$(e),event:"error",data:y(e.data)})),r?.addEvent("error"),t.close()):(i(r,e),t.error(e)),r?.end()}},async cancel(){try{f=!0,clearInterval(n),r?.addEvent("cancelled"),await c(r,()=>e.return?.())}catch(e){throw i(r,e),e}finally{r?.end()}}}).pipeThrough(new TextEncoderStream)}(e,n)):(t.set("content-type","application/json"),y(e))}(e.body,n,t);return new Request(e.url,{signal:e.signal,method:e.method,headers:n,body:r})}(e,this.toFetchRequestOptions);return function(e,t={}){var n;let a;return{body:(n=()=>(function(e,t={}){return o({name:"parse_standard_body",signal:t.signal},async()=>{let n=e.headers.get("content-disposition");if("string"==typeof n){let t=function(e){let t=e.match(/filename\*=(UTF-8'')?([^;]*)/i);if(t&&"string"==typeof t[2]){var n=t[2];try{return decodeURIComponent(n)}catch{return n}}let r=e.match(/filename="((?:\\"|[^"])*)"/i);if(r&&"string"==typeof r[1])return r[1].replace(/\\"/g,'"')}(n)??"blob",r=await e.blob();return new File([r],t,{type:r.type})}let a=e.headers.get("content-type");if(!a||a.startsWith("application/json"))return m(await e.text());if(a.startsWith("multipart/form-data"))return await e.formData();if(a.startsWith("application/x-www-form-urlencoded"))return new URLSearchParams(await e.text());if(a.startsWith("text/event-stream"))return function(e,t={}){let n,a=e?.pipeThrough(new TextDecoderStream).pipeThrough(new z),o=a?.getReader(),u=!1;return new f(async()=>{n??=s("consume_event_iterator_stream");try{for(;;){if(void 0===o)return{done:!0,value:void 0};let{done:e,value:t}=await c(n,()=>o.read());if(e){if(u)throw new r("Stream was cancelled");return{done:!0,value:void 0}}switch(t.event){case"message":{let e=m(t.data);return v(e)&&(e=M(e,t)),n?.addEvent("message"),{done:!1,value:e}}case"error":{let e=new N({data:m(t.data)});throw e=M(e,t),n?.addEvent("error"),e}case"done":{let e=m(t.data);return v(e)&&(e=M(e,t)),n?.addEvent("done"),{done:!0,value:e}}default:n?.addEvent("maybe_keepalive")}}}catch(e){throw e instanceof N||i(n,e,t),e}},async e=>{try{"next"!==e&&(u=!0,n?.addEvent("cancelled")),await c(n,()=>o?.cancel())}catch(e){throw i(n,e,t),e}finally{n?.end()}})}(e.body,t);if(a.startsWith("text/plain"))return await e.text();let o=await e.blob();return new File([o],"blob",{type:o.type})})})(e,t),()=>{if(a)return a.result;let e=n();return a={result:e},e}),status:e.status,get headers(){let t=k(e.headers);return Object.defineProperty(this,"headers",{value:t,writable:!0}),t},set headers(value){Object.defineProperty(this,"headers",{value,writable:!0})}}}(await p(this.adapterInterceptors,{...t,request:l,path:n,input:a,init:{redirect:"manual"}},({request:e,path:t,input:n,init:r,...a})=>this.fetch(e,r,a,t,n)),{signal:l.signal})}}let H=`${window.location.origin}/rpc`,Q=function e(t,n={}){let r=n.path??[];return function e(t){return new Proxy(t,{get(t,n,r){let a=Reflect.get(t,n,r);return"then"!==n||"function"!=typeof a?a:new Proxy(a,{apply(n,r,a){if(2!==a.length||a.some(e=>{var t;return!("function"==typeof(t=e)&&E.test(t.toString()))}))return Reflect.apply(n,r,a);let s=!0;a[0].call(r,e(new Proxy(t,{get:(e,t,n)=>{if(s&&"then"===t){s=!1;return}return Reflect.get(e,t,n)}})))}})}})}(new Proxy(async(...[e,n={}])=>await t.call(r,e,{...n,context:n.context??{}}),{get:(a,s)=>"string"!=typeof s?Reflect.get(a,s):e(t,{...n,path:[...r,s]})}))}(new class extends J{constructor(e){super(new Y(e),e)}}({url:H}));e.s(["rpc",0,Q],21432)},25661,(e,t,n)=>{"use strict";var r=e.r(73576),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,i=r.useEffect,o=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var l="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),a=r[0].inst,l=r[1];return o(function(){a.value=n,a.getSnapshot=t,u(a)&&l({inst:a})},[e,n,t]),i(function(){return u(a)&&l({inst:a}),e(function(){u(a)&&l({inst:a})})},[e]),c(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},56032,(e,t,n)=>{"use strict";t.exports=e.r(25661)},20206,(e,t,n)=>{"use strict";var r=e.r(73576),a=e.r(56032),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useSyncExternalStore,o=r.useRef,c=r.useEffect,u=r.useMemo,l=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,r,a){var d=o(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=i(e,(d=u(function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==a&&f.hasValue){var t=f.value;if(a(t,e))return o=t}return o=e}if(t=o,s(i,e))return t;var n=r(e);return void 0!==a&&a(t,n)?(i=e,t):(i=e,o=n)}var i,o,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,a]))[0],d[1]);return c(function(){f.hasValue=!0,f.value=h},[h]),l(h),h}},96482,(e,t,n)=>{"use strict";t.exports=e.r(20206)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2265,e=>{"use strict";var r=e.i(76350),t=e.i(33209);e.s(["Card",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("rounded-lg border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-900",e),...n})},"CardBody",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("px-5 py-4",e),...n})},"CardDescription",0,function({className:e,...n}){return(0,r.jsx)("p",{className:(0,t.cn)("text-sm text-zinc-500 dark:text-zinc-400",e),...n})},"CardFooter",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("flex items-center justify-end gap-2 border-t border-zinc-200 px-5 py-3 dark:border-zinc-800",e),...n})},"CardHeader",0,function({className:e,...n}){return(0,r.jsx)("div",{className:(0,t.cn)("flex flex-col gap-1 border-b border-zinc-200 px-5 py-4 dark:border-zinc-800",e),...n})},"CardTitle",0,function({className:e,...n}){return(0,r.jsx)("h3",{className:(0,t.cn)("text-base font-semibold text-zinc-900 dark:text-zinc-100",e),...n})}])},69393,e=>{"use strict";var r=e.i(76350),t=e.i(33209);let n={neutral:"bg-zinc-100 text-zinc-700 dark:bg-zinc-800 dark:text-zinc-300",sky:"bg-sky-100 text-sky-700 dark:bg-sky-950 dark:text-sky-300",green:"bg-emerald-100 text-emerald-700 dark:bg-emerald-950 dark:text-emerald-300",amber:"bg-amber-100 text-amber-700 dark:bg-amber-950 dark:text-amber-300",red:"bg-red-100 text-red-700 dark:bg-red-950 dark:text-red-300",purple:"bg-purple-100 text-purple-700 dark:bg-purple-950 dark:text-purple-300"};e.s(["Badge",0,function({tone:e="neutral",className:a,...d}){return(0,r.jsx)("span",{className:(0,t.cn)("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium",n[e],a),...d})}])},84339,e=>{"use strict";let r=(0,e.i(6927).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,r],84339)},55107,e=>{"use strict";let r=(0,e.i(6927).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,r],55107)},30644,e=>{"use strict";var r=e.i(76350),t=e.i(73576);let n=()=>()=>{},a=()=>!0,d=()=>!1;e.s(["LocalTime",0,function({iso:e}){let c=(0,t.useSyncExternalStore)(n,a,d);return e?(0,r.jsx)(r.Fragment,{children:c?function(e){try{return new Date(e).toLocaleString()}catch{return e}}(e):e}):(0,r.jsx)(r.Fragment,{children:"—"})}])}]);
|