@ai-development-environment/server 0.0.35 → 0.0.36
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v12ijp._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_012q7w6._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_07qmjrj._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0dquba3._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1bzibio._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1h1k5ja._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1kle1nm._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1m50niy._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1pja493._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1y98hs-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1z02bsk._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_builds_coverage-report-page_tsx_1nhwba1._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_skills_skill-sync-page_tsx_15sidhb._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +1 -1
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{0rrwapb85e3vs.js → 0a8bo5bqge171.js} +1 -1
- package/standalone/.next/static/chunks/0bx-vj8k3jlsz.js +35 -0
- package/standalone/.next/static/chunks/{1z2n-kfxw0xxf.js → 0s_vkk_t0i4mg.js} +1 -1
- package/standalone/.next/static/chunks/12msdp4rhv6ti.js +7 -0
- package/standalone/.next/static/chunks/{1rvz2z_cov6ug.js → 15rske_fphtgw.js} +2 -2
- package/standalone/.next/static/chunks/19l74y4_uc81t.js +33 -0
- package/standalone/.next/static/chunks/{0elijgx6pfo7w.js → 1a5_4cpwnx9uu.js} +1 -1
- package/standalone/.next/static/chunks/1a9j-qydwrg8m.js +7 -0
- package/standalone/.next/static/chunks/1e-vykrs41myl.js +41 -0
- package/standalone/.next/static/chunks/1jwc4nasae27c.js +1 -0
- package/standalone/.next/static/chunks/1llwo8aslhpdp.js +1 -0
- package/standalone/.next/static/chunks/{2-k0gnjfr6ayw.js → 1nkkb5gu3-rhf.js} +1 -1
- package/standalone/.next/static/chunks/1oh9kzyxfy5ih.js +1 -0
- package/standalone/.next/static/chunks/1q87ulu5dp43f.js +1 -0
- package/standalone/.next/static/chunks/{2i8eu37_ggvr8.js → 1smbfkd1cb015.js} +10 -10
- package/standalone/.next/static/chunks/1ynnv9u7cfr4c.js +1 -0
- package/standalone/.next/static/chunks/1yx2no0f8qqs5.js +7 -0
- package/standalone/.next/static/chunks/{3kswwcsm5y95r.js → 1zw6r-idmbfgl.js} +1 -1
- package/standalone/.next/static/chunks/224rpxiffot1u.js +9 -0
- package/standalone/.next/static/chunks/24tqnzr1nzhom.js +1 -0
- package/standalone/.next/static/chunks/292r4qzwbnzg7.js +45 -0
- package/standalone/.next/static/chunks/{3zmi_6t6n2zhl.js → 29bdsmo8ketwt.js} +2 -2
- package/standalone/.next/static/chunks/{08n97leuqvfec.js → 29pirjk9q8gfx.js} +1 -1
- package/standalone/.next/static/chunks/{0gduhhe5i5fyj.js → 2bdfoatg4qo7w.js} +1 -1
- package/standalone/.next/static/chunks/{1mdi8gmbt3v4y.js → 2mzx47_wqfqf6.js} +1 -1
- package/standalone/.next/static/chunks/2rplo_7t3zrb9.js +1 -0
- package/standalone/.next/static/chunks/{0txd8z6bbq8sd.js → 2rv5r0dwu0nv6.js} +1 -1
- package/standalone/.next/static/chunks/2u51t_6-1w566.js +1 -0
- package/standalone/.next/static/chunks/{3fdxq7wzqx26o.js → 2xgehciyxxmdl.js} +1 -1
- package/standalone/.next/static/chunks/34pq01spesbci.js +1 -0
- package/standalone/.next/static/chunks/34pqiakzvfxgg.js +1 -0
- package/standalone/.next/static/chunks/{3g004cn7om3tw.js → 35hg231a8ig1t.js} +1 -1
- package/standalone/.next/static/chunks/36r84wnfwt4kn.css +1 -0
- package/standalone/.next/static/chunks/{11x96hq8bk827.js → 37dd1jthysw7j.js} +1 -1
- package/standalone/.next/static/chunks/{2cohukhgw3x39.js → 384f6qhpff4pn.js} +3 -3
- package/standalone/.next/static/chunks/3_xim7hqyyfr0.js +1 -0
- package/standalone/.next/static/chunks/3eumqpi7f1fek.js +30 -0
- package/standalone/.next/static/chunks/{1209uyjs06prv.js → 3hq055db_1oe4.js} +1 -1
- package/standalone/.next/static/chunks/3ns362pjxzs4s.js +3 -0
- package/standalone/.next/static/chunks/3ojl4tmmy52v4.js +29 -0
- package/standalone/.next/static/chunks/3sxc882-vifa-.js +10 -0
- package/standalone/.next/static/chunks/40k5mbsz_tzvi.js +1 -0
- package/standalone/.next/static/chunks/43pkxbd7uiq6-.js +33 -0
- package/standalone/.next/static/chunks/00vmfj3b0p_9v.js +0 -1
- package/standalone/.next/static/chunks/05qk7dn22ctyw.js +0 -33
- package/standalone/.next/static/chunks/08b5rziqjcmmv.js +0 -9
- package/standalone/.next/static/chunks/0hcrlyp4czqm4.js +0 -33
- package/standalone/.next/static/chunks/0kkylz4dfb-6-.css +0 -1
- package/standalone/.next/static/chunks/0ouxq2tjuuo5p.js +0 -1
- package/standalone/.next/static/chunks/0qslkhjg4g4wo.js +0 -1
- package/standalone/.next/static/chunks/0sgv58x3pi1lt.js +0 -1
- package/standalone/.next/static/chunks/1-uwntvgs-8hy.js +0 -7
- package/standalone/.next/static/chunks/175wjcrz57-r8.js +0 -3
- package/standalone/.next/static/chunks/1aymjnttvjkz8.js +0 -35
- package/standalone/.next/static/chunks/1p0jamt--jvn2.js +0 -1
- package/standalone/.next/static/chunks/1wm2l6ainzpua.js +0 -30
- package/standalone/.next/static/chunks/2aaudeflwvhrw.js +0 -1
- package/standalone/.next/static/chunks/2jj9hlwqhy5pr.js +0 -41
- package/standalone/.next/static/chunks/2ldet81o6fvx9.js +0 -7
- package/standalone/.next/static/chunks/2nnls3_0a15ot.js +0 -1
- package/standalone/.next/static/chunks/32ynps2o_ve-q.js +0 -10
- package/standalone/.next/static/chunks/3812zpxehpne1.js +0 -1
- package/standalone/.next/static/chunks/398-3q0cwr6rj.js +0 -29
- package/standalone/.next/static/chunks/3f0s63l_3ts3k.js +0 -1
- package/standalone/.next/static/chunks/3ognjxt-gne6-.js +0 -1
- package/standalone/.next/static/chunks/3q82abj2-3h1-.js +0 -1
- package/standalone/.next/static/chunks/3zux6x75u6-5-.js +0 -1
- package/standalone/.next/static/chunks/4260c5fq33ytz.js +0 -7
- package/standalone/.next/static/chunks/448r-ornlfrsf.js +0 -45
- /package/standalone/.next/static/{7EXYkB15Ckf6ytAAy22z6 → _yJljIblhKpKw6X4lPPg3}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{7EXYkB15Ckf6ytAAy22z6 → _yJljIblhKpKw6X4lPPg3}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{7EXYkB15Ckf6ytAAy22z6 → _yJljIblhKpKw6X4lPPg3}/_ssgManifest.js +0 -0
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/0cz1d0mv5g_q7.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/_yJljIblhKpKw6X4lPPg3/_buildManifest.js",
|
|
11
|
+
"static/_yJljIblhKpKw6X4lPPg3/_ssgManifest.js",
|
|
12
|
+
"static/_yJljIblhKpKw6X4lPPg3/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/40ovzayigkz_-.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.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;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><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\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\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\":[[[\"$\",\"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: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: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: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:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$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\":\"
|
|
1
|
+
<!DOCTYPE html><html><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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.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;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><!--$--><!--/$--><script src="/_next/static/chunks/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\",1]\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\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1m5ykreap-f2c.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\":[[[\"$\",\"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: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: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: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:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$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\":\"_yJljIblhKpKw6X4lPPg3\"}\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,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><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/0cz1d0mv5g_q7.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/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.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\":\"
|
|
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/40ovzayigkz_-.js"/><script src="/_next/static/chunks/09w24awgoam9b.js" async=""></script><script src="/_next/static/chunks/34oyci46fsc5w.js" async=""></script><script src="/_next/static/chunks/turbopack-1v9ogj_5hv56l.js" async=""></script><script src="/_next/static/chunks/2yl1jv4w6po1z.js" async=""></script><script src="/_next/static/chunks/1m5ykreap-f2c.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><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/0cz1d0mv5g_q7.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/40ovzayigkz_-.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[339756,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n3:I[837457,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"default\"]\n4:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"ViewportBoundary\"]\na:I[897367,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"MetadataBoundary\"]\nc:I[168027,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.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\":\"_yJljIblhKpKw6X4lPPg3\"}\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,"e:I[154500,[\"/_next/static/chunks/2yl1jv4w6po1z.js\",\"/_next/static/chunks/1m5ykreap-f2c.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\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\": \"vPS2b1KDdEvHO1+FQdRJjGX/aC/MmRljLvKmzUif4TM=\"\n}"
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
buildLogAdded(buildId: $buildId) { ${X} }
|
|
33
33
|
}`,variables:{buildId:e}},{next:e=>{let t=e.data?.buildLogAdded;t&&O(e=>e.some(e=>e.id===t.id)?e:[...e,t])},error:()=>void 0,complete:()=>void 0});return()=>{t(),s()}},[e,ec]);let eu=null!==D&&(["QUEUED","PREPARING","RUNNING"].includes(D.status)||D.deployments.some(e=>["QUEUED","RUNNING"].includes(e.status))||D.exports.some(e=>["QUEUED","RUNNING"].includes(e.status)));(0,j.useEffect)(()=>{if(!eu)return;let e=window.setInterval(()=>void ec(),2e3);return()=>window.clearInterval(e)},[eu,ec]),(0,j.useEffect)(()=>{eu&&eo.current&&(eo.current.scrollTop=eo.current.scrollHeight)},[eu,L]),(0,j.useEffect)(()=>{if(!ea)return;let e=window.setTimeout(()=>en(!1),2e3);return()=>window.clearTimeout(e)},[ea]);let em=async()=>{H(!0);try{await (0,E.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:e}),await ec()}catch(e){V(e instanceof Error?e.message:String(e))}finally{H(!1)}},ex=async()=>{H(!0),V(null);try{await (0,E.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[e]}),B.replace("/builds")}catch(e){V(e instanceof Error?e.message:String(e)),es(!1)}finally{H(!1)}},ep=D?.artifacts.some(e=>"RUNNABLE_APP"===e.kind),eh=D?.artifacts.some(e=>"ARCHIVE"===e.kind),eg=D?.reports?.find(e=>"TEST_RESULTS"===e.kind),ef=D?.reports?.find(e=>"CODE_COVERAGE"===e.kind),ej=D?.artifacts.find(e=>"RESULT_BUNDLE"===e.kind),ev=!!D&&["TEST","TEST_WITHOUT_BUILDING"].includes(D.action),eb=D?.snapshot??{},ey=eb.repository,eS=eb.worktree,eN=eb.configuration,eC=ej?.metadata.coverageAvailable===!0||eN?.advancedSettings?.codeCoverage===!0,ew=e=>e?new Date(e).toLocaleString(A):"—",eT=async e=>{try{await (0,k.copyText)(e),en(!0)}catch{V(T("copyFailed"))}},eA=async t=>{K(t),V(null);try{let s="TEST_RESULTS"===t?"parseBuildTestResults":"generateBuildCoverageReport";await (0,E.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
|
|
34
34
|
${s}(buildId: $buildId, requestId: $requestId) { id status error }
|
|
35
|
-
}`,{buildId:e,requestId:(0,k.createClientId)()}),await ec()}catch(e){V(e instanceof Error?e.message:String(e))}finally{K(null)}},eI=e=>{let t=eo.current;t&&t.scrollTo({behavior:"smooth",top:"top"===e?0:t.scrollHeight})};return $?(0,t.jsxs)("p",{className:"mx-auto flex w-full max-w-[1500px] items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(w.Spinner,{})," ",T("loading")]}):D?(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-[1500px] flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(S.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(I.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",T("backToBuilds")]})})}),M&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:M})}),D.error&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsxs)(b.AlertDescription,{children:[D.errorCode?`${D.errorCode}: `:"",D.error]})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:ey?.name??"—"}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:eN?.name??D.id}),(0,t.jsx)(y.Badge,{variant:(0,P.buildStatusVariant)(D.status),children:T(`statuses.${D.status}`)}),(0,t.jsx)(y.Badge,{variant:"outline",children:T(`actions.${D.action}`)}),D.outOfDate&&(0,t.jsx)(y.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:T("outOfDate")})]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[eS?.branch??eS?.folder??"—"," ·"," ",D.destination.name]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[T("buildId"),": ",D.id]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(z.RebuildButton,{buildId:D.id,onCompleted:e=>B.push(`/builds/${e.id}`),onError:V}),["QUEUED","PREPARING","RUNNING"].includes(D.status)&&(0,t.jsxs)(S.Button,{disabled:_,onClick:()=>void em(),variant:"destructive",children:[_?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(p.Square,{})," ",T("cancelBuild")]}),"SUCCEEDED"===D.status&&ep&&(0,t.jsx)(G.RunBuildControls,{buildId:D.id,destinationType:D.destinationType,onCompleted:ec,onError:V,preferredDestination:D.destination}),"SUCCEEDED"===D.status&&eh&&(0,t.jsxs)(S.Button,{onClick:()=>ee(!0),variant:"outline",children:[(0,t.jsx)(s.Archive,{})," ",T("exportArchive")]}),!eu&&ev&&ej&&eg?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==J,onClick:()=>void eA("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===J?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(c,{}),eg?.status==="FAILED"?T("retryParseTestResults"):T("parseTestResultsAction")]}),!eu&&ej&&eC&&ef?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==J,onClick:()=>void eA("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===J?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(u,{}),ef?.status==="FAILED"?T("retryCoverageReport"):T("generateCoverageReport")]}),ef?.status==="READY"&&(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(I.Link,{href:`/builds/${D.id}/coverage`,children:[(0,t.jsx)(u,{})," ",T("viewCoverageReport")]})}),(0,t.jsxs)(S.Button,{disabled:_||["QUEUED","PREPARING","RUNNING"].includes(D.status),onClick:()=>es(!0),variant:"destructive",children:[(0,t.jsx)(h.Trash2,{})," ",T("deleteBuild")]})]})]}),eg&&(0,t.jsx)(ei,{report:eg}),(0,t.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(N.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(N.CardHeader,{className:el?"border-b bg-muted/40 py-3":"bg-muted/40 py-3",children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(S.Button,{"aria-expanded":el,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ed(e=>!e),type:"button",variant:"ghost",children:(0,t.jsx)("span",{className:"truncate font-medium",children:T("logs")})}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[el&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Button,{"aria-label":T("scrollLogsToTop"),onClick:()=>eI("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(l,{})}),(0,t.jsx)(S.Button,{"aria-label":T("scrollLogsToBottom"),onClick:()=>eI("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(a.ArrowDownToLine,{})})]}),(0,t.jsx)(S.Button,{"aria-expanded":el,"aria-label":T(el?"collapseLogs":"expandLogs"),onClick:()=>ed(e=>!e),size:"icon-sm",title:T(el?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:el?(0,t.jsx)(m.ChevronDown,{className:"size-5"}):(0,t.jsx)(x.ChevronRight,{className:"size-5"})})]})]})}),el&&(0,t.jsx)(N.CardContent,{className:"py-4",children:(0,t.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:eo,children:L.length?L.map(e=>`[${e.phase}] ${e.message}`).join("\n"):T("noLogs")})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsxs)(N.CardHeader,{children:[(0,t.jsx)(N.CardTitle,{children:T("commandSummary")}),(0,t.jsx)(N.CardAction,{children:(0,t.jsx)(S.Button,{"aria-label":ea?T("commandCopied"):T("copyCommand"),onClick:()=>void eT(D.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ea?(0,t.jsx)(r.Check,{}):(0,t.jsx)(d.Copy,{})})})]}),(0,t.jsx)(N.CardContent,{children:(0,t.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:D.commandSummary})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("scripts")})}),(0,t.jsx)(N.CardContent,{className:"space-y-2",children:D.scriptExecutions.length?D.scriptExecutions.map(e=>(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium",children:[e.nameSnapshot," ·"," ",Q(e.phase)]}),e.error&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.error})]}),(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)})]},e.id)):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noScriptExecutions")})})]})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("overview")})}),(0,t.jsx)(N.CardContent,{children:(0,t.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,t.jsx)(er,{label:T("buildId"),value:D.id,mono:!0}),(0,t.jsx)(er,{label:T("scheme"),value:eN?.scheme??"—",mono:!0}),(0,t.jsx)(er,{label:T("configuration"),value:eN?.buildConfiguration??"—",mono:!0}),(0,t.jsx)(er,{label:T("head"),value:eS?.headSha??"—",mono:!0}),(0,t.jsx)(er,{label:T("startedAt"),value:ew(D.startedAt)}),(0,t.jsx)(er,{label:T("finishedAt"),value:ew(D.finishedAt)}),(0,t.jsx)(er,{label:T("artifactDirectory"),value:D.artifactDirectory,mono:!0})]})})]}),(0,t.jsx)(Z,{settings:eN?.advancedSettings}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("artifacts")})}),(0,t.jsx)(N.CardContent,{className:"space-y-2",children:D.artifacts.length?D.artifacts.map(e=>{let s="IPA"===e.kind,i=e.metadata??{};return(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(y.Badge,{variant:"outline",children:Q(e.kind)}),(0,t.jsx)(S.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(D.id)}/artifacts/${encodeURIComponent(e.id)}`,children:[(0,t.jsx)(o.Download,{})," ",s?T("downloadIpa"):T("downloadArtifact")]})})]}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:e.relativePath}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof i.bundleIdentifier&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:T("ipaBundleIdentifier")}),(0,t.jsx)("dd",{className:"break-all font-mono",children:i.bundleIdentifier})]}),"string"==typeof i.bundleShortVersion&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:T("ipaBundleVersion")}),(0,t.jsx)("dd",{className:"font-mono",children:i.bundleShortVersion})]})]}),(0,t.jsx)("div",{className:"mt-2 flex justify-end",children:(0,t.jsx)(q,{artifactId:e.id,buildId:D.id,metadata:i,publicOrigin:n})})]})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noArtifacts")})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("runsAndExports")})}),(0,t.jsxs)(N.CardContent,{className:"space-y-2",children:[D.deployments.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.destination.name}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)}),(0,t.jsx)("time",{className:"text-xs text-muted-foreground",children:ew(e.finishedAt??e.startedAt??e.createdAt)})]})]}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),D.exports.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:T("archiveExport")}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)}),(0,t.jsx)("time",{className:"text-xs text-muted-foreground",children:ew(e.finishedAt??e.startedAt??e.createdAt)})]})]}),e.outputRelativePath&&(0,t.jsx)("p",{className:"mt-1 font-mono text-xs",children:e.outputRelativePath}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),!D.deployments.length&&!D.exports.length&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noRunsOrExports")})]})]})]})]}),Y&&(0,t.jsx)(U,{buildId:D.id,onOpenChange:ee,onSaved:ec,open:Y}),(0,t.jsx)(v.ConfirmationDialog,{actionLabel:T("deleteBuild"),cancelLabel:T("cancel"),description:T("deleteBuildDescription"),onConfirm:ex,onOpenChange:es,open:et,title:T("deleteBuildTitle")})]}):(0,t.jsxs)(C.Empty,{className:"mx-auto w-full max-w-[1500px] border py-12",children:[(0,t.jsxs)(C.EmptyHeader,{children:[(0,t.jsx)(C.EmptyTitle,{children:T("buildNotFound")}),(0,t.jsx)(C.EmptyDescription,{children:T("buildNotFoundDescription")})]}),(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(I.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",T("backToBuilds")]})})]})}],885325)}]);
|
|
35
|
+
}`,{buildId:e,requestId:(0,k.createClientId)()}),await ec()}catch(e){V(e instanceof Error?e.message:String(e))}finally{K(null)}},eI=e=>{let t=eo.current;t&&t.scrollTo({behavior:"smooth",top:"top"===e?0:t.scrollHeight})};return $?(0,t.jsxs)("p",{className:"mx-auto flex w-full max-w-[1500px] items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(w.Spinner,{})," ",T("loading")]}):D?(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-[1500px] flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(S.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(I.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",T("backToBuilds")]})})}),M&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:M})}),D.error&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsxs)(b.AlertDescription,{children:[D.errorCode?`${D.errorCode}: `:"",D.error]})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:ey?.name??"—"}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:eN?.name??D.id}),(0,t.jsx)(y.Badge,{variant:(0,P.buildStatusVariant)(D.status),children:T(`statuses.${D.status}`)}),(0,t.jsx)(y.Badge,{variant:"outline",children:T(`actions.${D.action}`)}),D.outOfDate&&(0,t.jsx)(y.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:T("outOfDate")})]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[eS?.branch??eS?.folder??"—"," ·"," ",D.destination.name]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[T("buildId"),": ",D.id]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(z.RebuildButton,{buildId:D.id,onCompleted:e=>B.push(`/builds/${e.id}`),onError:V}),["QUEUED","PREPARING","RUNNING"].includes(D.status)&&(0,t.jsxs)(S.Button,{disabled:_,onClick:()=>void em(),variant:"destructive",children:[_?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(p.Square,{})," ",T("cancelBuild")]}),"SUCCEEDED"===D.status&&ep&&(0,t.jsx)(G.RunBuildControls,{buildId:D.id,destinationType:D.destinationType,onCompleted:ec,onError:V,preferredDestination:D.destination}),"SUCCEEDED"===D.status&&eh&&(0,t.jsxs)(S.Button,{onClick:()=>ee(!0),variant:"outline",children:[(0,t.jsx)(s.Archive,{})," ",T("exportArchive")]}),!eu&&ev&&ej&&eg?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==J,onClick:()=>void eA("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===J?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(c,{}),eg?.status==="FAILED"?T("retryParseTestResults"):T("parseTestResultsAction")]}),!eu&&ej&&eC&&ef?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==J,onClick:()=>void eA("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===J?(0,t.jsx)(w.Spinner,{}):(0,t.jsx)(u,{}),ef?.status==="FAILED"?T("retryCoverageReport"):T("generateCoverageReport")]}),ef?.status==="READY"&&(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(I.Link,{href:`/builds/${D.id}/coverage`,children:[(0,t.jsx)(u,{})," ",T("viewCoverageReport")]})}),(0,t.jsxs)(S.Button,{disabled:_||["QUEUED","PREPARING","RUNNING"].includes(D.status),onClick:()=>es(!0),variant:"destructive",children:[(0,t.jsx)(h.Trash2,{})," ",T("deleteBuild")]})]})]}),eg&&(0,t.jsx)(ei,{report:eg}),(0,t.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(N.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(S.Button,{"aria-expanded":el,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>ed(e=>!e),type:"button",variant:"ghost",children:(0,t.jsx)("span",{className:"truncate font-medium",children:T("logs")})}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[el&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Button,{"aria-label":T("scrollLogsToTop"),onClick:()=>eI("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(l,{})}),(0,t.jsx)(S.Button,{"aria-label":T("scrollLogsToBottom"),onClick:()=>eI("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(a.ArrowDownToLine,{})})]}),(0,t.jsx)(S.Button,{"aria-expanded":el,"aria-label":T(el?"collapseLogs":"expandLogs"),onClick:()=>ed(e=>!e),size:"icon-sm",title:T(el?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:el?(0,t.jsx)(m.ChevronDown,{className:"size-5"}):(0,t.jsx)(x.ChevronRight,{className:"size-5"})})]})]})}),el&&(0,t.jsx)(N.CardContent,{className:"py-4",children:(0,t.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:eo,children:L.length?L.map(e=>`[${e.phase}] ${e.message}`).join("\n"):T("noLogs")})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsxs)(N.CardHeader,{children:[(0,t.jsx)(N.CardTitle,{children:T("commandSummary")}),(0,t.jsx)(N.CardAction,{children:(0,t.jsx)(S.Button,{"aria-label":ea?T("commandCopied"):T("copyCommand"),onClick:()=>void eT(D.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:ea?(0,t.jsx)(r.Check,{}):(0,t.jsx)(d.Copy,{})})})]}),(0,t.jsx)(N.CardContent,{children:(0,t.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:D.commandSummary})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("scripts")})}),(0,t.jsx)(N.CardContent,{className:"space-y-2",children:D.scriptExecutions.length?D.scriptExecutions.map(e=>(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium",children:[e.nameSnapshot," ·"," ",Q(e.phase)]}),e.error&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.error})]}),(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)})]},e.id)):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noScriptExecutions")})})]})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("overview")})}),(0,t.jsx)(N.CardContent,{children:(0,t.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,t.jsx)(er,{label:T("buildId"),value:D.id,mono:!0}),(0,t.jsx)(er,{label:T("scheme"),value:eN?.scheme??"—",mono:!0}),(0,t.jsx)(er,{label:T("configuration"),value:eN?.buildConfiguration??"—",mono:!0}),(0,t.jsx)(er,{label:T("head"),value:eS?.headSha??"—",mono:!0}),(0,t.jsx)(er,{label:T("startedAt"),value:ew(D.startedAt)}),(0,t.jsx)(er,{label:T("finishedAt"),value:ew(D.finishedAt)}),(0,t.jsx)(er,{label:T("artifactDirectory"),value:D.artifactDirectory,mono:!0})]})})]}),(0,t.jsx)(Z,{settings:eN?.advancedSettings}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("artifacts")})}),(0,t.jsx)(N.CardContent,{className:"space-y-2",children:D.artifacts.length?D.artifacts.map(e=>{let s="IPA"===e.kind,i=e.metadata??{};return(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(y.Badge,{variant:"outline",children:Q(e.kind)}),(0,t.jsx)(S.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(D.id)}/artifacts/${encodeURIComponent(e.id)}`,children:[(0,t.jsx)(o.Download,{})," ",s?T("downloadIpa"):T("downloadArtifact")]})})]}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:e.relativePath}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof i.bundleIdentifier&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:T("ipaBundleIdentifier")}),(0,t.jsx)("dd",{className:"break-all font-mono",children:i.bundleIdentifier})]}),"string"==typeof i.bundleShortVersion&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:T("ipaBundleVersion")}),(0,t.jsx)("dd",{className:"font-mono",children:i.bundleShortVersion})]})]}),(0,t.jsx)("div",{className:"mt-2 flex justify-end",children:(0,t.jsx)(q,{artifactId:e.id,buildId:D.id,metadata:i,publicOrigin:n})})]})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noArtifacts")})})]}),(0,t.jsxs)(N.Card,{children:[(0,t.jsx)(N.CardHeader,{children:(0,t.jsx)(N.CardTitle,{children:T("runsAndExports")})}),(0,t.jsxs)(N.CardContent,{className:"space-y-2",children:[D.deployments.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.destination.name}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)}),(0,t.jsx)("time",{className:"text-xs text-muted-foreground",children:ew(e.finishedAt??e.startedAt??e.createdAt)})]})]}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),D.exports.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:T("archiveExport")}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:Q(e.status)}),(0,t.jsx)("time",{className:"text-xs text-muted-foreground",children:ew(e.finishedAt??e.startedAt??e.createdAt)})]})]}),e.outputRelativePath&&(0,t.jsx)("p",{className:"mt-1 font-mono text-xs",children:e.outputRelativePath}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),!D.deployments.length&&!D.exports.length&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:T("noRunsOrExports")})]})]})]})]}),Y&&(0,t.jsx)(U,{buildId:D.id,onOpenChange:ee,onSaved:ec,open:Y}),(0,t.jsx)(v.ConfirmationDialog,{actionLabel:T("deleteBuild"),cancelLabel:T("cancel"),description:T("deleteBuildDescription"),onConfirm:ex,onOpenChange:es,open:et,title:T("deleteBuildTitle")})]}):(0,t.jsxs)(C.Empty,{className:"mx-auto w-full max-w-[1500px] border py-12",children:[(0,t.jsxs)(C.EmptyHeader,{children:[(0,t.jsx)(C.EmptyTitle,{children:T("buildNotFound")}),(0,t.jsx)(C.EmptyDescription,{children:T("buildNotFoundDescription")})]}),(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(I.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",T("backToBuilds")]})})]})}],885325)}]);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var o=r[" use ".trim().toString()],l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var l;let d,c=(l=`Primitive.${a}`,(d=r.forwardRef((e,t)=>{var a;let d,c,{children:u,...p}=e,f=null,h=!1,g=[];s(u)&&"function"==typeof o&&(u=o(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){h=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof o&&(t=o(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(f?.props?.children)}else g.push(e)}),f?f=r.cloneElement(f,void 0,g):!h&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let m=f?(a=f,(c=(d=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.ref:(c=(d=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(t,m);if(!f){if(u||0===u){let e,t;throw Error(h?(e=l,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=l,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let y=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(y.ref=t?x:m),r.cloneElement(f,y)})).displayName=`${l}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?c:a,{...i,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(l.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},643957,e=>{"use strict";let t=(0,e.i(456420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},593698,e=>{"use strict";var t=e.i(643957);e.s(["CheckIcon",()=>t.default])},75830,586318,e=>{"use strict";var t=e.i(271645),r=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}function a(e){let r=t.forwardRef((r,n)=>{var a;let l,f,{children:h,...g}=r,m=null,x=!1,y=[];d(h)&&"function"==typeof p&&(h=p(h._payload)),t.Children.forEach(h,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===s){x=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof p&&(t=p(t._payload)),m=o(e,t),y.push(m?.props?.children)}else y.push(e)}),m?m=t.cloneElement(m,void 0,y):!x&&1===t.Children.count(h)&&t.isValidElement(h)&&(m=h);let b=m?(a=m,(f=(l=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?a.ref:(f=(l=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,v=i(n,b);if(!m){if(h||0===h)throw Error(x?u(e):c(e));return h}let j=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(g,m.props??{});return m.type!==t.Fragment&&(j.ref=n?v:b),t.cloneElement(m,j)});return r.displayName=`${e}.Slot`,r}var s=Symbol.for("radix.slottable"),o=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},l=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,u=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,p=t[" use ".trim().toString()],f=e.i(843476),h=new WeakMap;function g(e,t){var r,n;let i,a,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let o=(r=e,n=t,i=r.length,(s=(a=m(n))>=0?a:i+a)<0||s>=i?-1:s);return -1===o?void 0:e[o]}function m(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],h.set(this,!0)}set(e,t){return h.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),a=this.#e.length,s=m(e),o=s>=0?s:a+s,l=o<0||o>=a?-1:o;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let d=this.size+ +!i;s<0&&o++;let c=[...this.#e],u=!1;for(let e=o;e<d;e++)if(o===e){let a=c[e];c[e]===t&&(a=c[e+1]),i&&this.delete(t),n=this.get(a),this.set(t,r)}else{u||c[e-1]!==t||(u=!0);let r=c[u?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=g(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=g(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return g(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let n=e+"CollectionProvider",[s,o]=(0,r.createContextScope)(n),[l,d]=s(n,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:r,children:n}=e,i=t.useRef(null),a=t.useRef(new Map).current;return(0,f.jsx)(l,{scope:r,itemMap:a,collectionRef:i,children:n})};c.displayName=n;let u=e+"CollectionSlot",p=a(u),h=t.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=i(t,d(u,r).collectionRef);return(0,f.jsx)(p,{ref:a,children:n})});h.displayName=u;let g=e+"CollectionItemSlot",m="data-radix-collection-item",x=a(g),y=t.forwardRef((e,r)=>{let{scope:n,children:a,...s}=e,o=t.useRef(null),l=i(r,o),c=d(g,n);return t.useEffect(()=>(c.itemMap.set(o,{ref:o,...s}),()=>void c.itemMap.delete(o))),(0,f.jsx)(x,{...{[m]:""},ref:l,children:a})});return y.displayName=g,[{Provider:c,Slot:h,ItemSlot:y},function(r){let n=d(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},o]}],75830);var x=t.createContext(void 0);e.s(["useDirection",0,function(e){let r=t.useContext(x);return e||r||"ltr"}],586318)},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},144716,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return r.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}var a=e.i(30030);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)}}"u">typeof window&&window.document&&window.document.createElement;var o=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var l=r[" useInsertionEffect ".trim().toString()]||o;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function h(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var g=r[" use ".trim().toString()],m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var a;let s,o=(a=`Primitive.${n}`,(s=r.forwardRef((e,t)=>{var n;let s,o,{children:l,...d}=e,c=null,u=!1,f=[];h(l)&&"function"==typeof g&&(l=g(l._payload)),r.Children.forEach(l,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;h(t)&&"function"==typeof g&&(t=g(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=r.cloneElement(c,void 0,f):!u&&1===r.Children.count(l)&&r.isValidElement(l)&&(c=l);let m=c?(n=c,(o=(s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.ref:(o=(s=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,x=i(t,m);if(!c){if(l||0===l){let e,t;throw Error(u?(e=a,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=a,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return l}let y=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(y.ref=t?x:m),r.cloneElement(c,y)})).displayName=`${a}.Slot`,s),l=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?o:n,{...a,ref:r})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{}),x="Checkbox",[y,b]=(0,a.createContextScope)(x),[v,j]=y(x);function w(e){let{__scopeCheckbox:n,checked:i,children:a,defaultChecked:s,disabled:o,form:d,name:c,onCheckedChange:u,required:p,value:f="on",internal_do_not_use_render:h}=e,[g,m]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[a,s,o]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),a=r.useRef(n),s=r.useRef(t);return l(()=>{s.current=t},[t]),r.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,i,s]}({defaultProp:t,onChange:n}),d=void 0!==e,c=d?e:a;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,i])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&o.current?.(r)}else s(t)},[d,e,s,o])]}({prop:i,defaultProp:s??!1,onChange:u,caller:x}),[y,b]=r.useState(null),[j,w]=r.useState(null),C=r.useRef(!1),S=!y||!!d||!!y.closest("form"),k={checked:g,disabled:o,setChecked:m,control:y,setControl:b,name:c,form:d,value:f,hasConsumerStoppedPropagationRef:C,required:p,defaultChecked:!P(s)&&s,isFormControl:S,bubbleInput:j,setBubbleInput:w};return(0,t.jsx)(v,{scope:n,...k,children:"function"==typeof h?h(k):a})}var C="CheckboxTrigger",S=r.forwardRef(({__scopeCheckbox:e,onKeyDown:n,onClick:a,...o},l)=>{let{control:d,value:c,disabled:u,checked:p,required:f,setControl:h,setChecked:g,hasConsumerStoppedPropagationRef:x,isFormControl:y,bubbleInput:b}=j(C,e),v=i(l,h),w=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>g(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,g]),(0,t.jsx)(m.button,{type:"button",role:"checkbox","aria-checked":P(p)?"mixed":p,"aria-required":f,"data-state":I(p),"data-disabled":u?"":void 0,disabled:u,value:c,...o,ref:v,onKeyDown:s(n,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(a,e=>{g(e=>!!P(e)||!e),b&&y&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})});S.displayName=C;var k=r.forwardRef((e,r)=>{let{__scopeCheckbox:n,name:i,checked:a,defaultChecked:s,required:o,disabled:l,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(w,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:l,required:o,onCheckedChange:c,name:i,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S,{...p,ref:r,__scopeCheckbox:n}),e&&(0,t.jsx)(A,{__scopeCheckbox:n})]})})});k.displayName=x;var E="CheckboxIndicator",T=r.forwardRef((e,r)=>{let{__scopeCheckbox:n,forceMount:i,...a}=e,s=j(E,n);return(0,t.jsx)(u.Presence,{present:i||P(s.checked)||!0===s.checked,children:(0,t.jsx)(m.span,{"data-state":I(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:r,style:{pointerEvents:"none",...e.style}})})});T.displayName=E;var N="CheckboxBubbleInput",A=r.forwardRef(({__scopeCheckbox:e,...n},a)=>{let{control:s,hasConsumerStoppedPropagationRef:o,checked:l,defaultChecked:u,required:p,disabled:f,name:h,value:g,form:x,bubbleInput:y,setBubbleInput:b}=j(N,e),v=i(a,b),w=(0,d.usePrevious)(l),C=(0,c.useSize)(s);r.useEffect(()=>{if(!y)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!o.current;if(w!==l&&e){let r=new Event("click",{bubbles:t});y.indeterminate=P(l),e.call(y,!P(l)&&l),y.dispatchEvent(r)}},[y,w,l,o]);let S=r.useRef(!P(l)&&l);return(0,t.jsx)(m.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??S.current,required:p,disabled:f,name:h,value:g,form:x,...n,tabIndex:-1,ref:v,style:{...n.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function P(e){return"indeterminate"===e}function I(e){return P(e)?"indeterminate":e?"checked":"unchecked"}A.displayName=N,e.s(["Checkbox",0,k,"CheckboxIndicator",0,T,"Indicator",0,T,"Root",0,k,"createCheckboxScope",0,b,"unstable_BubbleInput",0,A,"unstable_CheckboxBubbleInput",0,A,"unstable_CheckboxProvider",0,w,"unstable_CheckboxTrigger",0,S,"unstable_Provider",0,w,"unstable_Trigger",0,S],388474);var D=e.i(388474),D=D,R=e.i(975157),$=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(D.Root,{"data-slot":"checkbox",className:(0,R.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(D.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)($.CheckIcon,{})})})}],59497)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(975157);let i=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...a}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,n.cn)(i({variant:r}),e),...a})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,n.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:n="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":n,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...n})},"CardContent",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...n})},"CardDescription",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...n})},"CardFooter",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...n})},"CardHeader",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...n})},"CardTitle",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...n})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),n=e.i(758379),n=n;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(n.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...i})}],987968)},637611,e=>{"use strict";var t,r,n=e.i(247167);function i(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function a(e){return"object"===i(e)}function s(e,t){return e.length<124?e:t}var o=((t=o||{})[t.InternalServerError=4500]="InternalServerError",t[t.InternalClientError=4005]="InternalClientError",t[t.BadRequest=4400]="BadRequest",t[t.BadResponse=4004]="BadResponse",t[t.Unauthorized=4401]="Unauthorized",t[t.Forbidden=4403]="Forbidden",t[t.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",t[t.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",t[t.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",t[t.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",t[t.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",t),l=((r=l||{}).ConnectionInit="connection_init",r.ConnectionAck="connection_ack",r.Ping="ping",r.Pong="pong",r.Subscribe="subscribe",r.Next="next",r.Error="error",r.Complete="complete",r);function d(e){if(!a(e))throw Error(`Message is expected to be an object, but got ${i(e)}`);if(!e.type)throw Error("Message is missing the 'type' property");if("string"!=typeof e.type)throw Error(`Message is expects the 'type' property to be a string, but got ${i(e.type)}`);switch(e.type){case"connection_init":case"connection_ack":case"ping":case"pong":if(null!=e.payload&&!a(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case"subscribe":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!a(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${i(e.payload)}`);if("string"!=typeof e.payload.query)throw Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${i(e.payload.query)}`);if(null!=e.payload.variables&&!a(e.payload.variables))throw Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${i(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==i(e.payload.operationName))throw Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${i(e.payload.operationName)}`);if(null!=e.payload.extensions&&!a(e.payload.extensions))throw Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${i(e.payload.extensions)}`);break;case"next":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!a(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${i(e.payload)}`);break;case"error":var t;if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!(Array.isArray(t=e.payload)&&t.length>0&&t.every(e=>"message"in e)))throw Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case"complete":if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw Error(`Invalid message 'type' property "${e.type}"`)}return e}function c(e,t){return d(e),JSON.stringify(e,t)}class u extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1}function p(e){return a(e)&&"code"in e&&"reason"in e}async function f(e,t){let r=await fetch("/api/graphql",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({query:e,variables:t})}),n=await r.json();if(!r.ok||n.errors?.length||!n.data)throw Error(n.errors?.map(e=>e.message).join("; ")||`HTTP ${r.status}`);return n.data}let h=null;function g(){return function(e,t,r){let n=`${"https:"===t?"wss":"ws"}://${r}/graphql`;if(!e)return n;try{let r=new URL(e);if("https:"===t&&"wss:"!==r.protocol)return n}catch{}return e}(n.default.env.NEXT_PUBLIC_AGENT_WS_URL,window.location.protocol,window.location.host)}e.s(["controlPlaneRequest",0,f,"controlPlaneSubscriptions",0,function(){return h??=function(t){let r,n,i,a,{url:f,connectionParams:h,lazy:g=!0,onNonLazyError:m=console.error,lazyCloseTimeout:x=0,keepAlive:y=0,disablePong:b,connectionAckWaitTimeout:v=0,retryAttempts:j=5,retryWait:w=async function(e){let t=Math.pow(2,e);await new Promise(e=>setTimeout(e,1e3*t+Math.floor(2700*Math.random()+300)))},shouldRetry:C=p,on:S,webSocketImpl:k,generateID:E=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:T,jsonMessageReviver:N}=t;if(k){var A;if(!("function"==typeof(A=k)&&"constructor"in A&&"CLOSED"in A&&"CLOSING"in A&&"CONNECTING"in A&&"OPEN"in A))throw Error("Invalid WebSocket implementation provided");r=k}else r="u">typeof WebSocket?WebSocket:e.g.WebSocket||e.g.MozWebSocket;if(!r)throw Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let P=r,I=(n={},i={on:(e,t)=>(n[e]=t,()=>{delete n[e]}),emit(e){"id"in e&&n[e.id]?.(e)}},a={connecting:S?.connecting?[S.connecting]:[],opened:S?.opened?[S.opened]:[],connected:S?.connected?[S.connected]:[],ping:S?.ping?[S.ping]:[],pong:S?.pong?[S.pong]:[],message:S?.message?[i.emit,S.message]:[i.emit],closed:S?.closed?[S.closed]:[],error:S?.error?[S.error]:[]},{onMessage:i.on,on(e,t){let r=a[e];return r.push(t),()=>{r.splice(r.indexOf(t),1)}},emit(e,...t){for(let r of[...a[e]])r(...t)}});function D(e){let t=[I.on("error",r=>{t.forEach(e=>e()),e(r)}),I.on("closed",r=>{t.forEach(e=>e()),e(r)})]}let R,$=0,O,_=!1,z=0,M=!1;async function L(){clearTimeout(O);let[e,t]=await (R??(R=new Promise((e,t)=>(async()=>{let r,n;if(_){if(await w(z),!$)return R=void 0,t({code:1e3,reason:"All Subscriptions Gone"});z++}I.emit("connecting",_);let i=new P("function"==typeof f?await f():f,"graphql-transport-ws");function a(){isFinite(y)&&y>0&&(clearTimeout(n),n=setTimeout(()=>{i.readyState===P.OPEN&&(i.send(c({type:l.Ping})),I.emit("ping",!1,void 0))},y))}D(e=>{R=void 0,clearTimeout(r),clearTimeout(n),t(e),e instanceof u&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=e=>I.emit("error",e),i.onclose=e=>I.emit("closed",e),i.onopen=async()=>{try{I.emit("opened",i);let e="function"==typeof h?await h():h;if(i.readyState!==P.OPEN)return;i.send(c(e?{type:l.ConnectionInit,payload:e}:{type:l.ConnectionInit},T)),isFinite(v)&&v>0&&(r=setTimeout(()=>{i.close(o.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},v)),a()}catch(e){I.emit("error",e),i.close(o.InternalClientError,s(e instanceof Error?e.message:String(e),"Internal client error"))}};let p=!1;i.onmessage=({data:t})=>{try{let n=d("string"==typeof t?JSON.parse(t,N):t);if(I.emit("message",n),"ping"===n.type||"pong"===n.type){I.emit(n.type,!0,n.payload),"pong"===n.type?a():b||(i.send(c(n.payload?{type:l.Pong,payload:n.payload}:{type:l.Pong})),I.emit("pong",!1,n.payload));return}if(p)return;if(n.type!==l.ConnectionAck)throw Error(`First message cannot be of type ${n.type}`);clearTimeout(r),p=!0,I.emit("connected",i,n.payload,_),_=!1,z=0,e([i,new Promise((e,t)=>D(t))])}catch(e){i.onmessage=null,I.emit("error",e),i.close(o.BadResponse,s(e instanceof Error?e.message:String(e),"Bad response"))}}})())));e.readyState===P.CLOSING&&await t;let r=()=>{},n=new Promise(e=>r=e);return[e,r,Promise.race([n.then(()=>{$||(isFinite(x)&&x>0?O=setTimeout(()=>{e.readyState===P.OPEN&&e.close(1e3,"Normal Closure")},x):e.close(1e3,"Normal Closure"))}),t])]}function B(e){var t;if(p(e)&&(![1e3,1001,1006,1005,1012,1013,1014].includes(t=e.code)&&t>=1e3&&t<=1999||[o.InternalServerError,o.InternalClientError,o.BadRequest,o.BadResponse,o.Unauthorized,o.SubprotocolNotAcceptable,o.SubscriberAlreadyExists,o.TooManyInitialisationRequests].includes(e.code)))throw e;if(M)return!1;if(p(e)&&1e3===e.code)return $>0;if(!j||z>=j||!C(e))throw e;return _=!0}function H(e,t){let r=E(e),n=!1,i=!1,a=()=>{$--,n=!0};return(async()=>{for($++;;)try{let[s,o,d]=await L();if(n)return o();let u=I.onMessage(r,e=>{switch(e.type){case l.Next:return void t.next(e.payload);case l.Error:i=!0,n=!0,t.error(e.payload),a();return;case l.Complete:n=!0,a();return}});s.send(c({id:r,type:l.Subscribe,payload:e},T)),a=()=>{n||s.readyState!==P.OPEN||s.send(c({id:r,type:l.Complete},T)),$--,n=!0,o()},await d.finally(u);return}catch(e){if(!B(e))return}})().then(()=>{i||t.complete()}).catch(e=>{t.error(e)}),()=>{n||a()}}return g||(async()=>{for($++;;)try{let[,,e]=await L();await e}catch(e){try{if(!B(e))return}catch(e){return m?.(e)}}})(),{on:I.on,subscribe:H,iterate(e){let t=[],r={done:!1,error:null,resolve:()=>{}},n=H(e,{next(e){t.push(e),r.resolve()},error(e){r.done=!0,r.error=e,r.resolve()},complete(){r.done=!0,r.resolve()}}),i=async function*(){for(;;){for(t.length||await new Promise(e=>r.resolve=e);t.length;)yield t.shift();if(r.error)throw r.error;if(r.done)return}}();return i.throw=async e=>(r.done||(r.done=!0,r.error=e,r.resolve()),{done:!0,value:void 0}),i.return=async()=>(n(),{done:!0,value:void 0}),i},async dispose(){if(M=!0,R){let[e]=await R;e.close(1e3,"Normal Closure")}},terminate(){R&&I.emit("closed",new u)}}}({url:g,lazy:!0,retryAttempts:1/0,shouldRetry:()=>!0})}],637611)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(709840),i=e.i(975157);let a=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:s=!1,...o}){let l=s?n.Slot.Root:"span";return(0,t.jsx)(l,{className:(0,i.cn)(a({variant:r}),e),"data-slot":"badge","data-variant":r,...o})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:n,...i}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",n),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...n}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...n})},"TableCell",0,function({className:e,...n}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...n})},"TableFooter",0,function({className:e,...n}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...n})},"TableHead",0,function({className:e,...n}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...n})},"TableHeader",0,function({className:e,...n}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...n})},"TableRow",0,function({className:e,...n}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...n})}])},573474,e=>{"use strict";let t=(0,e.i(456420).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",0,t],573474)},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(30030);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}(...e),e)}var s=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var o="AlertDialog",[l,d]=(0,n.createContextScope)(o,[s.createDialogScope]),c=(0,s.createDialogScope)(),u=e=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Root,{...i,...n,modal:!0})};u.displayName=o;var p=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,a=c(n);return(0,t.jsx)(s.Trigger,{...a,...i,ref:r})});p.displayName="AlertDialogTrigger";var f=e=>{let{__scopeAlertDialog:r,...n}=e,i=c(r);return(0,t.jsx)(s.Portal,{...i,...n})};f.displayName="AlertDialogPortal";var h=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,a=c(n);return(0,t.jsx)(s.Overlay,{...a,...i,ref:r})});h.displayName="AlertDialogOverlay";var g="AlertDialogContent",[m,x]=l(g),y=r.forwardRef((e,n)=>{let{__scopeAlertDialog:i,children:o,...l}=e,d=c(i),u=a(n,r.useRef(null)),p=r.useRef(null);return(0,t.jsx)(m,{scope:i,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...d,...l,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)}}(l.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})});y.displayName=g;var b=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,a=c(n);return(0,t.jsx)(s.Title,{...a,...i,ref:r})});b.displayName="AlertDialogTitle";var v=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,a=c(n);return(0,t.jsx)(s.Description,{...a,...i,ref:r})});v.displayName="AlertDialogDescription";var j=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,a=c(n);return(0,t.jsx)(s.Close,{...a,...i,ref:r})});j.displayName="AlertDialogAction";var w="AlertDialogCancel",C=r.forwardRef((e,r)=>{let{__scopeAlertDialog:n,...i}=e,{cancelRef:o}=x(w,n),l=c(n),d=a(r,o);return(0,t.jsx)(s.Close,{...l,...i,ref:d})});C.displayName=w,e.s(["Action",0,j,"AlertDialog",0,u,"AlertDialogAction",0,j,"AlertDialogCancel",0,C,"AlertDialogContent",0,y,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,f,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,p,"Cancel",0,C,"Content",0,y,"Description",0,v,"Overlay",0,h,"Portal",0,f,"Root",0,u,"Title",0,b,"Trigger",0,p,"createAlertDialogScope",0,d],691162);var S=e.i(691162),S=S,k=e.i(975157),E=e.i(519455);function T({...e}){return(0,t.jsx)(S.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(S.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(S.Portal,{"data-slot":"alert-dialog-portal",...e})}function P({className:e,...r}){return(0,t.jsx)(S.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function I({className:e,size:r="default",...n}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(P,{}),(0,t.jsx)(S.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,k.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...n})]})}function D({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function $({className:e,...r}){return(0,t.jsx)(S.Title,{"data-slot":"alert-dialog-title",className:(0,k.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(S.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function _({className:e,variant:r="default",size:n="default",...i}){return(0,t.jsx)(E.Button,{variant:r,size:n,asChild:!0,children:(0,t.jsx)(S.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...i})})}function z({className:e,variant:r="outline",size:n="default",...i}){return(0,t.jsx)(E.Button,{variant:r,size:n,asChild:!0,children:(0,t.jsx)(S.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:n,onConfirm:i,onOpenChange:a,open:s,title:o,trigger:l}){return(0,t.jsxs)(T,{onOpenChange:a,open:s,children:[l&&(0,t.jsx)(N,{asChild:!0,children:l}),(0,t.jsxs)(I,{children:[(0,t.jsxs)(D,{children:[(0,t.jsx)($,{children:o}),(0,t.jsx)(O,{children:n})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(z,{children:r}),(0,t.jsx)(_,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},762368,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],762368)},725981,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,t],725981)},758925,e=>{"use strict";let t=(0,e.i(456420).default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);e.s(["KeyRound",0,t],758925)},781268,e=>{"use strict";var t=e.i(843476),r=e.i(762368),n=e.i(758925),i=e.i(741120),a=e.i(584026),s=e.i(573474),o=e.i(725981),l=e.i(948148),d=e.i(271645),c=e.i(340953),u=e.i(929592),p=e.i(487486),f=e.i(519455),h=e.i(515288),g=e.i(59497),m=e.i(793479),x=e.i(110204),y=e.i(967489),b=e.i(987968),v=e.i(677572),j=e.i(784774),w=e.i(520133),C=e.i(637611);let S=new Set(["SUCCEEDED","FAILED","CANCELLED","TIMED_OUT"]),k=`query SigningAssetsPage {
|
|
2
|
+
signingAgents { id name hostname supported lastSeenAt }
|
|
3
|
+
signingProfiles {
|
|
4
|
+
id uuid name profileType bundleId teamId teamName platforms deviceCount
|
|
5
|
+
certificateSha1s expiresAt expired xcodeManaged installedAgents { id name }
|
|
6
|
+
}
|
|
7
|
+
signingCertificates {
|
|
8
|
+
id sha1 sha256 name teamId certificateType expiresAt expired hasPrivateKey
|
|
9
|
+
installedAgents { id name }
|
|
10
|
+
privateKeyAgents { id name }
|
|
11
|
+
}
|
|
12
|
+
signingOperations(limit: 20) {
|
|
13
|
+
id kind status error createdAt
|
|
14
|
+
items { id status error agent { id name } }
|
|
15
|
+
}
|
|
16
|
+
}`;function E(e){return new Promise((t,r)=>{let n=new FileReader;n.onerror=()=>r(n.error??Error("Could not read file")),n.onload=()=>t(String(n.result).split(",")[1]??""),n.readAsDataURL(e)})}function T(e){return e?`${e.slice(0,12)}…${e.slice(-12)}`:"—"}function N(e,t){let r=atob(e),n=Uint8Array.from(r,e=>e.charCodeAt(0)),i=URL.createObjectURL(new Blob([n])),a=document.createElement("a");a.href=i,a.download=t,a.click(),URL.revokeObjectURL(i)}function A({jobs:e,agents:r}){let n=(0,l.useTranslations)("provisioningProfiles"),i=e.filter(e=>S.has(e.status)).length,a=i<e.length,s=e.some(e=>["FAILED","CANCELLED","TIMED_OUT"].includes(e.status)),o=new Map(r.map(e=>[e.id,e.name]));return(0,t.jsx)(u.Alert,{variant:s?"destructive":"default",children:(0,t.jsxs)(u.AlertDescription,{className:"space-y-2",children:[(0,t.jsxs)("p",{className:"flex items-center gap-2 font-medium",children:[a&&(0,t.jsx)(b.Spinner,{}),n("refreshProgress",{complete:i,total:e.length})]}),(0,t.jsx)("div",{className:"space-y-1",children:e.map(e=>(0,t.jsxs)("p",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{children:o.get(e.agentId)??e.agentId}),(0,t.jsx)(p.Badge,{variant:"SUCCEEDED"===e.status?"default":S.has(e.status)?"destructive":"secondary",children:n(`refreshStatus.${e.status}`)}),e.error&&(0,t.jsx)("span",{className:"break-words",children:e.error})]},e.id))})]})})}function P({resources:e,title:n,onDelete:i}){let a=(0,l.useTranslations)("provisioningProfiles"),o=(0,l.useTranslations)("common");return(0,t.jsxs)(h.Card,{children:[(0,t.jsx)(h.CardHeader,{children:(0,t.jsx)(h.CardTitle,{children:n})}),(0,t.jsx)(h.CardContent,{className:"space-y-2",children:e.length?e.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-lg border p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:String(e.attributes.name??e.attributes.displayName??e.id)}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:String(e.attributes.profileType??e.attributes.certificateType??"")}),(0,t.jsx)("p",{className:"font-mono text-xs",children:e.id})]}),(0,t.jsxs)("div",{className:"flex gap-1",children:["string"==typeof e.attributes.profileContent&&(0,t.jsx)(f.Button,{"aria-label":a("download"),onClick:()=>N(e.attributes.profileContent,`${String(e.attributes.uuid??e.id)}.mobileprovision`),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(r.Download,{})}),(0,t.jsx)(c.ConfirmationDialog,{actionLabel:a("delete"),cancelLabel:o("cancel"),description:a("portalDeleteDescription"),onConfirm:()=>i(e.id),title:a("confirmPortalDelete"),trigger:(0,t.jsx)(f.Button,{size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Trash2,{})})})]})]},e.id)):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a("none")})})]})}e.s(["ProvisioningProfilesPage",0,function(){let e=(0,l.useTranslations)("provisioningProfiles"),I=(0,l.useTranslations)("common"),D=(0,w.useRouter)(),[R,$]=(0,d.useState)([]),[O,_]=(0,d.useState)([]),[z,M]=(0,d.useState)([]),[L,B]=(0,d.useState)([]),[H,q]=(0,d.useState)(null),[V,U]=(0,d.useState)(null),[W,F]=(0,d.useState)(new Set),[K,J]=(0,d.useState)(""),[G,X]=(0,d.useState)(""),[Z,Q]=(0,d.useState)("IOS_APP_DEVELOPMENT"),[Y,ee]=(0,d.useState)(""),[et,er]=(0,d.useState)(""),[en,ei]=(0,d.useState)("profiles"),[ea,es]=(0,d.useState)([]),[eo,el]=(0,d.useState)(!1),[ed,ec]=(0,d.useState)(!0),[eu,ep]=(0,d.useState)(null),ef=(0,d.useCallback)(async()=>{ec(!0);try{let e=await (0,C.controlPlaneRequest)(k);$(e.signingAgents),_(e.signingProfiles),M(e.signingCertificates),B(e.signingOperations),F(t=>t.size?t:new Set(e.signingAgents.filter(e=>e.supported).map(e=>e.id))),ep(null)}catch(e){ep(e instanceof Error?e.message:String(e))}finally{ec(!1)}},[]),eh=(0,d.useCallback)(async()=>{try{let e=await (0,C.controlPlaneRequest)(`query AppleDeveloperSigningInventory {
|
|
17
|
+
appleDeveloperInventory {
|
|
18
|
+
profiles { id type attributes }
|
|
19
|
+
certificates { id type attributes }
|
|
20
|
+
bundleIds { id type attributes }
|
|
21
|
+
devices { id type attributes }
|
|
22
|
+
}
|
|
23
|
+
}`);q(e.appleDeveloperInventory),U(null)}catch(e){U(e instanceof Error?e.message:String(e))}},[]);(0,d.useEffect)(()=>{let e=window.setTimeout(()=>{ef(),eh()},0);return()=>window.clearTimeout(e)},[ef,eh]);let eg=async(e,t)=>{el(!0),ep(null);try{await (0,C.controlPlaneRequest)(e,t),await ef()}catch(e){ep(e instanceof Error?e.message:String(e))}finally{el(!1)}},em=(0,d.useCallback)(e=>{es(t=>{let r=t.findIndex(t=>t.id===e.id);if(r<0)return[...t,e];let n=t[r];if(n.status===e.status&&n.error===e.error&&n.agentId===e.agentId)return t;let i=[...t];return i[r]=e,i})},[]),ex=ea.map(e=>e.id).sort().join(",");(0,d.useEffect)(()=>{if(!ex)return;let e=ex.split(","),t=e.map(e=>(0,C.controlPlaneSubscriptions)().subscribe({query:`subscription SigningInventoryJobChanged($id: ID!) {
|
|
24
|
+
agentJobChanged(jobId: $id) { id agentId status error }
|
|
25
|
+
}`,variables:{id:e}},{next:e=>{e.data?.agentJobChanged&&em(e.data.agentJobChanged)},error:()=>void 0,complete:()=>void 0})),r=async()=>{await Promise.all(e.map(async e=>{try{let t=await (0,C.controlPlaneRequest)(`query SigningInventoryJob($id: ID!) {
|
|
26
|
+
agentJob(id: $id) { id agentId status error }
|
|
27
|
+
}`,{id:e});t.agentJob&&em(t.agentJob)}catch{}}))};r();let n=window.setInterval(()=>void r(),2e3);return()=>{t.forEach(e=>e()),window.clearInterval(n)}},[em,ex]),(0,d.useEffect)(()=>{if(!ea.length||!ea.every(e=>S.has(e.status)))return;let e=window.setTimeout(()=>{ef().then(()=>{ea.every(e=>"SUCCEEDED"===e.status)&&es([])})},0);return()=>window.clearTimeout(e)},[ef,ea]);let ey=async()=>{ep(null),es([]);try{let t=await (0,C.controlPlaneRequest)(`mutation RefreshSigningAssets {
|
|
28
|
+
refreshSigningAssets { id agentId status error }
|
|
29
|
+
}`);es(t.refreshSigningAssets),t.refreshSigningAssets.length||ep(e("noRefreshAgents"))}catch(e){ep(e instanceof Error?e.message:String(e))}},eb=ea.some(e=>!S.has(e.status)),ev=async e=>{e&&await eg(`mutation UploadProfile($content: String!, $agents: [ID!]!) {
|
|
30
|
+
uploadSigningProfile(contentBase64: $content, targetAgentIds: $agents) { id }
|
|
31
|
+
}`,{content:await E(e),agents:[...W]})},ej=async e=>{e&&(await eg(`mutation ImportIdentity($content: String!, $passphrase: String!, $agents: [ID!]!) {
|
|
32
|
+
importSigningIdentity(p12Base64: $content, passphrase: $passphrase, targetAgentIds: $agents) { id }
|
|
33
|
+
}`,{content:await E(e),passphrase:K,agents:[...W]}),J(""))},ew=async e=>{let t=e.installedAgents[0];if(t){el(!0);try{let r=await (0,C.controlPlaneRequest)(`mutation DownloadProfile($uuid: String!, $agentId: ID!) {
|
|
34
|
+
downloadSigningProfile(uuid: $uuid, agentId: $agentId) { filename contentBase64 }
|
|
35
|
+
}`,{uuid:e.uuid,agentId:t.id});N(r.downloadSigningProfile.contentBase64,r.downloadSigningProfile.filename)}catch(e){ep(e instanceof Error?e.message:String(e))}finally{el(!1)}}};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("description")})]}),(0,t.jsxs)(f.Button,{disabled:eo||ed||eb,onClick:()=>void ey(),variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:ed||eb?"animate-spin":void 0})," ",e("refresh")]})]}),eu&&(0,t.jsx)(u.Alert,{variant:"destructive",children:(0,t.jsx)(u.AlertDescription,{children:eu})}),ea.length>0&&(0,t.jsx)(A,{agents:R,jobs:ea}),(0,t.jsxs)(h.Card,{children:[(0,t.jsxs)(h.CardHeader,{children:[(0,t.jsx)(h.CardTitle,{children:e("agents")}),(0,t.jsx)(h.CardDescription,{children:e("agentsDescription")})]}),(0,t.jsx)(h.CardContent,{className:"flex flex-wrap gap-2",children:R.map(r=>(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-lg border px-3 py-2",children:[(0,t.jsx)(g.Checkbox,{checked:W.has(r.id),disabled:!r.supported,onCheckedChange:e=>F(t=>{let n=new Set(t);return e?n.add(r.id):n.delete(r.id),n})}),(0,t.jsx)("span",{children:r.name}),!r.supported&&(0,t.jsx)(p.Badge,{variant:"secondary",children:e("unsupported")})]},r.id))})]}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsxs)(h.Card,{children:[(0,t.jsxs)(h.CardHeader,{children:[(0,t.jsx)(h.CardTitle,{children:e("uploadProfile")}),(0,t.jsx)(h.CardDescription,{children:e("uploadProfileDescription")})]}),(0,t.jsx)(h.CardContent,{children:(0,t.jsxs)(x.Label,{className:"flex cursor-pointer items-center justify-center gap-2 rounded-xl border border-dashed p-8",children:[(0,t.jsx)(o.Upload,{})," ",e("chooseMobileprovision"),(0,t.jsx)(m.Input,{accept:".mobileprovision,.provisionprofile",className:"sr-only",disabled:eo||!W.size,onChange:e=>void ev(e.target.files?.[0]??null),type:"file"})]})})]}),(0,t.jsxs)(h.Card,{children:[(0,t.jsxs)(h.CardHeader,{children:[(0,t.jsx)(h.CardTitle,{children:e("importIdentity")}),(0,t.jsx)(h.CardDescription,{children:e("importIdentityDescription")})]}),(0,t.jsxs)(h.CardContent,{className:"space-y-3",children:[(0,t.jsx)(m.Input,{onChange:e=>J(e.target.value),placeholder:e("passphrase"),type:"password",value:K}),(0,t.jsxs)(x.Label,{className:"flex cursor-pointer items-center justify-center gap-2 rounded-xl border border-dashed p-5",children:[(0,t.jsx)(n.KeyRound,{})," ",e("chooseP12"),(0,t.jsx)(m.Input,{accept:".p12,.pfx",className:"sr-only",disabled:eo||!W.size,onChange:e=>void ej(e.target.files?.[0]??null),type:"file"})]})]})]})]}),(0,t.jsxs)(v.Tabs,{onValueChange:ei,value:en,children:[(0,t.jsxs)(y.Select,{onValueChange:ei,value:en,children:[(0,t.jsx)(y.SelectTrigger,{className:"w-full sm:hidden",children:(0,t.jsx)(y.SelectValue,{})}),(0,t.jsxs)(y.SelectContent,{children:[(0,t.jsx)(y.SelectItem,{value:"profiles",children:e("localProfiles")}),(0,t.jsx)(y.SelectItem,{value:"certificates",children:e("localCertificates")}),(0,t.jsx)(y.SelectItem,{value:"portal",children:e("applePortal")})]})]}),(0,t.jsxs)(v.TabsList,{className:"hidden sm:inline-flex",children:[(0,t.jsxs)(v.TabsTrigger,{value:"profiles",children:[(0,t.jsx)(a.ShieldCheck,{})," ",e("localProfiles")]}),(0,t.jsxs)(v.TabsTrigger,{value:"certificates",children:[(0,t.jsx)(n.KeyRound,{})," ",e("localCertificates")]}),(0,t.jsx)(v.TabsTrigger,{value:"portal",children:e("applePortal")})]}),(0,t.jsx)(v.TabsContent,{value:"profiles",children:(0,t.jsxs)(h.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(h.CardHeader,{className:"max-sm:has-data-[slot=card-action]:grid-cols-1",children:[(0,t.jsx)(h.CardTitle,{children:e("localProfiles")}),(0,t.jsx)(h.CardDescription,{children:e("profilesDescription")}),(0,t.jsx)(h.CardAction,{className:"max-sm:col-start-1 max-sm:row-start-3 max-sm:row-span-1 max-sm:mt-3 max-sm:justify-self-stretch",children:(0,t.jsx)(c.ConfirmationDialog,{actionLabel:e("deleteExpired"),cancelLabel:I("cancel"),description:e("deleteExpiredDescription"),onConfirm:()=>eg("mutation { deleteExpiredSigningProfiles { id } }"),title:e("deleteExpired"),trigger:(0,t.jsxs)(f.Button,{disabled:eo,size:"sm",variant:"outline",children:[(0,t.jsx)(s.Trash2,{})," ",e("deleteExpired")]})})})]}),0===O.length?(0,t.jsx)("p",{className:"p-8 text-center text-sm text-muted-foreground",children:e("noLocalProfiles")}):(0,t.jsxs)(j.Table,{children:[(0,t.jsx)(j.TableHeader,{children:(0,t.jsxs)(j.TableRow,{children:[(0,t.jsx)(j.TableHead,{children:e("name")}),(0,t.jsx)(j.TableHead,{children:e("bundleId")}),(0,t.jsx)(j.TableHead,{children:e("type")}),(0,t.jsx)(j.TableHead,{children:e("team")}),(0,t.jsx)(j.TableHead,{children:e("devices")}),(0,t.jsx)(j.TableHead,{children:e("expires")}),(0,t.jsx)(j.TableHead,{children:e("installedAgents")}),(0,t.jsx)(j.TableHead,{})]})}),(0,t.jsx)(j.TableBody,{children:O.map(n=>{let i=new Set(n.installedAgents.map(e=>e.id)),a=R.filter(e=>e.supported&&!i.has(e.id)),o=`/provisioning-profiles/${encodeURIComponent(n.id)}`;return(0,t.jsxs)(j.TableRow,{"aria-label":e("viewProfile",{name:n.name}),className:"cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",onClick:()=>D.push(o),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),D.push(o))},role:"link",tabIndex:0,children:[(0,t.jsxs)(j.TableCell,{children:[(0,t.jsx)(w.Link,{className:"font-medium hover:underline",href:o,onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:n.name}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:n.uuid}),n.xcodeManaged&&(0,t.jsx)(p.Badge,{variant:"secondary",children:"Xcode"})]}),(0,t.jsx)(j.TableCell,{className:"font-mono text-xs",children:n.bundleId}),(0,t.jsx)(j.TableCell,{children:(0,t.jsx)(p.Badge,{variant:"outline",children:n.profileType})}),(0,t.jsx)(j.TableCell,{children:n.teamName??n.teamId??"—"}),(0,t.jsx)(j.TableCell,{children:n.deviceCount}),(0,t.jsxs)(j.TableCell,{children:[n.expiresAt?new Date(n.expiresAt).toLocaleDateString():"—",n.expired&&(0,t.jsx)(p.Badge,{className:"ml-2",variant:"destructive",children:e("expired")})]}),(0,t.jsx)(j.TableCell,{children:n.installedAgents.map(e=>e.name).join(", ")}),(0,t.jsxs)(j.TableCell,{className:"space-x-1 text-right",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:[a.length>0&&n.installedAgents[0]&&(0,t.jsx)(f.Button,{disabled:eo,onClick:()=>void eg("mutation Sync($uuid: String!, $source: ID!, $targets: [ID!]!) { syncSigningProfile(uuid: $uuid, sourceAgentId: $source, targetAgentIds: $targets) { id } }",{uuid:n.uuid,source:n.installedAgents[0].id,targets:a.map(e=>e.id)}),size:"sm",variant:"outline",children:e("syncMissing")}),(0,t.jsx)(f.Button,{"aria-label":e("download"),disabled:eo||!n.installedAgents.length,onClick:()=>void ew(n),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(r.Download,{})}),(0,t.jsx)(c.ConfirmationDialog,{actionLabel:e("delete"),cancelLabel:I("cancel"),description:e("deleteProfileDescription"),onConfirm:()=>eg("mutation Delete($uuid: String!, $agents: [ID!]!) { deleteSigningProfile(uuid: $uuid, agentIds: $agents) { id } }",{uuid:n.uuid,agents:n.installedAgents.map(e=>e.id)}),title:e("deleteProfile"),trigger:(0,t.jsx)(f.Button,{disabled:eo,size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Trash2,{})})})]})]},n.id)})})]})]})}),(0,t.jsx)(v.TabsContent,{value:"certificates",children:(0,t.jsxs)(h.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(h.CardHeader,{children:[(0,t.jsx)(h.CardTitle,{children:e("localCertificates")}),(0,t.jsx)(h.CardDescription,{children:e("certificatesDescription")})]}),0===z.length?(0,t.jsx)("p",{className:"p-8 text-center text-sm text-muted-foreground",children:e("noLocalCertificates")}):(0,t.jsxs)(j.Table,{children:[(0,t.jsx)(j.TableHeader,{children:(0,t.jsxs)(j.TableRow,{children:[(0,t.jsx)(j.TableHead,{children:e("name")}),(0,t.jsx)(j.TableHead,{children:e("fingerprints")}),(0,t.jsx)(j.TableHead,{children:e("team")}),(0,t.jsx)(j.TableHead,{children:e("privateKey")}),(0,t.jsx)(j.TableHead,{children:e("expires")}),(0,t.jsx)(j.TableHead,{children:e("installedAgents")}),(0,t.jsx)(j.TableHead,{})]})}),(0,t.jsx)(j.TableBody,{children:z.map(r=>(0,t.jsxs)(j.TableRow,{children:[(0,t.jsxs)(j.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:r.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:r.certificateType})]}),(0,t.jsxs)(j.TableCell,{className:"font-mono text-xs",children:[(0,t.jsxs)("p",{children:["SHA-1 ",T(r.sha1)]}),(0,t.jsxs)("p",{children:["SHA-256 ",T(r.sha256)]})]}),(0,t.jsx)(j.TableCell,{children:r.teamId??"—"}),(0,t.jsx)(j.TableCell,{children:(0,t.jsx)(p.Badge,{variant:r.hasPrivateKey?"default":"destructive",children:r.hasPrivateKey?e("available"):e("missing")})}),(0,t.jsx)(j.TableCell,{children:r.expiresAt?new Date(r.expiresAt).toLocaleDateString():"—"}),(0,t.jsx)(j.TableCell,{children:r.installedAgents.map(e=>e.name).join(", ")}),(0,t.jsx)(j.TableCell,{children:(0,t.jsx)(c.ConfirmationDialog,{actionLabel:e("delete"),cancelLabel:I("cancel"),description:e("deleteIdentityDescription"),onConfirm:()=>eg("mutation DeleteIdentity($sha1: String!, $agents: [ID!]!) { deleteSigningIdentity(sha1: $sha1, agentIds: $agents) { id } }",{sha1:r.sha1,agents:r.privateKeyAgents.map(e=>e.id)}),title:e("deleteIdentity"),trigger:(0,t.jsx)(f.Button,{disabled:eo||!r.hasPrivateKey,size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Trash2,{})})})})]},r.id))})]})]})}),(0,t.jsxs)(v.TabsContent,{className:"space-y-4 pb-4",value:"portal",children:[V&&(0,t.jsx)(u.Alert,{className:"px-4 py-3",variant:"destructive",children:(0,t.jsx)(u.AlertDescription,{children:V})}),H||V?H?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)(h.Card,{children:[(0,t.jsxs)(h.CardHeader,{children:[(0,t.jsx)(h.CardTitle,{children:e("createPortalProfile")}),(0,t.jsx)(h.CardDescription,{children:e("createPortalProfileDescription")})]}),(0,t.jsxs)(h.CardContent,{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-5",children:[(0,t.jsx)(m.Input,{onChange:e=>X(e.target.value),placeholder:e("profileName"),value:G}),(0,t.jsxs)(y.Select,{onValueChange:Q,value:Z,children:[(0,t.jsx)(y.SelectTrigger,{children:(0,t.jsx)(y.SelectValue,{})}),(0,t.jsx)(y.SelectContent,{children:["IOS_APP_DEVELOPMENT","IOS_APP_ADHOC","IOS_APP_STORE","IOS_APP_INHOUSE"].map(e=>(0,t.jsx)(y.SelectItem,{value:e,children:e},e))})]}),(0,t.jsxs)(y.Select,{onValueChange:ee,value:Y,children:[(0,t.jsx)(y.SelectTrigger,{children:(0,t.jsx)(y.SelectValue,{placeholder:e("selectBundleId")})}),(0,t.jsx)(y.SelectContent,{children:(H?.bundleIds??[]).map(e=>(0,t.jsx)(y.SelectItem,{value:e.id,children:String(e.attributes.identifier??e.id)},e.id))})]}),(0,t.jsxs)(y.Select,{onValueChange:er,value:et,children:[(0,t.jsx)(y.SelectTrigger,{children:(0,t.jsx)(y.SelectValue,{placeholder:e("selectCertificate")})}),(0,t.jsx)(y.SelectContent,{children:(H?.certificates??[]).map(e=>(0,t.jsx)(y.SelectItem,{value:e.id,children:String(e.attributes.displayName??e.attributes.name??e.id)},e.id))})]}),(0,t.jsx)(f.Button,{disabled:eo||!G||!Y||!et,onClick:()=>{var e;eg("mutation CreatePortal($input: CreateApplePortalProfileInput!) { createApplePortalProfile(input: $input) { id } }",{input:{name:G,profileType:Z,bundleIdId:Y,certificateIds:[et],deviceIds:(e=H?.devices??[],["IOS_APP_DEVELOPMENT","IOS_APP_ADHOC"].includes(Z)?e.filter(e=>"ENABLED"===e.attributes.status&&"IOS"===e.attributes.platform).map(e=>e.id):[])}}).then(async()=>{X(""),await eh()})},children:e("create")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,t.jsx)(P,{resources:H?.profiles??[],title:e("portalProfiles"),onDelete:e=>eg("mutation DeletePortal($id: ID!) { deleteApplePortalProfile(id: $id) }",{id:e}).then(eh)}),(0,t.jsx)(P,{resources:H?.certificates??[],title:e("portalCertificates"),onDelete:e=>eg("mutation RevokePortal($id: ID!) { revokeApplePortalCertificate(id: $id) }",{id:e}).then(eh)})]})]}):null:(0,t.jsxs)("p",{className:"flex items-center gap-2 p-4 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",e("loadingPortal")]})]})]}),L.length>0&&(0,t.jsxs)(h.Card,{children:[(0,t.jsx)(h.CardHeader,{children:(0,t.jsx)(h.CardTitle,{children:e("operations")})}),(0,t.jsx)(h.CardContent,{className:"space-y-2",children:L.map(e=>(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-3",children:[(0,t.jsx)("span",{children:e.kind}),(0,t.jsx)("span",{children:e.items.map(e=>`${e.agent.name}: ${e.status}`).join(" · ")}),(0,t.jsx)(p.Badge,{variant:"FAILED"===e.status?"destructive":"secondary",children:e.status}),e.error&&(0,t.jsx)("p",{className:"w-full text-xs text-destructive",children:e.error})]},e.id))})]})]})}],781268)}]);
|